From eae5cff675f2427aa784330499c9f02bddbf0b0b Mon Sep 17 00:00:00 2001 From: Orie Steele Date: Sat, 10 Aug 2024 09:23:15 -0500 Subject: [PATCH] cleaning --- dist/925.index.js | 1004 +++++++++++++---- dist/index.js | 79 +- src/api/jose/detached.ts | 4 +- src/cli/cose/diagnostic/diagnose.ts | 9 +- src/cli/cose/key/index.ts | 6 - src/cli/cose/key/sign.ts | 54 - src/cli/cose/key/verify.ts | 64 -- src/cli/cose/module.ts | 24 +- src/cli/graph/index.ts | 2 +- src/cli/scitt/certificate/create.ts | 15 +- src/cli/scitt/key/diagnose.ts | 26 - src/cli/scitt/key/export.ts | 23 - src/cli/scitt/key/generate.ts | 22 - src/cli/scitt/key/index.ts | 7 - src/cli/scitt/ledger/receipt/issue.ts | 60 +- src/cli/scitt/module.ts | 2 - src/cli/scitt/statement/diagnose.ts | 22 - src/cli/scitt/statement/index.ts | 3 +- src/cli/scitt/statement/issue.ts | 24 +- src/cli/scitt/statement/verify.ts | 34 +- src/cli/scitt/statement/verifyx5c.ts | 48 +- src/cli/scitt/transparent/statement/verify.ts | 53 +- 22 files changed, 933 insertions(+), 652 deletions(-) delete mode 100644 src/cli/cose/key/index.ts delete mode 100644 src/cli/cose/key/sign.ts delete mode 100644 src/cli/cose/key/verify.ts delete mode 100644 src/cli/scitt/key/diagnose.ts delete mode 100644 src/cli/scitt/key/export.ts delete mode 100644 src/cli/scitt/key/generate.ts delete mode 100644 src/cli/scitt/key/index.ts delete mode 100644 src/cli/scitt/statement/diagnose.ts diff --git a/dist/925.index.js b/dist/925.index.js index 8f4fa190..b4a9e9ee 100644 --- a/dist/925.index.js +++ b/dist/925.index.js @@ -1043,51 +1043,50 @@ module.exports = globalThis.DOMException /***/ (function(__unused_webpack_module, exports) { /** - * web-streams-polyfill v3.2.1 + * @license + * web-streams-polyfill v3.3.3 + * Copyright 2024 Mattias Buelens, Diwank Singh Tomer and other contributors. + * This code is released under the MIT license. + * SPDX-License-Identifier: MIT */ (function (global, factory) { true ? factory(exports) : 0; -}(this, (function (exports) { 'use strict'; +})(this, (function (exports) { 'use strict'; - /// - const SymbolPolyfill = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? - Symbol : - description => `Symbol(${description})`; - - /// function noop() { return undefined; } - function getGlobals() { - if (typeof self !== 'undefined') { - return self; - } - else if (typeof window !== 'undefined') { - return window; - } - else if (typeof global !== 'undefined') { - return global; - } - return undefined; - } - const globals = getGlobals(); function typeIsObject(x) { return (typeof x === 'object' && x !== null) || typeof x === 'function'; } const rethrowAssertionErrorRejection = noop; + function setFunctionName(fn, name) { + try { + Object.defineProperty(fn, 'name', { + value: name, + configurable: true + }); + } + catch (_a) { + // This property is non-configurable in older browsers, so ignore if this throws. + // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/name#browser_compatibility + } + } const originalPromise = Promise; const originalPromiseThen = Promise.prototype.then; - const originalPromiseResolve = Promise.resolve.bind(originalPromise); const originalPromiseReject = Promise.reject.bind(originalPromise); + // https://webidl.spec.whatwg.org/#a-new-promise function newPromise(executor) { return new originalPromise(executor); } + // https://webidl.spec.whatwg.org/#a-promise-resolved-with function promiseResolvedWith(value) { - return originalPromiseResolve(value); + return newPromise(resolve => resolve(value)); } + // https://webidl.spec.whatwg.org/#a-promise-rejected-with function promiseRejectedWith(reason) { return originalPromiseReject(reason); } @@ -1096,6 +1095,9 @@ module.exports = globalThis.DOMException // approximation. return originalPromiseThen.call(promise, onFulfilled, onRejected); } + // Bluebird logs a warning when a promise is created within a fulfillment handler, but then isn't returned + // from that handler. To prevent this, return null instead of void from all handlers. + // http://bluebirdjs.com/docs/warning-explanations.html#warning-a-promise-was-created-in-a-handler-but-was-not-returned-from-it function uponPromise(promise, onFulfilled, onRejected) { PerformPromiseThen(PerformPromiseThen(promise, onFulfilled, onRejected), undefined, rethrowAssertionErrorRejection); } @@ -1111,14 +1113,16 @@ module.exports = globalThis.DOMException function setPromiseIsHandledToTrue(promise) { PerformPromiseThen(promise, undefined, rethrowAssertionErrorRejection); } - const queueMicrotask = (() => { - const globalQueueMicrotask = globals && globals.queueMicrotask; - if (typeof globalQueueMicrotask === 'function') { - return globalQueueMicrotask; + let _queueMicrotask = callback => { + if (typeof queueMicrotask === 'function') { + _queueMicrotask = queueMicrotask; } - const resolvedPromise = promiseResolvedWith(undefined); - return (fn) => PerformPromiseThen(resolvedPromise, fn); - })(); + else { + const resolvedPromise = promiseResolvedWith(undefined); + _queueMicrotask = cb => PerformPromiseThen(resolvedPromise, cb); + } + return _queueMicrotask(callback); + }; function reflectCall(F, V, args) { if (typeof F !== 'function') { throw new TypeError('Argument is not a function'); @@ -1242,6 +1246,12 @@ module.exports = globalThis.DOMException } } + const AbortSteps = Symbol('[[AbortSteps]]'); + const ErrorSteps = Symbol('[[ErrorSteps]]'); + const CancelSteps = Symbol('[[CancelSteps]]'); + const PullSteps = Symbol('[[PullSteps]]'); + const ReleaseSteps = Symbol('[[ReleaseSteps]]'); + function ReadableStreamReaderGenericInitialize(reader, stream) { reader._ownerReadableStream = stream; stream._reader = reader; @@ -1262,13 +1272,15 @@ module.exports = globalThis.DOMException return ReadableStreamCancel(stream, reason); } function ReadableStreamReaderGenericRelease(reader) { - if (reader._ownerReadableStream._state === 'readable') { + const stream = reader._ownerReadableStream; + if (stream._state === 'readable') { defaultReaderClosedPromiseReject(reader, new TypeError(`Reader was released and can no longer be used to monitor the stream's closedness`)); } else { defaultReaderClosedPromiseResetToRejected(reader, new TypeError(`Reader was released and can no longer be used to monitor the stream's closedness`)); } - reader._ownerReadableStream._reader = undefined; + stream._readableStreamController[ReleaseSteps](); + stream._reader = undefined; reader._ownerReadableStream = undefined; } // Helper functions for the readers. @@ -1311,11 +1323,6 @@ module.exports = globalThis.DOMException reader._closedPromise_reject = undefined; } - const AbortSteps = SymbolPolyfill('[[AbortSteps]]'); - const ErrorSteps = SymbolPolyfill('[[ErrorSteps]]'); - const CancelSteps = SymbolPolyfill('[[CancelSteps]]'); - const PullSteps = SymbolPolyfill('[[PullSteps]]'); - /// // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isFinite#Polyfill const NumberIsFinite = Number.isFinite || function (x) { @@ -1511,10 +1518,7 @@ module.exports = globalThis.DOMException if (this._ownerReadableStream === undefined) { return; } - if (this._readRequests.length > 0) { - throw new TypeError('Tried to release a reader lock when that reader has pending read() calls un-settled'); - } - ReadableStreamReaderGenericRelease(this); + ReadableStreamDefaultReaderRelease(this); } } Object.defineProperties(ReadableStreamDefaultReader.prototype, { @@ -1523,8 +1527,11 @@ module.exports = globalThis.DOMException releaseLock: { enumerable: true }, closed: { enumerable: true } }); - if (typeof SymbolPolyfill.toStringTag === 'symbol') { - Object.defineProperty(ReadableStreamDefaultReader.prototype, SymbolPolyfill.toStringTag, { + setFunctionName(ReadableStreamDefaultReader.prototype.cancel, 'cancel'); + setFunctionName(ReadableStreamDefaultReader.prototype.read, 'read'); + setFunctionName(ReadableStreamDefaultReader.prototype.releaseLock, 'releaseLock'); + if (typeof Symbol.toStringTag === 'symbol') { + Object.defineProperty(ReadableStreamDefaultReader.prototype, Symbol.toStringTag, { value: 'ReadableStreamDefaultReader', configurable: true }); @@ -1552,6 +1559,18 @@ module.exports = globalThis.DOMException stream._readableStreamController[PullSteps](readRequest); } } + function ReadableStreamDefaultReaderRelease(reader) { + ReadableStreamReaderGenericRelease(reader); + const e = new TypeError('Reader was released'); + ReadableStreamDefaultReaderErrorReadRequests(reader, e); + } + function ReadableStreamDefaultReaderErrorReadRequests(reader, e) { + const readRequests = reader._readRequests; + reader._readRequests = new SimpleQueue(); + readRequests.forEach(readRequest => { + readRequest._errorSteps(e); + }); + } // Helper functions for the ReadableStreamDefaultReader. function defaultReaderBrandCheckException(name) { return new TypeError(`ReadableStreamDefaultReader.prototype.${name} can only be used on a ReadableStreamDefaultReader`); @@ -1587,9 +1606,6 @@ module.exports = globalThis.DOMException return Promise.resolve({ value: undefined, done: true }); } const reader = this._reader; - if (reader._ownerReadableStream === undefined) { - return promiseRejectedWith(readerLockException('iterate')); - } let resolvePromise; let rejectPromise; const promise = newPromise((resolve, reject) => { @@ -1601,7 +1617,7 @@ module.exports = globalThis.DOMException this._ongoingPromise = undefined; // This needs to be delayed by one microtask, otherwise we stop pulling too early which breaks a test. // FIXME Is this a bug in the specification, or in the test? - queueMicrotask(() => resolvePromise({ value: chunk, done: false })); + _queueMicrotask(() => resolvePromise({ value: chunk, done: false })); }, _closeSteps: () => { this._ongoingPromise = undefined; @@ -1625,9 +1641,6 @@ module.exports = globalThis.DOMException } this._isFinished = true; const reader = this._reader; - if (reader._ownerReadableStream === undefined) { - return promiseRejectedWith(readerLockException('finish iterating')); - } if (!this._preventCancel) { const result = ReadableStreamReaderGenericCancel(reader, value); ReadableStreamReaderGenericRelease(reader); @@ -1651,9 +1664,7 @@ module.exports = globalThis.DOMException return this._asyncIteratorImpl.return(value); } }; - if (AsyncIteratorPrototype !== undefined) { - Object.setPrototypeOf(ReadableStreamAsyncIteratorPrototype, AsyncIteratorPrototype); - } + Object.setPrototypeOf(ReadableStreamAsyncIteratorPrototype, AsyncIteratorPrototype); // Abstract operations for the ReadableStream. function AcquireReadableStreamAsyncIterator(stream, preventCancel) { const reader = AcquireReadableStreamDefaultReader(stream); @@ -1690,6 +1701,7 @@ module.exports = globalThis.DOMException return x !== x; }; + var _a, _b, _c; function CreateArrayFromList(elements) { // We use arrays to represent lists, so this is basically a no-op. // Do a slice though just in case we happen to depend on the unique-ness. @@ -1698,15 +1710,29 @@ module.exports = globalThis.DOMException function CopyDataBlockBytes(dest, destOffset, src, srcOffset, n) { new Uint8Array(dest).set(new Uint8Array(src, srcOffset, n), destOffset); } - // Not implemented correctly - function TransferArrayBuffer(O) { - return O; - } - // Not implemented correctly - // eslint-disable-next-line @typescript-eslint/no-unused-vars - function IsDetachedBuffer(O) { - return false; - } + let TransferArrayBuffer = (O) => { + if (typeof O.transfer === 'function') { + TransferArrayBuffer = buffer => buffer.transfer(); + } + else if (typeof structuredClone === 'function') { + TransferArrayBuffer = buffer => structuredClone(buffer, { transfer: [buffer] }); + } + else { + // Not implemented correctly + TransferArrayBuffer = buffer => buffer; + } + return TransferArrayBuffer(O); + }; + let IsDetachedBuffer = (O) => { + if (typeof O.detached === 'boolean') { + IsDetachedBuffer = buffer => buffer.detached; + } + else { + // Not implemented correctly + IsDetachedBuffer = buffer => buffer.byteLength === 0; + } + return IsDetachedBuffer(O); + }; function ArrayBufferSlice(buffer, begin, end) { // ArrayBuffer.prototype.slice is not available on IE10 // https://www.caniuse.com/mdn-javascript_builtins_arraybuffer_slice @@ -1718,6 +1744,70 @@ module.exports = globalThis.DOMException CopyDataBlockBytes(slice, 0, buffer, begin, length); return slice; } + function GetMethod(receiver, prop) { + const func = receiver[prop]; + if (func === undefined || func === null) { + return undefined; + } + if (typeof func !== 'function') { + throw new TypeError(`${String(prop)} is not a function`); + } + return func; + } + function CreateAsyncFromSyncIterator(syncIteratorRecord) { + // Instead of re-implementing CreateAsyncFromSyncIterator and %AsyncFromSyncIteratorPrototype%, + // we use yield* inside an async generator function to achieve the same result. + // Wrap the sync iterator inside a sync iterable, so we can use it with yield*. + const syncIterable = { + [Symbol.iterator]: () => syncIteratorRecord.iterator + }; + // Create an async generator function and immediately invoke it. + const asyncIterator = (async function* () { + return yield* syncIterable; + }()); + // Return as an async iterator record. + const nextMethod = asyncIterator.next; + return { iterator: asyncIterator, nextMethod, done: false }; + } + // Aligns with core-js/modules/es.symbol.async-iterator.js + const SymbolAsyncIterator = (_c = (_a = Symbol.asyncIterator) !== null && _a !== void 0 ? _a : (_b = Symbol.for) === null || _b === void 0 ? void 0 : _b.call(Symbol, 'Symbol.asyncIterator')) !== null && _c !== void 0 ? _c : '@@asyncIterator'; + function GetIterator(obj, hint = 'sync', method) { + if (method === undefined) { + if (hint === 'async') { + method = GetMethod(obj, SymbolAsyncIterator); + if (method === undefined) { + const syncMethod = GetMethod(obj, Symbol.iterator); + const syncIteratorRecord = GetIterator(obj, 'sync', syncMethod); + return CreateAsyncFromSyncIterator(syncIteratorRecord); + } + } + else { + method = GetMethod(obj, Symbol.iterator); + } + } + if (method === undefined) { + throw new TypeError('The object is not iterable'); + } + const iterator = reflectCall(method, obj, []); + if (!typeIsObject(iterator)) { + throw new TypeError('The iterator method must return an object'); + } + const nextMethod = iterator.next; + return { iterator, nextMethod, done: false }; + } + function IteratorNext(iteratorRecord) { + const result = reflectCall(iteratorRecord.nextMethod, iteratorRecord.iterator, []); + if (!typeIsObject(result)) { + throw new TypeError('The iterator.next() method must return an object'); + } + return result; + } + function IteratorComplete(iterResult) { + return Boolean(iterResult.done); + } + function IteratorValue(iterResult) { + return iterResult.value; + } function IsNonNegativeNumber(v) { if (typeof v !== 'number') { @@ -1760,6 +1850,19 @@ module.exports = globalThis.DOMException container._queueTotalSize = 0; } + function isDataViewConstructor(ctor) { + return ctor === DataView; + } + function isDataView(view) { + return isDataViewConstructor(view.constructor); + } + function arrayBufferViewElementSize(ctor) { + if (isDataViewConstructor(ctor)) { + return 1; + } + return ctor.BYTES_PER_ELEMENT; + } + /** * A pull-into request in a {@link ReadableByteStreamController}. * @@ -1787,7 +1890,9 @@ module.exports = globalThis.DOMException if (this._associatedReadableByteStreamController === undefined) { throw new TypeError('This BYOB request has been invalidated'); } - if (IsDetachedBuffer(this._view.buffer)) ; + 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, bytesWritten); } respondWithNewView(view) { @@ -1801,7 +1906,9 @@ module.exports = globalThis.DOMException if (this._associatedReadableByteStreamController === undefined) { throw new TypeError('This BYOB request has been invalidated'); } - if (IsDetachedBuffer(view.buffer)) ; + if (IsDetachedBuffer(view.buffer)) { + throw new TypeError('The given view\'s buffer has been detached and so cannot be used as a response'); + } ReadableByteStreamControllerRespondWithNewView(this._associatedReadableByteStreamController, view); } } @@ -1810,8 +1917,10 @@ module.exports = globalThis.DOMException respondWithNewView: { enumerable: true }, view: { enumerable: true } }); - if (typeof SymbolPolyfill.toStringTag === 'symbol') { - Object.defineProperty(ReadableStreamBYOBRequest.prototype, SymbolPolyfill.toStringTag, { + setFunctionName(ReadableStreamBYOBRequest.prototype.respond, 'respond'); + setFunctionName(ReadableStreamBYOBRequest.prototype.respondWithNewView, 'respondWithNewView'); + if (typeof Symbol.toStringTag === 'symbol') { + Object.defineProperty(ReadableStreamBYOBRequest.prototype, Symbol.toStringTag, { value: 'ReadableStreamBYOBRequest', configurable: true }); @@ -1905,11 +2014,7 @@ module.exports = globalThis.DOMException [PullSteps](readRequest) { const stream = this._controlledReadableByteStream; if (this._queueTotalSize > 0) { - const entry = this._queue.shift(); - this._queueTotalSize -= entry.byteLength; - ReadableByteStreamControllerHandleQueueDrain(this); - const view = new Uint8Array(entry.buffer, entry.byteOffset, entry.byteLength); - readRequest._chunkSteps(view); + ReadableByteStreamControllerFillReadRequestFromQueue(this, readRequest); return; } const autoAllocateChunkSize = this._autoAllocateChunkSize; @@ -1928,6 +2033,7 @@ module.exports = globalThis.DOMException byteOffset: 0, byteLength: autoAllocateChunkSize, bytesFilled: 0, + minimumFill: 1, elementSize: 1, viewConstructor: Uint8Array, readerType: 'default' @@ -1937,6 +2043,15 @@ module.exports = globalThis.DOMException ReadableStreamAddReadRequest(stream, readRequest); ReadableByteStreamControllerCallPullIfNeeded(this); } + /** @internal */ + [ReleaseSteps]() { + if (this._pendingPullIntos.length > 0) { + const firstPullInto = this._pendingPullIntos.peek(); + firstPullInto.readerType = 'none'; + this._pendingPullIntos = new SimpleQueue(); + this._pendingPullIntos.push(firstPullInto); + } + } } Object.defineProperties(ReadableByteStreamController.prototype, { close: { enumerable: true }, @@ -1945,8 +2060,11 @@ module.exports = globalThis.DOMException byobRequest: { enumerable: true }, desiredSize: { enumerable: true } }); - if (typeof SymbolPolyfill.toStringTag === 'symbol') { - Object.defineProperty(ReadableByteStreamController.prototype, SymbolPolyfill.toStringTag, { + setFunctionName(ReadableByteStreamController.prototype.close, 'close'); + setFunctionName(ReadableByteStreamController.prototype.enqueue, 'enqueue'); + setFunctionName(ReadableByteStreamController.prototype.error, 'error'); + if (typeof Symbol.toStringTag === 'symbol') { + Object.defineProperty(ReadableByteStreamController.prototype, Symbol.toStringTag, { value: 'ReadableByteStreamController', configurable: true }); @@ -1988,8 +2106,10 @@ module.exports = globalThis.DOMException controller._pullAgain = false; ReadableByteStreamControllerCallPullIfNeeded(controller); } + return null; }, e => { ReadableByteStreamControllerError(controller, e); + return null; }); } function ReadableByteStreamControllerClearPendingPullIntos(controller) { @@ -2018,15 +2138,33 @@ module.exports = globalThis.DOMException controller._queue.push({ buffer, byteOffset, byteLength }); controller._queueTotalSize += byteLength; } + function ReadableByteStreamControllerEnqueueClonedChunkToQueue(controller, buffer, byteOffset, byteLength) { + let clonedChunk; + try { + clonedChunk = ArrayBufferSlice(buffer, byteOffset, byteOffset + byteLength); + } + catch (cloneE) { + ReadableByteStreamControllerError(controller, cloneE); + throw cloneE; + } + ReadableByteStreamControllerEnqueueChunkToQueue(controller, clonedChunk, 0, byteLength); + } + function ReadableByteStreamControllerEnqueueDetachedPullIntoToQueue(controller, firstDescriptor) { + if (firstDescriptor.bytesFilled > 0) { + ReadableByteStreamControllerEnqueueClonedChunkToQueue(controller, firstDescriptor.buffer, firstDescriptor.byteOffset, firstDescriptor.bytesFilled); + } + ReadableByteStreamControllerShiftPendingPullInto(controller); + } function ReadableByteStreamControllerFillPullIntoDescriptorFromQueue(controller, pullIntoDescriptor) { - const elementSize = pullIntoDescriptor.elementSize; - const currentAlignedBytes = pullIntoDescriptor.bytesFilled - pullIntoDescriptor.bytesFilled % elementSize; const maxBytesToCopy = Math.min(controller._queueTotalSize, pullIntoDescriptor.byteLength - pullIntoDescriptor.bytesFilled); const maxBytesFilled = pullIntoDescriptor.bytesFilled + maxBytesToCopy; - const maxAlignedBytes = maxBytesFilled - maxBytesFilled % elementSize; let totalBytesToCopyRemaining = maxBytesToCopy; let ready = false; - if (maxAlignedBytes > currentAlignedBytes) { + const remainderBytes = maxBytesFilled % pullIntoDescriptor.elementSize; + const maxAlignedBytes = maxBytesFilled - remainderBytes; + // A descriptor for a read() request that is not yet filled up to its minimum length will stay at the head + // of the queue, so the underlying source can keep filling it. + if (maxAlignedBytes >= pullIntoDescriptor.minimumFill) { totalBytesToCopyRemaining = maxAlignedBytes - pullIntoDescriptor.bytesFilled; ready = true; } @@ -2081,25 +2219,37 @@ module.exports = globalThis.DOMException } } } - function ReadableByteStreamControllerPullInto(controller, view, readIntoRequest) { - const stream = controller._controlledReadableByteStream; - let elementSize = 1; - if (view.constructor !== DataView) { - elementSize = view.constructor.BYTES_PER_ELEMENT; + function ReadableByteStreamControllerProcessReadRequestsUsingQueue(controller) { + const reader = controller._controlledReadableByteStream._reader; + while (reader._readRequests.length > 0) { + if (controller._queueTotalSize === 0) { + return; + } + const readRequest = reader._readRequests.shift(); + ReadableByteStreamControllerFillReadRequestFromQueue(controller, readRequest); } + } + function ReadableByteStreamControllerPullInto(controller, view, min, readIntoRequest) { + const stream = controller._controlledReadableByteStream; const ctor = view.constructor; - // try { - const buffer = TransferArrayBuffer(view.buffer); - // } catch (e) { - // readIntoRequest._errorSteps(e); - // return; - // } + const elementSize = arrayBufferViewElementSize(ctor); + const { byteOffset, byteLength } = view; + const minimumFill = min * elementSize; + let buffer; + try { + buffer = TransferArrayBuffer(view.buffer); + } + catch (e) { + readIntoRequest._errorSteps(e); + return; + } const pullIntoDescriptor = { buffer, bufferByteLength: buffer.byteLength, - byteOffset: view.byteOffset, - byteLength: view.byteLength, + byteOffset, + byteLength, bytesFilled: 0, + minimumFill, elementSize, viewConstructor: ctor, readerType: 'byob' @@ -2136,6 +2286,9 @@ module.exports = globalThis.DOMException ReadableByteStreamControllerCallPullIfNeeded(controller); } function ReadableByteStreamControllerRespondInClosedState(controller, firstDescriptor) { + if (firstDescriptor.readerType === 'none') { + ReadableByteStreamControllerShiftPendingPullInto(controller); + } const stream = controller._controlledReadableByteStream; if (ReadableStreamHasBYOBReader(stream)) { while (ReadableStreamGetNumReadIntoRequests(stream) > 0) { @@ -2146,15 +2299,21 @@ module.exports = globalThis.DOMException } function ReadableByteStreamControllerRespondInReadableState(controller, bytesWritten, pullIntoDescriptor) { ReadableByteStreamControllerFillHeadPullIntoDescriptor(controller, bytesWritten, pullIntoDescriptor); - if (pullIntoDescriptor.bytesFilled < pullIntoDescriptor.elementSize) { + if (pullIntoDescriptor.readerType === 'none') { + ReadableByteStreamControllerEnqueueDetachedPullIntoToQueue(controller, pullIntoDescriptor); + ReadableByteStreamControllerProcessPullIntoDescriptorsUsingQueue(controller); + return; + } + if (pullIntoDescriptor.bytesFilled < pullIntoDescriptor.minimumFill) { + // A descriptor for a read() request that is not yet filled up to its minimum length will stay at the head + // of the queue, so the underlying source can keep filling it. return; } ReadableByteStreamControllerShiftPendingPullInto(controller); const remainderSize = pullIntoDescriptor.bytesFilled % pullIntoDescriptor.elementSize; if (remainderSize > 0) { const end = pullIntoDescriptor.byteOffset + pullIntoDescriptor.bytesFilled; - const remainder = ArrayBufferSlice(pullIntoDescriptor.buffer, end - remainderSize, end); - ReadableByteStreamControllerEnqueueChunkToQueue(controller, remainder, 0, remainder.byteLength); + ReadableByteStreamControllerEnqueueClonedChunkToQueue(controller, pullIntoDescriptor.buffer, end - remainderSize, remainderSize); } pullIntoDescriptor.bytesFilled -= remainderSize; ReadableByteStreamControllerCommitPullIntoDescriptor(controller._controlledReadableByteStream, pullIntoDescriptor); @@ -2165,7 +2324,7 @@ module.exports = globalThis.DOMException ReadableByteStreamControllerInvalidateBYOBRequest(controller); const state = controller._controlledReadableByteStream._state; if (state === 'closed') { - ReadableByteStreamControllerRespondInClosedState(controller); + ReadableByteStreamControllerRespondInClosedState(controller, firstDescriptor); } else { ReadableByteStreamControllerRespondInReadableState(controller, bytesWritten, firstDescriptor); @@ -2215,7 +2374,7 @@ module.exports = globalThis.DOMException } if (controller._pendingPullIntos.length > 0) { const firstPendingPullInto = controller._pendingPullIntos.peek(); - if (firstPendingPullInto.bytesFilled > 0) { + if (firstPendingPullInto.bytesFilled % firstPendingPullInto.elementSize !== 0) { const e = new TypeError('Insufficient bytes to fill elements in the given buffer'); ReadableByteStreamControllerError(controller, e); throw e; @@ -2229,17 +2388,24 @@ module.exports = globalThis.DOMException if (controller._closeRequested || stream._state !== 'readable') { return; } - const buffer = chunk.buffer; - const byteOffset = chunk.byteOffset; - const byteLength = chunk.byteLength; + const { buffer, byteOffset, byteLength } = chunk; + if (IsDetachedBuffer(buffer)) { + throw new TypeError('chunk\'s buffer is detached and so cannot be enqueued'); + } const transferredBuffer = TransferArrayBuffer(buffer); if (controller._pendingPullIntos.length > 0) { const firstPendingPullInto = controller._pendingPullIntos.peek(); - if (IsDetachedBuffer(firstPendingPullInto.buffer)) ; + if (IsDetachedBuffer(firstPendingPullInto.buffer)) { + throw new TypeError('The BYOB request\'s buffer has been detached and so cannot be filled with an enqueued chunk'); + } + ReadableByteStreamControllerInvalidateBYOBRequest(controller); firstPendingPullInto.buffer = TransferArrayBuffer(firstPendingPullInto.buffer); + if (firstPendingPullInto.readerType === 'none') { + ReadableByteStreamControllerEnqueueDetachedPullIntoToQueue(controller, firstPendingPullInto); + } } - ReadableByteStreamControllerInvalidateBYOBRequest(controller); if (ReadableStreamHasDefaultReader(stream)) { + ReadableByteStreamControllerProcessReadRequestsUsingQueue(controller); if (ReadableStreamGetNumReadRequests(stream) === 0) { ReadableByteStreamControllerEnqueueChunkToQueue(controller, transferredBuffer, byteOffset, byteLength); } @@ -2271,6 +2437,13 @@ module.exports = globalThis.DOMException ReadableByteStreamControllerClearAlgorithms(controller); ReadableStreamError(stream, e); } + function ReadableByteStreamControllerFillReadRequestFromQueue(controller, readRequest) { + const entry = controller._queue.shift(); + controller._queueTotalSize -= entry.byteLength; + ReadableByteStreamControllerHandleQueueDrain(controller); + const view = new Uint8Array(entry.buffer, entry.byteOffset, entry.byteLength); + readRequest._chunkSteps(view); + } function ReadableByteStreamControllerGetBYOBRequest(controller) { if (controller._byobRequest === null && controller._pendingPullIntos.length > 0) { const firstDescriptor = controller._pendingPullIntos.peek(); @@ -2356,24 +2529,35 @@ module.exports = globalThis.DOMException uponPromise(promiseResolvedWith(startResult), () => { controller._started = true; ReadableByteStreamControllerCallPullIfNeeded(controller); + return null; }, r => { ReadableByteStreamControllerError(controller, r); + return null; }); } function SetUpReadableByteStreamControllerFromUnderlyingSource(stream, underlyingByteSource, highWaterMark) { const controller = Object.create(ReadableByteStreamController.prototype); - let startAlgorithm = () => undefined; - let pullAlgorithm = () => promiseResolvedWith(undefined); - let cancelAlgorithm = () => promiseResolvedWith(undefined); + let startAlgorithm; + let pullAlgorithm; + let cancelAlgorithm; if (underlyingByteSource.start !== undefined) { startAlgorithm = () => underlyingByteSource.start(controller); } + else { + startAlgorithm = () => undefined; + } if (underlyingByteSource.pull !== undefined) { pullAlgorithm = () => underlyingByteSource.pull(controller); } + else { + pullAlgorithm = () => promiseResolvedWith(undefined); + } if (underlyingByteSource.cancel !== undefined) { cancelAlgorithm = reason => underlyingByteSource.cancel(reason); } + else { + cancelAlgorithm = () => promiseResolvedWith(undefined); + } const autoAllocateChunkSize = underlyingByteSource.autoAllocateChunkSize; if (autoAllocateChunkSize === 0) { throw new TypeError('autoAllocateChunkSize must be greater than 0'); @@ -2393,6 +2577,29 @@ module.exports = globalThis.DOMException return new TypeError(`ReadableByteStreamController.prototype.${name} can only be used on a ReadableByteStreamController`); } + function convertReaderOptions(options, context) { + assertDictionary(options, context); + const mode = options === null || options === void 0 ? void 0 : options.mode; + return { + mode: mode === undefined ? undefined : convertReadableStreamReaderMode(mode, `${context} has member 'mode' that`) + }; + } + function convertReadableStreamReaderMode(mode, context) { + mode = `${mode}`; + if (mode !== 'byob') { + throw new TypeError(`${context} '${mode}' is not a valid enumeration value for ReadableStreamReaderMode`); + } + return mode; + } + function convertByobReadOptions(options, context) { + var _a; + assertDictionary(options, context); + const min = (_a = options === null || options === void 0 ? void 0 : options.min) !== null && _a !== void 0 ? _a : 1; + return { + min: convertUnsignedLongLongWithEnforceRange(min, `${context} has member 'min' that`) + }; + } + // Abstract operations for the ReadableStream. function AcquireReadableStreamBYOBReader(stream) { return new ReadableStreamBYOBReader(stream); @@ -2465,12 +2672,7 @@ module.exports = globalThis.DOMException } return ReadableStreamReaderGenericCancel(this, reason); } - /** - * Attempts to reads bytes into view, and returns a promise resolved with the result. - * - * If reading a chunk causes the queue to become empty, more data will be pulled from the underlying source. - */ - read(view) { + read(view, rawOptions = {}) { if (!IsReadableStreamBYOBReader(this)) { return promiseRejectedWith(byobReaderBrandCheckException('read')); } @@ -2483,7 +2685,28 @@ module.exports = globalThis.DOMException if (view.buffer.byteLength === 0) { return promiseRejectedWith(new TypeError(`view's buffer must have non-zero byteLength`)); } - if (IsDetachedBuffer(view.buffer)) ; + if (IsDetachedBuffer(view.buffer)) { + return promiseRejectedWith(new TypeError('view\'s buffer has been detached')); + } + let options; + try { + options = convertByobReadOptions(rawOptions, 'options'); + } + catch (e) { + return promiseRejectedWith(e); + } + const min = options.min; + if (min === 0) { + return promiseRejectedWith(new TypeError('options.min must be greater than 0')); + } + if (!isDataView(view)) { + if (min > view.length) { + return promiseRejectedWith(new RangeError('options.min must be less than or equal to view\'s length')); + } + } + else if (min > view.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')); } @@ -2498,7 +2721,7 @@ module.exports = globalThis.DOMException _closeSteps: chunk => resolvePromise({ value: chunk, done: true }), _errorSteps: e => rejectPromise(e) }; - ReadableStreamBYOBReaderRead(this, view, readIntoRequest); + ReadableStreamBYOBReaderRead(this, view, min, readIntoRequest); return promise; } /** @@ -2517,10 +2740,7 @@ module.exports = globalThis.DOMException if (this._ownerReadableStream === undefined) { return; } - if (this._readIntoRequests.length > 0) { - throw new TypeError('Tried to release a reader lock when that reader has pending read() calls un-settled'); - } - ReadableStreamReaderGenericRelease(this); + ReadableStreamBYOBReaderRelease(this); } } Object.defineProperties(ReadableStreamBYOBReader.prototype, { @@ -2529,8 +2749,11 @@ module.exports = globalThis.DOMException releaseLock: { enumerable: true }, closed: { enumerable: true } }); - if (typeof SymbolPolyfill.toStringTag === 'symbol') { - Object.defineProperty(ReadableStreamBYOBReader.prototype, SymbolPolyfill.toStringTag, { + setFunctionName(ReadableStreamBYOBReader.prototype.cancel, 'cancel'); + setFunctionName(ReadableStreamBYOBReader.prototype.read, 'read'); + setFunctionName(ReadableStreamBYOBReader.prototype.releaseLock, 'releaseLock'); + if (typeof Symbol.toStringTag === 'symbol') { + Object.defineProperty(ReadableStreamBYOBReader.prototype, Symbol.toStringTag, { value: 'ReadableStreamBYOBReader', configurable: true }); @@ -2545,16 +2768,28 @@ module.exports = globalThis.DOMException } return x instanceof ReadableStreamBYOBReader; } - function ReadableStreamBYOBReaderRead(reader, view, readIntoRequest) { + function ReadableStreamBYOBReaderRead(reader, view, min, readIntoRequest) { const stream = reader._ownerReadableStream; stream._disturbed = true; if (stream._state === 'errored') { readIntoRequest._errorSteps(stream._storedError); } else { - ReadableByteStreamControllerPullInto(stream._readableStreamController, view, readIntoRequest); + ReadableByteStreamControllerPullInto(stream._readableStreamController, view, min, readIntoRequest); } } + function ReadableStreamBYOBReaderRelease(reader) { + ReadableStreamReaderGenericRelease(reader); + const e = new TypeError('Reader was released'); + ReadableStreamBYOBReaderErrorReadIntoRequests(reader, e); + } + function ReadableStreamBYOBReaderErrorReadIntoRequests(reader, e) { + const readIntoRequests = reader._readIntoRequests; + reader._readIntoRequests = new SimpleQueue(); + readIntoRequests.forEach(readIntoRequest => { + readIntoRequest._errorSteps(e); + }); + } // Helper functions for the ReadableStreamBYOBReader. function byobReaderBrandCheckException(name) { return new TypeError(`ReadableStreamBYOBReader.prototype.${name} can only be used on a ReadableStreamBYOBReader`); @@ -2755,8 +2990,11 @@ module.exports = globalThis.DOMException getWriter: { enumerable: true }, locked: { enumerable: true } }); - if (typeof SymbolPolyfill.toStringTag === 'symbol') { - Object.defineProperty(WritableStream.prototype, SymbolPolyfill.toStringTag, { + setFunctionName(WritableStream.prototype.abort, 'abort'); + setFunctionName(WritableStream.prototype.close, 'close'); + setFunctionName(WritableStream.prototype.getWriter, 'getWriter'); + if (typeof Symbol.toStringTag === 'symbol') { + Object.defineProperty(WritableStream.prototype, Symbol.toStringTag, { value: 'WritableStream', configurable: true }); @@ -2820,7 +3058,7 @@ module.exports = globalThis.DOMException return promiseResolvedWith(undefined); } stream._writableStreamController._abortReason = reason; - (_a = stream._writableStreamController._abortController) === null || _a === void 0 ? void 0 : _a.abort(); + (_a = stream._writableStreamController._abortController) === null || _a === void 0 ? void 0 : _a.abort(reason); // TypeScript narrows the type of `stream._state` down to 'writable' | 'erroring', // but it doesn't know that signaling abort runs author code that might have changed the state. // Widen the type again by casting to WritableStreamState. @@ -2925,9 +3163,11 @@ module.exports = globalThis.DOMException uponPromise(promise, () => { abortRequest._resolve(); WritableStreamRejectCloseAndClosedPromiseIfNeeded(stream); + return null; }, (reason) => { abortRequest._reject(reason); WritableStreamRejectCloseAndClosedPromiseIfNeeded(stream); + return null; }); } function WritableStreamFinishInFlightWrite(stream) { @@ -3155,8 +3395,12 @@ module.exports = globalThis.DOMException desiredSize: { enumerable: true }, ready: { enumerable: true } }); - if (typeof SymbolPolyfill.toStringTag === 'symbol') { - Object.defineProperty(WritableStreamDefaultWriter.prototype, SymbolPolyfill.toStringTag, { + setFunctionName(WritableStreamDefaultWriter.prototype.abort, 'abort'); + setFunctionName(WritableStreamDefaultWriter.prototype.close, 'close'); + setFunctionName(WritableStreamDefaultWriter.prototype.releaseLock, 'releaseLock'); + setFunctionName(WritableStreamDefaultWriter.prototype.write, 'write'); + if (typeof Symbol.toStringTag === 'symbol') { + Object.defineProperty(WritableStreamDefaultWriter.prototype, Symbol.toStringTag, { value: 'WritableStreamDefaultWriter', configurable: true }); @@ -3322,8 +3566,8 @@ module.exports = globalThis.DOMException signal: { enumerable: true }, error: { enumerable: true } }); - if (typeof SymbolPolyfill.toStringTag === 'symbol') { - Object.defineProperty(WritableStreamDefaultController.prototype, SymbolPolyfill.toStringTag, { + if (typeof Symbol.toStringTag === 'symbol') { + Object.defineProperty(WritableStreamDefaultController.prototype, Symbol.toStringTag, { value: 'WritableStreamDefaultController', configurable: true }); @@ -3360,29 +3604,43 @@ module.exports = globalThis.DOMException uponPromise(startPromise, () => { controller._started = true; WritableStreamDefaultControllerAdvanceQueueIfNeeded(controller); + return null; }, r => { controller._started = true; WritableStreamDealWithRejection(stream, r); + return null; }); } function SetUpWritableStreamDefaultControllerFromUnderlyingSink(stream, underlyingSink, highWaterMark, sizeAlgorithm) { const controller = Object.create(WritableStreamDefaultController.prototype); - let startAlgorithm = () => undefined; - let writeAlgorithm = () => promiseResolvedWith(undefined); - let closeAlgorithm = () => promiseResolvedWith(undefined); - let abortAlgorithm = () => promiseResolvedWith(undefined); + let startAlgorithm; + let writeAlgorithm; + let closeAlgorithm; + let abortAlgorithm; if (underlyingSink.start !== undefined) { startAlgorithm = () => underlyingSink.start(controller); } + else { + startAlgorithm = () => undefined; + } if (underlyingSink.write !== undefined) { writeAlgorithm = chunk => underlyingSink.write(chunk, controller); } + else { + writeAlgorithm = () => promiseResolvedWith(undefined); + } if (underlyingSink.close !== undefined) { closeAlgorithm = () => underlyingSink.close(); } + else { + closeAlgorithm = () => promiseResolvedWith(undefined); + } if (underlyingSink.abort !== undefined) { abortAlgorithm = reason => underlyingSink.abort(reason); } + else { + abortAlgorithm = () => promiseResolvedWith(undefined); + } SetUpWritableStreamDefaultController(stream, controller, startAlgorithm, writeAlgorithm, closeAlgorithm, abortAlgorithm, highWaterMark, sizeAlgorithm); } // ClearAlgorithms may be called twice. Erroring the same stream in multiple ways will often result in redundant calls. @@ -3461,8 +3719,10 @@ module.exports = globalThis.DOMException WritableStreamDefaultControllerClearAlgorithms(controller); uponPromise(sinkClosePromise, () => { WritableStreamFinishInFlightClose(stream); + return null; }, reason => { WritableStreamFinishInFlightCloseWithError(stream, reason); + return null; }); } function WritableStreamDefaultControllerProcessWrite(controller, chunk) { @@ -3478,11 +3738,13 @@ module.exports = globalThis.DOMException WritableStreamUpdateBackpressure(stream, backpressure); } WritableStreamDefaultControllerAdvanceQueueIfNeeded(controller); + return null; }, reason => { if (stream._state === 'writable') { WritableStreamDefaultControllerClearAlgorithms(controller); } WritableStreamFinishInFlightWriteWithError(stream, reason); + return null; }); } function WritableStreamDefaultControllerGetBackpressure(controller) { @@ -3589,13 +3851,28 @@ module.exports = globalThis.DOMException } /// - const NativeDOMException = typeof DOMException !== 'undefined' ? DOMException : undefined; + 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 globals = getGlobals(); /// function isDOMExceptionConstructor(ctor) { if (!(typeof ctor === 'function' || typeof ctor === 'object')) { return false; } + if (ctor.name !== 'DOMException') { + return false; + } try { new ctor(); return true; @@ -3604,8 +3881,21 @@ module.exports = globalThis.DOMException return false; } } - function createDOMExceptionPolyfill() { - // eslint-disable-next-line no-shadow + /** + * Support: + * - Web browsers + * - Node 18 and higher (https://github.com/nodejs/node/commit/e4b1fb5e6422c1ff151234bb9de792d45dd88d87) + */ + function getFromGlobal() { + const ctor = globals === null || globals === void 0 ? void 0 : globals.DOMException; + return isDOMExceptionConstructor(ctor) ? ctor : undefined; + } + /** + * Support: + * - All platforms + */ + function createPolyfill() { + // eslint-disable-next-line @typescript-eslint/no-shadow const ctor = function DOMException(message, name) { this.message = message || ''; this.name = name || 'Error'; @@ -3613,12 +3903,13 @@ module.exports = globalThis.DOMException Error.captureStackTrace(this, this.constructor); } }; + setFunctionName(ctor, 'DOMException'); ctor.prototype = Object.create(Error.prototype); Object.defineProperty(ctor.prototype, 'constructor', { value: ctor, writable: true, configurable: true }); return ctor; } - // eslint-disable-next-line no-redeclare - const DOMException$1 = isDOMExceptionConstructor(NativeDOMException) ? NativeDOMException : createDOMExceptionPolyfill(); + // eslint-disable-next-line @typescript-eslint/no-redeclare + const DOMException = getFromGlobal() || createPolyfill(); function ReadableStreamPipeTo(source, dest, preventClose, preventAbort, preventCancel, signal) { const reader = AcquireReadableStreamDefaultReader(source); @@ -3631,7 +3922,7 @@ module.exports = globalThis.DOMException let abortAlgorithm; if (signal !== undefined) { abortAlgorithm = () => { - const error = new DOMException$1('Aborted', 'AbortError'); + const error = signal.reason !== undefined ? signal.reason : new DOMException('Aborted', 'AbortError'); const actions = []; if (!preventAbort) { actions.push(() => { @@ -3700,6 +3991,7 @@ module.exports = globalThis.DOMException else { shutdown(true, storedError); } + return null; }); // Errors must be propagated backward isOrBecomesErrored(dest, writer._closedPromise, storedError => { @@ -3709,6 +4001,7 @@ module.exports = globalThis.DOMException else { shutdown(true, storedError); } + return null; }); // Closing must be propagated forward isOrBecomesClosed(source, reader._closedPromise, () => { @@ -3718,6 +4011,7 @@ module.exports = globalThis.DOMException else { shutdown(); } + return null; }); // Closing must be propagated backward if (WritableStreamCloseQueuedOrInFlight(dest) || dest._state === 'closed') { @@ -3765,6 +4059,7 @@ module.exports = globalThis.DOMException } function doTheRest() { uponPromise(action(), () => finalize(originalIsError, originalError), newError => finalize(true, newError)); + return null; } } function shutdown(isError, error) { @@ -3791,6 +4086,7 @@ module.exports = globalThis.DOMException else { resolve(undefined); } + return null; } }); } @@ -3871,6 +4167,10 @@ module.exports = globalThis.DOMException ReadableStreamDefaultControllerCallPullIfNeeded(this); } } + /** @internal */ + [ReleaseSteps]() { + // Do nothing. + } } Object.defineProperties(ReadableStreamDefaultController.prototype, { close: { enumerable: true }, @@ -3878,8 +4178,11 @@ module.exports = globalThis.DOMException error: { enumerable: true }, desiredSize: { enumerable: true } }); - if (typeof SymbolPolyfill.toStringTag === 'symbol') { - Object.defineProperty(ReadableStreamDefaultController.prototype, SymbolPolyfill.toStringTag, { + setFunctionName(ReadableStreamDefaultController.prototype.close, 'close'); + setFunctionName(ReadableStreamDefaultController.prototype.enqueue, 'enqueue'); + setFunctionName(ReadableStreamDefaultController.prototype.error, 'error'); + if (typeof Symbol.toStringTag === 'symbol') { + Object.defineProperty(ReadableStreamDefaultController.prototype, Symbol.toStringTag, { value: 'ReadableStreamDefaultController', configurable: true }); @@ -3911,8 +4214,10 @@ module.exports = globalThis.DOMException controller._pullAgain = false; ReadableStreamDefaultControllerCallPullIfNeeded(controller); } + return null; }, e => { ReadableStreamDefaultControllerError(controller, e); + return null; }); } function ReadableStreamDefaultControllerShouldCallPull(controller) { @@ -4027,24 +4332,35 @@ module.exports = globalThis.DOMException uponPromise(promiseResolvedWith(startResult), () => { controller._started = true; ReadableStreamDefaultControllerCallPullIfNeeded(controller); + return null; }, r => { ReadableStreamDefaultControllerError(controller, r); + return null; }); } function SetUpReadableStreamDefaultControllerFromUnderlyingSource(stream, underlyingSource, highWaterMark, sizeAlgorithm) { const controller = Object.create(ReadableStreamDefaultController.prototype); - let startAlgorithm = () => undefined; - let pullAlgorithm = () => promiseResolvedWith(undefined); - let cancelAlgorithm = () => promiseResolvedWith(undefined); + let startAlgorithm; + let pullAlgorithm; + let cancelAlgorithm; if (underlyingSource.start !== undefined) { startAlgorithm = () => underlyingSource.start(controller); } + else { + startAlgorithm = () => undefined; + } if (underlyingSource.pull !== undefined) { pullAlgorithm = () => underlyingSource.pull(controller); } + else { + pullAlgorithm = () => promiseResolvedWith(undefined); + } if (underlyingSource.cancel !== undefined) { cancelAlgorithm = reason => underlyingSource.cancel(reason); } + else { + cancelAlgorithm = () => promiseResolvedWith(undefined); + } SetUpReadableStreamDefaultController(stream, controller, startAlgorithm, pullAlgorithm, cancelAlgorithm, highWaterMark, sizeAlgorithm); } // Helper functions for the ReadableStreamDefaultController. @@ -4083,7 +4399,7 @@ module.exports = globalThis.DOMException // This needs to be delayed a microtask because it takes at least a microtask to detect errors (using // reader._closedPromise below), and we want errors in stream to error both branches immediately. We cannot let // successful synchronously-available reads get ahead of asynchronously-available errors. - queueMicrotask(() => { + _queueMicrotask(() => { readAgain = false; const chunk1 = chunk; const chunk2 = chunk; @@ -4154,6 +4470,7 @@ module.exports = globalThis.DOMException if (!canceled1 || !canceled2) { resolveCancelPromise(undefined); } + return null; }); return [branch1, branch2]; } @@ -4175,13 +4492,14 @@ module.exports = globalThis.DOMException function forwardReaderError(thisReader) { uponRejection(thisReader._closedPromise, r => { if (thisReader !== reader) { - return; + return null; } ReadableByteStreamControllerError(branch1._readableStreamController, r); ReadableByteStreamControllerError(branch2._readableStreamController, r); if (!canceled1 || !canceled2) { resolveCancelPromise(undefined); } + return null; }); } function pullWithDefaultReader() { @@ -4195,7 +4513,7 @@ module.exports = globalThis.DOMException // This needs to be delayed a microtask because it takes at least a microtask to detect errors (using // reader._closedPromise below), and we want errors in stream to error both branches immediately. We cannot let // successful synchronously-available reads get ahead of asynchronously-available errors. - queueMicrotask(() => { + _queueMicrotask(() => { readAgainForBranch1 = false; readAgainForBranch2 = false; const chunk1 = chunk; @@ -4263,7 +4581,7 @@ module.exports = globalThis.DOMException // This needs to be delayed a microtask because it takes at least a microtask to detect errors (using // reader._closedPromise below), and we want errors in stream to error both branches immediately. We cannot let // successful synchronously-available reads get ahead of asynchronously-available errors. - queueMicrotask(() => { + _queueMicrotask(() => { readAgainForBranch1 = false; readAgainForBranch2 = false; const byobCanceled = forBranch2 ? canceled2 : canceled1; @@ -4322,7 +4640,7 @@ module.exports = globalThis.DOMException reading = false; } }; - ReadableStreamBYOBReaderRead(reader, view, readIntoRequest); + ReadableStreamBYOBReaderRead(reader, view, 1, readIntoRequest); } function pull1Algorithm() { if (reading) { @@ -4383,6 +4701,109 @@ module.exports = globalThis.DOMException return [branch1, branch2]; } + function isReadableStreamLike(stream) { + return typeIsObject(stream) && typeof stream.getReader !== 'undefined'; + } + + function ReadableStreamFrom(source) { + if (isReadableStreamLike(source)) { + return ReadableStreamFromDefaultReader(source.getReader()); + } + return ReadableStreamFromIterable(source); + } + function ReadableStreamFromIterable(asyncIterable) { + let stream; + const iteratorRecord = GetIterator(asyncIterable, 'async'); + const startAlgorithm = noop; + function pullAlgorithm() { + let nextResult; + try { + nextResult = IteratorNext(iteratorRecord); + } + catch (e) { + return promiseRejectedWith(e); + } + const nextPromise = promiseResolvedWith(nextResult); + return transformPromiseWith(nextPromise, iterResult => { + if (!typeIsObject(iterResult)) { + throw new TypeError('The promise returned by the iterator.next() method must fulfill with an object'); + } + const done = IteratorComplete(iterResult); + if (done) { + ReadableStreamDefaultControllerClose(stream._readableStreamController); + } + else { + const value = IteratorValue(iterResult); + ReadableStreamDefaultControllerEnqueue(stream._readableStreamController, value); + } + }); + } + function cancelAlgorithm(reason) { + const iterator = iteratorRecord.iterator; + let returnMethod; + try { + returnMethod = GetMethod(iterator, 'return'); + } + catch (e) { + return promiseRejectedWith(e); + } + if (returnMethod === undefined) { + return promiseResolvedWith(undefined); + } + let returnResult; + try { + returnResult = reflectCall(returnMethod, iterator, [reason]); + } + catch (e) { + return promiseRejectedWith(e); + } + const returnPromise = promiseResolvedWith(returnResult); + return transformPromiseWith(returnPromise, iterResult => { + if (!typeIsObject(iterResult)) { + throw new TypeError('The promise returned by the iterator.return() method must fulfill with an object'); + } + return undefined; + }); + } + stream = CreateReadableStream(startAlgorithm, pullAlgorithm, cancelAlgorithm, 0); + return stream; + } + function ReadableStreamFromDefaultReader(reader) { + let stream; + const startAlgorithm = noop; + function pullAlgorithm() { + let readPromise; + try { + readPromise = reader.read(); + } + catch (e) { + return promiseRejectedWith(e); + } + return transformPromiseWith(readPromise, readResult => { + if (!typeIsObject(readResult)) { + throw new TypeError('The promise returned by the reader.read() method must fulfill with an object'); + } + if (readResult.done) { + ReadableStreamDefaultControllerClose(stream._readableStreamController); + } + else { + const value = readResult.value; + ReadableStreamDefaultControllerEnqueue(stream._readableStreamController, value); + } + }); + } + function cancelAlgorithm(reason) { + try { + return promiseResolvedWith(reader.cancel(reason)); + } + catch (e) { + return promiseRejectedWith(e); + } + } + stream = CreateReadableStream(startAlgorithm, pullAlgorithm, cancelAlgorithm, 0); + return stream; + } + function convertUnderlyingDefaultOrByteSource(source, context) { assertDictionary(source, context); const original = source; @@ -4427,21 +4848,6 @@ module.exports = globalThis.DOMException return type; } - function convertReaderOptions(options, context) { - assertDictionary(options, context); - const mode = options === null || options === void 0 ? void 0 : options.mode; - return { - mode: mode === undefined ? undefined : convertReadableStreamReaderMode(mode, `${context} has member 'mode' that`) - }; - } - function convertReadableStreamReaderMode(mode, context) { - mode = `${mode}`; - if (mode !== 'byob') { - throw new TypeError(`${context} '${mode}' is not a valid enumeration value for ReadableStreamReaderMode`); - } - return mode; - } - function convertIteratorOptions(options, context) { assertDictionary(options, context); const preventCancel = options === null || options === void 0 ? void 0 : options.preventCancel; @@ -4611,7 +5017,23 @@ module.exports = globalThis.DOMException const options = convertIteratorOptions(rawOptions, 'First parameter'); return AcquireReadableStreamAsyncIterator(this, options.preventCancel); } + [SymbolAsyncIterator](options) { + // Stub implementation, overridden below + return this.values(options); + } + /** + * Creates a new ReadableStream wrapping the provided iterable or async iterable. + * + * This can be used to adapt various kinds of objects into a readable stream, + * such as an array, an async generator, or a Node.js readable stream. + */ + static from(asyncIterable) { + return ReadableStreamFrom(asyncIterable); + } } + Object.defineProperties(ReadableStream, { + from: { enumerable: true } + }); Object.defineProperties(ReadableStream.prototype, { cancel: { enumerable: true }, getReader: { enumerable: true }, @@ -4621,19 +5043,24 @@ module.exports = globalThis.DOMException values: { enumerable: true }, locked: { enumerable: true } }); - if (typeof SymbolPolyfill.toStringTag === 'symbol') { - Object.defineProperty(ReadableStream.prototype, SymbolPolyfill.toStringTag, { + 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 Symbol.toStringTag === 'symbol') { + Object.defineProperty(ReadableStream.prototype, Symbol.toStringTag, { value: 'ReadableStream', configurable: true }); } - if (typeof SymbolPolyfill.asyncIterator === 'symbol') { - Object.defineProperty(ReadableStream.prototype, SymbolPolyfill.asyncIterator, { - value: ReadableStream.prototype.values, - writable: true, - configurable: true - }); - } + Object.defineProperty(ReadableStream.prototype, SymbolAsyncIterator, { + value: ReadableStream.prototype.values, + writable: true, + configurable: true + }); // Abstract operations for the ReadableStream. // Throws if and only if startAlgorithm throws. function CreateReadableStream(startAlgorithm, pullAlgorithm, cancelAlgorithm, highWaterMark = 1, sizeAlgorithm = () => 1) { @@ -4684,10 +5111,11 @@ module.exports = globalThis.DOMException ReadableStreamClose(stream); const reader = stream._reader; if (reader !== undefined && IsReadableStreamBYOBReader(reader)) { - reader._readIntoRequests.forEach(readIntoRequest => { + const readIntoRequests = reader._readIntoRequests; + reader._readIntoRequests = new SimpleQueue(); + readIntoRequests.forEach(readIntoRequest => { readIntoRequest._closeSteps(undefined); }); - reader._readIntoRequests = new SimpleQueue(); } const sourceCancelPromise = stream._readableStreamController[CancelSteps](reason); return transformPromiseWith(sourceCancelPromise, noop); @@ -4700,10 +5128,11 @@ module.exports = globalThis.DOMException } defaultReaderClosedPromiseResolve(reader); if (IsReadableStreamDefaultReader(reader)) { - reader._readRequests.forEach(readRequest => { + const readRequests = reader._readRequests; + reader._readRequests = new SimpleQueue(); + readRequests.forEach(readRequest => { readRequest._closeSteps(); }); - reader._readRequests = new SimpleQueue(); } } function ReadableStreamError(stream, e) { @@ -4715,16 +5144,10 @@ module.exports = globalThis.DOMException } defaultReaderClosedPromiseReject(reader, e); if (IsReadableStreamDefaultReader(reader)) { - reader._readRequests.forEach(readRequest => { - readRequest._errorSteps(e); - }); - reader._readRequests = new SimpleQueue(); + ReadableStreamDefaultReaderErrorReadRequests(reader, e); } else { - reader._readIntoRequests.forEach(readIntoRequest => { - readIntoRequest._errorSteps(e); - }); - reader._readIntoRequests = new SimpleQueue(); + ReadableStreamBYOBReaderErrorReadIntoRequests(reader, e); } } // Helper functions for the ReadableStream. @@ -4745,16 +5168,7 @@ module.exports = globalThis.DOMException const byteLengthSizeFunction = (chunk) => { return chunk.byteLength; }; - try { - Object.defineProperty(byteLengthSizeFunction, 'name', { - value: 'size', - configurable: true - }); - } - catch (_a) { - // This property is non-configurable in older browsers, so ignore if this throws. - // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/name#browser_compatibility - } + setFunctionName(byteLengthSizeFunction, 'size'); /** * A queuing strategy that counts the number of bytes in each chunk. * @@ -4789,8 +5203,8 @@ module.exports = globalThis.DOMException highWaterMark: { enumerable: true }, size: { enumerable: true } }); - if (typeof SymbolPolyfill.toStringTag === 'symbol') { - Object.defineProperty(ByteLengthQueuingStrategy.prototype, SymbolPolyfill.toStringTag, { + if (typeof Symbol.toStringTag === 'symbol') { + Object.defineProperty(ByteLengthQueuingStrategy.prototype, Symbol.toStringTag, { value: 'ByteLengthQueuingStrategy', configurable: true }); @@ -4813,16 +5227,7 @@ module.exports = globalThis.DOMException const countSizeFunction = () => { return 1; }; - try { - Object.defineProperty(countSizeFunction, 'name', { - value: 'size', - configurable: true - }); - } - catch (_a) { - // This property is non-configurable in older browsers, so ignore if this throws. - // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/name#browser_compatibility - } + setFunctionName(countSizeFunction, 'size'); /** * A queuing strategy that counts the number of chunks. * @@ -4858,8 +5263,8 @@ module.exports = globalThis.DOMException highWaterMark: { enumerable: true }, size: { enumerable: true } }); - if (typeof SymbolPolyfill.toStringTag === 'symbol') { - Object.defineProperty(CountQueuingStrategy.prototype, SymbolPolyfill.toStringTag, { + if (typeof Symbol.toStringTag === 'symbol') { + Object.defineProperty(CountQueuingStrategy.prototype, Symbol.toStringTag, { value: 'CountQueuingStrategy', configurable: true }); @@ -4880,12 +5285,16 @@ module.exports = globalThis.DOMException function convertTransformer(original, context) { assertDictionary(original, context); + const cancel = original === null || original === void 0 ? void 0 : original.cancel; const flush = original === null || original === void 0 ? void 0 : original.flush; const readableType = original === null || original === void 0 ? void 0 : original.readableType; const start = original === null || original === void 0 ? void 0 : original.start; const transform = original === null || original === void 0 ? void 0 : original.transform; const writableType = original === null || original === void 0 ? void 0 : original.writableType; return { + cancel: cancel === undefined ? + undefined : + convertTransformerCancelCallback(cancel, original, `${context} has member 'cancel' that`), flush: flush === undefined ? undefined : convertTransformerFlushCallback(flush, original, `${context} has member 'flush' that`), @@ -4911,6 +5320,10 @@ module.exports = globalThis.DOMException assertFunction(fn, context); return (chunk, controller) => promiseCall(fn, original, [chunk, controller]); } + function convertTransformerCancelCallback(fn, original, context) { + assertFunction(fn, context); + return (reason) => promiseCall(fn, original, [reason]); + } // Class TransformStream /** @@ -4975,8 +5388,8 @@ module.exports = globalThis.DOMException readable: { enumerable: true }, writable: { enumerable: true } }); - if (typeof SymbolPolyfill.toStringTag === 'symbol') { - Object.defineProperty(TransformStream.prototype, SymbolPolyfill.toStringTag, { + if (typeof Symbol.toStringTag === 'symbol') { + Object.defineProperty(TransformStream.prototype, Symbol.toStringTag, { value: 'TransformStream', configurable: true }); @@ -4999,8 +5412,7 @@ module.exports = globalThis.DOMException return TransformStreamDefaultSourcePullAlgorithm(stream); } function cancelAlgorithm(reason) { - TransformStreamErrorWritableAndUnblockWrite(stream, reason); - return promiseResolvedWith(undefined); + return TransformStreamDefaultSourceCancelAlgorithm(stream, reason); } stream._readable = CreateReadableStream(startAlgorithm, pullAlgorithm, cancelAlgorithm, readableHighWaterMark, readableSizeAlgorithm); // The [[backpressure]] slot is set to undefined so that it can be initialised by TransformStreamSetBackpressure. @@ -5027,6 +5439,9 @@ module.exports = globalThis.DOMException function TransformStreamErrorWritableAndUnblockWrite(stream, e) { TransformStreamDefaultControllerClearAlgorithms(stream._transformStreamController); WritableStreamDefaultControllerErrorIfNeeded(stream._writable._writableStreamController, e); + TransformStreamUnblockWrite(stream); + } + function TransformStreamUnblockWrite(stream) { if (stream._backpressure) { // Pretend that pull() was called to permit any pending write() calls to complete. TransformStreamSetBackpressure() // cannot be called from enqueue() or pull() once the ReadableStream is errored, so this will will be the final time @@ -5097,8 +5512,11 @@ module.exports = globalThis.DOMException terminate: { enumerable: true }, desiredSize: { enumerable: true } }); - if (typeof SymbolPolyfill.toStringTag === 'symbol') { - Object.defineProperty(TransformStreamDefaultController.prototype, SymbolPolyfill.toStringTag, { + setFunctionName(TransformStreamDefaultController.prototype.enqueue, 'enqueue'); + setFunctionName(TransformStreamDefaultController.prototype.error, 'error'); + setFunctionName(TransformStreamDefaultController.prototype.terminate, 'terminate'); + if (typeof Symbol.toStringTag === 'symbol') { + Object.defineProperty(TransformStreamDefaultController.prototype, Symbol.toStringTag, { value: 'TransformStreamDefaultController', configurable: true }); @@ -5113,35 +5531,53 @@ module.exports = globalThis.DOMException } return x instanceof TransformStreamDefaultController; } - function SetUpTransformStreamDefaultController(stream, controller, transformAlgorithm, flushAlgorithm) { + function SetUpTransformStreamDefaultController(stream, controller, transformAlgorithm, flushAlgorithm, cancelAlgorithm) { controller._controlledTransformStream = stream; stream._transformStreamController = controller; controller._transformAlgorithm = transformAlgorithm; controller._flushAlgorithm = flushAlgorithm; + controller._cancelAlgorithm = cancelAlgorithm; + controller._finishPromise = undefined; + controller._finishPromise_resolve = undefined; + controller._finishPromise_reject = undefined; } function SetUpTransformStreamDefaultControllerFromTransformer(stream, transformer) { const controller = Object.create(TransformStreamDefaultController.prototype); - let transformAlgorithm = (chunk) => { - try { - TransformStreamDefaultControllerEnqueue(controller, chunk); - return promiseResolvedWith(undefined); - } - catch (transformResultE) { - return promiseRejectedWith(transformResultE); - } - }; - let flushAlgorithm = () => promiseResolvedWith(undefined); + let transformAlgorithm; + let flushAlgorithm; + let cancelAlgorithm; if (transformer.transform !== undefined) { transformAlgorithm = chunk => transformer.transform(chunk, controller); } + else { + transformAlgorithm = chunk => { + try { + TransformStreamDefaultControllerEnqueue(controller, chunk); + return promiseResolvedWith(undefined); + } + catch (transformResultE) { + return promiseRejectedWith(transformResultE); + } + }; + } if (transformer.flush !== undefined) { flushAlgorithm = () => transformer.flush(controller); } - SetUpTransformStreamDefaultController(stream, controller, transformAlgorithm, flushAlgorithm); + else { + flushAlgorithm = () => promiseResolvedWith(undefined); + } + if (transformer.cancel !== undefined) { + cancelAlgorithm = reason => transformer.cancel(reason); + } + else { + cancelAlgorithm = () => promiseResolvedWith(undefined); + } + SetUpTransformStreamDefaultController(stream, controller, transformAlgorithm, flushAlgorithm, cancelAlgorithm); } function TransformStreamDefaultControllerClearAlgorithms(controller) { controller._transformAlgorithm = undefined; controller._flushAlgorithm = undefined; + controller._cancelAlgorithm = undefined; } function TransformStreamDefaultControllerEnqueue(controller, chunk) { const stream = controller._controlledTransformStream; @@ -5198,27 +5634,66 @@ module.exports = globalThis.DOMException return TransformStreamDefaultControllerPerformTransform(controller, chunk); } function TransformStreamDefaultSinkAbortAlgorithm(stream, reason) { - // abort() is not called synchronously, so it is possible for abort() to be called when the stream is already - // errored. - TransformStreamError(stream, reason); - return promiseResolvedWith(undefined); + const controller = stream._transformStreamController; + if (controller._finishPromise !== undefined) { + return controller._finishPromise; + } + // stream._readable cannot change after construction, so caching it across a call to user code is safe. + const readable = stream._readable; + // Assign the _finishPromise now so that if _cancelAlgorithm calls readable.cancel() internally, + // we don't run the _cancelAlgorithm again. + controller._finishPromise = newPromise((resolve, reject) => { + controller._finishPromise_resolve = resolve; + controller._finishPromise_reject = reject; + }); + const cancelPromise = controller._cancelAlgorithm(reason); + TransformStreamDefaultControllerClearAlgorithms(controller); + uponPromise(cancelPromise, () => { + if (readable._state === 'errored') { + defaultControllerFinishPromiseReject(controller, readable._storedError); + } + else { + ReadableStreamDefaultControllerError(readable._readableStreamController, reason); + defaultControllerFinishPromiseResolve(controller); + } + return null; + }, r => { + ReadableStreamDefaultControllerError(readable._readableStreamController, r); + defaultControllerFinishPromiseReject(controller, r); + return null; + }); + return controller._finishPromise; } function TransformStreamDefaultSinkCloseAlgorithm(stream) { + const controller = stream._transformStreamController; + if (controller._finishPromise !== undefined) { + return controller._finishPromise; + } // stream._readable cannot change after construction, so caching it across a call to user code is safe. const readable = stream._readable; - const controller = stream._transformStreamController; + // Assign the _finishPromise now so that if _flushAlgorithm calls readable.cancel() internally, + // we don't also run the _cancelAlgorithm. + controller._finishPromise = newPromise((resolve, reject) => { + controller._finishPromise_resolve = resolve; + controller._finishPromise_reject = reject; + }); const flushPromise = controller._flushAlgorithm(); TransformStreamDefaultControllerClearAlgorithms(controller); - // Return a promise that is fulfilled with undefined on success. - return transformPromiseWith(flushPromise, () => { + uponPromise(flushPromise, () => { if (readable._state === 'errored') { - throw readable._storedError; + defaultControllerFinishPromiseReject(controller, readable._storedError); + } + else { + ReadableStreamDefaultControllerClose(readable._readableStreamController); + defaultControllerFinishPromiseResolve(controller); } - ReadableStreamDefaultControllerClose(readable._readableStreamController); + return null; }, r => { - TransformStreamError(stream, r); - throw readable._storedError; + ReadableStreamDefaultControllerError(readable._readableStreamController, r); + defaultControllerFinishPromiseReject(controller, r); + return null; }); + return controller._finishPromise; } // TransformStreamDefaultSource Algorithms function TransformStreamDefaultSourcePullAlgorithm(stream) { @@ -5227,10 +5702,61 @@ module.exports = globalThis.DOMException // Prevent the next pull() call until there is backpressure. return stream._backpressureChangePromise; } + function TransformStreamDefaultSourceCancelAlgorithm(stream, reason) { + const controller = stream._transformStreamController; + if (controller._finishPromise !== undefined) { + return controller._finishPromise; + } + // stream._writable cannot change after construction, so caching it across a call to user code is safe. + const writable = stream._writable; + // Assign the _finishPromise now so that if _flushAlgorithm calls writable.abort() or + // writable.cancel() internally, we don't run the _cancelAlgorithm again, or also run the + // _flushAlgorithm. + controller._finishPromise = newPromise((resolve, reject) => { + controller._finishPromise_resolve = resolve; + controller._finishPromise_reject = reject; + }); + const cancelPromise = controller._cancelAlgorithm(reason); + TransformStreamDefaultControllerClearAlgorithms(controller); + uponPromise(cancelPromise, () => { + if (writable._state === 'errored') { + defaultControllerFinishPromiseReject(controller, writable._storedError); + } + else { + WritableStreamDefaultControllerErrorIfNeeded(writable._writableStreamController, reason); + TransformStreamUnblockWrite(stream); + defaultControllerFinishPromiseResolve(controller); + } + return null; + }, r => { + WritableStreamDefaultControllerErrorIfNeeded(writable._writableStreamController, r); + TransformStreamUnblockWrite(stream); + defaultControllerFinishPromiseReject(controller, r); + return null; + }); + return controller._finishPromise; + } // Helper functions for the TransformStreamDefaultController. function defaultControllerBrandCheckException(name) { return new TypeError(`TransformStreamDefaultController.prototype.${name} can only be used on a TransformStreamDefaultController`); } + function defaultControllerFinishPromiseResolve(controller) { + if (controller._finishPromise_resolve === undefined) { + return; + } + controller._finishPromise_resolve(); + controller._finishPromise_resolve = undefined; + controller._finishPromise_reject = undefined; + } + function defaultControllerFinishPromiseReject(controller, reason) { + if (controller._finishPromise_reject === undefined) { + return; + } + setPromiseIsHandledToTrue(controller._finishPromise); + controller._finishPromise_reject(reason); + controller._finishPromise_resolve = undefined; + controller._finishPromise_reject = undefined; + } // Helper functions for the TransformStream. function streamBrandCheckException(name) { return new TypeError(`TransformStream.prototype.${name} can only be used on a TransformStream`); @@ -5250,9 +5776,7 @@ module.exports = globalThis.DOMException exports.WritableStreamDefaultController = WritableStreamDefaultController; exports.WritableStreamDefaultWriter = WritableStreamDefaultWriter; - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); +})); //# sourceMappingURL=ponyfill.es2018.js.map @@ -7485,10 +8009,6 @@ const getNodeRequestOptions = request => { agent = agent(parsedURL); } - if (!headers.has('Connection') && !agent) { - headers.set('Connection', 'close'); - } - // HTTP-network fetch step 4.2 // chunked encoding is handled by Node.js diff --git a/dist/index.js b/dist/index.js index d6dea9ca..eda9d594 100755 --- a/dist/index.js +++ b/dist/index.js @@ -1,5 +1,5 @@ #!/usr/bin/env node -(()=>{var __webpack_modules__={87351:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;Object.defineProperty(re,se,{enumerable:true,get:function(){return ie[oe]}})}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};Object.defineProperty(ie,"__esModule",{value:true});ie.issue=ie.issueCommand=void 0;const ue=ce(oe(22037));const le=oe(5278);function issueCommand(re,ie,oe){const se=new Command(re,ie,oe);process.stdout.write(se.toString()+ue.EOL)}ie.issueCommand=issueCommand;function issue(re,ie=""){issueCommand(re,{},ie)}ie.issue=issue;const fe="::";class Command{constructor(re,ie,oe){if(!re){re="missing.command"}this.command=re;this.properties=ie;this.message=oe}toString(){let re=fe+this.command;if(this.properties&&Object.keys(this.properties).length>0){re+=" ";let ie=true;for(const oe in this.properties){if(this.properties.hasOwnProperty(oe)){const se=this.properties[oe];if(se){if(ie){ie=false}else{re+=","}re+=`${oe}=${escapeProperty(se)}`}}}}re+=`${fe}${escapeData(this.message)}`;return re}}function escapeData(re){return le.toCommandValue(re).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function escapeProperty(re){return le.toCommandValue(re).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}},42186:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;Object.defineProperty(re,se,{enumerable:true,get:function(){return ie[oe]}})}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};var ue=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};Object.defineProperty(ie,"__esModule",{value:true});ie.getIDToken=ie.getState=ie.saveState=ie.group=ie.endGroup=ie.startGroup=ie.info=ie.notice=ie.warning=ie.error=ie.debug=ie.isDebug=ie.setFailed=ie.setCommandEcho=ie.setOutput=ie.getBooleanInput=ie.getMultilineInput=ie.getInput=ie.addPath=ie.setSecret=ie.exportVariable=ie.ExitCode=void 0;const le=oe(87351);const fe=oe(717);const de=oe(5278);const pe=ce(oe(22037));const he=ce(oe(71017));const Ae=oe(98041);var ge;(function(re){re[re["Success"]=0]="Success";re[re["Failure"]=1]="Failure"})(ge=ie.ExitCode||(ie.ExitCode={}));function exportVariable(re,ie){const oe=de.toCommandValue(ie);process.env[re]=oe;const se=process.env["GITHUB_ENV"]||"";if(se){return fe.issueFileCommand("ENV",fe.prepareKeyValueMessage(re,ie))}le.issueCommand("set-env",{name:re},oe)}ie.exportVariable=exportVariable;function setSecret(re){le.issueCommand("add-mask",{},re)}ie.setSecret=setSecret;function addPath(re){const ie=process.env["GITHUB_PATH"]||"";if(ie){fe.issueFileCommand("PATH",re)}else{le.issueCommand("add-path",{},re)}process.env["PATH"]=`${re}${he.delimiter}${process.env["PATH"]}`}ie.addPath=addPath;function getInput(re,ie){const oe=process.env[`INPUT_${re.replace(/ /g,"_").toUpperCase()}`]||"";if(ie&&ie.required&&!oe){throw new Error(`Input required and not supplied: ${re}`)}if(ie&&ie.trimWhitespace===false){return oe}return oe.trim()}ie.getInput=getInput;function getMultilineInput(re,ie){const oe=getInput(re,ie).split("\n").filter((re=>re!==""));if(ie&&ie.trimWhitespace===false){return oe}return oe.map((re=>re.trim()))}ie.getMultilineInput=getMultilineInput;function getBooleanInput(re,ie){const oe=["true","True","TRUE"];const se=["false","False","FALSE"];const ae=getInput(re,ie);if(oe.includes(ae))return true;if(se.includes(ae))return false;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${re}\n`+`Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}ie.getBooleanInput=getBooleanInput;function setOutput(re,ie){const oe=process.env["GITHUB_OUTPUT"]||"";if(oe){return fe.issueFileCommand("OUTPUT",fe.prepareKeyValueMessage(re,ie))}process.stdout.write(pe.EOL);le.issueCommand("set-output",{name:re},de.toCommandValue(ie))}ie.setOutput=setOutput;function setCommandEcho(re){le.issue("echo",re?"on":"off")}ie.setCommandEcho=setCommandEcho;function setFailed(re){process.exitCode=ge.Failure;error(re)}ie.setFailed=setFailed;function isDebug(){return process.env["RUNNER_DEBUG"]==="1"}ie.isDebug=isDebug;function debug(re){le.issueCommand("debug",{},re)}ie.debug=debug;function error(re,ie={}){le.issueCommand("error",de.toCommandProperties(ie),re instanceof Error?re.toString():re)}ie.error=error;function warning(re,ie={}){le.issueCommand("warning",de.toCommandProperties(ie),re instanceof Error?re.toString():re)}ie.warning=warning;function notice(re,ie={}){le.issueCommand("notice",de.toCommandProperties(ie),re instanceof Error?re.toString():re)}ie.notice=notice;function info(re){process.stdout.write(re+pe.EOL)}ie.info=info;function startGroup(re){le.issue("group",re)}ie.startGroup=startGroup;function endGroup(){le.issue("endgroup")}ie.endGroup=endGroup;function group(re,ie){return ue(this,void 0,void 0,(function*(){startGroup(re);let oe;try{oe=yield ie()}finally{endGroup()}return oe}))}ie.group=group;function saveState(re,ie){const oe=process.env["GITHUB_STATE"]||"";if(oe){return fe.issueFileCommand("STATE",fe.prepareKeyValueMessage(re,ie))}le.issueCommand("save-state",{name:re},de.toCommandValue(ie))}ie.saveState=saveState;function getState(re){return process.env[`STATE_${re}`]||""}ie.getState=getState;function getIDToken(re){return ue(this,void 0,void 0,(function*(){return yield Ae.OidcClient.getIDToken(re)}))}ie.getIDToken=getIDToken;var me=oe(81327);Object.defineProperty(ie,"summary",{enumerable:true,get:function(){return me.summary}});var ye=oe(81327);Object.defineProperty(ie,"markdownSummary",{enumerable:true,get:function(){return ye.markdownSummary}});var ve=oe(2981);Object.defineProperty(ie,"toPosixPath",{enumerable:true,get:function(){return ve.toPosixPath}});Object.defineProperty(ie,"toWin32Path",{enumerable:true,get:function(){return ve.toWin32Path}});Object.defineProperty(ie,"toPlatformPath",{enumerable:true,get:function(){return ve.toPlatformPath}})},717:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;Object.defineProperty(re,se,{enumerable:true,get:function(){return ie[oe]}})}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};Object.defineProperty(ie,"__esModule",{value:true});ie.prepareKeyValueMessage=ie.issueFileCommand=void 0;const ue=ce(oe(57147));const le=ce(oe(22037));const fe=oe(78974);const de=oe(5278);function issueFileCommand(re,ie){const oe=process.env[`GITHUB_${re}`];if(!oe){throw new Error(`Unable to find environment variable for file command ${re}`)}if(!ue.existsSync(oe)){throw new Error(`Missing file at path: ${oe}`)}ue.appendFileSync(oe,`${de.toCommandValue(ie)}${le.EOL}`,{encoding:"utf8"})}ie.issueFileCommand=issueFileCommand;function prepareKeyValueMessage(re,ie){const oe=`ghadelimiter_${fe.v4()}`;const se=de.toCommandValue(ie);if(re.includes(oe)){throw new Error(`Unexpected input: name should not contain the delimiter "${oe}"`)}if(se.includes(oe)){throw new Error(`Unexpected input: value should not contain the delimiter "${oe}"`)}return`${re}<<${oe}${le.EOL}${se}${le.EOL}${oe}`}ie.prepareKeyValueMessage=prepareKeyValueMessage},98041:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};Object.defineProperty(ie,"__esModule",{value:true});ie.OidcClient=void 0;const ae=oe(96255);const ce=oe(35526);const ue=oe(42186);class OidcClient{static createHttpClient(re=true,ie=10){const oe={allowRetries:re,maxRetries:ie};return new ae.HttpClient("actions/oidc-client",[new ce.BearerCredentialHandler(OidcClient.getRequestToken())],oe)}static getRequestToken(){const re=process.env["ACTIONS_ID_TOKEN_REQUEST_TOKEN"];if(!re){throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable")}return re}static getIDTokenUrl(){const re=process.env["ACTIONS_ID_TOKEN_REQUEST_URL"];if(!re){throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable")}return re}static getCall(re){var ie;return se(this,void 0,void 0,(function*(){const oe=OidcClient.createHttpClient();const se=yield oe.getJson(re).catch((re=>{throw new Error(`Failed to get ID Token. \n \n Error Code : ${re.statusCode}\n \n Error Message: ${re.result.message}`)}));const ae=(ie=se.result)===null||ie===void 0?void 0:ie.value;if(!ae){throw new Error("Response json body do not have ID Token field")}return ae}))}static getIDToken(re){return se(this,void 0,void 0,(function*(){try{let ie=OidcClient.getIDTokenUrl();if(re){const oe=encodeURIComponent(re);ie=`${ie}&audience=${oe}`}ue.debug(`ID token url is ${ie}`);const oe=yield OidcClient.getCall(ie);ue.setSecret(oe);return oe}catch(re){throw new Error(`Error message: ${re.message}`)}}))}}ie.OidcClient=OidcClient},2981:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;Object.defineProperty(re,se,{enumerable:true,get:function(){return ie[oe]}})}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};Object.defineProperty(ie,"__esModule",{value:true});ie.toPlatformPath=ie.toWin32Path=ie.toPosixPath=void 0;const ue=ce(oe(71017));function toPosixPath(re){return re.replace(/[\\]/g,"/")}ie.toPosixPath=toPosixPath;function toWin32Path(re){return re.replace(/[/]/g,"\\")}ie.toWin32Path=toWin32Path;function toPlatformPath(re){return re.replace(/[/\\]/g,ue.sep)}ie.toPlatformPath=toPlatformPath},81327:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};Object.defineProperty(ie,"__esModule",{value:true});ie.summary=ie.markdownSummary=ie.SUMMARY_DOCS_URL=ie.SUMMARY_ENV_VAR=void 0;const ae=oe(22037);const ce=oe(57147);const{access:ue,appendFile:le,writeFile:fe}=ce.promises;ie.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY";ie.SUMMARY_DOCS_URL="https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary";class Summary{constructor(){this._buffer=""}filePath(){return se(this,void 0,void 0,(function*(){if(this._filePath){return this._filePath}const re=process.env[ie.SUMMARY_ENV_VAR];if(!re){throw new Error(`Unable to find environment variable for $${ie.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`)}try{yield ue(re,ce.constants.R_OK|ce.constants.W_OK)}catch(ie){throw new Error(`Unable to access summary file: '${re}'. Check if the file has correct read/write permissions.`)}this._filePath=re;return this._filePath}))}wrap(re,ie,oe={}){const se=Object.entries(oe).map((([re,ie])=>` ${re}="${ie}"`)).join("");if(!ie){return`<${re}${se}>`}return`<${re}${se}>${ie}`}write(re){return se(this,void 0,void 0,(function*(){const ie=!!(re===null||re===void 0?void 0:re.overwrite);const oe=yield this.filePath();const se=ie?fe:le;yield se(oe,this._buffer,{encoding:"utf8"});return this.emptyBuffer()}))}clear(){return se(this,void 0,void 0,(function*(){return this.emptyBuffer().write({overwrite:true})}))}stringify(){return this._buffer}isEmptyBuffer(){return this._buffer.length===0}emptyBuffer(){this._buffer="";return this}addRaw(re,ie=false){this._buffer+=re;return ie?this.addEOL():this}addEOL(){return this.addRaw(ae.EOL)}addCodeBlock(re,ie){const oe=Object.assign({},ie&&{lang:ie});const se=this.wrap("pre",this.wrap("code",re),oe);return this.addRaw(se).addEOL()}addList(re,ie=false){const oe=ie?"ol":"ul";const se=re.map((re=>this.wrap("li",re))).join("");const ae=this.wrap(oe,se);return this.addRaw(ae).addEOL()}addTable(re){const ie=re.map((re=>{const ie=re.map((re=>{if(typeof re==="string"){return this.wrap("td",re)}const{header:ie,data:oe,colspan:se,rowspan:ae}=re;const ce=ie?"th":"td";const ue=Object.assign(Object.assign({},se&&{colspan:se}),ae&&{rowspan:ae});return this.wrap(ce,oe,ue)})).join("");return this.wrap("tr",ie)})).join("");const oe=this.wrap("table",ie);return this.addRaw(oe).addEOL()}addDetails(re,ie){const oe=this.wrap("details",this.wrap("summary",re)+ie);return this.addRaw(oe).addEOL()}addImage(re,ie,oe){const{width:se,height:ae}=oe||{};const ce=Object.assign(Object.assign({},se&&{width:se}),ae&&{height:ae});const ue=this.wrap("img",null,Object.assign({src:re,alt:ie},ce));return this.addRaw(ue).addEOL()}addHeading(re,ie){const oe=`h${ie}`;const se=["h1","h2","h3","h4","h5","h6"].includes(oe)?oe:"h1";const ae=this.wrap(se,re);return this.addRaw(ae).addEOL()}addSeparator(){const re=this.wrap("hr",null);return this.addRaw(re).addEOL()}addBreak(){const re=this.wrap("br",null);return this.addRaw(re).addEOL()}addQuote(re,ie){const oe=Object.assign({},ie&&{cite:ie});const se=this.wrap("blockquote",re,oe);return this.addRaw(se).addEOL()}addLink(re,ie){const oe=this.wrap("a",re,{href:ie});return this.addRaw(oe).addEOL()}}const de=new Summary;ie.markdownSummary=de;ie.summary=de},5278:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.toCommandProperties=ie.toCommandValue=void 0;function toCommandValue(re){if(re===null||re===undefined){return""}else if(typeof re==="string"||re instanceof String){return re}return JSON.stringify(re)}ie.toCommandValue=toCommandValue;function toCommandProperties(re){if(!Object.keys(re).length){return{}}return{title:re.title,file:re.file,line:re.startLine,endLine:re.endLine,col:re.startColumn,endColumn:re.endColumn}}ie.toCommandProperties=toCommandProperties},78974:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});Object.defineProperty(ie,"v1",{enumerable:true,get:function(){return se.default}});Object.defineProperty(ie,"v3",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(ie,"v4",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(ie,"v5",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(ie,"NIL",{enumerable:true,get:function(){return le.default}});Object.defineProperty(ie,"version",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(ie,"validate",{enumerable:true,get:function(){return de.default}});Object.defineProperty(ie,"stringify",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(ie,"parse",{enumerable:true,get:function(){return he.default}});var se=_interopRequireDefault(oe(81595));var ae=_interopRequireDefault(oe(26993));var ce=_interopRequireDefault(oe(51472));var ue=_interopRequireDefault(oe(16217));var le=_interopRequireDefault(oe(32381));var fe=_interopRequireDefault(oe(40427));var de=_interopRequireDefault(oe(92609));var pe=_interopRequireDefault(oe(61458));var he=_interopRequireDefault(oe(26385));function _interopRequireDefault(re){return re&&re.__esModule?re:{default:re}}},5842:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie["default"]=void 0;var se=_interopRequireDefault(oe(6113));function _interopRequireDefault(re){return re&&re.__esModule?re:{default:re}}function md5(re){if(Array.isArray(re)){re=Buffer.from(re)}else if(typeof re==="string"){re=Buffer.from(re,"utf8")}return se.default.createHash("md5").update(re).digest()}var ae=md5;ie["default"]=ae},32381:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie["default"]=void 0;var oe="00000000-0000-0000-0000-000000000000";ie["default"]=oe},26385:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie["default"]=void 0;var se=_interopRequireDefault(oe(92609));function _interopRequireDefault(re){return re&&re.__esModule?re:{default:re}}function parse(re){if(!(0,se.default)(re)){throw TypeError("Invalid UUID")}let ie;const oe=new Uint8Array(16);oe[0]=(ie=parseInt(re.slice(0,8),16))>>>24;oe[1]=ie>>>16&255;oe[2]=ie>>>8&255;oe[3]=ie&255;oe[4]=(ie=parseInt(re.slice(9,13),16))>>>8;oe[5]=ie&255;oe[6]=(ie=parseInt(re.slice(14,18),16))>>>8;oe[7]=ie&255;oe[8]=(ie=parseInt(re.slice(19,23),16))>>>8;oe[9]=ie&255;oe[10]=(ie=parseInt(re.slice(24,36),16))/1099511627776&255;oe[11]=ie/4294967296&255;oe[12]=ie>>>24&255;oe[13]=ie>>>16&255;oe[14]=ie>>>8&255;oe[15]=ie&255;return oe}var ae=parse;ie["default"]=ae},86230:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie["default"]=void 0;var oe=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;ie["default"]=oe},9784:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie["default"]=rng;var se=_interopRequireDefault(oe(6113));function _interopRequireDefault(re){return re&&re.__esModule?re:{default:re}}const ae=new Uint8Array(256);let ce=ae.length;function rng(){if(ce>ae.length-16){se.default.randomFillSync(ae);ce=0}return ae.slice(ce,ce+=16)}},38844:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie["default"]=void 0;var se=_interopRequireDefault(oe(6113));function _interopRequireDefault(re){return re&&re.__esModule?re:{default:re}}function sha1(re){if(Array.isArray(re)){re=Buffer.from(re)}else if(typeof re==="string"){re=Buffer.from(re,"utf8")}return se.default.createHash("sha1").update(re).digest()}var ae=sha1;ie["default"]=ae},61458:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie["default"]=void 0;var se=_interopRequireDefault(oe(92609));function _interopRequireDefault(re){return re&&re.__esModule?re:{default:re}}const ae=[];for(let re=0;re<256;++re){ae.push((re+256).toString(16).substr(1))}function stringify(re,ie=0){const oe=(ae[re[ie+0]]+ae[re[ie+1]]+ae[re[ie+2]]+ae[re[ie+3]]+"-"+ae[re[ie+4]]+ae[re[ie+5]]+"-"+ae[re[ie+6]]+ae[re[ie+7]]+"-"+ae[re[ie+8]]+ae[re[ie+9]]+"-"+ae[re[ie+10]]+ae[re[ie+11]]+ae[re[ie+12]]+ae[re[ie+13]]+ae[re[ie+14]]+ae[re[ie+15]]).toLowerCase();if(!(0,se.default)(oe)){throw TypeError("Stringified UUID is invalid")}return oe}var ce=stringify;ie["default"]=ce},81595:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie["default"]=void 0;var se=_interopRequireDefault(oe(9784));var ae=_interopRequireDefault(oe(61458));function _interopRequireDefault(re){return re&&re.__esModule?re:{default:re}}let ce;let ue;let le=0;let fe=0;function v1(re,ie,oe){let de=ie&&oe||0;const pe=ie||new Array(16);re=re||{};let he=re.node||ce;let Ae=re.clockseq!==undefined?re.clockseq:ue;if(he==null||Ae==null){const ie=re.random||(re.rng||se.default)();if(he==null){he=ce=[ie[0]|1,ie[1],ie[2],ie[3],ie[4],ie[5]]}if(Ae==null){Ae=ue=(ie[6]<<8|ie[7])&16383}}let ge=re.msecs!==undefined?re.msecs:Date.now();let me=re.nsecs!==undefined?re.nsecs:fe+1;const ye=ge-le+(me-fe)/1e4;if(ye<0&&re.clockseq===undefined){Ae=Ae+1&16383}if((ye<0||ge>le)&&re.nsecs===undefined){me=0}if(me>=1e4){throw new Error("uuid.v1(): Can't create more than 10M uuids/sec")}le=ge;fe=me;ue=Ae;ge+=122192928e5;const ve=((ge&268435455)*1e4+me)%4294967296;pe[de++]=ve>>>24&255;pe[de++]=ve>>>16&255;pe[de++]=ve>>>8&255;pe[de++]=ve&255;const be=ge/4294967296*1e4&268435455;pe[de++]=be>>>8&255;pe[de++]=be&255;pe[de++]=be>>>24&15|16;pe[de++]=be>>>16&255;pe[de++]=Ae>>>8|128;pe[de++]=Ae&255;for(let re=0;re<6;++re){pe[de+re]=he[re]}return ie||(0,ae.default)(pe)}var de=v1;ie["default"]=de},26993:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie["default"]=void 0;var se=_interopRequireDefault(oe(65920));var ae=_interopRequireDefault(oe(5842));function _interopRequireDefault(re){return re&&re.__esModule?re:{default:re}}const ce=(0,se.default)("v3",48,ae.default);var ue=ce;ie["default"]=ue},65920:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie["default"]=_default;ie.URL=ie.DNS=void 0;var se=_interopRequireDefault(oe(61458));var ae=_interopRequireDefault(oe(26385));function _interopRequireDefault(re){return re&&re.__esModule?re:{default:re}}function stringToBytes(re){re=unescape(encodeURIComponent(re));const ie=[];for(let oe=0;oe{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie["default"]=void 0;var se=_interopRequireDefault(oe(9784));var ae=_interopRequireDefault(oe(61458));function _interopRequireDefault(re){return re&&re.__esModule?re:{default:re}}function v4(re,ie,oe){re=re||{};const ce=re.random||(re.rng||se.default)();ce[6]=ce[6]&15|64;ce[8]=ce[8]&63|128;if(ie){oe=oe||0;for(let re=0;re<16;++re){ie[oe+re]=ce[re]}return ie}return(0,ae.default)(ce)}var ce=v4;ie["default"]=ce},16217:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie["default"]=void 0;var se=_interopRequireDefault(oe(65920));var ae=_interopRequireDefault(oe(38844));function _interopRequireDefault(re){return re&&re.__esModule?re:{default:re}}const ce=(0,se.default)("v5",80,ae.default);var ue=ce;ie["default"]=ue},92609:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie["default"]=void 0;var se=_interopRequireDefault(oe(86230));function _interopRequireDefault(re){return re&&re.__esModule?re:{default:re}}function validate(re){return typeof re==="string"&&se.default.test(re)}var ae=validate;ie["default"]=ae},40427:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie["default"]=void 0;var se=_interopRequireDefault(oe(92609));function _interopRequireDefault(re){return re&&re.__esModule?re:{default:re}}function version(re){if(!(0,se.default)(re)){throw TypeError("Invalid UUID")}return parseInt(re.substr(14,1),16)}var ae=version;ie["default"]=ae},35526:function(re,ie){"use strict";var oe=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};Object.defineProperty(ie,"__esModule",{value:true});ie.PersonalAccessTokenCredentialHandler=ie.BearerCredentialHandler=ie.BasicCredentialHandler=void 0;class BasicCredentialHandler{constructor(re,ie){this.username=re;this.password=ie}prepareRequest(re){if(!re.headers){throw Error("The request has no headers")}re.headers["Authorization"]=`Basic ${Buffer.from(`${this.username}:${this.password}`).toString("base64")}`}canHandleAuthentication(){return false}handleAuthentication(){return oe(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}ie.BasicCredentialHandler=BasicCredentialHandler;class BearerCredentialHandler{constructor(re){this.token=re}prepareRequest(re){if(!re.headers){throw Error("The request has no headers")}re.headers["Authorization"]=`Bearer ${this.token}`}canHandleAuthentication(){return false}handleAuthentication(){return oe(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}ie.BearerCredentialHandler=BearerCredentialHandler;class PersonalAccessTokenCredentialHandler{constructor(re){this.token=re}prepareRequest(re){if(!re.headers){throw Error("The request has no headers")}re.headers["Authorization"]=`Basic ${Buffer.from(`PAT:${this.token}`).toString("base64")}`}canHandleAuthentication(){return false}handleAuthentication(){return oe(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}ie.PersonalAccessTokenCredentialHandler=PersonalAccessTokenCredentialHandler},96255:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;Object.defineProperty(re,se,{enumerable:true,get:function(){return ie[oe]}})}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};var ue=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};Object.defineProperty(ie,"__esModule",{value:true});ie.HttpClient=ie.isHttps=ie.HttpClientResponse=ie.HttpClientError=ie.getProxyUrl=ie.MediaTypes=ie.Headers=ie.HttpCodes=void 0;const le=ce(oe(13685));const fe=ce(oe(95687));const de=ce(oe(19835));const pe=ce(oe(74294));var he;(function(re){re[re["OK"]=200]="OK";re[re["MultipleChoices"]=300]="MultipleChoices";re[re["MovedPermanently"]=301]="MovedPermanently";re[re["ResourceMoved"]=302]="ResourceMoved";re[re["SeeOther"]=303]="SeeOther";re[re["NotModified"]=304]="NotModified";re[re["UseProxy"]=305]="UseProxy";re[re["SwitchProxy"]=306]="SwitchProxy";re[re["TemporaryRedirect"]=307]="TemporaryRedirect";re[re["PermanentRedirect"]=308]="PermanentRedirect";re[re["BadRequest"]=400]="BadRequest";re[re["Unauthorized"]=401]="Unauthorized";re[re["PaymentRequired"]=402]="PaymentRequired";re[re["Forbidden"]=403]="Forbidden";re[re["NotFound"]=404]="NotFound";re[re["MethodNotAllowed"]=405]="MethodNotAllowed";re[re["NotAcceptable"]=406]="NotAcceptable";re[re["ProxyAuthenticationRequired"]=407]="ProxyAuthenticationRequired";re[re["RequestTimeout"]=408]="RequestTimeout";re[re["Conflict"]=409]="Conflict";re[re["Gone"]=410]="Gone";re[re["TooManyRequests"]=429]="TooManyRequests";re[re["InternalServerError"]=500]="InternalServerError";re[re["NotImplemented"]=501]="NotImplemented";re[re["BadGateway"]=502]="BadGateway";re[re["ServiceUnavailable"]=503]="ServiceUnavailable";re[re["GatewayTimeout"]=504]="GatewayTimeout"})(he=ie.HttpCodes||(ie.HttpCodes={}));var Ae;(function(re){re["Accept"]="accept";re["ContentType"]="content-type"})(Ae=ie.Headers||(ie.Headers={}));var ge;(function(re){re["ApplicationJson"]="application/json"})(ge=ie.MediaTypes||(ie.MediaTypes={}));function getProxyUrl(re){const ie=de.getProxyUrl(new URL(re));return ie?ie.href:""}ie.getProxyUrl=getProxyUrl;const me=[he.MovedPermanently,he.ResourceMoved,he.SeeOther,he.TemporaryRedirect,he.PermanentRedirect];const ye=[he.BadGateway,he.ServiceUnavailable,he.GatewayTimeout];const ve=["OPTIONS","GET","DELETE","HEAD"];const be=10;const we=5;class HttpClientError extends Error{constructor(re,ie){super(re);this.name="HttpClientError";this.statusCode=ie;Object.setPrototypeOf(this,HttpClientError.prototype)}}ie.HttpClientError=HttpClientError;class HttpClientResponse{constructor(re){this.message=re}readBody(){return ue(this,void 0,void 0,(function*(){return new Promise((re=>ue(this,void 0,void 0,(function*(){let ie=Buffer.alloc(0);this.message.on("data",(re=>{ie=Buffer.concat([ie,re])}));this.message.on("end",(()=>{re(ie.toString())}))}))))}))}}ie.HttpClientResponse=HttpClientResponse;function isHttps(re){const ie=new URL(re);return ie.protocol==="https:"}ie.isHttps=isHttps;class HttpClient{constructor(re,ie,oe){this._ignoreSslError=false;this._allowRedirects=true;this._allowRedirectDowngrade=false;this._maxRedirects=50;this._allowRetries=false;this._maxRetries=1;this._keepAlive=false;this._disposed=false;this.userAgent=re;this.handlers=ie||[];this.requestOptions=oe;if(oe){if(oe.ignoreSslError!=null){this._ignoreSslError=oe.ignoreSslError}this._socketTimeout=oe.socketTimeout;if(oe.allowRedirects!=null){this._allowRedirects=oe.allowRedirects}if(oe.allowRedirectDowngrade!=null){this._allowRedirectDowngrade=oe.allowRedirectDowngrade}if(oe.maxRedirects!=null){this._maxRedirects=Math.max(oe.maxRedirects,0)}if(oe.keepAlive!=null){this._keepAlive=oe.keepAlive}if(oe.allowRetries!=null){this._allowRetries=oe.allowRetries}if(oe.maxRetries!=null){this._maxRetries=oe.maxRetries}}}options(re,ie){return ue(this,void 0,void 0,(function*(){return this.request("OPTIONS",re,null,ie||{})}))}get(re,ie){return ue(this,void 0,void 0,(function*(){return this.request("GET",re,null,ie||{})}))}del(re,ie){return ue(this,void 0,void 0,(function*(){return this.request("DELETE",re,null,ie||{})}))}post(re,ie,oe){return ue(this,void 0,void 0,(function*(){return this.request("POST",re,ie,oe||{})}))}patch(re,ie,oe){return ue(this,void 0,void 0,(function*(){return this.request("PATCH",re,ie,oe||{})}))}put(re,ie,oe){return ue(this,void 0,void 0,(function*(){return this.request("PUT",re,ie,oe||{})}))}head(re,ie){return ue(this,void 0,void 0,(function*(){return this.request("HEAD",re,null,ie||{})}))}sendStream(re,ie,oe,se){return ue(this,void 0,void 0,(function*(){return this.request(re,ie,oe,se)}))}getJson(re,ie={}){return ue(this,void 0,void 0,(function*(){ie[Ae.Accept]=this._getExistingOrDefaultHeader(ie,Ae.Accept,ge.ApplicationJson);const oe=yield this.get(re,ie);return this._processResponse(oe,this.requestOptions)}))}postJson(re,ie,oe={}){return ue(this,void 0,void 0,(function*(){const se=JSON.stringify(ie,null,2);oe[Ae.Accept]=this._getExistingOrDefaultHeader(oe,Ae.Accept,ge.ApplicationJson);oe[Ae.ContentType]=this._getExistingOrDefaultHeader(oe,Ae.ContentType,ge.ApplicationJson);const ae=yield this.post(re,se,oe);return this._processResponse(ae,this.requestOptions)}))}putJson(re,ie,oe={}){return ue(this,void 0,void 0,(function*(){const se=JSON.stringify(ie,null,2);oe[Ae.Accept]=this._getExistingOrDefaultHeader(oe,Ae.Accept,ge.ApplicationJson);oe[Ae.ContentType]=this._getExistingOrDefaultHeader(oe,Ae.ContentType,ge.ApplicationJson);const ae=yield this.put(re,se,oe);return this._processResponse(ae,this.requestOptions)}))}patchJson(re,ie,oe={}){return ue(this,void 0,void 0,(function*(){const se=JSON.stringify(ie,null,2);oe[Ae.Accept]=this._getExistingOrDefaultHeader(oe,Ae.Accept,ge.ApplicationJson);oe[Ae.ContentType]=this._getExistingOrDefaultHeader(oe,Ae.ContentType,ge.ApplicationJson);const ae=yield this.patch(re,se,oe);return this._processResponse(ae,this.requestOptions)}))}request(re,ie,oe,se){return ue(this,void 0,void 0,(function*(){if(this._disposed){throw new Error("Client has already been disposed.")}const ae=new URL(ie);let ce=this._prepareRequest(re,ae,se);const ue=this._allowRetries&&ve.includes(re)?this._maxRetries+1:1;let le=0;let fe;do{fe=yield this.requestRaw(ce,oe);if(fe&&fe.message&&fe.message.statusCode===he.Unauthorized){let re;for(const ie of this.handlers){if(ie.canHandleAuthentication(fe)){re=ie;break}}if(re){return re.handleAuthentication(this,ce,oe)}else{return fe}}let ie=this._maxRedirects;while(fe.message.statusCode&&me.includes(fe.message.statusCode)&&this._allowRedirects&&ie>0){const ue=fe.message.headers["location"];if(!ue){break}const le=new URL(ue);if(ae.protocol==="https:"&&ae.protocol!==le.protocol&&!this._allowRedirectDowngrade){throw new Error("Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.")}yield fe.readBody();if(le.hostname!==ae.hostname){for(const re in se){if(re.toLowerCase()==="authorization"){delete se[re]}}}ce=this._prepareRequest(re,le,se);fe=yield this.requestRaw(ce,oe);ie--}if(!fe.message.statusCode||!ye.includes(fe.message.statusCode)){return fe}le+=1;if(le{function callbackForResult(re,ie){if(re){se(re)}else if(!ie){se(new Error("Unknown error"))}else{oe(ie)}}this.requestRawWithCallback(re,ie,callbackForResult)}))}))}requestRawWithCallback(re,ie,oe){if(typeof ie==="string"){if(!re.options.headers){re.options.headers={}}re.options.headers["Content-Length"]=Buffer.byteLength(ie,"utf8")}let se=false;function handleResult(re,ie){if(!se){se=true;oe(re,ie)}}const ae=re.httpModule.request(re.options,(re=>{const ie=new HttpClientResponse(re);handleResult(undefined,ie)}));let ce;ae.on("socket",(re=>{ce=re}));ae.setTimeout(this._socketTimeout||3*6e4,(()=>{if(ce){ce.end()}handleResult(new Error(`Request timeout: ${re.options.path}`))}));ae.on("error",(function(re){handleResult(re)}));if(ie&&typeof ie==="string"){ae.write(ie,"utf8")}if(ie&&typeof ie!=="string"){ie.on("close",(function(){ae.end()}));ie.pipe(ae)}else{ae.end()}}getAgent(re){const ie=new URL(re);return this._getAgent(ie)}_prepareRequest(re,ie,oe){const se={};se.parsedUrl=ie;const ae=se.parsedUrl.protocol==="https:";se.httpModule=ae?fe:le;const ce=ae?443:80;se.options={};se.options.host=se.parsedUrl.hostname;se.options.port=se.parsedUrl.port?parseInt(se.parsedUrl.port):ce;se.options.path=(se.parsedUrl.pathname||"")+(se.parsedUrl.search||"");se.options.method=re;se.options.headers=this._mergeHeaders(oe);if(this.userAgent!=null){se.options.headers["user-agent"]=this.userAgent}se.options.agent=this._getAgent(se.parsedUrl);if(this.handlers){for(const re of this.handlers){re.prepareRequest(se.options)}}return se}_mergeHeaders(re){if(this.requestOptions&&this.requestOptions.headers){return Object.assign({},lowercaseKeys(this.requestOptions.headers),lowercaseKeys(re||{}))}return lowercaseKeys(re||{})}_getExistingOrDefaultHeader(re,ie,oe){let se;if(this.requestOptions&&this.requestOptions.headers){se=lowercaseKeys(this.requestOptions.headers)[ie]}return re[ie]||se||oe}_getAgent(re){let ie;const oe=de.getProxyUrl(re);const se=oe&&oe.hostname;if(this._keepAlive&&se){ie=this._proxyAgent}if(this._keepAlive&&!se){ie=this._agent}if(ie){return ie}const ae=re.protocol==="https:";let ce=100;if(this.requestOptions){ce=this.requestOptions.maxSockets||le.globalAgent.maxSockets}if(oe&&oe.hostname){const re={maxSockets:ce,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(oe.username||oe.password)&&{proxyAuth:`${oe.username}:${oe.password}`}),{host:oe.hostname,port:oe.port})};let se;const ue=oe.protocol==="https:";if(ae){se=ue?pe.httpsOverHttps:pe.httpsOverHttp}else{se=ue?pe.httpOverHttps:pe.httpOverHttp}ie=se(re);this._proxyAgent=ie}if(this._keepAlive&&!ie){const re={keepAlive:this._keepAlive,maxSockets:ce};ie=ae?new fe.Agent(re):new le.Agent(re);this._agent=ie}if(!ie){ie=ae?fe.globalAgent:le.globalAgent}if(ae&&this._ignoreSslError){ie.options=Object.assign(ie.options||{},{rejectUnauthorized:false})}return ie}_performExponentialBackoff(re){return ue(this,void 0,void 0,(function*(){re=Math.min(be,re);const ie=we*Math.pow(2,re);return new Promise((re=>setTimeout((()=>re()),ie)))}))}_processResponse(re,ie){return ue(this,void 0,void 0,(function*(){return new Promise(((oe,se)=>ue(this,void 0,void 0,(function*(){const ae=re.message.statusCode||0;const ce={statusCode:ae,result:null,headers:{}};if(ae===he.NotFound){oe(ce)}function dateTimeDeserializer(re,ie){if(typeof ie==="string"){const re=new Date(ie);if(!isNaN(re.valueOf())){return re}}return ie}let ue;let le;try{le=yield re.readBody();if(le&&le.length>0){if(ie&&ie.deserializeDates){ue=JSON.parse(le,dateTimeDeserializer)}else{ue=JSON.parse(le)}ce.result=ue}ce.headers=re.message.headers}catch(re){}if(ae>299){let re;if(ue&&ue.message){re=ue.message}else if(le&&le.length>0){re=le}else{re=`Failed request: (${ae})`}const ie=new HttpClientError(re,ae);ie.result=ce.result;se(ie)}else{oe(ce)}}))))}))}}ie.HttpClient=HttpClient;const lowercaseKeys=re=>Object.keys(re).reduce(((ie,oe)=>(ie[oe.toLowerCase()]=re[oe],ie)),{})},19835:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.checkBypass=ie.getProxyUrl=void 0;function getProxyUrl(re){const ie=re.protocol==="https:";if(checkBypass(re)){return undefined}const oe=(()=>{if(ie){return process.env["https_proxy"]||process.env["HTTPS_PROXY"]}else{return process.env["http_proxy"]||process.env["HTTP_PROXY"]}})();if(oe){return new URL(oe)}else{return undefined}}ie.getProxyUrl=getProxyUrl;function checkBypass(re){if(!re.hostname){return false}const ie=process.env["no_proxy"]||process.env["NO_PROXY"]||"";if(!ie){return false}let oe;if(re.port){oe=Number(re.port)}else if(re.protocol==="http:"){oe=80}else if(re.protocol==="https:"){oe=443}const se=[re.hostname.toUpperCase()];if(typeof oe==="number"){se.push(`${se[0]}:${oe}`)}for(const re of ie.split(",").map((re=>re.trim().toUpperCase())).filter((re=>re))){if(se.some((ie=>ie===re))){return true}}return false}ie.checkBypass=checkBypass},67284:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.Attribute=void 0;const se=oe(53006);const ae=oe(53499);class Attribute{constructor(re={}){this.attrType="";this.attrValues=[];Object.assign(this,re)}}ie.Attribute=Attribute;se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.ObjectIdentifier})],Attribute.prototype,"attrType",void 0);se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.Any,repeated:"set"})],Attribute.prototype,"attrValues",void 0)},71061:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.CounterSignature=ie.SigningTime=void 0;const se=oe(53006);const ae=oe(53499);const ce=oe(82288);const ue=oe(46959);let le=class SigningTime extends ce.Time{};le=se.__decorate([(0,ae.AsnType)({type:ae.AsnTypeTypes.Choice})],le);ie.SigningTime=le;let fe=class CounterSignature extends ue.SignerInfo{};fe=se.__decorate([(0,ae.AsnType)({type:ae.AsnTypeTypes.Sequence})],fe);ie.CounterSignature=fe},1093:(re,ie,oe)=>{"use strict";var se;Object.defineProperty(ie,"__esModule",{value:true});ie.CertificateSet=ie.CertificateChoices=ie.OtherCertificateFormat=void 0;const ae=oe(53006);const ce=oe(53499);const ue=oe(82288);const le=oe(64263);class OtherCertificateFormat{constructor(re={}){this.otherCertFormat="";this.otherCert=new ArrayBuffer(0);Object.assign(this,re)}}ie.OtherCertificateFormat=OtherCertificateFormat;ae.__decorate([(0,ce.AsnProp)({type:ce.AsnPropTypes.ObjectIdentifier})],OtherCertificateFormat.prototype,"otherCertFormat",void 0);ae.__decorate([(0,ce.AsnProp)({type:ce.AsnPropTypes.Any})],OtherCertificateFormat.prototype,"otherCert",void 0);let fe=class CertificateChoices{constructor(re={}){Object.assign(this,re)}};ie.CertificateChoices=fe;ae.__decorate([(0,ce.AsnProp)({type:ue.Certificate})],fe.prototype,"certificate",void 0);ae.__decorate([(0,ce.AsnProp)({type:le.AttributeCertificate,context:2,implicit:true})],fe.prototype,"v2AttrCert",void 0);ae.__decorate([(0,ce.AsnProp)({type:OtherCertificateFormat,context:3,implicit:true})],fe.prototype,"other",void 0);ie.CertificateChoices=fe=ae.__decorate([(0,ce.AsnType)({type:ce.AsnTypeTypes.Choice})],fe);let de=se=class CertificateSet extends ce.AsnArray{constructor(re){super(re);Object.setPrototypeOf(this,se.prototype)}};ie.CertificateSet=de;ie.CertificateSet=de=se=ae.__decorate([(0,ce.AsnType)({type:ce.AsnTypeTypes.Set,itemType:fe})],de)},69207:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.ContentInfo=void 0;const se=oe(53006);const ae=oe(53499);class ContentInfo{constructor(re={}){this.contentType="";this.content=new ArrayBuffer(0);Object.assign(this,re)}}ie.ContentInfo=ContentInfo;se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.ObjectIdentifier})],ContentInfo.prototype,"contentType",void 0);se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.Any,context:0})],ContentInfo.prototype,"content",void 0)},21377:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.EncapsulatedContentInfo=ie.EncapsulatedContent=void 0;const se=oe(53006);const ae=oe(53499);let ce=class EncapsulatedContent{constructor(re={}){Object.assign(this,re)}};ie.EncapsulatedContent=ce;se.__decorate([(0,ae.AsnProp)({type:ae.OctetString})],ce.prototype,"single",void 0);se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.Any})],ce.prototype,"any",void 0);ie.EncapsulatedContent=ce=se.__decorate([(0,ae.AsnType)({type:ae.AsnTypeTypes.Choice})],ce);class EncapsulatedContentInfo{constructor(re={}){this.eContentType="";Object.assign(this,re)}}ie.EncapsulatedContentInfo=EncapsulatedContentInfo;se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.ObjectIdentifier})],EncapsulatedContentInfo.prototype,"eContentType",void 0);se.__decorate([(0,ae.AsnProp)({type:ce,context:0,optional:true})],EncapsulatedContentInfo.prototype,"eContent",void 0)},38800:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.EncryptedContentInfo=ie.EncryptedContent=void 0;const se=oe(53006);const ae=oe(53499);const ce=oe(67119);let ue=class EncryptedContent{constructor(re={}){Object.assign(this,re)}};ie.EncryptedContent=ue;se.__decorate([(0,ae.AsnProp)({type:ae.OctetString,context:0,implicit:true,optional:true})],ue.prototype,"value",void 0);se.__decorate([(0,ae.AsnProp)({type:ae.OctetString,converter:ae.AsnConstructedOctetStringConverter,context:0,implicit:true,optional:true,repeated:"sequence"})],ue.prototype,"constructedValue",void 0);ie.EncryptedContent=ue=se.__decorate([(0,ae.AsnType)({type:ae.AsnTypeTypes.Choice})],ue);class EncryptedContentInfo{constructor(re={}){this.contentType="";this.contentEncryptionAlgorithm=new ce.ContentEncryptionAlgorithmIdentifier;Object.assign(this,re)}}ie.EncryptedContentInfo=EncryptedContentInfo;se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.ObjectIdentifier})],EncryptedContentInfo.prototype,"contentType",void 0);se.__decorate([(0,ae.AsnProp)({type:ce.ContentEncryptionAlgorithmIdentifier})],EncryptedContentInfo.prototype,"contentEncryptionAlgorithm",void 0);se.__decorate([(0,ae.AsnProp)({type:ue,optional:true})],EncryptedContentInfo.prototype,"encryptedContent",void 0)},33333:(re,ie,oe)=>{"use strict";var se;Object.defineProperty(ie,"__esModule",{value:true});ie.EnvelopedData=ie.UnprotectedAttributes=void 0;const ae=oe(53006);const ce=oe(53499);const ue=oe(67119);const le=oe(67284);const fe=oe(64604);const de=oe(42834);const pe=oe(38800);let he=se=class UnprotectedAttributes extends ce.AsnArray{constructor(re){super(re);Object.setPrototypeOf(this,se.prototype)}};ie.UnprotectedAttributes=he;ie.UnprotectedAttributes=he=se=ae.__decorate([(0,ce.AsnType)({type:ce.AsnTypeTypes.Set,itemType:le.Attribute})],he);class EnvelopedData{constructor(re={}){this.version=ue.CMSVersion.v0;this.recipientInfos=new fe.RecipientInfos;this.encryptedContentInfo=new pe.EncryptedContentInfo;Object.assign(this,re)}}ie.EnvelopedData=EnvelopedData;ae.__decorate([(0,ce.AsnProp)({type:ce.AsnPropTypes.Integer})],EnvelopedData.prototype,"version",void 0);ae.__decorate([(0,ce.AsnProp)({type:de.OriginatorInfo,context:0,implicit:true,optional:true})],EnvelopedData.prototype,"originatorInfo",void 0);ae.__decorate([(0,ce.AsnProp)({type:fe.RecipientInfos})],EnvelopedData.prototype,"recipientInfos",void 0);ae.__decorate([(0,ce.AsnProp)({type:pe.EncryptedContentInfo})],EnvelopedData.prototype,"encryptedContentInfo",void 0);ae.__decorate([(0,ce.AsnProp)({type:he,context:1,implicit:true,optional:true})],EnvelopedData.prototype,"unprotectedAttrs",void 0)},65813:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(53006);se.__exportStar(oe(71061),ie);se.__exportStar(oe(67284),ie);se.__exportStar(oe(1093),ie);se.__exportStar(oe(69207),ie);se.__exportStar(oe(21377),ie);se.__exportStar(oe(38800),ie);se.__exportStar(oe(33333),ie);se.__exportStar(oe(40995),ie);se.__exportStar(oe(19614),ie);se.__exportStar(oe(8479),ie);se.__exportStar(oe(31666),ie);se.__exportStar(oe(43027),ie);se.__exportStar(oe(42834),ie);se.__exportStar(oe(53059),ie);se.__exportStar(oe(68084),ie);se.__exportStar(oe(64604),ie);se.__exportStar(oe(47678),ie);se.__exportStar(oe(98895),ie);se.__exportStar(oe(41200),ie);se.__exportStar(oe(46959),ie);se.__exportStar(oe(67119),ie)},40995:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.IssuerAndSerialNumber=void 0;const se=oe(53006);const ae=oe(53499);const ce=oe(82288);class IssuerAndSerialNumber{constructor(re={}){this.issuer=new ce.Name;this.serialNumber=new ArrayBuffer(0);Object.assign(this,re)}}ie.IssuerAndSerialNumber=IssuerAndSerialNumber;se.__decorate([(0,ae.AsnProp)({type:ce.Name})],IssuerAndSerialNumber.prototype,"issuer",void 0);se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.Integer,converter:ae.AsnIntegerArrayBufferConverter})],IssuerAndSerialNumber.prototype,"serialNumber",void 0)},19614:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.KEKRecipientInfo=ie.KEKIdentifier=void 0;const se=oe(53006);const ae=oe(53499);const ce=oe(35070);const ue=oe(67119);class KEKIdentifier{constructor(re={}){this.keyIdentifier=new ae.OctetString;Object.assign(this,re)}}ie.KEKIdentifier=KEKIdentifier;se.__decorate([(0,ae.AsnProp)({type:ae.OctetString})],KEKIdentifier.prototype,"keyIdentifier",void 0);se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.GeneralizedTime,optional:true})],KEKIdentifier.prototype,"date",void 0);se.__decorate([(0,ae.AsnProp)({type:ce.OtherKeyAttribute,optional:true})],KEKIdentifier.prototype,"other",void 0);class KEKRecipientInfo{constructor(re={}){this.version=ue.CMSVersion.v4;this.kekid=new KEKIdentifier;this.keyEncryptionAlgorithm=new ue.KeyEncryptionAlgorithmIdentifier;this.encryptedKey=new ae.OctetString;Object.assign(this,re)}}ie.KEKRecipientInfo=KEKRecipientInfo;se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.Integer})],KEKRecipientInfo.prototype,"version",void 0);se.__decorate([(0,ae.AsnProp)({type:KEKIdentifier})],KEKRecipientInfo.prototype,"kekid",void 0);se.__decorate([(0,ae.AsnProp)({type:ue.KeyEncryptionAlgorithmIdentifier})],KEKRecipientInfo.prototype,"keyEncryptionAlgorithm",void 0);se.__decorate([(0,ae.AsnProp)({type:ae.OctetString})],KEKRecipientInfo.prototype,"encryptedKey",void 0)},8479:(re,ie,oe)=>{"use strict";var se;Object.defineProperty(ie,"__esModule",{value:true});ie.KeyAgreeRecipientInfo=ie.OriginatorIdentifierOrKey=ie.OriginatorPublicKey=ie.RecipientEncryptedKeys=ie.RecipientEncryptedKey=ie.KeyAgreeRecipientIdentifier=ie.RecipientKeyIdentifier=void 0;const ae=oe(53006);const ce=oe(53499);const ue=oe(67119);const le=oe(40995);const fe=oe(82288);const de=oe(35070);class RecipientKeyIdentifier{constructor(re={}){this.subjectKeyIdentifier=new fe.SubjectKeyIdentifier;Object.assign(this,re)}}ie.RecipientKeyIdentifier=RecipientKeyIdentifier;ae.__decorate([(0,ce.AsnProp)({type:fe.SubjectKeyIdentifier})],RecipientKeyIdentifier.prototype,"subjectKeyIdentifier",void 0);ae.__decorate([(0,ce.AsnProp)({type:ce.AsnPropTypes.GeneralizedTime,optional:true})],RecipientKeyIdentifier.prototype,"date",void 0);ae.__decorate([(0,ce.AsnProp)({type:de.OtherKeyAttribute,optional:true})],RecipientKeyIdentifier.prototype,"other",void 0);let pe=class KeyAgreeRecipientIdentifier{constructor(re={}){Object.assign(this,re)}};ie.KeyAgreeRecipientIdentifier=pe;ae.__decorate([(0,ce.AsnProp)({type:RecipientKeyIdentifier,context:0,implicit:true,optional:true})],pe.prototype,"rKeyId",void 0);ae.__decorate([(0,ce.AsnProp)({type:le.IssuerAndSerialNumber,optional:true})],pe.prototype,"issuerAndSerialNumber",void 0);ie.KeyAgreeRecipientIdentifier=pe=ae.__decorate([(0,ce.AsnType)({type:ce.AsnTypeTypes.Choice})],pe);class RecipientEncryptedKey{constructor(re={}){this.rid=new pe;this.encryptedKey=new ce.OctetString;Object.assign(this,re)}}ie.RecipientEncryptedKey=RecipientEncryptedKey;ae.__decorate([(0,ce.AsnProp)({type:pe})],RecipientEncryptedKey.prototype,"rid",void 0);ae.__decorate([(0,ce.AsnProp)({type:ce.OctetString})],RecipientEncryptedKey.prototype,"encryptedKey",void 0);let he=se=class RecipientEncryptedKeys extends ce.AsnArray{constructor(re){super(re);Object.setPrototypeOf(this,se.prototype)}};ie.RecipientEncryptedKeys=he;ie.RecipientEncryptedKeys=he=se=ae.__decorate([(0,ce.AsnType)({type:ce.AsnTypeTypes.Sequence,itemType:RecipientEncryptedKey})],he);class OriginatorPublicKey{constructor(re={}){this.algorithm=new fe.AlgorithmIdentifier;this.publicKey=new ArrayBuffer(0);Object.assign(this,re)}}ie.OriginatorPublicKey=OriginatorPublicKey;ae.__decorate([(0,ce.AsnProp)({type:fe.AlgorithmIdentifier})],OriginatorPublicKey.prototype,"algorithm",void 0);ae.__decorate([(0,ce.AsnProp)({type:ce.AsnPropTypes.BitString})],OriginatorPublicKey.prototype,"publicKey",void 0);let Ae=class OriginatorIdentifierOrKey{constructor(re={}){Object.assign(this,re)}};ie.OriginatorIdentifierOrKey=Ae;ae.__decorate([(0,ce.AsnProp)({type:fe.SubjectKeyIdentifier,context:0,implicit:true,optional:true})],Ae.prototype,"subjectKeyIdentifier",void 0);ae.__decorate([(0,ce.AsnProp)({type:OriginatorPublicKey,context:1,implicit:true,optional:true})],Ae.prototype,"originatorKey",void 0);ae.__decorate([(0,ce.AsnProp)({type:le.IssuerAndSerialNumber,optional:true})],Ae.prototype,"issuerAndSerialNumber",void 0);ie.OriginatorIdentifierOrKey=Ae=ae.__decorate([(0,ce.AsnType)({type:ce.AsnTypeTypes.Choice})],Ae);class KeyAgreeRecipientInfo{constructor(re={}){this.version=ue.CMSVersion.v3;this.originator=new Ae;this.keyEncryptionAlgorithm=new ue.KeyEncryptionAlgorithmIdentifier;this.recipientEncryptedKeys=new he;Object.assign(this,re)}}ie.KeyAgreeRecipientInfo=KeyAgreeRecipientInfo;ae.__decorate([(0,ce.AsnProp)({type:ce.AsnPropTypes.Integer})],KeyAgreeRecipientInfo.prototype,"version",void 0);ae.__decorate([(0,ce.AsnProp)({type:Ae,context:0})],KeyAgreeRecipientInfo.prototype,"originator",void 0);ae.__decorate([(0,ce.AsnProp)({type:ce.OctetString,context:1,optional:true})],KeyAgreeRecipientInfo.prototype,"ukm",void 0);ae.__decorate([(0,ce.AsnProp)({type:ue.KeyEncryptionAlgorithmIdentifier})],KeyAgreeRecipientInfo.prototype,"keyEncryptionAlgorithm",void 0);ae.__decorate([(0,ce.AsnProp)({type:he})],KeyAgreeRecipientInfo.prototype,"recipientEncryptedKeys",void 0)},31666:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.KeyTransRecipientInfo=ie.RecipientIdentifier=void 0;const se=oe(53006);const ae=oe(53499);const ce=oe(67119);const ue=oe(40995);const le=oe(82288);let fe=class RecipientIdentifier{constructor(re={}){Object.assign(this,re)}};ie.RecipientIdentifier=fe;se.__decorate([(0,ae.AsnProp)({type:le.SubjectKeyIdentifier,context:0,implicit:true})],fe.prototype,"subjectKeyIdentifier",void 0);se.__decorate([(0,ae.AsnProp)({type:ue.IssuerAndSerialNumber})],fe.prototype,"issuerAndSerialNumber",void 0);ie.RecipientIdentifier=fe=se.__decorate([(0,ae.AsnType)({type:ae.AsnTypeTypes.Choice})],fe);class KeyTransRecipientInfo{constructor(re={}){this.version=ce.CMSVersion.v0;this.rid=new fe;this.keyEncryptionAlgorithm=new ce.KeyEncryptionAlgorithmIdentifier;this.encryptedKey=new ae.OctetString;Object.assign(this,re)}}ie.KeyTransRecipientInfo=KeyTransRecipientInfo;se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.Integer})],KeyTransRecipientInfo.prototype,"version",void 0);se.__decorate([(0,ae.AsnProp)({type:fe})],KeyTransRecipientInfo.prototype,"rid",void 0);se.__decorate([(0,ae.AsnProp)({type:ce.KeyEncryptionAlgorithmIdentifier})],KeyTransRecipientInfo.prototype,"keyEncryptionAlgorithm",void 0);se.__decorate([(0,ae.AsnProp)({type:ae.OctetString})],KeyTransRecipientInfo.prototype,"encryptedKey",void 0)},43027:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.id_authData=ie.id_encryptedData=ie.id_digestedData=ie.id_envelopedData=ie.id_signedData=ie.id_data=ie.id_ct_contentInfo=void 0;ie.id_ct_contentInfo="1.2.840.113549.1.9.16.1.6";ie.id_data="1.2.840.113549.1.7.1";ie.id_signedData="1.2.840.113549.1.7.2";ie.id_envelopedData="1.2.840.113549.1.7.3";ie.id_digestedData="1.2.840.113549.1.7.5";ie.id_encryptedData="1.2.840.113549.1.7.6";ie.id_authData="1.2.840.113549.1.9.16.1.2"},42834:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.OriginatorInfo=void 0;const se=oe(53006);const ae=oe(53499);const ce=oe(1093);const ue=oe(47678);class OriginatorInfo{constructor(re={}){Object.assign(this,re)}}ie.OriginatorInfo=OriginatorInfo;se.__decorate([(0,ae.AsnProp)({type:ce.CertificateSet,context:0,implicit:true,optional:true})],OriginatorInfo.prototype,"certs",void 0);se.__decorate([(0,ae.AsnProp)({type:ue.RevocationInfoChoices,context:1,implicit:true,optional:true})],OriginatorInfo.prototype,"crls",void 0)},35070:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.OtherKeyAttribute=void 0;const se=oe(53006);const ae=oe(53499);class OtherKeyAttribute{constructor(re={}){this.keyAttrId="";Object.assign(this,re)}}ie.OtherKeyAttribute=OtherKeyAttribute;se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.ObjectIdentifier})],OtherKeyAttribute.prototype,"keyAttrId",void 0);se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.Any,optional:true})],OtherKeyAttribute.prototype,"keyAttr",void 0)},53059:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.PasswordRecipientInfo=void 0;const se=oe(53006);const ae=oe(53499);const ce=oe(67119);class PasswordRecipientInfo{constructor(re={}){this.version=ce.CMSVersion.v0;this.keyEncryptionAlgorithm=new ce.KeyEncryptionAlgorithmIdentifier;this.encryptedKey=new ae.OctetString;Object.assign(this,re)}}ie.PasswordRecipientInfo=PasswordRecipientInfo;se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.Integer})],PasswordRecipientInfo.prototype,"version",void 0);se.__decorate([(0,ae.AsnProp)({type:ce.KeyDerivationAlgorithmIdentifier,context:0,optional:true})],PasswordRecipientInfo.prototype,"keyDerivationAlgorithm",void 0);se.__decorate([(0,ae.AsnProp)({type:ce.KeyEncryptionAlgorithmIdentifier})],PasswordRecipientInfo.prototype,"keyEncryptionAlgorithm",void 0);se.__decorate([(0,ae.AsnProp)({type:ae.OctetString})],PasswordRecipientInfo.prototype,"encryptedKey",void 0)},68084:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.RecipientInfo=ie.OtherRecipientInfo=void 0;const se=oe(53006);const ae=oe(53499);const ce=oe(8479);const ue=oe(31666);const le=oe(19614);const fe=oe(53059);class OtherRecipientInfo{constructor(re={}){this.oriType="";this.oriValue=new ArrayBuffer(0);Object.assign(this,re)}}ie.OtherRecipientInfo=OtherRecipientInfo;se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.ObjectIdentifier})],OtherRecipientInfo.prototype,"oriType",void 0);se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.Any})],OtherRecipientInfo.prototype,"oriValue",void 0);let de=class RecipientInfo{constructor(re={}){Object.assign(this,re)}};ie.RecipientInfo=de;se.__decorate([(0,ae.AsnProp)({type:ue.KeyTransRecipientInfo,optional:true})],de.prototype,"ktri",void 0);se.__decorate([(0,ae.AsnProp)({type:ce.KeyAgreeRecipientInfo,context:1,implicit:true,optional:true})],de.prototype,"kari",void 0);se.__decorate([(0,ae.AsnProp)({type:le.KEKRecipientInfo,context:2,implicit:true,optional:true})],de.prototype,"kekri",void 0);se.__decorate([(0,ae.AsnProp)({type:fe.PasswordRecipientInfo,context:3,implicit:true,optional:true})],de.prototype,"pwri",void 0);se.__decorate([(0,ae.AsnProp)({type:OtherRecipientInfo,context:4,implicit:true,optional:true})],de.prototype,"ori",void 0);ie.RecipientInfo=de=se.__decorate([(0,ae.AsnType)({type:ae.AsnTypeTypes.Choice})],de)},64604:(re,ie,oe)=>{"use strict";var se;Object.defineProperty(ie,"__esModule",{value:true});ie.RecipientInfos=void 0;const ae=oe(53006);const ce=oe(53499);const ue=oe(68084);let le=se=class RecipientInfos extends ce.AsnArray{constructor(re){super(re);Object.setPrototypeOf(this,se.prototype)}};ie.RecipientInfos=le;ie.RecipientInfos=le=se=ae.__decorate([(0,ce.AsnType)({type:ce.AsnTypeTypes.Set,itemType:ue.RecipientInfo})],le)},47678:(re,ie,oe)=>{"use strict";var se;Object.defineProperty(ie,"__esModule",{value:true});ie.RevocationInfoChoices=ie.RevocationInfoChoice=ie.OtherRevocationInfoFormat=ie.id_ri_scvp=ie.id_ri_ocsp_response=ie.id_ri=void 0;const ae=oe(53006);const ce=oe(53499);const ue=oe(82288);ie.id_ri=`${ue.id_pkix}.16`;ie.id_ri_ocsp_response=`${ie.id_ri}.2`;ie.id_ri_scvp=`${ie.id_ri}.4`;class OtherRevocationInfoFormat{constructor(re={}){this.otherRevInfoFormat="";this.otherRevInfo=new ArrayBuffer(0);Object.assign(this,re)}}ie.OtherRevocationInfoFormat=OtherRevocationInfoFormat;ae.__decorate([(0,ce.AsnProp)({type:ce.AsnPropTypes.ObjectIdentifier})],OtherRevocationInfoFormat.prototype,"otherRevInfoFormat",void 0);ae.__decorate([(0,ce.AsnProp)({type:ce.AsnPropTypes.Any})],OtherRevocationInfoFormat.prototype,"otherRevInfo",void 0);let le=class RevocationInfoChoice{constructor(re={}){this.other=new OtherRevocationInfoFormat;Object.assign(this,re)}};ie.RevocationInfoChoice=le;ae.__decorate([(0,ce.AsnProp)({type:OtherRevocationInfoFormat,context:1,implicit:true})],le.prototype,"other",void 0);ie.RevocationInfoChoice=le=ae.__decorate([(0,ce.AsnType)({type:ce.AsnTypeTypes.Choice})],le);let fe=se=class RevocationInfoChoices extends ce.AsnArray{constructor(re){super(re);Object.setPrototypeOf(this,se.prototype)}};ie.RevocationInfoChoices=fe;ie.RevocationInfoChoices=fe=se=ae.__decorate([(0,ce.AsnType)({type:ce.AsnTypeTypes.Set,itemType:le})],fe)},98895:(re,ie,oe)=>{"use strict";var se;Object.defineProperty(ie,"__esModule",{value:true});ie.SignedData=ie.DigestAlgorithmIdentifiers=void 0;const ae=oe(53006);const ce=oe(53499);const ue=oe(1093);const le=oe(67119);const fe=oe(21377);const de=oe(47678);const pe=oe(46959);let he=se=class DigestAlgorithmIdentifiers extends ce.AsnArray{constructor(re){super(re);Object.setPrototypeOf(this,se.prototype)}};ie.DigestAlgorithmIdentifiers=he;ie.DigestAlgorithmIdentifiers=he=se=ae.__decorate([(0,ce.AsnType)({type:ce.AsnTypeTypes.Set,itemType:le.DigestAlgorithmIdentifier})],he);class SignedData{constructor(re={}){this.version=le.CMSVersion.v0;this.digestAlgorithms=new he;this.encapContentInfo=new fe.EncapsulatedContentInfo;this.signerInfos=new pe.SignerInfos;Object.assign(this,re)}}ie.SignedData=SignedData;ae.__decorate([(0,ce.AsnProp)({type:ce.AsnPropTypes.Integer})],SignedData.prototype,"version",void 0);ae.__decorate([(0,ce.AsnProp)({type:he})],SignedData.prototype,"digestAlgorithms",void 0);ae.__decorate([(0,ce.AsnProp)({type:fe.EncapsulatedContentInfo})],SignedData.prototype,"encapContentInfo",void 0);ae.__decorate([(0,ce.AsnProp)({type:ue.CertificateSet,context:0,implicit:true,optional:true})],SignedData.prototype,"certificates",void 0);ae.__decorate([(0,ce.AsnProp)({type:de.RevocationInfoChoices,context:1,implicit:true,optional:true})],SignedData.prototype,"crls",void 0);ae.__decorate([(0,ce.AsnProp)({type:pe.SignerInfos})],SignedData.prototype,"signerInfos",void 0)},41200:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.SignerIdentifier=void 0;const se=oe(53006);const ae=oe(53499);const ce=oe(40995);const ue=oe(82288);let le=class SignerIdentifier{constructor(re={}){Object.assign(this,re)}};ie.SignerIdentifier=le;se.__decorate([(0,ae.AsnProp)({type:ue.SubjectKeyIdentifier,context:0,implicit:true})],le.prototype,"subjectKeyIdentifier",void 0);se.__decorate([(0,ae.AsnProp)({type:ce.IssuerAndSerialNumber})],le.prototype,"issuerAndSerialNumber",void 0);ie.SignerIdentifier=le=se.__decorate([(0,ae.AsnType)({type:ae.AsnTypeTypes.Choice})],le)},46959:(re,ie,oe)=>{"use strict";var se;Object.defineProperty(ie,"__esModule",{value:true});ie.SignerInfos=ie.SignerInfo=void 0;const ae=oe(53006);const ce=oe(53499);const ue=oe(41200);const le=oe(67119);const fe=oe(67284);class SignerInfo{constructor(re={}){this.version=le.CMSVersion.v0;this.sid=new ue.SignerIdentifier;this.digestAlgorithm=new le.DigestAlgorithmIdentifier;this.signatureAlgorithm=new le.SignatureAlgorithmIdentifier;this.signature=new ce.OctetString;Object.assign(this,re)}}ie.SignerInfo=SignerInfo;ae.__decorate([(0,ce.AsnProp)({type:ce.AsnPropTypes.Integer})],SignerInfo.prototype,"version",void 0);ae.__decorate([(0,ce.AsnProp)({type:ue.SignerIdentifier})],SignerInfo.prototype,"sid",void 0);ae.__decorate([(0,ce.AsnProp)({type:le.DigestAlgorithmIdentifier})],SignerInfo.prototype,"digestAlgorithm",void 0);ae.__decorate([(0,ce.AsnProp)({type:fe.Attribute,repeated:"set",context:0,implicit:true,optional:true})],SignerInfo.prototype,"signedAttrs",void 0);ae.__decorate([(0,ce.AsnProp)({type:le.SignatureAlgorithmIdentifier})],SignerInfo.prototype,"signatureAlgorithm",void 0);ae.__decorate([(0,ce.AsnProp)({type:ce.OctetString})],SignerInfo.prototype,"signature",void 0);ae.__decorate([(0,ce.AsnProp)({type:fe.Attribute,repeated:"set",context:1,implicit:true,optional:true})],SignerInfo.prototype,"unsignedAttrs",void 0);let de=se=class SignerInfos extends ce.AsnArray{constructor(re){super(re);Object.setPrototypeOf(this,se.prototype)}};ie.SignerInfos=de;ie.SignerInfos=de=se=ae.__decorate([(0,ce.AsnType)({type:ce.AsnTypeTypes.Set,itemType:SignerInfo})],de)},67119:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.KeyDerivationAlgorithmIdentifier=ie.MessageAuthenticationCodeAlgorithm=ie.ContentEncryptionAlgorithmIdentifier=ie.KeyEncryptionAlgorithmIdentifier=ie.SignatureAlgorithmIdentifier=ie.DigestAlgorithmIdentifier=ie.CMSVersion=void 0;const se=oe(53006);const ae=oe(82288);const ce=oe(53499);var ue;(function(re){re[re["v0"]=0]="v0";re[re["v1"]=1]="v1";re[re["v2"]=2]="v2";re[re["v3"]=3]="v3";re[re["v4"]=4]="v4";re[re["v5"]=5]="v5"})(ue||(ie.CMSVersion=ue={}));let le=class DigestAlgorithmIdentifier extends ae.AlgorithmIdentifier{};ie.DigestAlgorithmIdentifier=le;ie.DigestAlgorithmIdentifier=le=se.__decorate([(0,ce.AsnType)({type:ce.AsnTypeTypes.Sequence})],le);let fe=class SignatureAlgorithmIdentifier extends ae.AlgorithmIdentifier{};ie.SignatureAlgorithmIdentifier=fe;ie.SignatureAlgorithmIdentifier=fe=se.__decorate([(0,ce.AsnType)({type:ce.AsnTypeTypes.Sequence})],fe);let de=class KeyEncryptionAlgorithmIdentifier extends ae.AlgorithmIdentifier{};ie.KeyEncryptionAlgorithmIdentifier=de;ie.KeyEncryptionAlgorithmIdentifier=de=se.__decorate([(0,ce.AsnType)({type:ce.AsnTypeTypes.Sequence})],de);let pe=class ContentEncryptionAlgorithmIdentifier extends ae.AlgorithmIdentifier{};ie.ContentEncryptionAlgorithmIdentifier=pe;ie.ContentEncryptionAlgorithmIdentifier=pe=se.__decorate([(0,ce.AsnType)({type:ce.AsnTypeTypes.Sequence})],pe);let he=class MessageAuthenticationCodeAlgorithm extends ae.AlgorithmIdentifier{};ie.MessageAuthenticationCodeAlgorithm=he;ie.MessageAuthenticationCodeAlgorithm=he=se.__decorate([(0,ce.AsnType)({type:ce.AsnTypeTypes.Sequence})],he);let Ae=class KeyDerivationAlgorithmIdentifier extends ae.AlgorithmIdentifier{};ie.KeyDerivationAlgorithmIdentifier=Ae;ie.KeyDerivationAlgorithmIdentifier=Ae=se.__decorate([(0,ce.AsnType)({type:ce.AsnTypeTypes.Sequence})],Ae)},53006:re=>{var ie;var oe;var se;var ae;var ce;var ue;var le;var fe;var de;var pe;var he;var Ae;var ge;var me;var ye;var ve;var be;var we;var _e;var Ee;var Ce;var Ie;var Se;var Be;var xe;var ke;var Oe;var De;var Pe;var Te;var Qe;(function(ie){var oe=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd){define("tslib",["exports"],(function(re){ie(createExporter(oe,createExporter(re)))}))}else if(true&&typeof re.exports==="object"){ie(createExporter(oe,createExporter(re.exports)))}else{ie(createExporter(oe))}function createExporter(re,ie){if(re!==oe){if(typeof Object.create==="function"){Object.defineProperty(re,"__esModule",{value:true})}else{re.__esModule=true}}return function(oe,se){return re[oe]=ie?ie(oe,se):se}}})((function(re){var Re=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,ie){re.__proto__=ie}||function(re,ie){for(var oe in ie)if(Object.prototype.hasOwnProperty.call(ie,oe))re[oe]=ie[oe]};ie=function(re,ie){if(typeof ie!=="function"&&ie!==null)throw new TypeError("Class extends value "+String(ie)+" is not a constructor or null");Re(re,ie);function __(){this.constructor=re}re.prototype=ie===null?Object.create(ie):(__.prototype=ie.prototype,new __)};oe=Object.assign||function(re){for(var ie,oe=1,se=arguments.length;oe=0;le--)if(ue=re[le])ce=(ae<3?ue(ce):ae>3?ue(ie,oe,ce):ue(ie,oe))||ce;return ae>3&&ce&&Object.defineProperty(ie,oe,ce),ce};ce=function(re,ie){return function(oe,se){ie(oe,se,re)}};ue=function(re,ie,oe,se,ae,ce){function accept(re){if(re!==void 0&&typeof re!=="function")throw new TypeError("Function expected");return re}var ue=se.kind,le=ue==="getter"?"get":ue==="setter"?"set":"value";var fe=!ie&&re?se["static"]?re:re.prototype:null;var de=ie||(fe?Object.getOwnPropertyDescriptor(fe,se.name):{});var pe,he=false;for(var Ae=oe.length-1;Ae>=0;Ae--){var ge={};for(var me in se)ge[me]=me==="access"?{}:se[me];for(var me in se.access)ge.access[me]=se.access[me];ge.addInitializer=function(re){if(he)throw new TypeError("Cannot add initializers after decoration has completed");ce.push(accept(re||null))};var ye=(0,oe[Ae])(ue==="accessor"?{get:de.get,set:de.set}:de[le],ge);if(ue==="accessor"){if(ye===void 0)continue;if(ye===null||typeof ye!=="object")throw new TypeError("Object expected");if(pe=accept(ye.get))de.get=pe;if(pe=accept(ye.set))de.set=pe;if(pe=accept(ye.init))ae.unshift(pe)}else if(pe=accept(ye)){if(ue==="field")ae.unshift(pe);else de[le]=pe}}if(fe)Object.defineProperty(fe,se.name,de);he=true};le=function(re,ie,oe){var se=arguments.length>2;for(var ae=0;ae0&&ce[ce.length-1])&&(le[0]===6||le[0]===2)){oe=0;continue}if(le[0]===3&&(!ce||le[1]>ce[0]&&le[1]=re.length)re=void 0;return{value:re&&re[se++],done:!re}}};throw new TypeError(ie?"Object is not iterable.":"Symbol.iterator is not defined.")};ye=function(re,ie){var oe=typeof Symbol==="function"&&re[Symbol.iterator];if(!oe)return re;var se=oe.call(re),ae,ce=[],ue;try{while((ie===void 0||ie-- >0)&&!(ae=se.next()).done)ce.push(ae.value)}catch(re){ue={error:re}}finally{try{if(ae&&!ae.done&&(oe=se["return"]))oe.call(se)}finally{if(ue)throw ue.error}}return ce};ve=function(){for(var re=[],ie=0;ie1||resume(re,ie)}))};if(ie)ae[re]=ie(ae[re])}}function resume(re,ie){try{step(se[re](ie))}catch(re){settle(ce[0][3],re)}}function step(re){re.value instanceof _e?Promise.resolve(re.value.v).then(fulfill,reject):settle(ce[0][2],re)}function fulfill(re){resume("next",re)}function reject(re){resume("throw",re)}function settle(re,ie){if(re(ie),ce.shift(),ce.length)resume(ce[0][0],ce[0][1])}};Ce=function(re){var ie,oe;return ie={},verb("next"),verb("throw",(function(re){throw re})),verb("return"),ie[Symbol.iterator]=function(){return this},ie;function verb(se,ae){ie[se]=re[se]?function(ie){return(oe=!oe)?{value:_e(re[se](ie)),done:false}:ae?ae(ie):ie}:ae}};Ie=function(re){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ie=re[Symbol.asyncIterator],oe;return ie?ie.call(re):(re=typeof me==="function"?me(re):re[Symbol.iterator](),oe={},verb("next"),verb("throw"),verb("return"),oe[Symbol.asyncIterator]=function(){return this},oe);function verb(ie){oe[ie]=re[ie]&&function(oe){return new Promise((function(se,ae){oe=re[ie](oe),settle(se,ae,oe.done,oe.value)}))}}function settle(re,ie,oe,se){Promise.resolve(se).then((function(ie){re({value:ie,done:oe})}),ie)}};Se=function(re,ie){if(Object.defineProperty){Object.defineProperty(re,"raw",{value:ie})}else{re.raw=ie}return re};var Me=Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie};Be=function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))Pe(ie,re,oe);Me(ie,re);return ie};xe=function(re){return re&&re.__esModule?re:{default:re}};ke=function(re,ie,oe,se){if(oe==="a"&&!se)throw new TypeError("Private accessor was defined without a getter");if(typeof ie==="function"?re!==ie||!se:!ie.has(re))throw new TypeError("Cannot read private member from an object whose class did not declare it");return oe==="m"?se:oe==="a"?se.call(re):se?se.value:ie.get(re)};Oe=function(re,ie,oe,se,ae){if(se==="m")throw new TypeError("Private method is not writable");if(se==="a"&&!ae)throw new TypeError("Private accessor was defined without a setter");if(typeof ie==="function"?re!==ie||!ae:!ie.has(re))throw new TypeError("Cannot write private member to an object whose class did not declare it");return se==="a"?ae.call(re,oe):ae?ae.value=oe:ie.set(re,oe),oe};De=function(re,ie){if(ie===null||typeof ie!=="object"&&typeof ie!=="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof re==="function"?ie===re:re.has(ie)};Te=function(re,ie,oe){if(ie!==null&&ie!==void 0){if(typeof ie!=="object"&&typeof ie!=="function")throw new TypeError("Object expected.");var se,ae;if(oe){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");se=ie[Symbol.asyncDispose]}if(se===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");se=ie[Symbol.dispose];if(oe)ae=se}if(typeof se!=="function")throw new TypeError("Object not disposable.");if(ae)se=function(){try{ae.call(this)}catch(re){return Promise.reject(re)}};re.stack.push({value:ie,dispose:se,async:oe})}else if(oe){re.stack.push({async:true})}return ie};var Ne=typeof SuppressedError==="function"?SuppressedError:function(re,ie,oe){var se=new Error(oe);return se.name="SuppressedError",se.error=re,se.suppressed=ie,se};Qe=function(re){function fail(ie){re.error=re.hasError?new Ne(ie,re.error,"An error was suppressed during disposal."):ie;re.hasError=true}function next(){while(re.stack.length){var ie=re.stack.pop();try{var oe=ie.dispose&&ie.dispose.call(ie.value);if(ie.async)return Promise.resolve(oe).then(next,(function(re){fail(re);return next()}))}catch(re){fail(re)}}if(re.hasError)throw re.error}return next()};re("__extends",ie);re("__assign",oe);re("__rest",se);re("__decorate",ae);re("__param",ce);re("__esDecorate",ue);re("__runInitializers",le);re("__propKey",fe);re("__setFunctionName",de);re("__metadata",pe);re("__awaiter",he);re("__generator",Ae);re("__exportStar",ge);re("__createBinding",Pe);re("__values",me);re("__read",ye);re("__spread",ve);re("__spreadArrays",be);re("__spreadArray",we);re("__await",_e);re("__asyncGenerator",Ee);re("__asyncDelegator",Ce);re("__asyncValues",Ie);re("__makeTemplateObject",Se);re("__importStar",Be);re("__importDefault",xe);re("__classPrivateFieldGet",ke);re("__classPrivateFieldSet",Oe);re("__classPrivateFieldIn",De);re("__addDisposableResource",Te);re("__disposeResources",Qe)}))},93674:(re,ie,oe)=>{"use strict";var se;Object.defineProperty(ie,"__esModule",{value:true});ie.Attributes=void 0;const ae=oe(6347);const ce=oe(53499);const ue=oe(82288);let le=se=class Attributes extends ce.AsnArray{constructor(re){super(re);Object.setPrototypeOf(this,se.prototype)}};ie.Attributes=le;ie.Attributes=le=se=ae.__decorate([(0,ce.AsnType)({type:ce.AsnTypeTypes.Sequence,itemType:ue.Attribute})],le)},75135:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.CertificationRequest=void 0;const se=oe(6347);const ae=oe(53499);const ce=oe(61301);const ue=oe(82288);class CertificationRequest{constructor(re={}){this.certificationRequestInfo=new ce.CertificationRequestInfo;this.signatureAlgorithm=new ue.AlgorithmIdentifier;this.signature=new ArrayBuffer(0);Object.assign(this,re)}}ie.CertificationRequest=CertificationRequest;se.__decorate([(0,ae.AsnProp)({type:ce.CertificationRequestInfo})],CertificationRequest.prototype,"certificationRequestInfo",void 0);se.__decorate([(0,ae.AsnProp)({type:ue.AlgorithmIdentifier})],CertificationRequest.prototype,"signatureAlgorithm",void 0);se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.BitString})],CertificationRequest.prototype,"signature",void 0)},61301:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.CertificationRequestInfo=void 0;const se=oe(6347);const ae=oe(53499);const ce=oe(82288);const ue=oe(93674);class CertificationRequestInfo{constructor(re={}){this.version=0;this.subject=new ce.Name;this.subjectPKInfo=new ce.SubjectPublicKeyInfo;this.attributes=new ue.Attributes;Object.assign(this,re)}}ie.CertificationRequestInfo=CertificationRequestInfo;se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.Integer})],CertificationRequestInfo.prototype,"version",void 0);se.__decorate([(0,ae.AsnProp)({type:ce.Name})],CertificationRequestInfo.prototype,"subject",void 0);se.__decorate([(0,ae.AsnProp)({type:ce.SubjectPublicKeyInfo})],CertificationRequestInfo.prototype,"subjectPKInfo",void 0);se.__decorate([(0,ae.AsnProp)({type:ue.Attributes,implicit:true,context:0})],CertificationRequestInfo.prototype,"attributes",void 0)},86717:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(6347);se.__exportStar(oe(93674),ie);se.__exportStar(oe(75135),ie);se.__exportStar(oe(61301),ie)},6347:re=>{var ie;var oe;var se;var ae;var ce;var ue;var le;var fe;var de;var pe;var he;var Ae;var ge;var me;var ye;var ve;var be;var we;var _e;var Ee;var Ce;var Ie;var Se;var Be;var xe;var ke;var Oe;var De;var Pe;var Te;var Qe;(function(ie){var oe=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd){define("tslib",["exports"],(function(re){ie(createExporter(oe,createExporter(re)))}))}else if(true&&typeof re.exports==="object"){ie(createExporter(oe,createExporter(re.exports)))}else{ie(createExporter(oe))}function createExporter(re,ie){if(re!==oe){if(typeof Object.create==="function"){Object.defineProperty(re,"__esModule",{value:true})}else{re.__esModule=true}}return function(oe,se){return re[oe]=ie?ie(oe,se):se}}})((function(re){var Re=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,ie){re.__proto__=ie}||function(re,ie){for(var oe in ie)if(Object.prototype.hasOwnProperty.call(ie,oe))re[oe]=ie[oe]};ie=function(re,ie){if(typeof ie!=="function"&&ie!==null)throw new TypeError("Class extends value "+String(ie)+" is not a constructor or null");Re(re,ie);function __(){this.constructor=re}re.prototype=ie===null?Object.create(ie):(__.prototype=ie.prototype,new __)};oe=Object.assign||function(re){for(var ie,oe=1,se=arguments.length;oe=0;le--)if(ue=re[le])ce=(ae<3?ue(ce):ae>3?ue(ie,oe,ce):ue(ie,oe))||ce;return ae>3&&ce&&Object.defineProperty(ie,oe,ce),ce};ce=function(re,ie){return function(oe,se){ie(oe,se,re)}};ue=function(re,ie,oe,se,ae,ce){function accept(re){if(re!==void 0&&typeof re!=="function")throw new TypeError("Function expected");return re}var ue=se.kind,le=ue==="getter"?"get":ue==="setter"?"set":"value";var fe=!ie&&re?se["static"]?re:re.prototype:null;var de=ie||(fe?Object.getOwnPropertyDescriptor(fe,se.name):{});var pe,he=false;for(var Ae=oe.length-1;Ae>=0;Ae--){var ge={};for(var me in se)ge[me]=me==="access"?{}:se[me];for(var me in se.access)ge.access[me]=se.access[me];ge.addInitializer=function(re){if(he)throw new TypeError("Cannot add initializers after decoration has completed");ce.push(accept(re||null))};var ye=(0,oe[Ae])(ue==="accessor"?{get:de.get,set:de.set}:de[le],ge);if(ue==="accessor"){if(ye===void 0)continue;if(ye===null||typeof ye!=="object")throw new TypeError("Object expected");if(pe=accept(ye.get))de.get=pe;if(pe=accept(ye.set))de.set=pe;if(pe=accept(ye.init))ae.unshift(pe)}else if(pe=accept(ye)){if(ue==="field")ae.unshift(pe);else de[le]=pe}}if(fe)Object.defineProperty(fe,se.name,de);he=true};le=function(re,ie,oe){var se=arguments.length>2;for(var ae=0;ae0&&ce[ce.length-1])&&(le[0]===6||le[0]===2)){oe=0;continue}if(le[0]===3&&(!ce||le[1]>ce[0]&&le[1]=re.length)re=void 0;return{value:re&&re[se++],done:!re}}};throw new TypeError(ie?"Object is not iterable.":"Symbol.iterator is not defined.")};ye=function(re,ie){var oe=typeof Symbol==="function"&&re[Symbol.iterator];if(!oe)return re;var se=oe.call(re),ae,ce=[],ue;try{while((ie===void 0||ie-- >0)&&!(ae=se.next()).done)ce.push(ae.value)}catch(re){ue={error:re}}finally{try{if(ae&&!ae.done&&(oe=se["return"]))oe.call(se)}finally{if(ue)throw ue.error}}return ce};ve=function(){for(var re=[],ie=0;ie1||resume(re,ie)}))};if(ie)ae[re]=ie(ae[re])}}function resume(re,ie){try{step(se[re](ie))}catch(re){settle(ce[0][3],re)}}function step(re){re.value instanceof _e?Promise.resolve(re.value.v).then(fulfill,reject):settle(ce[0][2],re)}function fulfill(re){resume("next",re)}function reject(re){resume("throw",re)}function settle(re,ie){if(re(ie),ce.shift(),ce.length)resume(ce[0][0],ce[0][1])}};Ce=function(re){var ie,oe;return ie={},verb("next"),verb("throw",(function(re){throw re})),verb("return"),ie[Symbol.iterator]=function(){return this},ie;function verb(se,ae){ie[se]=re[se]?function(ie){return(oe=!oe)?{value:_e(re[se](ie)),done:false}:ae?ae(ie):ie}:ae}};Ie=function(re){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ie=re[Symbol.asyncIterator],oe;return ie?ie.call(re):(re=typeof me==="function"?me(re):re[Symbol.iterator](),oe={},verb("next"),verb("throw"),verb("return"),oe[Symbol.asyncIterator]=function(){return this},oe);function verb(ie){oe[ie]=re[ie]&&function(oe){return new Promise((function(se,ae){oe=re[ie](oe),settle(se,ae,oe.done,oe.value)}))}}function settle(re,ie,oe,se){Promise.resolve(se).then((function(ie){re({value:ie,done:oe})}),ie)}};Se=function(re,ie){if(Object.defineProperty){Object.defineProperty(re,"raw",{value:ie})}else{re.raw=ie}return re};var Me=Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie};Be=function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))Pe(ie,re,oe);Me(ie,re);return ie};xe=function(re){return re&&re.__esModule?re:{default:re}};ke=function(re,ie,oe,se){if(oe==="a"&&!se)throw new TypeError("Private accessor was defined without a getter");if(typeof ie==="function"?re!==ie||!se:!ie.has(re))throw new TypeError("Cannot read private member from an object whose class did not declare it");return oe==="m"?se:oe==="a"?se.call(re):se?se.value:ie.get(re)};Oe=function(re,ie,oe,se,ae){if(se==="m")throw new TypeError("Private method is not writable");if(se==="a"&&!ae)throw new TypeError("Private accessor was defined without a setter");if(typeof ie==="function"?re!==ie||!ae:!ie.has(re))throw new TypeError("Cannot write private member to an object whose class did not declare it");return se==="a"?ae.call(re,oe):ae?ae.value=oe:ie.set(re,oe),oe};De=function(re,ie){if(ie===null||typeof ie!=="object"&&typeof ie!=="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof re==="function"?ie===re:re.has(ie)};Te=function(re,ie,oe){if(ie!==null&&ie!==void 0){if(typeof ie!=="object"&&typeof ie!=="function")throw new TypeError("Object expected.");var se,ae;if(oe){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");se=ie[Symbol.asyncDispose]}if(se===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");se=ie[Symbol.dispose];if(oe)ae=se}if(typeof se!=="function")throw new TypeError("Object not disposable.");if(ae)se=function(){try{ae.call(this)}catch(re){return Promise.reject(re)}};re.stack.push({value:ie,dispose:se,async:oe})}else if(oe){re.stack.push({async:true})}return ie};var Ne=typeof SuppressedError==="function"?SuppressedError:function(re,ie,oe){var se=new Error(oe);return se.name="SuppressedError",se.error=re,se.suppressed=ie,se};Qe=function(re){function fail(ie){re.error=re.hasError?new Ne(ie,re.error,"An error was suppressed during disposal."):ie;re.hasError=true}function next(){while(re.stack.length){var ie=re.stack.pop();try{var oe=ie.dispose&&ie.dispose.call(ie.value);if(ie.async)return Promise.resolve(oe).then(next,(function(re){fail(re);return next()}))}catch(re){fail(re)}}if(re.hasError)throw re.error}return next()};re("__extends",ie);re("__assign",oe);re("__rest",se);re("__decorate",ae);re("__param",ce);re("__esDecorate",ue);re("__runInitializers",le);re("__propKey",fe);re("__setFunctionName",de);re("__metadata",pe);re("__awaiter",he);re("__generator",Ae);re("__exportStar",ge);re("__createBinding",Pe);re("__values",me);re("__read",ye);re("__spread",ve);re("__spreadArrays",be);re("__spreadArray",we);re("__await",_e);re("__asyncGenerator",Ee);re("__asyncDelegator",Ce);re("__asyncValues",Ie);re("__makeTemplateObject",Se);re("__importStar",Be);re("__importDefault",xe);re("__classPrivateFieldGet",ke);re("__classPrivateFieldSet",Oe);re("__classPrivateFieldIn",De);re("__addDisposableResource",Te);re("__disposeResources",Qe)}))},14716:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.ecdsaWithSHA512=ie.ecdsaWithSHA384=ie.ecdsaWithSHA256=ie.ecdsaWithSHA224=ie.ecdsaWithSHA1=void 0;const se=oe(82288);const ae=oe(3193);function create(re){return new se.AlgorithmIdentifier({algorithm:re})}ie.ecdsaWithSHA1=create(ae.id_ecdsaWithSHA1);ie.ecdsaWithSHA224=create(ae.id_ecdsaWithSHA224);ie.ecdsaWithSHA256=create(ae.id_ecdsaWithSHA256);ie.ecdsaWithSHA384=create(ae.id_ecdsaWithSHA384);ie.ecdsaWithSHA512=create(ae.id_ecdsaWithSHA512)},75823:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.ECParameters=void 0;const se=oe(52023);const ae=oe(53499);let ce=class ECParameters{constructor(re={}){Object.assign(this,re)}};ie.ECParameters=ce;se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.ObjectIdentifier})],ce.prototype,"namedCurve",void 0);ie.ECParameters=ce=se.__decorate([(0,ae.AsnType)({type:ae.AsnTypeTypes.Choice})],ce)},28673:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.ECPrivateKey=void 0;const se=oe(52023);const ae=oe(53499);const ce=oe(75823);class ECPrivateKey{constructor(re={}){this.version=1;this.privateKey=new ae.OctetString;Object.assign(this,re)}}ie.ECPrivateKey=ECPrivateKey;se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.Integer})],ECPrivateKey.prototype,"version",void 0);se.__decorate([(0,ae.AsnProp)({type:ae.OctetString})],ECPrivateKey.prototype,"privateKey",void 0);se.__decorate([(0,ae.AsnProp)({type:ce.ECParameters,context:0,optional:true})],ECPrivateKey.prototype,"parameters",void 0);se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.BitString,context:1,optional:true})],ECPrivateKey.prototype,"publicKey",void 0)},82138:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.ECDSASigValue=void 0;const se=oe(52023);const ae=oe(53499);class ECDSASigValue{constructor(re={}){this.r=new ArrayBuffer(0);this.s=new ArrayBuffer(0);Object.assign(this,re)}}ie.ECDSASigValue=ECDSASigValue;se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.Integer,converter:ae.AsnIntegerArrayBufferConverter})],ECDSASigValue.prototype,"r",void 0);se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.Integer,converter:ae.AsnIntegerArrayBufferConverter})],ECDSASigValue.prototype,"s",void 0)},8277:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(52023);se.__exportStar(oe(14716),ie);se.__exportStar(oe(75823),ie);se.__exportStar(oe(28673),ie);se.__exportStar(oe(82138),ie);se.__exportStar(oe(3193),ie)},3193:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.id_sect571r1=ie.id_sect571k1=ie.id_secp521r1=ie.id_sect409r1=ie.id_sect409k1=ie.id_secp384r1=ie.id_sect283r1=ie.id_sect283k1=ie.id_secp256r1=ie.id_sect233r1=ie.id_sect233k1=ie.id_secp224r1=ie.id_sect163r2=ie.id_sect163k1=ie.id_secp192r1=ie.id_ecdsaWithSHA512=ie.id_ecdsaWithSHA384=ie.id_ecdsaWithSHA256=ie.id_ecdsaWithSHA224=ie.id_ecdsaWithSHA1=ie.id_ecMQV=ie.id_ecDH=ie.id_ecPublicKey=void 0;ie.id_ecPublicKey="1.2.840.10045.2.1";ie.id_ecDH="1.3.132.1.12";ie.id_ecMQV="1.3.132.1.13";ie.id_ecdsaWithSHA1="1.2.840.10045.4.1";ie.id_ecdsaWithSHA224="1.2.840.10045.4.3.1";ie.id_ecdsaWithSHA256="1.2.840.10045.4.3.2";ie.id_ecdsaWithSHA384="1.2.840.10045.4.3.3";ie.id_ecdsaWithSHA512="1.2.840.10045.4.3.4";ie.id_secp192r1="1.2.840.10045.3.1.1";ie.id_sect163k1="1.3.132.0.1";ie.id_sect163r2="1.3.132.0.15";ie.id_secp224r1="1.3.132.0.33";ie.id_sect233k1="1.3.132.0.26";ie.id_sect233r1="1.3.132.0.27";ie.id_secp256r1="1.2.840.10045.3.1.7";ie.id_sect283k1="1.3.132.0.16";ie.id_sect283r1="1.3.132.0.17";ie.id_secp384r1="1.3.132.0.34";ie.id_sect409k1="1.3.132.0.36";ie.id_sect409r1="1.3.132.0.37";ie.id_secp521r1="1.3.132.0.35";ie.id_sect571k1="1.3.132.0.38";ie.id_sect571r1="1.3.132.0.39"},52023:re=>{var ie;var oe;var se;var ae;var ce;var ue;var le;var fe;var de;var pe;var he;var Ae;var ge;var me;var ye;var ve;var be;var we;var _e;var Ee;var Ce;var Ie;var Se;var Be;var xe;var ke;var Oe;var De;var Pe;var Te;var Qe;(function(ie){var oe=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd){define("tslib",["exports"],(function(re){ie(createExporter(oe,createExporter(re)))}))}else if(true&&typeof re.exports==="object"){ie(createExporter(oe,createExporter(re.exports)))}else{ie(createExporter(oe))}function createExporter(re,ie){if(re!==oe){if(typeof Object.create==="function"){Object.defineProperty(re,"__esModule",{value:true})}else{re.__esModule=true}}return function(oe,se){return re[oe]=ie?ie(oe,se):se}}})((function(re){var Re=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,ie){re.__proto__=ie}||function(re,ie){for(var oe in ie)if(Object.prototype.hasOwnProperty.call(ie,oe))re[oe]=ie[oe]};ie=function(re,ie){if(typeof ie!=="function"&&ie!==null)throw new TypeError("Class extends value "+String(ie)+" is not a constructor or null");Re(re,ie);function __(){this.constructor=re}re.prototype=ie===null?Object.create(ie):(__.prototype=ie.prototype,new __)};oe=Object.assign||function(re){for(var ie,oe=1,se=arguments.length;oe=0;le--)if(ue=re[le])ce=(ae<3?ue(ce):ae>3?ue(ie,oe,ce):ue(ie,oe))||ce;return ae>3&&ce&&Object.defineProperty(ie,oe,ce),ce};ce=function(re,ie){return function(oe,se){ie(oe,se,re)}};ue=function(re,ie,oe,se,ae,ce){function accept(re){if(re!==void 0&&typeof re!=="function")throw new TypeError("Function expected");return re}var ue=se.kind,le=ue==="getter"?"get":ue==="setter"?"set":"value";var fe=!ie&&re?se["static"]?re:re.prototype:null;var de=ie||(fe?Object.getOwnPropertyDescriptor(fe,se.name):{});var pe,he=false;for(var Ae=oe.length-1;Ae>=0;Ae--){var ge={};for(var me in se)ge[me]=me==="access"?{}:se[me];for(var me in se.access)ge.access[me]=se.access[me];ge.addInitializer=function(re){if(he)throw new TypeError("Cannot add initializers after decoration has completed");ce.push(accept(re||null))};var ye=(0,oe[Ae])(ue==="accessor"?{get:de.get,set:de.set}:de[le],ge);if(ue==="accessor"){if(ye===void 0)continue;if(ye===null||typeof ye!=="object")throw new TypeError("Object expected");if(pe=accept(ye.get))de.get=pe;if(pe=accept(ye.set))de.set=pe;if(pe=accept(ye.init))ae.unshift(pe)}else if(pe=accept(ye)){if(ue==="field")ae.unshift(pe);else de[le]=pe}}if(fe)Object.defineProperty(fe,se.name,de);he=true};le=function(re,ie,oe){var se=arguments.length>2;for(var ae=0;ae0&&ce[ce.length-1])&&(le[0]===6||le[0]===2)){oe=0;continue}if(le[0]===3&&(!ce||le[1]>ce[0]&&le[1]=re.length)re=void 0;return{value:re&&re[se++],done:!re}}};throw new TypeError(ie?"Object is not iterable.":"Symbol.iterator is not defined.")};ye=function(re,ie){var oe=typeof Symbol==="function"&&re[Symbol.iterator];if(!oe)return re;var se=oe.call(re),ae,ce=[],ue;try{while((ie===void 0||ie-- >0)&&!(ae=se.next()).done)ce.push(ae.value)}catch(re){ue={error:re}}finally{try{if(ae&&!ae.done&&(oe=se["return"]))oe.call(se)}finally{if(ue)throw ue.error}}return ce};ve=function(){for(var re=[],ie=0;ie1||resume(re,ie)}))};if(ie)ae[re]=ie(ae[re])}}function resume(re,ie){try{step(se[re](ie))}catch(re){settle(ce[0][3],re)}}function step(re){re.value instanceof _e?Promise.resolve(re.value.v).then(fulfill,reject):settle(ce[0][2],re)}function fulfill(re){resume("next",re)}function reject(re){resume("throw",re)}function settle(re,ie){if(re(ie),ce.shift(),ce.length)resume(ce[0][0],ce[0][1])}};Ce=function(re){var ie,oe;return ie={},verb("next"),verb("throw",(function(re){throw re})),verb("return"),ie[Symbol.iterator]=function(){return this},ie;function verb(se,ae){ie[se]=re[se]?function(ie){return(oe=!oe)?{value:_e(re[se](ie)),done:false}:ae?ae(ie):ie}:ae}};Ie=function(re){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ie=re[Symbol.asyncIterator],oe;return ie?ie.call(re):(re=typeof me==="function"?me(re):re[Symbol.iterator](),oe={},verb("next"),verb("throw"),verb("return"),oe[Symbol.asyncIterator]=function(){return this},oe);function verb(ie){oe[ie]=re[ie]&&function(oe){return new Promise((function(se,ae){oe=re[ie](oe),settle(se,ae,oe.done,oe.value)}))}}function settle(re,ie,oe,se){Promise.resolve(se).then((function(ie){re({value:ie,done:oe})}),ie)}};Se=function(re,ie){if(Object.defineProperty){Object.defineProperty(re,"raw",{value:ie})}else{re.raw=ie}return re};var Me=Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie};Be=function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))Pe(ie,re,oe);Me(ie,re);return ie};xe=function(re){return re&&re.__esModule?re:{default:re}};ke=function(re,ie,oe,se){if(oe==="a"&&!se)throw new TypeError("Private accessor was defined without a getter");if(typeof ie==="function"?re!==ie||!se:!ie.has(re))throw new TypeError("Cannot read private member from an object whose class did not declare it");return oe==="m"?se:oe==="a"?se.call(re):se?se.value:ie.get(re)};Oe=function(re,ie,oe,se,ae){if(se==="m")throw new TypeError("Private method is not writable");if(se==="a"&&!ae)throw new TypeError("Private accessor was defined without a setter");if(typeof ie==="function"?re!==ie||!ae:!ie.has(re))throw new TypeError("Cannot write private member to an object whose class did not declare it");return se==="a"?ae.call(re,oe):ae?ae.value=oe:ie.set(re,oe),oe};De=function(re,ie){if(ie===null||typeof ie!=="object"&&typeof ie!=="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof re==="function"?ie===re:re.has(ie)};Te=function(re,ie,oe){if(ie!==null&&ie!==void 0){if(typeof ie!=="object"&&typeof ie!=="function")throw new TypeError("Object expected.");var se,ae;if(oe){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");se=ie[Symbol.asyncDispose]}if(se===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");se=ie[Symbol.dispose];if(oe)ae=se}if(typeof se!=="function")throw new TypeError("Object not disposable.");if(ae)se=function(){try{ae.call(this)}catch(re){return Promise.reject(re)}};re.stack.push({value:ie,dispose:se,async:oe})}else if(oe){re.stack.push({async:true})}return ie};var Ne=typeof SuppressedError==="function"?SuppressedError:function(re,ie,oe){var se=new Error(oe);return se.name="SuppressedError",se.error=re,se.suppressed=ie,se};Qe=function(re){function fail(ie){re.error=re.hasError?new Ne(ie,re.error,"An error was suppressed during disposal."):ie;re.hasError=true}function next(){while(re.stack.length){var ie=re.stack.pop();try{var oe=ie.dispose&&ie.dispose.call(ie.value);if(ie.async)return Promise.resolve(oe).then(next,(function(re){fail(re);return next()}))}catch(re){fail(re)}}if(re.hasError)throw re.error}return next()};re("__extends",ie);re("__assign",oe);re("__rest",se);re("__decorate",ae);re("__param",ce);re("__esDecorate",ue);re("__runInitializers",le);re("__propKey",fe);re("__setFunctionName",de);re("__metadata",pe);re("__awaiter",he);re("__generator",Ae);re("__exportStar",ge);re("__createBinding",Pe);re("__values",me);re("__read",ye);re("__spread",ve);re("__spreadArrays",be);re("__spreadArray",we);re("__await",_e);re("__asyncGenerator",Ee);re("__asyncDelegator",Ce);re("__asyncValues",Ie);re("__makeTemplateObject",Se);re("__importStar",Be);re("__importDefault",xe);re("__classPrivateFieldGet",ke);re("__classPrivateFieldSet",Oe);re("__classPrivateFieldIn",De);re("__addDisposableResource",Te);re("__disposeResources",Qe)}))},11757:(re,ie,oe)=>{"use strict";var se;Object.defineProperty(ie,"__esModule",{value:true});ie.PKCS12AttrSet=ie.PKCS12Attribute=void 0;const ae=oe(8729);const ce=oe(53499);class PKCS12Attribute{constructor(re={}){this.attrId="";this.attrValues=[];Object.assign(re)}}ie.PKCS12Attribute=PKCS12Attribute;ae.__decorate([(0,ce.AsnProp)({type:ce.AsnPropTypes.ObjectIdentifier})],PKCS12Attribute.prototype,"attrId",void 0);ae.__decorate([(0,ce.AsnProp)({type:ce.AsnPropTypes.Any,repeated:"set"})],PKCS12Attribute.prototype,"attrValues",void 0);let ue=se=class PKCS12AttrSet extends ce.AsnArray{constructor(re){super(re);Object.setPrototypeOf(this,se.prototype)}};ie.PKCS12AttrSet=ue;ie.PKCS12AttrSet=ue=se=ae.__decorate([(0,ce.AsnType)({type:ce.AsnTypeTypes.Sequence,itemType:PKCS12Attribute})],ue)},46751:(re,ie,oe)=>{"use strict";var se;Object.defineProperty(ie,"__esModule",{value:true});ie.AuthenticatedSafe=void 0;const ae=oe(8729);const ce=oe(53499);const ue=oe(65813);let le=se=class AuthenticatedSafe extends ce.AsnArray{constructor(re){super(re);Object.setPrototypeOf(this,se.prototype)}};ie.AuthenticatedSafe=le;ie.AuthenticatedSafe=le=se=ae.__decorate([(0,ce.AsnType)({type:ce.AsnTypeTypes.Sequence,itemType:ue.ContentInfo})],le)},77536:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.id_sdsiCertificate=ie.id_x509Certificate=ie.id_certTypes=ie.CertBag=void 0;const se=oe(8729);const ae=oe(53499);const ce=oe(39410);class CertBag{constructor(re={}){this.certId="";this.certValue=new ArrayBuffer(0);Object.assign(this,re)}}ie.CertBag=CertBag;se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.ObjectIdentifier})],CertBag.prototype,"certId",void 0);se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.Any,context:0})],CertBag.prototype,"certValue",void 0);ie.id_certTypes=`${ce.id_pkcs_9}.22`;ie.id_x509Certificate=`${ie.id_certTypes}.1`;ie.id_sdsiCertificate=`${ie.id_certTypes}.2`},92039:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.id_x509CRL=ie.id_crlTypes=ie.CRLBag=void 0;const se=oe(8729);const ae=oe(53499);const ce=oe(39410);class CRLBag{constructor(re={}){this.crlId="";this.crltValue=new ArrayBuffer(0);Object.assign(this,re)}}ie.CRLBag=CRLBag;se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.ObjectIdentifier})],CRLBag.prototype,"crlId",void 0);se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.Any,context:0})],CRLBag.prototype,"crltValue",void 0);ie.id_crlTypes=`${ce.id_pkcs_9}.23`;ie.id_x509CRL=`${ie.id_crlTypes}.1`},27069:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(8729);se.__exportStar(oe(77536),ie);se.__exportStar(oe(92039),ie);se.__exportStar(oe(11684),ie);se.__exportStar(oe(51627),ie);se.__exportStar(oe(93057),ie);se.__exportStar(oe(39410),ie)},11684:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.KeyBag=void 0;const se=oe(8729);const ae=oe(81714);const ce=oe(53499);let ue=class KeyBag extends ae.PrivateKeyInfo{};ie.KeyBag=ue;ie.KeyBag=ue=se.__decorate([(0,ce.AsnType)({type:ce.AsnTypeTypes.Sequence})],ue)},51627:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.PKCS8ShroudedKeyBag=void 0;const se=oe(8729);const ae=oe(81714);const ce=oe(53499);let ue=class PKCS8ShroudedKeyBag extends ae.EncryptedPrivateKeyInfo{};ie.PKCS8ShroudedKeyBag=ue;ie.PKCS8ShroudedKeyBag=ue=se.__decorate([(0,ce.AsnType)({type:ce.AsnTypeTypes.Sequence})],ue)},93057:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.SecretBag=void 0;const se=oe(8729);const ae=oe(53499);class SecretBag{constructor(re={}){this.secretTypeId="";this.secretValue=new ArrayBuffer(0);Object.assign(this,re)}}ie.SecretBag=SecretBag;se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.ObjectIdentifier})],SecretBag.prototype,"secretTypeId",void 0);se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.Any,context:0})],SecretBag.prototype,"secretValue",void 0)},39410:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.id_pkcs_9=ie.id_SafeContents=ie.id_SecretBag=ie.id_CRLBag=ie.id_certBag=ie.id_pkcs8ShroudedKeyBag=ie.id_keyBag=void 0;const se=oe(35825);ie.id_keyBag=`${se.id_bagtypes}.1`;ie.id_pkcs8ShroudedKeyBag=`${se.id_bagtypes}.2`;ie.id_certBag=`${se.id_bagtypes}.3`;ie.id_CRLBag=`${se.id_bagtypes}.4`;ie.id_SecretBag=`${se.id_bagtypes}.5`;ie.id_SafeContents=`${se.id_bagtypes}.6`;ie.id_pkcs_9="1.2.840.113549.1.9"},23691:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(8729);se.__exportStar(oe(11757),ie);se.__exportStar(oe(46751),ie);se.__exportStar(oe(27069),ie);se.__exportStar(oe(71180),ie);se.__exportStar(oe(35825),ie);se.__exportStar(oe(42153),ie);se.__exportStar(oe(55901),ie)},71180:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.MacData=void 0;const se=oe(8729);const ae=oe(5574);const ce=oe(53499);class MacData{constructor(re={}){this.mac=new ae.DigestInfo;this.macSalt=new ce.OctetString;this.iterations=1;Object.assign(this,re)}}ie.MacData=MacData;se.__decorate([(0,ce.AsnProp)({type:ae.DigestInfo})],MacData.prototype,"mac",void 0);se.__decorate([(0,ce.AsnProp)({type:ce.OctetString})],MacData.prototype,"macSalt",void 0);se.__decorate([(0,ce.AsnProp)({type:ce.AsnPropTypes.Integer,defaultValue:1})],MacData.prototype,"iterations",void 0)},35825:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.id_bagtypes=ie.id_pbewithSHAAnd40BitRC2_CBC=ie.id_pbeWithSHAAnd128BitRC2_CBC=ie.id_pbeWithSHAAnd2_KeyTripleDES_CBC=ie.id_pbeWithSHAAnd3_KeyTripleDES_CBC=ie.id_pbeWithSHAAnd40BitRC4=ie.id_pbeWithSHAAnd128BitRC4=ie.id_pkcs_12PbeIds=ie.id_pkcs_12=ie.id_pkcs=ie.id_rsadsi=void 0;ie.id_rsadsi="1.2.840.113549";ie.id_pkcs=`${ie.id_rsadsi}.1`;ie.id_pkcs_12=`${ie.id_pkcs}.12`;ie.id_pkcs_12PbeIds=`${ie.id_pkcs_12}.1`;ie.id_pbeWithSHAAnd128BitRC4=`${ie.id_pkcs_12PbeIds}.1`;ie.id_pbeWithSHAAnd40BitRC4=`${ie.id_pkcs_12PbeIds}.2`;ie.id_pbeWithSHAAnd3_KeyTripleDES_CBC=`${ie.id_pkcs_12PbeIds}.3`;ie.id_pbeWithSHAAnd2_KeyTripleDES_CBC=`${ie.id_pkcs_12PbeIds}.4`;ie.id_pbeWithSHAAnd128BitRC2_CBC=`${ie.id_pkcs_12PbeIds}.5`;ie.id_pbewithSHAAnd40BitRC2_CBC=`${ie.id_pkcs_12PbeIds}.6`;ie.id_bagtypes=`${ie.id_pkcs_12}.10.1`},42153:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.PFX=void 0;const se=oe(8729);const ae=oe(53499);const ce=oe(65813);const ue=oe(71180);class PFX{constructor(re={}){this.version=3;this.authSafe=new ce.ContentInfo;this.macData=new ue.MacData;Object.assign(this,re)}}ie.PFX=PFX;se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.Integer})],PFX.prototype,"version",void 0);se.__decorate([(0,ae.AsnProp)({type:ce.ContentInfo})],PFX.prototype,"authSafe",void 0);se.__decorate([(0,ae.AsnProp)({type:ue.MacData,optional:true})],PFX.prototype,"macData",void 0)},55901:(re,ie,oe)=>{"use strict";var se;Object.defineProperty(ie,"__esModule",{value:true});ie.SafeContents=ie.SafeBag=void 0;const ae=oe(8729);const ce=oe(53499);const ue=oe(11757);class SafeBag{constructor(re={}){this.bagId="";this.bagValue=new ArrayBuffer(0);Object.assign(this,re)}}ie.SafeBag=SafeBag;ae.__decorate([(0,ce.AsnProp)({type:ce.AsnPropTypes.ObjectIdentifier})],SafeBag.prototype,"bagId",void 0);ae.__decorate([(0,ce.AsnProp)({type:ce.AsnPropTypes.Any,context:0})],SafeBag.prototype,"bagValue",void 0);ae.__decorate([(0,ce.AsnProp)({type:ue.PKCS12Attribute,repeated:"set",optional:true})],SafeBag.prototype,"bagAttributes",void 0);let le=se=class SafeContents extends ce.AsnArray{constructor(re){super(re);Object.setPrototypeOf(this,se.prototype)}};ie.SafeContents=le;ie.SafeContents=le=se=ae.__decorate([(0,ce.AsnType)({type:ce.AsnTypeTypes.Sequence,itemType:SafeBag})],le)},8729:re=>{var ie;var oe;var se;var ae;var ce;var ue;var le;var fe;var de;var pe;var he;var Ae;var ge;var me;var ye;var ve;var be;var we;var _e;var Ee;var Ce;var Ie;var Se;var Be;var xe;var ke;var Oe;var De;var Pe;var Te;var Qe;(function(ie){var oe=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd){define("tslib",["exports"],(function(re){ie(createExporter(oe,createExporter(re)))}))}else if(true&&typeof re.exports==="object"){ie(createExporter(oe,createExporter(re.exports)))}else{ie(createExporter(oe))}function createExporter(re,ie){if(re!==oe){if(typeof Object.create==="function"){Object.defineProperty(re,"__esModule",{value:true})}else{re.__esModule=true}}return function(oe,se){return re[oe]=ie?ie(oe,se):se}}})((function(re){var Re=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,ie){re.__proto__=ie}||function(re,ie){for(var oe in ie)if(Object.prototype.hasOwnProperty.call(ie,oe))re[oe]=ie[oe]};ie=function(re,ie){if(typeof ie!=="function"&&ie!==null)throw new TypeError("Class extends value "+String(ie)+" is not a constructor or null");Re(re,ie);function __(){this.constructor=re}re.prototype=ie===null?Object.create(ie):(__.prototype=ie.prototype,new __)};oe=Object.assign||function(re){for(var ie,oe=1,se=arguments.length;oe=0;le--)if(ue=re[le])ce=(ae<3?ue(ce):ae>3?ue(ie,oe,ce):ue(ie,oe))||ce;return ae>3&&ce&&Object.defineProperty(ie,oe,ce),ce};ce=function(re,ie){return function(oe,se){ie(oe,se,re)}};ue=function(re,ie,oe,se,ae,ce){function accept(re){if(re!==void 0&&typeof re!=="function")throw new TypeError("Function expected");return re}var ue=se.kind,le=ue==="getter"?"get":ue==="setter"?"set":"value";var fe=!ie&&re?se["static"]?re:re.prototype:null;var de=ie||(fe?Object.getOwnPropertyDescriptor(fe,se.name):{});var pe,he=false;for(var Ae=oe.length-1;Ae>=0;Ae--){var ge={};for(var me in se)ge[me]=me==="access"?{}:se[me];for(var me in se.access)ge.access[me]=se.access[me];ge.addInitializer=function(re){if(he)throw new TypeError("Cannot add initializers after decoration has completed");ce.push(accept(re||null))};var ye=(0,oe[Ae])(ue==="accessor"?{get:de.get,set:de.set}:de[le],ge);if(ue==="accessor"){if(ye===void 0)continue;if(ye===null||typeof ye!=="object")throw new TypeError("Object expected");if(pe=accept(ye.get))de.get=pe;if(pe=accept(ye.set))de.set=pe;if(pe=accept(ye.init))ae.unshift(pe)}else if(pe=accept(ye)){if(ue==="field")ae.unshift(pe);else de[le]=pe}}if(fe)Object.defineProperty(fe,se.name,de);he=true};le=function(re,ie,oe){var se=arguments.length>2;for(var ae=0;ae0&&ce[ce.length-1])&&(le[0]===6||le[0]===2)){oe=0;continue}if(le[0]===3&&(!ce||le[1]>ce[0]&&le[1]=re.length)re=void 0;return{value:re&&re[se++],done:!re}}};throw new TypeError(ie?"Object is not iterable.":"Symbol.iterator is not defined.")};ye=function(re,ie){var oe=typeof Symbol==="function"&&re[Symbol.iterator];if(!oe)return re;var se=oe.call(re),ae,ce=[],ue;try{while((ie===void 0||ie-- >0)&&!(ae=se.next()).done)ce.push(ae.value)}catch(re){ue={error:re}}finally{try{if(ae&&!ae.done&&(oe=se["return"]))oe.call(se)}finally{if(ue)throw ue.error}}return ce};ve=function(){for(var re=[],ie=0;ie1||resume(re,ie)}))};if(ie)ae[re]=ie(ae[re])}}function resume(re,ie){try{step(se[re](ie))}catch(re){settle(ce[0][3],re)}}function step(re){re.value instanceof _e?Promise.resolve(re.value.v).then(fulfill,reject):settle(ce[0][2],re)}function fulfill(re){resume("next",re)}function reject(re){resume("throw",re)}function settle(re,ie){if(re(ie),ce.shift(),ce.length)resume(ce[0][0],ce[0][1])}};Ce=function(re){var ie,oe;return ie={},verb("next"),verb("throw",(function(re){throw re})),verb("return"),ie[Symbol.iterator]=function(){return this},ie;function verb(se,ae){ie[se]=re[se]?function(ie){return(oe=!oe)?{value:_e(re[se](ie)),done:false}:ae?ae(ie):ie}:ae}};Ie=function(re){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ie=re[Symbol.asyncIterator],oe;return ie?ie.call(re):(re=typeof me==="function"?me(re):re[Symbol.iterator](),oe={},verb("next"),verb("throw"),verb("return"),oe[Symbol.asyncIterator]=function(){return this},oe);function verb(ie){oe[ie]=re[ie]&&function(oe){return new Promise((function(se,ae){oe=re[ie](oe),settle(se,ae,oe.done,oe.value)}))}}function settle(re,ie,oe,se){Promise.resolve(se).then((function(ie){re({value:ie,done:oe})}),ie)}};Se=function(re,ie){if(Object.defineProperty){Object.defineProperty(re,"raw",{value:ie})}else{re.raw=ie}return re};var Me=Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie};Be=function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))Pe(ie,re,oe);Me(ie,re);return ie};xe=function(re){return re&&re.__esModule?re:{default:re}};ke=function(re,ie,oe,se){if(oe==="a"&&!se)throw new TypeError("Private accessor was defined without a getter");if(typeof ie==="function"?re!==ie||!se:!ie.has(re))throw new TypeError("Cannot read private member from an object whose class did not declare it");return oe==="m"?se:oe==="a"?se.call(re):se?se.value:ie.get(re)};Oe=function(re,ie,oe,se,ae){if(se==="m")throw new TypeError("Private method is not writable");if(se==="a"&&!ae)throw new TypeError("Private accessor was defined without a setter");if(typeof ie==="function"?re!==ie||!ae:!ie.has(re))throw new TypeError("Cannot write private member to an object whose class did not declare it");return se==="a"?ae.call(re,oe):ae?ae.value=oe:ie.set(re,oe),oe};De=function(re,ie){if(ie===null||typeof ie!=="object"&&typeof ie!=="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof re==="function"?ie===re:re.has(ie)};Te=function(re,ie,oe){if(ie!==null&&ie!==void 0){if(typeof ie!=="object"&&typeof ie!=="function")throw new TypeError("Object expected.");var se,ae;if(oe){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");se=ie[Symbol.asyncDispose]}if(se===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");se=ie[Symbol.dispose];if(oe)ae=se}if(typeof se!=="function")throw new TypeError("Object not disposable.");if(ae)se=function(){try{ae.call(this)}catch(re){return Promise.reject(re)}};re.stack.push({value:ie,dispose:se,async:oe})}else if(oe){re.stack.push({async:true})}return ie};var Ne=typeof SuppressedError==="function"?SuppressedError:function(re,ie,oe){var se=new Error(oe);return se.name="SuppressedError",se.error=re,se.suppressed=ie,se};Qe=function(re){function fail(ie){re.error=re.hasError?new Ne(ie,re.error,"An error was suppressed during disposal."):ie;re.hasError=true}function next(){while(re.stack.length){var ie=re.stack.pop();try{var oe=ie.dispose&&ie.dispose.call(ie.value);if(ie.async)return Promise.resolve(oe).then(next,(function(re){fail(re);return next()}))}catch(re){fail(re)}}if(re.hasError)throw re.error}return next()};re("__extends",ie);re("__assign",oe);re("__rest",se);re("__decorate",ae);re("__param",ce);re("__esDecorate",ue);re("__runInitializers",le);re("__propKey",fe);re("__setFunctionName",de);re("__metadata",pe);re("__awaiter",he);re("__generator",Ae);re("__exportStar",ge);re("__createBinding",Pe);re("__values",me);re("__read",ye);re("__spread",ve);re("__spreadArrays",be);re("__spreadArray",we);re("__await",_e);re("__asyncGenerator",Ee);re("__asyncDelegator",Ce);re("__asyncValues",Ie);re("__makeTemplateObject",Se);re("__importStar",Be);re("__importDefault",xe);re("__classPrivateFieldGet",ke);re("__classPrivateFieldSet",Oe);re("__classPrivateFieldIn",De);re("__addDisposableResource",Te);re("__disposeResources",Qe)}))},20768:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.EncryptedPrivateKeyInfo=ie.EncryptedData=void 0;const se=oe(48456);const ae=oe(53499);const ce=oe(82288);class EncryptedData extends ae.OctetString{}ie.EncryptedData=EncryptedData;class EncryptedPrivateKeyInfo{constructor(re={}){this.encryptionAlgorithm=new ce.AlgorithmIdentifier;this.encryptedData=new EncryptedData;Object.assign(this,re)}}ie.EncryptedPrivateKeyInfo=EncryptedPrivateKeyInfo;se.__decorate([(0,ae.AsnProp)({type:ce.AlgorithmIdentifier})],EncryptedPrivateKeyInfo.prototype,"encryptionAlgorithm",void 0);se.__decorate([(0,ae.AsnProp)({type:EncryptedData})],EncryptedPrivateKeyInfo.prototype,"encryptedData",void 0)},81714:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(48456);se.__exportStar(oe(20768),ie);se.__exportStar(oe(35442),ie)},35442:(re,ie,oe)=>{"use strict";var se;Object.defineProperty(ie,"__esModule",{value:true});ie.PrivateKeyInfo=ie.Attributes=ie.PrivateKey=ie.Version=void 0;const ae=oe(48456);const ce=oe(53499);const ue=oe(82288);var le;(function(re){re[re["v1"]=0]="v1"})(le||(ie.Version=le={}));class PrivateKey extends ce.OctetString{}ie.PrivateKey=PrivateKey;let fe=se=class Attributes extends ce.AsnArray{constructor(re){super(re);Object.setPrototypeOf(this,se.prototype)}};ie.Attributes=fe;ie.Attributes=fe=se=ae.__decorate([(0,ce.AsnType)({type:ce.AsnTypeTypes.Sequence,itemType:ue.Attribute})],fe);class PrivateKeyInfo{constructor(re={}){this.version=le.v1;this.privateKeyAlgorithm=new ue.AlgorithmIdentifier;this.privateKey=new PrivateKey;Object.assign(this,re)}}ie.PrivateKeyInfo=PrivateKeyInfo;ae.__decorate([(0,ce.AsnProp)({type:ce.AsnPropTypes.Integer})],PrivateKeyInfo.prototype,"version",void 0);ae.__decorate([(0,ce.AsnProp)({type:ue.AlgorithmIdentifier})],PrivateKeyInfo.prototype,"privateKeyAlgorithm",void 0);ae.__decorate([(0,ce.AsnProp)({type:PrivateKey})],PrivateKeyInfo.prototype,"privateKey",void 0);ae.__decorate([(0,ce.AsnProp)({type:fe,implicit:true,context:0,optional:true})],PrivateKeyInfo.prototype,"attributes",void 0)},48456:re=>{var ie;var oe;var se;var ae;var ce;var ue;var le;var fe;var de;var pe;var he;var Ae;var ge;var me;var ye;var ve;var be;var we;var _e;var Ee;var Ce;var Ie;var Se;var Be;var xe;var ke;var Oe;var De;var Pe;var Te;var Qe;(function(ie){var oe=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd){define("tslib",["exports"],(function(re){ie(createExporter(oe,createExporter(re)))}))}else if(true&&typeof re.exports==="object"){ie(createExporter(oe,createExporter(re.exports)))}else{ie(createExporter(oe))}function createExporter(re,ie){if(re!==oe){if(typeof Object.create==="function"){Object.defineProperty(re,"__esModule",{value:true})}else{re.__esModule=true}}return function(oe,se){return re[oe]=ie?ie(oe,se):se}}})((function(re){var Re=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,ie){re.__proto__=ie}||function(re,ie){for(var oe in ie)if(Object.prototype.hasOwnProperty.call(ie,oe))re[oe]=ie[oe]};ie=function(re,ie){if(typeof ie!=="function"&&ie!==null)throw new TypeError("Class extends value "+String(ie)+" is not a constructor or null");Re(re,ie);function __(){this.constructor=re}re.prototype=ie===null?Object.create(ie):(__.prototype=ie.prototype,new __)};oe=Object.assign||function(re){for(var ie,oe=1,se=arguments.length;oe=0;le--)if(ue=re[le])ce=(ae<3?ue(ce):ae>3?ue(ie,oe,ce):ue(ie,oe))||ce;return ae>3&&ce&&Object.defineProperty(ie,oe,ce),ce};ce=function(re,ie){return function(oe,se){ie(oe,se,re)}};ue=function(re,ie,oe,se,ae,ce){function accept(re){if(re!==void 0&&typeof re!=="function")throw new TypeError("Function expected");return re}var ue=se.kind,le=ue==="getter"?"get":ue==="setter"?"set":"value";var fe=!ie&&re?se["static"]?re:re.prototype:null;var de=ie||(fe?Object.getOwnPropertyDescriptor(fe,se.name):{});var pe,he=false;for(var Ae=oe.length-1;Ae>=0;Ae--){var ge={};for(var me in se)ge[me]=me==="access"?{}:se[me];for(var me in se.access)ge.access[me]=se.access[me];ge.addInitializer=function(re){if(he)throw new TypeError("Cannot add initializers after decoration has completed");ce.push(accept(re||null))};var ye=(0,oe[Ae])(ue==="accessor"?{get:de.get,set:de.set}:de[le],ge);if(ue==="accessor"){if(ye===void 0)continue;if(ye===null||typeof ye!=="object")throw new TypeError("Object expected");if(pe=accept(ye.get))de.get=pe;if(pe=accept(ye.set))de.set=pe;if(pe=accept(ye.init))ae.unshift(pe)}else if(pe=accept(ye)){if(ue==="field")ae.unshift(pe);else de[le]=pe}}if(fe)Object.defineProperty(fe,se.name,de);he=true};le=function(re,ie,oe){var se=arguments.length>2;for(var ae=0;ae0&&ce[ce.length-1])&&(le[0]===6||le[0]===2)){oe=0;continue}if(le[0]===3&&(!ce||le[1]>ce[0]&&le[1]=re.length)re=void 0;return{value:re&&re[se++],done:!re}}};throw new TypeError(ie?"Object is not iterable.":"Symbol.iterator is not defined.")};ye=function(re,ie){var oe=typeof Symbol==="function"&&re[Symbol.iterator];if(!oe)return re;var se=oe.call(re),ae,ce=[],ue;try{while((ie===void 0||ie-- >0)&&!(ae=se.next()).done)ce.push(ae.value)}catch(re){ue={error:re}}finally{try{if(ae&&!ae.done&&(oe=se["return"]))oe.call(se)}finally{if(ue)throw ue.error}}return ce};ve=function(){for(var re=[],ie=0;ie1||resume(re,ie)}))};if(ie)ae[re]=ie(ae[re])}}function resume(re,ie){try{step(se[re](ie))}catch(re){settle(ce[0][3],re)}}function step(re){re.value instanceof _e?Promise.resolve(re.value.v).then(fulfill,reject):settle(ce[0][2],re)}function fulfill(re){resume("next",re)}function reject(re){resume("throw",re)}function settle(re,ie){if(re(ie),ce.shift(),ce.length)resume(ce[0][0],ce[0][1])}};Ce=function(re){var ie,oe;return ie={},verb("next"),verb("throw",(function(re){throw re})),verb("return"),ie[Symbol.iterator]=function(){return this},ie;function verb(se,ae){ie[se]=re[se]?function(ie){return(oe=!oe)?{value:_e(re[se](ie)),done:false}:ae?ae(ie):ie}:ae}};Ie=function(re){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ie=re[Symbol.asyncIterator],oe;return ie?ie.call(re):(re=typeof me==="function"?me(re):re[Symbol.iterator](),oe={},verb("next"),verb("throw"),verb("return"),oe[Symbol.asyncIterator]=function(){return this},oe);function verb(ie){oe[ie]=re[ie]&&function(oe){return new Promise((function(se,ae){oe=re[ie](oe),settle(se,ae,oe.done,oe.value)}))}}function settle(re,ie,oe,se){Promise.resolve(se).then((function(ie){re({value:ie,done:oe})}),ie)}};Se=function(re,ie){if(Object.defineProperty){Object.defineProperty(re,"raw",{value:ie})}else{re.raw=ie}return re};var Me=Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie};Be=function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))Pe(ie,re,oe);Me(ie,re);return ie};xe=function(re){return re&&re.__esModule?re:{default:re}};ke=function(re,ie,oe,se){if(oe==="a"&&!se)throw new TypeError("Private accessor was defined without a getter");if(typeof ie==="function"?re!==ie||!se:!ie.has(re))throw new TypeError("Cannot read private member from an object whose class did not declare it");return oe==="m"?se:oe==="a"?se.call(re):se?se.value:ie.get(re)};Oe=function(re,ie,oe,se,ae){if(se==="m")throw new TypeError("Private method is not writable");if(se==="a"&&!ae)throw new TypeError("Private accessor was defined without a setter");if(typeof ie==="function"?re!==ie||!ae:!ie.has(re))throw new TypeError("Cannot write private member to an object whose class did not declare it");return se==="a"?ae.call(re,oe):ae?ae.value=oe:ie.set(re,oe),oe};De=function(re,ie){if(ie===null||typeof ie!=="object"&&typeof ie!=="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof re==="function"?ie===re:re.has(ie)};Te=function(re,ie,oe){if(ie!==null&&ie!==void 0){if(typeof ie!=="object"&&typeof ie!=="function")throw new TypeError("Object expected.");var se,ae;if(oe){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");se=ie[Symbol.asyncDispose]}if(se===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");se=ie[Symbol.dispose];if(oe)ae=se}if(typeof se!=="function")throw new TypeError("Object not disposable.");if(ae)se=function(){try{ae.call(this)}catch(re){return Promise.reject(re)}};re.stack.push({value:ie,dispose:se,async:oe})}else if(oe){re.stack.push({async:true})}return ie};var Ne=typeof SuppressedError==="function"?SuppressedError:function(re,ie,oe){var se=new Error(oe);return se.name="SuppressedError",se.error=re,se.suppressed=ie,se};Qe=function(re){function fail(ie){re.error=re.hasError?new Ne(ie,re.error,"An error was suppressed during disposal."):ie;re.hasError=true}function next(){while(re.stack.length){var ie=re.stack.pop();try{var oe=ie.dispose&&ie.dispose.call(ie.value);if(ie.async)return Promise.resolve(oe).then(next,(function(re){fail(re);return next()}))}catch(re){fail(re)}}if(re.hasError)throw re.error}return next()};re("__extends",ie);re("__assign",oe);re("__rest",se);re("__decorate",ae);re("__param",ce);re("__esDecorate",ue);re("__runInitializers",le);re("__propKey",fe);re("__setFunctionName",de);re("__metadata",pe);re("__awaiter",he);re("__generator",Ae);re("__exportStar",ge);re("__createBinding",Pe);re("__values",me);re("__read",ye);re("__spread",ve);re("__spreadArrays",be);re("__spreadArray",we);re("__await",_e);re("__asyncGenerator",Ee);re("__asyncDelegator",Ce);re("__asyncValues",Ie);re("__makeTemplateObject",Se);re("__importStar",Be);re("__importDefault",xe);re("__classPrivateFieldGet",ke);re("__classPrivateFieldSet",Oe);re("__classPrivateFieldIn",De);re("__addDisposableResource",Te);re("__disposeResources",Qe)}))},55938:(re,ie,oe)=>{"use strict";var se,ae,ce;Object.defineProperty(ie,"__esModule",{value:true});ie.DateOfBirth=ie.UnstructuredAddress=ie.UnstructuredName=ie.EmailAddress=ie.EncryptedPrivateKeyInfo=ie.UserPKCS12=ie.Pkcs7PDU=ie.PKCS9String=ie.id_at_pseudonym=ie.crlTypes=ie.id_certTypes=ie.id_smime=ie.id_pkcs9_mr_signingTimeMatch=ie.id_pkcs9_mr_caseIgnoreMatch=ie.id_pkcs9_sx_signingTime=ie.id_pkcs9_sx_pkcs9String=ie.id_pkcs9_at_countryOfResidence=ie.id_pkcs9_at_countryOfCitizenship=ie.id_pkcs9_at_gender=ie.id_pkcs9_at_placeOfBirth=ie.id_pkcs9_at_dateOfBirth=ie.id_ietf_at=ie.id_pkcs9_at_pkcs7PDU=ie.id_pkcs9_at_sequenceNumber=ie.id_pkcs9_at_randomNonce=ie.id_pkcs9_at_encryptedPrivateKeyInfo=ie.id_pkcs9_at_pkcs15Token=ie.id_pkcs9_at_userPKCS12=ie.id_pkcs9_at_localKeyId=ie.id_pkcs9_at_friendlyName=ie.id_pkcs9_at_smimeCapabilities=ie.id_pkcs9_at_extensionRequest=ie.id_pkcs9_at_signingDescription=ie.id_pkcs9_at_extendedCertificateAttributes=ie.id_pkcs9_at_unstructuredAddress=ie.id_pkcs9_at_challengePassword=ie.id_pkcs9_at_counterSignature=ie.id_pkcs9_at_signingTime=ie.id_pkcs9_at_messageDigest=ie.id_pkcs9_at_contentType=ie.id_pkcs9_at_unstructuredName=ie.id_pkcs9_at_emailAddress=ie.id_pkcs9_oc_naturalPerson=ie.id_pkcs9_oc_pkcsEntity=ie.id_pkcs9_mr=ie.id_pkcs9_sx=ie.id_pkcs9_at=ie.id_pkcs9_oc=ie.id_pkcs9_mo=ie.id_pkcs9=void 0;ie.SMIMECapabilities=ie.SMIMECapability=ie.SigningDescription=ie.LocalKeyId=ie.FriendlyName=ie.ExtendedCertificateAttributes=ie.ExtensionRequest=ie.ChallengePassword=ie.CounterSignature=ie.SequenceNumber=ie.RandomNonce=ie.SigningTime=ie.MessageDigest=ie.ContentType=ie.Pseudonym=ie.CountryOfResidence=ie.CountryOfCitizenship=ie.Gender=ie.PlaceOfBirth=void 0;const ue=oe(54050);const le=oe(53499);const fe=oe(65813);const de=oe(23691);const pe=oe(81714);const he=oe(82288);const Ae=oe(64263);ie.id_pkcs9="1.2.840.113549.1.9";ie.id_pkcs9_mo=`${ie.id_pkcs9}.0`;ie.id_pkcs9_oc=`${ie.id_pkcs9}.24`;ie.id_pkcs9_at=`${ie.id_pkcs9}.25`;ie.id_pkcs9_sx=`${ie.id_pkcs9}.26`;ie.id_pkcs9_mr=`${ie.id_pkcs9}.27`;ie.id_pkcs9_oc_pkcsEntity=`${ie.id_pkcs9_oc}.1`;ie.id_pkcs9_oc_naturalPerson=`${ie.id_pkcs9_oc}.2`;ie.id_pkcs9_at_emailAddress=`${ie.id_pkcs9}.1`;ie.id_pkcs9_at_unstructuredName=`${ie.id_pkcs9}.2`;ie.id_pkcs9_at_contentType=`${ie.id_pkcs9}.3`;ie.id_pkcs9_at_messageDigest=`${ie.id_pkcs9}.4`;ie.id_pkcs9_at_signingTime=`${ie.id_pkcs9}.5`;ie.id_pkcs9_at_counterSignature=`${ie.id_pkcs9}.6`;ie.id_pkcs9_at_challengePassword=`${ie.id_pkcs9}.7`;ie.id_pkcs9_at_unstructuredAddress=`${ie.id_pkcs9}.8`;ie.id_pkcs9_at_extendedCertificateAttributes=`${ie.id_pkcs9}.9`;ie.id_pkcs9_at_signingDescription=`${ie.id_pkcs9}.13`;ie.id_pkcs9_at_extensionRequest=`${ie.id_pkcs9}.14`;ie.id_pkcs9_at_smimeCapabilities=`${ie.id_pkcs9}.15`;ie.id_pkcs9_at_friendlyName=`${ie.id_pkcs9}.20`;ie.id_pkcs9_at_localKeyId=`${ie.id_pkcs9}.21`;ie.id_pkcs9_at_userPKCS12=`2.16.840.1.113730.3.1.216`;ie.id_pkcs9_at_pkcs15Token=`${ie.id_pkcs9_at}.1`;ie.id_pkcs9_at_encryptedPrivateKeyInfo=`${ie.id_pkcs9_at}.2`;ie.id_pkcs9_at_randomNonce=`${ie.id_pkcs9_at}.3`;ie.id_pkcs9_at_sequenceNumber=`${ie.id_pkcs9_at}.4`;ie.id_pkcs9_at_pkcs7PDU=`${ie.id_pkcs9_at}.5`;ie.id_ietf_at=`1.3.6.1.5.5.7.9`;ie.id_pkcs9_at_dateOfBirth=`${ie.id_ietf_at}.1`;ie.id_pkcs9_at_placeOfBirth=`${ie.id_ietf_at}.2`;ie.id_pkcs9_at_gender=`${ie.id_ietf_at}.3`;ie.id_pkcs9_at_countryOfCitizenship=`${ie.id_ietf_at}.4`;ie.id_pkcs9_at_countryOfResidence=`${ie.id_ietf_at}.5`;ie.id_pkcs9_sx_pkcs9String=`${ie.id_pkcs9_sx}.1`;ie.id_pkcs9_sx_signingTime=`${ie.id_pkcs9_sx}.2`;ie.id_pkcs9_mr_caseIgnoreMatch=`${ie.id_pkcs9_mr}.1`;ie.id_pkcs9_mr_signingTimeMatch=`${ie.id_pkcs9_mr}.2`;ie.id_smime=`${ie.id_pkcs9}.16`;ie.id_certTypes=`${ie.id_pkcs9}.22`;ie.crlTypes=`${ie.id_pkcs9}.23`;ie.id_at_pseudonym=`${Ae.id_at}.65`;let ge=class PKCS9String extends he.DirectoryString{constructor(re={}){super(re)}toString(){const re={};re.toString();return this.ia5String||super.toString()}};ie.PKCS9String=ge;ue.__decorate([(0,le.AsnProp)({type:le.AsnPropTypes.IA5String})],ge.prototype,"ia5String",void 0);ie.PKCS9String=ge=ue.__decorate([(0,le.AsnType)({type:le.AsnTypeTypes.Choice})],ge);let me=class Pkcs7PDU extends fe.ContentInfo{};ie.Pkcs7PDU=me;ie.Pkcs7PDU=me=ue.__decorate([(0,le.AsnType)({type:le.AsnTypeTypes.Sequence})],me);let ye=class UserPKCS12 extends de.PFX{};ie.UserPKCS12=ye;ie.UserPKCS12=ye=ue.__decorate([(0,le.AsnType)({type:le.AsnTypeTypes.Sequence})],ye);let ve=class EncryptedPrivateKeyInfo extends pe.EncryptedPrivateKeyInfo{};ie.EncryptedPrivateKeyInfo=ve;ie.EncryptedPrivateKeyInfo=ve=ue.__decorate([(0,le.AsnType)({type:le.AsnTypeTypes.Sequence})],ve);let be=class EmailAddress{constructor(re=""){this.value=re}toString(){return this.value}};ie.EmailAddress=be;ue.__decorate([(0,le.AsnProp)({type:le.AsnPropTypes.IA5String})],be.prototype,"value",void 0);ie.EmailAddress=be=ue.__decorate([(0,le.AsnType)({type:le.AsnTypeTypes.Choice})],be);let we=class UnstructuredName extends ge{};ie.UnstructuredName=we;ie.UnstructuredName=we=ue.__decorate([(0,le.AsnType)({type:le.AsnTypeTypes.Choice})],we);let _e=class UnstructuredAddress extends he.DirectoryString{};ie.UnstructuredAddress=_e;ie.UnstructuredAddress=_e=ue.__decorate([(0,le.AsnType)({type:le.AsnTypeTypes.Choice})],_e);let Ee=class DateOfBirth{constructor(re=new Date){this.value=re}};ie.DateOfBirth=Ee;ue.__decorate([(0,le.AsnProp)({type:le.AsnPropTypes.GeneralizedTime})],Ee.prototype,"value",void 0);ie.DateOfBirth=Ee=ue.__decorate([(0,le.AsnType)({type:le.AsnTypeTypes.Choice})],Ee);let Ce=class PlaceOfBirth extends he.DirectoryString{};ie.PlaceOfBirth=Ce;ie.PlaceOfBirth=Ce=ue.__decorate([(0,le.AsnType)({type:le.AsnTypeTypes.Choice})],Ce);let Ie=class Gender{constructor(re="M"){this.value=re}toString(){return this.value}};ie.Gender=Ie;ue.__decorate([(0,le.AsnProp)({type:le.AsnPropTypes.PrintableString})],Ie.prototype,"value",void 0);ie.Gender=Ie=ue.__decorate([(0,le.AsnType)({type:le.AsnTypeTypes.Choice})],Ie);let Se=class CountryOfCitizenship{constructor(re=""){this.value=re}toString(){return this.value}};ie.CountryOfCitizenship=Se;ue.__decorate([(0,le.AsnProp)({type:le.AsnPropTypes.PrintableString})],Se.prototype,"value",void 0);ie.CountryOfCitizenship=Se=ue.__decorate([(0,le.AsnType)({type:le.AsnTypeTypes.Choice})],Se);let Be=class CountryOfResidence extends Se{};ie.CountryOfResidence=Be;ie.CountryOfResidence=Be=ue.__decorate([(0,le.AsnType)({type:le.AsnTypeTypes.Choice})],Be);let xe=class Pseudonym extends he.DirectoryString{};ie.Pseudonym=xe;ie.Pseudonym=xe=ue.__decorate([(0,le.AsnType)({type:le.AsnTypeTypes.Choice})],xe);let ke=class ContentType{constructor(re=""){this.value=re}toString(){return this.value}};ie.ContentType=ke;ue.__decorate([(0,le.AsnProp)({type:le.AsnPropTypes.ObjectIdentifier})],ke.prototype,"value",void 0);ie.ContentType=ke=ue.__decorate([(0,le.AsnType)({type:le.AsnTypeTypes.Choice})],ke);class MessageDigest extends le.OctetString{}ie.MessageDigest=MessageDigest;let Oe=class SigningTime extends he.Time{};ie.SigningTime=Oe;ie.SigningTime=Oe=ue.__decorate([(0,le.AsnType)({type:le.AsnTypeTypes.Choice})],Oe);class RandomNonce extends le.OctetString{}ie.RandomNonce=RandomNonce;let De=class SequenceNumber{constructor(re=0){this.value=re}toString(){return this.value.toString()}};ie.SequenceNumber=De;ue.__decorate([(0,le.AsnProp)({type:le.AsnPropTypes.Integer})],De.prototype,"value",void 0);ie.SequenceNumber=De=ue.__decorate([(0,le.AsnType)({type:le.AsnTypeTypes.Choice})],De);let Pe=class CounterSignature extends fe.SignerInfo{};ie.CounterSignature=Pe;ie.CounterSignature=Pe=ue.__decorate([(0,le.AsnType)({type:le.AsnTypeTypes.Sequence})],Pe);let Te=class ChallengePassword extends he.DirectoryString{};ie.ChallengePassword=Te;ie.ChallengePassword=Te=ue.__decorate([(0,le.AsnType)({type:le.AsnTypeTypes.Choice})],Te);let Qe=se=class ExtensionRequest extends he.Extensions{constructor(re){super(re);Object.setPrototypeOf(this,se.prototype)}};ie.ExtensionRequest=Qe;ie.ExtensionRequest=Qe=se=ue.__decorate([(0,le.AsnType)({type:le.AsnTypeTypes.Sequence})],Qe);let Re=ae=class ExtendedCertificateAttributes extends le.AsnArray{constructor(re){super(re);Object.setPrototypeOf(this,ae.prototype)}};ie.ExtendedCertificateAttributes=Re;ie.ExtendedCertificateAttributes=Re=ae=ue.__decorate([(0,le.AsnType)({type:le.AsnTypeTypes.Set,itemType:fe.Attribute})],Re);let Me=class FriendlyName{constructor(re=""){this.value=re}toString(){return this.value}};ie.FriendlyName=Me;ue.__decorate([(0,le.AsnProp)({type:le.AsnPropTypes.BmpString})],Me.prototype,"value",void 0);ie.FriendlyName=Me=ue.__decorate([(0,le.AsnType)({type:le.AsnTypeTypes.Choice})],Me);class LocalKeyId extends le.OctetString{}ie.LocalKeyId=LocalKeyId;class SigningDescription extends he.DirectoryString{}ie.SigningDescription=SigningDescription;let Ne=class SMIMECapability extends he.AlgorithmIdentifier{};ie.SMIMECapability=Ne;ie.SMIMECapability=Ne=ue.__decorate([(0,le.AsnType)({type:le.AsnTypeTypes.Sequence})],Ne);let je=ce=class SMIMECapabilities extends le.AsnArray{constructor(re){super(re);Object.setPrototypeOf(this,ce.prototype)}};ie.SMIMECapabilities=je;ie.SMIMECapabilities=je=ce=ue.__decorate([(0,le.AsnType)({type:le.AsnTypeTypes.Sequence,itemType:Ne})],je)},54050:re=>{var ie;var oe;var se;var ae;var ce;var ue;var le;var fe;var de;var pe;var he;var Ae;var ge;var me;var ye;var ve;var be;var we;var _e;var Ee;var Ce;var Ie;var Se;var Be;var xe;var ke;var Oe;var De;var Pe;var Te;var Qe;(function(ie){var oe=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd){define("tslib",["exports"],(function(re){ie(createExporter(oe,createExporter(re)))}))}else if(true&&typeof re.exports==="object"){ie(createExporter(oe,createExporter(re.exports)))}else{ie(createExporter(oe))}function createExporter(re,ie){if(re!==oe){if(typeof Object.create==="function"){Object.defineProperty(re,"__esModule",{value:true})}else{re.__esModule=true}}return function(oe,se){return re[oe]=ie?ie(oe,se):se}}})((function(re){var Re=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,ie){re.__proto__=ie}||function(re,ie){for(var oe in ie)if(Object.prototype.hasOwnProperty.call(ie,oe))re[oe]=ie[oe]};ie=function(re,ie){if(typeof ie!=="function"&&ie!==null)throw new TypeError("Class extends value "+String(ie)+" is not a constructor or null");Re(re,ie);function __(){this.constructor=re}re.prototype=ie===null?Object.create(ie):(__.prototype=ie.prototype,new __)};oe=Object.assign||function(re){for(var ie,oe=1,se=arguments.length;oe=0;le--)if(ue=re[le])ce=(ae<3?ue(ce):ae>3?ue(ie,oe,ce):ue(ie,oe))||ce;return ae>3&&ce&&Object.defineProperty(ie,oe,ce),ce};ce=function(re,ie){return function(oe,se){ie(oe,se,re)}};ue=function(re,ie,oe,se,ae,ce){function accept(re){if(re!==void 0&&typeof re!=="function")throw new TypeError("Function expected");return re}var ue=se.kind,le=ue==="getter"?"get":ue==="setter"?"set":"value";var fe=!ie&&re?se["static"]?re:re.prototype:null;var de=ie||(fe?Object.getOwnPropertyDescriptor(fe,se.name):{});var pe,he=false;for(var Ae=oe.length-1;Ae>=0;Ae--){var ge={};for(var me in se)ge[me]=me==="access"?{}:se[me];for(var me in se.access)ge.access[me]=se.access[me];ge.addInitializer=function(re){if(he)throw new TypeError("Cannot add initializers after decoration has completed");ce.push(accept(re||null))};var ye=(0,oe[Ae])(ue==="accessor"?{get:de.get,set:de.set}:de[le],ge);if(ue==="accessor"){if(ye===void 0)continue;if(ye===null||typeof ye!=="object")throw new TypeError("Object expected");if(pe=accept(ye.get))de.get=pe;if(pe=accept(ye.set))de.set=pe;if(pe=accept(ye.init))ae.unshift(pe)}else if(pe=accept(ye)){if(ue==="field")ae.unshift(pe);else de[le]=pe}}if(fe)Object.defineProperty(fe,se.name,de);he=true};le=function(re,ie,oe){var se=arguments.length>2;for(var ae=0;ae0&&ce[ce.length-1])&&(le[0]===6||le[0]===2)){oe=0;continue}if(le[0]===3&&(!ce||le[1]>ce[0]&&le[1]=re.length)re=void 0;return{value:re&&re[se++],done:!re}}};throw new TypeError(ie?"Object is not iterable.":"Symbol.iterator is not defined.")};ye=function(re,ie){var oe=typeof Symbol==="function"&&re[Symbol.iterator];if(!oe)return re;var se=oe.call(re),ae,ce=[],ue;try{while((ie===void 0||ie-- >0)&&!(ae=se.next()).done)ce.push(ae.value)}catch(re){ue={error:re}}finally{try{if(ae&&!ae.done&&(oe=se["return"]))oe.call(se)}finally{if(ue)throw ue.error}}return ce};ve=function(){for(var re=[],ie=0;ie1||resume(re,ie)}))};if(ie)ae[re]=ie(ae[re])}}function resume(re,ie){try{step(se[re](ie))}catch(re){settle(ce[0][3],re)}}function step(re){re.value instanceof _e?Promise.resolve(re.value.v).then(fulfill,reject):settle(ce[0][2],re)}function fulfill(re){resume("next",re)}function reject(re){resume("throw",re)}function settle(re,ie){if(re(ie),ce.shift(),ce.length)resume(ce[0][0],ce[0][1])}};Ce=function(re){var ie,oe;return ie={},verb("next"),verb("throw",(function(re){throw re})),verb("return"),ie[Symbol.iterator]=function(){return this},ie;function verb(se,ae){ie[se]=re[se]?function(ie){return(oe=!oe)?{value:_e(re[se](ie)),done:false}:ae?ae(ie):ie}:ae}};Ie=function(re){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ie=re[Symbol.asyncIterator],oe;return ie?ie.call(re):(re=typeof me==="function"?me(re):re[Symbol.iterator](),oe={},verb("next"),verb("throw"),verb("return"),oe[Symbol.asyncIterator]=function(){return this},oe);function verb(ie){oe[ie]=re[ie]&&function(oe){return new Promise((function(se,ae){oe=re[ie](oe),settle(se,ae,oe.done,oe.value)}))}}function settle(re,ie,oe,se){Promise.resolve(se).then((function(ie){re({value:ie,done:oe})}),ie)}};Se=function(re,ie){if(Object.defineProperty){Object.defineProperty(re,"raw",{value:ie})}else{re.raw=ie}return re};var Me=Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie};Be=function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))Pe(ie,re,oe);Me(ie,re);return ie};xe=function(re){return re&&re.__esModule?re:{default:re}};ke=function(re,ie,oe,se){if(oe==="a"&&!se)throw new TypeError("Private accessor was defined without a getter");if(typeof ie==="function"?re!==ie||!se:!ie.has(re))throw new TypeError("Cannot read private member from an object whose class did not declare it");return oe==="m"?se:oe==="a"?se.call(re):se?se.value:ie.get(re)};Oe=function(re,ie,oe,se,ae){if(se==="m")throw new TypeError("Private method is not writable");if(se==="a"&&!ae)throw new TypeError("Private accessor was defined without a setter");if(typeof ie==="function"?re!==ie||!ae:!ie.has(re))throw new TypeError("Cannot write private member to an object whose class did not declare it");return se==="a"?ae.call(re,oe):ae?ae.value=oe:ie.set(re,oe),oe};De=function(re,ie){if(ie===null||typeof ie!=="object"&&typeof ie!=="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof re==="function"?ie===re:re.has(ie)};Te=function(re,ie,oe){if(ie!==null&&ie!==void 0){if(typeof ie!=="object"&&typeof ie!=="function")throw new TypeError("Object expected.");var se,ae;if(oe){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");se=ie[Symbol.asyncDispose]}if(se===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");se=ie[Symbol.dispose];if(oe)ae=se}if(typeof se!=="function")throw new TypeError("Object not disposable.");if(ae)se=function(){try{ae.call(this)}catch(re){return Promise.reject(re)}};re.stack.push({value:ie,dispose:se,async:oe})}else if(oe){re.stack.push({async:true})}return ie};var Ne=typeof SuppressedError==="function"?SuppressedError:function(re,ie,oe){var se=new Error(oe);return se.name="SuppressedError",se.error=re,se.suppressed=ie,se};Qe=function(re){function fail(ie){re.error=re.hasError?new Ne(ie,re.error,"An error was suppressed during disposal."):ie;re.hasError=true}function next(){while(re.stack.length){var ie=re.stack.pop();try{var oe=ie.dispose&&ie.dispose.call(ie.value);if(ie.async)return Promise.resolve(oe).then(next,(function(re){fail(re);return next()}))}catch(re){fail(re)}}if(re.hasError)throw re.error}return next()};re("__extends",ie);re("__assign",oe);re("__rest",se);re("__decorate",ae);re("__param",ce);re("__esDecorate",ue);re("__runInitializers",le);re("__propKey",fe);re("__setFunctionName",de);re("__metadata",pe);re("__awaiter",he);re("__generator",Ae);re("__exportStar",ge);re("__createBinding",Pe);re("__values",me);re("__read",ye);re("__spread",ve);re("__spreadArrays",be);re("__spreadArray",we);re("__await",_e);re("__asyncGenerator",Ee);re("__asyncDelegator",Ce);re("__asyncValues",Ie);re("__makeTemplateObject",Se);re("__importStar",Be);re("__importDefault",xe);re("__classPrivateFieldGet",ke);re("__classPrivateFieldSet",Oe);re("__classPrivateFieldIn",De);re("__addDisposableResource",Te);re("__disposeResources",Qe)}))},48243:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.sha512_256WithRSAEncryption=ie.sha512_224WithRSAEncryption=ie.sha512WithRSAEncryption=ie.sha384WithRSAEncryption=ie.sha256WithRSAEncryption=ie.sha224WithRSAEncryption=ie.sha1WithRSAEncryption=ie.md5WithRSAEncryption=ie.md2WithRSAEncryption=ie.rsaEncryption=ie.pSpecifiedEmpty=ie.mgf1SHA1=ie.sha512_256=ie.sha512_224=ie.sha512=ie.sha384=ie.sha256=ie.sha224=ie.sha1=ie.md4=ie.md2=void 0;const se=oe(53499);const ae=oe(82288);const ce=oe(90147);function create(re){return new ae.AlgorithmIdentifier({algorithm:re,parameters:null})}ie.md2=create(ce.id_md2);ie.md4=create(ce.id_md5);ie.sha1=create(ce.id_sha1);ie.sha224=create(ce.id_sha224);ie.sha256=create(ce.id_sha256);ie.sha384=create(ce.id_sha384);ie.sha512=create(ce.id_sha512);ie.sha512_224=create(ce.id_sha512_224);ie.sha512_256=create(ce.id_sha512_256);ie.mgf1SHA1=new ae.AlgorithmIdentifier({algorithm:ce.id_mgf1,parameters:se.AsnConvert.serialize(ie.sha1)});ie.pSpecifiedEmpty=new ae.AlgorithmIdentifier({algorithm:ce.id_pSpecified,parameters:se.AsnConvert.serialize(se.AsnOctetStringConverter.toASN(new Uint8Array([218,57,163,238,94,107,75,13,50,85,191,239,149,96,24,144,175,216,7,9]).buffer))});ie.rsaEncryption=create(ce.id_rsaEncryption);ie.md2WithRSAEncryption=create(ce.id_md2WithRSAEncryption);ie.md5WithRSAEncryption=create(ce.id_md5WithRSAEncryption);ie.sha1WithRSAEncryption=create(ce.id_sha1WithRSAEncryption);ie.sha224WithRSAEncryption=create(ce.id_sha512_224WithRSAEncryption);ie.sha256WithRSAEncryption=create(ce.id_sha512_256WithRSAEncryption);ie.sha384WithRSAEncryption=create(ce.id_sha384WithRSAEncryption);ie.sha512WithRSAEncryption=create(ce.id_sha512WithRSAEncryption);ie.sha512_224WithRSAEncryption=create(ce.id_sha512_224WithRSAEncryption);ie.sha512_256WithRSAEncryption=create(ce.id_sha512_256WithRSAEncryption)},5574:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(14006);se.__exportStar(oe(60663),ie);se.__exportStar(oe(48243),ie);se.__exportStar(oe(90147),ie);se.__exportStar(oe(41069),ie);se.__exportStar(oe(89654),ie);se.__exportStar(oe(39978),ie)},90147:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.id_mgf1=ie.id_md5=ie.id_md2=ie.id_sha512_256=ie.id_sha512_224=ie.id_sha512=ie.id_sha384=ie.id_sha256=ie.id_sha224=ie.id_sha1=ie.id_sha512_256WithRSAEncryption=ie.id_sha512_224WithRSAEncryption=ie.id_sha512WithRSAEncryption=ie.id_sha384WithRSAEncryption=ie.id_sha256WithRSAEncryption=ie.id_ssha224WithRSAEncryption=ie.id_sha224WithRSAEncryption=ie.id_sha1WithRSAEncryption=ie.id_md5WithRSAEncryption=ie.id_md2WithRSAEncryption=ie.id_RSASSA_PSS=ie.id_pSpecified=ie.id_RSAES_OAEP=ie.id_rsaEncryption=ie.id_pkcs_1=void 0;ie.id_pkcs_1="1.2.840.113549.1.1";ie.id_rsaEncryption=`${ie.id_pkcs_1}.1`;ie.id_RSAES_OAEP=`${ie.id_pkcs_1}.7`;ie.id_pSpecified=`${ie.id_pkcs_1}.9`;ie.id_RSASSA_PSS=`${ie.id_pkcs_1}.10`;ie.id_md2WithRSAEncryption=`${ie.id_pkcs_1}.2`;ie.id_md5WithRSAEncryption=`${ie.id_pkcs_1}.4`;ie.id_sha1WithRSAEncryption=`${ie.id_pkcs_1}.5`;ie.id_sha224WithRSAEncryption=`${ie.id_pkcs_1}.14`;ie.id_ssha224WithRSAEncryption=ie.id_sha224WithRSAEncryption;ie.id_sha256WithRSAEncryption=`${ie.id_pkcs_1}.11`;ie.id_sha384WithRSAEncryption=`${ie.id_pkcs_1}.12`;ie.id_sha512WithRSAEncryption=`${ie.id_pkcs_1}.13`;ie.id_sha512_224WithRSAEncryption=`${ie.id_pkcs_1}.15`;ie.id_sha512_256WithRSAEncryption=`${ie.id_pkcs_1}.16`;ie.id_sha1="1.3.14.3.2.26";ie.id_sha224="2.16.840.1.101.3.4.2.4";ie.id_sha256="2.16.840.1.101.3.4.2.1";ie.id_sha384="2.16.840.1.101.3.4.2.2";ie.id_sha512="2.16.840.1.101.3.4.2.3";ie.id_sha512_224="2.16.840.1.101.3.4.2.5";ie.id_sha512_256="2.16.840.1.101.3.4.2.6";ie.id_md2="1.2.840.113549.2.2";ie.id_md5="1.2.840.113549.2.5";ie.id_mgf1=`${ie.id_pkcs_1}.8`},41069:(re,ie,oe)=>{"use strict";var se;Object.defineProperty(ie,"__esModule",{value:true});ie.OtherPrimeInfos=ie.OtherPrimeInfo=void 0;const ae=oe(14006);const ce=oe(53499);class OtherPrimeInfo{constructor(re={}){this.prime=new ArrayBuffer(0);this.exponent=new ArrayBuffer(0);this.coefficient=new ArrayBuffer(0);Object.assign(this,re)}}ie.OtherPrimeInfo=OtherPrimeInfo;ae.__decorate([(0,ce.AsnProp)({type:ce.AsnPropTypes.Integer,converter:ce.AsnIntegerArrayBufferConverter})],OtherPrimeInfo.prototype,"prime",void 0);ae.__decorate([(0,ce.AsnProp)({type:ce.AsnPropTypes.Integer,converter:ce.AsnIntegerArrayBufferConverter})],OtherPrimeInfo.prototype,"exponent",void 0);ae.__decorate([(0,ce.AsnProp)({type:ce.AsnPropTypes.Integer,converter:ce.AsnIntegerArrayBufferConverter})],OtherPrimeInfo.prototype,"coefficient",void 0);let ue=se=class OtherPrimeInfos extends ce.AsnArray{constructor(re){super(re);Object.setPrototypeOf(this,se.prototype)}};ie.OtherPrimeInfos=ue;ie.OtherPrimeInfos=ue=se=ae.__decorate([(0,ce.AsnType)({type:ce.AsnTypeTypes.Sequence,itemType:OtherPrimeInfo})],ue)},60663:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(14006);se.__exportStar(oe(36657),ie);se.__exportStar(oe(61770),ie);se.__exportStar(oe(40462),ie)},36657:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.RSAES_OAEP=ie.RsaEsOaepParams=void 0;const se=oe(14006);const ae=oe(53499);const ce=oe(82288);const ue=oe(90147);const le=oe(48243);class RsaEsOaepParams{constructor(re={}){this.hashAlgorithm=new ce.AlgorithmIdentifier(le.sha1);this.maskGenAlgorithm=new ce.AlgorithmIdentifier({algorithm:ue.id_mgf1,parameters:ae.AsnConvert.serialize(le.sha1)});this.pSourceAlgorithm=new ce.AlgorithmIdentifier(le.pSpecifiedEmpty);Object.assign(this,re)}}ie.RsaEsOaepParams=RsaEsOaepParams;se.__decorate([(0,ae.AsnProp)({type:ce.AlgorithmIdentifier,context:0,defaultValue:le.sha1})],RsaEsOaepParams.prototype,"hashAlgorithm",void 0);se.__decorate([(0,ae.AsnProp)({type:ce.AlgorithmIdentifier,context:1,defaultValue:le.mgf1SHA1})],RsaEsOaepParams.prototype,"maskGenAlgorithm",void 0);se.__decorate([(0,ae.AsnProp)({type:ce.AlgorithmIdentifier,context:2,defaultValue:le.pSpecifiedEmpty})],RsaEsOaepParams.prototype,"pSourceAlgorithm",void 0);ie.RSAES_OAEP=new ce.AlgorithmIdentifier({algorithm:ue.id_RSAES_OAEP,parameters:ae.AsnConvert.serialize(new RsaEsOaepParams)})},40462:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.DigestInfo=void 0;const se=oe(14006);const ae=oe(82288);const ce=oe(53499);class DigestInfo{constructor(re={}){this.digestAlgorithm=new ae.AlgorithmIdentifier;this.digest=new ce.OctetString;Object.assign(this,re)}}ie.DigestInfo=DigestInfo;se.__decorate([(0,ce.AsnProp)({type:ae.AlgorithmIdentifier})],DigestInfo.prototype,"digestAlgorithm",void 0);se.__decorate([(0,ce.AsnProp)({type:ce.OctetString})],DigestInfo.prototype,"digest",void 0)},61770:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.RSASSA_PSS=ie.RsaSaPssParams=void 0;const se=oe(14006);const ae=oe(53499);const ce=oe(82288);const ue=oe(90147);const le=oe(48243);class RsaSaPssParams{constructor(re={}){this.hashAlgorithm=new ce.AlgorithmIdentifier(le.sha1);this.maskGenAlgorithm=new ce.AlgorithmIdentifier({algorithm:ue.id_mgf1,parameters:ae.AsnConvert.serialize(le.sha1)});this.saltLength=20;this.trailerField=1;Object.assign(this,re)}}ie.RsaSaPssParams=RsaSaPssParams;se.__decorate([(0,ae.AsnProp)({type:ce.AlgorithmIdentifier,context:0,defaultValue:le.sha1})],RsaSaPssParams.prototype,"hashAlgorithm",void 0);se.__decorate([(0,ae.AsnProp)({type:ce.AlgorithmIdentifier,context:1,defaultValue:le.mgf1SHA1})],RsaSaPssParams.prototype,"maskGenAlgorithm",void 0);se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.Integer,context:2,defaultValue:20})],RsaSaPssParams.prototype,"saltLength",void 0);se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.Integer,context:3,defaultValue:1})],RsaSaPssParams.prototype,"trailerField",void 0);ie.RSASSA_PSS=new ce.AlgorithmIdentifier({algorithm:ue.id_RSASSA_PSS,parameters:ae.AsnConvert.serialize(new RsaSaPssParams)})},89654:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.RSAPrivateKey=void 0;const se=oe(14006);const ae=oe(53499);const ce=oe(41069);class RSAPrivateKey{constructor(re={}){this.version=0;this.modulus=new ArrayBuffer(0);this.publicExponent=new ArrayBuffer(0);this.privateExponent=new ArrayBuffer(0);this.prime1=new ArrayBuffer(0);this.prime2=new ArrayBuffer(0);this.exponent1=new ArrayBuffer(0);this.exponent2=new ArrayBuffer(0);this.coefficient=new ArrayBuffer(0);Object.assign(this,re)}}ie.RSAPrivateKey=RSAPrivateKey;se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.Integer})],RSAPrivateKey.prototype,"version",void 0);se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.Integer,converter:ae.AsnIntegerArrayBufferConverter})],RSAPrivateKey.prototype,"modulus",void 0);se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.Integer,converter:ae.AsnIntegerArrayBufferConverter})],RSAPrivateKey.prototype,"publicExponent",void 0);se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.Integer,converter:ae.AsnIntegerArrayBufferConverter})],RSAPrivateKey.prototype,"privateExponent",void 0);se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.Integer,converter:ae.AsnIntegerArrayBufferConverter})],RSAPrivateKey.prototype,"prime1",void 0);se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.Integer,converter:ae.AsnIntegerArrayBufferConverter})],RSAPrivateKey.prototype,"prime2",void 0);se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.Integer,converter:ae.AsnIntegerArrayBufferConverter})],RSAPrivateKey.prototype,"exponent1",void 0);se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.Integer,converter:ae.AsnIntegerArrayBufferConverter})],RSAPrivateKey.prototype,"exponent2",void 0);se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.Integer,converter:ae.AsnIntegerArrayBufferConverter})],RSAPrivateKey.prototype,"coefficient",void 0);se.__decorate([(0,ae.AsnProp)({type:ce.OtherPrimeInfos,optional:true})],RSAPrivateKey.prototype,"otherPrimeInfos",void 0)},39978:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.RSAPublicKey=void 0;const se=oe(14006);const ae=oe(53499);class RSAPublicKey{constructor(re={}){this.modulus=new ArrayBuffer(0);this.publicExponent=new ArrayBuffer(0);Object.assign(this,re)}}ie.RSAPublicKey=RSAPublicKey;se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.Integer,converter:ae.AsnIntegerArrayBufferConverter})],RSAPublicKey.prototype,"modulus",void 0);se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.Integer,converter:ae.AsnIntegerArrayBufferConverter})],RSAPublicKey.prototype,"publicExponent",void 0)},14006:re=>{var ie;var oe;var se;var ae;var ce;var ue;var le;var fe;var de;var pe;var he;var Ae;var ge;var me;var ye;var ve;var be;var we;var _e;var Ee;var Ce;var Ie;var Se;var Be;var xe;var ke;var Oe;var De;var Pe;var Te;var Qe;(function(ie){var oe=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd){define("tslib",["exports"],(function(re){ie(createExporter(oe,createExporter(re)))}))}else if(true&&typeof re.exports==="object"){ie(createExporter(oe,createExporter(re.exports)))}else{ie(createExporter(oe))}function createExporter(re,ie){if(re!==oe){if(typeof Object.create==="function"){Object.defineProperty(re,"__esModule",{value:true})}else{re.__esModule=true}}return function(oe,se){return re[oe]=ie?ie(oe,se):se}}})((function(re){var Re=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,ie){re.__proto__=ie}||function(re,ie){for(var oe in ie)if(Object.prototype.hasOwnProperty.call(ie,oe))re[oe]=ie[oe]};ie=function(re,ie){if(typeof ie!=="function"&&ie!==null)throw new TypeError("Class extends value "+String(ie)+" is not a constructor or null");Re(re,ie);function __(){this.constructor=re}re.prototype=ie===null?Object.create(ie):(__.prototype=ie.prototype,new __)};oe=Object.assign||function(re){for(var ie,oe=1,se=arguments.length;oe=0;le--)if(ue=re[le])ce=(ae<3?ue(ce):ae>3?ue(ie,oe,ce):ue(ie,oe))||ce;return ae>3&&ce&&Object.defineProperty(ie,oe,ce),ce};ce=function(re,ie){return function(oe,se){ie(oe,se,re)}};ue=function(re,ie,oe,se,ae,ce){function accept(re){if(re!==void 0&&typeof re!=="function")throw new TypeError("Function expected");return re}var ue=se.kind,le=ue==="getter"?"get":ue==="setter"?"set":"value";var fe=!ie&&re?se["static"]?re:re.prototype:null;var de=ie||(fe?Object.getOwnPropertyDescriptor(fe,se.name):{});var pe,he=false;for(var Ae=oe.length-1;Ae>=0;Ae--){var ge={};for(var me in se)ge[me]=me==="access"?{}:se[me];for(var me in se.access)ge.access[me]=se.access[me];ge.addInitializer=function(re){if(he)throw new TypeError("Cannot add initializers after decoration has completed");ce.push(accept(re||null))};var ye=(0,oe[Ae])(ue==="accessor"?{get:de.get,set:de.set}:de[le],ge);if(ue==="accessor"){if(ye===void 0)continue;if(ye===null||typeof ye!=="object")throw new TypeError("Object expected");if(pe=accept(ye.get))de.get=pe;if(pe=accept(ye.set))de.set=pe;if(pe=accept(ye.init))ae.unshift(pe)}else if(pe=accept(ye)){if(ue==="field")ae.unshift(pe);else de[le]=pe}}if(fe)Object.defineProperty(fe,se.name,de);he=true};le=function(re,ie,oe){var se=arguments.length>2;for(var ae=0;ae0&&ce[ce.length-1])&&(le[0]===6||le[0]===2)){oe=0;continue}if(le[0]===3&&(!ce||le[1]>ce[0]&&le[1]=re.length)re=void 0;return{value:re&&re[se++],done:!re}}};throw new TypeError(ie?"Object is not iterable.":"Symbol.iterator is not defined.")};ye=function(re,ie){var oe=typeof Symbol==="function"&&re[Symbol.iterator];if(!oe)return re;var se=oe.call(re),ae,ce=[],ue;try{while((ie===void 0||ie-- >0)&&!(ae=se.next()).done)ce.push(ae.value)}catch(re){ue={error:re}}finally{try{if(ae&&!ae.done&&(oe=se["return"]))oe.call(se)}finally{if(ue)throw ue.error}}return ce};ve=function(){for(var re=[],ie=0;ie1||resume(re,ie)}))};if(ie)ae[re]=ie(ae[re])}}function resume(re,ie){try{step(se[re](ie))}catch(re){settle(ce[0][3],re)}}function step(re){re.value instanceof _e?Promise.resolve(re.value.v).then(fulfill,reject):settle(ce[0][2],re)}function fulfill(re){resume("next",re)}function reject(re){resume("throw",re)}function settle(re,ie){if(re(ie),ce.shift(),ce.length)resume(ce[0][0],ce[0][1])}};Ce=function(re){var ie,oe;return ie={},verb("next"),verb("throw",(function(re){throw re})),verb("return"),ie[Symbol.iterator]=function(){return this},ie;function verb(se,ae){ie[se]=re[se]?function(ie){return(oe=!oe)?{value:_e(re[se](ie)),done:false}:ae?ae(ie):ie}:ae}};Ie=function(re){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ie=re[Symbol.asyncIterator],oe;return ie?ie.call(re):(re=typeof me==="function"?me(re):re[Symbol.iterator](),oe={},verb("next"),verb("throw"),verb("return"),oe[Symbol.asyncIterator]=function(){return this},oe);function verb(ie){oe[ie]=re[ie]&&function(oe){return new Promise((function(se,ae){oe=re[ie](oe),settle(se,ae,oe.done,oe.value)}))}}function settle(re,ie,oe,se){Promise.resolve(se).then((function(ie){re({value:ie,done:oe})}),ie)}};Se=function(re,ie){if(Object.defineProperty){Object.defineProperty(re,"raw",{value:ie})}else{re.raw=ie}return re};var Me=Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie};Be=function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))Pe(ie,re,oe);Me(ie,re);return ie};xe=function(re){return re&&re.__esModule?re:{default:re}};ke=function(re,ie,oe,se){if(oe==="a"&&!se)throw new TypeError("Private accessor was defined without a getter");if(typeof ie==="function"?re!==ie||!se:!ie.has(re))throw new TypeError("Cannot read private member from an object whose class did not declare it");return oe==="m"?se:oe==="a"?se.call(re):se?se.value:ie.get(re)};Oe=function(re,ie,oe,se,ae){if(se==="m")throw new TypeError("Private method is not writable");if(se==="a"&&!ae)throw new TypeError("Private accessor was defined without a setter");if(typeof ie==="function"?re!==ie||!ae:!ie.has(re))throw new TypeError("Cannot write private member to an object whose class did not declare it");return se==="a"?ae.call(re,oe):ae?ae.value=oe:ie.set(re,oe),oe};De=function(re,ie){if(ie===null||typeof ie!=="object"&&typeof ie!=="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof re==="function"?ie===re:re.has(ie)};Te=function(re,ie,oe){if(ie!==null&&ie!==void 0){if(typeof ie!=="object"&&typeof ie!=="function")throw new TypeError("Object expected.");var se,ae;if(oe){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");se=ie[Symbol.asyncDispose]}if(se===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");se=ie[Symbol.dispose];if(oe)ae=se}if(typeof se!=="function")throw new TypeError("Object not disposable.");if(ae)se=function(){try{ae.call(this)}catch(re){return Promise.reject(re)}};re.stack.push({value:ie,dispose:se,async:oe})}else if(oe){re.stack.push({async:true})}return ie};var Ne=typeof SuppressedError==="function"?SuppressedError:function(re,ie,oe){var se=new Error(oe);return se.name="SuppressedError",se.error=re,se.suppressed=ie,se};Qe=function(re){function fail(ie){re.error=re.hasError?new Ne(ie,re.error,"An error was suppressed during disposal."):ie;re.hasError=true}function next(){while(re.stack.length){var ie=re.stack.pop();try{var oe=ie.dispose&&ie.dispose.call(ie.value);if(ie.async)return Promise.resolve(oe).then(next,(function(re){fail(re);return next()}))}catch(re){fail(re)}}if(re.hasError)throw re.error}return next()};re("__extends",ie);re("__assign",oe);re("__rest",se);re("__decorate",ae);re("__param",ce);re("__esDecorate",ue);re("__runInitializers",le);re("__propKey",fe);re("__setFunctionName",de);re("__metadata",pe);re("__awaiter",he);re("__generator",Ae);re("__exportStar",ge);re("__createBinding",Pe);re("__values",me);re("__read",ye);re("__spread",ve);re("__spreadArrays",be);re("__spreadArray",we);re("__await",_e);re("__asyncGenerator",Ee);re("__asyncDelegator",Ce);re("__asyncValues",Ie);re("__makeTemplateObject",Se);re("__importStar",Be);re("__importDefault",xe);re("__classPrivateFieldGet",ke);re("__classPrivateFieldSet",Oe);re("__classPrivateFieldIn",De);re("__addDisposableResource",Te);re("__disposeResources",Qe)}))},10913:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.AsnConvert=void 0;const se=oe(3702);const ae=oe(22420);const ce=oe(89660);const ue=oe(37770);class AsnConvert{static serialize(re){return ue.AsnSerializer.serialize(re)}static parse(re,ie){return ce.AsnParser.parse(re,ie)}static toString(re){const ie=ae.BufferSourceConverter.isBufferSource(re)?ae.BufferSourceConverter.toArrayBuffer(re):AsnConvert.serialize(re);const oe=se.fromBER(ie);if(oe.offset===-1){throw new Error(`Cannot decode ASN.1 data. ${oe.result.error}`)}return oe.result.toString()}}ie.AsnConvert=AsnConvert},54091:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.defaultConverter=ie.AsnNullConverter=ie.AsnGeneralizedTimeConverter=ie.AsnUTCTimeConverter=ie.AsnCharacterStringConverter=ie.AsnGeneralStringConverter=ie.AsnVisibleStringConverter=ie.AsnGraphicStringConverter=ie.AsnIA5StringConverter=ie.AsnVideotexStringConverter=ie.AsnTeletexStringConverter=ie.AsnPrintableStringConverter=ie.AsnNumericStringConverter=ie.AsnUniversalStringConverter=ie.AsnBmpStringConverter=ie.AsnUtf8StringConverter=ie.AsnConstructedOctetStringConverter=ie.AsnOctetStringConverter=ie.AsnBooleanConverter=ie.AsnObjectIdentifierConverter=ie.AsnBitStringConverter=ie.AsnIntegerBigIntConverter=ie.AsnIntegerArrayBufferConverter=ie.AsnEnumeratedConverter=ie.AsnIntegerConverter=ie.AsnAnyConverter=void 0;const se=oe(3702);const ae=oe(40378);const ce=oe(80756);ie.AsnAnyConverter={fromASN:re=>re instanceof se.Null?null:re.valueBeforeDecodeView,toASN:re=>{if(re===null){return new se.Null}const ie=se.fromBER(re);if(ie.result.error){throw new Error(ie.result.error)}return ie.result}};ie.AsnIntegerConverter={fromASN:re=>re.valueBlock.valueHexView.byteLength>=4?re.valueBlock.toString():re.valueBlock.valueDec,toASN:re=>new se.Integer({value:+re})};ie.AsnEnumeratedConverter={fromASN:re=>re.valueBlock.valueDec,toASN:re=>new se.Enumerated({value:re})};ie.AsnIntegerArrayBufferConverter={fromASN:re=>re.valueBlock.valueHexView,toASN:re=>new se.Integer({valueHex:re})};ie.AsnIntegerBigIntConverter={fromASN:re=>re.toBigInt(),toASN:re=>se.Integer.fromBigInt(re)};ie.AsnBitStringConverter={fromASN:re=>re.valueBlock.valueHexView,toASN:re=>new se.BitString({valueHex:re})};ie.AsnObjectIdentifierConverter={fromASN:re=>re.valueBlock.toString(),toASN:re=>new se.ObjectIdentifier({value:re})};ie.AsnBooleanConverter={fromASN:re=>re.valueBlock.value,toASN:re=>new se.Boolean({value:re})};ie.AsnOctetStringConverter={fromASN:re=>re.valueBlock.valueHexView,toASN:re=>new se.OctetString({valueHex:re})};ie.AsnConstructedOctetStringConverter={fromASN:re=>new ce.OctetString(re.getValue()),toASN:re=>re.toASN()};function createStringConverter(re){return{fromASN:re=>re.valueBlock.value,toASN:ie=>new re({value:ie})}}ie.AsnUtf8StringConverter=createStringConverter(se.Utf8String);ie.AsnBmpStringConverter=createStringConverter(se.BmpString);ie.AsnUniversalStringConverter=createStringConverter(se.UniversalString);ie.AsnNumericStringConverter=createStringConverter(se.NumericString);ie.AsnPrintableStringConverter=createStringConverter(se.PrintableString);ie.AsnTeletexStringConverter=createStringConverter(se.TeletexString);ie.AsnVideotexStringConverter=createStringConverter(se.VideotexString);ie.AsnIA5StringConverter=createStringConverter(se.IA5String);ie.AsnGraphicStringConverter=createStringConverter(se.GraphicString);ie.AsnVisibleStringConverter=createStringConverter(se.VisibleString);ie.AsnGeneralStringConverter=createStringConverter(se.GeneralString);ie.AsnCharacterStringConverter=createStringConverter(se.CharacterString);ie.AsnUTCTimeConverter={fromASN:re=>re.toDate(),toASN:re=>new se.UTCTime({valueDate:re})};ie.AsnGeneralizedTimeConverter={fromASN:re=>re.toDate(),toASN:re=>new se.GeneralizedTime({valueDate:re})};ie.AsnNullConverter={fromASN:()=>null,toASN:()=>new se.Null};function defaultConverter(re){switch(re){case ae.AsnPropTypes.Any:return ie.AsnAnyConverter;case ae.AsnPropTypes.BitString:return ie.AsnBitStringConverter;case ae.AsnPropTypes.BmpString:return ie.AsnBmpStringConverter;case ae.AsnPropTypes.Boolean:return ie.AsnBooleanConverter;case ae.AsnPropTypes.CharacterString:return ie.AsnCharacterStringConverter;case ae.AsnPropTypes.Enumerated:return ie.AsnEnumeratedConverter;case ae.AsnPropTypes.GeneralString:return ie.AsnGeneralStringConverter;case ae.AsnPropTypes.GeneralizedTime:return ie.AsnGeneralizedTimeConverter;case ae.AsnPropTypes.GraphicString:return ie.AsnGraphicStringConverter;case ae.AsnPropTypes.IA5String:return ie.AsnIA5StringConverter;case ae.AsnPropTypes.Integer:return ie.AsnIntegerConverter;case ae.AsnPropTypes.Null:return ie.AsnNullConverter;case ae.AsnPropTypes.NumericString:return ie.AsnNumericStringConverter;case ae.AsnPropTypes.ObjectIdentifier:return ie.AsnObjectIdentifierConverter;case ae.AsnPropTypes.OctetString:return ie.AsnOctetStringConverter;case ae.AsnPropTypes.PrintableString:return ie.AsnPrintableStringConverter;case ae.AsnPropTypes.TeletexString:return ie.AsnTeletexStringConverter;case ae.AsnPropTypes.UTCTime:return ie.AsnUTCTimeConverter;case ae.AsnPropTypes.UniversalString:return ie.AsnUniversalStringConverter;case ae.AsnPropTypes.Utf8String:return ie.AsnUtf8StringConverter;case ae.AsnPropTypes.VideotexString:return ie.AsnVideotexStringConverter;case ae.AsnPropTypes.VisibleString:return ie.AsnVisibleStringConverter;default:return null}}ie.defaultConverter=defaultConverter},10157:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.AsnProp=ie.AsnSequenceType=ie.AsnSetType=ie.AsnChoiceType=ie.AsnType=void 0;const se=oe(54091);const ae=oe(40378);const ce=oe(54652);const AsnType=re=>ie=>{let oe;if(!ce.schemaStorage.has(ie)){oe=ce.schemaStorage.createDefault(ie);ce.schemaStorage.set(ie,oe)}else{oe=ce.schemaStorage.get(ie)}Object.assign(oe,re)};ie.AsnType=AsnType;const AsnChoiceType=()=>(0,ie.AsnType)({type:ae.AsnTypeTypes.Choice});ie.AsnChoiceType=AsnChoiceType;const AsnSetType=re=>(0,ie.AsnType)({type:ae.AsnTypeTypes.Set,...re});ie.AsnSetType=AsnSetType;const AsnSequenceType=re=>(0,ie.AsnType)({type:ae.AsnTypeTypes.Sequence,...re});ie.AsnSequenceType=AsnSequenceType;const AsnProp=re=>(ie,oe)=>{let ae;if(!ce.schemaStorage.has(ie.constructor)){ae=ce.schemaStorage.createDefault(ie.constructor);ce.schemaStorage.set(ie.constructor,ae)}else{ae=ce.schemaStorage.get(ie.constructor)}const ue=Object.assign({},re);if(typeof ue.type==="number"&&!ue.converter){const ae=se.defaultConverter(re.type);if(!ae){throw new Error(`Cannot get default converter for property '${oe}' of ${ie.constructor.name}`)}ue.converter=ae}ae.items[oe]=ue};ie.AsnProp=AsnProp},40378:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.AsnPropTypes=ie.AsnTypeTypes=void 0;var oe;(function(re){re[re["Sequence"]=0]="Sequence";re[re["Set"]=1]="Set";re[re["Choice"]=2]="Choice"})(oe||(ie.AsnTypeTypes=oe={}));var se;(function(re){re[re["Any"]=1]="Any";re[re["Boolean"]=2]="Boolean";re[re["OctetString"]=3]="OctetString";re[re["BitString"]=4]="BitString";re[re["Integer"]=5]="Integer";re[re["Enumerated"]=6]="Enumerated";re[re["ObjectIdentifier"]=7]="ObjectIdentifier";re[re["Utf8String"]=8]="Utf8String";re[re["BmpString"]=9]="BmpString";re[re["UniversalString"]=10]="UniversalString";re[re["NumericString"]=11]="NumericString";re[re["PrintableString"]=12]="PrintableString";re[re["TeletexString"]=13]="TeletexString";re[re["VideotexString"]=14]="VideotexString";re[re["IA5String"]=15]="IA5String";re[re["GraphicString"]=16]="GraphicString";re[re["VisibleString"]=17]="VisibleString";re[re["GeneralString"]=18]="GeneralString";re[re["CharacterString"]=19]="CharacterString";re[re["UTCTime"]=20]="UTCTime";re[re["GeneralizedTime"]=21]="GeneralizedTime";re[re["DATE"]=22]="DATE";re[re["TimeOfDay"]=23]="TimeOfDay";re[re["DateTime"]=24]="DateTime";re[re["Duration"]=25]="Duration";re[re["TIME"]=26]="TIME";re[re["Null"]=27]="Null"})(se||(ie.AsnPropTypes=se={}))},56194:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(6600);se.__exportStar(oe(27118),ie)},27118:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.AsnSchemaValidationError=void 0;class AsnSchemaValidationError extends Error{constructor(){super(...arguments);this.schemas=[]}}ie.AsnSchemaValidationError=AsnSchemaValidationError},74750:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.isArrayEqual=ie.isTypeOfArray=ie.isConvertible=void 0;function isConvertible(re){if(typeof re==="function"&&re.prototype){if(re.prototype.toASN&&re.prototype.fromASN){return true}else{return isConvertible(re.prototype)}}else{return!!(re&&typeof re==="object"&&"toASN"in re&&"fromASN"in re)}}ie.isConvertible=isConvertible;function isTypeOfArray(re){var ie;if(re){const oe=Object.getPrototypeOf(re);if(((ie=oe===null||oe===void 0?void 0:oe.prototype)===null||ie===void 0?void 0:ie.constructor)===Array){return true}return isTypeOfArray(oe)}return false}ie.isTypeOfArray=isTypeOfArray;function isArrayEqual(re,ie){if(!(re&&ie)){return false}if(re.byteLength!==ie.byteLength){return false}const oe=new Uint8Array(re);const se=new Uint8Array(ie);for(let ie=0;ie{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.AsnSerializer=ie.AsnParser=ie.AsnPropTypes=ie.AsnTypeTypes=ie.AsnSetType=ie.AsnSequenceType=ie.AsnChoiceType=ie.AsnType=ie.AsnProp=void 0;const se=oe(6600);se.__exportStar(oe(54091),ie);se.__exportStar(oe(80756),ie);var ae=oe(10157);Object.defineProperty(ie,"AsnProp",{enumerable:true,get:function(){return ae.AsnProp}});Object.defineProperty(ie,"AsnType",{enumerable:true,get:function(){return ae.AsnType}});Object.defineProperty(ie,"AsnChoiceType",{enumerable:true,get:function(){return ae.AsnChoiceType}});Object.defineProperty(ie,"AsnSequenceType",{enumerable:true,get:function(){return ae.AsnSequenceType}});Object.defineProperty(ie,"AsnSetType",{enumerable:true,get:function(){return ae.AsnSetType}});var ce=oe(40378);Object.defineProperty(ie,"AsnTypeTypes",{enumerable:true,get:function(){return ce.AsnTypeTypes}});Object.defineProperty(ie,"AsnPropTypes",{enumerable:true,get:function(){return ce.AsnPropTypes}});var ue=oe(89660);Object.defineProperty(ie,"AsnParser",{enumerable:true,get:function(){return ue.AsnParser}});var le=oe(37770);Object.defineProperty(ie,"AsnSerializer",{enumerable:true,get:function(){return le.AsnSerializer}});se.__exportStar(oe(56194),ie);se.__exportStar(oe(53795),ie);se.__exportStar(oe(10913),ie)},53795:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.AsnArray=void 0;class AsnArray extends Array{constructor(re=[]){if(typeof re==="number"){super(re)}else{super();for(const ie of re){this.push(ie)}}}}ie.AsnArray=AsnArray},89660:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.AsnParser=void 0;const se=oe(3702);const ae=oe(40378);const ce=oe(54091);const ue=oe(56194);const le=oe(74750);const fe=oe(54652);class AsnParser{static parse(re,ie){const oe=se.fromBER(re);if(oe.result.error){throw new Error(oe.result.error)}const ae=this.fromASN(oe.result,ie);return ae}static fromASN(re,ie){var oe;try{if((0,le.isConvertible)(ie)){const oe=new ie;return oe.fromASN(re)}const de=fe.schemaStorage.get(ie);fe.schemaStorage.cache(ie);let pe=de.schema;if(re.constructor===se.Constructed&&de.type!==ae.AsnTypeTypes.Choice){pe=new se.Constructed({idBlock:{tagClass:3,tagNumber:re.idBlock.tagNumber},value:de.schema.valueBlock.value});for(const ie in de.items){delete re[ie]}}const he=se.compareSchema({},re,pe);if(!he.verified){throw new ue.AsnSchemaValidationError(`Data does not match to ${ie.name} ASN1 schema. ${he.result.error}`)}const Ae=new ie;if((0,le.isTypeOfArray)(ie)){if(!("value"in re.valueBlock&&Array.isArray(re.valueBlock.value))){throw new Error(`Cannot get items from the ASN.1 parsed value. ASN.1 object is not constructed.`)}const oe=de.itemType;if(typeof oe==="number"){const se=ce.defaultConverter(oe);if(!se){throw new Error(`Cannot get default converter for array item of ${ie.name} ASN1 schema`)}return ie.from(re.valueBlock.value,(re=>se.fromASN(re)))}else{return ie.from(re.valueBlock.value,(re=>this.fromASN(re,oe)))}}for(const re in de.items){const ie=he.result[re];if(!ie){continue}const ce=de.items[re];const ue=ce.type;if(typeof ue==="number"||(0,le.isConvertible)(ue)){const fe=(oe=ce.converter)!==null&&oe!==void 0?oe:(0,le.isConvertible)(ue)?new ue:null;if(!fe){throw new Error("Converter is empty")}if(ce.repeated){if(ce.implicit){const oe=ce.repeated==="sequence"?se.Sequence:se.Set;const ae=new oe;ae.valueBlock=ie.valueBlock;const ue=se.fromBER(ae.toBER(false));if(ue.offset===-1){throw new Error(`Cannot parse the child item. ${ue.result.error}`)}if(!("value"in ue.result.valueBlock&&Array.isArray(ue.result.valueBlock.value))){throw new Error("Cannot get items from the ASN.1 parsed value. ASN.1 object is not constructed.")}const le=ue.result.valueBlock.value;Ae[re]=Array.from(le,(re=>fe.fromASN(re)))}else{Ae[re]=Array.from(ie,(re=>fe.fromASN(re)))}}else{let oe=ie;if(ce.implicit){let re;if((0,le.isConvertible)(ue)){re=(new ue).toSchema("")}else{const ie=ae.AsnPropTypes[ue];const oe=se[ie];if(!oe){throw new Error(`Cannot get '${ie}' class from asn1js module`)}re=new oe}re.valueBlock=oe.valueBlock;oe=se.fromBER(re.toBER(false)).result}Ae[re]=fe.fromASN(oe)}}else{if(ce.repeated){if(!Array.isArray(ie)){throw new Error("Cannot get list of items from the ASN.1 parsed value. ASN.1 value should be iterable.")}Ae[re]=Array.from(ie,(re=>this.fromASN(re,ue)))}else{Ae[re]=this.fromASN(ie,ue)}}}return Ae}catch(re){if(re instanceof ue.AsnSchemaValidationError){re.schemas.push(ie.name)}throw re}}}ie.AsnParser=AsnParser},93021:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.AsnSchemaStorage=void 0;const se=oe(3702);const ae=oe(40378);const ce=oe(74750);class AsnSchemaStorage{constructor(){this.items=new WeakMap}has(re){return this.items.has(re)}get(re,ie=false){const oe=this.items.get(re);if(!oe){throw new Error(`Cannot get schema for '${re.prototype.constructor.name}' target`)}if(ie&&!oe.schema){throw new Error(`Schema '${re.prototype.constructor.name}' doesn't contain ASN.1 schema. Call 'AsnSchemaStorage.cache'.`)}return oe}cache(re){const ie=this.get(re);if(!ie.schema){ie.schema=this.create(re,true)}}createDefault(re){const ie={type:ae.AsnTypeTypes.Sequence,items:{}};const oe=this.findParentSchema(re);if(oe){Object.assign(ie,oe);ie.items=Object.assign({},ie.items,oe.items)}return ie}create(re,ie){const oe=this.items.get(re)||this.createDefault(re);const ue=[];for(const re in oe.items){const le=oe.items[re];const fe=ie?re:"";let de;if(typeof le.type==="number"){const re=ae.AsnPropTypes[le.type];const ie=se[re];if(!ie){throw new Error(`Cannot get ASN1 class by name '${re}'`)}de=new ie({name:fe})}else if((0,ce.isConvertible)(le.type)){const re=new le.type;de=re.toSchema(fe)}else if(le.optional){const re=this.get(le.type);if(re.type===ae.AsnTypeTypes.Choice){de=new se.Any({name:fe})}else{de=this.create(le.type,false);de.name=fe}}else{de=new se.Any({name:fe})}const pe=!!le.optional||le.defaultValue!==undefined;if(le.repeated){de.name="";const re=le.repeated==="set"?se.Set:se.Sequence;de=new re({name:"",value:[new se.Repeated({name:fe,value:de})]})}if(le.context!==null&&le.context!==undefined){if(le.implicit){if(typeof le.type==="number"||(0,ce.isConvertible)(le.type)){const re=le.repeated?se.Constructed:se.Primitive;ue.push(new re({name:fe,optional:pe,idBlock:{tagClass:3,tagNumber:le.context}}))}else{this.cache(le.type);const re=!!le.repeated;let ie=!re?this.get(le.type,true).schema:de;ie="valueBlock"in ie?ie.valueBlock.value:ie.value;ue.push(new se.Constructed({name:!re?fe:"",optional:pe,idBlock:{tagClass:3,tagNumber:le.context},value:ie}))}}else{ue.push(new se.Constructed({optional:pe,idBlock:{tagClass:3,tagNumber:le.context},value:[de]}))}}else{de.optional=pe;ue.push(de)}}switch(oe.type){case ae.AsnTypeTypes.Sequence:return new se.Sequence({value:ue,name:""});case ae.AsnTypeTypes.Set:return new se.Set({value:ue,name:""});case ae.AsnTypeTypes.Choice:return new se.Choice({value:ue,name:""});default:throw new Error(`Unsupported ASN1 type in use`)}}set(re,ie){this.items.set(re,ie);return this}findParentSchema(re){const ie=Object.getPrototypeOf(re);if(ie){const re=this.items.get(ie);return re||this.findParentSchema(ie)}return null}}ie.AsnSchemaStorage=AsnSchemaStorage},37770:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.AsnSerializer=void 0;const se=oe(3702);const ae=oe(54091);const ce=oe(40378);const ue=oe(74750);const le=oe(54652);class AsnSerializer{static serialize(re){if(re instanceof se.BaseBlock){return re.toBER(false)}return this.toASN(re).toBER(false)}static toASN(re){if(re&&typeof re==="object"&&(0,ue.isConvertible)(re)){return re.toASN()}if(!(re&&typeof re==="object")){throw new TypeError("Parameter 1 should be type of Object.")}const ie=re.constructor;const oe=le.schemaStorage.get(ie);le.schemaStorage.cache(ie);let fe=[];if(oe.itemType){if(!Array.isArray(re)){throw new TypeError("Parameter 1 should be type of Array.")}if(typeof oe.itemType==="number"){const se=ae.defaultConverter(oe.itemType);if(!se){throw new Error(`Cannot get default converter for array item of ${ie.name} ASN1 schema`)}fe=re.map((re=>se.toASN(re)))}else{fe=re.map((re=>this.toAsnItem({type:oe.itemType},"[]",ie,re)))}}else{for(const ae in oe.items){const ce=oe.items[ae];const le=re[ae];if(le===undefined||ce.defaultValue===le||typeof ce.defaultValue==="object"&&typeof le==="object"&&(0,ue.isArrayEqual)(this.serialize(ce.defaultValue),this.serialize(le))){continue}const de=AsnSerializer.toAsnItem(ce,ae,ie,le);if(typeof ce.context==="number"){if(ce.implicit){if(!ce.repeated&&(typeof ce.type==="number"||(0,ue.isConvertible)(ce.type))){const re={};re.valueHex=de instanceof se.Null?de.valueBeforeDecodeView:de.valueBlock.toBER();fe.push(new se.Primitive({optional:ce.optional,idBlock:{tagClass:3,tagNumber:ce.context},...re}))}else{fe.push(new se.Constructed({optional:ce.optional,idBlock:{tagClass:3,tagNumber:ce.context},value:de.valueBlock.value}))}}else{fe.push(new se.Constructed({optional:ce.optional,idBlock:{tagClass:3,tagNumber:ce.context},value:[de]}))}}else if(ce.repeated){fe=fe.concat(de)}else{fe.push(de)}}}let de;switch(oe.type){case ce.AsnTypeTypes.Sequence:de=new se.Sequence({value:fe});break;case ce.AsnTypeTypes.Set:de=new se.Set({value:fe});break;case ce.AsnTypeTypes.Choice:if(!fe[0]){throw new Error(`Schema '${ie.name}' has wrong data. Choice cannot be empty.`)}de=fe[0];break}return de}static toAsnItem(re,ie,oe,ae){let ue;if(typeof re.type==="number"){const le=re.converter;if(!le){throw new Error(`Property '${ie}' doesn't have converter for type ${ce.AsnPropTypes[re.type]} in schema '${oe.name}'`)}if(re.repeated){if(!Array.isArray(ae)){throw new TypeError("Parameter 'objProp' should be type of Array.")}const ie=Array.from(ae,(re=>le.toASN(re)));const oe=re.repeated==="sequence"?se.Sequence:se.Set;ue=new oe({value:ie})}else{ue=le.toASN(ae)}}else{if(re.repeated){if(!Array.isArray(ae)){throw new TypeError("Parameter 'objProp' should be type of Array.")}const ie=Array.from(ae,(re=>this.toASN(re)));const oe=re.repeated==="sequence"?se.Sequence:se.Set;ue=new oe({value:ie})}else{ue=this.toASN(ae)}}return ue}}ie.AsnSerializer=AsnSerializer},54652:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.schemaStorage=void 0;const se=oe(93021);ie.schemaStorage=new se.AsnSchemaStorage},63897:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.BitString=void 0;const se=oe(3702);const ae=oe(22420);class BitString{constructor(re,ie=0){this.unusedBits=0;this.value=new ArrayBuffer(0);if(re){if(typeof re==="number"){this.fromNumber(re)}else if(ae.BufferSourceConverter.isBufferSource(re)){this.unusedBits=ie;this.value=ae.BufferSourceConverter.toArrayBuffer(re)}else{throw TypeError("Unsupported type of 'params' argument for BitString")}}}fromASN(re){if(!(re instanceof se.BitString)){throw new TypeError("Argument 'asn' is not instance of ASN.1 BitString")}this.unusedBits=re.valueBlock.unusedBits;this.value=re.valueBlock.valueHex;return this}toASN(){return new se.BitString({unusedBits:this.unusedBits,valueHex:this.value})}toSchema(re){return new se.BitString({name:re})}toNumber(){let re="";const ie=new Uint8Array(this.value);for(const oe of ie){re+=oe.toString(2).padStart(8,"0")}re=re.split("").reverse().join("");if(this.unusedBits){re=re.slice(this.unusedBits).padStart(this.unusedBits,"0")}return parseInt(re,2)}fromNumber(re){let ie=re.toString(2);const oe=ie.length+7>>3;this.unusedBits=(oe<<3)-ie.length;const se=new Uint8Array(oe);ie=ie.padStart(oe<<3,"0").split("").reverse().join("");let ae=0;while(ae{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(6600);se.__exportStar(oe(63897),ie);se.__exportStar(oe(72060),ie)},72060:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.OctetString=void 0;const se=oe(3702);const ae=oe(22420);class OctetString{get byteLength(){return this.buffer.byteLength}get byteOffset(){return 0}constructor(re){if(typeof re==="number"){this.buffer=new ArrayBuffer(re)}else{if(ae.BufferSourceConverter.isBufferSource(re)){this.buffer=ae.BufferSourceConverter.toArrayBuffer(re)}else if(Array.isArray(re)){this.buffer=new Uint8Array(re)}else{this.buffer=new ArrayBuffer(0)}}}fromASN(re){if(!(re instanceof se.OctetString)){throw new TypeError("Argument 'asn' is not instance of ASN.1 OctetString")}this.buffer=re.valueBlock.valueHex;return this}toASN(){return new se.OctetString({valueHex:this.buffer})}toSchema(re){return new se.OctetString({name:re})}}ie.OctetString=OctetString},6600:re=>{var ie;var oe;var se;var ae;var ce;var ue;var le;var fe;var de;var pe;var he;var Ae;var ge;var me;var ye;var ve;var be;var we;var _e;var Ee;var Ce;var Ie;var Se;var Be;var xe;var ke;var Oe;var De;var Pe;var Te;var Qe;(function(ie){var oe=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd){define("tslib",["exports"],(function(re){ie(createExporter(oe,createExporter(re)))}))}else if(true&&typeof re.exports==="object"){ie(createExporter(oe,createExporter(re.exports)))}else{ie(createExporter(oe))}function createExporter(re,ie){if(re!==oe){if(typeof Object.create==="function"){Object.defineProperty(re,"__esModule",{value:true})}else{re.__esModule=true}}return function(oe,se){return re[oe]=ie?ie(oe,se):se}}})((function(re){var Re=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,ie){re.__proto__=ie}||function(re,ie){for(var oe in ie)if(Object.prototype.hasOwnProperty.call(ie,oe))re[oe]=ie[oe]};ie=function(re,ie){if(typeof ie!=="function"&&ie!==null)throw new TypeError("Class extends value "+String(ie)+" is not a constructor or null");Re(re,ie);function __(){this.constructor=re}re.prototype=ie===null?Object.create(ie):(__.prototype=ie.prototype,new __)};oe=Object.assign||function(re){for(var ie,oe=1,se=arguments.length;oe=0;le--)if(ue=re[le])ce=(ae<3?ue(ce):ae>3?ue(ie,oe,ce):ue(ie,oe))||ce;return ae>3&&ce&&Object.defineProperty(ie,oe,ce),ce};ce=function(re,ie){return function(oe,se){ie(oe,se,re)}};ue=function(re,ie,oe,se,ae,ce){function accept(re){if(re!==void 0&&typeof re!=="function")throw new TypeError("Function expected");return re}var ue=se.kind,le=ue==="getter"?"get":ue==="setter"?"set":"value";var fe=!ie&&re?se["static"]?re:re.prototype:null;var de=ie||(fe?Object.getOwnPropertyDescriptor(fe,se.name):{});var pe,he=false;for(var Ae=oe.length-1;Ae>=0;Ae--){var ge={};for(var me in se)ge[me]=me==="access"?{}:se[me];for(var me in se.access)ge.access[me]=se.access[me];ge.addInitializer=function(re){if(he)throw new TypeError("Cannot add initializers after decoration has completed");ce.push(accept(re||null))};var ye=(0,oe[Ae])(ue==="accessor"?{get:de.get,set:de.set}:de[le],ge);if(ue==="accessor"){if(ye===void 0)continue;if(ye===null||typeof ye!=="object")throw new TypeError("Object expected");if(pe=accept(ye.get))de.get=pe;if(pe=accept(ye.set))de.set=pe;if(pe=accept(ye.init))ae.unshift(pe)}else if(pe=accept(ye)){if(ue==="field")ae.unshift(pe);else de[le]=pe}}if(fe)Object.defineProperty(fe,se.name,de);he=true};le=function(re,ie,oe){var se=arguments.length>2;for(var ae=0;ae0&&ce[ce.length-1])&&(le[0]===6||le[0]===2)){oe=0;continue}if(le[0]===3&&(!ce||le[1]>ce[0]&&le[1]=re.length)re=void 0;return{value:re&&re[se++],done:!re}}};throw new TypeError(ie?"Object is not iterable.":"Symbol.iterator is not defined.")};ye=function(re,ie){var oe=typeof Symbol==="function"&&re[Symbol.iterator];if(!oe)return re;var se=oe.call(re),ae,ce=[],ue;try{while((ie===void 0||ie-- >0)&&!(ae=se.next()).done)ce.push(ae.value)}catch(re){ue={error:re}}finally{try{if(ae&&!ae.done&&(oe=se["return"]))oe.call(se)}finally{if(ue)throw ue.error}}return ce};ve=function(){for(var re=[],ie=0;ie1||resume(re,ie)}))};if(ie)ae[re]=ie(ae[re])}}function resume(re,ie){try{step(se[re](ie))}catch(re){settle(ce[0][3],re)}}function step(re){re.value instanceof _e?Promise.resolve(re.value.v).then(fulfill,reject):settle(ce[0][2],re)}function fulfill(re){resume("next",re)}function reject(re){resume("throw",re)}function settle(re,ie){if(re(ie),ce.shift(),ce.length)resume(ce[0][0],ce[0][1])}};Ce=function(re){var ie,oe;return ie={},verb("next"),verb("throw",(function(re){throw re})),verb("return"),ie[Symbol.iterator]=function(){return this},ie;function verb(se,ae){ie[se]=re[se]?function(ie){return(oe=!oe)?{value:_e(re[se](ie)),done:false}:ae?ae(ie):ie}:ae}};Ie=function(re){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ie=re[Symbol.asyncIterator],oe;return ie?ie.call(re):(re=typeof me==="function"?me(re):re[Symbol.iterator](),oe={},verb("next"),verb("throw"),verb("return"),oe[Symbol.asyncIterator]=function(){return this},oe);function verb(ie){oe[ie]=re[ie]&&function(oe){return new Promise((function(se,ae){oe=re[ie](oe),settle(se,ae,oe.done,oe.value)}))}}function settle(re,ie,oe,se){Promise.resolve(se).then((function(ie){re({value:ie,done:oe})}),ie)}};Se=function(re,ie){if(Object.defineProperty){Object.defineProperty(re,"raw",{value:ie})}else{re.raw=ie}return re};var Me=Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie};Be=function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))Pe(ie,re,oe);Me(ie,re);return ie};xe=function(re){return re&&re.__esModule?re:{default:re}};ke=function(re,ie,oe,se){if(oe==="a"&&!se)throw new TypeError("Private accessor was defined without a getter");if(typeof ie==="function"?re!==ie||!se:!ie.has(re))throw new TypeError("Cannot read private member from an object whose class did not declare it");return oe==="m"?se:oe==="a"?se.call(re):se?se.value:ie.get(re)};Oe=function(re,ie,oe,se,ae){if(se==="m")throw new TypeError("Private method is not writable");if(se==="a"&&!ae)throw new TypeError("Private accessor was defined without a setter");if(typeof ie==="function"?re!==ie||!ae:!ie.has(re))throw new TypeError("Cannot write private member to an object whose class did not declare it");return se==="a"?ae.call(re,oe):ae?ae.value=oe:ie.set(re,oe),oe};De=function(re,ie){if(ie===null||typeof ie!=="object"&&typeof ie!=="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof re==="function"?ie===re:re.has(ie)};Te=function(re,ie,oe){if(ie!==null&&ie!==void 0){if(typeof ie!=="object"&&typeof ie!=="function")throw new TypeError("Object expected.");var se,ae;if(oe){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");se=ie[Symbol.asyncDispose]}if(se===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");se=ie[Symbol.dispose];if(oe)ae=se}if(typeof se!=="function")throw new TypeError("Object not disposable.");if(ae)se=function(){try{ae.call(this)}catch(re){return Promise.reject(re)}};re.stack.push({value:ie,dispose:se,async:oe})}else if(oe){re.stack.push({async:true})}return ie};var Ne=typeof SuppressedError==="function"?SuppressedError:function(re,ie,oe){var se=new Error(oe);return se.name="SuppressedError",se.error=re,se.suppressed=ie,se};Qe=function(re){function fail(ie){re.error=re.hasError?new Ne(ie,re.error,"An error was suppressed during disposal."):ie;re.hasError=true}function next(){while(re.stack.length){var ie=re.stack.pop();try{var oe=ie.dispose&&ie.dispose.call(ie.value);if(ie.async)return Promise.resolve(oe).then(next,(function(re){fail(re);return next()}))}catch(re){fail(re)}}if(re.hasError)throw re.error}return next()};re("__extends",ie);re("__assign",oe);re("__rest",se);re("__decorate",ae);re("__param",ce);re("__esDecorate",ue);re("__runInitializers",le);re("__propKey",fe);re("__setFunctionName",de);re("__metadata",pe);re("__awaiter",he);re("__generator",Ae);re("__exportStar",ge);re("__createBinding",Pe);re("__values",me);re("__read",ye);re("__spread",ve);re("__spreadArrays",be);re("__spreadArray",we);re("__await",_e);re("__asyncGenerator",Ee);re("__asyncDelegator",Ce);re("__asyncValues",Ie);re("__makeTemplateObject",Se);re("__importStar",Be);re("__importDefault",xe);re("__classPrivateFieldGet",ke);re("__classPrivateFieldSet",Oe);re("__classPrivateFieldIn",De);re("__addDisposableResource",Te);re("__disposeResources",Qe)}))},33407:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.ACClearAttrs=void 0;const se=oe(4773);const ae=oe(53499);const ce=oe(82288);class ACClearAttrs{constructor(re={}){this.acIssuer=new ce.GeneralName;this.acSerial=0;this.attrs=[];Object.assign(this,re)}}ie.ACClearAttrs=ACClearAttrs;se.__decorate([(0,ae.AsnProp)({type:ce.GeneralName})],ACClearAttrs.prototype,"acIssuer",void 0);se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.Integer})],ACClearAttrs.prototype,"acSerial",void 0);se.__decorate([(0,ae.AsnProp)({type:ce.Attribute,repeated:"sequence"})],ACClearAttrs.prototype,"attrs",void 0)},7881:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.AAControls=void 0;const se=oe(4773);const ae=oe(53499);const ce=oe(38160);class AAControls{constructor(re={}){this.permitUnSpecified=true;Object.assign(this,re)}}ie.AAControls=AAControls;se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.Integer,optional:true})],AAControls.prototype,"pathLenConstraint",void 0);se.__decorate([(0,ae.AsnProp)({type:ce.AttrSpec,implicit:true,context:0,optional:true})],AAControls.prototype,"permittedAttrs",void 0);se.__decorate([(0,ae.AsnProp)({type:ce.AttrSpec,implicit:true,context:1,optional:true})],AAControls.prototype,"excludedAttrs",void 0);se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.Boolean,defaultValue:true})],AAControls.prototype,"permitUnSpecified",void 0)},30480:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.AttCertIssuer=void 0;const se=oe(4773);const ae=oe(53499);const ce=oe(82288);const ue=oe(91249);let le=class AttCertIssuer{constructor(re={}){Object.assign(this,re)}};ie.AttCertIssuer=le;se.__decorate([(0,ae.AsnProp)({type:ce.GeneralName,repeated:"sequence"})],le.prototype,"v1Form",void 0);se.__decorate([(0,ae.AsnProp)({type:ue.V2Form,context:0,implicit:true})],le.prototype,"v2Form",void 0);ie.AttCertIssuer=le=se.__decorate([(0,ae.AsnType)({type:ae.AsnTypeTypes.Choice})],le)},45356:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.AttCertValidityPeriod=void 0;const se=oe(4773);const ae=oe(53499);class AttCertValidityPeriod{constructor(re={}){this.notBeforeTime=new Date;this.notAfterTime=new Date;Object.assign(this,re)}}ie.AttCertValidityPeriod=AttCertValidityPeriod;se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.GeneralizedTime})],AttCertValidityPeriod.prototype,"notBeforeTime",void 0);se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.GeneralizedTime})],AttCertValidityPeriod.prototype,"notAfterTime",void 0)},38160:(re,ie,oe)=>{"use strict";var se;Object.defineProperty(ie,"__esModule",{value:true});ie.AttrSpec=void 0;const ae=oe(4773);const ce=oe(53499);let ue=se=class AttrSpec extends ce.AsnArray{constructor(re){super(re);Object.setPrototypeOf(this,se.prototype)}};ie.AttrSpec=ue;ie.AttrSpec=ue=se=ae.__decorate([(0,ce.AsnType)({type:ce.AsnTypeTypes.Sequence,itemType:ce.AsnPropTypes.ObjectIdentifier})],ue)},67943:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.AttributeCertificate=void 0;const se=oe(4773);const ae=oe(53499);const ce=oe(82288);const ue=oe(85881);class AttributeCertificate{constructor(re={}){this.acinfo=new ue.AttributeCertificateInfo;this.signatureAlgorithm=new ce.AlgorithmIdentifier;this.signatureValue=new ArrayBuffer(0);Object.assign(this,re)}}ie.AttributeCertificate=AttributeCertificate;se.__decorate([(0,ae.AsnProp)({type:ue.AttributeCertificateInfo})],AttributeCertificate.prototype,"acinfo",void 0);se.__decorate([(0,ae.AsnProp)({type:ce.AlgorithmIdentifier})],AttributeCertificate.prototype,"signatureAlgorithm",void 0);se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.BitString})],AttributeCertificate.prototype,"signatureValue",void 0)},85881:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.AttributeCertificateInfo=ie.AttCertVersion=void 0;const se=oe(4773);const ae=oe(53499);const ce=oe(82288);const ue=oe(97195);const le=oe(30480);const fe=oe(45356);var de;(function(re){re[re["v2"]=1]="v2"})(de||(ie.AttCertVersion=de={}));class AttributeCertificateInfo{constructor(re={}){this.version=de.v2;this.holder=new ue.Holder;this.issuer=new le.AttCertIssuer;this.signature=new ce.AlgorithmIdentifier;this.serialNumber=new ArrayBuffer(0);this.attrCertValidityPeriod=new fe.AttCertValidityPeriod;this.attributes=[];Object.assign(this,re)}}ie.AttributeCertificateInfo=AttributeCertificateInfo;se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.Integer})],AttributeCertificateInfo.prototype,"version",void 0);se.__decorate([(0,ae.AsnProp)({type:ue.Holder})],AttributeCertificateInfo.prototype,"holder",void 0);se.__decorate([(0,ae.AsnProp)({type:le.AttCertIssuer})],AttributeCertificateInfo.prototype,"issuer",void 0);se.__decorate([(0,ae.AsnProp)({type:ce.AlgorithmIdentifier})],AttributeCertificateInfo.prototype,"signature",void 0);se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.Integer,converter:ae.AsnIntegerArrayBufferConverter})],AttributeCertificateInfo.prototype,"serialNumber",void 0);se.__decorate([(0,ae.AsnProp)({type:fe.AttCertValidityPeriod})],AttributeCertificateInfo.prototype,"attrCertValidityPeriod",void 0);se.__decorate([(0,ae.AsnProp)({type:ce.Attribute,repeated:"sequence"})],AttributeCertificateInfo.prototype,"attributes",void 0);se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.BitString,optional:true})],AttributeCertificateInfo.prototype,"issuerUniqueID",void 0);se.__decorate([(0,ae.AsnProp)({type:ce.Extensions,optional:true})],AttributeCertificateInfo.prototype,"extensions",void 0)},2519:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.ClassList=ie.ClassListFlags=void 0;const se=oe(53499);var ae;(function(re){re[re["unmarked"]=1]="unmarked";re[re["unclassified"]=2]="unclassified";re[re["restricted"]=4]="restricted";re[re["confidential"]=8]="confidential";re[re["secret"]=16]="secret";re[re["topSecret"]=32]="topSecret"})(ae||(ie.ClassListFlags=ae={}));class ClassList extends se.BitString{}ie.ClassList=ClassList},31246:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.Clearance=void 0;const se=oe(4773);const ae=oe(53499);const ce=oe(2519);const ue=oe(46789);class Clearance{constructor(re={}){this.policyId="";this.classList=new ce.ClassList(ce.ClassListFlags.unclassified);Object.assign(this,re)}}ie.Clearance=Clearance;se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.ObjectIdentifier})],Clearance.prototype,"policyId",void 0);se.__decorate([(0,ae.AsnProp)({type:ce.ClassList,defaultValue:new ce.ClassList(ce.ClassListFlags.unclassified)})],Clearance.prototype,"classList",void 0);se.__decorate([(0,ae.AsnProp)({type:ue.SecurityCategory,repeated:"set"})],Clearance.prototype,"securityCategories",void 0)},97195:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.Holder=void 0;const se=oe(4773);const ae=oe(53499);const ce=oe(10462);const ue=oe(82288);const le=oe(51952);class Holder{constructor(re={}){Object.assign(this,re)}}ie.Holder=Holder;se.__decorate([(0,ae.AsnProp)({type:ce.IssuerSerial,implicit:true,context:0,optional:true})],Holder.prototype,"baseCertificateID",void 0);se.__decorate([(0,ae.AsnProp)({type:ue.GeneralNames,implicit:true,context:1,optional:true})],Holder.prototype,"entityName",void 0);se.__decorate([(0,ae.AsnProp)({type:le.ObjectDigestInfo,implicit:true,context:2,optional:true})],Holder.prototype,"objectDigestInfo",void 0)},82639:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.IetfAttrSyntax=ie.IetfAttrSyntaxValueChoices=void 0;const se=oe(4773);const ae=oe(53499);const ce=oe(82288);class IetfAttrSyntaxValueChoices{constructor(re={}){Object.assign(this,re)}}ie.IetfAttrSyntaxValueChoices=IetfAttrSyntaxValueChoices;se.__decorate([(0,ae.AsnProp)({type:ae.OctetString})],IetfAttrSyntaxValueChoices.prototype,"cotets",void 0);se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.ObjectIdentifier})],IetfAttrSyntaxValueChoices.prototype,"oid",void 0);se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.Utf8String})],IetfAttrSyntaxValueChoices.prototype,"string",void 0);class IetfAttrSyntax{constructor(re={}){this.values=[];Object.assign(this,re)}}ie.IetfAttrSyntax=IetfAttrSyntax;se.__decorate([(0,ae.AsnProp)({type:ce.GeneralNames,implicit:true,context:0,optional:true})],IetfAttrSyntax.prototype,"policyAuthority",void 0);se.__decorate([(0,ae.AsnProp)({type:IetfAttrSyntaxValueChoices,repeated:"sequence"})],IetfAttrSyntax.prototype,"values",void 0)},64263:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(4773);se.__exportStar(oe(33407),ie);se.__exportStar(oe(7881),ie);se.__exportStar(oe(30480),ie);se.__exportStar(oe(45356),ie);se.__exportStar(oe(38160),ie);se.__exportStar(oe(67943),ie);se.__exportStar(oe(85881),ie);se.__exportStar(oe(2519),ie);se.__exportStar(oe(31246),ie);se.__exportStar(oe(97195),ie);se.__exportStar(oe(82639),ie);se.__exportStar(oe(10462),ie);se.__exportStar(oe(51952),ie);se.__exportStar(oe(59851),ie);se.__exportStar(oe(13945),ie);se.__exportStar(oe(89422),ie);se.__exportStar(oe(46789),ie);se.__exportStar(oe(80072),ie);se.__exportStar(oe(27260),ie);se.__exportStar(oe(91249),ie)},10462:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.IssuerSerial=void 0;const se=oe(4773);const ae=oe(53499);const ce=oe(82288);class IssuerSerial{constructor(re={}){this.issuer=new ce.GeneralNames;this.serial=new ArrayBuffer(0);this.issuerUID=new ArrayBuffer(0);Object.assign(this,re)}}ie.IssuerSerial=IssuerSerial;se.__decorate([(0,ae.AsnProp)({type:ce.GeneralNames})],IssuerSerial.prototype,"issuer",void 0);se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.Integer,converter:ae.AsnIntegerArrayBufferConverter})],IssuerSerial.prototype,"serial",void 0);se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.BitString,optional:true})],IssuerSerial.prototype,"issuerUID",void 0)},51952:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.ObjectDigestInfo=ie.DigestedObjectType=void 0;const se=oe(4773);const ae=oe(53499);const ce=oe(82288);var ue;(function(re){re[re["publicKey"]=0]="publicKey";re[re["publicKeyCert"]=1]="publicKeyCert";re[re["otherObjectTypes"]=2]="otherObjectTypes"})(ue||(ie.DigestedObjectType=ue={}));class ObjectDigestInfo{constructor(re={}){this.digestedObjectType=ue.publicKey;this.digestAlgorithm=new ce.AlgorithmIdentifier;this.objectDigest=new ArrayBuffer(0);Object.assign(this,re)}}ie.ObjectDigestInfo=ObjectDigestInfo;se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.Enumerated})],ObjectDigestInfo.prototype,"digestedObjectType",void 0);se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.ObjectIdentifier,optional:true})],ObjectDigestInfo.prototype,"otherObjectTypeID",void 0);se.__decorate([(0,ae.AsnProp)({type:ce.AlgorithmIdentifier})],ObjectDigestInfo.prototype,"digestAlgorithm",void 0);se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.BitString})],ObjectDigestInfo.prototype,"objectDigest",void 0)},59851:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.id_at_clearance=ie.id_at_role=ie.id_at=ie.id_aca_encAttrs=ie.id_aca_group=ie.id_aca_chargingIdentity=ie.id_aca_accessIdentity=ie.id_aca_authenticationInfo=ie.id_aca=ie.id_ce_targetInformation=ie.id_pe_ac_proxying=ie.id_pe_aaControls=ie.id_pe_ac_auditIdentity=void 0;const se=oe(82288);ie.id_pe_ac_auditIdentity=`${se.id_pe}.4`;ie.id_pe_aaControls=`${se.id_pe}.6`;ie.id_pe_ac_proxying=`${se.id_pe}.10`;ie.id_ce_targetInformation=`${se.id_ce}.55`;ie.id_aca=`${se.id_pkix}.10`;ie.id_aca_authenticationInfo=`${ie.id_aca}.1`;ie.id_aca_accessIdentity=`${ie.id_aca}.2`;ie.id_aca_chargingIdentity=`${ie.id_aca}.3`;ie.id_aca_group=`${ie.id_aca}.4`;ie.id_aca_encAttrs=`${ie.id_aca}.6`;ie.id_at="2.5.4";ie.id_at_role=`${ie.id_at}.72`;ie.id_at_clearance="2.5.1.5.55"},13945:(re,ie,oe)=>{"use strict";var se;Object.defineProperty(ie,"__esModule",{value:true});ie.ProxyInfo=void 0;const ae=oe(4773);const ce=oe(53499);const ue=oe(27260);let le=se=class ProxyInfo extends ce.AsnArray{constructor(re){super(re);Object.setPrototypeOf(this,se.prototype)}};ie.ProxyInfo=le;ie.ProxyInfo=le=se=ae.__decorate([(0,ce.AsnType)({type:ce.AsnTypeTypes.Sequence,itemType:ue.Targets})],le)},89422:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.RoleSyntax=void 0;const se=oe(4773);const ae=oe(53499);const ce=oe(82288);class RoleSyntax{constructor(re={}){Object.assign(this,re)}}ie.RoleSyntax=RoleSyntax;se.__decorate([(0,ae.AsnProp)({type:ce.GeneralNames,implicit:true,context:0,optional:true})],RoleSyntax.prototype,"roleAuthority",void 0);se.__decorate([(0,ae.AsnProp)({type:ce.GeneralName,implicit:true,context:1})],RoleSyntax.prototype,"roleName",void 0)},46789:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.SecurityCategory=void 0;const se=oe(4773);const ae=oe(53499);class SecurityCategory{constructor(re={}){this.type="";this.value=new ArrayBuffer(0);Object.assign(this,re)}}ie.SecurityCategory=SecurityCategory;se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.ObjectIdentifier,implicit:true,context:0})],SecurityCategory.prototype,"type",void 0);se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.Any,implicit:true,context:1})],SecurityCategory.prototype,"value",void 0)},80072:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.SvceAuthInfo=void 0;const se=oe(4773);const ae=oe(53499);const ce=oe(82288);class SvceAuthInfo{constructor(re={}){this.service=new ce.GeneralName;this.ident=new ce.GeneralName;Object.assign(this,re)}}ie.SvceAuthInfo=SvceAuthInfo;se.__decorate([(0,ae.AsnProp)({type:ce.GeneralName})],SvceAuthInfo.prototype,"service",void 0);se.__decorate([(0,ae.AsnProp)({type:ce.GeneralName})],SvceAuthInfo.prototype,"ident",void 0);se.__decorate([(0,ae.AsnProp)({type:ae.OctetString,optional:true})],SvceAuthInfo.prototype,"authInfo",void 0)},27260:(re,ie,oe)=>{"use strict";var se;Object.defineProperty(ie,"__esModule",{value:true});ie.Targets=ie.Target=ie.TargetCert=void 0;const ae=oe(4773);const ce=oe(53499);const ue=oe(82288);const le=oe(10462);const fe=oe(51952);class TargetCert{constructor(re={}){this.targetCertificate=new le.IssuerSerial;Object.assign(this,re)}}ie.TargetCert=TargetCert;ae.__decorate([(0,ce.AsnProp)({type:le.IssuerSerial})],TargetCert.prototype,"targetCertificate",void 0);ae.__decorate([(0,ce.AsnProp)({type:ue.GeneralName,optional:true})],TargetCert.prototype,"targetName",void 0);ae.__decorate([(0,ce.AsnProp)({type:fe.ObjectDigestInfo,optional:true})],TargetCert.prototype,"certDigestInfo",void 0);let de=class Target{constructor(re={}){Object.assign(this,re)}};ie.Target=de;ae.__decorate([(0,ce.AsnProp)({type:ue.GeneralName,context:0,implicit:true})],de.prototype,"targetName",void 0);ae.__decorate([(0,ce.AsnProp)({type:ue.GeneralName,context:1,implicit:true})],de.prototype,"targetGroup",void 0);ae.__decorate([(0,ce.AsnProp)({type:TargetCert,context:2,implicit:true})],de.prototype,"targetCert",void 0);ie.Target=de=ae.__decorate([(0,ce.AsnType)({type:ce.AsnTypeTypes.Choice})],de);let pe=se=class Targets extends ce.AsnArray{constructor(re){super(re);Object.setPrototypeOf(this,se.prototype)}};ie.Targets=pe;ie.Targets=pe=se=ae.__decorate([(0,ce.AsnType)({type:ce.AsnTypeTypes.Sequence,itemType:de})],pe)},91249:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.V2Form=void 0;const se=oe(4773);const ae=oe(53499);const ce=oe(82288);const ue=oe(10462);const le=oe(51952);class V2Form{constructor(re={}){Object.assign(this,re)}}ie.V2Form=V2Form;se.__decorate([(0,ae.AsnProp)({type:ce.GeneralNames,optional:true})],V2Form.prototype,"issuerName",void 0);se.__decorate([(0,ae.AsnProp)({type:ue.IssuerSerial,context:0,implicit:true,optional:true})],V2Form.prototype,"baseCertificateID",void 0);se.__decorate([(0,ae.AsnProp)({type:le.ObjectDigestInfo,context:1,implicit:true,optional:true})],V2Form.prototype,"objectDigestInfo",void 0)},4773:re=>{var ie;var oe;var se;var ae;var ce;var ue;var le;var fe;var de;var pe;var he;var Ae;var ge;var me;var ye;var ve;var be;var we;var _e;var Ee;var Ce;var Ie;var Se;var Be;var xe;var ke;var Oe;var De;var Pe;var Te;var Qe;(function(ie){var oe=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd){define("tslib",["exports"],(function(re){ie(createExporter(oe,createExporter(re)))}))}else if(true&&typeof re.exports==="object"){ie(createExporter(oe,createExporter(re.exports)))}else{ie(createExporter(oe))}function createExporter(re,ie){if(re!==oe){if(typeof Object.create==="function"){Object.defineProperty(re,"__esModule",{value:true})}else{re.__esModule=true}}return function(oe,se){return re[oe]=ie?ie(oe,se):se}}})((function(re){var Re=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,ie){re.__proto__=ie}||function(re,ie){for(var oe in ie)if(Object.prototype.hasOwnProperty.call(ie,oe))re[oe]=ie[oe]};ie=function(re,ie){if(typeof ie!=="function"&&ie!==null)throw new TypeError("Class extends value "+String(ie)+" is not a constructor or null");Re(re,ie);function __(){this.constructor=re}re.prototype=ie===null?Object.create(ie):(__.prototype=ie.prototype,new __)};oe=Object.assign||function(re){for(var ie,oe=1,se=arguments.length;oe=0;le--)if(ue=re[le])ce=(ae<3?ue(ce):ae>3?ue(ie,oe,ce):ue(ie,oe))||ce;return ae>3&&ce&&Object.defineProperty(ie,oe,ce),ce};ce=function(re,ie){return function(oe,se){ie(oe,se,re)}};ue=function(re,ie,oe,se,ae,ce){function accept(re){if(re!==void 0&&typeof re!=="function")throw new TypeError("Function expected");return re}var ue=se.kind,le=ue==="getter"?"get":ue==="setter"?"set":"value";var fe=!ie&&re?se["static"]?re:re.prototype:null;var de=ie||(fe?Object.getOwnPropertyDescriptor(fe,se.name):{});var pe,he=false;for(var Ae=oe.length-1;Ae>=0;Ae--){var ge={};for(var me in se)ge[me]=me==="access"?{}:se[me];for(var me in se.access)ge.access[me]=se.access[me];ge.addInitializer=function(re){if(he)throw new TypeError("Cannot add initializers after decoration has completed");ce.push(accept(re||null))};var ye=(0,oe[Ae])(ue==="accessor"?{get:de.get,set:de.set}:de[le],ge);if(ue==="accessor"){if(ye===void 0)continue;if(ye===null||typeof ye!=="object")throw new TypeError("Object expected");if(pe=accept(ye.get))de.get=pe;if(pe=accept(ye.set))de.set=pe;if(pe=accept(ye.init))ae.unshift(pe)}else if(pe=accept(ye)){if(ue==="field")ae.unshift(pe);else de[le]=pe}}if(fe)Object.defineProperty(fe,se.name,de);he=true};le=function(re,ie,oe){var se=arguments.length>2;for(var ae=0;ae0&&ce[ce.length-1])&&(le[0]===6||le[0]===2)){oe=0;continue}if(le[0]===3&&(!ce||le[1]>ce[0]&&le[1]=re.length)re=void 0;return{value:re&&re[se++],done:!re}}};throw new TypeError(ie?"Object is not iterable.":"Symbol.iterator is not defined.")};ye=function(re,ie){var oe=typeof Symbol==="function"&&re[Symbol.iterator];if(!oe)return re;var se=oe.call(re),ae,ce=[],ue;try{while((ie===void 0||ie-- >0)&&!(ae=se.next()).done)ce.push(ae.value)}catch(re){ue={error:re}}finally{try{if(ae&&!ae.done&&(oe=se["return"]))oe.call(se)}finally{if(ue)throw ue.error}}return ce};ve=function(){for(var re=[],ie=0;ie1||resume(re,ie)}))};if(ie)ae[re]=ie(ae[re])}}function resume(re,ie){try{step(se[re](ie))}catch(re){settle(ce[0][3],re)}}function step(re){re.value instanceof _e?Promise.resolve(re.value.v).then(fulfill,reject):settle(ce[0][2],re)}function fulfill(re){resume("next",re)}function reject(re){resume("throw",re)}function settle(re,ie){if(re(ie),ce.shift(),ce.length)resume(ce[0][0],ce[0][1])}};Ce=function(re){var ie,oe;return ie={},verb("next"),verb("throw",(function(re){throw re})),verb("return"),ie[Symbol.iterator]=function(){return this},ie;function verb(se,ae){ie[se]=re[se]?function(ie){return(oe=!oe)?{value:_e(re[se](ie)),done:false}:ae?ae(ie):ie}:ae}};Ie=function(re){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ie=re[Symbol.asyncIterator],oe;return ie?ie.call(re):(re=typeof me==="function"?me(re):re[Symbol.iterator](),oe={},verb("next"),verb("throw"),verb("return"),oe[Symbol.asyncIterator]=function(){return this},oe);function verb(ie){oe[ie]=re[ie]&&function(oe){return new Promise((function(se,ae){oe=re[ie](oe),settle(se,ae,oe.done,oe.value)}))}}function settle(re,ie,oe,se){Promise.resolve(se).then((function(ie){re({value:ie,done:oe})}),ie)}};Se=function(re,ie){if(Object.defineProperty){Object.defineProperty(re,"raw",{value:ie})}else{re.raw=ie}return re};var Me=Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie};Be=function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))Pe(ie,re,oe);Me(ie,re);return ie};xe=function(re){return re&&re.__esModule?re:{default:re}};ke=function(re,ie,oe,se){if(oe==="a"&&!se)throw new TypeError("Private accessor was defined without a getter");if(typeof ie==="function"?re!==ie||!se:!ie.has(re))throw new TypeError("Cannot read private member from an object whose class did not declare it");return oe==="m"?se:oe==="a"?se.call(re):se?se.value:ie.get(re)};Oe=function(re,ie,oe,se,ae){if(se==="m")throw new TypeError("Private method is not writable");if(se==="a"&&!ae)throw new TypeError("Private accessor was defined without a setter");if(typeof ie==="function"?re!==ie||!ae:!ie.has(re))throw new TypeError("Cannot write private member to an object whose class did not declare it");return se==="a"?ae.call(re,oe):ae?ae.value=oe:ie.set(re,oe),oe};De=function(re,ie){if(ie===null||typeof ie!=="object"&&typeof ie!=="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof re==="function"?ie===re:re.has(ie)};Te=function(re,ie,oe){if(ie!==null&&ie!==void 0){if(typeof ie!=="object"&&typeof ie!=="function")throw new TypeError("Object expected.");var se,ae;if(oe){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");se=ie[Symbol.asyncDispose]}if(se===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");se=ie[Symbol.dispose];if(oe)ae=se}if(typeof se!=="function")throw new TypeError("Object not disposable.");if(ae)se=function(){try{ae.call(this)}catch(re){return Promise.reject(re)}};re.stack.push({value:ie,dispose:se,async:oe})}else if(oe){re.stack.push({async:true})}return ie};var Ne=typeof SuppressedError==="function"?SuppressedError:function(re,ie,oe){var se=new Error(oe);return se.name="SuppressedError",se.error=re,se.suppressed=ie,se};Qe=function(re){function fail(ie){re.error=re.hasError?new Ne(ie,re.error,"An error was suppressed during disposal."):ie;re.hasError=true}function next(){while(re.stack.length){var ie=re.stack.pop();try{var oe=ie.dispose&&ie.dispose.call(ie.value);if(ie.async)return Promise.resolve(oe).then(next,(function(re){fail(re);return next()}))}catch(re){fail(re)}}if(re.hasError)throw re.error}return next()};re("__extends",ie);re("__assign",oe);re("__rest",se);re("__decorate",ae);re("__param",ce);re("__esDecorate",ue);re("__runInitializers",le);re("__propKey",fe);re("__setFunctionName",de);re("__metadata",pe);re("__awaiter",he);re("__generator",Ae);re("__exportStar",ge);re("__createBinding",Pe);re("__values",me);re("__read",ye);re("__spread",ve);re("__spreadArrays",be);re("__spreadArray",we);re("__await",_e);re("__asyncGenerator",Ee);re("__asyncDelegator",Ce);re("__asyncValues",Ie);re("__makeTemplateObject",Se);re("__importStar",Be);re("__importDefault",xe);re("__classPrivateFieldGet",ke);re("__classPrivateFieldSet",Oe);re("__classPrivateFieldIn",De);re("__addDisposableResource",Te);re("__disposeResources",Qe)}))},38266:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.AlgorithmIdentifier=void 0;const se=oe(8713);const ae=oe(53499);const ce=oe(22420);class AlgorithmIdentifier{constructor(re={}){this.algorithm="";Object.assign(this,re)}isEqual(re){return re instanceof AlgorithmIdentifier&&re.algorithm==this.algorithm&&(re.parameters&&this.parameters&&ce.isEqual(re.parameters,this.parameters)||re.parameters===this.parameters)}}ie.AlgorithmIdentifier=AlgorithmIdentifier;se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.ObjectIdentifier})],AlgorithmIdentifier.prototype,"algorithm",void 0);se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.Any,optional:true})],AlgorithmIdentifier.prototype,"parameters",void 0)},2171:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.Attribute=void 0;const se=oe(8713);const ae=oe(53499);class Attribute{constructor(re={}){this.type="";this.values=[];Object.assign(this,re)}}ie.Attribute=Attribute;se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.ObjectIdentifier})],Attribute.prototype,"type",void 0);se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.Any,repeated:"set"})],Attribute.prototype,"values",void 0)},25974:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.Certificate=void 0;const se=oe(8713);const ae=oe(53499);const ce=oe(38266);const ue=oe(49117);class Certificate{constructor(re={}){this.tbsCertificate=new ue.TBSCertificate;this.signatureAlgorithm=new ce.AlgorithmIdentifier;this.signatureValue=new ArrayBuffer(0);Object.assign(this,re)}}ie.Certificate=Certificate;se.__decorate([(0,ae.AsnProp)({type:ue.TBSCertificate})],Certificate.prototype,"tbsCertificate",void 0);se.__decorate([(0,ae.AsnProp)({type:ce.AlgorithmIdentifier})],Certificate.prototype,"signatureAlgorithm",void 0);se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.BitString})],Certificate.prototype,"signatureValue",void 0)},13554:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.CertificateList=void 0;const se=oe(8713);const ae=oe(53499);const ce=oe(38266);const ue=oe(13113);class CertificateList{constructor(re={}){this.tbsCertList=new ue.TBSCertList;this.signatureAlgorithm=new ce.AlgorithmIdentifier;this.signature=new ArrayBuffer(0);Object.assign(this,re)}}ie.CertificateList=CertificateList;se.__decorate([(0,ae.AsnProp)({type:ue.TBSCertList})],CertificateList.prototype,"tbsCertList",void 0);se.__decorate([(0,ae.AsnProp)({type:ce.AlgorithmIdentifier})],CertificateList.prototype,"signatureAlgorithm",void 0);se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.BitString})],CertificateList.prototype,"signature",void 0)},77908:(re,ie,oe)=>{"use strict";var se;Object.defineProperty(ie,"__esModule",{value:true});ie.Extensions=ie.Extension=void 0;const ae=oe(8713);const ce=oe(53499);class Extension{constructor(re={}){this.extnID="";this.critical=Extension.CRITICAL;this.extnValue=new ce.OctetString;Object.assign(this,re)}}ie.Extension=Extension;Extension.CRITICAL=false;ae.__decorate([(0,ce.AsnProp)({type:ce.AsnPropTypes.ObjectIdentifier})],Extension.prototype,"extnID",void 0);ae.__decorate([(0,ce.AsnProp)({type:ce.AsnPropTypes.Boolean,defaultValue:Extension.CRITICAL})],Extension.prototype,"critical",void 0);ae.__decorate([(0,ce.AsnProp)({type:ce.OctetString})],Extension.prototype,"extnValue",void 0);let ue=se=class Extensions extends ce.AsnArray{constructor(re){super(re);Object.setPrototypeOf(this,se.prototype)}};ie.Extensions=ue;ie.Extensions=ue=se=ae.__decorate([(0,ce.AsnType)({type:ce.AsnTypeTypes.Sequence,itemType:Extension})],ue)},677:(re,ie,oe)=>{"use strict";var se;Object.defineProperty(ie,"__esModule",{value:true});ie.AuthorityInfoAccessSyntax=ie.AccessDescription=ie.id_pe_authorityInfoAccess=void 0;const ae=oe(8713);const ce=oe(53499);const ue=oe(83670);const le=oe(70725);ie.id_pe_authorityInfoAccess=`${le.id_pe}.1`;class AccessDescription{constructor(re={}){this.accessMethod="";this.accessLocation=new ue.GeneralName;Object.assign(this,re)}}ie.AccessDescription=AccessDescription;ae.__decorate([(0,ce.AsnProp)({type:ce.AsnPropTypes.ObjectIdentifier})],AccessDescription.prototype,"accessMethod",void 0);ae.__decorate([(0,ce.AsnProp)({type:ue.GeneralName})],AccessDescription.prototype,"accessLocation",void 0);let fe=se=class AuthorityInfoAccessSyntax extends ce.AsnArray{constructor(re){super(re);Object.setPrototypeOf(this,se.prototype)}};ie.AuthorityInfoAccessSyntax=fe;ie.AuthorityInfoAccessSyntax=fe=se=ae.__decorate([(0,ce.AsnType)({type:ce.AsnTypeTypes.Sequence,itemType:AccessDescription})],fe)},11583:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.AuthorityKeyIdentifier=ie.KeyIdentifier=ie.id_ce_authorityKeyIdentifier=void 0;const se=oe(8713);const ae=oe(53499);const ce=oe(83670);const ue=oe(70725);ie.id_ce_authorityKeyIdentifier=`${ue.id_ce}.35`;class KeyIdentifier extends ae.OctetString{}ie.KeyIdentifier=KeyIdentifier;class AuthorityKeyIdentifier{constructor(re={}){if(re){Object.assign(this,re)}}}ie.AuthorityKeyIdentifier=AuthorityKeyIdentifier;se.__decorate([(0,ae.AsnProp)({type:KeyIdentifier,context:0,optional:true,implicit:true})],AuthorityKeyIdentifier.prototype,"keyIdentifier",void 0);se.__decorate([(0,ae.AsnProp)({type:ce.GeneralName,context:1,optional:true,implicit:true,repeated:"sequence"})],AuthorityKeyIdentifier.prototype,"authorityCertIssuer",void 0);se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.Integer,context:2,optional:true,implicit:true,converter:ae.AsnIntegerArrayBufferConverter})],AuthorityKeyIdentifier.prototype,"authorityCertSerialNumber",void 0)},20621:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.BasicConstraints=ie.id_ce_basicConstraints=void 0;const se=oe(8713);const ae=oe(53499);const ce=oe(70725);ie.id_ce_basicConstraints=`${ce.id_ce}.19`;class BasicConstraints{constructor(re={}){this.cA=false;Object.assign(this,re)}}ie.BasicConstraints=BasicConstraints;se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.Boolean,defaultValue:false})],BasicConstraints.prototype,"cA",void 0);se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.Integer,optional:true})],BasicConstraints.prototype,"pathLenConstraint",void 0)},93151:(re,ie,oe)=>{"use strict";var se;Object.defineProperty(ie,"__esModule",{value:true});ie.CertificateIssuer=ie.id_ce_certificateIssuer=void 0;const ae=oe(8713);const ce=oe(53499);const ue=oe(13201);const le=oe(70725);ie.id_ce_certificateIssuer=`${le.id_ce}.29`;let fe=se=class CertificateIssuer extends ue.GeneralNames{constructor(re){super(re);Object.setPrototypeOf(this,se.prototype)}};ie.CertificateIssuer=fe;ie.CertificateIssuer=fe=se=ae.__decorate([(0,ce.AsnType)({type:ce.AsnTypeTypes.Sequence})],fe)},44157:(re,ie,oe)=>{"use strict";var se;Object.defineProperty(ie,"__esModule",{value:true});ie.CertificatePolicies=ie.PolicyInformation=ie.PolicyQualifierInfo=ie.Qualifier=ie.UserNotice=ie.NoticeReference=ie.DisplayText=ie.id_ce_certificatePolicies_anyPolicy=ie.id_ce_certificatePolicies=void 0;const ae=oe(8713);const ce=oe(53499);const ue=oe(70725);ie.id_ce_certificatePolicies=`${ue.id_ce}.32`;ie.id_ce_certificatePolicies_anyPolicy=`${ie.id_ce_certificatePolicies}.0`;let le=class DisplayText{constructor(re={}){Object.assign(this,re)}toString(){return this.ia5String||this.visibleString||this.bmpString||this.utf8String||""}};ie.DisplayText=le;ae.__decorate([(0,ce.AsnProp)({type:ce.AsnPropTypes.IA5String})],le.prototype,"ia5String",void 0);ae.__decorate([(0,ce.AsnProp)({type:ce.AsnPropTypes.VisibleString})],le.prototype,"visibleString",void 0);ae.__decorate([(0,ce.AsnProp)({type:ce.AsnPropTypes.BmpString})],le.prototype,"bmpString",void 0);ae.__decorate([(0,ce.AsnProp)({type:ce.AsnPropTypes.Utf8String})],le.prototype,"utf8String",void 0);ie.DisplayText=le=ae.__decorate([(0,ce.AsnType)({type:ce.AsnTypeTypes.Choice})],le);class NoticeReference{constructor(re={}){this.organization=new le;this.noticeNumbers=[];Object.assign(this,re)}}ie.NoticeReference=NoticeReference;ae.__decorate([(0,ce.AsnProp)({type:le})],NoticeReference.prototype,"organization",void 0);ae.__decorate([(0,ce.AsnProp)({type:ce.AsnPropTypes.Integer,repeated:"sequence"})],NoticeReference.prototype,"noticeNumbers",void 0);class UserNotice{constructor(re={}){Object.assign(this,re)}}ie.UserNotice=UserNotice;ae.__decorate([(0,ce.AsnProp)({type:NoticeReference,optional:true})],UserNotice.prototype,"noticeRef",void 0);ae.__decorate([(0,ce.AsnProp)({type:le,optional:true})],UserNotice.prototype,"explicitText",void 0);let fe=class Qualifier{constructor(re={}){Object.assign(this,re)}};ie.Qualifier=fe;ae.__decorate([(0,ce.AsnProp)({type:ce.AsnPropTypes.IA5String})],fe.prototype,"cPSuri",void 0);ae.__decorate([(0,ce.AsnProp)({type:UserNotice})],fe.prototype,"userNotice",void 0);ie.Qualifier=fe=ae.__decorate([(0,ce.AsnType)({type:ce.AsnTypeTypes.Choice})],fe);class PolicyQualifierInfo{constructor(re={}){this.policyQualifierId="";this.qualifier=new ArrayBuffer(0);Object.assign(this,re)}}ie.PolicyQualifierInfo=PolicyQualifierInfo;ae.__decorate([(0,ce.AsnProp)({type:ce.AsnPropTypes.ObjectIdentifier})],PolicyQualifierInfo.prototype,"policyQualifierId",void 0);ae.__decorate([(0,ce.AsnProp)({type:ce.AsnPropTypes.Any})],PolicyQualifierInfo.prototype,"qualifier",void 0);class PolicyInformation{constructor(re={}){this.policyIdentifier="";Object.assign(this,re)}}ie.PolicyInformation=PolicyInformation;ae.__decorate([(0,ce.AsnProp)({type:ce.AsnPropTypes.ObjectIdentifier})],PolicyInformation.prototype,"policyIdentifier",void 0);ae.__decorate([(0,ce.AsnProp)({type:PolicyQualifierInfo,repeated:"sequence",optional:true})],PolicyInformation.prototype,"policyQualifiers",void 0);let de=se=class CertificatePolicies extends ce.AsnArray{constructor(re){super(re);Object.setPrototypeOf(this,se.prototype)}};ie.CertificatePolicies=de;ie.CertificatePolicies=de=se=ae.__decorate([(0,ce.AsnType)({type:ce.AsnTypeTypes.Sequence,itemType:PolicyInformation})],de)},71335:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.BaseCRLNumber=ie.id_ce_deltaCRLIndicator=void 0;const se=oe(8713);const ae=oe(53499);const ce=oe(70725);const ue=oe(88777);ie.id_ce_deltaCRLIndicator=`${ce.id_ce}.27`;let le=class BaseCRLNumber extends ue.CRLNumber{};ie.BaseCRLNumber=le;ie.BaseCRLNumber=le=se.__decorate([(0,ae.AsnType)({type:ae.AsnTypeTypes.Choice})],le)},50499:(re,ie,oe)=>{"use strict";var se;Object.defineProperty(ie,"__esModule",{value:true});ie.CRLDistributionPoints=ie.DistributionPoint=ie.DistributionPointName=ie.Reason=ie.ReasonFlags=ie.id_ce_cRLDistributionPoints=void 0;const ae=oe(8713);const ce=oe(53499);const ue=oe(17429);const le=oe(83670);const fe=oe(70725);ie.id_ce_cRLDistributionPoints=`${fe.id_ce}.31`;var de;(function(re){re[re["unused"]=1]="unused";re[re["keyCompromise"]=2]="keyCompromise";re[re["cACompromise"]=4]="cACompromise";re[re["affiliationChanged"]=8]="affiliationChanged";re[re["superseded"]=16]="superseded";re[re["cessationOfOperation"]=32]="cessationOfOperation";re[re["certificateHold"]=64]="certificateHold";re[re["privilegeWithdrawn"]=128]="privilegeWithdrawn";re[re["aACompromise"]=256]="aACompromise"})(de||(ie.ReasonFlags=de={}));class Reason extends ce.BitString{toJSON(){const re=[];const ie=this.toNumber();if(ie&de.aACompromise){re.push("aACompromise")}if(ie&de.affiliationChanged){re.push("affiliationChanged")}if(ie&de.cACompromise){re.push("cACompromise")}if(ie&de.certificateHold){re.push("certificateHold")}if(ie&de.cessationOfOperation){re.push("cessationOfOperation")}if(ie&de.keyCompromise){re.push("keyCompromise")}if(ie&de.privilegeWithdrawn){re.push("privilegeWithdrawn")}if(ie&de.superseded){re.push("superseded")}if(ie&de.unused){re.push("unused")}return re}toString(){return`[${this.toJSON().join(", ")}]`}}ie.Reason=Reason;let pe=class DistributionPointName{constructor(re={}){Object.assign(this,re)}};ie.DistributionPointName=pe;ae.__decorate([(0,ce.AsnProp)({type:le.GeneralName,context:0,repeated:"sequence",implicit:true})],pe.prototype,"fullName",void 0);ae.__decorate([(0,ce.AsnProp)({type:ue.RelativeDistinguishedName,context:1,implicit:true})],pe.prototype,"nameRelativeToCRLIssuer",void 0);ie.DistributionPointName=pe=ae.__decorate([(0,ce.AsnType)({type:ce.AsnTypeTypes.Choice})],pe);class DistributionPoint{constructor(re={}){Object.assign(this,re)}}ie.DistributionPoint=DistributionPoint;ae.__decorate([(0,ce.AsnProp)({type:pe,context:0,optional:true})],DistributionPoint.prototype,"distributionPoint",void 0);ae.__decorate([(0,ce.AsnProp)({type:Reason,context:1,optional:true,implicit:true})],DistributionPoint.prototype,"reasons",void 0);ae.__decorate([(0,ce.AsnProp)({type:le.GeneralName,context:2,optional:true,repeated:"sequence",implicit:true})],DistributionPoint.prototype,"cRLIssuer",void 0);let he=se=class CRLDistributionPoints extends ce.AsnArray{constructor(re){super(re);Object.setPrototypeOf(this,se.prototype)}};ie.CRLDistributionPoints=he;ie.CRLDistributionPoints=he=se=ae.__decorate([(0,ce.AsnType)({type:ce.AsnTypeTypes.Sequence,itemType:DistributionPoint})],he)},8e4:(re,ie,oe)=>{"use strict";var se;Object.defineProperty(ie,"__esModule",{value:true});ie.FreshestCRL=ie.id_ce_freshestCRL=void 0;const ae=oe(8713);const ce=oe(53499);const ue=oe(70725);const le=oe(50499);ie.id_ce_freshestCRL=`${ue.id_ce}.46`;let fe=se=class FreshestCRL extends le.CRLDistributionPoints{constructor(re){super(re);Object.setPrototypeOf(this,se.prototype)}};ie.FreshestCRL=fe;ie.FreshestCRL=fe=se=ae.__decorate([(0,ce.AsnType)({type:ce.AsnTypeTypes.Sequence,itemType:le.DistributionPoint})],fe)},43305:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.IssuingDistributionPoint=ie.id_ce_issuingDistributionPoint=void 0;const se=oe(8713);const ae=oe(53499);const ce=oe(50499);const ue=oe(70725);const le=oe(53499);ie.id_ce_issuingDistributionPoint=`${ue.id_ce}.28`;class IssuingDistributionPoint{constructor(re={}){this.onlyContainsUserCerts=IssuingDistributionPoint.ONLY;this.onlyContainsCACerts=IssuingDistributionPoint.ONLY;this.indirectCRL=IssuingDistributionPoint.ONLY;this.onlyContainsAttributeCerts=IssuingDistributionPoint.ONLY;Object.assign(this,re)}}ie.IssuingDistributionPoint=IssuingDistributionPoint;IssuingDistributionPoint.ONLY=false;se.__decorate([(0,ae.AsnProp)({type:ce.DistributionPointName,context:0,optional:true})],IssuingDistributionPoint.prototype,"distributionPoint",void 0);se.__decorate([(0,ae.AsnProp)({type:le.AsnPropTypes.Boolean,context:1,defaultValue:IssuingDistributionPoint.ONLY,implicit:true})],IssuingDistributionPoint.prototype,"onlyContainsUserCerts",void 0);se.__decorate([(0,ae.AsnProp)({type:le.AsnPropTypes.Boolean,context:2,defaultValue:IssuingDistributionPoint.ONLY,implicit:true})],IssuingDistributionPoint.prototype,"onlyContainsCACerts",void 0);se.__decorate([(0,ae.AsnProp)({type:ce.Reason,context:3,optional:true,implicit:true})],IssuingDistributionPoint.prototype,"onlySomeReasons",void 0);se.__decorate([(0,ae.AsnProp)({type:le.AsnPropTypes.Boolean,context:4,defaultValue:IssuingDistributionPoint.ONLY,implicit:true})],IssuingDistributionPoint.prototype,"indirectCRL",void 0);se.__decorate([(0,ae.AsnProp)({type:le.AsnPropTypes.Boolean,context:5,defaultValue:IssuingDistributionPoint.ONLY,implicit:true})],IssuingDistributionPoint.prototype,"onlyContainsAttributeCerts",void 0)},88777:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.CRLNumber=ie.id_ce_cRLNumber=void 0;const se=oe(8713);const ae=oe(53499);const ce=oe(70725);ie.id_ce_cRLNumber=`${ce.id_ce}.20`;let ue=class CRLNumber{constructor(re=0){this.value=re}};ie.CRLNumber=ue;se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.Integer})],ue.prototype,"value",void 0);ie.CRLNumber=ue=se.__decorate([(0,ae.AsnType)({type:ae.AsnTypeTypes.Choice})],ue)},28857:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.CRLReason=ie.CRLReasons=ie.id_ce_cRLReasons=void 0;const se=oe(8713);const ae=oe(53499);const ce=oe(70725);ie.id_ce_cRLReasons=`${ce.id_ce}.21`;var ue;(function(re){re[re["unspecified"]=0]="unspecified";re[re["keyCompromise"]=1]="keyCompromise";re[re["cACompromise"]=2]="cACompromise";re[re["affiliationChanged"]=3]="affiliationChanged";re[re["superseded"]=4]="superseded";re[re["cessationOfOperation"]=5]="cessationOfOperation";re[re["certificateHold"]=6]="certificateHold";re[re["removeFromCRL"]=8]="removeFromCRL";re[re["privilegeWithdrawn"]=9]="privilegeWithdrawn";re[re["aACompromise"]=10]="aACompromise"})(ue||(ie.CRLReasons=ue={}));let le=class CRLReason{constructor(re=ue.unspecified){this.reason=ue.unspecified;this.reason=re}toJSON(){return ue[this.reason]}toString(){return this.toJSON()}};ie.CRLReason=le;se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.Enumerated})],le.prototype,"reason",void 0);ie.CRLReason=le=se.__decorate([(0,ae.AsnType)({type:ae.AsnTypeTypes.Choice})],le)},52382:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.EntrustVersionInfo=ie.EntrustInfo=ie.EntrustInfoFlags=ie.id_entrust_entrustVersInfo=void 0;const se=oe(8713);const ae=oe(53499);ie.id_entrust_entrustVersInfo="1.2.840.113533.7.65.0";var ce;(function(re){re[re["keyUpdateAllowed"]=1]="keyUpdateAllowed";re[re["newExtensions"]=2]="newExtensions";re[re["pKIXCertificate"]=4]="pKIXCertificate"})(ce||(ie.EntrustInfoFlags=ce={}));class EntrustInfo extends ae.BitString{toJSON(){const re=[];const ie=this.toNumber();if(ie&ce.pKIXCertificate){re.push("pKIXCertificate")}if(ie&ce.newExtensions){re.push("newExtensions")}if(ie&ce.keyUpdateAllowed){re.push("keyUpdateAllowed")}return re}toString(){return`[${this.toJSON().join(", ")}]`}}ie.EntrustInfo=EntrustInfo;class EntrustVersionInfo{constructor(re={}){this.entrustVers="";this.entrustInfoFlags=new EntrustInfo;Object.assign(this,re)}}ie.EntrustVersionInfo=EntrustVersionInfo;se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.GeneralString})],EntrustVersionInfo.prototype,"entrustVers",void 0);se.__decorate([(0,ae.AsnProp)({type:EntrustInfo})],EntrustVersionInfo.prototype,"entrustInfoFlags",void 0)},97993:(re,ie,oe)=>{"use strict";var se;Object.defineProperty(ie,"__esModule",{value:true});ie.id_kp_OCSPSigning=ie.id_kp_timeStamping=ie.id_kp_emailProtection=ie.id_kp_codeSigning=ie.id_kp_clientAuth=ie.id_kp_serverAuth=ie.anyExtendedKeyUsage=ie.ExtendedKeyUsage=ie.id_ce_extKeyUsage=void 0;const ae=oe(8713);const ce=oe(53499);const ue=oe(70725);ie.id_ce_extKeyUsage=`${ue.id_ce}.37`;let le=se=class ExtendedKeyUsage extends ce.AsnArray{constructor(re){super(re);Object.setPrototypeOf(this,se.prototype)}};ie.ExtendedKeyUsage=le;ie.ExtendedKeyUsage=le=se=ae.__decorate([(0,ce.AsnType)({type:ce.AsnTypeTypes.Sequence,itemType:ce.AsnPropTypes.ObjectIdentifier})],le);ie.anyExtendedKeyUsage=`${ie.id_ce_extKeyUsage}.0`;ie.id_kp_serverAuth=`${ue.id_kp}.1`;ie.id_kp_clientAuth=`${ue.id_kp}.2`;ie.id_kp_codeSigning=`${ue.id_kp}.3`;ie.id_kp_emailProtection=`${ue.id_kp}.4`;ie.id_kp_timeStamping=`${ue.id_kp}.8`;ie.id_kp_OCSPSigning=`${ue.id_kp}.9`},56457:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(8713);se.__exportStar(oe(677),ie);se.__exportStar(oe(11583),ie);se.__exportStar(oe(20621),ie);se.__exportStar(oe(93151),ie);se.__exportStar(oe(44157),ie);se.__exportStar(oe(71335),ie);se.__exportStar(oe(50499),ie);se.__exportStar(oe(8e4),ie);se.__exportStar(oe(43305),ie);se.__exportStar(oe(88777),ie);se.__exportStar(oe(28857),ie);se.__exportStar(oe(97993),ie);se.__exportStar(oe(81622),ie);se.__exportStar(oe(74932),ie);se.__exportStar(oe(76330),ie);se.__exportStar(oe(1622),ie);se.__exportStar(oe(7543),ie);se.__exportStar(oe(35113),ie);se.__exportStar(oe(3230),ie);se.__exportStar(oe(88555),ie);se.__exportStar(oe(62007),ie);se.__exportStar(oe(53651),ie);se.__exportStar(oe(65096),ie);se.__exportStar(oe(52382),ie);se.__exportStar(oe(57299),ie)},81622:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.InhibitAnyPolicy=ie.id_ce_inhibitAnyPolicy=void 0;const se=oe(8713);const ae=oe(53499);const ce=oe(70725);ie.id_ce_inhibitAnyPolicy=`${ce.id_ce}.54`;let ue=class InhibitAnyPolicy{constructor(re=new ArrayBuffer(0)){this.value=re}};ie.InhibitAnyPolicy=ue;se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.Integer,converter:ae.AsnIntegerArrayBufferConverter})],ue.prototype,"value",void 0);ie.InhibitAnyPolicy=ue=se.__decorate([(0,ae.AsnType)({type:ae.AsnTypeTypes.Choice})],ue)},74932:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.InvalidityDate=ie.id_ce_invalidityDate=void 0;const se=oe(8713);const ae=oe(53499);const ce=oe(70725);ie.id_ce_invalidityDate=`${ce.id_ce}.24`;let ue=class InvalidityDate{constructor(re){this.value=new Date;if(re){this.value=re}}};ie.InvalidityDate=ue;se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.GeneralizedTime})],ue.prototype,"value",void 0);ie.InvalidityDate=ue=se.__decorate([(0,ae.AsnType)({type:ae.AsnTypeTypes.Choice})],ue)},76330:(re,ie,oe)=>{"use strict";var se;Object.defineProperty(ie,"__esModule",{value:true});ie.IssueAlternativeName=ie.id_ce_issuerAltName=void 0;const ae=oe(8713);const ce=oe(53499);const ue=oe(13201);const le=oe(70725);ie.id_ce_issuerAltName=`${le.id_ce}.18`;let fe=se=class IssueAlternativeName extends ue.GeneralNames{constructor(re){super(re);Object.setPrototypeOf(this,se.prototype)}};ie.IssueAlternativeName=fe;ie.IssueAlternativeName=fe=se=ae.__decorate([(0,ce.AsnType)({type:ce.AsnTypeTypes.Sequence})],fe)},1622:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.KeyUsage=ie.KeyUsageFlags=ie.id_ce_keyUsage=void 0;const se=oe(53499);const ae=oe(70725);ie.id_ce_keyUsage=`${ae.id_ce}.15`;var ce;(function(re){re[re["digitalSignature"]=1]="digitalSignature";re[re["nonRepudiation"]=2]="nonRepudiation";re[re["keyEncipherment"]=4]="keyEncipherment";re[re["dataEncipherment"]=8]="dataEncipherment";re[re["keyAgreement"]=16]="keyAgreement";re[re["keyCertSign"]=32]="keyCertSign";re[re["cRLSign"]=64]="cRLSign";re[re["encipherOnly"]=128]="encipherOnly";re[re["decipherOnly"]=256]="decipherOnly"})(ce||(ie.KeyUsageFlags=ce={}));class KeyUsage extends se.BitString{toJSON(){const re=this.toNumber();const ie=[];if(re&ce.cRLSign){ie.push("crlSign")}if(re&ce.dataEncipherment){ie.push("dataEncipherment")}if(re&ce.decipherOnly){ie.push("decipherOnly")}if(re&ce.digitalSignature){ie.push("digitalSignature")}if(re&ce.encipherOnly){ie.push("encipherOnly")}if(re&ce.keyAgreement){ie.push("keyAgreement")}if(re&ce.keyCertSign){ie.push("keyCertSign")}if(re&ce.keyEncipherment){ie.push("keyEncipherment")}if(re&ce.nonRepudiation){ie.push("nonRepudiation")}return ie}toString(){return`[${this.toJSON().join(", ")}]`}}ie.KeyUsage=KeyUsage},7543:(re,ie,oe)=>{"use strict";var se;Object.defineProperty(ie,"__esModule",{value:true});ie.NameConstraints=ie.GeneralSubtrees=ie.GeneralSubtree=ie.id_ce_nameConstraints=void 0;const ae=oe(8713);const ce=oe(53499);const ue=oe(83670);const le=oe(70725);ie.id_ce_nameConstraints=`${le.id_ce}.30`;class GeneralSubtree{constructor(re={}){this.base=new ue.GeneralName;this.minimum=0;Object.assign(this,re)}}ie.GeneralSubtree=GeneralSubtree;ae.__decorate([(0,ce.AsnProp)({type:ue.GeneralName})],GeneralSubtree.prototype,"base",void 0);ae.__decorate([(0,ce.AsnProp)({type:ce.AsnPropTypes.Integer,context:0,defaultValue:0,implicit:true})],GeneralSubtree.prototype,"minimum",void 0);ae.__decorate([(0,ce.AsnProp)({type:ce.AsnPropTypes.Integer,context:1,optional:true,implicit:true})],GeneralSubtree.prototype,"maximum",void 0);let fe=se=class GeneralSubtrees extends ce.AsnArray{constructor(re){super(re);Object.setPrototypeOf(this,se.prototype)}};ie.GeneralSubtrees=fe;ie.GeneralSubtrees=fe=se=ae.__decorate([(0,ce.AsnType)({type:ce.AsnTypeTypes.Sequence,itemType:GeneralSubtree})],fe);class NameConstraints{constructor(re={}){Object.assign(this,re)}}ie.NameConstraints=NameConstraints;ae.__decorate([(0,ce.AsnProp)({type:fe,context:0,optional:true,implicit:true})],NameConstraints.prototype,"permittedSubtrees",void 0);ae.__decorate([(0,ce.AsnProp)({type:fe,context:1,optional:true,implicit:true})],NameConstraints.prototype,"excludedSubtrees",void 0)},35113:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.PolicyConstraints=ie.id_ce_policyConstraints=void 0;const se=oe(8713);const ae=oe(53499);const ce=oe(70725);ie.id_ce_policyConstraints=`${ce.id_ce}.36`;class PolicyConstraints{constructor(re={}){Object.assign(this,re)}}ie.PolicyConstraints=PolicyConstraints;se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.Integer,context:0,implicit:true,optional:true,converter:ae.AsnIntegerArrayBufferConverter})],PolicyConstraints.prototype,"requireExplicitPolicy",void 0);se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.Integer,context:1,implicit:true,optional:true,converter:ae.AsnIntegerArrayBufferConverter})],PolicyConstraints.prototype,"inhibitPolicyMapping",void 0)},3230:(re,ie,oe)=>{"use strict";var se;Object.defineProperty(ie,"__esModule",{value:true});ie.PolicyMappings=ie.PolicyMapping=ie.id_ce_policyMappings=void 0;const ae=oe(8713);const ce=oe(53499);const ue=oe(70725);ie.id_ce_policyMappings=`${ue.id_ce}.33`;class PolicyMapping{constructor(re={}){this.issuerDomainPolicy="";this.subjectDomainPolicy="";Object.assign(this,re)}}ie.PolicyMapping=PolicyMapping;ae.__decorate([(0,ce.AsnProp)({type:ce.AsnPropTypes.ObjectIdentifier})],PolicyMapping.prototype,"issuerDomainPolicy",void 0);ae.__decorate([(0,ce.AsnProp)({type:ce.AsnPropTypes.ObjectIdentifier})],PolicyMapping.prototype,"subjectDomainPolicy",void 0);let le=se=class PolicyMappings extends ce.AsnArray{constructor(re){super(re);Object.setPrototypeOf(this,se.prototype)}};ie.PolicyMappings=le;ie.PolicyMappings=le=se=ae.__decorate([(0,ce.AsnType)({type:ce.AsnTypeTypes.Sequence,itemType:PolicyMapping})],le)},65096:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.PrivateKeyUsagePeriod=ie.id_ce_privateKeyUsagePeriod=void 0;const se=oe(8713);const ae=oe(53499);const ce=oe(70725);ie.id_ce_privateKeyUsagePeriod=`${ce.id_ce}.16`;class PrivateKeyUsagePeriod{constructor(re={}){Object.assign(this,re)}}ie.PrivateKeyUsagePeriod=PrivateKeyUsagePeriod;se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.GeneralizedTime,context:0,implicit:true,optional:true})],PrivateKeyUsagePeriod.prototype,"notBefore",void 0);se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.GeneralizedTime,context:1,implicit:true,optional:true})],PrivateKeyUsagePeriod.prototype,"notAfter",void 0)},88555:(re,ie,oe)=>{"use strict";var se;Object.defineProperty(ie,"__esModule",{value:true});ie.SubjectAlternativeName=ie.id_ce_subjectAltName=void 0;const ae=oe(8713);const ce=oe(53499);const ue=oe(13201);const le=oe(70725);ie.id_ce_subjectAltName=`${le.id_ce}.17`;let fe=se=class SubjectAlternativeName extends ue.GeneralNames{constructor(re){super(re);Object.setPrototypeOf(this,se.prototype)}};ie.SubjectAlternativeName=fe;ie.SubjectAlternativeName=fe=se=ae.__decorate([(0,ce.AsnType)({type:ce.AsnTypeTypes.Sequence})],fe)},62007:(re,ie,oe)=>{"use strict";var se;Object.defineProperty(ie,"__esModule",{value:true});ie.SubjectDirectoryAttributes=ie.id_ce_subjectDirectoryAttributes=void 0;const ae=oe(8713);const ce=oe(53499);const ue=oe(2171);const le=oe(70725);ie.id_ce_subjectDirectoryAttributes=`${le.id_ce}.9`;let fe=se=class SubjectDirectoryAttributes extends ce.AsnArray{constructor(re){super(re);Object.setPrototypeOf(this,se.prototype)}};ie.SubjectDirectoryAttributes=fe;ie.SubjectDirectoryAttributes=fe=se=ae.__decorate([(0,ce.AsnType)({type:ce.AsnTypeTypes.Sequence,itemType:ue.Attribute})],fe)},57299:(re,ie,oe)=>{"use strict";var se;Object.defineProperty(ie,"__esModule",{value:true});ie.SubjectInfoAccessSyntax=ie.id_pe_subjectInfoAccess=void 0;const ae=oe(8713);const ce=oe(53499);const ue=oe(70725);const le=oe(677);ie.id_pe_subjectInfoAccess=`${ue.id_pe}.11`;let fe=se=class SubjectInfoAccessSyntax extends ce.AsnArray{constructor(re){super(re);Object.setPrototypeOf(this,se.prototype)}};ie.SubjectInfoAccessSyntax=fe;ie.SubjectInfoAccessSyntax=fe=se=ae.__decorate([(0,ce.AsnType)({type:ce.AsnTypeTypes.Sequence,itemType:le.AccessDescription})],fe)},53651:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.SubjectKeyIdentifier=ie.id_ce_subjectKeyIdentifier=void 0;const se=oe(70725);const ae=oe(11583);ie.id_ce_subjectKeyIdentifier=`${se.id_ce}.14`;class SubjectKeyIdentifier extends ae.KeyIdentifier{}ie.SubjectKeyIdentifier=SubjectKeyIdentifier},83670:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.GeneralName=ie.EDIPartyName=ie.OtherName=ie.AsnIpConverter=void 0;const se=oe(8713);const ae=oe(53499);const ce=oe(621);const ue=oe(17429);ie.AsnIpConverter={fromASN:re=>ce.IpConverter.toString(ae.AsnOctetStringConverter.fromASN(re)),toASN:re=>ae.AsnOctetStringConverter.toASN(ce.IpConverter.fromString(re))};class OtherName{constructor(re={}){this.typeId="";this.value=new ArrayBuffer(0);Object.assign(this,re)}}ie.OtherName=OtherName;se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.ObjectIdentifier})],OtherName.prototype,"typeId",void 0);se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.Any,context:0})],OtherName.prototype,"value",void 0);class EDIPartyName{constructor(re={}){this.partyName=new ue.DirectoryString;Object.assign(this,re)}}ie.EDIPartyName=EDIPartyName;se.__decorate([(0,ae.AsnProp)({type:ue.DirectoryString,optional:true,context:0,implicit:true})],EDIPartyName.prototype,"nameAssigner",void 0);se.__decorate([(0,ae.AsnProp)({type:ue.DirectoryString,context:1,implicit:true})],EDIPartyName.prototype,"partyName",void 0);let le=class GeneralName{constructor(re={}){Object.assign(this,re)}};ie.GeneralName=le;se.__decorate([(0,ae.AsnProp)({type:OtherName,context:0,implicit:true})],le.prototype,"otherName",void 0);se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.IA5String,context:1,implicit:true})],le.prototype,"rfc822Name",void 0);se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.IA5String,context:2,implicit:true})],le.prototype,"dNSName",void 0);se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.Any,context:3,implicit:true})],le.prototype,"x400Address",void 0);se.__decorate([(0,ae.AsnProp)({type:ue.Name,context:4,implicit:false})],le.prototype,"directoryName",void 0);se.__decorate([(0,ae.AsnProp)({type:EDIPartyName,context:5})],le.prototype,"ediPartyName",void 0);se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.IA5String,context:6,implicit:true})],le.prototype,"uniformResourceIdentifier",void 0);se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.OctetString,context:7,implicit:true,converter:ie.AsnIpConverter})],le.prototype,"iPAddress",void 0);se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.ObjectIdentifier,context:8,implicit:true})],le.prototype,"registeredID",void 0);ie.GeneralName=le=se.__decorate([(0,ae.AsnType)({type:ae.AsnTypeTypes.Choice})],le)},13201:(re,ie,oe)=>{"use strict";var se;Object.defineProperty(ie,"__esModule",{value:true});ie.GeneralNames=void 0;const ae=oe(8713);const ce=oe(53499);const ue=oe(83670);const le=oe(53499);let fe=se=class GeneralNames extends le.AsnArray{constructor(re){super(re);Object.setPrototypeOf(this,se.prototype)}};ie.GeneralNames=fe;ie.GeneralNames=fe=se=ae.__decorate([(0,ce.AsnType)({type:ce.AsnTypeTypes.Sequence,itemType:ue.GeneralName})],fe)},82288:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(8713);se.__exportStar(oe(56457),ie);se.__exportStar(oe(38266),ie);se.__exportStar(oe(2171),ie);se.__exportStar(oe(25974),ie);se.__exportStar(oe(13554),ie);se.__exportStar(oe(77908),ie);se.__exportStar(oe(83670),ie);se.__exportStar(oe(13201),ie);se.__exportStar(oe(17429),ie);se.__exportStar(oe(70725),ie);se.__exportStar(oe(94003),ie);se.__exportStar(oe(13113),ie);se.__exportStar(oe(49117),ie);se.__exportStar(oe(1768),ie);se.__exportStar(oe(82826),ie);se.__exportStar(oe(40758),ie)},621:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.IpConverter=void 0;const se=oe(37263);const ae=oe(22420);class IpConverter{static decodeIP(re){if(re.length===64&&parseInt(re,16)===0){return"::/0"}if(re.length!==16){return re}const ie=parseInt(re.slice(8),16).toString(2).split("").reduce(((re,ie)=>re+ +ie),0);let oe=re.slice(0,8).replace(/(.{2})/g,(re=>`${parseInt(re,16)}.`));oe=oe.slice(0,-1);return`${oe}/${ie}`}static toString(re){if(re.byteLength===4||re.byteLength===16){const ie=new Uint8Array(re);const oe=se.fromByteArray(Array.from(ie));return oe.toString()}return this.decodeIP(ae.Convert.ToHex(re))}static fromString(re){const ie=se.parse(re);return new Uint8Array(ie.toByteArray()).buffer}}ie.IpConverter=IpConverter},17429:(re,ie,oe)=>{"use strict";var se,ae,ce;Object.defineProperty(ie,"__esModule",{value:true});ie.Name=ie.RDNSequence=ie.RelativeDistinguishedName=ie.AttributeTypeAndValue=ie.AttributeValue=ie.DirectoryString=void 0;const ue=oe(8713);const le=oe(53499);const fe=oe(22420);let de=class DirectoryString{constructor(re={}){Object.assign(this,re)}toString(){return this.bmpString||this.printableString||this.teletexString||this.universalString||this.utf8String||""}};ie.DirectoryString=de;ue.__decorate([(0,le.AsnProp)({type:le.AsnPropTypes.TeletexString})],de.prototype,"teletexString",void 0);ue.__decorate([(0,le.AsnProp)({type:le.AsnPropTypes.PrintableString})],de.prototype,"printableString",void 0);ue.__decorate([(0,le.AsnProp)({type:le.AsnPropTypes.UniversalString})],de.prototype,"universalString",void 0);ue.__decorate([(0,le.AsnProp)({type:le.AsnPropTypes.Utf8String})],de.prototype,"utf8String",void 0);ue.__decorate([(0,le.AsnProp)({type:le.AsnPropTypes.BmpString})],de.prototype,"bmpString",void 0);ie.DirectoryString=de=ue.__decorate([(0,le.AsnType)({type:le.AsnTypeTypes.Choice})],de);let pe=class AttributeValue extends de{constructor(re={}){super(re);Object.assign(this,re)}toString(){return this.ia5String||(this.anyValue?fe.Convert.ToHex(this.anyValue):super.toString())}};ie.AttributeValue=pe;ue.__decorate([(0,le.AsnProp)({type:le.AsnPropTypes.IA5String})],pe.prototype,"ia5String",void 0);ue.__decorate([(0,le.AsnProp)({type:le.AsnPropTypes.Any})],pe.prototype,"anyValue",void 0);ie.AttributeValue=pe=ue.__decorate([(0,le.AsnType)({type:le.AsnTypeTypes.Choice})],pe);class AttributeTypeAndValue{constructor(re={}){this.type="";this.value=new pe;Object.assign(this,re)}}ie.AttributeTypeAndValue=AttributeTypeAndValue;ue.__decorate([(0,le.AsnProp)({type:le.AsnPropTypes.ObjectIdentifier})],AttributeTypeAndValue.prototype,"type",void 0);ue.__decorate([(0,le.AsnProp)({type:pe})],AttributeTypeAndValue.prototype,"value",void 0);let he=se=class RelativeDistinguishedName extends le.AsnArray{constructor(re){super(re);Object.setPrototypeOf(this,se.prototype)}};ie.RelativeDistinguishedName=he;ie.RelativeDistinguishedName=he=se=ue.__decorate([(0,le.AsnType)({type:le.AsnTypeTypes.Set,itemType:AttributeTypeAndValue})],he);let Ae=ae=class RDNSequence extends le.AsnArray{constructor(re){super(re);Object.setPrototypeOf(this,ae.prototype)}};ie.RDNSequence=Ae;ie.RDNSequence=Ae=ae=ue.__decorate([(0,le.AsnType)({type:le.AsnTypeTypes.Sequence,itemType:he})],Ae);let ge=ce=class Name extends Ae{constructor(re){super(re);Object.setPrototypeOf(this,ce.prototype)}};ie.Name=ge;ie.Name=ge=ce=ue.__decorate([(0,le.AsnType)({type:le.AsnTypeTypes.Sequence})],ge)},70725:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.id_ce=ie.id_ad_caRepository=ie.id_ad_timeStamping=ie.id_ad_caIssuers=ie.id_ad_ocsp=ie.id_qt_unotice=ie.id_qt_csp=ie.id_ad=ie.id_kp=ie.id_qt=ie.id_pe=ie.id_pkix=void 0;ie.id_pkix="1.3.6.1.5.5.7";ie.id_pe=`${ie.id_pkix}.1`;ie.id_qt=`${ie.id_pkix}.2`;ie.id_kp=`${ie.id_pkix}.3`;ie.id_ad=`${ie.id_pkix}.48`;ie.id_qt_csp=`${ie.id_qt}.1`;ie.id_qt_unotice=`${ie.id_qt}.2`;ie.id_ad_ocsp=`${ie.id_ad}.1`;ie.id_ad_caIssuers=`${ie.id_ad}.2`;ie.id_ad_timeStamping=`${ie.id_ad}.3`;ie.id_ad_caRepository=`${ie.id_ad}.5`;ie.id_ce="2.5.29"},94003:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.SubjectPublicKeyInfo=void 0;const se=oe(8713);const ae=oe(53499);const ce=oe(38266);class SubjectPublicKeyInfo{constructor(re={}){this.algorithm=new ce.AlgorithmIdentifier;this.subjectPublicKey=new ArrayBuffer(0);Object.assign(this,re)}}ie.SubjectPublicKeyInfo=SubjectPublicKeyInfo;se.__decorate([(0,ae.AsnProp)({type:ce.AlgorithmIdentifier})],SubjectPublicKeyInfo.prototype,"algorithm",void 0);se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.BitString})],SubjectPublicKeyInfo.prototype,"subjectPublicKey",void 0)},13113:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.TBSCertList=ie.RevokedCertificate=void 0;const se=oe(8713);const ae=oe(53499);const ce=oe(38266);const ue=oe(17429);const le=oe(1768);const fe=oe(77908);class RevokedCertificate{constructor(re={}){this.userCertificate=new ArrayBuffer(0);this.revocationDate=new le.Time;Object.assign(this,re)}}ie.RevokedCertificate=RevokedCertificate;se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.Integer,converter:ae.AsnIntegerArrayBufferConverter})],RevokedCertificate.prototype,"userCertificate",void 0);se.__decorate([(0,ae.AsnProp)({type:le.Time})],RevokedCertificate.prototype,"revocationDate",void 0);se.__decorate([(0,ae.AsnProp)({type:fe.Extension,optional:true,repeated:"sequence"})],RevokedCertificate.prototype,"crlEntryExtensions",void 0);class TBSCertList{constructor(re={}){this.signature=new ce.AlgorithmIdentifier;this.issuer=new ue.Name;this.thisUpdate=new le.Time;Object.assign(this,re)}}ie.TBSCertList=TBSCertList;se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.Integer,optional:true})],TBSCertList.prototype,"version",void 0);se.__decorate([(0,ae.AsnProp)({type:ce.AlgorithmIdentifier})],TBSCertList.prototype,"signature",void 0);se.__decorate([(0,ae.AsnProp)({type:ue.Name})],TBSCertList.prototype,"issuer",void 0);se.__decorate([(0,ae.AsnProp)({type:le.Time})],TBSCertList.prototype,"thisUpdate",void 0);se.__decorate([(0,ae.AsnProp)({type:le.Time,optional:true})],TBSCertList.prototype,"nextUpdate",void 0);se.__decorate([(0,ae.AsnProp)({type:RevokedCertificate,repeated:"sequence",optional:true})],TBSCertList.prototype,"revokedCertificates",void 0);se.__decorate([(0,ae.AsnProp)({type:fe.Extension,optional:true,context:0,repeated:"sequence"})],TBSCertList.prototype,"crlExtensions",void 0)},49117:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.TBSCertificate=void 0;const se=oe(8713);const ae=oe(53499);const ce=oe(38266);const ue=oe(17429);const le=oe(94003);const fe=oe(40758);const de=oe(77908);const pe=oe(82826);class TBSCertificate{constructor(re={}){this.version=pe.Version.v1;this.serialNumber=new ArrayBuffer(0);this.signature=new ce.AlgorithmIdentifier;this.issuer=new ue.Name;this.validity=new fe.Validity;this.subject=new ue.Name;this.subjectPublicKeyInfo=new le.SubjectPublicKeyInfo;Object.assign(this,re)}}ie.TBSCertificate=TBSCertificate;se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.Integer,context:0,defaultValue:pe.Version.v1})],TBSCertificate.prototype,"version",void 0);se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.Integer,converter:ae.AsnIntegerArrayBufferConverter})],TBSCertificate.prototype,"serialNumber",void 0);se.__decorate([(0,ae.AsnProp)({type:ce.AlgorithmIdentifier})],TBSCertificate.prototype,"signature",void 0);se.__decorate([(0,ae.AsnProp)({type:ue.Name})],TBSCertificate.prototype,"issuer",void 0);se.__decorate([(0,ae.AsnProp)({type:fe.Validity})],TBSCertificate.prototype,"validity",void 0);se.__decorate([(0,ae.AsnProp)({type:ue.Name})],TBSCertificate.prototype,"subject",void 0);se.__decorate([(0,ae.AsnProp)({type:le.SubjectPublicKeyInfo})],TBSCertificate.prototype,"subjectPublicKeyInfo",void 0);se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.BitString,context:1,implicit:true,optional:true})],TBSCertificate.prototype,"issuerUniqueID",void 0);se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.BitString,context:2,implicit:true,optional:true})],TBSCertificate.prototype,"subjectUniqueID",void 0);se.__decorate([(0,ae.AsnProp)({type:de.Extensions,context:3,optional:true})],TBSCertificate.prototype,"extensions",void 0)},1768:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.Time=void 0;const se=oe(8713);const ae=oe(53499);let ce=class Time{constructor(re){if(re){if(typeof re==="string"||typeof re==="number"||re instanceof Date){const ie=new Date(re);if(ie.getUTCFullYear()>2049){this.generalTime=ie}else{this.utcTime=ie}}else{Object.assign(this,re)}}}getTime(){const re=this.utcTime||this.generalTime;if(!re){throw new Error("Cannot get time from CHOICE object")}return re}};ie.Time=ce;se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.UTCTime})],ce.prototype,"utcTime",void 0);se.__decorate([(0,ae.AsnProp)({type:ae.AsnPropTypes.GeneralizedTime})],ce.prototype,"generalTime",void 0);ie.Time=ce=se.__decorate([(0,ae.AsnType)({type:ae.AsnTypeTypes.Choice})],ce)},82826:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.Version=void 0;var oe;(function(re){re[re["v1"]=0]="v1";re[re["v2"]=1]="v2";re[re["v3"]=2]="v3"})(oe||(ie.Version=oe={}))},40758:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.Validity=void 0;const se=oe(8713);const ae=oe(53499);const ce=oe(1768);class Validity{constructor(re){this.notBefore=new ce.Time(new Date);this.notAfter=new ce.Time(new Date);if(re){this.notBefore=new ce.Time(re.notBefore);this.notAfter=new ce.Time(re.notAfter)}}}ie.Validity=Validity;se.__decorate([(0,ae.AsnProp)({type:ce.Time})],Validity.prototype,"notBefore",void 0);se.__decorate([(0,ae.AsnProp)({type:ce.Time})],Validity.prototype,"notAfter",void 0)},8713:re=>{var ie;var oe;var se;var ae;var ce;var ue;var le;var fe;var de;var pe;var he;var Ae;var ge;var me;var ye;var ve;var be;var we;var _e;var Ee;var Ce;var Ie;var Se;var Be;var xe;var ke;var Oe;var De;var Pe;var Te;var Qe;(function(ie){var oe=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd){define("tslib",["exports"],(function(re){ie(createExporter(oe,createExporter(re)))}))}else if(true&&typeof re.exports==="object"){ie(createExporter(oe,createExporter(re.exports)))}else{ie(createExporter(oe))}function createExporter(re,ie){if(re!==oe){if(typeof Object.create==="function"){Object.defineProperty(re,"__esModule",{value:true})}else{re.__esModule=true}}return function(oe,se){return re[oe]=ie?ie(oe,se):se}}})((function(re){var Re=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,ie){re.__proto__=ie}||function(re,ie){for(var oe in ie)if(Object.prototype.hasOwnProperty.call(ie,oe))re[oe]=ie[oe]};ie=function(re,ie){if(typeof ie!=="function"&&ie!==null)throw new TypeError("Class extends value "+String(ie)+" is not a constructor or null");Re(re,ie);function __(){this.constructor=re}re.prototype=ie===null?Object.create(ie):(__.prototype=ie.prototype,new __)};oe=Object.assign||function(re){for(var ie,oe=1,se=arguments.length;oe=0;le--)if(ue=re[le])ce=(ae<3?ue(ce):ae>3?ue(ie,oe,ce):ue(ie,oe))||ce;return ae>3&&ce&&Object.defineProperty(ie,oe,ce),ce};ce=function(re,ie){return function(oe,se){ie(oe,se,re)}};ue=function(re,ie,oe,se,ae,ce){function accept(re){if(re!==void 0&&typeof re!=="function")throw new TypeError("Function expected");return re}var ue=se.kind,le=ue==="getter"?"get":ue==="setter"?"set":"value";var fe=!ie&&re?se["static"]?re:re.prototype:null;var de=ie||(fe?Object.getOwnPropertyDescriptor(fe,se.name):{});var pe,he=false;for(var Ae=oe.length-1;Ae>=0;Ae--){var ge={};for(var me in se)ge[me]=me==="access"?{}:se[me];for(var me in se.access)ge.access[me]=se.access[me];ge.addInitializer=function(re){if(he)throw new TypeError("Cannot add initializers after decoration has completed");ce.push(accept(re||null))};var ye=(0,oe[Ae])(ue==="accessor"?{get:de.get,set:de.set}:de[le],ge);if(ue==="accessor"){if(ye===void 0)continue;if(ye===null||typeof ye!=="object")throw new TypeError("Object expected");if(pe=accept(ye.get))de.get=pe;if(pe=accept(ye.set))de.set=pe;if(pe=accept(ye.init))ae.unshift(pe)}else if(pe=accept(ye)){if(ue==="field")ae.unshift(pe);else de[le]=pe}}if(fe)Object.defineProperty(fe,se.name,de);he=true};le=function(re,ie,oe){var se=arguments.length>2;for(var ae=0;ae0&&ce[ce.length-1])&&(le[0]===6||le[0]===2)){oe=0;continue}if(le[0]===3&&(!ce||le[1]>ce[0]&&le[1]=re.length)re=void 0;return{value:re&&re[se++],done:!re}}};throw new TypeError(ie?"Object is not iterable.":"Symbol.iterator is not defined.")};ye=function(re,ie){var oe=typeof Symbol==="function"&&re[Symbol.iterator];if(!oe)return re;var se=oe.call(re),ae,ce=[],ue;try{while((ie===void 0||ie-- >0)&&!(ae=se.next()).done)ce.push(ae.value)}catch(re){ue={error:re}}finally{try{if(ae&&!ae.done&&(oe=se["return"]))oe.call(se)}finally{if(ue)throw ue.error}}return ce};ve=function(){for(var re=[],ie=0;ie1||resume(re,ie)}))};if(ie)ae[re]=ie(ae[re])}}function resume(re,ie){try{step(se[re](ie))}catch(re){settle(ce[0][3],re)}}function step(re){re.value instanceof _e?Promise.resolve(re.value.v).then(fulfill,reject):settle(ce[0][2],re)}function fulfill(re){resume("next",re)}function reject(re){resume("throw",re)}function settle(re,ie){if(re(ie),ce.shift(),ce.length)resume(ce[0][0],ce[0][1])}};Ce=function(re){var ie,oe;return ie={},verb("next"),verb("throw",(function(re){throw re})),verb("return"),ie[Symbol.iterator]=function(){return this},ie;function verb(se,ae){ie[se]=re[se]?function(ie){return(oe=!oe)?{value:_e(re[se](ie)),done:false}:ae?ae(ie):ie}:ae}};Ie=function(re){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ie=re[Symbol.asyncIterator],oe;return ie?ie.call(re):(re=typeof me==="function"?me(re):re[Symbol.iterator](),oe={},verb("next"),verb("throw"),verb("return"),oe[Symbol.asyncIterator]=function(){return this},oe);function verb(ie){oe[ie]=re[ie]&&function(oe){return new Promise((function(se,ae){oe=re[ie](oe),settle(se,ae,oe.done,oe.value)}))}}function settle(re,ie,oe,se){Promise.resolve(se).then((function(ie){re({value:ie,done:oe})}),ie)}};Se=function(re,ie){if(Object.defineProperty){Object.defineProperty(re,"raw",{value:ie})}else{re.raw=ie}return re};var Me=Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie};Be=function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))Pe(ie,re,oe);Me(ie,re);return ie};xe=function(re){return re&&re.__esModule?re:{default:re}};ke=function(re,ie,oe,se){if(oe==="a"&&!se)throw new TypeError("Private accessor was defined without a getter");if(typeof ie==="function"?re!==ie||!se:!ie.has(re))throw new TypeError("Cannot read private member from an object whose class did not declare it");return oe==="m"?se:oe==="a"?se.call(re):se?se.value:ie.get(re)};Oe=function(re,ie,oe,se,ae){if(se==="m")throw new TypeError("Private method is not writable");if(se==="a"&&!ae)throw new TypeError("Private accessor was defined without a setter");if(typeof ie==="function"?re!==ie||!ae:!ie.has(re))throw new TypeError("Cannot write private member to an object whose class did not declare it");return se==="a"?ae.call(re,oe):ae?ae.value=oe:ie.set(re,oe),oe};De=function(re,ie){if(ie===null||typeof ie!=="object"&&typeof ie!=="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof re==="function"?ie===re:re.has(ie)};Te=function(re,ie,oe){if(ie!==null&&ie!==void 0){if(typeof ie!=="object"&&typeof ie!=="function")throw new TypeError("Object expected.");var se,ae;if(oe){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");se=ie[Symbol.asyncDispose]}if(se===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");se=ie[Symbol.dispose];if(oe)ae=se}if(typeof se!=="function")throw new TypeError("Object not disposable.");if(ae)se=function(){try{ae.call(this)}catch(re){return Promise.reject(re)}};re.stack.push({value:ie,dispose:se,async:oe})}else if(oe){re.stack.push({async:true})}return ie};var Ne=typeof SuppressedError==="function"?SuppressedError:function(re,ie,oe){var se=new Error(oe);return se.name="SuppressedError",se.error=re,se.suppressed=ie,se};Qe=function(re){function fail(ie){re.error=re.hasError?new Ne(ie,re.error,"An error was suppressed during disposal."):ie;re.hasError=true}function next(){while(re.stack.length){var ie=re.stack.pop();try{var oe=ie.dispose&&ie.dispose.call(ie.value);if(ie.async)return Promise.resolve(oe).then(next,(function(re){fail(re);return next()}))}catch(re){fail(re)}}if(re.hasError)throw re.error}return next()};re("__extends",ie);re("__assign",oe);re("__rest",se);re("__decorate",ae);re("__param",ce);re("__esDecorate",ue);re("__runInitializers",le);re("__propKey",fe);re("__setFunctionName",de);re("__metadata",pe);re("__awaiter",he);re("__generator",Ae);re("__exportStar",ge);re("__createBinding",Pe);re("__values",me);re("__read",ye);re("__spread",ve);re("__spreadArrays",be);re("__spreadArray",we);re("__await",_e);re("__asyncGenerator",Ee);re("__asyncDelegator",Ce);re("__asyncValues",Ie);re("__makeTemplateObject",Se);re("__importStar",Be);re("__importDefault",xe);re("__classPrivateFieldGet",ke);re("__classPrivateFieldSet",Oe);re("__classPrivateFieldIn",De);re("__addDisposableResource",Te);re("__disposeResources",Qe)}))},82315:(re,ie,oe)=>{"use strict"; +(()=>{var __webpack_modules__={87351:function(R,pe,Ae){"use strict";var he=this&&this.__createBinding||(Object.create?function(R,pe,Ae,he){if(he===undefined)he=Ae;Object.defineProperty(R,he,{enumerable:true,get:function(){return pe[Ae]}})}:function(R,pe,Ae,he){if(he===undefined)he=Ae;R[he]=pe[Ae]});var ge=this&&this.__setModuleDefault||(Object.create?function(R,pe){Object.defineProperty(R,"default",{enumerable:true,value:pe})}:function(R,pe){R["default"]=pe});var me=this&&this.__importStar||function(R){if(R&&R.__esModule)return R;var pe={};if(R!=null)for(var Ae in R)if(Ae!=="default"&&Object.hasOwnProperty.call(R,Ae))he(pe,R,Ae);ge(pe,R);return pe};Object.defineProperty(pe,"__esModule",{value:true});pe.issue=pe.issueCommand=void 0;const ye=me(Ae(22037));const ve=Ae(5278);function issueCommand(R,pe,Ae){const he=new Command(R,pe,Ae);process.stdout.write(he.toString()+ye.EOL)}pe.issueCommand=issueCommand;function issue(R,pe=""){issueCommand(R,{},pe)}pe.issue=issue;const be="::";class Command{constructor(R,pe,Ae){if(!R){R="missing.command"}this.command=R;this.properties=pe;this.message=Ae}toString(){let R=be+this.command;if(this.properties&&Object.keys(this.properties).length>0){R+=" ";let pe=true;for(const Ae in this.properties){if(this.properties.hasOwnProperty(Ae)){const he=this.properties[Ae];if(he){if(pe){pe=false}else{R+=","}R+=`${Ae}=${escapeProperty(he)}`}}}}R+=`${be}${escapeData(this.message)}`;return R}}function escapeData(R){return ve.toCommandValue(R).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function escapeProperty(R){return ve.toCommandValue(R).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}},42186:function(R,pe,Ae){"use strict";var he=this&&this.__createBinding||(Object.create?function(R,pe,Ae,he){if(he===undefined)he=Ae;Object.defineProperty(R,he,{enumerable:true,get:function(){return pe[Ae]}})}:function(R,pe,Ae,he){if(he===undefined)he=Ae;R[he]=pe[Ae]});var ge=this&&this.__setModuleDefault||(Object.create?function(R,pe){Object.defineProperty(R,"default",{enumerable:true,value:pe})}:function(R,pe){R["default"]=pe});var me=this&&this.__importStar||function(R){if(R&&R.__esModule)return R;var pe={};if(R!=null)for(var Ae in R)if(Ae!=="default"&&Object.hasOwnProperty.call(R,Ae))he(pe,R,Ae);ge(pe,R);return pe};var ye=this&&this.__awaiter||function(R,pe,Ae,he){function adopt(R){return R instanceof Ae?R:new Ae((function(pe){pe(R)}))}return new(Ae||(Ae=Promise))((function(Ae,ge){function fulfilled(R){try{step(he.next(R))}catch(R){ge(R)}}function rejected(R){try{step(he["throw"](R))}catch(R){ge(R)}}function step(R){R.done?Ae(R.value):adopt(R.value).then(fulfilled,rejected)}step((he=he.apply(R,pe||[])).next())}))};Object.defineProperty(pe,"__esModule",{value:true});pe.getIDToken=pe.getState=pe.saveState=pe.group=pe.endGroup=pe.startGroup=pe.info=pe.notice=pe.warning=pe.error=pe.debug=pe.isDebug=pe.setFailed=pe.setCommandEcho=pe.setOutput=pe.getBooleanInput=pe.getMultilineInput=pe.getInput=pe.addPath=pe.setSecret=pe.exportVariable=pe.ExitCode=void 0;const ve=Ae(87351);const be=Ae(717);const Ee=Ae(5278);const Ce=me(Ae(22037));const we=me(Ae(71017));const Ie=Ae(98041);var _e;(function(R){R[R["Success"]=0]="Success";R[R["Failure"]=1]="Failure"})(_e=pe.ExitCode||(pe.ExitCode={}));function exportVariable(R,pe){const Ae=Ee.toCommandValue(pe);process.env[R]=Ae;const he=process.env["GITHUB_ENV"]||"";if(he){return be.issueFileCommand("ENV",be.prepareKeyValueMessage(R,pe))}ve.issueCommand("set-env",{name:R},Ae)}pe.exportVariable=exportVariable;function setSecret(R){ve.issueCommand("add-mask",{},R)}pe.setSecret=setSecret;function addPath(R){const pe=process.env["GITHUB_PATH"]||"";if(pe){be.issueFileCommand("PATH",R)}else{ve.issueCommand("add-path",{},R)}process.env["PATH"]=`${R}${we.delimiter}${process.env["PATH"]}`}pe.addPath=addPath;function getInput(R,pe){const Ae=process.env[`INPUT_${R.replace(/ /g,"_").toUpperCase()}`]||"";if(pe&&pe.required&&!Ae){throw new Error(`Input required and not supplied: ${R}`)}if(pe&&pe.trimWhitespace===false){return Ae}return Ae.trim()}pe.getInput=getInput;function getMultilineInput(R,pe){const Ae=getInput(R,pe).split("\n").filter((R=>R!==""));if(pe&&pe.trimWhitespace===false){return Ae}return Ae.map((R=>R.trim()))}pe.getMultilineInput=getMultilineInput;function getBooleanInput(R,pe){const Ae=["true","True","TRUE"];const he=["false","False","FALSE"];const ge=getInput(R,pe);if(Ae.includes(ge))return true;if(he.includes(ge))return false;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${R}\n`+`Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}pe.getBooleanInput=getBooleanInput;function setOutput(R,pe){const Ae=process.env["GITHUB_OUTPUT"]||"";if(Ae){return be.issueFileCommand("OUTPUT",be.prepareKeyValueMessage(R,pe))}process.stdout.write(Ce.EOL);ve.issueCommand("set-output",{name:R},Ee.toCommandValue(pe))}pe.setOutput=setOutput;function setCommandEcho(R){ve.issue("echo",R?"on":"off")}pe.setCommandEcho=setCommandEcho;function setFailed(R){process.exitCode=_e.Failure;error(R)}pe.setFailed=setFailed;function isDebug(){return process.env["RUNNER_DEBUG"]==="1"}pe.isDebug=isDebug;function debug(R){ve.issueCommand("debug",{},R)}pe.debug=debug;function error(R,pe={}){ve.issueCommand("error",Ee.toCommandProperties(pe),R instanceof Error?R.toString():R)}pe.error=error;function warning(R,pe={}){ve.issueCommand("warning",Ee.toCommandProperties(pe),R instanceof Error?R.toString():R)}pe.warning=warning;function notice(R,pe={}){ve.issueCommand("notice",Ee.toCommandProperties(pe),R instanceof Error?R.toString():R)}pe.notice=notice;function info(R){process.stdout.write(R+Ce.EOL)}pe.info=info;function startGroup(R){ve.issue("group",R)}pe.startGroup=startGroup;function endGroup(){ve.issue("endgroup")}pe.endGroup=endGroup;function group(R,pe){return ye(this,void 0,void 0,(function*(){startGroup(R);let Ae;try{Ae=yield pe()}finally{endGroup()}return Ae}))}pe.group=group;function saveState(R,pe){const Ae=process.env["GITHUB_STATE"]||"";if(Ae){return be.issueFileCommand("STATE",be.prepareKeyValueMessage(R,pe))}ve.issueCommand("save-state",{name:R},Ee.toCommandValue(pe))}pe.saveState=saveState;function getState(R){return process.env[`STATE_${R}`]||""}pe.getState=getState;function getIDToken(R){return ye(this,void 0,void 0,(function*(){return yield Ie.OidcClient.getIDToken(R)}))}pe.getIDToken=getIDToken;var Be=Ae(81327);Object.defineProperty(pe,"summary",{enumerable:true,get:function(){return Be.summary}});var Se=Ae(81327);Object.defineProperty(pe,"markdownSummary",{enumerable:true,get:function(){return Se.markdownSummary}});var Qe=Ae(2981);Object.defineProperty(pe,"toPosixPath",{enumerable:true,get:function(){return Qe.toPosixPath}});Object.defineProperty(pe,"toWin32Path",{enumerable:true,get:function(){return Qe.toWin32Path}});Object.defineProperty(pe,"toPlatformPath",{enumerable:true,get:function(){return Qe.toPlatformPath}})},717:function(R,pe,Ae){"use strict";var he=this&&this.__createBinding||(Object.create?function(R,pe,Ae,he){if(he===undefined)he=Ae;Object.defineProperty(R,he,{enumerable:true,get:function(){return pe[Ae]}})}:function(R,pe,Ae,he){if(he===undefined)he=Ae;R[he]=pe[Ae]});var ge=this&&this.__setModuleDefault||(Object.create?function(R,pe){Object.defineProperty(R,"default",{enumerable:true,value:pe})}:function(R,pe){R["default"]=pe});var me=this&&this.__importStar||function(R){if(R&&R.__esModule)return R;var pe={};if(R!=null)for(var Ae in R)if(Ae!=="default"&&Object.hasOwnProperty.call(R,Ae))he(pe,R,Ae);ge(pe,R);return pe};Object.defineProperty(pe,"__esModule",{value:true});pe.prepareKeyValueMessage=pe.issueFileCommand=void 0;const ye=me(Ae(57147));const ve=me(Ae(22037));const be=Ae(78974);const Ee=Ae(5278);function issueFileCommand(R,pe){const Ae=process.env[`GITHUB_${R}`];if(!Ae){throw new Error(`Unable to find environment variable for file command ${R}`)}if(!ye.existsSync(Ae)){throw new Error(`Missing file at path: ${Ae}`)}ye.appendFileSync(Ae,`${Ee.toCommandValue(pe)}${ve.EOL}`,{encoding:"utf8"})}pe.issueFileCommand=issueFileCommand;function prepareKeyValueMessage(R,pe){const Ae=`ghadelimiter_${be.v4()}`;const he=Ee.toCommandValue(pe);if(R.includes(Ae)){throw new Error(`Unexpected input: name should not contain the delimiter "${Ae}"`)}if(he.includes(Ae)){throw new Error(`Unexpected input: value should not contain the delimiter "${Ae}"`)}return`${R}<<${Ae}${ve.EOL}${he}${ve.EOL}${Ae}`}pe.prepareKeyValueMessage=prepareKeyValueMessage},98041:function(R,pe,Ae){"use strict";var he=this&&this.__awaiter||function(R,pe,Ae,he){function adopt(R){return R instanceof Ae?R:new Ae((function(pe){pe(R)}))}return new(Ae||(Ae=Promise))((function(Ae,ge){function fulfilled(R){try{step(he.next(R))}catch(R){ge(R)}}function rejected(R){try{step(he["throw"](R))}catch(R){ge(R)}}function step(R){R.done?Ae(R.value):adopt(R.value).then(fulfilled,rejected)}step((he=he.apply(R,pe||[])).next())}))};Object.defineProperty(pe,"__esModule",{value:true});pe.OidcClient=void 0;const ge=Ae(96255);const me=Ae(35526);const ye=Ae(42186);class OidcClient{static createHttpClient(R=true,pe=10){const Ae={allowRetries:R,maxRetries:pe};return new ge.HttpClient("actions/oidc-client",[new me.BearerCredentialHandler(OidcClient.getRequestToken())],Ae)}static getRequestToken(){const R=process.env["ACTIONS_ID_TOKEN_REQUEST_TOKEN"];if(!R){throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable")}return R}static getIDTokenUrl(){const R=process.env["ACTIONS_ID_TOKEN_REQUEST_URL"];if(!R){throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable")}return R}static getCall(R){var pe;return he(this,void 0,void 0,(function*(){const Ae=OidcClient.createHttpClient();const he=yield Ae.getJson(R).catch((R=>{throw new Error(`Failed to get ID Token. \n \n Error Code : ${R.statusCode}\n \n Error Message: ${R.message}`)}));const ge=(pe=he.result)===null||pe===void 0?void 0:pe.value;if(!ge){throw new Error("Response json body do not have ID Token field")}return ge}))}static getIDToken(R){return he(this,void 0,void 0,(function*(){try{let pe=OidcClient.getIDTokenUrl();if(R){const Ae=encodeURIComponent(R);pe=`${pe}&audience=${Ae}`}ye.debug(`ID token url is ${pe}`);const Ae=yield OidcClient.getCall(pe);ye.setSecret(Ae);return Ae}catch(R){throw new Error(`Error message: ${R.message}`)}}))}}pe.OidcClient=OidcClient},2981:function(R,pe,Ae){"use strict";var he=this&&this.__createBinding||(Object.create?function(R,pe,Ae,he){if(he===undefined)he=Ae;Object.defineProperty(R,he,{enumerable:true,get:function(){return pe[Ae]}})}:function(R,pe,Ae,he){if(he===undefined)he=Ae;R[he]=pe[Ae]});var ge=this&&this.__setModuleDefault||(Object.create?function(R,pe){Object.defineProperty(R,"default",{enumerable:true,value:pe})}:function(R,pe){R["default"]=pe});var me=this&&this.__importStar||function(R){if(R&&R.__esModule)return R;var pe={};if(R!=null)for(var Ae in R)if(Ae!=="default"&&Object.hasOwnProperty.call(R,Ae))he(pe,R,Ae);ge(pe,R);return pe};Object.defineProperty(pe,"__esModule",{value:true});pe.toPlatformPath=pe.toWin32Path=pe.toPosixPath=void 0;const ye=me(Ae(71017));function toPosixPath(R){return R.replace(/[\\]/g,"/")}pe.toPosixPath=toPosixPath;function toWin32Path(R){return R.replace(/[/]/g,"\\")}pe.toWin32Path=toWin32Path;function toPlatformPath(R){return R.replace(/[/\\]/g,ye.sep)}pe.toPlatformPath=toPlatformPath},81327:function(R,pe,Ae){"use strict";var he=this&&this.__awaiter||function(R,pe,Ae,he){function adopt(R){return R instanceof Ae?R:new Ae((function(pe){pe(R)}))}return new(Ae||(Ae=Promise))((function(Ae,ge){function fulfilled(R){try{step(he.next(R))}catch(R){ge(R)}}function rejected(R){try{step(he["throw"](R))}catch(R){ge(R)}}function step(R){R.done?Ae(R.value):adopt(R.value).then(fulfilled,rejected)}step((he=he.apply(R,pe||[])).next())}))};Object.defineProperty(pe,"__esModule",{value:true});pe.summary=pe.markdownSummary=pe.SUMMARY_DOCS_URL=pe.SUMMARY_ENV_VAR=void 0;const ge=Ae(22037);const me=Ae(57147);const{access:ye,appendFile:ve,writeFile:be}=me.promises;pe.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY";pe.SUMMARY_DOCS_URL="https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary";class Summary{constructor(){this._buffer=""}filePath(){return he(this,void 0,void 0,(function*(){if(this._filePath){return this._filePath}const R=process.env[pe.SUMMARY_ENV_VAR];if(!R){throw new Error(`Unable to find environment variable for $${pe.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`)}try{yield ye(R,me.constants.R_OK|me.constants.W_OK)}catch(pe){throw new Error(`Unable to access summary file: '${R}'. Check if the file has correct read/write permissions.`)}this._filePath=R;return this._filePath}))}wrap(R,pe,Ae={}){const he=Object.entries(Ae).map((([R,pe])=>` ${R}="${pe}"`)).join("");if(!pe){return`<${R}${he}>`}return`<${R}${he}>${pe}`}write(R){return he(this,void 0,void 0,(function*(){const pe=!!(R===null||R===void 0?void 0:R.overwrite);const Ae=yield this.filePath();const he=pe?be:ve;yield he(Ae,this._buffer,{encoding:"utf8"});return this.emptyBuffer()}))}clear(){return he(this,void 0,void 0,(function*(){return this.emptyBuffer().write({overwrite:true})}))}stringify(){return this._buffer}isEmptyBuffer(){return this._buffer.length===0}emptyBuffer(){this._buffer="";return this}addRaw(R,pe=false){this._buffer+=R;return pe?this.addEOL():this}addEOL(){return this.addRaw(ge.EOL)}addCodeBlock(R,pe){const Ae=Object.assign({},pe&&{lang:pe});const he=this.wrap("pre",this.wrap("code",R),Ae);return this.addRaw(he).addEOL()}addList(R,pe=false){const Ae=pe?"ol":"ul";const he=R.map((R=>this.wrap("li",R))).join("");const ge=this.wrap(Ae,he);return this.addRaw(ge).addEOL()}addTable(R){const pe=R.map((R=>{const pe=R.map((R=>{if(typeof R==="string"){return this.wrap("td",R)}const{header:pe,data:Ae,colspan:he,rowspan:ge}=R;const me=pe?"th":"td";const ye=Object.assign(Object.assign({},he&&{colspan:he}),ge&&{rowspan:ge});return this.wrap(me,Ae,ye)})).join("");return this.wrap("tr",pe)})).join("");const Ae=this.wrap("table",pe);return this.addRaw(Ae).addEOL()}addDetails(R,pe){const Ae=this.wrap("details",this.wrap("summary",R)+pe);return this.addRaw(Ae).addEOL()}addImage(R,pe,Ae){const{width:he,height:ge}=Ae||{};const me=Object.assign(Object.assign({},he&&{width:he}),ge&&{height:ge});const ye=this.wrap("img",null,Object.assign({src:R,alt:pe},me));return this.addRaw(ye).addEOL()}addHeading(R,pe){const Ae=`h${pe}`;const he=["h1","h2","h3","h4","h5","h6"].includes(Ae)?Ae:"h1";const ge=this.wrap(he,R);return this.addRaw(ge).addEOL()}addSeparator(){const R=this.wrap("hr",null);return this.addRaw(R).addEOL()}addBreak(){const R=this.wrap("br",null);return this.addRaw(R).addEOL()}addQuote(R,pe){const Ae=Object.assign({},pe&&{cite:pe});const he=this.wrap("blockquote",R,Ae);return this.addRaw(he).addEOL()}addLink(R,pe){const Ae=this.wrap("a",R,{href:pe});return this.addRaw(Ae).addEOL()}}const Ee=new Summary;pe.markdownSummary=Ee;pe.summary=Ee},5278:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.toCommandProperties=pe.toCommandValue=void 0;function toCommandValue(R){if(R===null||R===undefined){return""}else if(typeof R==="string"||R instanceof String){return R}return JSON.stringify(R)}pe.toCommandValue=toCommandValue;function toCommandProperties(R){if(!Object.keys(R).length){return{}}return{title:R.title,file:R.file,line:R.startLine,endLine:R.endLine,col:R.startColumn,endColumn:R.endColumn}}pe.toCommandProperties=toCommandProperties},78974:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});Object.defineProperty(pe,"v1",{enumerable:true,get:function(){return he.default}});Object.defineProperty(pe,"v3",{enumerable:true,get:function(){return ge.default}});Object.defineProperty(pe,"v4",{enumerable:true,get:function(){return me.default}});Object.defineProperty(pe,"v5",{enumerable:true,get:function(){return ye.default}});Object.defineProperty(pe,"NIL",{enumerable:true,get:function(){return ve.default}});Object.defineProperty(pe,"version",{enumerable:true,get:function(){return be.default}});Object.defineProperty(pe,"validate",{enumerable:true,get:function(){return Ee.default}});Object.defineProperty(pe,"stringify",{enumerable:true,get:function(){return Ce.default}});Object.defineProperty(pe,"parse",{enumerable:true,get:function(){return we.default}});var he=_interopRequireDefault(Ae(81595));var ge=_interopRequireDefault(Ae(26993));var me=_interopRequireDefault(Ae(51472));var ye=_interopRequireDefault(Ae(16217));var ve=_interopRequireDefault(Ae(32381));var be=_interopRequireDefault(Ae(40427));var Ee=_interopRequireDefault(Ae(92609));var Ce=_interopRequireDefault(Ae(61458));var we=_interopRequireDefault(Ae(26385));function _interopRequireDefault(R){return R&&R.__esModule?R:{default:R}}},5842:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe["default"]=void 0;var he=_interopRequireDefault(Ae(6113));function _interopRequireDefault(R){return R&&R.__esModule?R:{default:R}}function md5(R){if(Array.isArray(R)){R=Buffer.from(R)}else if(typeof R==="string"){R=Buffer.from(R,"utf8")}return he.default.createHash("md5").update(R).digest()}var ge=md5;pe["default"]=ge},32381:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe["default"]=void 0;var Ae="00000000-0000-0000-0000-000000000000";pe["default"]=Ae},26385:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe["default"]=void 0;var he=_interopRequireDefault(Ae(92609));function _interopRequireDefault(R){return R&&R.__esModule?R:{default:R}}function parse(R){if(!(0,he.default)(R)){throw TypeError("Invalid UUID")}let pe;const Ae=new Uint8Array(16);Ae[0]=(pe=parseInt(R.slice(0,8),16))>>>24;Ae[1]=pe>>>16&255;Ae[2]=pe>>>8&255;Ae[3]=pe&255;Ae[4]=(pe=parseInt(R.slice(9,13),16))>>>8;Ae[5]=pe&255;Ae[6]=(pe=parseInt(R.slice(14,18),16))>>>8;Ae[7]=pe&255;Ae[8]=(pe=parseInt(R.slice(19,23),16))>>>8;Ae[9]=pe&255;Ae[10]=(pe=parseInt(R.slice(24,36),16))/1099511627776&255;Ae[11]=pe/4294967296&255;Ae[12]=pe>>>24&255;Ae[13]=pe>>>16&255;Ae[14]=pe>>>8&255;Ae[15]=pe&255;return Ae}var ge=parse;pe["default"]=ge},86230:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe["default"]=void 0;var Ae=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;pe["default"]=Ae},9784:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe["default"]=rng;var he=_interopRequireDefault(Ae(6113));function _interopRequireDefault(R){return R&&R.__esModule?R:{default:R}}const ge=new Uint8Array(256);let me=ge.length;function rng(){if(me>ge.length-16){he.default.randomFillSync(ge);me=0}return ge.slice(me,me+=16)}},38844:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe["default"]=void 0;var he=_interopRequireDefault(Ae(6113));function _interopRequireDefault(R){return R&&R.__esModule?R:{default:R}}function sha1(R){if(Array.isArray(R)){R=Buffer.from(R)}else if(typeof R==="string"){R=Buffer.from(R,"utf8")}return he.default.createHash("sha1").update(R).digest()}var ge=sha1;pe["default"]=ge},61458:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe["default"]=void 0;var he=_interopRequireDefault(Ae(92609));function _interopRequireDefault(R){return R&&R.__esModule?R:{default:R}}const ge=[];for(let R=0;R<256;++R){ge.push((R+256).toString(16).substr(1))}function stringify(R,pe=0){const Ae=(ge[R[pe+0]]+ge[R[pe+1]]+ge[R[pe+2]]+ge[R[pe+3]]+"-"+ge[R[pe+4]]+ge[R[pe+5]]+"-"+ge[R[pe+6]]+ge[R[pe+7]]+"-"+ge[R[pe+8]]+ge[R[pe+9]]+"-"+ge[R[pe+10]]+ge[R[pe+11]]+ge[R[pe+12]]+ge[R[pe+13]]+ge[R[pe+14]]+ge[R[pe+15]]).toLowerCase();if(!(0,he.default)(Ae)){throw TypeError("Stringified UUID is invalid")}return Ae}var me=stringify;pe["default"]=me},81595:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe["default"]=void 0;var he=_interopRequireDefault(Ae(9784));var ge=_interopRequireDefault(Ae(61458));function _interopRequireDefault(R){return R&&R.__esModule?R:{default:R}}let me;let ye;let ve=0;let be=0;function v1(R,pe,Ae){let Ee=pe&&Ae||0;const Ce=pe||new Array(16);R=R||{};let we=R.node||me;let Ie=R.clockseq!==undefined?R.clockseq:ye;if(we==null||Ie==null){const pe=R.random||(R.rng||he.default)();if(we==null){we=me=[pe[0]|1,pe[1],pe[2],pe[3],pe[4],pe[5]]}if(Ie==null){Ie=ye=(pe[6]<<8|pe[7])&16383}}let _e=R.msecs!==undefined?R.msecs:Date.now();let Be=R.nsecs!==undefined?R.nsecs:be+1;const Se=_e-ve+(Be-be)/1e4;if(Se<0&&R.clockseq===undefined){Ie=Ie+1&16383}if((Se<0||_e>ve)&&R.nsecs===undefined){Be=0}if(Be>=1e4){throw new Error("uuid.v1(): Can't create more than 10M uuids/sec")}ve=_e;be=Be;ye=Ie;_e+=122192928e5;const Qe=((_e&268435455)*1e4+Be)%4294967296;Ce[Ee++]=Qe>>>24&255;Ce[Ee++]=Qe>>>16&255;Ce[Ee++]=Qe>>>8&255;Ce[Ee++]=Qe&255;const xe=_e/4294967296*1e4&268435455;Ce[Ee++]=xe>>>8&255;Ce[Ee++]=xe&255;Ce[Ee++]=xe>>>24&15|16;Ce[Ee++]=xe>>>16&255;Ce[Ee++]=Ie>>>8|128;Ce[Ee++]=Ie&255;for(let R=0;R<6;++R){Ce[Ee+R]=we[R]}return pe||(0,ge.default)(Ce)}var Ee=v1;pe["default"]=Ee},26993:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe["default"]=void 0;var he=_interopRequireDefault(Ae(65920));var ge=_interopRequireDefault(Ae(5842));function _interopRequireDefault(R){return R&&R.__esModule?R:{default:R}}const me=(0,he.default)("v3",48,ge.default);var ye=me;pe["default"]=ye},65920:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe["default"]=_default;pe.URL=pe.DNS=void 0;var he=_interopRequireDefault(Ae(61458));var ge=_interopRequireDefault(Ae(26385));function _interopRequireDefault(R){return R&&R.__esModule?R:{default:R}}function stringToBytes(R){R=unescape(encodeURIComponent(R));const pe=[];for(let Ae=0;Ae{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe["default"]=void 0;var he=_interopRequireDefault(Ae(9784));var ge=_interopRequireDefault(Ae(61458));function _interopRequireDefault(R){return R&&R.__esModule?R:{default:R}}function v4(R,pe,Ae){R=R||{};const me=R.random||(R.rng||he.default)();me[6]=me[6]&15|64;me[8]=me[8]&63|128;if(pe){Ae=Ae||0;for(let R=0;R<16;++R){pe[Ae+R]=me[R]}return pe}return(0,ge.default)(me)}var me=v4;pe["default"]=me},16217:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe["default"]=void 0;var he=_interopRequireDefault(Ae(65920));var ge=_interopRequireDefault(Ae(38844));function _interopRequireDefault(R){return R&&R.__esModule?R:{default:R}}const me=(0,he.default)("v5",80,ge.default);var ye=me;pe["default"]=ye},92609:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe["default"]=void 0;var he=_interopRequireDefault(Ae(86230));function _interopRequireDefault(R){return R&&R.__esModule?R:{default:R}}function validate(R){return typeof R==="string"&&he.default.test(R)}var ge=validate;pe["default"]=ge},40427:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe["default"]=void 0;var he=_interopRequireDefault(Ae(92609));function _interopRequireDefault(R){return R&&R.__esModule?R:{default:R}}function version(R){if(!(0,he.default)(R)){throw TypeError("Invalid UUID")}return parseInt(R.substr(14,1),16)}var ge=version;pe["default"]=ge},35526:function(R,pe){"use strict";var Ae=this&&this.__awaiter||function(R,pe,Ae,he){function adopt(R){return R instanceof Ae?R:new Ae((function(pe){pe(R)}))}return new(Ae||(Ae=Promise))((function(Ae,ge){function fulfilled(R){try{step(he.next(R))}catch(R){ge(R)}}function rejected(R){try{step(he["throw"](R))}catch(R){ge(R)}}function step(R){R.done?Ae(R.value):adopt(R.value).then(fulfilled,rejected)}step((he=he.apply(R,pe||[])).next())}))};Object.defineProperty(pe,"__esModule",{value:true});pe.PersonalAccessTokenCredentialHandler=pe.BearerCredentialHandler=pe.BasicCredentialHandler=void 0;class BasicCredentialHandler{constructor(R,pe){this.username=R;this.password=pe}prepareRequest(R){if(!R.headers){throw Error("The request has no headers")}R.headers["Authorization"]=`Basic ${Buffer.from(`${this.username}:${this.password}`).toString("base64")}`}canHandleAuthentication(){return false}handleAuthentication(){return Ae(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}pe.BasicCredentialHandler=BasicCredentialHandler;class BearerCredentialHandler{constructor(R){this.token=R}prepareRequest(R){if(!R.headers){throw Error("The request has no headers")}R.headers["Authorization"]=`Bearer ${this.token}`}canHandleAuthentication(){return false}handleAuthentication(){return Ae(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}pe.BearerCredentialHandler=BearerCredentialHandler;class PersonalAccessTokenCredentialHandler{constructor(R){this.token=R}prepareRequest(R){if(!R.headers){throw Error("The request has no headers")}R.headers["Authorization"]=`Basic ${Buffer.from(`PAT:${this.token}`).toString("base64")}`}canHandleAuthentication(){return false}handleAuthentication(){return Ae(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}pe.PersonalAccessTokenCredentialHandler=PersonalAccessTokenCredentialHandler},96255:function(R,pe,Ae){"use strict";var he=this&&this.__createBinding||(Object.create?function(R,pe,Ae,he){if(he===undefined)he=Ae;var ge=Object.getOwnPropertyDescriptor(pe,Ae);if(!ge||("get"in ge?!pe.__esModule:ge.writable||ge.configurable)){ge={enumerable:true,get:function(){return pe[Ae]}}}Object.defineProperty(R,he,ge)}:function(R,pe,Ae,he){if(he===undefined)he=Ae;R[he]=pe[Ae]});var ge=this&&this.__setModuleDefault||(Object.create?function(R,pe){Object.defineProperty(R,"default",{enumerable:true,value:pe})}:function(R,pe){R["default"]=pe});var me=this&&this.__importStar||function(R){if(R&&R.__esModule)return R;var pe={};if(R!=null)for(var Ae in R)if(Ae!=="default"&&Object.prototype.hasOwnProperty.call(R,Ae))he(pe,R,Ae);ge(pe,R);return pe};var ye=this&&this.__awaiter||function(R,pe,Ae,he){function adopt(R){return R instanceof Ae?R:new Ae((function(pe){pe(R)}))}return new(Ae||(Ae=Promise))((function(Ae,ge){function fulfilled(R){try{step(he.next(R))}catch(R){ge(R)}}function rejected(R){try{step(he["throw"](R))}catch(R){ge(R)}}function step(R){R.done?Ae(R.value):adopt(R.value).then(fulfilled,rejected)}step((he=he.apply(R,pe||[])).next())}))};Object.defineProperty(pe,"__esModule",{value:true});pe.HttpClient=pe.isHttps=pe.HttpClientResponse=pe.HttpClientError=pe.getProxyUrl=pe.MediaTypes=pe.Headers=pe.HttpCodes=void 0;const ve=me(Ae(13685));const be=me(Ae(95687));const Ee=me(Ae(19835));const Ce=me(Ae(74294));const we=Ae(41773);var Ie;(function(R){R[R["OK"]=200]="OK";R[R["MultipleChoices"]=300]="MultipleChoices";R[R["MovedPermanently"]=301]="MovedPermanently";R[R["ResourceMoved"]=302]="ResourceMoved";R[R["SeeOther"]=303]="SeeOther";R[R["NotModified"]=304]="NotModified";R[R["UseProxy"]=305]="UseProxy";R[R["SwitchProxy"]=306]="SwitchProxy";R[R["TemporaryRedirect"]=307]="TemporaryRedirect";R[R["PermanentRedirect"]=308]="PermanentRedirect";R[R["BadRequest"]=400]="BadRequest";R[R["Unauthorized"]=401]="Unauthorized";R[R["PaymentRequired"]=402]="PaymentRequired";R[R["Forbidden"]=403]="Forbidden";R[R["NotFound"]=404]="NotFound";R[R["MethodNotAllowed"]=405]="MethodNotAllowed";R[R["NotAcceptable"]=406]="NotAcceptable";R[R["ProxyAuthenticationRequired"]=407]="ProxyAuthenticationRequired";R[R["RequestTimeout"]=408]="RequestTimeout";R[R["Conflict"]=409]="Conflict";R[R["Gone"]=410]="Gone";R[R["TooManyRequests"]=429]="TooManyRequests";R[R["InternalServerError"]=500]="InternalServerError";R[R["NotImplemented"]=501]="NotImplemented";R[R["BadGateway"]=502]="BadGateway";R[R["ServiceUnavailable"]=503]="ServiceUnavailable";R[R["GatewayTimeout"]=504]="GatewayTimeout"})(Ie||(pe.HttpCodes=Ie={}));var _e;(function(R){R["Accept"]="accept";R["ContentType"]="content-type"})(_e||(pe.Headers=_e={}));var Be;(function(R){R["ApplicationJson"]="application/json"})(Be||(pe.MediaTypes=Be={}));function getProxyUrl(R){const pe=Ee.getProxyUrl(new URL(R));return pe?pe.href:""}pe.getProxyUrl=getProxyUrl;const Se=[Ie.MovedPermanently,Ie.ResourceMoved,Ie.SeeOther,Ie.TemporaryRedirect,Ie.PermanentRedirect];const Qe=[Ie.BadGateway,Ie.ServiceUnavailable,Ie.GatewayTimeout];const xe=["OPTIONS","GET","DELETE","HEAD"];const De=10;const ke=5;class HttpClientError extends Error{constructor(R,pe){super(R);this.name="HttpClientError";this.statusCode=pe;Object.setPrototypeOf(this,HttpClientError.prototype)}}pe.HttpClientError=HttpClientError;class HttpClientResponse{constructor(R){this.message=R}readBody(){return ye(this,void 0,void 0,(function*(){return new Promise((R=>ye(this,void 0,void 0,(function*(){let pe=Buffer.alloc(0);this.message.on("data",(R=>{pe=Buffer.concat([pe,R])}));this.message.on("end",(()=>{R(pe.toString())}))}))))}))}readBodyBuffer(){return ye(this,void 0,void 0,(function*(){return new Promise((R=>ye(this,void 0,void 0,(function*(){const pe=[];this.message.on("data",(R=>{pe.push(R)}));this.message.on("end",(()=>{R(Buffer.concat(pe))}))}))))}))}}pe.HttpClientResponse=HttpClientResponse;function isHttps(R){const pe=new URL(R);return pe.protocol==="https:"}pe.isHttps=isHttps;class HttpClient{constructor(R,pe,Ae){this._ignoreSslError=false;this._allowRedirects=true;this._allowRedirectDowngrade=false;this._maxRedirects=50;this._allowRetries=false;this._maxRetries=1;this._keepAlive=false;this._disposed=false;this.userAgent=R;this.handlers=pe||[];this.requestOptions=Ae;if(Ae){if(Ae.ignoreSslError!=null){this._ignoreSslError=Ae.ignoreSslError}this._socketTimeout=Ae.socketTimeout;if(Ae.allowRedirects!=null){this._allowRedirects=Ae.allowRedirects}if(Ae.allowRedirectDowngrade!=null){this._allowRedirectDowngrade=Ae.allowRedirectDowngrade}if(Ae.maxRedirects!=null){this._maxRedirects=Math.max(Ae.maxRedirects,0)}if(Ae.keepAlive!=null){this._keepAlive=Ae.keepAlive}if(Ae.allowRetries!=null){this._allowRetries=Ae.allowRetries}if(Ae.maxRetries!=null){this._maxRetries=Ae.maxRetries}}}options(R,pe){return ye(this,void 0,void 0,(function*(){return this.request("OPTIONS",R,null,pe||{})}))}get(R,pe){return ye(this,void 0,void 0,(function*(){return this.request("GET",R,null,pe||{})}))}del(R,pe){return ye(this,void 0,void 0,(function*(){return this.request("DELETE",R,null,pe||{})}))}post(R,pe,Ae){return ye(this,void 0,void 0,(function*(){return this.request("POST",R,pe,Ae||{})}))}patch(R,pe,Ae){return ye(this,void 0,void 0,(function*(){return this.request("PATCH",R,pe,Ae||{})}))}put(R,pe,Ae){return ye(this,void 0,void 0,(function*(){return this.request("PUT",R,pe,Ae||{})}))}head(R,pe){return ye(this,void 0,void 0,(function*(){return this.request("HEAD",R,null,pe||{})}))}sendStream(R,pe,Ae,he){return ye(this,void 0,void 0,(function*(){return this.request(R,pe,Ae,he)}))}getJson(R,pe={}){return ye(this,void 0,void 0,(function*(){pe[_e.Accept]=this._getExistingOrDefaultHeader(pe,_e.Accept,Be.ApplicationJson);const Ae=yield this.get(R,pe);return this._processResponse(Ae,this.requestOptions)}))}postJson(R,pe,Ae={}){return ye(this,void 0,void 0,(function*(){const he=JSON.stringify(pe,null,2);Ae[_e.Accept]=this._getExistingOrDefaultHeader(Ae,_e.Accept,Be.ApplicationJson);Ae[_e.ContentType]=this._getExistingOrDefaultHeader(Ae,_e.ContentType,Be.ApplicationJson);const ge=yield this.post(R,he,Ae);return this._processResponse(ge,this.requestOptions)}))}putJson(R,pe,Ae={}){return ye(this,void 0,void 0,(function*(){const he=JSON.stringify(pe,null,2);Ae[_e.Accept]=this._getExistingOrDefaultHeader(Ae,_e.Accept,Be.ApplicationJson);Ae[_e.ContentType]=this._getExistingOrDefaultHeader(Ae,_e.ContentType,Be.ApplicationJson);const ge=yield this.put(R,he,Ae);return this._processResponse(ge,this.requestOptions)}))}patchJson(R,pe,Ae={}){return ye(this,void 0,void 0,(function*(){const he=JSON.stringify(pe,null,2);Ae[_e.Accept]=this._getExistingOrDefaultHeader(Ae,_e.Accept,Be.ApplicationJson);Ae[_e.ContentType]=this._getExistingOrDefaultHeader(Ae,_e.ContentType,Be.ApplicationJson);const ge=yield this.patch(R,he,Ae);return this._processResponse(ge,this.requestOptions)}))}request(R,pe,Ae,he){return ye(this,void 0,void 0,(function*(){if(this._disposed){throw new Error("Client has already been disposed.")}const ge=new URL(pe);let me=this._prepareRequest(R,ge,he);const ye=this._allowRetries&&xe.includes(R)?this._maxRetries+1:1;let ve=0;let be;do{be=yield this.requestRaw(me,Ae);if(be&&be.message&&be.message.statusCode===Ie.Unauthorized){let R;for(const pe of this.handlers){if(pe.canHandleAuthentication(be)){R=pe;break}}if(R){return R.handleAuthentication(this,me,Ae)}else{return be}}let pe=this._maxRedirects;while(be.message.statusCode&&Se.includes(be.message.statusCode)&&this._allowRedirects&&pe>0){const ye=be.message.headers["location"];if(!ye){break}const ve=new URL(ye);if(ge.protocol==="https:"&&ge.protocol!==ve.protocol&&!this._allowRedirectDowngrade){throw new Error("Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.")}yield be.readBody();if(ve.hostname!==ge.hostname){for(const R in he){if(R.toLowerCase()==="authorization"){delete he[R]}}}me=this._prepareRequest(R,ve,he);be=yield this.requestRaw(me,Ae);pe--}if(!be.message.statusCode||!Qe.includes(be.message.statusCode)){return be}ve+=1;if(ve{function callbackForResult(R,pe){if(R){he(R)}else if(!pe){he(new Error("Unknown error"))}else{Ae(pe)}}this.requestRawWithCallback(R,pe,callbackForResult)}))}))}requestRawWithCallback(R,pe,Ae){if(typeof pe==="string"){if(!R.options.headers){R.options.headers={}}R.options.headers["Content-Length"]=Buffer.byteLength(pe,"utf8")}let he=false;function handleResult(R,pe){if(!he){he=true;Ae(R,pe)}}const ge=R.httpModule.request(R.options,(R=>{const pe=new HttpClientResponse(R);handleResult(undefined,pe)}));let me;ge.on("socket",(R=>{me=R}));ge.setTimeout(this._socketTimeout||3*6e4,(()=>{if(me){me.end()}handleResult(new Error(`Request timeout: ${R.options.path}`))}));ge.on("error",(function(R){handleResult(R)}));if(pe&&typeof pe==="string"){ge.write(pe,"utf8")}if(pe&&typeof pe!=="string"){pe.on("close",(function(){ge.end()}));pe.pipe(ge)}else{ge.end()}}getAgent(R){const pe=new URL(R);return this._getAgent(pe)}getAgentDispatcher(R){const pe=new URL(R);const Ae=Ee.getProxyUrl(pe);const he=Ae&&Ae.hostname;if(!he){return}return this._getProxyAgentDispatcher(pe,Ae)}_prepareRequest(R,pe,Ae){const he={};he.parsedUrl=pe;const ge=he.parsedUrl.protocol==="https:";he.httpModule=ge?be:ve;const me=ge?443:80;he.options={};he.options.host=he.parsedUrl.hostname;he.options.port=he.parsedUrl.port?parseInt(he.parsedUrl.port):me;he.options.path=(he.parsedUrl.pathname||"")+(he.parsedUrl.search||"");he.options.method=R;he.options.headers=this._mergeHeaders(Ae);if(this.userAgent!=null){he.options.headers["user-agent"]=this.userAgent}he.options.agent=this._getAgent(he.parsedUrl);if(this.handlers){for(const R of this.handlers){R.prepareRequest(he.options)}}return he}_mergeHeaders(R){if(this.requestOptions&&this.requestOptions.headers){return Object.assign({},lowercaseKeys(this.requestOptions.headers),lowercaseKeys(R||{}))}return lowercaseKeys(R||{})}_getExistingOrDefaultHeader(R,pe,Ae){let he;if(this.requestOptions&&this.requestOptions.headers){he=lowercaseKeys(this.requestOptions.headers)[pe]}return R[pe]||he||Ae}_getAgent(R){let pe;const Ae=Ee.getProxyUrl(R);const he=Ae&&Ae.hostname;if(this._keepAlive&&he){pe=this._proxyAgent}if(!he){pe=this._agent}if(pe){return pe}const ge=R.protocol==="https:";let me=100;if(this.requestOptions){me=this.requestOptions.maxSockets||ve.globalAgent.maxSockets}if(Ae&&Ae.hostname){const R={maxSockets:me,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(Ae.username||Ae.password)&&{proxyAuth:`${Ae.username}:${Ae.password}`}),{host:Ae.hostname,port:Ae.port})};let he;const ye=Ae.protocol==="https:";if(ge){he=ye?Ce.httpsOverHttps:Ce.httpsOverHttp}else{he=ye?Ce.httpOverHttps:Ce.httpOverHttp}pe=he(R);this._proxyAgent=pe}if(!pe){const R={keepAlive:this._keepAlive,maxSockets:me};pe=ge?new be.Agent(R):new ve.Agent(R);this._agent=pe}if(ge&&this._ignoreSslError){pe.options=Object.assign(pe.options||{},{rejectUnauthorized:false})}return pe}_getProxyAgentDispatcher(R,pe){let Ae;if(this._keepAlive){Ae=this._proxyAgentDispatcher}if(Ae){return Ae}const he=R.protocol==="https:";Ae=new we.ProxyAgent(Object.assign({uri:pe.href,pipelining:!this._keepAlive?0:1},(pe.username||pe.password)&&{token:`${pe.username}:${pe.password}`}));this._proxyAgentDispatcher=Ae;if(he&&this._ignoreSslError){Ae.options=Object.assign(Ae.options.requestTls||{},{rejectUnauthorized:false})}return Ae}_performExponentialBackoff(R){return ye(this,void 0,void 0,(function*(){R=Math.min(De,R);const pe=ke*Math.pow(2,R);return new Promise((R=>setTimeout((()=>R()),pe)))}))}_processResponse(R,pe){return ye(this,void 0,void 0,(function*(){return new Promise(((Ae,he)=>ye(this,void 0,void 0,(function*(){const ge=R.message.statusCode||0;const me={statusCode:ge,result:null,headers:{}};if(ge===Ie.NotFound){Ae(me)}function dateTimeDeserializer(R,pe){if(typeof pe==="string"){const R=new Date(pe);if(!isNaN(R.valueOf())){return R}}return pe}let ye;let ve;try{ve=yield R.readBody();if(ve&&ve.length>0){if(pe&&pe.deserializeDates){ye=JSON.parse(ve,dateTimeDeserializer)}else{ye=JSON.parse(ve)}me.result=ye}me.headers=R.message.headers}catch(R){}if(ge>299){let R;if(ye&&ye.message){R=ye.message}else if(ve&&ve.length>0){R=ve}else{R=`Failed request: (${ge})`}const pe=new HttpClientError(R,ge);pe.result=me.result;he(pe)}else{Ae(me)}}))))}))}}pe.HttpClient=HttpClient;const lowercaseKeys=R=>Object.keys(R).reduce(((pe,Ae)=>(pe[Ae.toLowerCase()]=R[Ae],pe)),{})},19835:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.checkBypass=pe.getProxyUrl=void 0;function getProxyUrl(R){const pe=R.protocol==="https:";if(checkBypass(R)){return undefined}const Ae=(()=>{if(pe){return process.env["https_proxy"]||process.env["HTTPS_PROXY"]}else{return process.env["http_proxy"]||process.env["HTTP_PROXY"]}})();if(Ae){try{return new URL(Ae)}catch(R){if(!Ae.startsWith("http://")&&!Ae.startsWith("https://"))return new URL(`http://${Ae}`)}}else{return undefined}}pe.getProxyUrl=getProxyUrl;function checkBypass(R){if(!R.hostname){return false}const pe=R.hostname;if(isLoopbackAddress(pe)){return true}const Ae=process.env["no_proxy"]||process.env["NO_PROXY"]||"";if(!Ae){return false}let he;if(R.port){he=Number(R.port)}else if(R.protocol==="http:"){he=80}else if(R.protocol==="https:"){he=443}const ge=[R.hostname.toUpperCase()];if(typeof he==="number"){ge.push(`${ge[0]}:${he}`)}for(const R of Ae.split(",").map((R=>R.trim().toUpperCase())).filter((R=>R))){if(R==="*"||ge.some((pe=>pe===R||pe.endsWith(`.${R}`)||R.startsWith(".")&&pe.endsWith(`${R}`)))){return true}}return false}pe.checkBypass=checkBypass;function isLoopbackAddress(R){const pe=R.toLowerCase();return pe==="localhost"||pe.startsWith("127.")||pe.startsWith("[::1]")||pe.startsWith("[0:0:0:0:0:0:0:1]")}},67284:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.Attribute=void 0;const he=Ae(4351);const ge=Ae(53499);class Attribute{constructor(R={}){this.attrType="";this.attrValues=[];Object.assign(this,R)}}pe.Attribute=Attribute;he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.ObjectIdentifier})],Attribute.prototype,"attrType",void 0);he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.Any,repeated:"set"})],Attribute.prototype,"attrValues",void 0)},71061:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.CounterSignature=pe.SigningTime=void 0;const he=Ae(4351);const ge=Ae(53499);const me=Ae(82288);const ye=Ae(46959);let ve=class SigningTime extends me.Time{};ve=he.__decorate([(0,ge.AsnType)({type:ge.AsnTypeTypes.Choice})],ve);pe.SigningTime=ve;let be=class CounterSignature extends ye.SignerInfo{};be=he.__decorate([(0,ge.AsnType)({type:ge.AsnTypeTypes.Sequence})],be);pe.CounterSignature=be},1093:(R,pe,Ae)=>{"use strict";var he;Object.defineProperty(pe,"__esModule",{value:true});pe.CertificateSet=pe.CertificateChoices=pe.OtherCertificateFormat=void 0;const ge=Ae(4351);const me=Ae(53499);const ye=Ae(82288);const ve=Ae(64263);class OtherCertificateFormat{constructor(R={}){this.otherCertFormat="";this.otherCert=new ArrayBuffer(0);Object.assign(this,R)}}pe.OtherCertificateFormat=OtherCertificateFormat;ge.__decorate([(0,me.AsnProp)({type:me.AsnPropTypes.ObjectIdentifier})],OtherCertificateFormat.prototype,"otherCertFormat",void 0);ge.__decorate([(0,me.AsnProp)({type:me.AsnPropTypes.Any})],OtherCertificateFormat.prototype,"otherCert",void 0);let be=class CertificateChoices{constructor(R={}){Object.assign(this,R)}};pe.CertificateChoices=be;ge.__decorate([(0,me.AsnProp)({type:ye.Certificate})],be.prototype,"certificate",void 0);ge.__decorate([(0,me.AsnProp)({type:ve.AttributeCertificate,context:2,implicit:true})],be.prototype,"v2AttrCert",void 0);ge.__decorate([(0,me.AsnProp)({type:OtherCertificateFormat,context:3,implicit:true})],be.prototype,"other",void 0);pe.CertificateChoices=be=ge.__decorate([(0,me.AsnType)({type:me.AsnTypeTypes.Choice})],be);let Ee=he=class CertificateSet extends me.AsnArray{constructor(R){super(R);Object.setPrototypeOf(this,he.prototype)}};pe.CertificateSet=Ee;pe.CertificateSet=Ee=he=ge.__decorate([(0,me.AsnType)({type:me.AsnTypeTypes.Set,itemType:be})],Ee)},69207:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.ContentInfo=void 0;const he=Ae(4351);const ge=Ae(53499);class ContentInfo{constructor(R={}){this.contentType="";this.content=new ArrayBuffer(0);Object.assign(this,R)}}pe.ContentInfo=ContentInfo;he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.ObjectIdentifier})],ContentInfo.prototype,"contentType",void 0);he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.Any,context:0})],ContentInfo.prototype,"content",void 0)},21377:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.EncapsulatedContentInfo=pe.EncapsulatedContent=void 0;const he=Ae(4351);const ge=Ae(53499);let me=class EncapsulatedContent{constructor(R={}){Object.assign(this,R)}};pe.EncapsulatedContent=me;he.__decorate([(0,ge.AsnProp)({type:ge.OctetString})],me.prototype,"single",void 0);he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.Any})],me.prototype,"any",void 0);pe.EncapsulatedContent=me=he.__decorate([(0,ge.AsnType)({type:ge.AsnTypeTypes.Choice})],me);class EncapsulatedContentInfo{constructor(R={}){this.eContentType="";Object.assign(this,R)}}pe.EncapsulatedContentInfo=EncapsulatedContentInfo;he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.ObjectIdentifier})],EncapsulatedContentInfo.prototype,"eContentType",void 0);he.__decorate([(0,ge.AsnProp)({type:me,context:0,optional:true})],EncapsulatedContentInfo.prototype,"eContent",void 0)},38800:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.EncryptedContentInfo=pe.EncryptedContent=void 0;const he=Ae(4351);const ge=Ae(53499);const me=Ae(67119);let ye=class EncryptedContent{constructor(R={}){Object.assign(this,R)}};pe.EncryptedContent=ye;he.__decorate([(0,ge.AsnProp)({type:ge.OctetString,context:0,implicit:true,optional:true})],ye.prototype,"value",void 0);he.__decorate([(0,ge.AsnProp)({type:ge.OctetString,converter:ge.AsnConstructedOctetStringConverter,context:0,implicit:true,optional:true,repeated:"sequence"})],ye.prototype,"constructedValue",void 0);pe.EncryptedContent=ye=he.__decorate([(0,ge.AsnType)({type:ge.AsnTypeTypes.Choice})],ye);class EncryptedContentInfo{constructor(R={}){this.contentType="";this.contentEncryptionAlgorithm=new me.ContentEncryptionAlgorithmIdentifier;Object.assign(this,R)}}pe.EncryptedContentInfo=EncryptedContentInfo;he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.ObjectIdentifier})],EncryptedContentInfo.prototype,"contentType",void 0);he.__decorate([(0,ge.AsnProp)({type:me.ContentEncryptionAlgorithmIdentifier})],EncryptedContentInfo.prototype,"contentEncryptionAlgorithm",void 0);he.__decorate([(0,ge.AsnProp)({type:ye,optional:true})],EncryptedContentInfo.prototype,"encryptedContent",void 0)},33333:(R,pe,Ae)=>{"use strict";var he;Object.defineProperty(pe,"__esModule",{value:true});pe.EnvelopedData=pe.UnprotectedAttributes=void 0;const ge=Ae(4351);const me=Ae(53499);const ye=Ae(67119);const ve=Ae(67284);const be=Ae(64604);const Ee=Ae(42834);const Ce=Ae(38800);let we=he=class UnprotectedAttributes extends me.AsnArray{constructor(R){super(R);Object.setPrototypeOf(this,he.prototype)}};pe.UnprotectedAttributes=we;pe.UnprotectedAttributes=we=he=ge.__decorate([(0,me.AsnType)({type:me.AsnTypeTypes.Set,itemType:ve.Attribute})],we);class EnvelopedData{constructor(R={}){this.version=ye.CMSVersion.v0;this.recipientInfos=new be.RecipientInfos;this.encryptedContentInfo=new Ce.EncryptedContentInfo;Object.assign(this,R)}}pe.EnvelopedData=EnvelopedData;ge.__decorate([(0,me.AsnProp)({type:me.AsnPropTypes.Integer})],EnvelopedData.prototype,"version",void 0);ge.__decorate([(0,me.AsnProp)({type:Ee.OriginatorInfo,context:0,implicit:true,optional:true})],EnvelopedData.prototype,"originatorInfo",void 0);ge.__decorate([(0,me.AsnProp)({type:be.RecipientInfos})],EnvelopedData.prototype,"recipientInfos",void 0);ge.__decorate([(0,me.AsnProp)({type:Ce.EncryptedContentInfo})],EnvelopedData.prototype,"encryptedContentInfo",void 0);ge.__decorate([(0,me.AsnProp)({type:we,context:1,implicit:true,optional:true})],EnvelopedData.prototype,"unprotectedAttrs",void 0)},19493:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});const he=Ae(4351);he.__exportStar(Ae(71061),pe);he.__exportStar(Ae(67284),pe);he.__exportStar(Ae(1093),pe);he.__exportStar(Ae(69207),pe);he.__exportStar(Ae(21377),pe);he.__exportStar(Ae(38800),pe);he.__exportStar(Ae(33333),pe);he.__exportStar(Ae(40995),pe);he.__exportStar(Ae(19614),pe);he.__exportStar(Ae(8479),pe);he.__exportStar(Ae(31666),pe);he.__exportStar(Ae(43027),pe);he.__exportStar(Ae(42834),pe);he.__exportStar(Ae(53059),pe);he.__exportStar(Ae(68084),pe);he.__exportStar(Ae(64604),pe);he.__exportStar(Ae(47678),pe);he.__exportStar(Ae(98895),pe);he.__exportStar(Ae(41200),pe);he.__exportStar(Ae(46959),pe);he.__exportStar(Ae(67119),pe)},40995:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.IssuerAndSerialNumber=void 0;const he=Ae(4351);const ge=Ae(53499);const me=Ae(82288);class IssuerAndSerialNumber{constructor(R={}){this.issuer=new me.Name;this.serialNumber=new ArrayBuffer(0);Object.assign(this,R)}}pe.IssuerAndSerialNumber=IssuerAndSerialNumber;he.__decorate([(0,ge.AsnProp)({type:me.Name})],IssuerAndSerialNumber.prototype,"issuer",void 0);he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.Integer,converter:ge.AsnIntegerArrayBufferConverter})],IssuerAndSerialNumber.prototype,"serialNumber",void 0)},19614:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.KEKRecipientInfo=pe.KEKIdentifier=void 0;const he=Ae(4351);const ge=Ae(53499);const me=Ae(35070);const ye=Ae(67119);class KEKIdentifier{constructor(R={}){this.keyIdentifier=new ge.OctetString;Object.assign(this,R)}}pe.KEKIdentifier=KEKIdentifier;he.__decorate([(0,ge.AsnProp)({type:ge.OctetString})],KEKIdentifier.prototype,"keyIdentifier",void 0);he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.GeneralizedTime,optional:true})],KEKIdentifier.prototype,"date",void 0);he.__decorate([(0,ge.AsnProp)({type:me.OtherKeyAttribute,optional:true})],KEKIdentifier.prototype,"other",void 0);class KEKRecipientInfo{constructor(R={}){this.version=ye.CMSVersion.v4;this.kekid=new KEKIdentifier;this.keyEncryptionAlgorithm=new ye.KeyEncryptionAlgorithmIdentifier;this.encryptedKey=new ge.OctetString;Object.assign(this,R)}}pe.KEKRecipientInfo=KEKRecipientInfo;he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.Integer})],KEKRecipientInfo.prototype,"version",void 0);he.__decorate([(0,ge.AsnProp)({type:KEKIdentifier})],KEKRecipientInfo.prototype,"kekid",void 0);he.__decorate([(0,ge.AsnProp)({type:ye.KeyEncryptionAlgorithmIdentifier})],KEKRecipientInfo.prototype,"keyEncryptionAlgorithm",void 0);he.__decorate([(0,ge.AsnProp)({type:ge.OctetString})],KEKRecipientInfo.prototype,"encryptedKey",void 0)},8479:(R,pe,Ae)=>{"use strict";var he;Object.defineProperty(pe,"__esModule",{value:true});pe.KeyAgreeRecipientInfo=pe.OriginatorIdentifierOrKey=pe.OriginatorPublicKey=pe.RecipientEncryptedKeys=pe.RecipientEncryptedKey=pe.KeyAgreeRecipientIdentifier=pe.RecipientKeyIdentifier=void 0;const ge=Ae(4351);const me=Ae(53499);const ye=Ae(67119);const ve=Ae(40995);const be=Ae(82288);const Ee=Ae(35070);class RecipientKeyIdentifier{constructor(R={}){this.subjectKeyIdentifier=new be.SubjectKeyIdentifier;Object.assign(this,R)}}pe.RecipientKeyIdentifier=RecipientKeyIdentifier;ge.__decorate([(0,me.AsnProp)({type:be.SubjectKeyIdentifier})],RecipientKeyIdentifier.prototype,"subjectKeyIdentifier",void 0);ge.__decorate([(0,me.AsnProp)({type:me.AsnPropTypes.GeneralizedTime,optional:true})],RecipientKeyIdentifier.prototype,"date",void 0);ge.__decorate([(0,me.AsnProp)({type:Ee.OtherKeyAttribute,optional:true})],RecipientKeyIdentifier.prototype,"other",void 0);let Ce=class KeyAgreeRecipientIdentifier{constructor(R={}){Object.assign(this,R)}};pe.KeyAgreeRecipientIdentifier=Ce;ge.__decorate([(0,me.AsnProp)({type:RecipientKeyIdentifier,context:0,implicit:true,optional:true})],Ce.prototype,"rKeyId",void 0);ge.__decorate([(0,me.AsnProp)({type:ve.IssuerAndSerialNumber,optional:true})],Ce.prototype,"issuerAndSerialNumber",void 0);pe.KeyAgreeRecipientIdentifier=Ce=ge.__decorate([(0,me.AsnType)({type:me.AsnTypeTypes.Choice})],Ce);class RecipientEncryptedKey{constructor(R={}){this.rid=new Ce;this.encryptedKey=new me.OctetString;Object.assign(this,R)}}pe.RecipientEncryptedKey=RecipientEncryptedKey;ge.__decorate([(0,me.AsnProp)({type:Ce})],RecipientEncryptedKey.prototype,"rid",void 0);ge.__decorate([(0,me.AsnProp)({type:me.OctetString})],RecipientEncryptedKey.prototype,"encryptedKey",void 0);let we=he=class RecipientEncryptedKeys extends me.AsnArray{constructor(R){super(R);Object.setPrototypeOf(this,he.prototype)}};pe.RecipientEncryptedKeys=we;pe.RecipientEncryptedKeys=we=he=ge.__decorate([(0,me.AsnType)({type:me.AsnTypeTypes.Sequence,itemType:RecipientEncryptedKey})],we);class OriginatorPublicKey{constructor(R={}){this.algorithm=new be.AlgorithmIdentifier;this.publicKey=new ArrayBuffer(0);Object.assign(this,R)}}pe.OriginatorPublicKey=OriginatorPublicKey;ge.__decorate([(0,me.AsnProp)({type:be.AlgorithmIdentifier})],OriginatorPublicKey.prototype,"algorithm",void 0);ge.__decorate([(0,me.AsnProp)({type:me.AsnPropTypes.BitString})],OriginatorPublicKey.prototype,"publicKey",void 0);let Ie=class OriginatorIdentifierOrKey{constructor(R={}){Object.assign(this,R)}};pe.OriginatorIdentifierOrKey=Ie;ge.__decorate([(0,me.AsnProp)({type:be.SubjectKeyIdentifier,context:0,implicit:true,optional:true})],Ie.prototype,"subjectKeyIdentifier",void 0);ge.__decorate([(0,me.AsnProp)({type:OriginatorPublicKey,context:1,implicit:true,optional:true})],Ie.prototype,"originatorKey",void 0);ge.__decorate([(0,me.AsnProp)({type:ve.IssuerAndSerialNumber,optional:true})],Ie.prototype,"issuerAndSerialNumber",void 0);pe.OriginatorIdentifierOrKey=Ie=ge.__decorate([(0,me.AsnType)({type:me.AsnTypeTypes.Choice})],Ie);class KeyAgreeRecipientInfo{constructor(R={}){this.version=ye.CMSVersion.v3;this.originator=new Ie;this.keyEncryptionAlgorithm=new ye.KeyEncryptionAlgorithmIdentifier;this.recipientEncryptedKeys=new we;Object.assign(this,R)}}pe.KeyAgreeRecipientInfo=KeyAgreeRecipientInfo;ge.__decorate([(0,me.AsnProp)({type:me.AsnPropTypes.Integer})],KeyAgreeRecipientInfo.prototype,"version",void 0);ge.__decorate([(0,me.AsnProp)({type:Ie,context:0})],KeyAgreeRecipientInfo.prototype,"originator",void 0);ge.__decorate([(0,me.AsnProp)({type:me.OctetString,context:1,optional:true})],KeyAgreeRecipientInfo.prototype,"ukm",void 0);ge.__decorate([(0,me.AsnProp)({type:ye.KeyEncryptionAlgorithmIdentifier})],KeyAgreeRecipientInfo.prototype,"keyEncryptionAlgorithm",void 0);ge.__decorate([(0,me.AsnProp)({type:we})],KeyAgreeRecipientInfo.prototype,"recipientEncryptedKeys",void 0)},31666:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.KeyTransRecipientInfo=pe.RecipientIdentifier=void 0;const he=Ae(4351);const ge=Ae(53499);const me=Ae(67119);const ye=Ae(40995);const ve=Ae(82288);let be=class RecipientIdentifier{constructor(R={}){Object.assign(this,R)}};pe.RecipientIdentifier=be;he.__decorate([(0,ge.AsnProp)({type:ve.SubjectKeyIdentifier,context:0,implicit:true})],be.prototype,"subjectKeyIdentifier",void 0);he.__decorate([(0,ge.AsnProp)({type:ye.IssuerAndSerialNumber})],be.prototype,"issuerAndSerialNumber",void 0);pe.RecipientIdentifier=be=he.__decorate([(0,ge.AsnType)({type:ge.AsnTypeTypes.Choice})],be);class KeyTransRecipientInfo{constructor(R={}){this.version=me.CMSVersion.v0;this.rid=new be;this.keyEncryptionAlgorithm=new me.KeyEncryptionAlgorithmIdentifier;this.encryptedKey=new ge.OctetString;Object.assign(this,R)}}pe.KeyTransRecipientInfo=KeyTransRecipientInfo;he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.Integer})],KeyTransRecipientInfo.prototype,"version",void 0);he.__decorate([(0,ge.AsnProp)({type:be})],KeyTransRecipientInfo.prototype,"rid",void 0);he.__decorate([(0,ge.AsnProp)({type:me.KeyEncryptionAlgorithmIdentifier})],KeyTransRecipientInfo.prototype,"keyEncryptionAlgorithm",void 0);he.__decorate([(0,ge.AsnProp)({type:ge.OctetString})],KeyTransRecipientInfo.prototype,"encryptedKey",void 0)},43027:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.id_authData=pe.id_encryptedData=pe.id_digestedData=pe.id_envelopedData=pe.id_signedData=pe.id_data=pe.id_ct_contentInfo=void 0;pe.id_ct_contentInfo="1.2.840.113549.1.9.16.1.6";pe.id_data="1.2.840.113549.1.7.1";pe.id_signedData="1.2.840.113549.1.7.2";pe.id_envelopedData="1.2.840.113549.1.7.3";pe.id_digestedData="1.2.840.113549.1.7.5";pe.id_encryptedData="1.2.840.113549.1.7.6";pe.id_authData="1.2.840.113549.1.9.16.1.2"},42834:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.OriginatorInfo=void 0;const he=Ae(4351);const ge=Ae(53499);const me=Ae(1093);const ye=Ae(47678);class OriginatorInfo{constructor(R={}){Object.assign(this,R)}}pe.OriginatorInfo=OriginatorInfo;he.__decorate([(0,ge.AsnProp)({type:me.CertificateSet,context:0,implicit:true,optional:true})],OriginatorInfo.prototype,"certs",void 0);he.__decorate([(0,ge.AsnProp)({type:ye.RevocationInfoChoices,context:1,implicit:true,optional:true})],OriginatorInfo.prototype,"crls",void 0)},35070:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.OtherKeyAttribute=void 0;const he=Ae(4351);const ge=Ae(53499);class OtherKeyAttribute{constructor(R={}){this.keyAttrId="";Object.assign(this,R)}}pe.OtherKeyAttribute=OtherKeyAttribute;he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.ObjectIdentifier})],OtherKeyAttribute.prototype,"keyAttrId",void 0);he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.Any,optional:true})],OtherKeyAttribute.prototype,"keyAttr",void 0)},53059:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.PasswordRecipientInfo=void 0;const he=Ae(4351);const ge=Ae(53499);const me=Ae(67119);class PasswordRecipientInfo{constructor(R={}){this.version=me.CMSVersion.v0;this.keyEncryptionAlgorithm=new me.KeyEncryptionAlgorithmIdentifier;this.encryptedKey=new ge.OctetString;Object.assign(this,R)}}pe.PasswordRecipientInfo=PasswordRecipientInfo;he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.Integer})],PasswordRecipientInfo.prototype,"version",void 0);he.__decorate([(0,ge.AsnProp)({type:me.KeyDerivationAlgorithmIdentifier,context:0,optional:true})],PasswordRecipientInfo.prototype,"keyDerivationAlgorithm",void 0);he.__decorate([(0,ge.AsnProp)({type:me.KeyEncryptionAlgorithmIdentifier})],PasswordRecipientInfo.prototype,"keyEncryptionAlgorithm",void 0);he.__decorate([(0,ge.AsnProp)({type:ge.OctetString})],PasswordRecipientInfo.prototype,"encryptedKey",void 0)},68084:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.RecipientInfo=pe.OtherRecipientInfo=void 0;const he=Ae(4351);const ge=Ae(53499);const me=Ae(8479);const ye=Ae(31666);const ve=Ae(19614);const be=Ae(53059);class OtherRecipientInfo{constructor(R={}){this.oriType="";this.oriValue=new ArrayBuffer(0);Object.assign(this,R)}}pe.OtherRecipientInfo=OtherRecipientInfo;he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.ObjectIdentifier})],OtherRecipientInfo.prototype,"oriType",void 0);he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.Any})],OtherRecipientInfo.prototype,"oriValue",void 0);let Ee=class RecipientInfo{constructor(R={}){Object.assign(this,R)}};pe.RecipientInfo=Ee;he.__decorate([(0,ge.AsnProp)({type:ye.KeyTransRecipientInfo,optional:true})],Ee.prototype,"ktri",void 0);he.__decorate([(0,ge.AsnProp)({type:me.KeyAgreeRecipientInfo,context:1,implicit:true,optional:true})],Ee.prototype,"kari",void 0);he.__decorate([(0,ge.AsnProp)({type:ve.KEKRecipientInfo,context:2,implicit:true,optional:true})],Ee.prototype,"kekri",void 0);he.__decorate([(0,ge.AsnProp)({type:be.PasswordRecipientInfo,context:3,implicit:true,optional:true})],Ee.prototype,"pwri",void 0);he.__decorate([(0,ge.AsnProp)({type:OtherRecipientInfo,context:4,implicit:true,optional:true})],Ee.prototype,"ori",void 0);pe.RecipientInfo=Ee=he.__decorate([(0,ge.AsnType)({type:ge.AsnTypeTypes.Choice})],Ee)},64604:(R,pe,Ae)=>{"use strict";var he;Object.defineProperty(pe,"__esModule",{value:true});pe.RecipientInfos=void 0;const ge=Ae(4351);const me=Ae(53499);const ye=Ae(68084);let ve=he=class RecipientInfos extends me.AsnArray{constructor(R){super(R);Object.setPrototypeOf(this,he.prototype)}};pe.RecipientInfos=ve;pe.RecipientInfos=ve=he=ge.__decorate([(0,me.AsnType)({type:me.AsnTypeTypes.Set,itemType:ye.RecipientInfo})],ve)},47678:(R,pe,Ae)=>{"use strict";var he;Object.defineProperty(pe,"__esModule",{value:true});pe.RevocationInfoChoices=pe.RevocationInfoChoice=pe.OtherRevocationInfoFormat=pe.id_ri_scvp=pe.id_ri_ocsp_response=pe.id_ri=void 0;const ge=Ae(4351);const me=Ae(53499);const ye=Ae(82288);pe.id_ri=`${ye.id_pkix}.16`;pe.id_ri_ocsp_response=`${pe.id_ri}.2`;pe.id_ri_scvp=`${pe.id_ri}.4`;class OtherRevocationInfoFormat{constructor(R={}){this.otherRevInfoFormat="";this.otherRevInfo=new ArrayBuffer(0);Object.assign(this,R)}}pe.OtherRevocationInfoFormat=OtherRevocationInfoFormat;ge.__decorate([(0,me.AsnProp)({type:me.AsnPropTypes.ObjectIdentifier})],OtherRevocationInfoFormat.prototype,"otherRevInfoFormat",void 0);ge.__decorate([(0,me.AsnProp)({type:me.AsnPropTypes.Any})],OtherRevocationInfoFormat.prototype,"otherRevInfo",void 0);let ve=class RevocationInfoChoice{constructor(R={}){this.other=new OtherRevocationInfoFormat;Object.assign(this,R)}};pe.RevocationInfoChoice=ve;ge.__decorate([(0,me.AsnProp)({type:OtherRevocationInfoFormat,context:1,implicit:true})],ve.prototype,"other",void 0);pe.RevocationInfoChoice=ve=ge.__decorate([(0,me.AsnType)({type:me.AsnTypeTypes.Choice})],ve);let be=he=class RevocationInfoChoices extends me.AsnArray{constructor(R){super(R);Object.setPrototypeOf(this,he.prototype)}};pe.RevocationInfoChoices=be;pe.RevocationInfoChoices=be=he=ge.__decorate([(0,me.AsnType)({type:me.AsnTypeTypes.Set,itemType:ve})],be)},98895:(R,pe,Ae)=>{"use strict";var he;Object.defineProperty(pe,"__esModule",{value:true});pe.SignedData=pe.DigestAlgorithmIdentifiers=void 0;const ge=Ae(4351);const me=Ae(53499);const ye=Ae(1093);const ve=Ae(67119);const be=Ae(21377);const Ee=Ae(47678);const Ce=Ae(46959);let we=he=class DigestAlgorithmIdentifiers extends me.AsnArray{constructor(R){super(R);Object.setPrototypeOf(this,he.prototype)}};pe.DigestAlgorithmIdentifiers=we;pe.DigestAlgorithmIdentifiers=we=he=ge.__decorate([(0,me.AsnType)({type:me.AsnTypeTypes.Set,itemType:ve.DigestAlgorithmIdentifier})],we);class SignedData{constructor(R={}){this.version=ve.CMSVersion.v0;this.digestAlgorithms=new we;this.encapContentInfo=new be.EncapsulatedContentInfo;this.signerInfos=new Ce.SignerInfos;Object.assign(this,R)}}pe.SignedData=SignedData;ge.__decorate([(0,me.AsnProp)({type:me.AsnPropTypes.Integer})],SignedData.prototype,"version",void 0);ge.__decorate([(0,me.AsnProp)({type:we})],SignedData.prototype,"digestAlgorithms",void 0);ge.__decorate([(0,me.AsnProp)({type:be.EncapsulatedContentInfo})],SignedData.prototype,"encapContentInfo",void 0);ge.__decorate([(0,me.AsnProp)({type:ye.CertificateSet,context:0,implicit:true,optional:true})],SignedData.prototype,"certificates",void 0);ge.__decorate([(0,me.AsnProp)({type:Ee.RevocationInfoChoices,context:1,implicit:true,optional:true})],SignedData.prototype,"crls",void 0);ge.__decorate([(0,me.AsnProp)({type:Ce.SignerInfos})],SignedData.prototype,"signerInfos",void 0)},41200:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.SignerIdentifier=void 0;const he=Ae(4351);const ge=Ae(53499);const me=Ae(40995);const ye=Ae(82288);let ve=class SignerIdentifier{constructor(R={}){Object.assign(this,R)}};pe.SignerIdentifier=ve;he.__decorate([(0,ge.AsnProp)({type:ye.SubjectKeyIdentifier,context:0,implicit:true})],ve.prototype,"subjectKeyIdentifier",void 0);he.__decorate([(0,ge.AsnProp)({type:me.IssuerAndSerialNumber})],ve.prototype,"issuerAndSerialNumber",void 0);pe.SignerIdentifier=ve=he.__decorate([(0,ge.AsnType)({type:ge.AsnTypeTypes.Choice})],ve)},46959:(R,pe,Ae)=>{"use strict";var he;Object.defineProperty(pe,"__esModule",{value:true});pe.SignerInfos=pe.SignerInfo=void 0;const ge=Ae(4351);const me=Ae(53499);const ye=Ae(41200);const ve=Ae(67119);const be=Ae(67284);class SignerInfo{constructor(R={}){this.version=ve.CMSVersion.v0;this.sid=new ye.SignerIdentifier;this.digestAlgorithm=new ve.DigestAlgorithmIdentifier;this.signatureAlgorithm=new ve.SignatureAlgorithmIdentifier;this.signature=new me.OctetString;Object.assign(this,R)}}pe.SignerInfo=SignerInfo;ge.__decorate([(0,me.AsnProp)({type:me.AsnPropTypes.Integer})],SignerInfo.prototype,"version",void 0);ge.__decorate([(0,me.AsnProp)({type:ye.SignerIdentifier})],SignerInfo.prototype,"sid",void 0);ge.__decorate([(0,me.AsnProp)({type:ve.DigestAlgorithmIdentifier})],SignerInfo.prototype,"digestAlgorithm",void 0);ge.__decorate([(0,me.AsnProp)({type:be.Attribute,repeated:"set",context:0,implicit:true,optional:true})],SignerInfo.prototype,"signedAttrs",void 0);ge.__decorate([(0,me.AsnProp)({type:ve.SignatureAlgorithmIdentifier})],SignerInfo.prototype,"signatureAlgorithm",void 0);ge.__decorate([(0,me.AsnProp)({type:me.OctetString})],SignerInfo.prototype,"signature",void 0);ge.__decorate([(0,me.AsnProp)({type:be.Attribute,repeated:"set",context:1,implicit:true,optional:true})],SignerInfo.prototype,"unsignedAttrs",void 0);let Ee=he=class SignerInfos extends me.AsnArray{constructor(R){super(R);Object.setPrototypeOf(this,he.prototype)}};pe.SignerInfos=Ee;pe.SignerInfos=Ee=he=ge.__decorate([(0,me.AsnType)({type:me.AsnTypeTypes.Set,itemType:SignerInfo})],Ee)},67119:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.KeyDerivationAlgorithmIdentifier=pe.MessageAuthenticationCodeAlgorithm=pe.ContentEncryptionAlgorithmIdentifier=pe.KeyEncryptionAlgorithmIdentifier=pe.SignatureAlgorithmIdentifier=pe.DigestAlgorithmIdentifier=pe.CMSVersion=void 0;const he=Ae(4351);const ge=Ae(82288);const me=Ae(53499);var ye;(function(R){R[R["v0"]=0]="v0";R[R["v1"]=1]="v1";R[R["v2"]=2]="v2";R[R["v3"]=3]="v3";R[R["v4"]=4]="v4";R[R["v5"]=5]="v5"})(ye||(pe.CMSVersion=ye={}));let ve=class DigestAlgorithmIdentifier extends ge.AlgorithmIdentifier{};pe.DigestAlgorithmIdentifier=ve;pe.DigestAlgorithmIdentifier=ve=he.__decorate([(0,me.AsnType)({type:me.AsnTypeTypes.Sequence})],ve);let be=class SignatureAlgorithmIdentifier extends ge.AlgorithmIdentifier{};pe.SignatureAlgorithmIdentifier=be;pe.SignatureAlgorithmIdentifier=be=he.__decorate([(0,me.AsnType)({type:me.AsnTypeTypes.Sequence})],be);let Ee=class KeyEncryptionAlgorithmIdentifier extends ge.AlgorithmIdentifier{};pe.KeyEncryptionAlgorithmIdentifier=Ee;pe.KeyEncryptionAlgorithmIdentifier=Ee=he.__decorate([(0,me.AsnType)({type:me.AsnTypeTypes.Sequence})],Ee);let Ce=class ContentEncryptionAlgorithmIdentifier extends ge.AlgorithmIdentifier{};pe.ContentEncryptionAlgorithmIdentifier=Ce;pe.ContentEncryptionAlgorithmIdentifier=Ce=he.__decorate([(0,me.AsnType)({type:me.AsnTypeTypes.Sequence})],Ce);let we=class MessageAuthenticationCodeAlgorithm extends ge.AlgorithmIdentifier{};pe.MessageAuthenticationCodeAlgorithm=we;pe.MessageAuthenticationCodeAlgorithm=we=he.__decorate([(0,me.AsnType)({type:me.AsnTypeTypes.Sequence})],we);let Ie=class KeyDerivationAlgorithmIdentifier extends ge.AlgorithmIdentifier{};pe.KeyDerivationAlgorithmIdentifier=Ie;pe.KeyDerivationAlgorithmIdentifier=Ie=he.__decorate([(0,me.AsnType)({type:me.AsnTypeTypes.Sequence})],Ie)},93674:(R,pe,Ae)=>{"use strict";var he;Object.defineProperty(pe,"__esModule",{value:true});pe.Attributes=void 0;const ge=Ae(4351);const me=Ae(53499);const ye=Ae(82288);let ve=he=class Attributes extends me.AsnArray{constructor(R){super(R);Object.setPrototypeOf(this,he.prototype)}};pe.Attributes=ve;pe.Attributes=ve=he=ge.__decorate([(0,me.AsnType)({type:me.AsnTypeTypes.Sequence,itemType:ye.Attribute})],ve)},75135:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.CertificationRequest=void 0;const he=Ae(4351);const ge=Ae(53499);const me=Ae(61301);const ye=Ae(82288);class CertificationRequest{constructor(R={}){this.certificationRequestInfo=new me.CertificationRequestInfo;this.signatureAlgorithm=new ye.AlgorithmIdentifier;this.signature=new ArrayBuffer(0);Object.assign(this,R)}}pe.CertificationRequest=CertificationRequest;he.__decorate([(0,ge.AsnProp)({type:me.CertificationRequestInfo})],CertificationRequest.prototype,"certificationRequestInfo",void 0);he.__decorate([(0,ge.AsnProp)({type:ye.AlgorithmIdentifier})],CertificationRequest.prototype,"signatureAlgorithm",void 0);he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.BitString})],CertificationRequest.prototype,"signature",void 0)},61301:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.CertificationRequestInfo=void 0;const he=Ae(4351);const ge=Ae(53499);const me=Ae(82288);const ye=Ae(93674);class CertificationRequestInfo{constructor(R={}){this.version=0;this.subject=new me.Name;this.subjectPKInfo=new me.SubjectPublicKeyInfo;this.attributes=new ye.Attributes;Object.assign(this,R)}}pe.CertificationRequestInfo=CertificationRequestInfo;he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.Integer})],CertificationRequestInfo.prototype,"version",void 0);he.__decorate([(0,ge.AsnProp)({type:me.Name})],CertificationRequestInfo.prototype,"subject",void 0);he.__decorate([(0,ge.AsnProp)({type:me.SubjectPublicKeyInfo})],CertificationRequestInfo.prototype,"subjectPKInfo",void 0);he.__decorate([(0,ge.AsnProp)({type:ye.Attributes,implicit:true,context:0})],CertificationRequestInfo.prototype,"attributes",void 0)},86717:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});const he=Ae(4351);he.__exportStar(Ae(93674),pe);he.__exportStar(Ae(75135),pe);he.__exportStar(Ae(61301),pe)},14716:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.ecdsaWithSHA512=pe.ecdsaWithSHA384=pe.ecdsaWithSHA256=pe.ecdsaWithSHA224=pe.ecdsaWithSHA1=void 0;const he=Ae(82288);const ge=Ae(3193);function create(R){return new he.AlgorithmIdentifier({algorithm:R})}pe.ecdsaWithSHA1=create(ge.id_ecdsaWithSHA1);pe.ecdsaWithSHA224=create(ge.id_ecdsaWithSHA224);pe.ecdsaWithSHA256=create(ge.id_ecdsaWithSHA256);pe.ecdsaWithSHA384=create(ge.id_ecdsaWithSHA384);pe.ecdsaWithSHA512=create(ge.id_ecdsaWithSHA512)},75823:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.ECParameters=void 0;const he=Ae(4351);const ge=Ae(53499);let me=class ECParameters{constructor(R={}){Object.assign(this,R)}};pe.ECParameters=me;he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.ObjectIdentifier})],me.prototype,"namedCurve",void 0);pe.ECParameters=me=he.__decorate([(0,ge.AsnType)({type:ge.AsnTypeTypes.Choice})],me)},28673:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.ECPrivateKey=void 0;const he=Ae(4351);const ge=Ae(53499);const me=Ae(75823);class ECPrivateKey{constructor(R={}){this.version=1;this.privateKey=new ge.OctetString;Object.assign(this,R)}}pe.ECPrivateKey=ECPrivateKey;he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.Integer})],ECPrivateKey.prototype,"version",void 0);he.__decorate([(0,ge.AsnProp)({type:ge.OctetString})],ECPrivateKey.prototype,"privateKey",void 0);he.__decorate([(0,ge.AsnProp)({type:me.ECParameters,context:0,optional:true})],ECPrivateKey.prototype,"parameters",void 0);he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.BitString,context:1,optional:true})],ECPrivateKey.prototype,"publicKey",void 0)},82138:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.ECDSASigValue=void 0;const he=Ae(4351);const ge=Ae(53499);class ECDSASigValue{constructor(R={}){this.r=new ArrayBuffer(0);this.s=new ArrayBuffer(0);Object.assign(this,R)}}pe.ECDSASigValue=ECDSASigValue;he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.Integer,converter:ge.AsnIntegerArrayBufferConverter})],ECDSASigValue.prototype,"r",void 0);he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.Integer,converter:ge.AsnIntegerArrayBufferConverter})],ECDSASigValue.prototype,"s",void 0)},8277:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});const he=Ae(4351);he.__exportStar(Ae(14716),pe);he.__exportStar(Ae(75823),pe);he.__exportStar(Ae(28673),pe);he.__exportStar(Ae(82138),pe);he.__exportStar(Ae(3193),pe)},3193:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.id_sect571r1=pe.id_sect571k1=pe.id_secp521r1=pe.id_sect409r1=pe.id_sect409k1=pe.id_secp384r1=pe.id_sect283r1=pe.id_sect283k1=pe.id_secp256r1=pe.id_sect233r1=pe.id_sect233k1=pe.id_secp224r1=pe.id_sect163r2=pe.id_sect163k1=pe.id_secp192r1=pe.id_ecdsaWithSHA512=pe.id_ecdsaWithSHA384=pe.id_ecdsaWithSHA256=pe.id_ecdsaWithSHA224=pe.id_ecdsaWithSHA1=pe.id_ecMQV=pe.id_ecDH=pe.id_ecPublicKey=void 0;pe.id_ecPublicKey="1.2.840.10045.2.1";pe.id_ecDH="1.3.132.1.12";pe.id_ecMQV="1.3.132.1.13";pe.id_ecdsaWithSHA1="1.2.840.10045.4.1";pe.id_ecdsaWithSHA224="1.2.840.10045.4.3.1";pe.id_ecdsaWithSHA256="1.2.840.10045.4.3.2";pe.id_ecdsaWithSHA384="1.2.840.10045.4.3.3";pe.id_ecdsaWithSHA512="1.2.840.10045.4.3.4";pe.id_secp192r1="1.2.840.10045.3.1.1";pe.id_sect163k1="1.3.132.0.1";pe.id_sect163r2="1.3.132.0.15";pe.id_secp224r1="1.3.132.0.33";pe.id_sect233k1="1.3.132.0.26";pe.id_sect233r1="1.3.132.0.27";pe.id_secp256r1="1.2.840.10045.3.1.7";pe.id_sect283k1="1.3.132.0.16";pe.id_sect283r1="1.3.132.0.17";pe.id_secp384r1="1.3.132.0.34";pe.id_sect409k1="1.3.132.0.36";pe.id_sect409r1="1.3.132.0.37";pe.id_secp521r1="1.3.132.0.35";pe.id_sect571k1="1.3.132.0.38";pe.id_sect571r1="1.3.132.0.39"},11757:(R,pe,Ae)=>{"use strict";var he;Object.defineProperty(pe,"__esModule",{value:true});pe.PKCS12AttrSet=pe.PKCS12Attribute=void 0;const ge=Ae(4351);const me=Ae(53499);class PKCS12Attribute{constructor(R={}){this.attrId="";this.attrValues=[];Object.assign(R)}}pe.PKCS12Attribute=PKCS12Attribute;ge.__decorate([(0,me.AsnProp)({type:me.AsnPropTypes.ObjectIdentifier})],PKCS12Attribute.prototype,"attrId",void 0);ge.__decorate([(0,me.AsnProp)({type:me.AsnPropTypes.Any,repeated:"set"})],PKCS12Attribute.prototype,"attrValues",void 0);let ye=he=class PKCS12AttrSet extends me.AsnArray{constructor(R){super(R);Object.setPrototypeOf(this,he.prototype)}};pe.PKCS12AttrSet=ye;pe.PKCS12AttrSet=ye=he=ge.__decorate([(0,me.AsnType)({type:me.AsnTypeTypes.Sequence,itemType:PKCS12Attribute})],ye)},46751:(R,pe,Ae)=>{"use strict";var he;Object.defineProperty(pe,"__esModule",{value:true});pe.AuthenticatedSafe=void 0;const ge=Ae(4351);const me=Ae(53499);const ye=Ae(19493);let ve=he=class AuthenticatedSafe extends me.AsnArray{constructor(R){super(R);Object.setPrototypeOf(this,he.prototype)}};pe.AuthenticatedSafe=ve;pe.AuthenticatedSafe=ve=he=ge.__decorate([(0,me.AsnType)({type:me.AsnTypeTypes.Sequence,itemType:ye.ContentInfo})],ve)},77536:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.id_sdsiCertificate=pe.id_x509Certificate=pe.id_certTypes=pe.CertBag=void 0;const he=Ae(4351);const ge=Ae(53499);const me=Ae(39410);class CertBag{constructor(R={}){this.certId="";this.certValue=new ArrayBuffer(0);Object.assign(this,R)}}pe.CertBag=CertBag;he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.ObjectIdentifier})],CertBag.prototype,"certId",void 0);he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.Any,context:0})],CertBag.prototype,"certValue",void 0);pe.id_certTypes=`${me.id_pkcs_9}.22`;pe.id_x509Certificate=`${pe.id_certTypes}.1`;pe.id_sdsiCertificate=`${pe.id_certTypes}.2`},92039:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.id_x509CRL=pe.id_crlTypes=pe.CRLBag=void 0;const he=Ae(4351);const ge=Ae(53499);const me=Ae(39410);class CRLBag{constructor(R={}){this.crlId="";this.crltValue=new ArrayBuffer(0);Object.assign(this,R)}}pe.CRLBag=CRLBag;he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.ObjectIdentifier})],CRLBag.prototype,"crlId",void 0);he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.Any,context:0})],CRLBag.prototype,"crltValue",void 0);pe.id_crlTypes=`${me.id_pkcs_9}.23`;pe.id_x509CRL=`${pe.id_crlTypes}.1`},27069:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});const he=Ae(4351);he.__exportStar(Ae(77536),pe);he.__exportStar(Ae(92039),pe);he.__exportStar(Ae(11684),pe);he.__exportStar(Ae(51627),pe);he.__exportStar(Ae(93057),pe);he.__exportStar(Ae(39410),pe)},11684:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.KeyBag=void 0;const he=Ae(4351);const ge=Ae(81714);const me=Ae(53499);let ye=class KeyBag extends ge.PrivateKeyInfo{};pe.KeyBag=ye;pe.KeyBag=ye=he.__decorate([(0,me.AsnType)({type:me.AsnTypeTypes.Sequence})],ye)},51627:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.PKCS8ShroudedKeyBag=void 0;const he=Ae(4351);const ge=Ae(81714);const me=Ae(53499);let ye=class PKCS8ShroudedKeyBag extends ge.EncryptedPrivateKeyInfo{};pe.PKCS8ShroudedKeyBag=ye;pe.PKCS8ShroudedKeyBag=ye=he.__decorate([(0,me.AsnType)({type:me.AsnTypeTypes.Sequence})],ye)},93057:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.SecretBag=void 0;const he=Ae(4351);const ge=Ae(53499);class SecretBag{constructor(R={}){this.secretTypeId="";this.secretValue=new ArrayBuffer(0);Object.assign(this,R)}}pe.SecretBag=SecretBag;he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.ObjectIdentifier})],SecretBag.prototype,"secretTypeId",void 0);he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.Any,context:0})],SecretBag.prototype,"secretValue",void 0)},39410:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.id_pkcs_9=pe.id_SafeContents=pe.id_SecretBag=pe.id_CRLBag=pe.id_certBag=pe.id_pkcs8ShroudedKeyBag=pe.id_keyBag=void 0;const he=Ae(35825);pe.id_keyBag=`${he.id_bagtypes}.1`;pe.id_pkcs8ShroudedKeyBag=`${he.id_bagtypes}.2`;pe.id_certBag=`${he.id_bagtypes}.3`;pe.id_CRLBag=`${he.id_bagtypes}.4`;pe.id_SecretBag=`${he.id_bagtypes}.5`;pe.id_SafeContents=`${he.id_bagtypes}.6`;pe.id_pkcs_9="1.2.840.113549.1.9"},23691:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});const he=Ae(4351);he.__exportStar(Ae(11757),pe);he.__exportStar(Ae(46751),pe);he.__exportStar(Ae(27069),pe);he.__exportStar(Ae(71180),pe);he.__exportStar(Ae(35825),pe);he.__exportStar(Ae(42153),pe);he.__exportStar(Ae(55901),pe)},71180:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.MacData=void 0;const he=Ae(4351);const ge=Ae(5574);const me=Ae(53499);class MacData{constructor(R={}){this.mac=new ge.DigestInfo;this.macSalt=new me.OctetString;this.iterations=1;Object.assign(this,R)}}pe.MacData=MacData;he.__decorate([(0,me.AsnProp)({type:ge.DigestInfo})],MacData.prototype,"mac",void 0);he.__decorate([(0,me.AsnProp)({type:me.OctetString})],MacData.prototype,"macSalt",void 0);he.__decorate([(0,me.AsnProp)({type:me.AsnPropTypes.Integer,defaultValue:1})],MacData.prototype,"iterations",void 0)},35825:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.id_bagtypes=pe.id_pbewithSHAAnd40BitRC2_CBC=pe.id_pbeWithSHAAnd128BitRC2_CBC=pe.id_pbeWithSHAAnd2_KeyTripleDES_CBC=pe.id_pbeWithSHAAnd3_KeyTripleDES_CBC=pe.id_pbeWithSHAAnd40BitRC4=pe.id_pbeWithSHAAnd128BitRC4=pe.id_pkcs_12PbeIds=pe.id_pkcs_12=pe.id_pkcs=pe.id_rsadsi=void 0;pe.id_rsadsi="1.2.840.113549";pe.id_pkcs=`${pe.id_rsadsi}.1`;pe.id_pkcs_12=`${pe.id_pkcs}.12`;pe.id_pkcs_12PbeIds=`${pe.id_pkcs_12}.1`;pe.id_pbeWithSHAAnd128BitRC4=`${pe.id_pkcs_12PbeIds}.1`;pe.id_pbeWithSHAAnd40BitRC4=`${pe.id_pkcs_12PbeIds}.2`;pe.id_pbeWithSHAAnd3_KeyTripleDES_CBC=`${pe.id_pkcs_12PbeIds}.3`;pe.id_pbeWithSHAAnd2_KeyTripleDES_CBC=`${pe.id_pkcs_12PbeIds}.4`;pe.id_pbeWithSHAAnd128BitRC2_CBC=`${pe.id_pkcs_12PbeIds}.5`;pe.id_pbewithSHAAnd40BitRC2_CBC=`${pe.id_pkcs_12PbeIds}.6`;pe.id_bagtypes=`${pe.id_pkcs_12}.10.1`},42153:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.PFX=void 0;const he=Ae(4351);const ge=Ae(53499);const me=Ae(19493);const ye=Ae(71180);class PFX{constructor(R={}){this.version=3;this.authSafe=new me.ContentInfo;this.macData=new ye.MacData;Object.assign(this,R)}}pe.PFX=PFX;he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.Integer})],PFX.prototype,"version",void 0);he.__decorate([(0,ge.AsnProp)({type:me.ContentInfo})],PFX.prototype,"authSafe",void 0);he.__decorate([(0,ge.AsnProp)({type:ye.MacData,optional:true})],PFX.prototype,"macData",void 0)},55901:(R,pe,Ae)=>{"use strict";var he;Object.defineProperty(pe,"__esModule",{value:true});pe.SafeContents=pe.SafeBag=void 0;const ge=Ae(4351);const me=Ae(53499);const ye=Ae(11757);class SafeBag{constructor(R={}){this.bagId="";this.bagValue=new ArrayBuffer(0);Object.assign(this,R)}}pe.SafeBag=SafeBag;ge.__decorate([(0,me.AsnProp)({type:me.AsnPropTypes.ObjectIdentifier})],SafeBag.prototype,"bagId",void 0);ge.__decorate([(0,me.AsnProp)({type:me.AsnPropTypes.Any,context:0})],SafeBag.prototype,"bagValue",void 0);ge.__decorate([(0,me.AsnProp)({type:ye.PKCS12Attribute,repeated:"set",optional:true})],SafeBag.prototype,"bagAttributes",void 0);let ve=he=class SafeContents extends me.AsnArray{constructor(R){super(R);Object.setPrototypeOf(this,he.prototype)}};pe.SafeContents=ve;pe.SafeContents=ve=he=ge.__decorate([(0,me.AsnType)({type:me.AsnTypeTypes.Sequence,itemType:SafeBag})],ve)},20768:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.EncryptedPrivateKeyInfo=pe.EncryptedData=void 0;const he=Ae(4351);const ge=Ae(53499);const me=Ae(82288);class EncryptedData extends ge.OctetString{}pe.EncryptedData=EncryptedData;class EncryptedPrivateKeyInfo{constructor(R={}){this.encryptionAlgorithm=new me.AlgorithmIdentifier;this.encryptedData=new EncryptedData;Object.assign(this,R)}}pe.EncryptedPrivateKeyInfo=EncryptedPrivateKeyInfo;he.__decorate([(0,ge.AsnProp)({type:me.AlgorithmIdentifier})],EncryptedPrivateKeyInfo.prototype,"encryptionAlgorithm",void 0);he.__decorate([(0,ge.AsnProp)({type:EncryptedData})],EncryptedPrivateKeyInfo.prototype,"encryptedData",void 0)},81714:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});const he=Ae(4351);he.__exportStar(Ae(20768),pe);he.__exportStar(Ae(35442),pe)},35442:(R,pe,Ae)=>{"use strict";var he;Object.defineProperty(pe,"__esModule",{value:true});pe.PrivateKeyInfo=pe.Attributes=pe.PrivateKey=pe.Version=void 0;const ge=Ae(4351);const me=Ae(53499);const ye=Ae(82288);var ve;(function(R){R[R["v1"]=0]="v1"})(ve||(pe.Version=ve={}));class PrivateKey extends me.OctetString{}pe.PrivateKey=PrivateKey;let be=he=class Attributes extends me.AsnArray{constructor(R){super(R);Object.setPrototypeOf(this,he.prototype)}};pe.Attributes=be;pe.Attributes=be=he=ge.__decorate([(0,me.AsnType)({type:me.AsnTypeTypes.Sequence,itemType:ye.Attribute})],be);class PrivateKeyInfo{constructor(R={}){this.version=ve.v1;this.privateKeyAlgorithm=new ye.AlgorithmIdentifier;this.privateKey=new PrivateKey;Object.assign(this,R)}}pe.PrivateKeyInfo=PrivateKeyInfo;ge.__decorate([(0,me.AsnProp)({type:me.AsnPropTypes.Integer})],PrivateKeyInfo.prototype,"version",void 0);ge.__decorate([(0,me.AsnProp)({type:ye.AlgorithmIdentifier})],PrivateKeyInfo.prototype,"privateKeyAlgorithm",void 0);ge.__decorate([(0,me.AsnProp)({type:PrivateKey})],PrivateKeyInfo.prototype,"privateKey",void 0);ge.__decorate([(0,me.AsnProp)({type:be,implicit:true,context:0,optional:true})],PrivateKeyInfo.prototype,"attributes",void 0)},55938:(R,pe,Ae)=>{"use strict";var he,ge,me;Object.defineProperty(pe,"__esModule",{value:true});pe.DateOfBirth=pe.UnstructuredAddress=pe.UnstructuredName=pe.EmailAddress=pe.EncryptedPrivateKeyInfo=pe.UserPKCS12=pe.Pkcs7PDU=pe.PKCS9String=pe.id_at_pseudonym=pe.crlTypes=pe.id_certTypes=pe.id_smime=pe.id_pkcs9_mr_signingTimeMatch=pe.id_pkcs9_mr_caseIgnoreMatch=pe.id_pkcs9_sx_signingTime=pe.id_pkcs9_sx_pkcs9String=pe.id_pkcs9_at_countryOfResidence=pe.id_pkcs9_at_countryOfCitizenship=pe.id_pkcs9_at_gender=pe.id_pkcs9_at_placeOfBirth=pe.id_pkcs9_at_dateOfBirth=pe.id_ietf_at=pe.id_pkcs9_at_pkcs7PDU=pe.id_pkcs9_at_sequenceNumber=pe.id_pkcs9_at_randomNonce=pe.id_pkcs9_at_encryptedPrivateKeyInfo=pe.id_pkcs9_at_pkcs15Token=pe.id_pkcs9_at_userPKCS12=pe.id_pkcs9_at_localKeyId=pe.id_pkcs9_at_friendlyName=pe.id_pkcs9_at_smimeCapabilities=pe.id_pkcs9_at_extensionRequest=pe.id_pkcs9_at_signingDescription=pe.id_pkcs9_at_extendedCertificateAttributes=pe.id_pkcs9_at_unstructuredAddress=pe.id_pkcs9_at_challengePassword=pe.id_pkcs9_at_counterSignature=pe.id_pkcs9_at_signingTime=pe.id_pkcs9_at_messageDigest=pe.id_pkcs9_at_contentType=pe.id_pkcs9_at_unstructuredName=pe.id_pkcs9_at_emailAddress=pe.id_pkcs9_oc_naturalPerson=pe.id_pkcs9_oc_pkcsEntity=pe.id_pkcs9_mr=pe.id_pkcs9_sx=pe.id_pkcs9_at=pe.id_pkcs9_oc=pe.id_pkcs9_mo=pe.id_pkcs9=void 0;pe.SMIMECapabilities=pe.SMIMECapability=pe.SigningDescription=pe.LocalKeyId=pe.FriendlyName=pe.ExtendedCertificateAttributes=pe.ExtensionRequest=pe.ChallengePassword=pe.CounterSignature=pe.SequenceNumber=pe.RandomNonce=pe.SigningTime=pe.MessageDigest=pe.ContentType=pe.Pseudonym=pe.CountryOfResidence=pe.CountryOfCitizenship=pe.Gender=pe.PlaceOfBirth=void 0;const ye=Ae(4351);const ve=Ae(53499);const be=Ae(19493);const Ee=Ae(23691);const Ce=Ae(81714);const we=Ae(82288);const Ie=Ae(64263);pe.id_pkcs9="1.2.840.113549.1.9";pe.id_pkcs9_mo=`${pe.id_pkcs9}.0`;pe.id_pkcs9_oc=`${pe.id_pkcs9}.24`;pe.id_pkcs9_at=`${pe.id_pkcs9}.25`;pe.id_pkcs9_sx=`${pe.id_pkcs9}.26`;pe.id_pkcs9_mr=`${pe.id_pkcs9}.27`;pe.id_pkcs9_oc_pkcsEntity=`${pe.id_pkcs9_oc}.1`;pe.id_pkcs9_oc_naturalPerson=`${pe.id_pkcs9_oc}.2`;pe.id_pkcs9_at_emailAddress=`${pe.id_pkcs9}.1`;pe.id_pkcs9_at_unstructuredName=`${pe.id_pkcs9}.2`;pe.id_pkcs9_at_contentType=`${pe.id_pkcs9}.3`;pe.id_pkcs9_at_messageDigest=`${pe.id_pkcs9}.4`;pe.id_pkcs9_at_signingTime=`${pe.id_pkcs9}.5`;pe.id_pkcs9_at_counterSignature=`${pe.id_pkcs9}.6`;pe.id_pkcs9_at_challengePassword=`${pe.id_pkcs9}.7`;pe.id_pkcs9_at_unstructuredAddress=`${pe.id_pkcs9}.8`;pe.id_pkcs9_at_extendedCertificateAttributes=`${pe.id_pkcs9}.9`;pe.id_pkcs9_at_signingDescription=`${pe.id_pkcs9}.13`;pe.id_pkcs9_at_extensionRequest=`${pe.id_pkcs9}.14`;pe.id_pkcs9_at_smimeCapabilities=`${pe.id_pkcs9}.15`;pe.id_pkcs9_at_friendlyName=`${pe.id_pkcs9}.20`;pe.id_pkcs9_at_localKeyId=`${pe.id_pkcs9}.21`;pe.id_pkcs9_at_userPKCS12=`2.16.840.1.113730.3.1.216`;pe.id_pkcs9_at_pkcs15Token=`${pe.id_pkcs9_at}.1`;pe.id_pkcs9_at_encryptedPrivateKeyInfo=`${pe.id_pkcs9_at}.2`;pe.id_pkcs9_at_randomNonce=`${pe.id_pkcs9_at}.3`;pe.id_pkcs9_at_sequenceNumber=`${pe.id_pkcs9_at}.4`;pe.id_pkcs9_at_pkcs7PDU=`${pe.id_pkcs9_at}.5`;pe.id_ietf_at=`1.3.6.1.5.5.7.9`;pe.id_pkcs9_at_dateOfBirth=`${pe.id_ietf_at}.1`;pe.id_pkcs9_at_placeOfBirth=`${pe.id_ietf_at}.2`;pe.id_pkcs9_at_gender=`${pe.id_ietf_at}.3`;pe.id_pkcs9_at_countryOfCitizenship=`${pe.id_ietf_at}.4`;pe.id_pkcs9_at_countryOfResidence=`${pe.id_ietf_at}.5`;pe.id_pkcs9_sx_pkcs9String=`${pe.id_pkcs9_sx}.1`;pe.id_pkcs9_sx_signingTime=`${pe.id_pkcs9_sx}.2`;pe.id_pkcs9_mr_caseIgnoreMatch=`${pe.id_pkcs9_mr}.1`;pe.id_pkcs9_mr_signingTimeMatch=`${pe.id_pkcs9_mr}.2`;pe.id_smime=`${pe.id_pkcs9}.16`;pe.id_certTypes=`${pe.id_pkcs9}.22`;pe.crlTypes=`${pe.id_pkcs9}.23`;pe.id_at_pseudonym=`${Ie.id_at}.65`;let _e=class PKCS9String extends we.DirectoryString{constructor(R={}){super(R)}toString(){const R={};R.toString();return this.ia5String||super.toString()}};pe.PKCS9String=_e;ye.__decorate([(0,ve.AsnProp)({type:ve.AsnPropTypes.IA5String})],_e.prototype,"ia5String",void 0);pe.PKCS9String=_e=ye.__decorate([(0,ve.AsnType)({type:ve.AsnTypeTypes.Choice})],_e);let Be=class Pkcs7PDU extends be.ContentInfo{};pe.Pkcs7PDU=Be;pe.Pkcs7PDU=Be=ye.__decorate([(0,ve.AsnType)({type:ve.AsnTypeTypes.Sequence})],Be);let Se=class UserPKCS12 extends Ee.PFX{};pe.UserPKCS12=Se;pe.UserPKCS12=Se=ye.__decorate([(0,ve.AsnType)({type:ve.AsnTypeTypes.Sequence})],Se);let Qe=class EncryptedPrivateKeyInfo extends Ce.EncryptedPrivateKeyInfo{};pe.EncryptedPrivateKeyInfo=Qe;pe.EncryptedPrivateKeyInfo=Qe=ye.__decorate([(0,ve.AsnType)({type:ve.AsnTypeTypes.Sequence})],Qe);let xe=class EmailAddress{constructor(R=""){this.value=R}toString(){return this.value}};pe.EmailAddress=xe;ye.__decorate([(0,ve.AsnProp)({type:ve.AsnPropTypes.IA5String})],xe.prototype,"value",void 0);pe.EmailAddress=xe=ye.__decorate([(0,ve.AsnType)({type:ve.AsnTypeTypes.Choice})],xe);let De=class UnstructuredName extends _e{};pe.UnstructuredName=De;pe.UnstructuredName=De=ye.__decorate([(0,ve.AsnType)({type:ve.AsnTypeTypes.Choice})],De);let ke=class UnstructuredAddress extends we.DirectoryString{};pe.UnstructuredAddress=ke;pe.UnstructuredAddress=ke=ye.__decorate([(0,ve.AsnType)({type:ve.AsnTypeTypes.Choice})],ke);let Oe=class DateOfBirth{constructor(R=new Date){this.value=R}};pe.DateOfBirth=Oe;ye.__decorate([(0,ve.AsnProp)({type:ve.AsnPropTypes.GeneralizedTime})],Oe.prototype,"value",void 0);pe.DateOfBirth=Oe=ye.__decorate([(0,ve.AsnType)({type:ve.AsnTypeTypes.Choice})],Oe);let Re=class PlaceOfBirth extends we.DirectoryString{};pe.PlaceOfBirth=Re;pe.PlaceOfBirth=Re=ye.__decorate([(0,ve.AsnType)({type:ve.AsnTypeTypes.Choice})],Re);let Pe=class Gender{constructor(R="M"){this.value=R}toString(){return this.value}};pe.Gender=Pe;ye.__decorate([(0,ve.AsnProp)({type:ve.AsnPropTypes.PrintableString})],Pe.prototype,"value",void 0);pe.Gender=Pe=ye.__decorate([(0,ve.AsnType)({type:ve.AsnTypeTypes.Choice})],Pe);let Te=class CountryOfCitizenship{constructor(R=""){this.value=R}toString(){return this.value}};pe.CountryOfCitizenship=Te;ye.__decorate([(0,ve.AsnProp)({type:ve.AsnPropTypes.PrintableString})],Te.prototype,"value",void 0);pe.CountryOfCitizenship=Te=ye.__decorate([(0,ve.AsnType)({type:ve.AsnTypeTypes.Choice})],Te);let Ne=class CountryOfResidence extends Te{};pe.CountryOfResidence=Ne;pe.CountryOfResidence=Ne=ye.__decorate([(0,ve.AsnType)({type:ve.AsnTypeTypes.Choice})],Ne);let Me=class Pseudonym extends we.DirectoryString{};pe.Pseudonym=Me;pe.Pseudonym=Me=ye.__decorate([(0,ve.AsnType)({type:ve.AsnTypeTypes.Choice})],Me);let Fe=class ContentType{constructor(R=""){this.value=R}toString(){return this.value}};pe.ContentType=Fe;ye.__decorate([(0,ve.AsnProp)({type:ve.AsnPropTypes.ObjectIdentifier})],Fe.prototype,"value",void 0);pe.ContentType=Fe=ye.__decorate([(0,ve.AsnType)({type:ve.AsnTypeTypes.Choice})],Fe);class MessageDigest extends ve.OctetString{}pe.MessageDigest=MessageDigest;let je=class SigningTime extends we.Time{};pe.SigningTime=je;pe.SigningTime=je=ye.__decorate([(0,ve.AsnType)({type:ve.AsnTypeTypes.Choice})],je);class RandomNonce extends ve.OctetString{}pe.RandomNonce=RandomNonce;let Le=class SequenceNumber{constructor(R=0){this.value=R}toString(){return this.value.toString()}};pe.SequenceNumber=Le;ye.__decorate([(0,ve.AsnProp)({type:ve.AsnPropTypes.Integer})],Le.prototype,"value",void 0);pe.SequenceNumber=Le=ye.__decorate([(0,ve.AsnType)({type:ve.AsnTypeTypes.Choice})],Le);let Ue=class CounterSignature extends be.SignerInfo{};pe.CounterSignature=Ue;pe.CounterSignature=Ue=ye.__decorate([(0,ve.AsnType)({type:ve.AsnTypeTypes.Sequence})],Ue);let He=class ChallengePassword extends we.DirectoryString{};pe.ChallengePassword=He;pe.ChallengePassword=He=ye.__decorate([(0,ve.AsnType)({type:ve.AsnTypeTypes.Choice})],He);let Ve=he=class ExtensionRequest extends we.Extensions{constructor(R){super(R);Object.setPrototypeOf(this,he.prototype)}};pe.ExtensionRequest=Ve;pe.ExtensionRequest=Ve=he=ye.__decorate([(0,ve.AsnType)({type:ve.AsnTypeTypes.Sequence})],Ve);let We=ge=class ExtendedCertificateAttributes extends ve.AsnArray{constructor(R){super(R);Object.setPrototypeOf(this,ge.prototype)}};pe.ExtendedCertificateAttributes=We;pe.ExtendedCertificateAttributes=We=ge=ye.__decorate([(0,ve.AsnType)({type:ve.AsnTypeTypes.Set,itemType:be.Attribute})],We);let Je=class FriendlyName{constructor(R=""){this.value=R}toString(){return this.value}};pe.FriendlyName=Je;ye.__decorate([(0,ve.AsnProp)({type:ve.AsnPropTypes.BmpString})],Je.prototype,"value",void 0);pe.FriendlyName=Je=ye.__decorate([(0,ve.AsnType)({type:ve.AsnTypeTypes.Choice})],Je);class LocalKeyId extends ve.OctetString{}pe.LocalKeyId=LocalKeyId;class SigningDescription extends we.DirectoryString{}pe.SigningDescription=SigningDescription;let Ge=class SMIMECapability extends we.AlgorithmIdentifier{};pe.SMIMECapability=Ge;pe.SMIMECapability=Ge=ye.__decorate([(0,ve.AsnType)({type:ve.AsnTypeTypes.Sequence})],Ge);let qe=me=class SMIMECapabilities extends ve.AsnArray{constructor(R){super(R);Object.setPrototypeOf(this,me.prototype)}};pe.SMIMECapabilities=qe;pe.SMIMECapabilities=qe=me=ye.__decorate([(0,ve.AsnType)({type:ve.AsnTypeTypes.Sequence,itemType:Ge})],qe)},48243:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.sha512_256WithRSAEncryption=pe.sha512_224WithRSAEncryption=pe.sha512WithRSAEncryption=pe.sha384WithRSAEncryption=pe.sha256WithRSAEncryption=pe.sha224WithRSAEncryption=pe.sha1WithRSAEncryption=pe.md5WithRSAEncryption=pe.md2WithRSAEncryption=pe.rsaEncryption=pe.pSpecifiedEmpty=pe.mgf1SHA1=pe.sha512_256=pe.sha512_224=pe.sha512=pe.sha384=pe.sha256=pe.sha224=pe.sha1=pe.md4=pe.md2=void 0;const he=Ae(53499);const ge=Ae(82288);const me=Ae(90147);function create(R){return new ge.AlgorithmIdentifier({algorithm:R,parameters:null})}pe.md2=create(me.id_md2);pe.md4=create(me.id_md5);pe.sha1=create(me.id_sha1);pe.sha224=create(me.id_sha224);pe.sha256=create(me.id_sha256);pe.sha384=create(me.id_sha384);pe.sha512=create(me.id_sha512);pe.sha512_224=create(me.id_sha512_224);pe.sha512_256=create(me.id_sha512_256);pe.mgf1SHA1=new ge.AlgorithmIdentifier({algorithm:me.id_mgf1,parameters:he.AsnConvert.serialize(pe.sha1)});pe.pSpecifiedEmpty=new ge.AlgorithmIdentifier({algorithm:me.id_pSpecified,parameters:he.AsnConvert.serialize(he.AsnOctetStringConverter.toASN(new Uint8Array([218,57,163,238,94,107,75,13,50,85,191,239,149,96,24,144,175,216,7,9]).buffer))});pe.rsaEncryption=create(me.id_rsaEncryption);pe.md2WithRSAEncryption=create(me.id_md2WithRSAEncryption);pe.md5WithRSAEncryption=create(me.id_md5WithRSAEncryption);pe.sha1WithRSAEncryption=create(me.id_sha1WithRSAEncryption);pe.sha224WithRSAEncryption=create(me.id_sha512_224WithRSAEncryption);pe.sha256WithRSAEncryption=create(me.id_sha512_256WithRSAEncryption);pe.sha384WithRSAEncryption=create(me.id_sha384WithRSAEncryption);pe.sha512WithRSAEncryption=create(me.id_sha512WithRSAEncryption);pe.sha512_224WithRSAEncryption=create(me.id_sha512_224WithRSAEncryption);pe.sha512_256WithRSAEncryption=create(me.id_sha512_256WithRSAEncryption)},5574:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});const he=Ae(4351);he.__exportStar(Ae(60663),pe);he.__exportStar(Ae(48243),pe);he.__exportStar(Ae(90147),pe);he.__exportStar(Ae(41069),pe);he.__exportStar(Ae(89654),pe);he.__exportStar(Ae(39978),pe)},90147:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.id_mgf1=pe.id_md5=pe.id_md2=pe.id_sha512_256=pe.id_sha512_224=pe.id_sha512=pe.id_sha384=pe.id_sha256=pe.id_sha224=pe.id_sha1=pe.id_sha512_256WithRSAEncryption=pe.id_sha512_224WithRSAEncryption=pe.id_sha512WithRSAEncryption=pe.id_sha384WithRSAEncryption=pe.id_sha256WithRSAEncryption=pe.id_ssha224WithRSAEncryption=pe.id_sha224WithRSAEncryption=pe.id_sha1WithRSAEncryption=pe.id_md5WithRSAEncryption=pe.id_md2WithRSAEncryption=pe.id_RSASSA_PSS=pe.id_pSpecified=pe.id_RSAES_OAEP=pe.id_rsaEncryption=pe.id_pkcs_1=void 0;pe.id_pkcs_1="1.2.840.113549.1.1";pe.id_rsaEncryption=`${pe.id_pkcs_1}.1`;pe.id_RSAES_OAEP=`${pe.id_pkcs_1}.7`;pe.id_pSpecified=`${pe.id_pkcs_1}.9`;pe.id_RSASSA_PSS=`${pe.id_pkcs_1}.10`;pe.id_md2WithRSAEncryption=`${pe.id_pkcs_1}.2`;pe.id_md5WithRSAEncryption=`${pe.id_pkcs_1}.4`;pe.id_sha1WithRSAEncryption=`${pe.id_pkcs_1}.5`;pe.id_sha224WithRSAEncryption=`${pe.id_pkcs_1}.14`;pe.id_ssha224WithRSAEncryption=pe.id_sha224WithRSAEncryption;pe.id_sha256WithRSAEncryption=`${pe.id_pkcs_1}.11`;pe.id_sha384WithRSAEncryption=`${pe.id_pkcs_1}.12`;pe.id_sha512WithRSAEncryption=`${pe.id_pkcs_1}.13`;pe.id_sha512_224WithRSAEncryption=`${pe.id_pkcs_1}.15`;pe.id_sha512_256WithRSAEncryption=`${pe.id_pkcs_1}.16`;pe.id_sha1="1.3.14.3.2.26";pe.id_sha224="2.16.840.1.101.3.4.2.4";pe.id_sha256="2.16.840.1.101.3.4.2.1";pe.id_sha384="2.16.840.1.101.3.4.2.2";pe.id_sha512="2.16.840.1.101.3.4.2.3";pe.id_sha512_224="2.16.840.1.101.3.4.2.5";pe.id_sha512_256="2.16.840.1.101.3.4.2.6";pe.id_md2="1.2.840.113549.2.2";pe.id_md5="1.2.840.113549.2.5";pe.id_mgf1=`${pe.id_pkcs_1}.8`},41069:(R,pe,Ae)=>{"use strict";var he;Object.defineProperty(pe,"__esModule",{value:true});pe.OtherPrimeInfos=pe.OtherPrimeInfo=void 0;const ge=Ae(4351);const me=Ae(53499);class OtherPrimeInfo{constructor(R={}){this.prime=new ArrayBuffer(0);this.exponent=new ArrayBuffer(0);this.coefficient=new ArrayBuffer(0);Object.assign(this,R)}}pe.OtherPrimeInfo=OtherPrimeInfo;ge.__decorate([(0,me.AsnProp)({type:me.AsnPropTypes.Integer,converter:me.AsnIntegerArrayBufferConverter})],OtherPrimeInfo.prototype,"prime",void 0);ge.__decorate([(0,me.AsnProp)({type:me.AsnPropTypes.Integer,converter:me.AsnIntegerArrayBufferConverter})],OtherPrimeInfo.prototype,"exponent",void 0);ge.__decorate([(0,me.AsnProp)({type:me.AsnPropTypes.Integer,converter:me.AsnIntegerArrayBufferConverter})],OtherPrimeInfo.prototype,"coefficient",void 0);let ye=he=class OtherPrimeInfos extends me.AsnArray{constructor(R){super(R);Object.setPrototypeOf(this,he.prototype)}};pe.OtherPrimeInfos=ye;pe.OtherPrimeInfos=ye=he=ge.__decorate([(0,me.AsnType)({type:me.AsnTypeTypes.Sequence,itemType:OtherPrimeInfo})],ye)},60663:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});const he=Ae(4351);he.__exportStar(Ae(36657),pe);he.__exportStar(Ae(61770),pe);he.__exportStar(Ae(40462),pe)},36657:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.RSAES_OAEP=pe.RsaEsOaepParams=void 0;const he=Ae(4351);const ge=Ae(53499);const me=Ae(82288);const ye=Ae(90147);const ve=Ae(48243);class RsaEsOaepParams{constructor(R={}){this.hashAlgorithm=new me.AlgorithmIdentifier(ve.sha1);this.maskGenAlgorithm=new me.AlgorithmIdentifier({algorithm:ye.id_mgf1,parameters:ge.AsnConvert.serialize(ve.sha1)});this.pSourceAlgorithm=new me.AlgorithmIdentifier(ve.pSpecifiedEmpty);Object.assign(this,R)}}pe.RsaEsOaepParams=RsaEsOaepParams;he.__decorate([(0,ge.AsnProp)({type:me.AlgorithmIdentifier,context:0,defaultValue:ve.sha1})],RsaEsOaepParams.prototype,"hashAlgorithm",void 0);he.__decorate([(0,ge.AsnProp)({type:me.AlgorithmIdentifier,context:1,defaultValue:ve.mgf1SHA1})],RsaEsOaepParams.prototype,"maskGenAlgorithm",void 0);he.__decorate([(0,ge.AsnProp)({type:me.AlgorithmIdentifier,context:2,defaultValue:ve.pSpecifiedEmpty})],RsaEsOaepParams.prototype,"pSourceAlgorithm",void 0);pe.RSAES_OAEP=new me.AlgorithmIdentifier({algorithm:ye.id_RSAES_OAEP,parameters:ge.AsnConvert.serialize(new RsaEsOaepParams)})},40462:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.DigestInfo=void 0;const he=Ae(4351);const ge=Ae(82288);const me=Ae(53499);class DigestInfo{constructor(R={}){this.digestAlgorithm=new ge.AlgorithmIdentifier;this.digest=new me.OctetString;Object.assign(this,R)}}pe.DigestInfo=DigestInfo;he.__decorate([(0,me.AsnProp)({type:ge.AlgorithmIdentifier})],DigestInfo.prototype,"digestAlgorithm",void 0);he.__decorate([(0,me.AsnProp)({type:me.OctetString})],DigestInfo.prototype,"digest",void 0)},61770:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.RSASSA_PSS=pe.RsaSaPssParams=void 0;const he=Ae(4351);const ge=Ae(53499);const me=Ae(82288);const ye=Ae(90147);const ve=Ae(48243);class RsaSaPssParams{constructor(R={}){this.hashAlgorithm=new me.AlgorithmIdentifier(ve.sha1);this.maskGenAlgorithm=new me.AlgorithmIdentifier({algorithm:ye.id_mgf1,parameters:ge.AsnConvert.serialize(ve.sha1)});this.saltLength=20;this.trailerField=1;Object.assign(this,R)}}pe.RsaSaPssParams=RsaSaPssParams;he.__decorate([(0,ge.AsnProp)({type:me.AlgorithmIdentifier,context:0,defaultValue:ve.sha1})],RsaSaPssParams.prototype,"hashAlgorithm",void 0);he.__decorate([(0,ge.AsnProp)({type:me.AlgorithmIdentifier,context:1,defaultValue:ve.mgf1SHA1})],RsaSaPssParams.prototype,"maskGenAlgorithm",void 0);he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.Integer,context:2,defaultValue:20})],RsaSaPssParams.prototype,"saltLength",void 0);he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.Integer,context:3,defaultValue:1})],RsaSaPssParams.prototype,"trailerField",void 0);pe.RSASSA_PSS=new me.AlgorithmIdentifier({algorithm:ye.id_RSASSA_PSS,parameters:ge.AsnConvert.serialize(new RsaSaPssParams)})},89654:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.RSAPrivateKey=void 0;const he=Ae(4351);const ge=Ae(53499);const me=Ae(41069);class RSAPrivateKey{constructor(R={}){this.version=0;this.modulus=new ArrayBuffer(0);this.publicExponent=new ArrayBuffer(0);this.privateExponent=new ArrayBuffer(0);this.prime1=new ArrayBuffer(0);this.prime2=new ArrayBuffer(0);this.exponent1=new ArrayBuffer(0);this.exponent2=new ArrayBuffer(0);this.coefficient=new ArrayBuffer(0);Object.assign(this,R)}}pe.RSAPrivateKey=RSAPrivateKey;he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.Integer})],RSAPrivateKey.prototype,"version",void 0);he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.Integer,converter:ge.AsnIntegerArrayBufferConverter})],RSAPrivateKey.prototype,"modulus",void 0);he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.Integer,converter:ge.AsnIntegerArrayBufferConverter})],RSAPrivateKey.prototype,"publicExponent",void 0);he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.Integer,converter:ge.AsnIntegerArrayBufferConverter})],RSAPrivateKey.prototype,"privateExponent",void 0);he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.Integer,converter:ge.AsnIntegerArrayBufferConverter})],RSAPrivateKey.prototype,"prime1",void 0);he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.Integer,converter:ge.AsnIntegerArrayBufferConverter})],RSAPrivateKey.prototype,"prime2",void 0);he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.Integer,converter:ge.AsnIntegerArrayBufferConverter})],RSAPrivateKey.prototype,"exponent1",void 0);he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.Integer,converter:ge.AsnIntegerArrayBufferConverter})],RSAPrivateKey.prototype,"exponent2",void 0);he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.Integer,converter:ge.AsnIntegerArrayBufferConverter})],RSAPrivateKey.prototype,"coefficient",void 0);he.__decorate([(0,ge.AsnProp)({type:me.OtherPrimeInfos,optional:true})],RSAPrivateKey.prototype,"otherPrimeInfos",void 0)},39978:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.RSAPublicKey=void 0;const he=Ae(4351);const ge=Ae(53499);class RSAPublicKey{constructor(R={}){this.modulus=new ArrayBuffer(0);this.publicExponent=new ArrayBuffer(0);Object.assign(this,R)}}pe.RSAPublicKey=RSAPublicKey;he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.Integer,converter:ge.AsnIntegerArrayBufferConverter})],RSAPublicKey.prototype,"modulus",void 0);he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.Integer,converter:ge.AsnIntegerArrayBufferConverter})],RSAPublicKey.prototype,"publicExponent",void 0)},10913:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.AsnConvert=void 0;const he=Ae(3702);const ge=Ae(22420);const me=Ae(89660);const ye=Ae(37770);class AsnConvert{static serialize(R){return ye.AsnSerializer.serialize(R)}static parse(R,pe){return me.AsnParser.parse(R,pe)}static toString(R){const pe=ge.BufferSourceConverter.isBufferSource(R)?ge.BufferSourceConverter.toArrayBuffer(R):AsnConvert.serialize(R);const Ae=he.fromBER(pe);if(Ae.offset===-1){throw new Error(`Cannot decode ASN.1 data. ${Ae.result.error}`)}return Ae.result.toString()}}pe.AsnConvert=AsnConvert},54091:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.defaultConverter=pe.AsnNullConverter=pe.AsnGeneralizedTimeConverter=pe.AsnUTCTimeConverter=pe.AsnCharacterStringConverter=pe.AsnGeneralStringConverter=pe.AsnVisibleStringConverter=pe.AsnGraphicStringConverter=pe.AsnIA5StringConverter=pe.AsnVideotexStringConverter=pe.AsnTeletexStringConverter=pe.AsnPrintableStringConverter=pe.AsnNumericStringConverter=pe.AsnUniversalStringConverter=pe.AsnBmpStringConverter=pe.AsnUtf8StringConverter=pe.AsnConstructedOctetStringConverter=pe.AsnOctetStringConverter=pe.AsnBooleanConverter=pe.AsnObjectIdentifierConverter=pe.AsnBitStringConverter=pe.AsnIntegerBigIntConverter=pe.AsnIntegerArrayBufferConverter=pe.AsnEnumeratedConverter=pe.AsnIntegerConverter=pe.AsnAnyConverter=void 0;const he=Ae(3702);const ge=Ae(40378);const me=Ae(80756);pe.AsnAnyConverter={fromASN:R=>R instanceof he.Null?null:R.valueBeforeDecodeView,toASN:R=>{if(R===null){return new he.Null}const pe=he.fromBER(R);if(pe.result.error){throw new Error(pe.result.error)}return pe.result}};pe.AsnIntegerConverter={fromASN:R=>R.valueBlock.valueHexView.byteLength>=4?R.valueBlock.toString():R.valueBlock.valueDec,toASN:R=>new he.Integer({value:+R})};pe.AsnEnumeratedConverter={fromASN:R=>R.valueBlock.valueDec,toASN:R=>new he.Enumerated({value:R})};pe.AsnIntegerArrayBufferConverter={fromASN:R=>R.valueBlock.valueHexView,toASN:R=>new he.Integer({valueHex:R})};pe.AsnIntegerBigIntConverter={fromASN:R=>R.toBigInt(),toASN:R=>he.Integer.fromBigInt(R)};pe.AsnBitStringConverter={fromASN:R=>R.valueBlock.valueHexView,toASN:R=>new he.BitString({valueHex:R})};pe.AsnObjectIdentifierConverter={fromASN:R=>R.valueBlock.toString(),toASN:R=>new he.ObjectIdentifier({value:R})};pe.AsnBooleanConverter={fromASN:R=>R.valueBlock.value,toASN:R=>new he.Boolean({value:R})};pe.AsnOctetStringConverter={fromASN:R=>R.valueBlock.valueHexView,toASN:R=>new he.OctetString({valueHex:R})};pe.AsnConstructedOctetStringConverter={fromASN:R=>new me.OctetString(R.getValue()),toASN:R=>R.toASN()};function createStringConverter(R){return{fromASN:R=>R.valueBlock.value,toASN:pe=>new R({value:pe})}}pe.AsnUtf8StringConverter=createStringConverter(he.Utf8String);pe.AsnBmpStringConverter=createStringConverter(he.BmpString);pe.AsnUniversalStringConverter=createStringConverter(he.UniversalString);pe.AsnNumericStringConverter=createStringConverter(he.NumericString);pe.AsnPrintableStringConverter=createStringConverter(he.PrintableString);pe.AsnTeletexStringConverter=createStringConverter(he.TeletexString);pe.AsnVideotexStringConverter=createStringConverter(he.VideotexString);pe.AsnIA5StringConverter=createStringConverter(he.IA5String);pe.AsnGraphicStringConverter=createStringConverter(he.GraphicString);pe.AsnVisibleStringConverter=createStringConverter(he.VisibleString);pe.AsnGeneralStringConverter=createStringConverter(he.GeneralString);pe.AsnCharacterStringConverter=createStringConverter(he.CharacterString);pe.AsnUTCTimeConverter={fromASN:R=>R.toDate(),toASN:R=>new he.UTCTime({valueDate:R})};pe.AsnGeneralizedTimeConverter={fromASN:R=>R.toDate(),toASN:R=>new he.GeneralizedTime({valueDate:R})};pe.AsnNullConverter={fromASN:()=>null,toASN:()=>new he.Null};function defaultConverter(R){switch(R){case ge.AsnPropTypes.Any:return pe.AsnAnyConverter;case ge.AsnPropTypes.BitString:return pe.AsnBitStringConverter;case ge.AsnPropTypes.BmpString:return pe.AsnBmpStringConverter;case ge.AsnPropTypes.Boolean:return pe.AsnBooleanConverter;case ge.AsnPropTypes.CharacterString:return pe.AsnCharacterStringConverter;case ge.AsnPropTypes.Enumerated:return pe.AsnEnumeratedConverter;case ge.AsnPropTypes.GeneralString:return pe.AsnGeneralStringConverter;case ge.AsnPropTypes.GeneralizedTime:return pe.AsnGeneralizedTimeConverter;case ge.AsnPropTypes.GraphicString:return pe.AsnGraphicStringConverter;case ge.AsnPropTypes.IA5String:return pe.AsnIA5StringConverter;case ge.AsnPropTypes.Integer:return pe.AsnIntegerConverter;case ge.AsnPropTypes.Null:return pe.AsnNullConverter;case ge.AsnPropTypes.NumericString:return pe.AsnNumericStringConverter;case ge.AsnPropTypes.ObjectIdentifier:return pe.AsnObjectIdentifierConverter;case ge.AsnPropTypes.OctetString:return pe.AsnOctetStringConverter;case ge.AsnPropTypes.PrintableString:return pe.AsnPrintableStringConverter;case ge.AsnPropTypes.TeletexString:return pe.AsnTeletexStringConverter;case ge.AsnPropTypes.UTCTime:return pe.AsnUTCTimeConverter;case ge.AsnPropTypes.UniversalString:return pe.AsnUniversalStringConverter;case ge.AsnPropTypes.Utf8String:return pe.AsnUtf8StringConverter;case ge.AsnPropTypes.VideotexString:return pe.AsnVideotexStringConverter;case ge.AsnPropTypes.VisibleString:return pe.AsnVisibleStringConverter;default:return null}}pe.defaultConverter=defaultConverter},10157:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.AsnProp=pe.AsnSequenceType=pe.AsnSetType=pe.AsnChoiceType=pe.AsnType=void 0;const he=Ae(54091);const ge=Ae(40378);const me=Ae(54652);const AsnType=R=>pe=>{let Ae;if(!me.schemaStorage.has(pe)){Ae=me.schemaStorage.createDefault(pe);me.schemaStorage.set(pe,Ae)}else{Ae=me.schemaStorage.get(pe)}Object.assign(Ae,R)};pe.AsnType=AsnType;const AsnChoiceType=()=>(0,pe.AsnType)({type:ge.AsnTypeTypes.Choice});pe.AsnChoiceType=AsnChoiceType;const AsnSetType=R=>(0,pe.AsnType)({type:ge.AsnTypeTypes.Set,...R});pe.AsnSetType=AsnSetType;const AsnSequenceType=R=>(0,pe.AsnType)({type:ge.AsnTypeTypes.Sequence,...R});pe.AsnSequenceType=AsnSequenceType;const AsnProp=R=>(pe,Ae)=>{let ge;if(!me.schemaStorage.has(pe.constructor)){ge=me.schemaStorage.createDefault(pe.constructor);me.schemaStorage.set(pe.constructor,ge)}else{ge=me.schemaStorage.get(pe.constructor)}const ye=Object.assign({},R);if(typeof ye.type==="number"&&!ye.converter){const ge=he.defaultConverter(R.type);if(!ge){throw new Error(`Cannot get default converter for property '${Ae}' of ${pe.constructor.name}`)}ye.converter=ge}ge.items[Ae]=ye};pe.AsnProp=AsnProp},40378:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.AsnPropTypes=pe.AsnTypeTypes=void 0;var Ae;(function(R){R[R["Sequence"]=0]="Sequence";R[R["Set"]=1]="Set";R[R["Choice"]=2]="Choice"})(Ae||(pe.AsnTypeTypes=Ae={}));var he;(function(R){R[R["Any"]=1]="Any";R[R["Boolean"]=2]="Boolean";R[R["OctetString"]=3]="OctetString";R[R["BitString"]=4]="BitString";R[R["Integer"]=5]="Integer";R[R["Enumerated"]=6]="Enumerated";R[R["ObjectIdentifier"]=7]="ObjectIdentifier";R[R["Utf8String"]=8]="Utf8String";R[R["BmpString"]=9]="BmpString";R[R["UniversalString"]=10]="UniversalString";R[R["NumericString"]=11]="NumericString";R[R["PrintableString"]=12]="PrintableString";R[R["TeletexString"]=13]="TeletexString";R[R["VideotexString"]=14]="VideotexString";R[R["IA5String"]=15]="IA5String";R[R["GraphicString"]=16]="GraphicString";R[R["VisibleString"]=17]="VisibleString";R[R["GeneralString"]=18]="GeneralString";R[R["CharacterString"]=19]="CharacterString";R[R["UTCTime"]=20]="UTCTime";R[R["GeneralizedTime"]=21]="GeneralizedTime";R[R["DATE"]=22]="DATE";R[R["TimeOfDay"]=23]="TimeOfDay";R[R["DateTime"]=24]="DateTime";R[R["Duration"]=25]="Duration";R[R["TIME"]=26]="TIME";R[R["Null"]=27]="Null"})(he||(pe.AsnPropTypes=he={}))},56194:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});const he=Ae(4351);he.__exportStar(Ae(27118),pe)},27118:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.AsnSchemaValidationError=void 0;class AsnSchemaValidationError extends Error{constructor(){super(...arguments);this.schemas=[]}}pe.AsnSchemaValidationError=AsnSchemaValidationError},74750:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.isArrayEqual=pe.isTypeOfArray=pe.isConvertible=void 0;function isConvertible(R){if(typeof R==="function"&&R.prototype){if(R.prototype.toASN&&R.prototype.fromASN){return true}else{return isConvertible(R.prototype)}}else{return!!(R&&typeof R==="object"&&"toASN"in R&&"fromASN"in R)}}pe.isConvertible=isConvertible;function isTypeOfArray(R){var pe;if(R){const Ae=Object.getPrototypeOf(R);if(((pe=Ae===null||Ae===void 0?void 0:Ae.prototype)===null||pe===void 0?void 0:pe.constructor)===Array){return true}return isTypeOfArray(Ae)}return false}pe.isTypeOfArray=isTypeOfArray;function isArrayEqual(R,pe){if(!(R&&pe)){return false}if(R.byteLength!==pe.byteLength){return false}const Ae=new Uint8Array(R);const he=new Uint8Array(pe);for(let pe=0;pe{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.AsnSerializer=pe.AsnParser=pe.AsnPropTypes=pe.AsnTypeTypes=pe.AsnSetType=pe.AsnSequenceType=pe.AsnChoiceType=pe.AsnType=pe.AsnProp=void 0;const he=Ae(4351);he.__exportStar(Ae(54091),pe);he.__exportStar(Ae(80756),pe);var ge=Ae(10157);Object.defineProperty(pe,"AsnProp",{enumerable:true,get:function(){return ge.AsnProp}});Object.defineProperty(pe,"AsnType",{enumerable:true,get:function(){return ge.AsnType}});Object.defineProperty(pe,"AsnChoiceType",{enumerable:true,get:function(){return ge.AsnChoiceType}});Object.defineProperty(pe,"AsnSequenceType",{enumerable:true,get:function(){return ge.AsnSequenceType}});Object.defineProperty(pe,"AsnSetType",{enumerable:true,get:function(){return ge.AsnSetType}});var me=Ae(40378);Object.defineProperty(pe,"AsnTypeTypes",{enumerable:true,get:function(){return me.AsnTypeTypes}});Object.defineProperty(pe,"AsnPropTypes",{enumerable:true,get:function(){return me.AsnPropTypes}});var ye=Ae(89660);Object.defineProperty(pe,"AsnParser",{enumerable:true,get:function(){return ye.AsnParser}});var ve=Ae(37770);Object.defineProperty(pe,"AsnSerializer",{enumerable:true,get:function(){return ve.AsnSerializer}});he.__exportStar(Ae(56194),pe);he.__exportStar(Ae(53795),pe);he.__exportStar(Ae(10913),pe)},53795:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.AsnArray=void 0;class AsnArray extends Array{constructor(R=[]){if(typeof R==="number"){super(R)}else{super();for(const pe of R){this.push(pe)}}}}pe.AsnArray=AsnArray},89660:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.AsnParser=void 0;const he=Ae(3702);const ge=Ae(40378);const me=Ae(54091);const ye=Ae(56194);const ve=Ae(74750);const be=Ae(54652);class AsnParser{static parse(R,pe){const Ae=he.fromBER(R);if(Ae.result.error){throw new Error(Ae.result.error)}const ge=this.fromASN(Ae.result,pe);return ge}static fromASN(R,pe){var Ae;try{if((0,ve.isConvertible)(pe)){const Ae=new pe;return Ae.fromASN(R)}const Ee=be.schemaStorage.get(pe);be.schemaStorage.cache(pe);let Ce=Ee.schema;if(R.constructor===he.Constructed&&Ee.type!==ge.AsnTypeTypes.Choice){Ce=new he.Constructed({idBlock:{tagClass:3,tagNumber:R.idBlock.tagNumber},value:Ee.schema.valueBlock.value});for(const pe in Ee.items){delete R[pe]}}const we=he.compareSchema({},R,Ce);if(!we.verified){throw new ye.AsnSchemaValidationError(`Data does not match to ${pe.name} ASN1 schema. ${we.result.error}`)}const Ie=new pe;if((0,ve.isTypeOfArray)(pe)){if(!("value"in R.valueBlock&&Array.isArray(R.valueBlock.value))){throw new Error(`Cannot get items from the ASN.1 parsed value. ASN.1 object is not constructed.`)}const Ae=Ee.itemType;if(typeof Ae==="number"){const he=me.defaultConverter(Ae);if(!he){throw new Error(`Cannot get default converter for array item of ${pe.name} ASN1 schema`)}return pe.from(R.valueBlock.value,(R=>he.fromASN(R)))}else{return pe.from(R.valueBlock.value,(R=>this.fromASN(R,Ae)))}}for(const R in Ee.items){const pe=we.result[R];if(!pe){continue}const me=Ee.items[R];const ye=me.type;if(typeof ye==="number"||(0,ve.isConvertible)(ye)){const be=(Ae=me.converter)!==null&&Ae!==void 0?Ae:(0,ve.isConvertible)(ye)?new ye:null;if(!be){throw new Error("Converter is empty")}if(me.repeated){if(me.implicit){const Ae=me.repeated==="sequence"?he.Sequence:he.Set;const ge=new Ae;ge.valueBlock=pe.valueBlock;const ye=he.fromBER(ge.toBER(false));if(ye.offset===-1){throw new Error(`Cannot parse the child item. ${ye.result.error}`)}if(!("value"in ye.result.valueBlock&&Array.isArray(ye.result.valueBlock.value))){throw new Error("Cannot get items from the ASN.1 parsed value. ASN.1 object is not constructed.")}const ve=ye.result.valueBlock.value;Ie[R]=Array.from(ve,(R=>be.fromASN(R)))}else{Ie[R]=Array.from(pe,(R=>be.fromASN(R)))}}else{let Ae=pe;if(me.implicit){let R;if((0,ve.isConvertible)(ye)){R=(new ye).toSchema("")}else{const pe=ge.AsnPropTypes[ye];const Ae=he[pe];if(!Ae){throw new Error(`Cannot get '${pe}' class from asn1js module`)}R=new Ae}R.valueBlock=Ae.valueBlock;Ae=he.fromBER(R.toBER(false)).result}Ie[R]=be.fromASN(Ae)}}else{if(me.repeated){if(!Array.isArray(pe)){throw new Error("Cannot get list of items from the ASN.1 parsed value. ASN.1 value should be iterable.")}Ie[R]=Array.from(pe,(R=>this.fromASN(R,ye)))}else{Ie[R]=this.fromASN(pe,ye)}}}return Ie}catch(R){if(R instanceof ye.AsnSchemaValidationError){R.schemas.push(pe.name)}throw R}}}pe.AsnParser=AsnParser},93021:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.AsnSchemaStorage=void 0;const he=Ae(3702);const ge=Ae(40378);const me=Ae(74750);class AsnSchemaStorage{constructor(){this.items=new WeakMap}has(R){return this.items.has(R)}get(R,pe=false){const Ae=this.items.get(R);if(!Ae){throw new Error(`Cannot get schema for '${R.prototype.constructor.name}' target`)}if(pe&&!Ae.schema){throw new Error(`Schema '${R.prototype.constructor.name}' doesn't contain ASN.1 schema. Call 'AsnSchemaStorage.cache'.`)}return Ae}cache(R){const pe=this.get(R);if(!pe.schema){pe.schema=this.create(R,true)}}createDefault(R){const pe={type:ge.AsnTypeTypes.Sequence,items:{}};const Ae=this.findParentSchema(R);if(Ae){Object.assign(pe,Ae);pe.items=Object.assign({},pe.items,Ae.items)}return pe}create(R,pe){const Ae=this.items.get(R)||this.createDefault(R);const ye=[];for(const R in Ae.items){const ve=Ae.items[R];const be=pe?R:"";let Ee;if(typeof ve.type==="number"){const R=ge.AsnPropTypes[ve.type];const pe=he[R];if(!pe){throw new Error(`Cannot get ASN1 class by name '${R}'`)}Ee=new pe({name:be})}else if((0,me.isConvertible)(ve.type)){const R=new ve.type;Ee=R.toSchema(be)}else if(ve.optional){const R=this.get(ve.type);if(R.type===ge.AsnTypeTypes.Choice){Ee=new he.Any({name:be})}else{Ee=this.create(ve.type,false);Ee.name=be}}else{Ee=new he.Any({name:be})}const Ce=!!ve.optional||ve.defaultValue!==undefined;if(ve.repeated){Ee.name="";const R=ve.repeated==="set"?he.Set:he.Sequence;Ee=new R({name:"",value:[new he.Repeated({name:be,value:Ee})]})}if(ve.context!==null&&ve.context!==undefined){if(ve.implicit){if(typeof ve.type==="number"||(0,me.isConvertible)(ve.type)){const R=ve.repeated?he.Constructed:he.Primitive;ye.push(new R({name:be,optional:Ce,idBlock:{tagClass:3,tagNumber:ve.context}}))}else{this.cache(ve.type);const R=!!ve.repeated;let pe=!R?this.get(ve.type,true).schema:Ee;pe="valueBlock"in pe?pe.valueBlock.value:pe.value;ye.push(new he.Constructed({name:!R?be:"",optional:Ce,idBlock:{tagClass:3,tagNumber:ve.context},value:pe}))}}else{ye.push(new he.Constructed({optional:Ce,idBlock:{tagClass:3,tagNumber:ve.context},value:[Ee]}))}}else{Ee.optional=Ce;ye.push(Ee)}}switch(Ae.type){case ge.AsnTypeTypes.Sequence:return new he.Sequence({value:ye,name:""});case ge.AsnTypeTypes.Set:return new he.Set({value:ye,name:""});case ge.AsnTypeTypes.Choice:return new he.Choice({value:ye,name:""});default:throw new Error(`Unsupported ASN1 type in use`)}}set(R,pe){this.items.set(R,pe);return this}findParentSchema(R){const pe=Object.getPrototypeOf(R);if(pe){const R=this.items.get(pe);return R||this.findParentSchema(pe)}return null}}pe.AsnSchemaStorage=AsnSchemaStorage},37770:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.AsnSerializer=void 0;const he=Ae(3702);const ge=Ae(54091);const me=Ae(40378);const ye=Ae(74750);const ve=Ae(54652);class AsnSerializer{static serialize(R){if(R instanceof he.BaseBlock){return R.toBER(false)}return this.toASN(R).toBER(false)}static toASN(R){if(R&&typeof R==="object"&&(0,ye.isConvertible)(R)){return R.toASN()}if(!(R&&typeof R==="object")){throw new TypeError("Parameter 1 should be type of Object.")}const pe=R.constructor;const Ae=ve.schemaStorage.get(pe);ve.schemaStorage.cache(pe);let be=[];if(Ae.itemType){if(!Array.isArray(R)){throw new TypeError("Parameter 1 should be type of Array.")}if(typeof Ae.itemType==="number"){const he=ge.defaultConverter(Ae.itemType);if(!he){throw new Error(`Cannot get default converter for array item of ${pe.name} ASN1 schema`)}be=R.map((R=>he.toASN(R)))}else{be=R.map((R=>this.toAsnItem({type:Ae.itemType},"[]",pe,R)))}}else{for(const ge in Ae.items){const me=Ae.items[ge];const ve=R[ge];if(ve===undefined||me.defaultValue===ve||typeof me.defaultValue==="object"&&typeof ve==="object"&&(0,ye.isArrayEqual)(this.serialize(me.defaultValue),this.serialize(ve))){continue}const Ee=AsnSerializer.toAsnItem(me,ge,pe,ve);if(typeof me.context==="number"){if(me.implicit){if(!me.repeated&&(typeof me.type==="number"||(0,ye.isConvertible)(me.type))){const R={};R.valueHex=Ee instanceof he.Null?Ee.valueBeforeDecodeView:Ee.valueBlock.toBER();be.push(new he.Primitive({optional:me.optional,idBlock:{tagClass:3,tagNumber:me.context},...R}))}else{be.push(new he.Constructed({optional:me.optional,idBlock:{tagClass:3,tagNumber:me.context},value:Ee.valueBlock.value}))}}else{be.push(new he.Constructed({optional:me.optional,idBlock:{tagClass:3,tagNumber:me.context},value:[Ee]}))}}else if(me.repeated){be=be.concat(Ee)}else{be.push(Ee)}}}let Ee;switch(Ae.type){case me.AsnTypeTypes.Sequence:Ee=new he.Sequence({value:be});break;case me.AsnTypeTypes.Set:Ee=new he.Set({value:be});break;case me.AsnTypeTypes.Choice:if(!be[0]){throw new Error(`Schema '${pe.name}' has wrong data. Choice cannot be empty.`)}Ee=be[0];break}return Ee}static toAsnItem(R,pe,Ae,ge){let ye;if(typeof R.type==="number"){const ve=R.converter;if(!ve){throw new Error(`Property '${pe}' doesn't have converter for type ${me.AsnPropTypes[R.type]} in schema '${Ae.name}'`)}if(R.repeated){if(!Array.isArray(ge)){throw new TypeError("Parameter 'objProp' should be type of Array.")}const pe=Array.from(ge,(R=>ve.toASN(R)));const Ae=R.repeated==="sequence"?he.Sequence:he.Set;ye=new Ae({value:pe})}else{ye=ve.toASN(ge)}}else{if(R.repeated){if(!Array.isArray(ge)){throw new TypeError("Parameter 'objProp' should be type of Array.")}const pe=Array.from(ge,(R=>this.toASN(R)));const Ae=R.repeated==="sequence"?he.Sequence:he.Set;ye=new Ae({value:pe})}else{ye=this.toASN(ge)}}return ye}}pe.AsnSerializer=AsnSerializer},54652:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.schemaStorage=void 0;const he=Ae(93021);pe.schemaStorage=new he.AsnSchemaStorage},63897:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.BitString=void 0;const he=Ae(3702);const ge=Ae(22420);class BitString{constructor(R,pe=0){this.unusedBits=0;this.value=new ArrayBuffer(0);if(R){if(typeof R==="number"){this.fromNumber(R)}else if(ge.BufferSourceConverter.isBufferSource(R)){this.unusedBits=pe;this.value=ge.BufferSourceConverter.toArrayBuffer(R)}else{throw TypeError("Unsupported type of 'params' argument for BitString")}}}fromASN(R){if(!(R instanceof he.BitString)){throw new TypeError("Argument 'asn' is not instance of ASN.1 BitString")}this.unusedBits=R.valueBlock.unusedBits;this.value=R.valueBlock.valueHex;return this}toASN(){return new he.BitString({unusedBits:this.unusedBits,valueHex:this.value})}toSchema(R){return new he.BitString({name:R})}toNumber(){let R="";const pe=new Uint8Array(this.value);for(const Ae of pe){R+=Ae.toString(2).padStart(8,"0")}R=R.split("").reverse().join("");if(this.unusedBits){R=R.slice(this.unusedBits).padStart(this.unusedBits,"0")}return parseInt(R,2)}fromNumber(R){let pe=R.toString(2);const Ae=pe.length+7>>3;this.unusedBits=(Ae<<3)-pe.length;const he=new Uint8Array(Ae);pe=pe.padStart(Ae<<3,"0").split("").reverse().join("");let ge=0;while(ge{"use strict";Object.defineProperty(pe,"__esModule",{value:true});const he=Ae(4351);he.__exportStar(Ae(63897),pe);he.__exportStar(Ae(72060),pe)},72060:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.OctetString=void 0;const he=Ae(3702);const ge=Ae(22420);class OctetString{get byteLength(){return this.buffer.byteLength}get byteOffset(){return 0}constructor(R){if(typeof R==="number"){this.buffer=new ArrayBuffer(R)}else{if(ge.BufferSourceConverter.isBufferSource(R)){this.buffer=ge.BufferSourceConverter.toArrayBuffer(R)}else if(Array.isArray(R)){this.buffer=new Uint8Array(R)}else{this.buffer=new ArrayBuffer(0)}}}fromASN(R){if(!(R instanceof he.OctetString)){throw new TypeError("Argument 'asn' is not instance of ASN.1 OctetString")}this.buffer=R.valueBlock.valueHex;return this}toASN(){return new he.OctetString({valueHex:this.buffer})}toSchema(R){return new he.OctetString({name:R})}}pe.OctetString=OctetString},33407:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.ACClearAttrs=void 0;const he=Ae(4351);const ge=Ae(53499);const me=Ae(82288);class ACClearAttrs{constructor(R={}){this.acIssuer=new me.GeneralName;this.acSerial=0;this.attrs=[];Object.assign(this,R)}}pe.ACClearAttrs=ACClearAttrs;he.__decorate([(0,ge.AsnProp)({type:me.GeneralName})],ACClearAttrs.prototype,"acIssuer",void 0);he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.Integer})],ACClearAttrs.prototype,"acSerial",void 0);he.__decorate([(0,ge.AsnProp)({type:me.Attribute,repeated:"sequence"})],ACClearAttrs.prototype,"attrs",void 0)},7881:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.AAControls=void 0;const he=Ae(4351);const ge=Ae(53499);const me=Ae(38160);class AAControls{constructor(R={}){this.permitUnSpecified=true;Object.assign(this,R)}}pe.AAControls=AAControls;he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.Integer,optional:true})],AAControls.prototype,"pathLenConstraint",void 0);he.__decorate([(0,ge.AsnProp)({type:me.AttrSpec,implicit:true,context:0,optional:true})],AAControls.prototype,"permittedAttrs",void 0);he.__decorate([(0,ge.AsnProp)({type:me.AttrSpec,implicit:true,context:1,optional:true})],AAControls.prototype,"excludedAttrs",void 0);he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.Boolean,defaultValue:true})],AAControls.prototype,"permitUnSpecified",void 0)},30480:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.AttCertIssuer=void 0;const he=Ae(4351);const ge=Ae(53499);const me=Ae(82288);const ye=Ae(5787);let ve=class AttCertIssuer{constructor(R={}){Object.assign(this,R)}};pe.AttCertIssuer=ve;he.__decorate([(0,ge.AsnProp)({type:me.GeneralName,repeated:"sequence"})],ve.prototype,"v1Form",void 0);he.__decorate([(0,ge.AsnProp)({type:ye.V2Form,context:0,implicit:true})],ve.prototype,"v2Form",void 0);pe.AttCertIssuer=ve=he.__decorate([(0,ge.AsnType)({type:ge.AsnTypeTypes.Choice})],ve)},45356:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.AttCertValidityPeriod=void 0;const he=Ae(4351);const ge=Ae(53499);class AttCertValidityPeriod{constructor(R={}){this.notBeforeTime=new Date;this.notAfterTime=new Date;Object.assign(this,R)}}pe.AttCertValidityPeriod=AttCertValidityPeriod;he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.GeneralizedTime})],AttCertValidityPeriod.prototype,"notBeforeTime",void 0);he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.GeneralizedTime})],AttCertValidityPeriod.prototype,"notAfterTime",void 0)},38160:(R,pe,Ae)=>{"use strict";var he;Object.defineProperty(pe,"__esModule",{value:true});pe.AttrSpec=void 0;const ge=Ae(4351);const me=Ae(53499);let ye=he=class AttrSpec extends me.AsnArray{constructor(R){super(R);Object.setPrototypeOf(this,he.prototype)}};pe.AttrSpec=ye;pe.AttrSpec=ye=he=ge.__decorate([(0,me.AsnType)({type:me.AsnTypeTypes.Sequence,itemType:me.AsnPropTypes.ObjectIdentifier})],ye)},67943:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.AttributeCertificate=void 0;const he=Ae(4351);const ge=Ae(53499);const me=Ae(82288);const ye=Ae(85881);class AttributeCertificate{constructor(R={}){this.acinfo=new ye.AttributeCertificateInfo;this.signatureAlgorithm=new me.AlgorithmIdentifier;this.signatureValue=new ArrayBuffer(0);Object.assign(this,R)}}pe.AttributeCertificate=AttributeCertificate;he.__decorate([(0,ge.AsnProp)({type:ye.AttributeCertificateInfo})],AttributeCertificate.prototype,"acinfo",void 0);he.__decorate([(0,ge.AsnProp)({type:me.AlgorithmIdentifier})],AttributeCertificate.prototype,"signatureAlgorithm",void 0);he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.BitString})],AttributeCertificate.prototype,"signatureValue",void 0)},85881:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.AttributeCertificateInfo=pe.AttCertVersion=void 0;const he=Ae(4351);const ge=Ae(53499);const me=Ae(82288);const ye=Ae(97195);const ve=Ae(30480);const be=Ae(45356);var Ee;(function(R){R[R["v2"]=1]="v2"})(Ee||(pe.AttCertVersion=Ee={}));class AttributeCertificateInfo{constructor(R={}){this.version=Ee.v2;this.holder=new ye.Holder;this.issuer=new ve.AttCertIssuer;this.signature=new me.AlgorithmIdentifier;this.serialNumber=new ArrayBuffer(0);this.attrCertValidityPeriod=new be.AttCertValidityPeriod;this.attributes=[];Object.assign(this,R)}}pe.AttributeCertificateInfo=AttributeCertificateInfo;he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.Integer})],AttributeCertificateInfo.prototype,"version",void 0);he.__decorate([(0,ge.AsnProp)({type:ye.Holder})],AttributeCertificateInfo.prototype,"holder",void 0);he.__decorate([(0,ge.AsnProp)({type:ve.AttCertIssuer})],AttributeCertificateInfo.prototype,"issuer",void 0);he.__decorate([(0,ge.AsnProp)({type:me.AlgorithmIdentifier})],AttributeCertificateInfo.prototype,"signature",void 0);he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.Integer,converter:ge.AsnIntegerArrayBufferConverter})],AttributeCertificateInfo.prototype,"serialNumber",void 0);he.__decorate([(0,ge.AsnProp)({type:be.AttCertValidityPeriod})],AttributeCertificateInfo.prototype,"attrCertValidityPeriod",void 0);he.__decorate([(0,ge.AsnProp)({type:me.Attribute,repeated:"sequence"})],AttributeCertificateInfo.prototype,"attributes",void 0);he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.BitString,optional:true})],AttributeCertificateInfo.prototype,"issuerUniqueID",void 0);he.__decorate([(0,ge.AsnProp)({type:me.Extensions,optional:true})],AttributeCertificateInfo.prototype,"extensions",void 0)},2519:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.ClassList=pe.ClassListFlags=void 0;const he=Ae(53499);var ge;(function(R){R[R["unmarked"]=1]="unmarked";R[R["unclassified"]=2]="unclassified";R[R["restricted"]=4]="restricted";R[R["confidential"]=8]="confidential";R[R["secret"]=16]="secret";R[R["topSecret"]=32]="topSecret"})(ge||(pe.ClassListFlags=ge={}));class ClassList extends he.BitString{}pe.ClassList=ClassList},31246:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.Clearance=void 0;const he=Ae(4351);const ge=Ae(53499);const me=Ae(2519);const ye=Ae(46789);class Clearance{constructor(R={}){this.policyId="";this.classList=new me.ClassList(me.ClassListFlags.unclassified);Object.assign(this,R)}}pe.Clearance=Clearance;he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.ObjectIdentifier})],Clearance.prototype,"policyId",void 0);he.__decorate([(0,ge.AsnProp)({type:me.ClassList,defaultValue:new me.ClassList(me.ClassListFlags.unclassified)})],Clearance.prototype,"classList",void 0);he.__decorate([(0,ge.AsnProp)({type:ye.SecurityCategory,repeated:"set"})],Clearance.prototype,"securityCategories",void 0)},97195:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.Holder=void 0;const he=Ae(4351);const ge=Ae(53499);const me=Ae(10462);const ye=Ae(82288);const ve=Ae(51952);class Holder{constructor(R={}){Object.assign(this,R)}}pe.Holder=Holder;he.__decorate([(0,ge.AsnProp)({type:me.IssuerSerial,implicit:true,context:0,optional:true})],Holder.prototype,"baseCertificateID",void 0);he.__decorate([(0,ge.AsnProp)({type:ye.GeneralNames,implicit:true,context:1,optional:true})],Holder.prototype,"entityName",void 0);he.__decorate([(0,ge.AsnProp)({type:ve.ObjectDigestInfo,implicit:true,context:2,optional:true})],Holder.prototype,"objectDigestInfo",void 0)},82639:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.IetfAttrSyntax=pe.IetfAttrSyntaxValueChoices=void 0;const he=Ae(4351);const ge=Ae(53499);const me=Ae(82288);class IetfAttrSyntaxValueChoices{constructor(R={}){Object.assign(this,R)}}pe.IetfAttrSyntaxValueChoices=IetfAttrSyntaxValueChoices;he.__decorate([(0,ge.AsnProp)({type:ge.OctetString})],IetfAttrSyntaxValueChoices.prototype,"cotets",void 0);he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.ObjectIdentifier})],IetfAttrSyntaxValueChoices.prototype,"oid",void 0);he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.Utf8String})],IetfAttrSyntaxValueChoices.prototype,"string",void 0);class IetfAttrSyntax{constructor(R={}){this.values=[];Object.assign(this,R)}}pe.IetfAttrSyntax=IetfAttrSyntax;he.__decorate([(0,ge.AsnProp)({type:me.GeneralNames,implicit:true,context:0,optional:true})],IetfAttrSyntax.prototype,"policyAuthority",void 0);he.__decorate([(0,ge.AsnProp)({type:IetfAttrSyntaxValueChoices,repeated:"sequence"})],IetfAttrSyntax.prototype,"values",void 0)},64263:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});const he=Ae(4351);he.__exportStar(Ae(33407),pe);he.__exportStar(Ae(7881),pe);he.__exportStar(Ae(30480),pe);he.__exportStar(Ae(45356),pe);he.__exportStar(Ae(38160),pe);he.__exportStar(Ae(67943),pe);he.__exportStar(Ae(85881),pe);he.__exportStar(Ae(2519),pe);he.__exportStar(Ae(31246),pe);he.__exportStar(Ae(97195),pe);he.__exportStar(Ae(82639),pe);he.__exportStar(Ae(10462),pe);he.__exportStar(Ae(51952),pe);he.__exportStar(Ae(59851),pe);he.__exportStar(Ae(13945),pe);he.__exportStar(Ae(89422),pe);he.__exportStar(Ae(46789),pe);he.__exportStar(Ae(80072),pe);he.__exportStar(Ae(27260),pe);he.__exportStar(Ae(5787),pe)},10462:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.IssuerSerial=void 0;const he=Ae(4351);const ge=Ae(53499);const me=Ae(82288);class IssuerSerial{constructor(R={}){this.issuer=new me.GeneralNames;this.serial=new ArrayBuffer(0);this.issuerUID=new ArrayBuffer(0);Object.assign(this,R)}}pe.IssuerSerial=IssuerSerial;he.__decorate([(0,ge.AsnProp)({type:me.GeneralNames})],IssuerSerial.prototype,"issuer",void 0);he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.Integer,converter:ge.AsnIntegerArrayBufferConverter})],IssuerSerial.prototype,"serial",void 0);he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.BitString,optional:true})],IssuerSerial.prototype,"issuerUID",void 0)},51952:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.ObjectDigestInfo=pe.DigestedObjectType=void 0;const he=Ae(4351);const ge=Ae(53499);const me=Ae(82288);var ye;(function(R){R[R["publicKey"]=0]="publicKey";R[R["publicKeyCert"]=1]="publicKeyCert";R[R["otherObjectTypes"]=2]="otherObjectTypes"})(ye||(pe.DigestedObjectType=ye={}));class ObjectDigestInfo{constructor(R={}){this.digestedObjectType=ye.publicKey;this.digestAlgorithm=new me.AlgorithmIdentifier;this.objectDigest=new ArrayBuffer(0);Object.assign(this,R)}}pe.ObjectDigestInfo=ObjectDigestInfo;he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.Enumerated})],ObjectDigestInfo.prototype,"digestedObjectType",void 0);he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.ObjectIdentifier,optional:true})],ObjectDigestInfo.prototype,"otherObjectTypeID",void 0);he.__decorate([(0,ge.AsnProp)({type:me.AlgorithmIdentifier})],ObjectDigestInfo.prototype,"digestAlgorithm",void 0);he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.BitString})],ObjectDigestInfo.prototype,"objectDigest",void 0)},59851:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.id_at_clearance=pe.id_at_role=pe.id_at=pe.id_aca_encAttrs=pe.id_aca_group=pe.id_aca_chargingIdentity=pe.id_aca_accessIdentity=pe.id_aca_authenticationInfo=pe.id_aca=pe.id_ce_targetInformation=pe.id_pe_ac_proxying=pe.id_pe_aaControls=pe.id_pe_ac_auditIdentity=void 0;const he=Ae(82288);pe.id_pe_ac_auditIdentity=`${he.id_pe}.4`;pe.id_pe_aaControls=`${he.id_pe}.6`;pe.id_pe_ac_proxying=`${he.id_pe}.10`;pe.id_ce_targetInformation=`${he.id_ce}.55`;pe.id_aca=`${he.id_pkix}.10`;pe.id_aca_authenticationInfo=`${pe.id_aca}.1`;pe.id_aca_accessIdentity=`${pe.id_aca}.2`;pe.id_aca_chargingIdentity=`${pe.id_aca}.3`;pe.id_aca_group=`${pe.id_aca}.4`;pe.id_aca_encAttrs=`${pe.id_aca}.6`;pe.id_at="2.5.4";pe.id_at_role=`${pe.id_at}.72`;pe.id_at_clearance="2.5.1.5.55"},13945:(R,pe,Ae)=>{"use strict";var he;Object.defineProperty(pe,"__esModule",{value:true});pe.ProxyInfo=void 0;const ge=Ae(4351);const me=Ae(53499);const ye=Ae(27260);let ve=he=class ProxyInfo extends me.AsnArray{constructor(R){super(R);Object.setPrototypeOf(this,he.prototype)}};pe.ProxyInfo=ve;pe.ProxyInfo=ve=he=ge.__decorate([(0,me.AsnType)({type:me.AsnTypeTypes.Sequence,itemType:ye.Targets})],ve)},89422:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.RoleSyntax=void 0;const he=Ae(4351);const ge=Ae(53499);const me=Ae(82288);class RoleSyntax{constructor(R={}){Object.assign(this,R)}}pe.RoleSyntax=RoleSyntax;he.__decorate([(0,ge.AsnProp)({type:me.GeneralNames,implicit:true,context:0,optional:true})],RoleSyntax.prototype,"roleAuthority",void 0);he.__decorate([(0,ge.AsnProp)({type:me.GeneralName,implicit:true,context:1})],RoleSyntax.prototype,"roleName",void 0)},46789:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.SecurityCategory=void 0;const he=Ae(4351);const ge=Ae(53499);class SecurityCategory{constructor(R={}){this.type="";this.value=new ArrayBuffer(0);Object.assign(this,R)}}pe.SecurityCategory=SecurityCategory;he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.ObjectIdentifier,implicit:true,context:0})],SecurityCategory.prototype,"type",void 0);he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.Any,implicit:true,context:1})],SecurityCategory.prototype,"value",void 0)},80072:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.SvceAuthInfo=void 0;const he=Ae(4351);const ge=Ae(53499);const me=Ae(82288);class SvceAuthInfo{constructor(R={}){this.service=new me.GeneralName;this.ident=new me.GeneralName;Object.assign(this,R)}}pe.SvceAuthInfo=SvceAuthInfo;he.__decorate([(0,ge.AsnProp)({type:me.GeneralName})],SvceAuthInfo.prototype,"service",void 0);he.__decorate([(0,ge.AsnProp)({type:me.GeneralName})],SvceAuthInfo.prototype,"ident",void 0);he.__decorate([(0,ge.AsnProp)({type:ge.OctetString,optional:true})],SvceAuthInfo.prototype,"authInfo",void 0)},27260:(R,pe,Ae)=>{"use strict";var he;Object.defineProperty(pe,"__esModule",{value:true});pe.Targets=pe.Target=pe.TargetCert=void 0;const ge=Ae(4351);const me=Ae(53499);const ye=Ae(82288);const ve=Ae(10462);const be=Ae(51952);class TargetCert{constructor(R={}){this.targetCertificate=new ve.IssuerSerial;Object.assign(this,R)}}pe.TargetCert=TargetCert;ge.__decorate([(0,me.AsnProp)({type:ve.IssuerSerial})],TargetCert.prototype,"targetCertificate",void 0);ge.__decorate([(0,me.AsnProp)({type:ye.GeneralName,optional:true})],TargetCert.prototype,"targetName",void 0);ge.__decorate([(0,me.AsnProp)({type:be.ObjectDigestInfo,optional:true})],TargetCert.prototype,"certDigestInfo",void 0);let Ee=class Target{constructor(R={}){Object.assign(this,R)}};pe.Target=Ee;ge.__decorate([(0,me.AsnProp)({type:ye.GeneralName,context:0,implicit:true})],Ee.prototype,"targetName",void 0);ge.__decorate([(0,me.AsnProp)({type:ye.GeneralName,context:1,implicit:true})],Ee.prototype,"targetGroup",void 0);ge.__decorate([(0,me.AsnProp)({type:TargetCert,context:2,implicit:true})],Ee.prototype,"targetCert",void 0);pe.Target=Ee=ge.__decorate([(0,me.AsnType)({type:me.AsnTypeTypes.Choice})],Ee);let Ce=he=class Targets extends me.AsnArray{constructor(R){super(R);Object.setPrototypeOf(this,he.prototype)}};pe.Targets=Ce;pe.Targets=Ce=he=ge.__decorate([(0,me.AsnType)({type:me.AsnTypeTypes.Sequence,itemType:Ee})],Ce)},5787:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.V2Form=void 0;const he=Ae(4351);const ge=Ae(53499);const me=Ae(82288);const ye=Ae(10462);const ve=Ae(51952);class V2Form{constructor(R={}){Object.assign(this,R)}}pe.V2Form=V2Form;he.__decorate([(0,ge.AsnProp)({type:me.GeneralNames,optional:true})],V2Form.prototype,"issuerName",void 0);he.__decorate([(0,ge.AsnProp)({type:ye.IssuerSerial,context:0,implicit:true,optional:true})],V2Form.prototype,"baseCertificateID",void 0);he.__decorate([(0,ge.AsnProp)({type:ve.ObjectDigestInfo,context:1,implicit:true,optional:true})],V2Form.prototype,"objectDigestInfo",void 0)},38266:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.AlgorithmIdentifier=void 0;const he=Ae(4351);const ge=Ae(53499);const me=Ae(22420);class AlgorithmIdentifier{constructor(R={}){this.algorithm="";Object.assign(this,R)}isEqual(R){return R instanceof AlgorithmIdentifier&&R.algorithm==this.algorithm&&(R.parameters&&this.parameters&&me.isEqual(R.parameters,this.parameters)||R.parameters===this.parameters)}}pe.AlgorithmIdentifier=AlgorithmIdentifier;he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.ObjectIdentifier})],AlgorithmIdentifier.prototype,"algorithm",void 0);he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.Any,optional:true})],AlgorithmIdentifier.prototype,"parameters",void 0)},2171:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.Attribute=void 0;const he=Ae(4351);const ge=Ae(53499);class Attribute{constructor(R={}){this.type="";this.values=[];Object.assign(this,R)}}pe.Attribute=Attribute;he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.ObjectIdentifier})],Attribute.prototype,"type",void 0);he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.Any,repeated:"set"})],Attribute.prototype,"values",void 0)},25974:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.Certificate=void 0;const he=Ae(4351);const ge=Ae(53499);const me=Ae(38266);const ye=Ae(49117);class Certificate{constructor(R={}){this.tbsCertificate=new ye.TBSCertificate;this.signatureAlgorithm=new me.AlgorithmIdentifier;this.signatureValue=new ArrayBuffer(0);Object.assign(this,R)}}pe.Certificate=Certificate;he.__decorate([(0,ge.AsnProp)({type:ye.TBSCertificate})],Certificate.prototype,"tbsCertificate",void 0);he.__decorate([(0,ge.AsnProp)({type:me.AlgorithmIdentifier})],Certificate.prototype,"signatureAlgorithm",void 0);he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.BitString})],Certificate.prototype,"signatureValue",void 0)},13554:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.CertificateList=void 0;const he=Ae(4351);const ge=Ae(53499);const me=Ae(38266);const ye=Ae(13113);class CertificateList{constructor(R={}){this.tbsCertList=new ye.TBSCertList;this.signatureAlgorithm=new me.AlgorithmIdentifier;this.signature=new ArrayBuffer(0);Object.assign(this,R)}}pe.CertificateList=CertificateList;he.__decorate([(0,ge.AsnProp)({type:ye.TBSCertList})],CertificateList.prototype,"tbsCertList",void 0);he.__decorate([(0,ge.AsnProp)({type:me.AlgorithmIdentifier})],CertificateList.prototype,"signatureAlgorithm",void 0);he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.BitString})],CertificateList.prototype,"signature",void 0)},77908:(R,pe,Ae)=>{"use strict";var he;Object.defineProperty(pe,"__esModule",{value:true});pe.Extensions=pe.Extension=void 0;const ge=Ae(4351);const me=Ae(53499);class Extension{constructor(R={}){this.extnID="";this.critical=Extension.CRITICAL;this.extnValue=new me.OctetString;Object.assign(this,R)}}pe.Extension=Extension;Extension.CRITICAL=false;ge.__decorate([(0,me.AsnProp)({type:me.AsnPropTypes.ObjectIdentifier})],Extension.prototype,"extnID",void 0);ge.__decorate([(0,me.AsnProp)({type:me.AsnPropTypes.Boolean,defaultValue:Extension.CRITICAL})],Extension.prototype,"critical",void 0);ge.__decorate([(0,me.AsnProp)({type:me.OctetString})],Extension.prototype,"extnValue",void 0);let ye=he=class Extensions extends me.AsnArray{constructor(R){super(R);Object.setPrototypeOf(this,he.prototype)}};pe.Extensions=ye;pe.Extensions=ye=he=ge.__decorate([(0,me.AsnType)({type:me.AsnTypeTypes.Sequence,itemType:Extension})],ye)},677:(R,pe,Ae)=>{"use strict";var he;Object.defineProperty(pe,"__esModule",{value:true});pe.AuthorityInfoAccessSyntax=pe.AccessDescription=pe.id_pe_authorityInfoAccess=void 0;const ge=Ae(4351);const me=Ae(53499);const ye=Ae(83670);const ve=Ae(70725);pe.id_pe_authorityInfoAccess=`${ve.id_pe}.1`;class AccessDescription{constructor(R={}){this.accessMethod="";this.accessLocation=new ye.GeneralName;Object.assign(this,R)}}pe.AccessDescription=AccessDescription;ge.__decorate([(0,me.AsnProp)({type:me.AsnPropTypes.ObjectIdentifier})],AccessDescription.prototype,"accessMethod",void 0);ge.__decorate([(0,me.AsnProp)({type:ye.GeneralName})],AccessDescription.prototype,"accessLocation",void 0);let be=he=class AuthorityInfoAccessSyntax extends me.AsnArray{constructor(R){super(R);Object.setPrototypeOf(this,he.prototype)}};pe.AuthorityInfoAccessSyntax=be;pe.AuthorityInfoAccessSyntax=be=he=ge.__decorate([(0,me.AsnType)({type:me.AsnTypeTypes.Sequence,itemType:AccessDescription})],be)},11583:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.AuthorityKeyIdentifier=pe.KeyIdentifier=pe.id_ce_authorityKeyIdentifier=void 0;const he=Ae(4351);const ge=Ae(53499);const me=Ae(83670);const ye=Ae(70725);pe.id_ce_authorityKeyIdentifier=`${ye.id_ce}.35`;class KeyIdentifier extends ge.OctetString{}pe.KeyIdentifier=KeyIdentifier;class AuthorityKeyIdentifier{constructor(R={}){if(R){Object.assign(this,R)}}}pe.AuthorityKeyIdentifier=AuthorityKeyIdentifier;he.__decorate([(0,ge.AsnProp)({type:KeyIdentifier,context:0,optional:true,implicit:true})],AuthorityKeyIdentifier.prototype,"keyIdentifier",void 0);he.__decorate([(0,ge.AsnProp)({type:me.GeneralName,context:1,optional:true,implicit:true,repeated:"sequence"})],AuthorityKeyIdentifier.prototype,"authorityCertIssuer",void 0);he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.Integer,context:2,optional:true,implicit:true,converter:ge.AsnIntegerArrayBufferConverter})],AuthorityKeyIdentifier.prototype,"authorityCertSerialNumber",void 0)},20621:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.BasicConstraints=pe.id_ce_basicConstraints=void 0;const he=Ae(4351);const ge=Ae(53499);const me=Ae(70725);pe.id_ce_basicConstraints=`${me.id_ce}.19`;class BasicConstraints{constructor(R={}){this.cA=false;Object.assign(this,R)}}pe.BasicConstraints=BasicConstraints;he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.Boolean,defaultValue:false})],BasicConstraints.prototype,"cA",void 0);he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.Integer,optional:true})],BasicConstraints.prototype,"pathLenConstraint",void 0)},93151:(R,pe,Ae)=>{"use strict";var he;Object.defineProperty(pe,"__esModule",{value:true});pe.CertificateIssuer=pe.id_ce_certificateIssuer=void 0;const ge=Ae(4351);const me=Ae(53499);const ye=Ae(13201);const ve=Ae(70725);pe.id_ce_certificateIssuer=`${ve.id_ce}.29`;let be=he=class CertificateIssuer extends ye.GeneralNames{constructor(R){super(R);Object.setPrototypeOf(this,he.prototype)}};pe.CertificateIssuer=be;pe.CertificateIssuer=be=he=ge.__decorate([(0,me.AsnType)({type:me.AsnTypeTypes.Sequence})],be)},44157:(R,pe,Ae)=>{"use strict";var he;Object.defineProperty(pe,"__esModule",{value:true});pe.CertificatePolicies=pe.PolicyInformation=pe.PolicyQualifierInfo=pe.Qualifier=pe.UserNotice=pe.NoticeReference=pe.DisplayText=pe.id_ce_certificatePolicies_anyPolicy=pe.id_ce_certificatePolicies=void 0;const ge=Ae(4351);const me=Ae(53499);const ye=Ae(70725);pe.id_ce_certificatePolicies=`${ye.id_ce}.32`;pe.id_ce_certificatePolicies_anyPolicy=`${pe.id_ce_certificatePolicies}.0`;let ve=class DisplayText{constructor(R={}){Object.assign(this,R)}toString(){return this.ia5String||this.visibleString||this.bmpString||this.utf8String||""}};pe.DisplayText=ve;ge.__decorate([(0,me.AsnProp)({type:me.AsnPropTypes.IA5String})],ve.prototype,"ia5String",void 0);ge.__decorate([(0,me.AsnProp)({type:me.AsnPropTypes.VisibleString})],ve.prototype,"visibleString",void 0);ge.__decorate([(0,me.AsnProp)({type:me.AsnPropTypes.BmpString})],ve.prototype,"bmpString",void 0);ge.__decorate([(0,me.AsnProp)({type:me.AsnPropTypes.Utf8String})],ve.prototype,"utf8String",void 0);pe.DisplayText=ve=ge.__decorate([(0,me.AsnType)({type:me.AsnTypeTypes.Choice})],ve);class NoticeReference{constructor(R={}){this.organization=new ve;this.noticeNumbers=[];Object.assign(this,R)}}pe.NoticeReference=NoticeReference;ge.__decorate([(0,me.AsnProp)({type:ve})],NoticeReference.prototype,"organization",void 0);ge.__decorate([(0,me.AsnProp)({type:me.AsnPropTypes.Integer,repeated:"sequence"})],NoticeReference.prototype,"noticeNumbers",void 0);class UserNotice{constructor(R={}){Object.assign(this,R)}}pe.UserNotice=UserNotice;ge.__decorate([(0,me.AsnProp)({type:NoticeReference,optional:true})],UserNotice.prototype,"noticeRef",void 0);ge.__decorate([(0,me.AsnProp)({type:ve,optional:true})],UserNotice.prototype,"explicitText",void 0);let be=class Qualifier{constructor(R={}){Object.assign(this,R)}};pe.Qualifier=be;ge.__decorate([(0,me.AsnProp)({type:me.AsnPropTypes.IA5String})],be.prototype,"cPSuri",void 0);ge.__decorate([(0,me.AsnProp)({type:UserNotice})],be.prototype,"userNotice",void 0);pe.Qualifier=be=ge.__decorate([(0,me.AsnType)({type:me.AsnTypeTypes.Choice})],be);class PolicyQualifierInfo{constructor(R={}){this.policyQualifierId="";this.qualifier=new ArrayBuffer(0);Object.assign(this,R)}}pe.PolicyQualifierInfo=PolicyQualifierInfo;ge.__decorate([(0,me.AsnProp)({type:me.AsnPropTypes.ObjectIdentifier})],PolicyQualifierInfo.prototype,"policyQualifierId",void 0);ge.__decorate([(0,me.AsnProp)({type:me.AsnPropTypes.Any})],PolicyQualifierInfo.prototype,"qualifier",void 0);class PolicyInformation{constructor(R={}){this.policyIdentifier="";Object.assign(this,R)}}pe.PolicyInformation=PolicyInformation;ge.__decorate([(0,me.AsnProp)({type:me.AsnPropTypes.ObjectIdentifier})],PolicyInformation.prototype,"policyIdentifier",void 0);ge.__decorate([(0,me.AsnProp)({type:PolicyQualifierInfo,repeated:"sequence",optional:true})],PolicyInformation.prototype,"policyQualifiers",void 0);let Ee=he=class CertificatePolicies extends me.AsnArray{constructor(R){super(R);Object.setPrototypeOf(this,he.prototype)}};pe.CertificatePolicies=Ee;pe.CertificatePolicies=Ee=he=ge.__decorate([(0,me.AsnType)({type:me.AsnTypeTypes.Sequence,itemType:PolicyInformation})],Ee)},71335:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.BaseCRLNumber=pe.id_ce_deltaCRLIndicator=void 0;const he=Ae(4351);const ge=Ae(53499);const me=Ae(70725);const ye=Ae(88777);pe.id_ce_deltaCRLIndicator=`${me.id_ce}.27`;let ve=class BaseCRLNumber extends ye.CRLNumber{};pe.BaseCRLNumber=ve;pe.BaseCRLNumber=ve=he.__decorate([(0,ge.AsnType)({type:ge.AsnTypeTypes.Choice})],ve)},50499:(R,pe,Ae)=>{"use strict";var he;Object.defineProperty(pe,"__esModule",{value:true});pe.CRLDistributionPoints=pe.DistributionPoint=pe.DistributionPointName=pe.Reason=pe.ReasonFlags=pe.id_ce_cRLDistributionPoints=void 0;const ge=Ae(4351);const me=Ae(53499);const ye=Ae(17429);const ve=Ae(83670);const be=Ae(70725);pe.id_ce_cRLDistributionPoints=`${be.id_ce}.31`;var Ee;(function(R){R[R["unused"]=1]="unused";R[R["keyCompromise"]=2]="keyCompromise";R[R["cACompromise"]=4]="cACompromise";R[R["affiliationChanged"]=8]="affiliationChanged";R[R["superseded"]=16]="superseded";R[R["cessationOfOperation"]=32]="cessationOfOperation";R[R["certificateHold"]=64]="certificateHold";R[R["privilegeWithdrawn"]=128]="privilegeWithdrawn";R[R["aACompromise"]=256]="aACompromise"})(Ee||(pe.ReasonFlags=Ee={}));class Reason extends me.BitString{toJSON(){const R=[];const pe=this.toNumber();if(pe&Ee.aACompromise){R.push("aACompromise")}if(pe&Ee.affiliationChanged){R.push("affiliationChanged")}if(pe&Ee.cACompromise){R.push("cACompromise")}if(pe&Ee.certificateHold){R.push("certificateHold")}if(pe&Ee.cessationOfOperation){R.push("cessationOfOperation")}if(pe&Ee.keyCompromise){R.push("keyCompromise")}if(pe&Ee.privilegeWithdrawn){R.push("privilegeWithdrawn")}if(pe&Ee.superseded){R.push("superseded")}if(pe&Ee.unused){R.push("unused")}return R}toString(){return`[${this.toJSON().join(", ")}]`}}pe.Reason=Reason;let Ce=class DistributionPointName{constructor(R={}){Object.assign(this,R)}};pe.DistributionPointName=Ce;ge.__decorate([(0,me.AsnProp)({type:ve.GeneralName,context:0,repeated:"sequence",implicit:true})],Ce.prototype,"fullName",void 0);ge.__decorate([(0,me.AsnProp)({type:ye.RelativeDistinguishedName,context:1,implicit:true})],Ce.prototype,"nameRelativeToCRLIssuer",void 0);pe.DistributionPointName=Ce=ge.__decorate([(0,me.AsnType)({type:me.AsnTypeTypes.Choice})],Ce);class DistributionPoint{constructor(R={}){Object.assign(this,R)}}pe.DistributionPoint=DistributionPoint;ge.__decorate([(0,me.AsnProp)({type:Ce,context:0,optional:true})],DistributionPoint.prototype,"distributionPoint",void 0);ge.__decorate([(0,me.AsnProp)({type:Reason,context:1,optional:true,implicit:true})],DistributionPoint.prototype,"reasons",void 0);ge.__decorate([(0,me.AsnProp)({type:ve.GeneralName,context:2,optional:true,repeated:"sequence",implicit:true})],DistributionPoint.prototype,"cRLIssuer",void 0);let we=he=class CRLDistributionPoints extends me.AsnArray{constructor(R){super(R);Object.setPrototypeOf(this,he.prototype)}};pe.CRLDistributionPoints=we;pe.CRLDistributionPoints=we=he=ge.__decorate([(0,me.AsnType)({type:me.AsnTypeTypes.Sequence,itemType:DistributionPoint})],we)},8e4:(R,pe,Ae)=>{"use strict";var he;Object.defineProperty(pe,"__esModule",{value:true});pe.FreshestCRL=pe.id_ce_freshestCRL=void 0;const ge=Ae(4351);const me=Ae(53499);const ye=Ae(70725);const ve=Ae(50499);pe.id_ce_freshestCRL=`${ye.id_ce}.46`;let be=he=class FreshestCRL extends ve.CRLDistributionPoints{constructor(R){super(R);Object.setPrototypeOf(this,he.prototype)}};pe.FreshestCRL=be;pe.FreshestCRL=be=he=ge.__decorate([(0,me.AsnType)({type:me.AsnTypeTypes.Sequence,itemType:ve.DistributionPoint})],be)},43305:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.IssuingDistributionPoint=pe.id_ce_issuingDistributionPoint=void 0;const he=Ae(4351);const ge=Ae(53499);const me=Ae(50499);const ye=Ae(70725);const ve=Ae(53499);pe.id_ce_issuingDistributionPoint=`${ye.id_ce}.28`;class IssuingDistributionPoint{constructor(R={}){this.onlyContainsUserCerts=IssuingDistributionPoint.ONLY;this.onlyContainsCACerts=IssuingDistributionPoint.ONLY;this.indirectCRL=IssuingDistributionPoint.ONLY;this.onlyContainsAttributeCerts=IssuingDistributionPoint.ONLY;Object.assign(this,R)}}pe.IssuingDistributionPoint=IssuingDistributionPoint;IssuingDistributionPoint.ONLY=false;he.__decorate([(0,ge.AsnProp)({type:me.DistributionPointName,context:0,optional:true})],IssuingDistributionPoint.prototype,"distributionPoint",void 0);he.__decorate([(0,ge.AsnProp)({type:ve.AsnPropTypes.Boolean,context:1,defaultValue:IssuingDistributionPoint.ONLY,implicit:true})],IssuingDistributionPoint.prototype,"onlyContainsUserCerts",void 0);he.__decorate([(0,ge.AsnProp)({type:ve.AsnPropTypes.Boolean,context:2,defaultValue:IssuingDistributionPoint.ONLY,implicit:true})],IssuingDistributionPoint.prototype,"onlyContainsCACerts",void 0);he.__decorate([(0,ge.AsnProp)({type:me.Reason,context:3,optional:true,implicit:true})],IssuingDistributionPoint.prototype,"onlySomeReasons",void 0);he.__decorate([(0,ge.AsnProp)({type:ve.AsnPropTypes.Boolean,context:4,defaultValue:IssuingDistributionPoint.ONLY,implicit:true})],IssuingDistributionPoint.prototype,"indirectCRL",void 0);he.__decorate([(0,ge.AsnProp)({type:ve.AsnPropTypes.Boolean,context:5,defaultValue:IssuingDistributionPoint.ONLY,implicit:true})],IssuingDistributionPoint.prototype,"onlyContainsAttributeCerts",void 0)},88777:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.CRLNumber=pe.id_ce_cRLNumber=void 0;const he=Ae(4351);const ge=Ae(53499);const me=Ae(70725);pe.id_ce_cRLNumber=`${me.id_ce}.20`;let ye=class CRLNumber{constructor(R=0){this.value=R}};pe.CRLNumber=ye;he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.Integer})],ye.prototype,"value",void 0);pe.CRLNumber=ye=he.__decorate([(0,ge.AsnType)({type:ge.AsnTypeTypes.Choice})],ye)},28857:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.CRLReason=pe.CRLReasons=pe.id_ce_cRLReasons=void 0;const he=Ae(4351);const ge=Ae(53499);const me=Ae(70725);pe.id_ce_cRLReasons=`${me.id_ce}.21`;var ye;(function(R){R[R["unspecified"]=0]="unspecified";R[R["keyCompromise"]=1]="keyCompromise";R[R["cACompromise"]=2]="cACompromise";R[R["affiliationChanged"]=3]="affiliationChanged";R[R["superseded"]=4]="superseded";R[R["cessationOfOperation"]=5]="cessationOfOperation";R[R["certificateHold"]=6]="certificateHold";R[R["removeFromCRL"]=8]="removeFromCRL";R[R["privilegeWithdrawn"]=9]="privilegeWithdrawn";R[R["aACompromise"]=10]="aACompromise"})(ye||(pe.CRLReasons=ye={}));let ve=class CRLReason{constructor(R=ye.unspecified){this.reason=ye.unspecified;this.reason=R}toJSON(){return ye[this.reason]}toString(){return this.toJSON()}};pe.CRLReason=ve;he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.Enumerated})],ve.prototype,"reason",void 0);pe.CRLReason=ve=he.__decorate([(0,ge.AsnType)({type:ge.AsnTypeTypes.Choice})],ve)},52382:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.EntrustVersionInfo=pe.EntrustInfo=pe.EntrustInfoFlags=pe.id_entrust_entrustVersInfo=void 0;const he=Ae(4351);const ge=Ae(53499);pe.id_entrust_entrustVersInfo="1.2.840.113533.7.65.0";var me;(function(R){R[R["keyUpdateAllowed"]=1]="keyUpdateAllowed";R[R["newExtensions"]=2]="newExtensions";R[R["pKIXCertificate"]=4]="pKIXCertificate"})(me||(pe.EntrustInfoFlags=me={}));class EntrustInfo extends ge.BitString{toJSON(){const R=[];const pe=this.toNumber();if(pe&me.pKIXCertificate){R.push("pKIXCertificate")}if(pe&me.newExtensions){R.push("newExtensions")}if(pe&me.keyUpdateAllowed){R.push("keyUpdateAllowed")}return R}toString(){return`[${this.toJSON().join(", ")}]`}}pe.EntrustInfo=EntrustInfo;class EntrustVersionInfo{constructor(R={}){this.entrustVers="";this.entrustInfoFlags=new EntrustInfo;Object.assign(this,R)}}pe.EntrustVersionInfo=EntrustVersionInfo;he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.GeneralString})],EntrustVersionInfo.prototype,"entrustVers",void 0);he.__decorate([(0,ge.AsnProp)({type:EntrustInfo})],EntrustVersionInfo.prototype,"entrustInfoFlags",void 0)},97993:(R,pe,Ae)=>{"use strict";var he;Object.defineProperty(pe,"__esModule",{value:true});pe.id_kp_OCSPSigning=pe.id_kp_timeStamping=pe.id_kp_emailProtection=pe.id_kp_codeSigning=pe.id_kp_clientAuth=pe.id_kp_serverAuth=pe.anyExtendedKeyUsage=pe.ExtendedKeyUsage=pe.id_ce_extKeyUsage=void 0;const ge=Ae(4351);const me=Ae(53499);const ye=Ae(70725);pe.id_ce_extKeyUsage=`${ye.id_ce}.37`;let ve=he=class ExtendedKeyUsage extends me.AsnArray{constructor(R){super(R);Object.setPrototypeOf(this,he.prototype)}};pe.ExtendedKeyUsage=ve;pe.ExtendedKeyUsage=ve=he=ge.__decorate([(0,me.AsnType)({type:me.AsnTypeTypes.Sequence,itemType:me.AsnPropTypes.ObjectIdentifier})],ve);pe.anyExtendedKeyUsage=`${pe.id_ce_extKeyUsage}.0`;pe.id_kp_serverAuth=`${ye.id_kp}.1`;pe.id_kp_clientAuth=`${ye.id_kp}.2`;pe.id_kp_codeSigning=`${ye.id_kp}.3`;pe.id_kp_emailProtection=`${ye.id_kp}.4`;pe.id_kp_timeStamping=`${ye.id_kp}.8`;pe.id_kp_OCSPSigning=`${ye.id_kp}.9`},56457:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});const he=Ae(4351);he.__exportStar(Ae(677),pe);he.__exportStar(Ae(11583),pe);he.__exportStar(Ae(20621),pe);he.__exportStar(Ae(93151),pe);he.__exportStar(Ae(44157),pe);he.__exportStar(Ae(71335),pe);he.__exportStar(Ae(50499),pe);he.__exportStar(Ae(8e4),pe);he.__exportStar(Ae(43305),pe);he.__exportStar(Ae(88777),pe);he.__exportStar(Ae(28857),pe);he.__exportStar(Ae(97993),pe);he.__exportStar(Ae(81622),pe);he.__exportStar(Ae(74932),pe);he.__exportStar(Ae(76330),pe);he.__exportStar(Ae(1622),pe);he.__exportStar(Ae(7543),pe);he.__exportStar(Ae(35113),pe);he.__exportStar(Ae(3230),pe);he.__exportStar(Ae(88555),pe);he.__exportStar(Ae(62007),pe);he.__exportStar(Ae(53651),pe);he.__exportStar(Ae(65096),pe);he.__exportStar(Ae(52382),pe);he.__exportStar(Ae(57299),pe)},81622:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.InhibitAnyPolicy=pe.id_ce_inhibitAnyPolicy=void 0;const he=Ae(4351);const ge=Ae(53499);const me=Ae(70725);pe.id_ce_inhibitAnyPolicy=`${me.id_ce}.54`;let ye=class InhibitAnyPolicy{constructor(R=new ArrayBuffer(0)){this.value=R}};pe.InhibitAnyPolicy=ye;he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.Integer,converter:ge.AsnIntegerArrayBufferConverter})],ye.prototype,"value",void 0);pe.InhibitAnyPolicy=ye=he.__decorate([(0,ge.AsnType)({type:ge.AsnTypeTypes.Choice})],ye)},74932:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.InvalidityDate=pe.id_ce_invalidityDate=void 0;const he=Ae(4351);const ge=Ae(53499);const me=Ae(70725);pe.id_ce_invalidityDate=`${me.id_ce}.24`;let ye=class InvalidityDate{constructor(R){this.value=new Date;if(R){this.value=R}}};pe.InvalidityDate=ye;he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.GeneralizedTime})],ye.prototype,"value",void 0);pe.InvalidityDate=ye=he.__decorate([(0,ge.AsnType)({type:ge.AsnTypeTypes.Choice})],ye)},76330:(R,pe,Ae)=>{"use strict";var he;Object.defineProperty(pe,"__esModule",{value:true});pe.IssueAlternativeName=pe.id_ce_issuerAltName=void 0;const ge=Ae(4351);const me=Ae(53499);const ye=Ae(13201);const ve=Ae(70725);pe.id_ce_issuerAltName=`${ve.id_ce}.18`;let be=he=class IssueAlternativeName extends ye.GeneralNames{constructor(R){super(R);Object.setPrototypeOf(this,he.prototype)}};pe.IssueAlternativeName=be;pe.IssueAlternativeName=be=he=ge.__decorate([(0,me.AsnType)({type:me.AsnTypeTypes.Sequence})],be)},1622:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.KeyUsage=pe.KeyUsageFlags=pe.id_ce_keyUsage=void 0;const he=Ae(53499);const ge=Ae(70725);pe.id_ce_keyUsage=`${ge.id_ce}.15`;var me;(function(R){R[R["digitalSignature"]=1]="digitalSignature";R[R["nonRepudiation"]=2]="nonRepudiation";R[R["keyEncipherment"]=4]="keyEncipherment";R[R["dataEncipherment"]=8]="dataEncipherment";R[R["keyAgreement"]=16]="keyAgreement";R[R["keyCertSign"]=32]="keyCertSign";R[R["cRLSign"]=64]="cRLSign";R[R["encipherOnly"]=128]="encipherOnly";R[R["decipherOnly"]=256]="decipherOnly"})(me||(pe.KeyUsageFlags=me={}));class KeyUsage extends he.BitString{toJSON(){const R=this.toNumber();const pe=[];if(R&me.cRLSign){pe.push("crlSign")}if(R&me.dataEncipherment){pe.push("dataEncipherment")}if(R&me.decipherOnly){pe.push("decipherOnly")}if(R&me.digitalSignature){pe.push("digitalSignature")}if(R&me.encipherOnly){pe.push("encipherOnly")}if(R&me.keyAgreement){pe.push("keyAgreement")}if(R&me.keyCertSign){pe.push("keyCertSign")}if(R&me.keyEncipherment){pe.push("keyEncipherment")}if(R&me.nonRepudiation){pe.push("nonRepudiation")}return pe}toString(){return`[${this.toJSON().join(", ")}]`}}pe.KeyUsage=KeyUsage},7543:(R,pe,Ae)=>{"use strict";var he;Object.defineProperty(pe,"__esModule",{value:true});pe.NameConstraints=pe.GeneralSubtrees=pe.GeneralSubtree=pe.id_ce_nameConstraints=void 0;const ge=Ae(4351);const me=Ae(53499);const ye=Ae(83670);const ve=Ae(70725);pe.id_ce_nameConstraints=`${ve.id_ce}.30`;class GeneralSubtree{constructor(R={}){this.base=new ye.GeneralName;this.minimum=0;Object.assign(this,R)}}pe.GeneralSubtree=GeneralSubtree;ge.__decorate([(0,me.AsnProp)({type:ye.GeneralName})],GeneralSubtree.prototype,"base",void 0);ge.__decorate([(0,me.AsnProp)({type:me.AsnPropTypes.Integer,context:0,defaultValue:0,implicit:true})],GeneralSubtree.prototype,"minimum",void 0);ge.__decorate([(0,me.AsnProp)({type:me.AsnPropTypes.Integer,context:1,optional:true,implicit:true})],GeneralSubtree.prototype,"maximum",void 0);let be=he=class GeneralSubtrees extends me.AsnArray{constructor(R){super(R);Object.setPrototypeOf(this,he.prototype)}};pe.GeneralSubtrees=be;pe.GeneralSubtrees=be=he=ge.__decorate([(0,me.AsnType)({type:me.AsnTypeTypes.Sequence,itemType:GeneralSubtree})],be);class NameConstraints{constructor(R={}){Object.assign(this,R)}}pe.NameConstraints=NameConstraints;ge.__decorate([(0,me.AsnProp)({type:be,context:0,optional:true,implicit:true})],NameConstraints.prototype,"permittedSubtrees",void 0);ge.__decorate([(0,me.AsnProp)({type:be,context:1,optional:true,implicit:true})],NameConstraints.prototype,"excludedSubtrees",void 0)},35113:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.PolicyConstraints=pe.id_ce_policyConstraints=void 0;const he=Ae(4351);const ge=Ae(53499);const me=Ae(70725);pe.id_ce_policyConstraints=`${me.id_ce}.36`;class PolicyConstraints{constructor(R={}){Object.assign(this,R)}}pe.PolicyConstraints=PolicyConstraints;he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.Integer,context:0,implicit:true,optional:true,converter:ge.AsnIntegerArrayBufferConverter})],PolicyConstraints.prototype,"requireExplicitPolicy",void 0);he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.Integer,context:1,implicit:true,optional:true,converter:ge.AsnIntegerArrayBufferConverter})],PolicyConstraints.prototype,"inhibitPolicyMapping",void 0)},3230:(R,pe,Ae)=>{"use strict";var he;Object.defineProperty(pe,"__esModule",{value:true});pe.PolicyMappings=pe.PolicyMapping=pe.id_ce_policyMappings=void 0;const ge=Ae(4351);const me=Ae(53499);const ye=Ae(70725);pe.id_ce_policyMappings=`${ye.id_ce}.33`;class PolicyMapping{constructor(R={}){this.issuerDomainPolicy="";this.subjectDomainPolicy="";Object.assign(this,R)}}pe.PolicyMapping=PolicyMapping;ge.__decorate([(0,me.AsnProp)({type:me.AsnPropTypes.ObjectIdentifier})],PolicyMapping.prototype,"issuerDomainPolicy",void 0);ge.__decorate([(0,me.AsnProp)({type:me.AsnPropTypes.ObjectIdentifier})],PolicyMapping.prototype,"subjectDomainPolicy",void 0);let ve=he=class PolicyMappings extends me.AsnArray{constructor(R){super(R);Object.setPrototypeOf(this,he.prototype)}};pe.PolicyMappings=ve;pe.PolicyMappings=ve=he=ge.__decorate([(0,me.AsnType)({type:me.AsnTypeTypes.Sequence,itemType:PolicyMapping})],ve)},65096:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.PrivateKeyUsagePeriod=pe.id_ce_privateKeyUsagePeriod=void 0;const he=Ae(4351);const ge=Ae(53499);const me=Ae(70725);pe.id_ce_privateKeyUsagePeriod=`${me.id_ce}.16`;class PrivateKeyUsagePeriod{constructor(R={}){Object.assign(this,R)}}pe.PrivateKeyUsagePeriod=PrivateKeyUsagePeriod;he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.GeneralizedTime,context:0,implicit:true,optional:true})],PrivateKeyUsagePeriod.prototype,"notBefore",void 0);he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.GeneralizedTime,context:1,implicit:true,optional:true})],PrivateKeyUsagePeriod.prototype,"notAfter",void 0)},88555:(R,pe,Ae)=>{"use strict";var he;Object.defineProperty(pe,"__esModule",{value:true});pe.SubjectAlternativeName=pe.id_ce_subjectAltName=void 0;const ge=Ae(4351);const me=Ae(53499);const ye=Ae(13201);const ve=Ae(70725);pe.id_ce_subjectAltName=`${ve.id_ce}.17`;let be=he=class SubjectAlternativeName extends ye.GeneralNames{constructor(R){super(R);Object.setPrototypeOf(this,he.prototype)}};pe.SubjectAlternativeName=be;pe.SubjectAlternativeName=be=he=ge.__decorate([(0,me.AsnType)({type:me.AsnTypeTypes.Sequence})],be)},62007:(R,pe,Ae)=>{"use strict";var he;Object.defineProperty(pe,"__esModule",{value:true});pe.SubjectDirectoryAttributes=pe.id_ce_subjectDirectoryAttributes=void 0;const ge=Ae(4351);const me=Ae(53499);const ye=Ae(2171);const ve=Ae(70725);pe.id_ce_subjectDirectoryAttributes=`${ve.id_ce}.9`;let be=he=class SubjectDirectoryAttributes extends me.AsnArray{constructor(R){super(R);Object.setPrototypeOf(this,he.prototype)}};pe.SubjectDirectoryAttributes=be;pe.SubjectDirectoryAttributes=be=he=ge.__decorate([(0,me.AsnType)({type:me.AsnTypeTypes.Sequence,itemType:ye.Attribute})],be)},57299:(R,pe,Ae)=>{"use strict";var he;Object.defineProperty(pe,"__esModule",{value:true});pe.SubjectInfoAccessSyntax=pe.id_pe_subjectInfoAccess=void 0;const ge=Ae(4351);const me=Ae(53499);const ye=Ae(70725);const ve=Ae(677);pe.id_pe_subjectInfoAccess=`${ye.id_pe}.11`;let be=he=class SubjectInfoAccessSyntax extends me.AsnArray{constructor(R){super(R);Object.setPrototypeOf(this,he.prototype)}};pe.SubjectInfoAccessSyntax=be;pe.SubjectInfoAccessSyntax=be=he=ge.__decorate([(0,me.AsnType)({type:me.AsnTypeTypes.Sequence,itemType:ve.AccessDescription})],be)},53651:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.SubjectKeyIdentifier=pe.id_ce_subjectKeyIdentifier=void 0;const he=Ae(70725);const ge=Ae(11583);pe.id_ce_subjectKeyIdentifier=`${he.id_ce}.14`;class SubjectKeyIdentifier extends ge.KeyIdentifier{}pe.SubjectKeyIdentifier=SubjectKeyIdentifier},83670:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.GeneralName=pe.EDIPartyName=pe.OtherName=pe.AsnIpConverter=void 0;const he=Ae(4351);const ge=Ae(53499);const me=Ae(621);const ye=Ae(17429);pe.AsnIpConverter={fromASN:R=>me.IpConverter.toString(ge.AsnOctetStringConverter.fromASN(R)),toASN:R=>ge.AsnOctetStringConverter.toASN(me.IpConverter.fromString(R))};class OtherName{constructor(R={}){this.typeId="";this.value=new ArrayBuffer(0);Object.assign(this,R)}}pe.OtherName=OtherName;he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.ObjectIdentifier})],OtherName.prototype,"typeId",void 0);he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.Any,context:0})],OtherName.prototype,"value",void 0);class EDIPartyName{constructor(R={}){this.partyName=new ye.DirectoryString;Object.assign(this,R)}}pe.EDIPartyName=EDIPartyName;he.__decorate([(0,ge.AsnProp)({type:ye.DirectoryString,optional:true,context:0,implicit:true})],EDIPartyName.prototype,"nameAssigner",void 0);he.__decorate([(0,ge.AsnProp)({type:ye.DirectoryString,context:1,implicit:true})],EDIPartyName.prototype,"partyName",void 0);let ve=class GeneralName{constructor(R={}){Object.assign(this,R)}};pe.GeneralName=ve;he.__decorate([(0,ge.AsnProp)({type:OtherName,context:0,implicit:true})],ve.prototype,"otherName",void 0);he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.IA5String,context:1,implicit:true})],ve.prototype,"rfc822Name",void 0);he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.IA5String,context:2,implicit:true})],ve.prototype,"dNSName",void 0);he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.Any,context:3,implicit:true})],ve.prototype,"x400Address",void 0);he.__decorate([(0,ge.AsnProp)({type:ye.Name,context:4,implicit:false})],ve.prototype,"directoryName",void 0);he.__decorate([(0,ge.AsnProp)({type:EDIPartyName,context:5})],ve.prototype,"ediPartyName",void 0);he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.IA5String,context:6,implicit:true})],ve.prototype,"uniformResourceIdentifier",void 0);he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.OctetString,context:7,implicit:true,converter:pe.AsnIpConverter})],ve.prototype,"iPAddress",void 0);he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.ObjectIdentifier,context:8,implicit:true})],ve.prototype,"registeredID",void 0);pe.GeneralName=ve=he.__decorate([(0,ge.AsnType)({type:ge.AsnTypeTypes.Choice})],ve)},13201:(R,pe,Ae)=>{"use strict";var he;Object.defineProperty(pe,"__esModule",{value:true});pe.GeneralNames=void 0;const ge=Ae(4351);const me=Ae(53499);const ye=Ae(83670);const ve=Ae(53499);let be=he=class GeneralNames extends ve.AsnArray{constructor(R){super(R);Object.setPrototypeOf(this,he.prototype)}};pe.GeneralNames=be;pe.GeneralNames=be=he=ge.__decorate([(0,me.AsnType)({type:me.AsnTypeTypes.Sequence,itemType:ye.GeneralName})],be)},82288:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});const he=Ae(4351);he.__exportStar(Ae(56457),pe);he.__exportStar(Ae(38266),pe);he.__exportStar(Ae(2171),pe);he.__exportStar(Ae(25974),pe);he.__exportStar(Ae(13554),pe);he.__exportStar(Ae(77908),pe);he.__exportStar(Ae(83670),pe);he.__exportStar(Ae(13201),pe);he.__exportStar(Ae(17429),pe);he.__exportStar(Ae(70725),pe);he.__exportStar(Ae(94003),pe);he.__exportStar(Ae(13113),pe);he.__exportStar(Ae(49117),pe);he.__exportStar(Ae(1768),pe);he.__exportStar(Ae(82826),pe);he.__exportStar(Ae(40758),pe)},621:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.IpConverter=void 0;const he=Ae(37263);const ge=Ae(22420);class IpConverter{static decodeIP(R){if(R.length===64&&parseInt(R,16)===0){return"::/0"}if(R.length!==16){return R}const pe=parseInt(R.slice(8),16).toString(2).split("").reduce(((R,pe)=>R+ +pe),0);let Ae=R.slice(0,8).replace(/(.{2})/g,(R=>`${parseInt(R,16)}.`));Ae=Ae.slice(0,-1);return`${Ae}/${pe}`}static toString(R){if(R.byteLength===4||R.byteLength===16){const pe=new Uint8Array(R);const Ae=he.fromByteArray(Array.from(pe));return Ae.toString()}return this.decodeIP(ge.Convert.ToHex(R))}static fromString(R){const pe=he.parse(R);return new Uint8Array(pe.toByteArray()).buffer}}pe.IpConverter=IpConverter},17429:(R,pe,Ae)=>{"use strict";var he,ge,me;Object.defineProperty(pe,"__esModule",{value:true});pe.Name=pe.RDNSequence=pe.RelativeDistinguishedName=pe.AttributeTypeAndValue=pe.AttributeValue=pe.DirectoryString=void 0;const ye=Ae(4351);const ve=Ae(53499);const be=Ae(22420);let Ee=class DirectoryString{constructor(R={}){Object.assign(this,R)}toString(){return this.bmpString||this.printableString||this.teletexString||this.universalString||this.utf8String||""}};pe.DirectoryString=Ee;ye.__decorate([(0,ve.AsnProp)({type:ve.AsnPropTypes.TeletexString})],Ee.prototype,"teletexString",void 0);ye.__decorate([(0,ve.AsnProp)({type:ve.AsnPropTypes.PrintableString})],Ee.prototype,"printableString",void 0);ye.__decorate([(0,ve.AsnProp)({type:ve.AsnPropTypes.UniversalString})],Ee.prototype,"universalString",void 0);ye.__decorate([(0,ve.AsnProp)({type:ve.AsnPropTypes.Utf8String})],Ee.prototype,"utf8String",void 0);ye.__decorate([(0,ve.AsnProp)({type:ve.AsnPropTypes.BmpString})],Ee.prototype,"bmpString",void 0);pe.DirectoryString=Ee=ye.__decorate([(0,ve.AsnType)({type:ve.AsnTypeTypes.Choice})],Ee);let Ce=class AttributeValue extends Ee{constructor(R={}){super(R);Object.assign(this,R)}toString(){return this.ia5String||(this.anyValue?be.Convert.ToHex(this.anyValue):super.toString())}};pe.AttributeValue=Ce;ye.__decorate([(0,ve.AsnProp)({type:ve.AsnPropTypes.IA5String})],Ce.prototype,"ia5String",void 0);ye.__decorate([(0,ve.AsnProp)({type:ve.AsnPropTypes.Any})],Ce.prototype,"anyValue",void 0);pe.AttributeValue=Ce=ye.__decorate([(0,ve.AsnType)({type:ve.AsnTypeTypes.Choice})],Ce);class AttributeTypeAndValue{constructor(R={}){this.type="";this.value=new Ce;Object.assign(this,R)}}pe.AttributeTypeAndValue=AttributeTypeAndValue;ye.__decorate([(0,ve.AsnProp)({type:ve.AsnPropTypes.ObjectIdentifier})],AttributeTypeAndValue.prototype,"type",void 0);ye.__decorate([(0,ve.AsnProp)({type:Ce})],AttributeTypeAndValue.prototype,"value",void 0);let we=he=class RelativeDistinguishedName extends ve.AsnArray{constructor(R){super(R);Object.setPrototypeOf(this,he.prototype)}};pe.RelativeDistinguishedName=we;pe.RelativeDistinguishedName=we=he=ye.__decorate([(0,ve.AsnType)({type:ve.AsnTypeTypes.Set,itemType:AttributeTypeAndValue})],we);let Ie=ge=class RDNSequence extends ve.AsnArray{constructor(R){super(R);Object.setPrototypeOf(this,ge.prototype)}};pe.RDNSequence=Ie;pe.RDNSequence=Ie=ge=ye.__decorate([(0,ve.AsnType)({type:ve.AsnTypeTypes.Sequence,itemType:we})],Ie);let _e=me=class Name extends Ie{constructor(R){super(R);Object.setPrototypeOf(this,me.prototype)}};pe.Name=_e;pe.Name=_e=me=ye.__decorate([(0,ve.AsnType)({type:ve.AsnTypeTypes.Sequence})],_e)},70725:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.id_ce=pe.id_ad_caRepository=pe.id_ad_timeStamping=pe.id_ad_caIssuers=pe.id_ad_ocsp=pe.id_qt_unotice=pe.id_qt_csp=pe.id_ad=pe.id_kp=pe.id_qt=pe.id_pe=pe.id_pkix=void 0;pe.id_pkix="1.3.6.1.5.5.7";pe.id_pe=`${pe.id_pkix}.1`;pe.id_qt=`${pe.id_pkix}.2`;pe.id_kp=`${pe.id_pkix}.3`;pe.id_ad=`${pe.id_pkix}.48`;pe.id_qt_csp=`${pe.id_qt}.1`;pe.id_qt_unotice=`${pe.id_qt}.2`;pe.id_ad_ocsp=`${pe.id_ad}.1`;pe.id_ad_caIssuers=`${pe.id_ad}.2`;pe.id_ad_timeStamping=`${pe.id_ad}.3`;pe.id_ad_caRepository=`${pe.id_ad}.5`;pe.id_ce="2.5.29"},94003:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.SubjectPublicKeyInfo=void 0;const he=Ae(4351);const ge=Ae(53499);const me=Ae(38266);class SubjectPublicKeyInfo{constructor(R={}){this.algorithm=new me.AlgorithmIdentifier;this.subjectPublicKey=new ArrayBuffer(0);Object.assign(this,R)}}pe.SubjectPublicKeyInfo=SubjectPublicKeyInfo;he.__decorate([(0,ge.AsnProp)({type:me.AlgorithmIdentifier})],SubjectPublicKeyInfo.prototype,"algorithm",void 0);he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.BitString})],SubjectPublicKeyInfo.prototype,"subjectPublicKey",void 0)},13113:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.TBSCertList=pe.RevokedCertificate=void 0;const he=Ae(4351);const ge=Ae(53499);const me=Ae(38266);const ye=Ae(17429);const ve=Ae(1768);const be=Ae(77908);class RevokedCertificate{constructor(R={}){this.userCertificate=new ArrayBuffer(0);this.revocationDate=new ve.Time;Object.assign(this,R)}}pe.RevokedCertificate=RevokedCertificate;he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.Integer,converter:ge.AsnIntegerArrayBufferConverter})],RevokedCertificate.prototype,"userCertificate",void 0);he.__decorate([(0,ge.AsnProp)({type:ve.Time})],RevokedCertificate.prototype,"revocationDate",void 0);he.__decorate([(0,ge.AsnProp)({type:be.Extension,optional:true,repeated:"sequence"})],RevokedCertificate.prototype,"crlEntryExtensions",void 0);class TBSCertList{constructor(R={}){this.signature=new me.AlgorithmIdentifier;this.issuer=new ye.Name;this.thisUpdate=new ve.Time;Object.assign(this,R)}}pe.TBSCertList=TBSCertList;he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.Integer,optional:true})],TBSCertList.prototype,"version",void 0);he.__decorate([(0,ge.AsnProp)({type:me.AlgorithmIdentifier})],TBSCertList.prototype,"signature",void 0);he.__decorate([(0,ge.AsnProp)({type:ye.Name})],TBSCertList.prototype,"issuer",void 0);he.__decorate([(0,ge.AsnProp)({type:ve.Time})],TBSCertList.prototype,"thisUpdate",void 0);he.__decorate([(0,ge.AsnProp)({type:ve.Time,optional:true})],TBSCertList.prototype,"nextUpdate",void 0);he.__decorate([(0,ge.AsnProp)({type:RevokedCertificate,repeated:"sequence",optional:true})],TBSCertList.prototype,"revokedCertificates",void 0);he.__decorate([(0,ge.AsnProp)({type:be.Extension,optional:true,context:0,repeated:"sequence"})],TBSCertList.prototype,"crlExtensions",void 0)},49117:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.TBSCertificate=void 0;const he=Ae(4351);const ge=Ae(53499);const me=Ae(38266);const ye=Ae(17429);const ve=Ae(94003);const be=Ae(40758);const Ee=Ae(77908);const Ce=Ae(82826);class TBSCertificate{constructor(R={}){this.version=Ce.Version.v1;this.serialNumber=new ArrayBuffer(0);this.signature=new me.AlgorithmIdentifier;this.issuer=new ye.Name;this.validity=new be.Validity;this.subject=new ye.Name;this.subjectPublicKeyInfo=new ve.SubjectPublicKeyInfo;Object.assign(this,R)}}pe.TBSCertificate=TBSCertificate;he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.Integer,context:0,defaultValue:Ce.Version.v1})],TBSCertificate.prototype,"version",void 0);he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.Integer,converter:ge.AsnIntegerArrayBufferConverter})],TBSCertificate.prototype,"serialNumber",void 0);he.__decorate([(0,ge.AsnProp)({type:me.AlgorithmIdentifier})],TBSCertificate.prototype,"signature",void 0);he.__decorate([(0,ge.AsnProp)({type:ye.Name})],TBSCertificate.prototype,"issuer",void 0);he.__decorate([(0,ge.AsnProp)({type:be.Validity})],TBSCertificate.prototype,"validity",void 0);he.__decorate([(0,ge.AsnProp)({type:ye.Name})],TBSCertificate.prototype,"subject",void 0);he.__decorate([(0,ge.AsnProp)({type:ve.SubjectPublicKeyInfo})],TBSCertificate.prototype,"subjectPublicKeyInfo",void 0);he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.BitString,context:1,implicit:true,optional:true})],TBSCertificate.prototype,"issuerUniqueID",void 0);he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.BitString,context:2,implicit:true,optional:true})],TBSCertificate.prototype,"subjectUniqueID",void 0);he.__decorate([(0,ge.AsnProp)({type:Ee.Extensions,context:3,optional:true})],TBSCertificate.prototype,"extensions",void 0)},1768:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.Time=void 0;const he=Ae(4351);const ge=Ae(53499);let me=class Time{constructor(R){if(R){if(typeof R==="string"||typeof R==="number"||R instanceof Date){const pe=new Date(R);if(pe.getUTCFullYear()>2049){this.generalTime=pe}else{this.utcTime=pe}}else{Object.assign(this,R)}}}getTime(){const R=this.utcTime||this.generalTime;if(!R){throw new Error("Cannot get time from CHOICE object")}return R}};pe.Time=me;he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.UTCTime})],me.prototype,"utcTime",void 0);he.__decorate([(0,ge.AsnProp)({type:ge.AsnPropTypes.GeneralizedTime})],me.prototype,"generalTime",void 0);pe.Time=me=he.__decorate([(0,ge.AsnType)({type:ge.AsnTypeTypes.Choice})],me)},82826:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.Version=void 0;var Ae;(function(R){R[R["v1"]=0]="v1";R[R["v2"]=1]="v2";R[R["v3"]=2]="v3"})(Ae||(pe.Version=Ae={}))},40758:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.Validity=void 0;const he=Ae(4351);const ge=Ae(53499);const me=Ae(1768);class Validity{constructor(R){this.notBefore=new me.Time(new Date);this.notAfter=new me.Time(new Date);if(R){this.notBefore=new me.Time(R.notBefore);this.notAfter=new me.Time(R.notAfter)}}}pe.Validity=Validity;he.__decorate([(0,ge.AsnProp)({type:me.Time})],Validity.prototype,"notBefore",void 0);he.__decorate([(0,ge.AsnProp)({type:me.Time})],Validity.prototype,"notAfter",void 0)},82315:(R,pe,Ae)=>{"use strict"; /*! * MIT License * @@ -23,19 +23,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. * - */oe(15202);var se=oe(53499);var ae=oe(82288);var ce=oe(22420);var ue=oe(65813);var le=oe(8277);var fe=oe(5574);var de=oe(10787);var pe=oe(71069);var he=oe(55938);var Ae=oe(86717);function _interopNamespaceDefault(re){var ie=Object.create(null);if(re){Object.keys(re).forEach((function(oe){if(oe!=="default"){var se=Object.getOwnPropertyDescriptor(re,oe);Object.defineProperty(ie,oe,se.get?se:{enumerable:true,get:function(){return re[oe]}})}}))}ie.default=re;return Object.freeze(ie)}var ge=_interopNamespaceDefault(ae);var me=_interopNamespaceDefault(ue);var ye=_interopNamespaceDefault(le);var ve=_interopNamespaceDefault(fe);var be=_interopNamespaceDefault(he);const we="crypto.algorithm";class AlgorithmProvider{getAlgorithms(){return pe.container.resolveAll(we)}toAsnAlgorithm(re){({...re});for(const ie of this.getAlgorithms()){const oe=ie.toAsnAlgorithm(re);if(oe){return oe}}if(/^[0-9.]+$/.test(re.name)){const ie=new ae.AlgorithmIdentifier({algorithm:re.name});if("parameters"in re){const oe=re;ie.parameters=oe.parameters}return ie}throw new Error("Cannot convert WebCrypto algorithm to ASN.1 algorithm")}toWebAlgorithm(re){for(const ie of this.getAlgorithms()){const oe=ie.toWebAlgorithm(re);if(oe){return oe}}const ie={name:re.algorithm,parameters:re.parameters};return ie}}const _e="crypto.algorithmProvider";pe.container.registerSingleton(_e,AlgorithmProvider);var Ee;const Ce="1.3.36.3.3.2.8.1.1";const Ie=`${Ce}.1`;const Se=`${Ce}.2`;const Be=`${Ce}.3`;const xe=`${Ce}.4`;const ke=`${Ce}.5`;const Oe=`${Ce}.6`;const De=`${Ce}.7`;const Pe=`${Ce}.8`;const Te=`${Ce}.9`;const Qe=`${Ce}.10`;const Re=`${Ce}.11`;const Me=`${Ce}.12`;const Ne=`${Ce}.13`;const je=`${Ce}.14`;const Le="brainpoolP160r1";const Fe="brainpoolP160t1";const Ue="brainpoolP192r1";const He="brainpoolP192t1";const qe="brainpoolP224r1";const Ke="brainpoolP224t1";const Ve="brainpoolP256r1";const Je="brainpoolP256t1";const We="brainpoolP320r1";const Ge="brainpoolP320t1";const Ye="brainpoolP384r1";const ze="brainpoolP384t1";const $e="brainpoolP512r1";const Ze="brainpoolP512t1";const Xe="ECDSA";ie.EcAlgorithm=Ee=class EcAlgorithm{toAsnAlgorithm(re){switch(re.name.toLowerCase()){case Xe.toLowerCase():if("hash"in re){const ie=typeof re.hash==="string"?re.hash:re.hash.name;switch(ie.toLowerCase()){case"sha-1":return ye.ecdsaWithSHA1;case"sha-256":return ye.ecdsaWithSHA256;case"sha-384":return ye.ecdsaWithSHA384;case"sha-512":return ye.ecdsaWithSHA512}}else if("namedCurve"in re){let ie="";switch(re.namedCurve){case"P-256":ie=ye.id_secp256r1;break;case"K-256":ie=Ee.SECP256K1;break;case"P-384":ie=ye.id_secp384r1;break;case"P-521":ie=ye.id_secp521r1;break;case Le:ie=Ie;break;case Fe:ie=Se;break;case Ue:ie=Be;break;case He:ie=xe;break;case qe:ie=ke;break;case Ke:ie=Oe;break;case Ve:ie=De;break;case Je:ie=Pe;break;case We:ie=Te;break;case Ge:ie=Qe;break;case Ye:ie=Re;break;case ze:ie=Me;break;case $e:ie=Ne;break;case Ze:ie=je;break}if(ie){return new ae.AlgorithmIdentifier({algorithm:ye.id_ecPublicKey,parameters:se.AsnConvert.serialize(new ye.ECParameters({namedCurve:ie}))})}}}return null}toWebAlgorithm(re){switch(re.algorithm){case ye.id_ecdsaWithSHA1:return{name:Xe,hash:{name:"SHA-1"}};case ye.id_ecdsaWithSHA256:return{name:Xe,hash:{name:"SHA-256"}};case ye.id_ecdsaWithSHA384:return{name:Xe,hash:{name:"SHA-384"}};case ye.id_ecdsaWithSHA512:return{name:Xe,hash:{name:"SHA-512"}};case ye.id_ecPublicKey:{if(!re.parameters){throw new TypeError("Cannot get required parameters from EC algorithm")}const ie=se.AsnConvert.parse(re.parameters,ye.ECParameters);switch(ie.namedCurve){case ye.id_secp256r1:return{name:Xe,namedCurve:"P-256"};case Ee.SECP256K1:return{name:Xe,namedCurve:"K-256"};case ye.id_secp384r1:return{name:Xe,namedCurve:"P-384"};case ye.id_secp521r1:return{name:Xe,namedCurve:"P-521"};case Ie:return{name:Xe,namedCurve:Le};case Se:return{name:Xe,namedCurve:Fe};case Be:return{name:Xe,namedCurve:Ue};case xe:return{name:Xe,namedCurve:He};case ke:return{name:Xe,namedCurve:qe};case Oe:return{name:Xe,namedCurve:Ke};case De:return{name:Xe,namedCurve:Ve};case Pe:return{name:Xe,namedCurve:Je};case Te:return{name:Xe,namedCurve:We};case Qe:return{name:Xe,namedCurve:Ge};case Re:return{name:Xe,namedCurve:Ye};case Me:return{name:Xe,namedCurve:ze};case Ne:return{name:Xe,namedCurve:$e};case je:return{name:Xe,namedCurve:Ze}}}}return null}};ie.EcAlgorithm.SECP256K1="1.3.132.0.10";ie.EcAlgorithm=Ee=de.__decorate([pe.injectable()],ie.EcAlgorithm);pe.container.registerSingleton(we,ie.EcAlgorithm);const et=Symbol("name");const tt=Symbol("value");class TextObject{constructor(re,ie={},oe=""){this[et]=re;this[tt]=oe;for(const re in ie){this[re]=ie[re]}}}TextObject.NAME=et;TextObject.VALUE=tt;class DefaultAlgorithmSerializer{static toTextObject(re){const oe=new TextObject("Algorithm Identifier",{},OidSerializer.toString(re.algorithm));if(re.parameters){switch(re.algorithm){case ye.id_ecPublicKey:{const se=(new ie.EcAlgorithm).toWebAlgorithm(re);if(se&&"namedCurve"in se){oe["Named Curve"]=se.namedCurve}else{oe["Parameters"]=re.parameters}break}default:oe["Parameters"]=re.parameters}}return oe}}class OidSerializer{static toString(re){const ie=this.items[re];if(ie){return ie}return re}}OidSerializer.items={[ve.id_sha1]:"sha1",[ve.id_sha224]:"sha224",[ve.id_sha256]:"sha256",[ve.id_sha384]:"sha384",[ve.id_sha512]:"sha512",[ve.id_rsaEncryption]:"rsaEncryption",[ve.id_sha1WithRSAEncryption]:"sha1WithRSAEncryption",[ve.id_sha224WithRSAEncryption]:"sha224WithRSAEncryption",[ve.id_sha256WithRSAEncryption]:"sha256WithRSAEncryption",[ve.id_sha384WithRSAEncryption]:"sha384WithRSAEncryption",[ve.id_sha512WithRSAEncryption]:"sha512WithRSAEncryption",[ye.id_ecPublicKey]:"ecPublicKey",[ye.id_ecdsaWithSHA1]:"ecdsaWithSHA1",[ye.id_ecdsaWithSHA224]:"ecdsaWithSHA224",[ye.id_ecdsaWithSHA256]:"ecdsaWithSHA256",[ye.id_ecdsaWithSHA384]:"ecdsaWithSHA384",[ye.id_ecdsaWithSHA512]:"ecdsaWithSHA512",[ge.id_kp_serverAuth]:"TLS WWW server authentication",[ge.id_kp_clientAuth]:"TLS WWW client authentication",[ge.id_kp_codeSigning]:"Code Signing",[ge.id_kp_emailProtection]:"E-mail Protection",[ge.id_kp_timeStamping]:"Time Stamping",[ge.id_kp_OCSPSigning]:"OCSP Signing",[me.id_signedData]:"Signed Data"};class TextConverter{static serialize(re){return this.serializeObj(re).join("\n")}static pad(re=0){return"".padStart(2*re," ")}static serializeObj(re,ie=0){const oe=[];let se=this.pad(ie++);let ae="";const ue=re[TextObject.VALUE];if(ue){ae=` ${ue}`}oe.push(`${se}${re[TextObject.NAME]}:${ae}`);se=this.pad(ie);for(const ae in re){if(typeof ae==="symbol"){continue}const ue=re[ae];const le=ae?`${ae}: `:"";if(typeof ue==="string"||typeof ue==="number"||typeof ue==="boolean"){oe.push(`${se}${le}${ue}`)}else if(ue instanceof Date){oe.push(`${se}${le}${ue.toUTCString()}`)}else if(Array.isArray(ue)){for(const re of ue){re[TextObject.NAME]=ae;oe.push(...this.serializeObj(re,ie))}}else if(ue instanceof TextObject){ue[TextObject.NAME]=ae;oe.push(...this.serializeObj(ue,ie))}else if(ce.BufferSourceConverter.isBufferSource(ue)){if(ae){oe.push(`${se}${le}`);oe.push(...this.serializeBufferSource(ue,ie+1))}else{oe.push(...this.serializeBufferSource(ue,ie))}}else if("toTextObject"in ue){const re=ue.toTextObject();re[TextObject.NAME]=ae;oe.push(...this.serializeObj(re,ie))}else{throw new TypeError("Cannot serialize data in text format. Unsupported type.")}}return oe}static serializeBufferSource(re,ie=0){const oe=this.pad(ie);const se=ce.BufferSourceConverter.toUint8Array(re);const ae=[];for(let re=0;re;])/g,"\\$1").replace(/^([ #])/,"\\$1").replace(/([ ]$)/,"\\$1").replace(/([\r\n\t])/,replaceUnknownCharacter)}class Name{static isASCII(re){for(let ie=0;ie255){return false}}return true}static isPrintableString(re){return/^[A-Za-z0-9 '()+,-./:=?]*$/g.test(re)}constructor(re,ie={}){this.extraNames=new NameIdentifier;this.asn=new ae.Name;for(const re in ie){if(Object.prototype.hasOwnProperty.call(ie,re)){const oe=ie[re];this.extraNames.register(re,oe)}}if(typeof re==="string"){this.asn=this.fromString(re)}else if(re instanceof ae.Name){this.asn=re}else if(ce.BufferSourceConverter.isBufferSource(re)){this.asn=se.AsnConvert.parse(re,ae.Name)}else{this.asn=this.fromJSON(re)}}getField(re){const ie=this.extraNames.findId(re)||ot.findId(re);const oe=[];for(const re of this.asn){for(const se of re){if(se.type===ie){oe.push(se.value.toString())}}}return oe}getName(re){return this.extraNames.get(re)||ot.get(re)}toString(){return this.asn.map((re=>re.map((re=>{const ie=this.getName(re.type)||re.type;const oe=re.value.anyValue?`#${ce.Convert.ToHex(re.value.anyValue)}`:escape(re.value.toString());return`${ie}=${oe}`})).join("+"))).join(", ")}toJSON(){var re;const ie=[];for(const oe of this.asn){const se={};for(const ie of oe){const oe=this.getName(ie.type)||ie.type;(re=se[oe])!==null&&re!==void 0?re:se[oe]=[];se[oe].push(ie.value.anyValue?`#${ce.Convert.ToHex(ie.value.anyValue)}`:ie.value.toString())}ie.push(se)}return ie}fromString(re){const ie=new ae.Name;const oe=/(\d\.[\d.]*\d|[A-Za-z]+)=((?:"")|(?:".*?[^\\]")|(?:[^,+].*?(?:[^\\][,+]))|(?:))([,+])?/g;let se=null;let ue=",";while(se=oe.exec(`${re},`)){let[,re,oe]=se;const le=oe[oe.length-1];if(le===","||le==="+"){oe=oe.slice(0,oe.length-1);se[3]=le}const fe=se[3];if(!/[\d.]+/.test(re)){re=this.getName(re)||""}if(!re){throw new Error(`Cannot get OID for name type '${re}'`)}const de=new ae.AttributeTypeAndValue({type:re});if(oe.charAt(0)==="#"){de.value.anyValue=ce.Convert.FromHex(oe.slice(1))}else{const ie=/"(.*?[^\\])?"/.exec(oe);if(ie){oe=ie[1]}oe=oe.replace(/\\0a/gi,"\n").replace(/\\0d/gi,"\r").replace(/\\0g/gi,"\t").replace(/\\(.)/g,"$1");if(re===this.getName("E")||re===this.getName("DC")){de.value.ia5String=oe}else{if(Name.isPrintableString(oe)){de.value.printableString=oe}else{de.value.utf8String=oe}}}if(ue==="+"){ie[ie.length-1].push(de)}else{ie.push(new ae.RelativeDistinguishedName([de]))}ue=fe}return ie}fromJSON(re){const ie=new ae.Name;for(const oe of re){const re=new ae.RelativeDistinguishedName;for(const ie in oe){let se=ie;if(!/[\d.]+/.test(ie)){se=this.getName(ie)||""}if(!se){throw new Error(`Cannot get OID for name type '${ie}'`)}const ue=oe[ie];for(const ie of ue){const oe=new ae.AttributeTypeAndValue({type:se});if(typeof ie==="object"){for(const re in ie){switch(re){case"ia5String":oe.value.ia5String=ie[re];break;case"utf8String":oe.value.utf8String=ie[re];break;case"universalString":oe.value.universalString=ie[re];break;case"bmpString":oe.value.bmpString=ie[re];break;case"printableString":oe.value.printableString=ie[re];break}}}else if(ie[0]==="#"){oe.value.anyValue=ce.Convert.FromHex(ie.slice(1))}else{if(se===this.getName("E")||se===this.getName("DC")){oe.value.ia5String=ie}else{oe.value.printableString=ie}}re.push(oe)}}ie.push(re)}return ie}toArrayBuffer(){return se.AsnConvert.serialize(this.asn)}async getThumbprint(...re){var ie;let oe;let se="SHA-1";if(re.length>=1&&!((ie=re[0])===null||ie===void 0?void 0:ie.subtle)){se=re[0]||se;oe=re[1]||nt.get()}else{oe=re[0]||nt.get()}return await oe.subtle.digest(se,this.toArrayBuffer())}}const st="Cannot initialize GeneralName from ASN.1 data.";const at=`${st} Unsupported string format in use.`;const ct=`${st} Value doesn't match to GUID regular expression.`;const ut=/^([0-9a-f]{8})-?([0-9a-f]{4})-?([0-9a-f]{4})-?([0-9a-f]{4})-?([0-9a-f]{12})$/i;const ft="1.3.6.1.4.1.311.25.1";const dt="1.3.6.1.4.1.311.20.2.3";const pt="dns";const ht="dn";const At="email";const mt="ip";const yt="url";const vt="guid";const bt="upn";const wt="id";class GeneralName extends AsnData{constructor(...re){let ie;if(re.length===2){switch(re[0]){case ht:{const oe=new Name(re[1]).toArrayBuffer();const ae=se.AsnConvert.parse(oe,ge.Name);ie=new ge.GeneralName({directoryName:ae});break}case pt:ie=new ge.GeneralName({dNSName:re[1]});break;case At:ie=new ge.GeneralName({rfc822Name:re[1]});break;case vt:{const oe=new RegExp(ut,"i").exec(re[1]);if(!oe){throw new Error("Cannot parse GUID value. Value doesn't match to regular expression")}const ae=oe.slice(1).map(((re,ie)=>{if(ie<3){return ce.Convert.ToHex(new Uint8Array(ce.Convert.FromHex(re)).reverse())}return re})).join("");ie=new ge.GeneralName({otherName:new ge.OtherName({typeId:ft,value:se.AsnConvert.serialize(new se.OctetString(ce.Convert.FromHex(ae)))})});break}case mt:ie=new ge.GeneralName({iPAddress:re[1]});break;case wt:ie=new ge.GeneralName({registeredID:re[1]});break;case bt:{ie=new ge.GeneralName({otherName:new ge.OtherName({typeId:dt,value:se.AsnConvert.serialize(se.AsnUtf8StringConverter.toASN(re[1]))})});break}case yt:ie=new ge.GeneralName({uniformResourceIdentifier:re[1]});break;default:throw new Error("Cannot create GeneralName. Unsupported type of the name")}}else if(ce.BufferSourceConverter.isBufferSource(re[0])){ie=se.AsnConvert.parse(re[0],ge.GeneralName)}else{ie=re[0]}super(ie)}onInit(re){if(re.dNSName!=undefined){this.type=pt;this.value=re.dNSName}else if(re.rfc822Name!=undefined){this.type=At;this.value=re.rfc822Name}else if(re.iPAddress!=undefined){this.type=mt;this.value=re.iPAddress}else if(re.uniformResourceIdentifier!=undefined){this.type=yt;this.value=re.uniformResourceIdentifier}else if(re.registeredID!=undefined){this.type=wt;this.value=re.registeredID}else if(re.directoryName!=undefined){this.type=ht;this.value=new Name(re.directoryName).toString()}else if(re.otherName!=undefined){if(re.otherName.typeId===ft){this.type=vt;const ie=se.AsnConvert.parse(re.otherName.value,se.OctetString);const oe=new RegExp(ut,"i").exec(ce.Convert.ToHex(ie));if(!oe){throw new Error(ct)}this.value=oe.slice(1).map(((re,ie)=>{if(ie<3){return ce.Convert.ToHex(new Uint8Array(ce.Convert.FromHex(re)).reverse())}return re})).join("-")}else if(re.otherName.typeId===dt){this.type=bt;this.value=se.AsnConvert.parse(re.otherName.value,ge.DirectoryString).toString()}else{throw new Error(at)}}else{throw new Error(at)}}toJSON(){return{type:this.type,value:this.value}}toTextObject(){let re;switch(this.type){case ht:case pt:case vt:case mt:case wt:case bt:case yt:re=this.type.toUpperCase();break;case At:re="Email";break;default:throw new Error("Unsupported GeneralName type")}let ie=this.value;if(this.type===wt){ie=OidSerializer.toString(ie)}return new TextObject(re,undefined,ie)}}class GeneralNames extends AsnData{constructor(re){let ie;if(re instanceof ge.GeneralNames){ie=re}else if(Array.isArray(re)){const oe=[];for(const ie of re){if(ie instanceof ge.GeneralName){oe.push(ie)}else{const re=se.AsnConvert.parse(new GeneralName(ie.type,ie.value).rawData,ge.GeneralName);oe.push(re)}}ie=new ge.GeneralNames(oe)}else if(ce.BufferSourceConverter.isBufferSource(re)){ie=se.AsnConvert.parse(re,ge.GeneralNames)}else{throw new Error("Cannot initialize GeneralNames. Incorrect incoming arguments")}super(ie)}onInit(re){const ie=[];for(const oe of re){let re=null;try{re=new GeneralName(oe)}catch{continue}ie.push(re)}this.items=ie}toJSON(){return this.items.map((re=>re.toJSON()))}toTextObject(){const re=super.toTextObjectEmpty();for(const ie of this.items){const oe=ie.toTextObject();let se=re[oe[TextObject.NAME]];if(!Array.isArray(se)){se=[];re[oe[TextObject.NAME]]=se}se.push(oe)}return re}}GeneralNames.NAME="GeneralNames";const _t="-{5}";const Et="\\n";const Ct=`[^${Et}]+`;const It=`${_t}BEGIN (${Ct}(?=${_t}))${_t}`;const St=`${_t}END \\1${_t}`;const Bt="\\n";const xt=`[^:${Et}]+`;const kt=`(?:[^${Et}]+${Bt}(?: +[^${Et}]+${Bt})*)`;const Ot="[a-zA-Z0-9=+/]+";const Dt=`(?:${Ot}${Bt})+`;const Pt=`${It}${Bt}(?:((?:${xt}: ${kt})+))?${Bt}?(${Dt})${St}`;class PemConverter{static isPem(re){return typeof re==="string"&&new RegExp(Pt,"g").test(re)}static decodeWithHeaders(re){re=re.replace(/\r/g,"");const ie=new RegExp(Pt,"g");const oe=[];let se=null;while(se=ie.exec(re)){const re=se[3].replace(new RegExp(`[${Et}]+`,"g"),"");const ie={type:se[1],headers:[],rawData:ce.Convert.FromBase64(re)};const ae=se[2];if(ae){const re=ae.split(new RegExp(Bt,"g"));let oe=null;for(const se of re){const[re,ae]=se.split(/:(.*)/);if(ae===undefined){if(!oe){throw new Error("Cannot parse PEM string. Incorrect header value")}oe.value+=re.trim()}else{if(oe){ie.headers.push(oe)}oe={key:re,value:ae.trim()}}}if(oe){ie.headers.push(oe)}}oe.push(ie)}return oe}static decode(re){const ie=this.decodeWithHeaders(re);return ie.map((re=>re.rawData))}static decodeFirst(re){const ie=this.decode(re);if(!ie.length){throw new RangeError("PEM string doesn't contain any objects")}return ie[0]}static encode(re,ie){if(Array.isArray(re)){const oe=new Array;if(ie){re.forEach((re=>{if(!ce.BufferSourceConverter.isBufferSource(re)){throw new TypeError("Cannot encode array of BufferSource in PEM format. Not all items of the array are BufferSource")}oe.push(this.encodeStruct({type:ie,rawData:ce.BufferSourceConverter.toArrayBuffer(re)}))}))}else{re.forEach((re=>{if(!("type"in re)){throw new TypeError("Cannot encode array of PemStruct in PEM format. Not all items of the array are PemStrut")}oe.push(this.encodeStruct(re))}))}return oe.join("\n")}else{if(!ie){throw new Error("Required argument 'tag' is missed")}return this.encodeStruct({type:ie,rawData:ce.BufferSourceConverter.toArrayBuffer(re)})}}static encodeStruct(re){var ie;const oe=re.type.toLocaleUpperCase();const se=[];se.push(`-----BEGIN ${oe}-----`);if((ie=re.headers)===null||ie===void 0?void 0:ie.length){for(const ie of re.headers){se.push(`${ie.key}: ${ie.value}`)}se.push("")}const ae=ce.Convert.ToBase64(re.rawData);let ue;let le=0;const fe=Array();while(le1){ce=re[0]||ce;oe=re[1]||oe;ie=re[2]||nt.get()}else{ie=re[0]||nt.get()}let ue=this.rawData;const le=se.AsnConvert.parse(this.rawData,ae.SubjectPublicKeyInfo);if(le.algorithm.algorithm===fe.id_RSASSA_PSS){ue=convertSpkiToRsaPkcs1(le,ue)}return ie.subtle.importKey("spki",ue,ce,true,oe)}onInit(re){const ie=pe.container.resolve(_e);const oe=this.algorithm=ie.toWebAlgorithm(re.algorithm);switch(re.algorithm.algorithm){case fe.id_rsaEncryption:{const ie=se.AsnConvert.parse(re.subjectPublicKey,fe.RSAPublicKey);const ae=ce.BufferSourceConverter.toUint8Array(ie.modulus);oe.publicExponent=ce.BufferSourceConverter.toUint8Array(ie.publicExponent);oe.modulusLength=(!ae[0]?ae.slice(1):ae).byteLength<<3;break}}}async getThumbprint(...re){var ie;let oe;let se="SHA-1";if(re.length>=1&&!((ie=re[0])===null||ie===void 0?void 0:ie.subtle)){se=re[0]||se;oe=re[1]||nt.get()}else{oe=re[0]||nt.get()}return await oe.subtle.digest(se,this.rawData)}async getKeyIdentifier(re){if(!re){re=nt.get()}const ie=se.AsnConvert.parse(this.rawData,ae.SubjectPublicKeyInfo);return await re.subtle.digest("SHA-1",ie.subjectPublicKey)}toTextObject(){const re=this.toTextObjectEmpty();const ie=se.AsnConvert.parse(this.rawData,ae.SubjectPublicKeyInfo);re["Algorithm"]=TextConverter.serializeAlgorithm(ie.algorithm);switch(ie.algorithm.algorithm){case le.id_ecPublicKey:re["EC Point"]=ie.subjectPublicKey;break;case fe.id_rsaEncryption:default:re["Raw Data"]=ie.subjectPublicKey}return re}}function convertSpkiToRsaPkcs1(re,ie){re.algorithm=new ae.AlgorithmIdentifier({algorithm:fe.id_rsaEncryption,parameters:null});ie=se.AsnConvert.serialize(re);return ie}class ExtensionFactory{static register(re,ie){this.items.set(re,ie)}static create(re){const ie=new Extension(re);const oe=this.items.get(ie.type);if(oe){return new oe(re)}return ie}}ExtensionFactory.items=new Map;const Tt="crypto.signatureFormatter";class AsnDefaultSignatureFormatter{toAsnSignature(re,ie){return ce.BufferSourceConverter.toArrayBuffer(ie)}toWebSignature(re,ie){return ce.BufferSourceConverter.toArrayBuffer(ie)}}class X509Certificate extends PemData{constructor(re){if(PemData.isAsnEncoded(re)){super(re,ae.Certificate)}else{super(re)}this.tag=PemConverter.CertificateTag}onInit(re){const ie=re.tbsCertificate;this.tbs=se.AsnConvert.serialize(ie);this.serialNumber=ce.Convert.ToHex(ie.serialNumber);this.subjectName=new Name(ie.subject);this.subject=new Name(ie.subject).toString();this.issuerName=new Name(ie.issuer);this.issuer=this.issuerName.toString();const oe=pe.container.resolve(_e);this.signatureAlgorithm=oe.toWebAlgorithm(re.signatureAlgorithm);this.signature=re.signatureValue;const ae=ie.validity.notBefore.utcTime||ie.validity.notBefore.generalTime;if(!ae){throw new Error("Cannot get 'notBefore' value")}this.notBefore=ae;const ue=ie.validity.notAfter.utcTime||ie.validity.notAfter.generalTime;if(!ue){throw new Error("Cannot get 'notAfter' value")}this.notAfter=ue;this.extensions=[];if(ie.extensions){this.extensions=ie.extensions.map((re=>ExtensionFactory.create(se.AsnConvert.serialize(re))))}this.publicKey=new PublicKey(ie.subjectPublicKeyInfo)}getExtension(re){for(const ie of this.extensions){if(typeof re==="string"){if(ie.type===re){return ie}}else{if(ie instanceof re){return ie}}}return null}getExtensions(re){return this.extensions.filter((ie=>{if(typeof re==="string"){return ie.type===re}else{return ie instanceof re}}))}async verify(re={},ie=nt.get()){let oe;let se;const ae=re.publicKey;try{if(!ae){oe={...this.publicKey.algorithm,...this.signatureAlgorithm};se=await this.publicKey.export(oe,["verify"],ie)}else if("publicKey"in ae){oe={...ae.publicKey.algorithm,...this.signatureAlgorithm};se=await ae.publicKey.export(oe,["verify"],ie)}else if(ae instanceof PublicKey){oe={...ae.algorithm,...this.signatureAlgorithm};se=await ae.export(oe,["verify"],ie)}else if(ce.BufferSourceConverter.isBufferSource(ae)){const re=new PublicKey(ae);oe={...re.algorithm,...this.signatureAlgorithm};se=await re.export(oe,["verify"],ie)}else{oe={...ae.algorithm,...this.signatureAlgorithm};se=ae}}catch(re){return false}const ue=pe.container.resolveAll(Tt).reverse();let le=null;for(const re of ue){le=re.toWebSignature(oe,this.signature);if(le){break}}if(!le){throw Error("Cannot convert ASN.1 signature value to WebCrypto format")}const fe=await ie.subtle.verify(this.signatureAlgorithm,se,le,this.tbs);if(re.signatureOnly){return fe}else{const ie=re.date||new Date;const oe=ie.getTime();return fe&&this.notBefore.getTime()re))}else{const ie=new ge.ExtendedKeyUsage(re[0]);super(ge.id_ce_extKeyUsage,re[1],se.AsnConvert.serialize(ie));this.usages=re[0]}}toTextObject(){const re=this.toTextObjectWithoutValue();re[""]=this.usages.map((re=>OidSerializer.toString(re))).join(", ");return re}}ExtendedKeyUsageExtension.NAME="Extended Key Usages";ie.KeyUsageFlags=void 0;(function(re){re[re["digitalSignature"]=1]="digitalSignature";re[re["nonRepudiation"]=2]="nonRepudiation";re[re["keyEncipherment"]=4]="keyEncipherment";re[re["dataEncipherment"]=8]="dataEncipherment";re[re["keyAgreement"]=16]="keyAgreement";re[re["keyCertSign"]=32]="keyCertSign";re[re["cRLSign"]=64]="cRLSign";re[re["encipherOnly"]=128]="encipherOnly";re[re["decipherOnly"]=256]="decipherOnly"})(ie.KeyUsageFlags||(ie.KeyUsageFlags={}));class KeyUsagesExtension extends Extension{constructor(...re){if(ce.BufferSourceConverter.isBufferSource(re[0])){super(re[0]);const ie=se.AsnConvert.parse(this.value,ae.KeyUsage);this.usages=ie.toNumber()}else{const ie=new ae.KeyUsage(re[0]);super(ae.id_ce_keyUsage,re[1],se.AsnConvert.serialize(ie));this.usages=re[0]}}toTextObject(){const re=this.toTextObjectWithoutValue();const ie=se.AsnConvert.parse(this.value,ae.KeyUsage);re[""]=ie.toJSON().join(", ");return re}}KeyUsagesExtension.NAME="Key Usages";class SubjectKeyIdentifierExtension extends Extension{static async create(re,ie=false,oe=nt.get()){let se;if(re instanceof PublicKey){se=re.rawData}else if("publicKey"in re){se=re.publicKey.rawData}else if(ce.BufferSourceConverter.isBufferSource(re)){se=re}else{se=await oe.subtle.exportKey("spki",re)}const ae=new PublicKey(se);const ue=await ae.getKeyIdentifier(oe);return new SubjectKeyIdentifierExtension(ce.Convert.ToHex(ue),ie)}constructor(...re){if(ce.BufferSourceConverter.isBufferSource(re[0])){super(re[0]);const ie=se.AsnConvert.parse(this.value,ge.SubjectKeyIdentifier);this.keyId=ce.Convert.ToHex(ie)}else{const ie=typeof re[0]==="string"?ce.Convert.FromHex(re[0]):re[0];const oe=new ge.SubjectKeyIdentifier(ie);super(ge.id_ce_subjectKeyIdentifier,re[1],se.AsnConvert.serialize(oe));this.keyId=ce.Convert.ToHex(ie)}}toTextObject(){const re=this.toTextObjectWithoutValue();const ie=se.AsnConvert.parse(this.value,ge.SubjectKeyIdentifier);re[""]=ie;return re}}SubjectKeyIdentifierExtension.NAME="Subject Key Identifier";class SubjectAlternativeNameExtension extends Extension{constructor(...re){if(ce.BufferSourceConverter.isBufferSource(re[0])){super(re[0])}else{super(ge.id_ce_subjectAltName,re[1],new GeneralNames(re[0]||[]).rawData)}}onInit(re){super.onInit(re);const ie=se.AsnConvert.parse(re.extnValue,ge.SubjectAlternativeName);this.names=new GeneralNames(ie)}toTextObject(){const re=this.toTextObjectWithoutValue();const ie=this.names.toTextObject();for(const oe in ie){re[oe]=ie[oe]}return re}}SubjectAlternativeNameExtension.NAME="Subject Alternative Name";class CertificatePolicyExtension extends Extension{constructor(...re){var ie;if(ce.BufferSourceConverter.isBufferSource(re[0])){super(re[0]);const ie=se.AsnConvert.parse(this.value,ge.CertificatePolicies);this.policies=ie.map((re=>re.policyIdentifier))}else{const oe=re[0];const ae=(ie=re[1])!==null&&ie!==void 0?ie:false;const ce=new ge.CertificatePolicies(oe.map((re=>new ge.PolicyInformation({policyIdentifier:re}))));super(ge.id_ce_certificatePolicies,ae,se.AsnConvert.serialize(ce));this.policies=oe}}toTextObject(){const re=this.toTextObjectWithoutValue();re["Policy"]=this.policies.map((re=>new TextObject("",{},OidSerializer.toString(re))));return re}}CertificatePolicyExtension.NAME="Certificate Policies";ExtensionFactory.register(ge.id_ce_certificatePolicies,CertificatePolicyExtension);class Attribute extends AsnData{constructor(...re){let ie;if(ce.BufferSourceConverter.isBufferSource(re[0])){ie=ce.BufferSourceConverter.toArrayBuffer(re[0])}else{const oe=re[0];const ue=Array.isArray(re[1])?re[1].map((re=>ce.BufferSourceConverter.toArrayBuffer(re))):[];ie=se.AsnConvert.serialize(new ae.Attribute({type:oe,values:ue}))}super(ie,ae.Attribute)}onInit(re){this.type=re.type;this.values=re.values}toTextObject(){const re=this.toTextObjectWithoutValue();re["Value"]=this.values.map((re=>new TextObject("",{"":re})));return re}toTextObjectWithoutValue(){const re=this.toTextObjectEmpty();if(re[TextObject.NAME]===Attribute.NAME){re[TextObject.NAME]=OidSerializer.toString(this.type)}return re}}Attribute.NAME="Attribute";class ChallengePasswordAttribute extends Attribute{constructor(...re){var ie;if(ce.BufferSourceConverter.isBufferSource(re[0])){super(re[0])}else{const ie=new be.ChallengePassword({printableString:re[0]});super(be.id_pkcs9_at_challengePassword,[se.AsnConvert.serialize(ie)])}(ie=this.password)!==null&&ie!==void 0?ie:this.password=""}onInit(re){super.onInit(re);if(this.values[0]){const re=se.AsnConvert.parse(this.values[0],be.ChallengePassword);this.password=re.toString()}}toTextObject(){const re=this.toTextObjectWithoutValue();re[TextObject.VALUE]=this.password;return re}}ChallengePasswordAttribute.NAME="Challenge Password";class ExtensionsAttribute extends Attribute{constructor(...re){var ie;if(ce.BufferSourceConverter.isBufferSource(re[0])){super(re[0])}else{const ie=re[0];const oe=new ge.Extensions;for(const re of ie){oe.push(se.AsnConvert.parse(re.rawData,ge.Extension))}super(be.id_pkcs9_at_extensionRequest,[se.AsnConvert.serialize(oe)])}(ie=this.items)!==null&&ie!==void 0?ie:this.items=[]}onInit(re){super.onInit(re);if(this.values[0]){const re=se.AsnConvert.parse(this.values[0],ge.Extensions);this.items=re.map((re=>ExtensionFactory.create(se.AsnConvert.serialize(re))))}}toTextObject(){const re=this.toTextObjectWithoutValue();const ie=this.items.map((re=>re.toTextObject()));for(const oe of ie){re[oe[TextObject.NAME]]=oe}return re}}ExtensionsAttribute.NAME="Extensions";class AttributeFactory{static register(re,ie){this.items.set(re,ie)}static create(re){const ie=new Attribute(re);const oe=this.items.get(ie.type);if(oe){return new oe(re)}return ie}}AttributeFactory.items=new Map;var Qt;ie.RsaAlgorithm=Qt=class RsaAlgorithm{static createPssParams(re,ie){const oe=Qt.getHashAlgorithm(re);if(!oe){return null}return new ve.RsaSaPssParams({hashAlgorithm:oe,maskGenAlgorithm:new ae.AlgorithmIdentifier({algorithm:ve.id_mgf1,parameters:se.AsnConvert.serialize(oe)}),saltLength:ie})}static getHashAlgorithm(re){const ie=pe.container.resolve(_e);if(typeof re==="string"){return ie.toAsnAlgorithm({name:re})}if(typeof re==="object"&&re&&"name"in re){return ie.toAsnAlgorithm(re)}return null}toAsnAlgorithm(re){switch(re.name.toLowerCase()){case"rsassa-pkcs1-v1_5":if("hash"in re){let ie;if(typeof re.hash==="string"){ie=re.hash}else if(re.hash&&typeof re.hash==="object"&&"name"in re.hash&&typeof re.hash.name==="string"){ie=re.hash.name.toUpperCase()}else{throw new Error("Cannot get hash algorithm name")}switch(ie.toLowerCase()){case"sha-1":return new ae.AlgorithmIdentifier({algorithm:ve.id_sha1WithRSAEncryption,parameters:null});case"sha-256":return new ae.AlgorithmIdentifier({algorithm:ve.id_sha256WithRSAEncryption,parameters:null});case"sha-384":return new ae.AlgorithmIdentifier({algorithm:ve.id_sha384WithRSAEncryption,parameters:null});case"sha-512":return new ae.AlgorithmIdentifier({algorithm:ve.id_sha512WithRSAEncryption,parameters:null})}}else{return new ae.AlgorithmIdentifier({algorithm:ve.id_rsaEncryption,parameters:null})}break;case"rsa-pss":if("hash"in re){if(!("saltLength"in re&&typeof re.saltLength==="number")){throw new Error("Cannot get 'saltLength' from 'alg' argument")}const ie=Qt.createPssParams(re.hash,re.saltLength);if(!ie){throw new Error("Cannot create PSS parameters")}return new ae.AlgorithmIdentifier({algorithm:ve.id_RSASSA_PSS,parameters:se.AsnConvert.serialize(ie)})}else{return new ae.AlgorithmIdentifier({algorithm:ve.id_RSASSA_PSS,parameters:null})}}return null}toWebAlgorithm(re){switch(re.algorithm){case ve.id_rsaEncryption:return{name:"RSASSA-PKCS1-v1_5"};case ve.id_sha1WithRSAEncryption:return{name:"RSASSA-PKCS1-v1_5",hash:{name:"SHA-1"}};case ve.id_sha256WithRSAEncryption:return{name:"RSASSA-PKCS1-v1_5",hash:{name:"SHA-256"}};case ve.id_sha384WithRSAEncryption:return{name:"RSASSA-PKCS1-v1_5",hash:{name:"SHA-384"}};case ve.id_sha512WithRSAEncryption:return{name:"RSASSA-PKCS1-v1_5",hash:{name:"SHA-512"}};case ve.id_RSASSA_PSS:if(re.parameters){const ie=se.AsnConvert.parse(re.parameters,ve.RsaSaPssParams);const oe=pe.container.resolve(_e);const ae=oe.toWebAlgorithm(ie.hashAlgorithm);return{name:"RSA-PSS",hash:ae,saltLength:ie.saltLength}}else{return{name:"RSA-PSS"}}}return null}};ie.RsaAlgorithm=Qt=de.__decorate([pe.injectable()],ie.RsaAlgorithm);pe.container.registerSingleton(we,ie.RsaAlgorithm);ie.ShaAlgorithm=class ShaAlgorithm{toAsnAlgorithm(re){switch(re.name.toLowerCase()){case"sha-1":return new ae.AlgorithmIdentifier({algorithm:fe.id_sha1});case"sha-256":return new ae.AlgorithmIdentifier({algorithm:fe.id_sha256});case"sha-384":return new ae.AlgorithmIdentifier({algorithm:fe.id_sha384});case"sha-512":return new ae.AlgorithmIdentifier({algorithm:fe.id_sha512})}return null}toWebAlgorithm(re){switch(re.algorithm){case fe.id_sha1:return{name:"SHA-1"};case fe.id_sha256:return{name:"SHA-256"};case fe.id_sha384:return{name:"SHA-384"};case fe.id_sha512:return{name:"SHA-512"}}return null}};ie.ShaAlgorithm=de.__decorate([pe.injectable()],ie.ShaAlgorithm);pe.container.registerSingleton(we,ie.ShaAlgorithm);class AsnEcSignatureFormatter{addPadding(re,ie){const oe=ce.BufferSourceConverter.toUint8Array(ie);const se=new Uint8Array(re);se.set(oe,re-oe.length);return se}removePadding(re,ie=false){let oe=ce.BufferSourceConverter.toUint8Array(re);for(let re=0;re127){const re=new Uint8Array(oe.length+1);re.set(oe,1);return re.buffer}return oe.buffer}toAsnSignature(re,ie){if(re.name==="ECDSA"){const oe=re.namedCurve;const ae=AsnEcSignatureFormatter.namedCurveSize.get(oe)||AsnEcSignatureFormatter.defaultNamedCurveSize;const ue=new le.ECDSASigValue;const fe=ce.BufferSourceConverter.toUint8Array(ie);ue.r=this.removePadding(fe.slice(0,ae),true);ue.s=this.removePadding(fe.slice(ae,ae+ae),true);return se.AsnConvert.serialize(ue)}return null}toWebSignature(re,ie){if(re.name==="ECDSA"){const oe=se.AsnConvert.parse(ie,le.ECDSASigValue);const ae=re.namedCurve;const ue=AsnEcSignatureFormatter.namedCurveSize.get(ae)||AsnEcSignatureFormatter.defaultNamedCurveSize;const fe=this.addPadding(ue,this.removePadding(oe.r));const de=this.addPadding(ue,this.removePadding(oe.s));return ce.combine(fe,de)}return null}}AsnEcSignatureFormatter.namedCurveSize=new Map;AsnEcSignatureFormatter.defaultNamedCurveSize=32;const Rt="1.3.101.110";const Mt="1.3.101.111";const Nt="1.3.101.112";const jt="1.3.101.113";ie.EdAlgorithm=class EdAlgorithm{toAsnAlgorithm(re){let ie=null;switch(re.name.toLowerCase()){case"ed25519":ie=Nt;break;case"x25519":ie=Rt;break;case"eddsa":switch(re.namedCurve.toLowerCase()){case"ed25519":ie=Nt;break;case"ed448":ie=jt;break}break;case"ecdh-es":switch(re.namedCurve.toLowerCase()){case"x25519":ie=Rt;break;case"x448":ie=Mt;break}}if(ie){return new ae.AlgorithmIdentifier({algorithm:ie})}return null}toWebAlgorithm(re){switch(re.algorithm){case Nt:return{name:"Ed25519"};case jt:return{name:"EdDSA",namedCurve:"Ed448"};case Rt:return{name:"X25519"};case Mt:return{name:"ECDH-ES",namedCurve:"X448"}}return null}};ie.EdAlgorithm=de.__decorate([pe.injectable()],ie.EdAlgorithm);pe.container.registerSingleton(we,ie.EdAlgorithm);class Pkcs10CertificateRequest extends PemData{constructor(re){if(PemData.isAsnEncoded(re)){super(re,Ae.CertificationRequest)}else{super(re)}this.tag=PemConverter.CertificateRequestTag}onInit(re){this.tbs=se.AsnConvert.serialize(re.certificationRequestInfo);this.publicKey=new PublicKey(re.certificationRequestInfo.subjectPKInfo);const ie=pe.container.resolve(_e);this.signatureAlgorithm=ie.toWebAlgorithm(re.signatureAlgorithm);this.signature=re.signature;this.attributes=re.certificationRequestInfo.attributes.map((re=>AttributeFactory.create(se.AsnConvert.serialize(re))));const oe=this.getAttribute(he.id_pkcs9_at_extensionRequest);this.extensions=[];if(oe instanceof ExtensionsAttribute){this.extensions=oe.items}this.subjectName=new Name(re.certificationRequestInfo.subject);this.subject=this.subjectName.toString()}getAttribute(re){for(const ie of this.attributes){if(ie.type===re){return ie}}return null}getAttributes(re){return this.attributes.filter((ie=>ie.type===re))}getExtension(re){for(const ie of this.extensions){if(ie.type===re){return ie}}return null}getExtensions(re){return this.extensions.filter((ie=>ie.type===re))}async verify(re=nt.get()){const ie={...this.publicKey.algorithm,...this.signatureAlgorithm};const oe=await this.publicKey.export(ie,["verify"],re);const se=pe.container.resolveAll(Tt).reverse();let ae=null;for(const re of se){ae=re.toWebSignature(ie,this.signature);if(ae){break}}if(!ae){throw Error("Cannot convert WebCrypto signature value to ASN.1 format")}const ce=await re.subtle.verify(this.signatureAlgorithm,oe,ae,this.tbs);return ce}toTextObject(){const re=this.toTextObjectEmpty();const ie=se.AsnConvert.parse(this.rawData,Ae.CertificationRequest);const oe=ie.certificationRequestInfo;const ce=new TextObject("",{Version:`${ae.Version[oe.version]} (${oe.version})`,Subject:this.subject,"Subject Public Key Info":this.publicKey});if(this.attributes.length){const re=new TextObject("");for(const ie of this.attributes){const oe=ie.toTextObject();re[oe[TextObject.NAME]]=oe}ce["Attributes"]=re}re["Data"]=ce;re["Signature"]=new TextObject("",{Algorithm:TextConverter.serializeAlgorithm(ie.signatureAlgorithm),"":ie.signature});return re}}Pkcs10CertificateRequest.NAME="PKCS#10 Certificate Request";class Pkcs10CertificateRequestGenerator{static async create(re,ie=nt.get()){if(!re.keys.privateKey){throw new Error("Bad field 'keys' in 'params' argument. 'privateKey' is empty")}if(!re.keys.publicKey){throw new Error("Bad field 'keys' in 'params' argument. 'publicKey' is empty")}const oe=await ie.subtle.exportKey("spki",re.keys.publicKey);const ce=new Ae.CertificationRequest({certificationRequestInfo:new Ae.CertificationRequestInfo({subjectPKInfo:se.AsnConvert.parse(oe,ae.SubjectPublicKeyInfo)})});if(re.name){const ie=re.name instanceof Name?re.name:new Name(re.name);ce.certificationRequestInfo.subject=se.AsnConvert.parse(ie.toArrayBuffer(),ae.Name)}if(re.attributes){for(const ie of re.attributes){ce.certificationRequestInfo.attributes.push(se.AsnConvert.parse(ie.rawData,ae.Attribute))}}if(re.extensions&&re.extensions.length){const ie=new ae.Attribute({type:he.id_pkcs9_at_extensionRequest});const oe=new ae.Extensions;for(const ie of re.extensions){oe.push(se.AsnConvert.parse(ie.rawData,ae.Extension))}ie.values.push(se.AsnConvert.serialize(oe));ce.certificationRequestInfo.attributes.push(ie)}const ue={...re.signingAlgorithm,...re.keys.privateKey.algorithm};const le=pe.container.resolve(_e);ce.signatureAlgorithm=le.toAsnAlgorithm(ue);const fe=se.AsnConvert.serialize(ce.certificationRequestInfo);const de=await ie.subtle.sign(ue,re.keys.privateKey,fe);const ge=pe.container.resolveAll(Tt).reverse();let me=null;for(const re of ge){me=re.toAsnSignature(ue,de);if(me){break}}if(!me){throw Error("Cannot convert WebCrypto signature value to ASN.1 format")}ce.signature=me;return new Pkcs10CertificateRequest(se.AsnConvert.serialize(ce))}}class X509Certificates extends Array{constructor(re){super();if(PemData.isAsnEncoded(re)){this.import(re)}else if(re instanceof X509Certificate){this.push(re)}else if(Array.isArray(re)){for(const ie of re){this.push(ie)}}}export(re){const ie=new me.SignedData;ie.version=1;ie.encapContentInfo.eContentType=me.id_data;ie.encapContentInfo.eContent=new me.EncapsulatedContent({single:new se.OctetString});ie.certificates=new me.CertificateSet(this.map((re=>new me.CertificateChoices({certificate:se.AsnConvert.parse(re.rawData,ae.Certificate)}))));const oe=new me.ContentInfo({contentType:me.id_signedData,content:se.AsnConvert.serialize(ie)});const ce=se.AsnConvert.serialize(oe);if(re==="raw"){return ce}return this.toString(re)}import(re){const ie=PemData.toArrayBuffer(re);const oe=se.AsnConvert.parse(ie,me.ContentInfo);if(oe.contentType!==me.id_signedData){throw new TypeError("Cannot parse CMS package. Incoming data is not a SignedData object.")}const ae=se.AsnConvert.parse(oe.content,me.SignedData);this.clear();for(const re of ae.certificates||[]){if(re.certificate){this.push(new X509Certificate(re.certificate))}}}clear(){while(this.pop()){}}toString(re="pem"){const ie=this.export("raw");switch(re){case"pem":return PemConverter.encode(ie,"CMS");case"pem-chain":return this.map((re=>re.toString("pem"))).join("\n");case"asn":return se.AsnConvert.toString(ie);case"hex":return ce.Convert.ToHex(ie);case"base64":return ce.Convert.ToBase64(ie);case"base64url":return ce.Convert.ToBase64Url(ie);case"text":return TextConverter.serialize(this.toTextObject());default:throw TypeError("Argument 'format' is unsupported value")}}toTextObject(){const re=se.AsnConvert.parse(this.export("raw"),me.ContentInfo);const ie=se.AsnConvert.parse(re.content,me.SignedData);const oe=new TextObject("X509Certificates",{"Content Type":OidSerializer.toString(re.contentType),Content:new TextObject("",{Version:`${me.CMSVersion[ie.version]} (${ie.version})`,Certificates:new TextObject("",{Certificate:this.map((re=>re.toTextObject()))})})});return oe}}class X509ChainBuilder{constructor(re={}){this.certificates=[];if(re.certificates){this.certificates=re.certificates}}async build(re,ie=nt.get()){const oe=new X509Certificates(re);let se=re;while(se=await this.findIssuer(se,ie)){const re=await se.getThumbprint(ie);for(const se of oe){const oe=await se.getThumbprint(ie);if(ce.isEqual(re,oe)){throw new Error("Cannot build a certificate chain. Circular dependency.")}}oe.push(se)}return oe}async findIssuer(re,ie=nt.get()){if(!await re.isSelfSigned(ie)){const oe=re.getExtension(ge.id_ce_authorityKeyIdentifier);for(const ae of this.certificates){if(ae.subject!==re.issuer){continue}if(oe){if(oe.keyId){const re=ae.getExtension(ge.id_ce_subjectKeyIdentifier);if(re&&re.keyId!==oe.keyId){continue}}else if(oe.certId){const re=ae.getExtension(ge.id_ce_subjectAltName);if(re&&!(oe.certId.serialNumber===ae.serialNumber&&ce.isEqual(se.AsnConvert.serialize(oe.certId.name),se.AsnConvert.serialize(re)))){continue}}}try{const oe={...ae.publicKey.algorithm,...re.signatureAlgorithm};const se=await ae.publicKey.export(oe,["verify"],ie);const ce=await re.verify({publicKey:se,signatureOnly:true},ie);if(!ce){continue}}catch(re){continue}return ae}}return null}}class X509CertificateGenerator{static async createSelfSigned(re,ie=nt.get()){if(!re.keys.privateKey){throw new Error("Bad field 'keys' in 'params' argument. 'privateKey' is empty")}if(!re.keys.publicKey){throw new Error("Bad field 'keys' in 'params' argument. 'publicKey' is empty")}return this.create({serialNumber:re.serialNumber,subject:re.name,issuer:re.name,notBefore:re.notBefore,notAfter:re.notAfter,publicKey:re.keys.publicKey,signingKey:re.keys.privateKey,signingAlgorithm:re.signingAlgorithm,extensions:re.extensions},ie)}static async create(re,ie=nt.get()){var oe;let ae;if(re.publicKey instanceof PublicKey){ae=re.publicKey.rawData}else if("publicKey"in re.publicKey){ae=re.publicKey.publicKey.rawData}else if(ce.BufferSourceConverter.isBufferSource(re.publicKey)){ae=re.publicKey}else{ae=await ie.subtle.exportKey("spki",re.publicKey)}const ue=re.serialNumber?ce.BufferSourceConverter.toUint8Array(ce.Convert.FromHex(re.serialNumber)):ie.getRandomValues(new Uint8Array(16));if(ue[0]>127){ue[0]&=127}if(ue.length>1&&ue[0]===0){ue[1]|=128}const le=re.notBefore||new Date;const fe=re.notAfter||new Date(le.getTime()+31536e6);const de=new ge.Certificate({tbsCertificate:new ge.TBSCertificate({version:ge.Version.v3,serialNumber:ue,validity:new ge.Validity({notBefore:le,notAfter:fe}),extensions:new ge.Extensions(((oe=re.extensions)===null||oe===void 0?void 0:oe.map((re=>se.AsnConvert.parse(re.rawData,ge.Extension))))||[]),subjectPublicKeyInfo:se.AsnConvert.parse(ae,ge.SubjectPublicKeyInfo)})});if(re.subject){const ie=re.subject instanceof Name?re.subject:new Name(re.subject);de.tbsCertificate.subject=se.AsnConvert.parse(ie.toArrayBuffer(),ge.Name)}if(re.issuer){const ie=re.issuer instanceof Name?re.issuer:new Name(re.issuer);de.tbsCertificate.issuer=se.AsnConvert.parse(ie.toArrayBuffer(),ge.Name)}const he={hash:"SHA-256"};const Ae="signingKey"in re?{...he,...re.signingAlgorithm,...re.signingKey.algorithm}:re.publicKey.algorithm;const me=pe.container.resolve(_e);de.tbsCertificate.signature=de.signatureAlgorithm=me.toAsnAlgorithm(Ae);const ye=se.AsnConvert.serialize(de.tbsCertificate);const ve="signingKey"in re?await ie.subtle.sign(Ae,re.signingKey,ye):re.signature;const be=pe.container.resolveAll(Tt).reverse();let we=null;for(const re of be){we=re.toAsnSignature(Ae,ve);if(we){break}}if(!we){throw Error("Cannot convert ASN.1 signature value to WebCrypto format")}de.signatureValue=we;return new X509Certificate(se.AsnConvert.serialize(de))}}ie.X509CrlReason=void 0;(function(re){re[re["unspecified"]=0]="unspecified";re[re["keyCompromise"]=1]="keyCompromise";re[re["cACompromise"]=2]="cACompromise";re[re["affiliationChanged"]=3]="affiliationChanged";re[re["superseded"]=4]="superseded";re[re["cessationOfOperation"]=5]="cessationOfOperation";re[re["certificateHold"]=6]="certificateHold";re[re["removeFromCRL"]=8]="removeFromCRL";re[re["privilegeWithdrawn"]=9]="privilegeWithdrawn";re[re["aACompromise"]=10]="aACompromise"})(ie.X509CrlReason||(ie.X509CrlReason={}));class X509CrlEntry extends AsnData{constructor(...re){let ie;if(ce.BufferSourceConverter.isBufferSource(re[0])){ie=ce.BufferSourceConverter.toArrayBuffer(re[0])}else{ie=se.AsnConvert.serialize(new ae.RevokedCertificate({userCertificate:re[0],revocationDate:new ae.Time(re[1]),crlEntryExtensions:re[2]}))}super(ie,ae.RevokedCertificate)}onInit(re){this.serialNumber=ce.Convert.ToHex(re.userCertificate);this.revocationDate=re.revocationDate.getTime();this.extensions=[];if(re.crlEntryExtensions){this.extensions=re.crlEntryExtensions.map((re=>{const ie=ExtensionFactory.create(se.AsnConvert.serialize(re));switch(ie.type){case ae.id_ce_cRLReasons:this.reason=se.AsnConvert.parse(ie.value,ae.CRLReason).reason;break;case ae.id_ce_invalidityDate:this.invalidity=se.AsnConvert.parse(ie.value,ae.InvalidityDate).value;break}return ie}))}}}class X509Crl extends PemData{constructor(re){if(PemData.isAsnEncoded(re)){super(re,ae.CertificateList)}else{super(re)}this.tag=PemConverter.CrlTag}onInit(re){var ie,oe;const ae=re.tbsCertList;this.tbs=se.AsnConvert.serialize(ae);this.version=ae.version;const ce=pe.container.resolve(_e);this.signatureAlgorithm=ce.toWebAlgorithm(re.signatureAlgorithm);this.tbsCertListSignatureAlgorithm=ae.signature;this.certListSignatureAlgorithm=re.signatureAlgorithm;this.signature=re.signature;this.issuerName=new Name(ae.issuer);this.issuer=this.issuerName.toString();const ue=ae.thisUpdate.getTime();if(!ue){throw new Error("Cannot get 'thisUpdate' value")}this.thisUpdate=ue;const le=(ie=ae.nextUpdate)===null||ie===void 0?void 0:ie.getTime();this.nextUpdate=le;this.entries=((oe=ae.revokedCertificates)===null||oe===void 0?void 0:oe.map((re=>new X509CrlEntry(se.AsnConvert.serialize(re)))))||[];this.extensions=[];if(ae.crlExtensions){this.extensions=ae.crlExtensions.map((re=>ExtensionFactory.create(se.AsnConvert.serialize(re))))}}getExtension(re){for(const ie of this.extensions){if(typeof re==="string"){if(ie.type===re){return ie}}else{if(ie instanceof re){return ie}}}return null}getExtensions(re){return this.extensions.filter((ie=>{if(typeof re==="string"){return ie.type===re}else{return ie instanceof re}}))}async verify(re,ie=nt.get()){if(!this.certListSignatureAlgorithm.isEqual(this.tbsCertListSignatureAlgorithm)){throw new Error("algorithm identifier in the sequence tbsCertList and CertificateList mismatch")}let oe;let se;const ae=re.publicKey;try{if(ae instanceof X509Certificate){oe={...ae.publicKey.algorithm,...ae.signatureAlgorithm};se=await ae.publicKey.export(oe,["verify"])}else if(ae instanceof PublicKey){oe={...ae.algorithm,...this.signature};se=await ae.export(oe,["verify"])}else{oe={...ae.algorithm,...this.signature};se=ae}}catch(re){return false}const ce=pe.container.resolveAll(Tt).reverse();let ue=null;for(const re of ce){ue=re.toWebSignature(oe,this.signature);if(ue){break}}if(!ue){throw Error("Cannot convert ASN.1 signature value to WebCrypto format")}return await ie.subtle.verify(this.signatureAlgorithm,se,ue,this.tbs)}async getThumbprint(...re){let ie;let oe="SHA-1";if(re[0]){if(!re[0].subtle){oe=re[0]||oe;ie=re[1]}else{ie=re[0]}}ie!==null&&ie!==void 0?ie:ie=nt.get();return await ie.subtle.digest(oe,this.rawData)}findRevoked(re){const ie=typeof re==="string"?re:re.serialNumber;for(const re of this.entries){if(re.serialNumber===ie){return re}}return null}}class X509CrlGenerator{static async create(re,ie=nt.get()){var oe;const ue=re.issuer instanceof Name?re.issuer:new Name(re.issuer);const le=new ge.CertificateList({tbsCertList:new ge.TBSCertList({version:ge.Version.v2,issuer:se.AsnConvert.parse(ue.toArrayBuffer(),ge.Name),thisUpdate:new ae.Time(re.thisUpdate||new Date)})});if(re.nextUpdate){le.tbsCertList.nextUpdate=new ae.Time(re.nextUpdate)}if(re.extensions&&re.extensions.length){le.tbsCertList.crlExtensions=new ge.Extensions(re.extensions.map((re=>se.AsnConvert.parse(re.rawData,ge.Extension)))||[])}if(re.entries&&re.entries.length){le.tbsCertList.revokedCertificates=[];for(const ie of re.entries){const ue=PemData.toArrayBuffer(ie.serialNumber);const fe=le.tbsCertList.revokedCertificates.findIndex((re=>ce.isEqual(re.userCertificate,ue)));if(fe>-1){throw new Error(`Certificate serial number ${ie.serialNumber} already exists in tbsCertList`)}const de=new ae.RevokedCertificate({userCertificate:ue,revocationDate:new ae.Time(ie.revocationDate||new Date)});if("extensions"in ie&&((oe=ie.extensions)===null||oe===void 0?void 0:oe.length)){de.crlEntryExtensions=ie.extensions.map((re=>se.AsnConvert.parse(re.rawData,ge.Extension)))}else{de.crlEntryExtensions=[]}if(!(ie instanceof X509CrlEntry)){if(ie.reason){de.crlEntryExtensions.push(new ge.Extension({extnID:ge.id_ce_cRLReasons,critical:false,extnValue:new se.OctetString(se.AsnConvert.serialize(new ge.CRLReason(ie.reason)))}))}if(ie.invalidity){de.crlEntryExtensions.push(new ge.Extension({extnID:ge.id_ce_invalidityDate,critical:false,extnValue:new se.OctetString(se.AsnConvert.serialize(new ge.InvalidityDate(ie.invalidity)))}))}if(ie.issuer){const ie=re.issuer instanceof Name?re.issuer:new Name(re.issuer);de.crlEntryExtensions.push(new ge.Extension({extnID:ge.id_ce_certificateIssuer,critical:false,extnValue:new se.OctetString(se.AsnConvert.serialize(se.AsnConvert.parse(ie.toArrayBuffer(),ge.Name)))}))}}le.tbsCertList.revokedCertificates.push(de)}}const fe={...re.signingAlgorithm,...re.signingKey.algorithm};const de=pe.container.resolve(_e);le.tbsCertList.signature=le.signatureAlgorithm=de.toAsnAlgorithm(fe);const he=se.AsnConvert.serialize(le.tbsCertList);const Ae=await ie.subtle.sign(fe,re.signingKey,he);const me=pe.container.resolveAll(Tt).reverse();let ye=null;for(const re of me){ye=re.toAsnSignature(fe,Ae);if(ye){break}}if(!ye){throw Error("Cannot convert ASN.1 signature value to WebCrypto format")}le.signature=ye;return new X509Crl(se.AsnConvert.serialize(le))}}ExtensionFactory.register(ge.id_ce_basicConstraints,BasicConstraintsExtension);ExtensionFactory.register(ge.id_ce_extKeyUsage,ExtendedKeyUsageExtension);ExtensionFactory.register(ge.id_ce_keyUsage,KeyUsagesExtension);ExtensionFactory.register(ge.id_ce_subjectKeyIdentifier,SubjectKeyIdentifierExtension);ExtensionFactory.register(ge.id_ce_authorityKeyIdentifier,AuthorityKeyIdentifierExtension);ExtensionFactory.register(ge.id_ce_subjectAltName,SubjectAlternativeNameExtension);AttributeFactory.register(be.id_pkcs9_at_challengePassword,ChallengePasswordAttribute);AttributeFactory.register(be.id_pkcs9_at_extensionRequest,ExtensionsAttribute);pe.container.registerSingleton(Tt,AsnDefaultSignatureFormatter);pe.container.registerSingleton(Tt,AsnEcSignatureFormatter);AsnEcSignatureFormatter.namedCurveSize.set("P-256",32);AsnEcSignatureFormatter.namedCurveSize.set("K-256",32);AsnEcSignatureFormatter.namedCurveSize.set("P-384",48);AsnEcSignatureFormatter.namedCurveSize.set("P-521",66);ie.AlgorithmProvider=AlgorithmProvider;ie.AsnData=AsnData;ie.AsnDefaultSignatureFormatter=AsnDefaultSignatureFormatter;ie.AsnEcSignatureFormatter=AsnEcSignatureFormatter;ie.Attribute=Attribute;ie.AttributeFactory=AttributeFactory;ie.AuthorityKeyIdentifierExtension=AuthorityKeyIdentifierExtension;ie.BasicConstraintsExtension=BasicConstraintsExtension;ie.CertificatePolicyExtension=CertificatePolicyExtension;ie.ChallengePasswordAttribute=ChallengePasswordAttribute;ie.CryptoProvider=CryptoProvider;ie.DefaultAlgorithmSerializer=DefaultAlgorithmSerializer;ie.ExtendedKeyUsageExtension=ExtendedKeyUsageExtension;ie.Extension=Extension;ie.ExtensionFactory=ExtensionFactory;ie.ExtensionsAttribute=ExtensionsAttribute;ie.GeneralName=GeneralName;ie.GeneralNames=GeneralNames;ie.KeyUsagesExtension=KeyUsagesExtension;ie.Name=Name;ie.NameIdentifier=NameIdentifier;ie.OidSerializer=OidSerializer;ie.PemConverter=PemConverter;ie.Pkcs10CertificateRequest=Pkcs10CertificateRequest;ie.Pkcs10CertificateRequestGenerator=Pkcs10CertificateRequestGenerator;ie.PublicKey=PublicKey;ie.SubjectAlternativeNameExtension=SubjectAlternativeNameExtension;ie.SubjectKeyIdentifierExtension=SubjectKeyIdentifierExtension;ie.TextConverter=TextConverter;ie.TextObject=TextObject;ie.X509Certificate=X509Certificate;ie.X509CertificateGenerator=X509CertificateGenerator;ie.X509Certificates=X509Certificates;ie.X509ChainBuilder=X509ChainBuilder;ie.X509Crl=X509Crl;ie.X509CrlEntry=X509CrlEntry;ie.X509CrlGenerator=X509CrlGenerator;ie.cryptoProvider=nt;ie.diAlgorithm=we;ie.diAlgorithmProvider=_e;ie.diAsnSignatureFormatter=Tt;ie.idEd25519=Nt;ie.idEd448=jt;ie.idX25519=Rt;ie.idX448=Mt},10787:re=>{var ie;var oe;var se;var ae;var ce;var ue;var le;var fe;var de;var pe;var he;var Ae;var ge;var me;var ye;var ve;var be;var we;var _e;var Ee;var Ce;var Ie;var Se;var Be;var xe;var ke;var Oe;var De;var Pe;var Te;var Qe;(function(ie){var oe=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd){define("tslib",["exports"],(function(re){ie(createExporter(oe,createExporter(re)))}))}else if(true&&typeof re.exports==="object"){ie(createExporter(oe,createExporter(re.exports)))}else{ie(createExporter(oe))}function createExporter(re,ie){if(re!==oe){if(typeof Object.create==="function"){Object.defineProperty(re,"__esModule",{value:true})}else{re.__esModule=true}}return function(oe,se){return re[oe]=ie?ie(oe,se):se}}})((function(re){var Re=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,ie){re.__proto__=ie}||function(re,ie){for(var oe in ie)if(Object.prototype.hasOwnProperty.call(ie,oe))re[oe]=ie[oe]};ie=function(re,ie){if(typeof ie!=="function"&&ie!==null)throw new TypeError("Class extends value "+String(ie)+" is not a constructor or null");Re(re,ie);function __(){this.constructor=re}re.prototype=ie===null?Object.create(ie):(__.prototype=ie.prototype,new __)};oe=Object.assign||function(re){for(var ie,oe=1,se=arguments.length;oe=0;le--)if(ue=re[le])ce=(ae<3?ue(ce):ae>3?ue(ie,oe,ce):ue(ie,oe))||ce;return ae>3&&ce&&Object.defineProperty(ie,oe,ce),ce};ce=function(re,ie){return function(oe,se){ie(oe,se,re)}};ue=function(re,ie,oe,se,ae,ce){function accept(re){if(re!==void 0&&typeof re!=="function")throw new TypeError("Function expected");return re}var ue=se.kind,le=ue==="getter"?"get":ue==="setter"?"set":"value";var fe=!ie&&re?se["static"]?re:re.prototype:null;var de=ie||(fe?Object.getOwnPropertyDescriptor(fe,se.name):{});var pe,he=false;for(var Ae=oe.length-1;Ae>=0;Ae--){var ge={};for(var me in se)ge[me]=me==="access"?{}:se[me];for(var me in se.access)ge.access[me]=se.access[me];ge.addInitializer=function(re){if(he)throw new TypeError("Cannot add initializers after decoration has completed");ce.push(accept(re||null))};var ye=(0,oe[Ae])(ue==="accessor"?{get:de.get,set:de.set}:de[le],ge);if(ue==="accessor"){if(ye===void 0)continue;if(ye===null||typeof ye!=="object")throw new TypeError("Object expected");if(pe=accept(ye.get))de.get=pe;if(pe=accept(ye.set))de.set=pe;if(pe=accept(ye.init))ae.unshift(pe)}else if(pe=accept(ye)){if(ue==="field")ae.unshift(pe);else de[le]=pe}}if(fe)Object.defineProperty(fe,se.name,de);he=true};le=function(re,ie,oe){var se=arguments.length>2;for(var ae=0;ae0&&ce[ce.length-1])&&(le[0]===6||le[0]===2)){oe=0;continue}if(le[0]===3&&(!ce||le[1]>ce[0]&&le[1]=re.length)re=void 0;return{value:re&&re[se++],done:!re}}};throw new TypeError(ie?"Object is not iterable.":"Symbol.iterator is not defined.")};ye=function(re,ie){var oe=typeof Symbol==="function"&&re[Symbol.iterator];if(!oe)return re;var se=oe.call(re),ae,ce=[],ue;try{while((ie===void 0||ie-- >0)&&!(ae=se.next()).done)ce.push(ae.value)}catch(re){ue={error:re}}finally{try{if(ae&&!ae.done&&(oe=se["return"]))oe.call(se)}finally{if(ue)throw ue.error}}return ce};ve=function(){for(var re=[],ie=0;ie1||resume(re,ie)}))};if(ie)ae[re]=ie(ae[re])}}function resume(re,ie){try{step(se[re](ie))}catch(re){settle(ce[0][3],re)}}function step(re){re.value instanceof _e?Promise.resolve(re.value.v).then(fulfill,reject):settle(ce[0][2],re)}function fulfill(re){resume("next",re)}function reject(re){resume("throw",re)}function settle(re,ie){if(re(ie),ce.shift(),ce.length)resume(ce[0][0],ce[0][1])}};Ce=function(re){var ie,oe;return ie={},verb("next"),verb("throw",(function(re){throw re})),verb("return"),ie[Symbol.iterator]=function(){return this},ie;function verb(se,ae){ie[se]=re[se]?function(ie){return(oe=!oe)?{value:_e(re[se](ie)),done:false}:ae?ae(ie):ie}:ae}};Ie=function(re){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ie=re[Symbol.asyncIterator],oe;return ie?ie.call(re):(re=typeof me==="function"?me(re):re[Symbol.iterator](),oe={},verb("next"),verb("throw"),verb("return"),oe[Symbol.asyncIterator]=function(){return this},oe);function verb(ie){oe[ie]=re[ie]&&function(oe){return new Promise((function(se,ae){oe=re[ie](oe),settle(se,ae,oe.done,oe.value)}))}}function settle(re,ie,oe,se){Promise.resolve(se).then((function(ie){re({value:ie,done:oe})}),ie)}};Se=function(re,ie){if(Object.defineProperty){Object.defineProperty(re,"raw",{value:ie})}else{re.raw=ie}return re};var Me=Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie};Be=function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))Pe(ie,re,oe);Me(ie,re);return ie};xe=function(re){return re&&re.__esModule?re:{default:re}};ke=function(re,ie,oe,se){if(oe==="a"&&!se)throw new TypeError("Private accessor was defined without a getter");if(typeof ie==="function"?re!==ie||!se:!ie.has(re))throw new TypeError("Cannot read private member from an object whose class did not declare it");return oe==="m"?se:oe==="a"?se.call(re):se?se.value:ie.get(re)};Oe=function(re,ie,oe,se,ae){if(se==="m")throw new TypeError("Private method is not writable");if(se==="a"&&!ae)throw new TypeError("Private accessor was defined without a setter");if(typeof ie==="function"?re!==ie||!ae:!ie.has(re))throw new TypeError("Cannot write private member to an object whose class did not declare it");return se==="a"?ae.call(re,oe):ae?ae.value=oe:ie.set(re,oe),oe};De=function(re,ie){if(ie===null||typeof ie!=="object"&&typeof ie!=="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof re==="function"?ie===re:re.has(ie)};Te=function(re,ie,oe){if(ie!==null&&ie!==void 0){if(typeof ie!=="object"&&typeof ie!=="function")throw new TypeError("Object expected.");var se,ae;if(oe){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");se=ie[Symbol.asyncDispose]}if(se===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");se=ie[Symbol.dispose];if(oe)ae=se}if(typeof se!=="function")throw new TypeError("Object not disposable.");if(ae)se=function(){try{ae.call(this)}catch(re){return Promise.reject(re)}};re.stack.push({value:ie,dispose:se,async:oe})}else if(oe){re.stack.push({async:true})}return ie};var Ne=typeof SuppressedError==="function"?SuppressedError:function(re,ie,oe){var se=new Error(oe);return se.name="SuppressedError",se.error=re,se.suppressed=ie,se};Qe=function(re){function fail(ie){re.error=re.hasError?new Ne(ie,re.error,"An error was suppressed during disposal."):ie;re.hasError=true}function next(){while(re.stack.length){var ie=re.stack.pop();try{var oe=ie.dispose&&ie.dispose.call(ie.value);if(ie.async)return Promise.resolve(oe).then(next,(function(re){fail(re);return next()}))}catch(re){fail(re)}}if(re.hasError)throw re.error}return next()};re("__extends",ie);re("__assign",oe);re("__rest",se);re("__decorate",ae);re("__param",ce);re("__esDecorate",ue);re("__runInitializers",le);re("__propKey",fe);re("__setFunctionName",de);re("__metadata",pe);re("__awaiter",he);re("__generator",Ae);re("__exportStar",ge);re("__createBinding",Pe);re("__values",me);re("__read",ye);re("__spread",ve);re("__spreadArrays",be);re("__spreadArray",we);re("__await",_e);re("__asyncGenerator",Ee);re("__asyncDelegator",Ce);re("__asyncValues",Ie);re("__makeTemplateObject",Se);re("__importStar",Be);re("__importDefault",xe);re("__classPrivateFieldGet",ke);re("__classPrivateFieldSet",Oe);re("__classPrivateFieldIn",De);re("__addDisposableResource",Te);re("__disposeResources",Qe)}))},25481:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};var ue=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};Object.defineProperty(ie,"__esModule",{value:true});const le=ce(oe(4114));const fe=oe(98718);const attachPayload=({payload:re,signature:ie})=>ue(void 0,void 0,void 0,(function*(){const oe=le.decodeFirstSync(ie);oe.value[2]=(0,fe.typedArrayToBuffer)(re);return new Uint8Array(yield le.encodeAsync(oe))}));ie["default"]=attachPayload},11209:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};Object.defineProperty(ie,"__esModule",{value:true});const ue=ce(oe(4114));const le=Object.assign({web:ue},ue);ie["default"]=le},71589:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};var ue=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};Object.defineProperty(ie,"__esModule",{value:true});const le=ce(oe(4114));const detachPayload=re=>ue(void 0,void 0,void 0,(function*(){const ie=le.decodeFirstSync(re);const oe=ie.value[2];ie.value[2]=null;le.encode(ie);const se=new Uint8Array(yield le.encodeAsync(ie));return{payload:oe,signature:se}}));ie["default"]=detachPayload},40776:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ae=se(oe(38171));const ce=se(oe(94781));const ue={signer:ae.default,verifier:ce.default};ie["default"]=ue},38171:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};var ae=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ce=oe(34061);const ue=ae(oe(99602));const le=ae(oe(71589));const signer=({privateKeyJwk:re})=>se(void 0,void 0,void 0,(function*(){return{alg:re.alg,sign:({protectedHeader:ie,unprotectedHeader:oe,payload:ae})=>se(void 0,void 0,void 0,(function*(){const se=yield ue.default.sign.create({p:ie,u:oe},ae,{key:{d:ce.base64url.decode(re.d)}});return(0,le.default)(se)}))}}));ie["default"]=signer},94781:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};var ae=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ce=oe(34061);const ue=ae(oe(99602));const le=ae(oe(25481));const verifier=({publicKeyJwk:re})=>se(void 0,void 0,void 0,(function*(){return{verify:({payload:ie,signature:oe})=>se(void 0,void 0,void 0,(function*(){const se=yield(0,le.default)({payload:ie,signature:oe});try{yield ue.default.sign.verify(se,{key:{x:ce.base64url.decode(re.x),y:ce.base64url.decode(re.y)}});return true}catch(re){}return false}))}}));ie["default"]=verifier},39893:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};var ue=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};Object.defineProperty(ie,"__esModule",{value:true});const le=ce(oe(4114));const alternateDiagnostic=re=>ue(void 0,void 0,void 0,(function*(){const ie=yield le.decode(re);if(ie.tag===18&&ie.value[2]===null){ie.value[2]="nil";const re=yield le.encode(ie);let oe=yield le.diagnose(re,{separator:"\n"});oe=oe.replace(/"nil"/gm,"nil");oe=oe.replace(/\(/gm,"(\n");oe=oe.replace(/\)/gm,"\n)");oe=oe.replace(/\[/gm,"[\n");oe=oe.replace(/\]/gm,"\n]");oe=oe.replace(/, /gm,",\n");return oe}let oe=yield le.diagnose(re,{separator:"\n"});oe=oe.replace(/\{/gm,"{\n");oe=oe.replace(/\}/gm,"\n}");oe=oe.replace(/\[/gm,"[\n");oe=oe.replace(/\]/gm,"\n]");oe=oe.replace(/, /gm,",\n");return oe}));ie["default"]=alternateDiagnostic},36633:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};Object.defineProperty(ie,"__esModule",{value:true});const ue=ce(oe(4114));const getContentType=re=>{const{value:[ie]}=ue.decode(re);const oe=ue.decode(ie);const se=3;return oe.get(se)};ie["default"]=getContentType},1546:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};Object.defineProperty(ie,"__esModule",{value:true});const ue=ce(oe(4114));const getKid=re=>{const{value:[ie]}=ue.decode(re);const oe=ue.decode(ie);const se=oe.get(4);const ae=(new TextDecoder).decode(se);return ae};ie["default"]=getKid},88844:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};var ue=this&&this.__exportStar||function(re,ie){for(var oe in re)if(oe!=="default"&&!Object.prototype.hasOwnProperty.call(ie,oe))se(ie,re,oe)};var le=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const fe=le(oe(65081));const de=le(oe(55317));const pe=le(oe(39893));const he=le(oe(62002));const Ae=le(oe(68747));const ge=le(oe(11209));const me=le(oe(71589));const ye=le(oe(25481));const ve=le(oe(40776));const be=oe(57994);const we=le(oe(1546));const _e=le(oe(36633));const Ee=le(oe(98718));const Ce=le(oe(84495));const Ie=ce(oe(27678));const Se=ce(oe(4640));const Be=ce(oe(92966));const xe={key:Ie,scitt:Be,lib:Se,utils:Ee.default,rfc:Ce.default,detached:ve.default,getKid:we.default,getContentType:_e.default,binToHex:be.RFC9162.binToHex,hexToBin:be.RFC9162.hexToBin,cbor:ge.default,merkle:Ae.default,diagnostic:pe.default,detachPayload:me.default,attachPayload:ye.default,unprotectedHeader:he.default,signer:fe.default,verifier:de.default};ue(oe(16107),ie);ie["default"]=xe},63379:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.edn=ie.beautify=void 0;const se=oe(60433);const ae=oe(15557);const keySorter=(re,ie)=>{const oe=parseInt(re.split(":")[0]);const se=parseInt(ie.split(":")[0]);if(oe>=0&&se>=0){return oe>=se?1:-1}else{if(re.includes("[")){return 0}return oe>=se?-1:1}};const beautify=re=>{const ie=[];const oe=" ".repeat(2);for(const[ce,ue]of re.entries()){switch(ce){case 1:{ie.push((0,ae.addComment)(`${oe}${ce}: ${ue},`,"Type"));break}case 2:{ie.push((0,ae.addComment)(`${oe}${ce}: ${(0,se.bufferToTruncatedBstr)(ue)},`,"Identifier"));break}case 3:{ie.push((0,ae.addComment)(`${oe}${ce}: ${ue||"TBD"},`,"Algorithm"));break}case-1:{ie.push((0,ae.addComment)(`${oe}${ce}: ${ue},`,`Curve`));break}case-2:{ie.push((0,ae.addComment)(`${oe}${ce}: ${(0,se.bufferToTruncatedBstr)(ue)},`,"x public key component"));break}case-3:{ie.push((0,ae.addComment)(`${oe}${ce}: ${(0,se.bufferToTruncatedBstr)(ue)},`,"y public key component"));break}case-4:{ie.push((0,ae.addComment)(`${oe}${ce}: ${(0,se.bufferToTruncatedBstr)(ue)},`,"d private key component"));break}case-13:{ie.push((0,ae.addComment)(`${oe}${ce}: ${(0,se.bufferToTruncatedBstr)(ue)},`,"Post quantum private key"));break}case-14:{ie.push((0,ae.addComment)(`${oe}${ce}: ${(0,se.bufferToTruncatedBstr)(ue)},`,"Post quantum public key"));break}case-66666:{ie.push((0,ae.addComment)(`${oe}${ce}: [`,"X.509 Certificate Chain"));for(const re of ue){ie.push((0,ae.addComment)(`${oe} ${(0,se.bufferToTruncatedBstr)(re)},`,"X.509 Certificate"))}ie.push(`${oe}],`);break}case-66667:{ie.push((0,ae.addComment)(`${oe}${ce}: ${(0,se.bufferToTruncatedBstr)(ue)},`,"X.509 SHA-256 Thumbprint"));break}default:{throw new Error("Unsupported cose key value: "+ce)}}}return`\n${(0,ae.addComment)("{","COSE Key")}\n${ie.sort(keySorter).join("\n")}\n}\n`.trim()};ie.beautify=beautify;ie.edn=ie.beautify},38164:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};var ue=this&&this.__rest||function(re,ie){var oe={};for(var se in re)if(Object.prototype.hasOwnProperty.call(re,se)&&ie.indexOf(se)<0)oe[se]=re[se];if(re!=null&&typeof Object.getOwnPropertySymbols==="function")for(var ae=0,se=Object.getOwnPropertySymbols(re);ae{const{kty:ie,kid:oe,alg:se,crv:ae,x:ce,y:le,d:fe}=re,de=ue(re,["kty","kid","alg","crv","x","y","d"]);return JSON.parse(JSON.stringify(Object.assign({kty:ie,kid:oe,alg:se,crv:ae,x:ce,y:le,d:fe},de)))};const coseKeyToJwk=re=>{const ie={};for(const[oe,se]of re.entries()){switch(oe){case 1:{const re=de.default.types.toJOSE.get(se);ie.kty=re;break}case 2:{ie.kid=typeof se==="string"?se:pe.decode(se);break}case 3:{const re=de.default.algorithms.toJOSE.get(se);ie.alg=re;break}case-1:{const re=de.default.curves.toJOSE.get(se);ie.crv=re;break}case-2:{ie.x=fe.base64url.encode(se);break}case-3:{ie.y=fe.base64url.encode(se);break}case-4:{ie.d=fe.base64url.encode(se);break}default:{}}}return sortJwk(ie)};const exportJWK=re=>coseKeyToJwk(re);ie.exportJWK=exportJWK},35662:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};var ue=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};var le=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});ie.generate=void 0;const fe=ce(oe(34061));const de=oe(54222);const pe=le(oe(59417));const generate=re=>ue(void 0,void 0,void 0,(function*(){const ie=pe.default.algorithms.toJOSE.get(re);if(!ie){throw new Error("Unsupported algorithm: "+re)}const oe=yield fe.generateKeyPair(ie,{extractable:true});const se=yield fe.exportJWK(oe.privateKey);const ae=yield fe.calculateJwkThumbprint(se);return(0,de.importJWK)(Object.assign(Object.assign({},se),{alg:ie,kid:ae}))}));ie.generate=generate},54222:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};var ue=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});ie.importJWK=void 0;const le=ce(oe(34061));const fe=oe(98718);const de=ue(oe(59417));const jwkToCoseKey=re=>{const ie=new Map;for(const[oe,se]of Object.entries(re)){const re=de.default.parameters.toCOSE.get(oe);switch(oe){case"kty":{const oe=de.default.types.toCOSE.get(se);ie.set(re,oe);break}case"kid":{ie.set(re,se);break}case"alg":{const oe=de.default.algorithms.toCOSE.get(se);ie.set(re,oe);break}case"crv":{const oe=de.default.curves.toCOSE.get(se);ie.set(re,oe);break}case"x":{ie.set(re,(0,fe.typedArrayToBuffer)(le.base64url.decode(se)));break}case"y":{ie.set(re,(0,fe.typedArrayToBuffer)(le.base64url.decode(se)));break}case"d":{ie.set(re,(0,fe.typedArrayToBuffer)(le.base64url.decode(se)));break}case"use":{break}case"key_ops":{break}case"x5c":{const oe=(se||[]).map((re=>(0,fe.typedArrayToBuffer)(le.base64url.decode(re))));ie.set(re,oe);break}case"x5t#S256":{ie.set(re,(0,fe.typedArrayToBuffer)(le.base64url.decode(se)));break}default:{throw new Error("Unsupported JWK param: "+oe)}}}return ie};const importJWK=re=>jwkToCoseKey(re);ie.importJWK=importJWK},27678:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__exportStar||function(re,ie){for(var oe in re)if(oe!=="default"&&!Object.prototype.hasOwnProperty.call(ie,oe))se(ie,re,oe)};var ce=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});ie.utils=void 0;ae(oe(35662),ie);ae(oe(63379),ie);ae(oe(54222),ie);ae(oe(38164),ie);ae(oe(44144),ie);const ue=ce(oe(59417));ie.utils=ue.default},59417:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.keyUtils=void 0;const se=oe(24400);const reverse=re=>new Map(Array.from(re,(re=>re.reverse())));const ae=new Map([[-7,"ES256"],[-35,"ES384"],[-36,"ES512"],[-55555,"HPKE-Base-P256-SHA256-AES128GCM"]]);const ce={toJOSE:ae,toCOSE:reverse(ae)};const ue=new Map([[1,"kty"],[2,"kid"],[3,"alg"],[-1,"crv"],[-2,"x"],[-3,"y"],[-4,"d"],[-66666,"x5c"],[-66667,`x5t#S256`]]);const le={toJOSE:ue,toCOSE:reverse(ue)};const fe=new Map([[1,"P-256"],[2,"P-384"],[3,"P-521"]]);const de={toJOSE:fe,toCOSE:reverse(fe)};const pe=new Map([[2,"EC"]]);const he={toJOSE:pe,toCOSE:reverse(pe)};ie.keyUtils={publicFromPrivate:se.publicFromPrivate,algorithms:ce,parameters:le,curves:de,types:he};ie["default"]=ie.keyUtils},24400:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.publicFromPrivate=void 0;const publicFromPrivate=re=>{const ie=new Map(re);if(ie.get(1)!==2){throw new Error("Only EC2 keys are supported")}if(!ie.get(-4)){throw new Error("secretCoseKeyMap is not a secret / private key (has no d / -4)")}ie.delete(-4);return ie};ie.publicFromPrivate=publicFromPrivate},44144:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};var ae=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});ie.thumbprint=void 0;const ce=oe(34061);const ue=ae(oe(11209));const le=ae(oe(55287));const calculateCoseKeyThumbprint=re=>se(void 0,void 0,void 0,(function*(){const ie=new Map;const oe=[1,-1,-2,-3];for(const[se,ae]of re.entries()){if(oe.includes(se)){ie.set(se,ae)}}const se=ue.default.web.encodeCanonical(ie);const ae=yield(0,le.default)();const ce=ae.digest("SHA-256",se);return ce}));const calculateCoseKeyThumbprintUri=re=>se(void 0,void 0,void 0,(function*(){const ie=`urn:ietf:params:oauth:ckt:sha-256`;const oe=yield calculateCoseKeyThumbprint(re);return`${ie}:${ce.base64url.encode(new Uint8Array(oe))}`}));ie.thumbprint={calculateJwkThumbprint:ce.calculateJwkThumbprint,calculateJwkThumbprintUri:ce.calculateJwkThumbprintUri,calculateCoseKeyThumbprint:calculateCoseKeyThumbprint,calculateCoseKeyThumbprintUri:calculateCoseKeyThumbprintUri,uri:calculateCoseKeyThumbprintUri};ie["default"]=ie.thumbprint},85066:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.AlgFromTags=void 0;ie.AlgFromTags={};ie.AlgFromTags[-7]={alg:"ES256",digest:"SHA-256",crv:"P-256"};ie.AlgFromTags[-35]={alg:"ES384",digest:"SHA-384",crv:"P-384"};ie.AlgFromTags[-36]={alg:"ES512",digest:"SHA-512",crv:"P-521"}},82940:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});ie.TranslateHeaders=ie.getCommonParameter=ie.tagToLabel=ie.labelToTag=void 0;const ae=se(oe(62002));ie.labelToTag=new Map;ie.labelToTag.set("alg",1);ie.labelToTag.set("crit",2);ie.labelToTag.set("content_type",3);ie.labelToTag.set("kid",4);ie.labelToTag.set("counter_signature",7);ie.tagToLabel=new Map(Array.from(ie.labelToTag,(re=>re.reverse())));function getCommonParameter(re,ie,oe){if(oe===undefined){throw new Error("Cannot get parameter from undefined tag")}let se;if(re.get){se=re.get(oe)}if(!se&&ie.get){se=ie.get(oe)}if(!se){throw new Error(`Could not get header parameter by label: ${oe}`)}return se}ie.getCommonParameter=getCommonParameter;const ce={partyUNonce:-22,static_key_id:-3,static_key:-2,ephemeral_key:-1,alg:1,crit:2,content_type:3,ctyp:3,kid:4,IV:5,Partial_IV:6,counter_signature:7,x5chain:33,verifiable_data_structure:ae.default.verifiable_data_structure};const ue={PS512:-39,PS384:-38,PS256:-37,RS512:-259,RS384:-258,RS256:-257,"ECDH-SS-512":-28,"ECDH-SS":-27,"ECDH-ES-512":-26,"ECDH-ES":-25,ES256:-7,ES384:-35,ES512:-36,direct:-6,A128GCM:1,A192GCM:2,A256GCM:3,"SHA-256_64":4,"SHA-256-64":4,"HS256/64":4,"SHA-256":5,HS256:5,"SHA-384":6,HS384:6,"SHA-512":7,HS512:7,"AES-CCM-16-64-128":10,"AES-CCM-16-128/64":10,"AES-CCM-16-64-256":11,"AES-CCM-16-256/64":11,"AES-CCM-64-64-128":12,"AES-CCM-64-128/64":12,"AES-CCM-64-64-256":13,"AES-CCM-64-256/64":13,"AES-MAC-128/64":14,"AES-MAC-256/64":15,"AES-MAC-128/128":25,"AES-MAC-256/128":26,"AES-CCM-16-128-128":30,"AES-CCM-16-128/128":30,"AES-CCM-16-128-256":31,"AES-CCM-16-256/128":31,"AES-CCM-64-128-128":32,"AES-CCM-64-128/128":32,"AES-CCM-64-128-256":33,"AES-CCM-64-256/128":33};const le={RFC9162_SHA256:1};const fe={kid:re=>Buffer.from(re,"utf8"),alg:re=>{if(!ue[re]){throw new Error("Unknown 'alg' parameter, "+re)}return ue[re]},verifiable_data_structure:re=>{if(!le[re]){throw new Error("Unknown 'verifiable_data_structure' parameter, "+re)}return le[re]}};const TranslateHeaders=function(re){const ie=new Map;for(const oe in re){if(!ce[oe]){throw new Error("Unknown parameter, '"+oe+"'")}let se=re[oe];if(fe[oe]){se=fe[oe](re[oe])}if(se!==undefined&&se!==null){ie.set(ce[oe],se)}}return ie};ie.TranslateHeaders=TranslateHeaders},68290:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};Object.defineProperty(ie,"__esModule",{value:true});ie.Tagged=ie.EMPTY_BUFFER=ie.Sign1Tag=void 0;const ue=ce(oe(4114));const le=oe(98718);ie.Sign1Tag=18;ie.EMPTY_BUFFER=(0,le.typedArrayToBuffer)(new Uint8Array);ie.Tagged=ue.Tagged},94425:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const oe=new Map;oe.set("ES256",-7);oe.set("ES384",-35);oe.set("ES512",-36);const getAlgFromVerificationKey=re=>{const ie=oe.get(re.alg);if(!ie){throw new Error("This library requires keys to contain fully specified algorithms")}return ie};ie["default"]=getAlgFromVerificationKey},43906:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const oe=new Map;oe.set("ES256",`SHA-256`);oe.set("ES384",`SHA-384`);oe.set("ES512",`SHA-512`);const getDigestFromVerificationKey=re=>{const ie=oe.get(re.alg);if(!ie){throw new Error("This library requires keys to contain fully specified algorithms")}return ie};ie["default"]=getDigestFromVerificationKey},4640:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};var ue=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});ie.Headers=ie.verifier=ie.signer=void 0;const le=ue(oe(35812));ie.signer=le.default;const fe=ue(oe(89245));ie.verifier=fe.default;const de=ce(oe(82940));ie.Headers=de},35812:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};var ue=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};var le=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const fe=ce(oe(4114));const de=oe(68290);const pe=le(oe(43906));const he=le(oe(55287));const signer=({secretKeyJwk:re})=>{const ie=(0,pe.default)(re);return{sign:({protectedHeader:oe,unprotectedHeader:se,externalAAD:ae,payload:ce})=>ue(void 0,void 0,void 0,(function*(){const ue=yield(0,he.default)();const le=ce;const pe=oe.size===0?de.EMPTY_BUFFER:fe.encode(oe);const Ae=["Signature1",pe,ae||de.EMPTY_BUFFER,le];const ge=fe.encode(Ae);const me=yield ue.importKey("jwk",re,{name:"ECDSA",namedCurve:re.crv},true,["sign"]);const ye=yield ue.sign({name:"ECDSA",hash:{name:ie}},me,ge);const ve=[pe,se,le,ye];return fe.encodeAsync(new de.Tagged(de.Sign1Tag,ve),{canonical:true})}))}};ie["default"]=signer},55287:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};var ue=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};Object.defineProperty(ie,"__esModule",{value:true});const le=Promise.resolve().then((()=>ce(oe(6113)))).catch((()=>{}));ie["default"]=()=>ue(void 0,void 0,void 0,(function*(){try{return window.crypto.subtle}catch(re){return(yield yield le).subtle}}))},89245:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};var ue=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};var le=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const fe=ce(oe(4114));const de=le(oe(94425));const pe=le(oe(43906));const he=oe(85066);const Ae=oe(82940);const ge=oe(68290);const me=le(oe(55287));const verifier=({publicKeyJwk:re})=>{const ie=(0,pe.default)(re);return{verify:(oe,se=ge.EMPTY_BUFFER)=>ue(void 0,void 0,void 0,(function*(){const ae=yield(0,me.default)();const ce=yield fe.decodeFirst(oe);const ue=ce.value;const le=(0,de.default)(re);if(!Array.isArray(ue)){throw new Error("Expecting Array")}if(ue.length!==4){throw new Error("Expecting Array of length 4")}const[pe,ge,ye,ve]=ue;const be=!pe.length?new Map:fe.decodeFirstSync(pe);const we=(0,Ae.getCommonParameter)(be,ge,Ae.labelToTag.get("alg"));if(we!==le){throw new Error("Verification key does not support algorithm: "+we)}if(!he.AlgFromTags[we]){throw new Error("Unknown algorithm, "+we)}if(!ve){throw new Error("No signature to verify")}const _e=["Signature1",pe,se,ye];const Ee=yield ae.importKey("jwk",re,{name:"ECDSA",namedCurve:re.crv},true,["verify"]);const Ce=fe.encode(_e);const Ie=yield ae.verify({name:"ECDSA",hash:{name:ie}},Ee,ve,Ce);if(!Ie){throw new Error("Signature verification failed")}return ye}))}};ie["default"]=verifier},68747:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(57994);const ae=oe(37415);const ce=oe(76838);const ue=oe(3692);const le=oe(63853);const fe=oe(34935);const de=oe(9655);const pe={tree_alg:se.CoMETRE.RFC9162_SHA256.tree_alg,leaf:se.CoMETRE.RFC9162_SHA256.leaf,root:ae.sign_root,inclusion_proof:ce.sign_inclusion_proof,verify_inclusion_proof:ue.verify_inclusion_proof,consistency_proof:le.sign_consistency_proof,verify_consistency_proof:fe.verify_consistency_proof,verify_multiple:de.verify_multiple};ie["default"]=pe},63853:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};var ae=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});ie.sign_consistency_proof=void 0;const ce=oe(57994);const ue=ae(oe(62002));const le=ae(oe(11209));const fe=oe(98718);const de=ae(oe(111));const sign_consistency_proof=({kid:re,alg:ie,leaves:oe,signed_inclusion_proof:ae,signer:pe})=>se(void 0,void 0,void 0,(function*(){const se=le.default.web.decode(ae);const he=se.value[1].get(ue.default.verifiable_data_structure_proofs);const Ae=he.get(de.default.inclusion_proof);const[ge,me,ye]=le.default.web.decode(Ae[0]);const ve=ce.CoMETRE.RFC9162_SHA256.consistency_proof({log_id:"",tree_size:ge,leaf_index:me,inclusion_path:ye},oe);const be=ce.CoMETRE.RFC9162_SHA256.root(oe);const we=yield pe.sign({protectedHeader:{alg:ie,kid:re,verifiable_data_structure:"RFC9162_SHA256"},payload:be});const _e=new Map;const Ee=new Map;Ee.set(de.default.consistency_proof,[le.default.web.encode([ve.tree_size_1,ve.tree_size_2,ve.consistency_path.map(fe.typedArrayToBuffer)])]);_e.set(ue.default.verifiable_data_structure_proofs,Ee);const Ce=ue.default.set(we,_e);return Ce}));ie.sign_consistency_proof=sign_consistency_proof},76838:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};var ae=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});ie.sign_inclusion_proof=void 0;const ce=oe(57994);const ue=ae(oe(62002));const le=ae(oe(11209));const fe=ae(oe(71589));const de=oe(98718);const pe=ae(oe(111));const sign_inclusion_proof=({kid:re,alg:ie,leaf_index:oe,leaves:ae,signer:he})=>se(void 0,void 0,void 0,(function*(){const se=ce.CoMETRE.RFC9162_SHA256.root(ae);const Ae=ce.CoMETRE.RFC9162_SHA256.inclusion_proof(oe,ae);const ge=yield he.sign({protectedHeader:{alg:ie,kid:re,verifiable_data_structure:"RFC9162_SHA256"},payload:se});const me=new Map;const ye=new Map;ye.set(pe.default.inclusion_proof,[le.default.web.encode([Ae.tree_size,Ae.leaf_index,Ae.inclusion_path.map(de.typedArrayToBuffer)])]);me.set(ue.default.verifiable_data_structure_proofs,ye);const ve=ue.default.set(ge,me);const{signature:be}=yield(0,fe.default)(ve);return be}));ie.sign_inclusion_proof=sign_inclusion_proof},37415:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};Object.defineProperty(ie,"__esModule",{value:true});ie.sign_root=void 0;const ae=oe(57994);const sign_root=({alg:re,kid:ie,leaves:oe,signer:ce})=>se(void 0,void 0,void 0,(function*(){const se=ae.CoMETRE.RFC9162_SHA256.root(oe);if(!ce){return se}const ue=yield ce.sign({protectedHeader:{alg:re,kid:ie},payload:se});return ue}));ie.sign_root=sign_root},34935:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};var ae=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});ie.verify_consistency_proof=void 0;const ce=oe(57994);const ue=ae(oe(11209));const le=ae(oe(62002));const fe=ae(oe(111));const verify_consistency_proof=({old_root:re,signed_consistency_proof:ie,verifier:oe})=>se(void 0,void 0,void 0,(function*(){const se=ue.default.web.decode(ie);const ae=se.value[1].get(le.default.verifiable_data_structure_proofs);const de=ae.get(fe.default.consistency_proof);const[pe,he,Ae]=ue.default.web.decode(de[0]);const ge=yield oe.verify(ie);const me=yield ce.CoMETRE.RFC9162_SHA256.verify_consistency_proof(re,ge,{log_id:"",tree_size_1:pe,tree_size_2:he,consistency_path:Ae});return me}));ie.verify_consistency_proof=verify_consistency_proof},3692:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};var ae=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});ie.verify_inclusion_proof=void 0;const ce=oe(57994);const ue=ae(oe(11209));const le=ae(oe(25481));const fe=ae(oe(62002));const de=ae(oe(111));const verify_inclusion_proof=({leaf:re,signed_inclusion_proof:ie,verifier:oe})=>se(void 0,void 0,void 0,(function*(){const se=ue.default.web.decode(ie);const ae=se.value[1].get(fe.default.verifiable_data_structure_proofs);const pe=ae.get(de.default.inclusion_proof);const[he,Ae,ge]=ue.default.web.decode(pe[0]);const me=yield ce.CoMETRE.RFC9162_SHA256.verify_inclusion_proof(re,{log_id:"",tree_size:he,leaf_index:Ae,inclusion_path:ge});const ye=yield(0,le.default)({signature:ie,payload:me});yield oe.verify(ye);return true}));ie.verify_inclusion_proof=verify_inclusion_proof},9655:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};var ae=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});ie.verify_multiple=void 0;const ce=ae(oe(11209));const ue=oe(3692);const le=ae(oe(62002));const fe=ae(oe(111));const verify_multiple=({leaves:re,signed_inclusion_proof:ie,verifier:oe})=>se(void 0,void 0,void 0,(function*(){const se=ce.default.web.decode(ie);const ae=se.value[1].get(le.default.verifiable_data_structure_proofs);const de=ae.get(fe.default.inclusion_proof);const pe=[];for(let se=0;sere))}));ie.verify_multiple=verify_multiple},15557:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.addComment=void 0;const se=oe(49645);const addComment=(re,ie)=>{let oe=se.maxLineLength-se.commentOffset-re.length;if(oe<0){oe=0}let ae=" ".repeat(oe)+`/ `+`${ie}`;const ce=se.maxLineLength-re.length-ae.length;ae=ae+" ".repeat(ce)+"/";return`${re}${ae}`};ie.addComment=addComment},7207:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};var ae=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});ie.beautifyConsistencyProofs=void 0;const ce=ae(oe(11209));const ue=oe(15557);const le=oe(60433);const fe=ae(oe(111));const beautifyConsistencyProof=(re,ie)=>se(void 0,void 0,void 0,(function*(){const[oe,se,ae]=yield ce.default.web.decode(re);const fe=(0,ue.addComment)(` ${oe},`,`Tree size 1`);const de=(0,ue.addComment)(` ${se},`,`Tree size 2`);const pe=ae.map(le.bufferToTruncatedBstr).map(((re,ie)=>(0,ue.addComment)(` ${re}`,`Intermediate hash ${ie+1}`))).join("\n");return`\n${(0,ue.addComment)(`[`,`Consistency proof ${ie+1}`)}\n${fe}\n${de}\n${(0,ue.addComment)(` [`,`Consistency hashes (${ae.length})`)}\n${pe}\n ]\n]\n `.trim()}));const beautifyConsistencyProofs=re=>se(void 0,void 0,void 0,(function*(){const ie=[];const oe=[];for(const se of re){oe.push(yield beautifyConsistencyProof(se,oe.length));const re=(0,ue.addComment)(` ${(0,le.bufferToTruncatedBstr)(se)},`,`Consistency proof ${oe.length}`);ie.push(re)}const se=(0,ue.addComment)(` ${fe.default.consistency_proof}: [`,`Consistency proofs (${ie.length})`);const ae=`${se}\n${ie.join("\n")}\n ]`;return[ae,...oe]}));ie.beautifyConsistencyProofs=beautifyConsistencyProofs},34277:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};var ae=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});ie.beautifyCoseSign1=void 0;const ce=ae(oe(11209));const ue=oe(60433);const le=oe(15557);const fe=oe(83081);const de=oe(52365);const beautifyCoseSign1=re=>se(void 0,void 0,void 0,(function*(){const ie=yield ce.default.web.decode(re);const oe=` ${(0,ue.bufferToTruncatedBstr)(ie.value[0])},`;const[se,...ae]=yield(0,fe.beautifyUnprotectedHeader)(ie.value[1]);const pe=` ${(0,ue.bufferToTruncatedBstr)(ie.value[2])},`;const he=` ${(0,ue.bufferToTruncatedBstr)(ie.value[3])}`;const Ae=`\n${(0,le.addComment)(`18(`,"COSE Sign 1")}\n [\n${(0,le.addComment)(oe,"Protected")}\n${se}\n${(0,le.addComment)(pe,ie.value[2]!==null?`Payload`:`Detached payload`)}\n${(0,le.addComment)(he,"Signature")}\n ]\n)\n`.trim();const ge=yield(0,de.beautifyProtectedHeader)(ie.value[0]);return[Ae,ge,...ae]}));ie.beautifyCoseSign1=beautifyCoseSign1},90968:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};var ae=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});ie.beautifyInclusionProofs=void 0;const ce=ae(oe(11209));const ue=oe(15557);const le=oe(60433);const fe=ae(oe(111));const beautifyInclusionProof=(re,ie)=>se(void 0,void 0,void 0,(function*(){const[oe,se,ae]=yield ce.default.web.decode(re);const fe=(0,ue.addComment)(` ${oe},`,`Tree size`);const de=(0,ue.addComment)(` ${se},`,`Leaf index`);const pe=ae.map(le.bufferToTruncatedBstr).map(((re,ie)=>(0,ue.addComment)(` ${re}`,`Intermediate hash ${ie+1}`))).join("\n");return`\n${(0,ue.addComment)(`[`,`Inclusion proof ${ie+1}`)}\n${fe}\n${de}\n${(0,ue.addComment)(` [`,`Inclusion hashes (${ae.length})`)}\n${pe}\n ]\n]\n `.trim()}));const beautifyInclusionProofs=re=>se(void 0,void 0,void 0,(function*(){const ie=[];const oe=[];for(const se of re){oe.push(yield beautifyInclusionProof(se,oe.length));const re=(0,ue.addComment)(` ${(0,le.bufferToTruncatedBstr)(se)},`,`Inclusion proof ${oe.length}`);ie.push(re)}const se=(0,ue.addComment)(` ${fe.default.inclusion_proof}: [`,`Inclusion proofs (${ie.length})`);const ae=`${se}\n${ie.join("\n")}\n ]`;return[ae,...oe]}));ie.beautifyInclusionProofs=beautifyInclusionProofs},52365:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};var ae=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});ie.beautifyProtectedHeader=void 0;const ce=oe(15557);const ue=ae(oe(11209));const le=oe(60433);const fe=ae(oe(62002));const beautifyProtectedHeader=re=>se(void 0,void 0,void 0,(function*(){const ie=yield ue.default.web.decode(re);const oe=[];for(const[re,se]of ie.entries()){if(re===1){oe.push((0,ce.addComment)(` ${re}: ${se},`,"Algorithm"))}else if(re===2){oe.push((0,ce.addComment)(` ${re}: ${se},`,"Criticality"))}else if(re===3){oe.push((0,ce.addComment)(` ${re}: ${se},`,"Content type"))}else if(re===4){oe.push((0,ce.addComment)(` ${re}: ${(0,le.bufferToTruncatedBstr)(se)},`,"Key identifier"))}else if(re===13){oe.push((0,ce.addComment)(` ${re}: {`,"CWT Claims"));for(const[re,ie]of se.entries()){if(re===1){oe.push((0,ce.addComment)(` ${re}: ${ie},`,"Issuer"))}else if(re===2){oe.push((0,ce.addComment)(` ${re}: ${ie},`,"Subject"))}else{oe.push((0,ce.addComment)(` ${re}: ${ie},`,"Claim"))}}oe.push(` },`)}else if(re===fe.default.verifiable_data_structure){oe.push((0,ce.addComment)(` ${re}: ${se},`,"Verifiable Data Structure"))}else if(re===33){oe.push((0,ce.addComment)(` ${re}: [`,"X.509 Certificate Chain"));for(const re of se){oe.push((0,ce.addComment)(` ${(0,le.bufferToTruncatedBstr)(re)},`,"X.509 Certificate"))}oe.push(` ],`)}else{oe.push((0,ce.addComment)(` ${re}: ${se},`,"Parameter"))}}return`\n${(0,ce.addComment)("{","Protected")}\n${oe.join("\n")}\n}\n `.trim()}));ie.beautifyProtectedHeader=beautifyProtectedHeader},37634:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};var ae=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});ie.beautifyReceipts=void 0;const ce=oe(15557);const ue=oe(60433);const le=oe(34277);const fe=ae(oe(62002));const beautifyReceipts=re=>se(void 0,void 0,void 0,(function*(){const ie=[`${(0,ce.addComment)(` ${fe.default.scitt_receipt}: [`,`Receipts (${re.length})`)}\n${re.map(((re,ie)=>{const oe=(0,ue.bufferToTruncatedBstr)(re);return(0,ce.addComment)(` ${oe}`,`Receipt ${ie+1}`)})).join("\n")}\n ]`];for(const oe of re){const re=yield(0,le.beautifyCoseSign1)(oe);re.forEach((re=>{ie.push(re)}))}return ie}));ie.beautifyReceipts=beautifyReceipts},83081:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};var ae=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});ie.beautifyUnprotectedHeader=void 0;const ce=oe(15557);const ue=ae(oe(62002));const le=oe(23697);const fe=oe(37634);const de=new Map;de.set(ue.default.verifiable_data_structure_proofs,le.beautifyVerifiableProofs);de.set(ue.default.scitt_receipt,fe.beautifyReceipts);const beautifyUnprotectedHeader=re=>se(void 0,void 0,void 0,(function*(){let ie=[];let oe=(0,ce.addComment)(` {},`,`Unprotected`);if(re.size){let se=[];for(const[oe,ae]of re.entries()){const re=de.get(oe);if(!re){console.log("unknown ",oe,ae);continue}const[ce,...ue]=yield re(ae);se=[...se,ce];ie=[...ie,...ue]}const ae=(0,ce.addComment)(` {`,`Unprotected`);oe=`${ae}\n${se.join(" \n")}\n },`}return[oe,...ie]}));ie.beautifyUnprotectedHeader=beautifyUnprotectedHeader},23697:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};var ae=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});ie.beautifyVerifiableProofs=void 0;const ce=oe(15557);const ue=ae(oe(62002));const le=oe(90968);const fe=oe(7207);const de=ae(oe(111));const pe=new Map;pe.set(de.default.inclusion_proof,le.beautifyInclusionProofs);pe.set(de.default.consistency_proof,fe.beautifyConsistencyProofs);const beautifyVerifiableProofs=re=>se(void 0,void 0,void 0,(function*(){let ie=[];let oe=(0,ce.addComment)(` {},`,`Proofs`);if(re.size){let se=[];for(const[oe,ae]of re.entries()){const re=pe.get(oe);if(!re){console.log("unknown ",oe,ae);continue}const[ce,...ue]=yield re(ae);se=[...se,ce];ie=[...ie,...ue]}const ae=(0,ce.addComment)(` ${ue.default.verifiable_data_structure_proofs}: {`,`Proofs`);oe=`${ae}\n${se.join(" \n")}\n },`}return[oe,...ie]}));ie.beautifyVerifiableProofs=beautifyVerifiableProofs},60433:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.bufferToTruncatedBstr=void 0;const bufferToTruncatedBstr=re=>{if(re===null){return"nil"}const ie=Buffer.from(re);const oe=`h'${ie.toString("hex").toLowerCase()}'`;return oe.replace(/h'(.{8}).+(.{8})'/g,`h'$1...$2'`).trim()};ie.bufferToTruncatedBstr=bufferToTruncatedBstr},49645:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.maxBstrTruncateLength=ie.commentOffset=ie.maxLineLength=void 0;ie.maxLineLength=68;ie.commentOffset=32;ie.maxBstrTruncateLength=32},48195:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.makeRfcCodeBlock=void 0;const makeRfcCodeBlock=re=>`\n~~~~ cbor-diag\n${re.trim()}\n~~~~\n `.trim();ie.makeRfcCodeBlock=makeRfcCodeBlock},84495:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};var ae=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ce=ae(oe(11209));const ue=oe(34277);const le=oe(48195);const beautify=re=>se(void 0,void 0,void 0,(function*(){const ie=yield ce.default.web.decode(re);if(ie.tag===18){return(0,ue.beautifyCoseSign1)(re)}throw new Error("Unsupported cbor tag.")}));const fe={diag:re=>se(void 0,void 0,void 0,(function*(){return beautify(re)})),blocks:re=>re.map(le.makeRfcCodeBlock).join("\n\n")};ie["default"]=fe},92966:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};Object.defineProperty(ie,"__esModule",{value:true});ie.receipt=ie.statement=void 0;const ue=ce(oe(76698));ie.statement=ue;const le=ce(oe(76393));ie.receipt=le},42880:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};var ae=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});ie.edn=void 0;const ce=ae(oe(84495));const edn=re=>se(void 0,void 0,void 0,(function*(){const ie=yield ce.default.diag(new Uint8Array(re));return ce.default.blocks(ie)}));ie.edn=edn},76393:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__exportStar||function(re,ie){for(var oe in re)if(oe!=="default"&&!Object.prototype.hasOwnProperty.call(ie,oe))se(ie,re,oe)};Object.defineProperty(ie,"__esModule",{value:true});ae(oe(72421),ie);ae(oe(98909),ie);ae(oe(42880),ie)},72421:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};var ue=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};var le=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});ie.issue=void 0;const fe=le(oe(68747));const de=oe(57994);const pe=le(oe(62002));const he=le(oe(11209));const Ae=le(oe(71589));const ge=oe(98718);const me=le(oe(111));const ye=ce(oe(27678));const ve=le(oe(35812));const issue=({iss:re,sub:ie,index:oe,entries:se,leaves:ae,signer:ce,secretCoseKey:le})=>ue(void 0,void 0,void 0,(function*(){let ue=ae;if(se){ue=se.map((re=>fe.default.leaf(new Uint8Array(re))))}if(!(ue===null||ue===void 0?void 0:ue.length)){throw new Error("Log must have at least one entry to produce a receipt")}const be=de.CoMETRE.RFC9162_SHA256.root(ue);const we=de.CoMETRE.RFC9162_SHA256.inclusion_proof(oe,ue);let _e=ce;const Ee=new Map;const Ce=new Map;Ce.set(1,re);Ce.set(2,ie);if(le){const re=yield ye.exportJWK(le);re.alg=ye.utils.algorithms.toJOSE.get(le.get(3));Ee.set(1,le.get(3));Ee.set(4,le.get(2));Ee.set(pe.default.verifiable_data_structure,1);Ee.set(13,Ce);_e=(0,ve.default)({secretKeyJwk:re})}const Ie=new Map;const Se=yield _e.sign({protectedHeader:Ee,unprotectedHeader:Ie,payload:(0,ge.typedArrayToBuffer)(be)});const Be=new Map;const xe=new Map;xe.set(me.default.inclusion_proof,[he.default.web.encode([we.tree_size,we.leaf_index,we.inclusion_path.map(ge.typedArrayToBuffer)])]);Be.set(pe.default.verifiable_data_structure_proofs,xe);const ke=pe.default.set(Se,Be);const{signature:Oe}=yield(0,Ae.default)(ke);return(0,ge.typedArrayToBuffer)(Oe)}));ie.issue=issue},98909:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};var ue=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};var le=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});ie.verify=void 0;const fe=le(oe(68747));const de=oe(57994);const pe=le(oe(62002));const he=le(oe(11209));const Ae=le(oe(25481));const ge=le(oe(111));const me=ce(oe(27678));const ye=le(oe(89245));const verify=({entry:re,leaf:ie,receipt:oe,verifier:se,publicCoseKey:ae})=>ue(void 0,void 0,void 0,(function*(){try{let ce=se;if(ae){const re=yield me.exportJWK(ae);re.alg=me.utils.algorithms.toJOSE.get(ae.get(3));ce=(0,ye.default)({publicKeyJwk:re})}let ue=ie;if(re){ue=fe.default.leaf(new Uint8Array(re))}if(!ue){throw new Error("A leaf or entry is required to verify a receipt.")}const le=he.default.web.decode(oe);const ve=le.value[1].get(pe.default.verifiable_data_structure_proofs);const be=ve.get(ge.default.inclusion_proof);const[we,_e,Ee]=he.default.web.decode(be[0]);const Ce=yield de.CoMETRE.RFC9162_SHA256.verify_inclusion_proof(ue,{log_id:"",tree_size:we,leaf_index:_e,inclusion_path:Ee});const Ie=yield(0,Ae.default)({signature:new Uint8Array(oe),payload:Ce});ce.verify(Ie);return true}catch(re){return false}}));ie.verify=verify},66625:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});ie.addReceipt=void 0;const ae=se(oe(11209));const ce=se(oe(62002));const addReceipt=({statement:re,receipt:ie})=>{const oe=ae.default.decode(re);let se=oe.value[1];if(!(se instanceof Map)){se=new Map}const ue=se.get(ce.default.scitt_receipt);if(!ue){se.set(ce.default.scitt_receipt,[ie])}else{ue.push(ie)}oe.value[1]=se;return ae.default.encode(oe)};ie.addReceipt=addReceipt},51172:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});ie.getEntryReceipts=void 0;const ae=se(oe(11209));const ce=se(oe(62002));const getEntryReceipts=({transparentStatement:re})=>{const ie=ae.default.decode(re);let oe=ie.value[1];if(!(oe instanceof Map)){oe=new Map}const se=oe.get(ce.default.scitt_receipt)||[];ie.value[1]=new Map;const ue=ae.default.encode(ie);return{entry:ue,receipts:se}};ie.getEntryReceipts=getEntryReceipts},76698:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__exportStar||function(re,ie){for(var oe in re)if(oe!=="default"&&!Object.prototype.hasOwnProperty.call(ie,oe))se(ie,re,oe)};Object.defineProperty(ie,"__esModule",{value:true});ae(oe(43427),ie);ae(oe(44226),ie);ae(oe(66625),ie);ae(oe(51172),ie);ae(oe(84171),ie)},43427:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};var ue=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};var le=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});ie.issue=void 0;const fe=le(oe(71589));const de=oe(98718);const pe=ce(oe(27678));const he=le(oe(35812));const issue=({iss:re,sub:ie,cty:oe,x5c:se,payload:ae,signer:ce,secretCoseKey:le})=>ue(void 0,void 0,void 0,(function*(){let ue=ce;const Ae=new Map;const ge=new Map;const me=new Map;me.set(1,re);me.set(2,ie);if(se){Ae.set(33,se)}if(le){const re=yield pe.exportJWK(le);re.alg=pe.utils.algorithms.toJOSE.get(le.get(3));Ae.set(1,le.get(3));Ae.set(3,oe);Ae.set(4,le.get(2));Ae.set(13,me);ue=(0,he.default)({secretKeyJwk:re})}const ye=yield ue.sign({protectedHeader:Ae,unprotectedHeader:ge,payload:ae});const{signature:ve}=yield(0,fe.default)(ye);return(0,de.typedArrayToBuffer)(ve)}));ie.issue=issue},44226:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};var ue=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};var le=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});ie.verify=void 0;const fe=ce(oe(27678));const de=le(oe(89245));const pe=le(oe(25481));const verify=({statement:re,signedStatement:ie,verifier:oe,publicCoseKey:se})=>ue(void 0,void 0,void 0,(function*(){let ae=oe;if(se){const re=yield fe.exportJWK(se);re.alg=fe.utils.algorithms.toJOSE.get(se.get(3));ae=(0,de.default)({publicKeyJwk:re})}const ce=yield(0,pe.default)({signature:new Uint8Array(ie),payload:new Uint8Array(re)});try{const re=yield ae.verify(ce);if(re){return true}else{return false}}catch(re){return false}}));ie.verify=verify},84171:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});ie.x5c=void 0;const ae=se(oe(11209));const x5c=re=>{const ie=ae.default.decode(re);const oe=ae.default.decode(ie.value[0]);const se=oe.get(33);const ce=se.map((re=>re.toString("base64")));return ce};ie.x5c=x5c},65081:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};Object.defineProperty(ie,"__esModule",{value:true});const ae=oe(98718);const ce=oe(4640);const signer=({privateKeyJwk:re})=>se(void 0,void 0,void 0,(function*(){return{alg:re.alg,sign:({protectedHeader:ie,unprotectedHeader:oe,payload:ue})=>se(void 0,void 0,void 0,(function*(){const se=yield(0,ce.signer)({secretKeyJwk:re}).sign({protectedHeader:ce.Headers.TranslateHeaders(ie),unprotectedHeader:oe||new Map,payload:(0,ae.typedArrayToBuffer)(ue)});return new Uint8Array(se)}))}}));ie["default"]=signer},99934:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true})},19303:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true})},41728:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true})},11742:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true})},78748:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true})},94384:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true})},16985:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true})},53793:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true})},23222:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true})},76550:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true})},89458:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true})},17121:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true})},28883:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true})},43506:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true})},43373:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true})},16107:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__exportStar||function(re,ie){for(var oe in re)if(oe!=="default"&&!Object.prototype.hasOwnProperty.call(ie,oe))se(ie,re,oe)};Object.defineProperty(ie,"__esModule",{value:true});ae(oe(16985),ie);ae(oe(43373),ie);ae(oe(94384),ie);ae(oe(53793),ie);ae(oe(78748),ie);ae(oe(41728),ie);ae(oe(11742),ie);ae(oe(89458),ie);ae(oe(23222),ie);ae(oe(43506),ie);ae(oe(76550),ie);ae(oe(17121),ie);ae(oe(99934),ie);ae(oe(19303),ie);ae(oe(28883),ie)},62002:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};Object.defineProperty(ie,"__esModule",{value:true});const ue=ce(oe(4114));const le={kid:4,content_type:3,counter_signature:7,verifiable_data_structure:-111,verifiable_data_structure_proofs:-222,scitt_receipt:-333};const fe=Object.assign(Object.assign({},le),{get:re=>{const ie=ue.decode(re);const oe=ie.value[1];return oe.size===undefined?new Map:oe},set:(re,ie)=>{const oe=ue.decode(re);oe.value[1]=ie;const se=new Uint8Array(ue.encode(oe));return se}});ie["default"]=fe},98718:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.typedArrayToBuffer=void 0;const typedArrayToBuffer=re=>re.buffer.slice(re.byteOffset,re.byteLength+re.byteOffset);ie.typedArrayToBuffer=typedArrayToBuffer;const oe={typedArrayToBuffer:ie.typedArrayToBuffer};ie["default"]=oe},111:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const oe={inclusion_proof:-1,consistency_proof:-2};ie["default"]=oe},55317:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};Object.defineProperty(ie,"__esModule",{value:true});const ae=oe(4640);const verifier=({publicKeyJwk:re})=>se(void 0,void 0,void 0,(function*(){return{verify:ie=>se(void 0,void 0,void 0,(function*(){const oe=yield(0,ae.verifier)({publicKeyJwk:re}).verify(ie);return new Uint8Array(oe)}))}}));ie["default"]=verifier},31637:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};Object.defineProperty(ie,"__esModule",{value:true});ie.dereference=void 0;const ae=oe(88957);const ce=oe(18079);const dereference=({id:re,documentLoader:ie})=>se(void 0,void 0,void 0,(function*(){if(!re.startsWith(ce.prefix)){throw new Error(`Method is not ${ce.prefix}.`)}const{document:oe}=yield ie(re);const se=(0,ae.dereferenceWithinDocument)({id:re,document:oe});return se}));ie.dereference=dereference},55108:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};Object.defineProperty(ie,"__esModule",{value:true});ie.documentLoader=void 0;const ae=oe(34061);const ce=oe(38277);const ue=oe(54750);function documentLoader(re){return se(this,void 0,void 0,(function*(){const ie=(0,ce.parseDidUrl)(re);const oe=ie.id;const se=ae.base64url.decode(oe);const le=JSON.parse((new TextDecoder).decode(se));return{document:(0,ue.toDidDocument)(le)}}))}ie.documentLoader=documentLoader},64357:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};Object.defineProperty(ie,"__esModule",{value:true});ie.exportable=void 0;const ae=oe(20254);const exportable=({alg:re})=>se(void 0,void 0,void 0,(function*(){const ie=yield(0,ae.generate)({alg:re,extractable:true});return ie}));ie.exportable=exportable},20254:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};Object.defineProperty(ie,"__esModule",{value:true});ie.generate=void 0;const ae=oe(23106);const ce=oe(84877);const generate=({alg:re,extractable:ie})=>se(void 0,void 0,void 0,(function*(){const oe=yield(0,ae.generateKeyPair)({alg:re,extractable:ie});const se=(0,ce.toDid)(oe.publicKey);const ue={did:se,key:oe};return ie?ue:ue}));ie.generate=generate},37560:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__exportStar||function(re,ie){for(var oe in re)if(oe!=="default"&&!Object.prototype.hasOwnProperty.call(ie,oe))se(ie,re,oe)};Object.defineProperty(ie,"__esModule",{value:true});ae(oe(64357),ie);ae(oe(13378),ie);ae(oe(81585),ie);ae(oe(31637),ie);ae(oe(55108),ie)},13378:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};Object.defineProperty(ie,"__esModule",{value:true});ie.isolated=void 0;const ae=oe(20254);const isolated=({alg:re})=>se(void 0,void 0,void 0,(function*(){const ie=yield(0,ae.generate)({alg:re,extractable:false});return ie}));ie.isolated=isolated},81585:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};Object.defineProperty(ie,"__esModule",{value:true});ie.resolve=void 0;const ae=oe(18079);const resolve=({id:re,documentLoader:ie})=>se(void 0,void 0,void 0,(function*(){if(!re.startsWith(ae.prefix)){throw new Error(`Method is not ${ae.prefix}.`)}const{document:oe}=yield ie(re);return oe}));ie.resolve=resolve},23106:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};var ue=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};Object.defineProperty(ie,"__esModule",{value:true});ie.generateKeyPair=void 0;const le=ce(oe(34061));const fe=oe(52310);const generateKeyPair=({alg:re,extractable:ie})=>ue(void 0,void 0,void 0,(function*(){const{publicKey:oe,privateKey:se}=yield le.generateKeyPair(re,{extractable:ie});const ae=yield le.exportJWK(oe);const ce=yield le.calculateJwkThumbprintUri(ae);const ue={publicKey:(0,fe.formatJwk)(Object.assign(Object.assign({},ae),{alg:re,kid:ce}))};if(ie){ue.privateKey=(0,fe.formatJwk)(Object.assign(Object.assign({},yield le.exportJWK(se)),{alg:re,kid:ce}))}else{ue.privateKey=se}return ie?ue:ue}));ie.generateKeyPair=generateKeyPair},31529:function(re,ie,oe){"use strict";var se=this&&this.__rest||function(re,ie){var oe={};for(var se in re)if(Object.prototype.hasOwnProperty.call(re,se)&&ie.indexOf(se)<0)oe[se]=re[se];if(re!=null&&typeof Object.getOwnPropertySymbols==="function")for(var ae=0,se=Object.getOwnPropertySymbols(re);ae{const{d:ie,p:oe,q:ce,dp:ue,dq:le,qi:fe,key_ops:de}=re,pe=se(re,["d","p","q","dp","dq","qi","key_ops"]);if(ie&&de){pe.key_ops=(0,ae.getPublicOperationsFromPrivate)(de)}return pe};ie.getPublicKeyJwk=getPublicKeyJwk},40602:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};Object.defineProperty(ie,"__esModule",{value:true});ie.getPublicOperationsFromPrivate=void 0;const ue=ce(oe(31216));const getPublicOperationsFromPrivate=re=>{if(re.includes(ue.sign)){return[ue.verify]}if(re.includes(ue.verify)){return[ue.encrypt]}return re};ie.getPublicOperationsFromPrivate=getPublicOperationsFromPrivate},33707:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(84877);const ae=oe(37560);const ce={toDid:se.toDid,exportable:ae.exportable,isolated:ae.isolated,documentLoader:ae.documentLoader,resolve:ae.resolve,dereference:ae.dereference};ie["default"]=ce},31216:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.algForKeyOperation=ie.keyOperations=ie.deriveKey=ie.decrypt=ie.encrypt=ie.verify=ie.sign=void 0;const se=oe(15450);ie.sign="sign";ie.verify="verify";ie.encrypt="encrypt";ie.decrypt="decrypt";ie.deriveKey="deriveKey";ie.keyOperations={sign:"compute digital signature or MAC",verify:"verify digital signature or MAC",encrypt:"encrypt content",decrypt:"decrypt content and validate decryption, if applicable",deriveKey:"derive key"};ie.algForKeyOperation={sign:se.jwsAlg.EdDSA,verify:se.jwsAlg.EdDSA,encrypt:se.jweAlg.ECDH_ES_A256KW,decrypt:se.jweAlg.ECDH_ES_A256KW,deriveKey:se.jweAlg.ECDH_ES_A256KW}},18079:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.encryptionVerificationRelationships=ie.signatureVerificationRelationships=ie.prefix=void 0;ie.prefix="did:jwk";ie.signatureVerificationRelationships=["authentication","assertionMethod","capabilityInvocation","capabilityDelegation"];ie.encryptionVerificationRelationships=["keyAgreement"]},84877:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};Object.defineProperty(ie,"__esModule",{value:true});ie.toDid=void 0;const ue=ce(oe(34061));const le=oe(31529);const fe=oe(18079);const toDid=re=>{const ie=(0,le.getPublicKeyJwk)(re);const oe=ue.base64url.encode(JSON.stringify(ie));const se=`${fe.prefix}:${oe}`;return se};ie.toDid=toDid},54750:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.toDidDocument=void 0;const se=oe(84877);const ae=oe(31529);const ce=oe(15450);const ue=oe(18079);const le=oe(17056);const toDidDocument=re=>{const ie=(0,ae.getPublicKeyJwk)(re);const oe=(0,se.toDid)(ie);const fe={id:"#0",type:"JsonWebKey",controller:oe,publicKeyJwk:ie};const de={"@context":["https://www.w3.org/ns/did/v1",{"@vocab":"https://www.iana.org/assignments/jose#","@base":oe}],id:oe,verificationMethod:[fe],authentication:[],assertionMethod:[],capabilityInvocation:[],capabilityDelegation:[],keyAgreement:[]};if(ce.signatureAlgorithms.includes(ie.alg)){ue.signatureVerificationRelationships.forEach((re=>{de[re]=[fe.id]}))}if(ce.keyAgreementAlgorithms.includes(ie.alg)){ue.encryptionVerificationRelationships.forEach((re=>{de[re]=[fe.id]}))}return(0,le.formatDidDocument)(de)};ie.toDidDocument=toDidDocument},18317:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true})},41530:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};Object.defineProperty(ie,"__esModule",{value:true});ie.actor=void 0;const ae=oe(64357);const ce=oe(99982);const actor=({protectedHeader:re,claimSet:ie})=>se(void 0,void 0,void 0,(function*(){const oe=yield(0,ae.exportable)({alg:re.alg});const se=yield(0,ce.sign)({issuer:oe.did,protectedHeader:re,claimSet:ie,privateKey:oe.key.privateKey});return{root:oe,delegate:se}}));ie.actor=actor},42774:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};var ue=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};Object.defineProperty(ie,"__esModule",{value:true});ie.decrypt=void 0;const le=ce(oe(34061));const fe=oe(45263);const de=oe(38277);const decrypt=({did:re,issuer:ie,audience:oe,privateKey:se})=>ue(void 0,void 0,void 0,(function*(){const ae=(0,de.parseDidUrl)(re);const ce=ae.id;const ue={issuer:ie};if(oe){ue.audience=oe}const pe=yield(0,fe.getKey)(se);const{payload:he,protectedHeader:Ae}=yield le.jwtDecrypt(ce,pe,ue);return{payload:he,protectedHeader:Ae}}));ie.decrypt=decrypt},38930:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};Object.defineProperty(ie,"__esModule",{value:true});ie.dereference=void 0;const ae=oe(80841);const ce=oe(25570);const ue=oe(88957);const dereference=re=>se(void 0,void 0,void 0,(function*(){const{id:ie}=re;if(!ie.startsWith(ae.prefix)){throw new Error(`Method is not ${ae.prefix}.`)}const oe=yield(0,ce.resolve)(re);const se=(0,ue.dereferenceWithinDocument)({id:ie,document:oe});if(se){return se}throw new Error(`Profile not supported.`)}));ie.dereference=dereference},91973:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};var ue=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};Object.defineProperty(ie,"__esModule",{value:true});ie.encrypt=void 0;const le=ce(oe(34061));const fe=oe(45263);const de=oe(80841);const encrypt=({issuer:re,audience:ie,protectedHeader:oe,claimSet:se,publicKey:ae})=>ue(void 0,void 0,void 0,(function*(){const ce=yield(0,fe.getKey)(ae);const ue=new le.EncryptJWT(se).setProtectedHeader(oe).setIssuedAt().setIssuer(re).setExpirationTime("2h");if(ie){ue.setAudience(ie)}const pe=yield ue.encrypt(ce);const he=`${de.prefix}:${pe}`;return{did:he}}));ie.encrypt=encrypt},8678:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__exportStar||function(re,ie){for(var oe in re)if(oe!=="default"&&!Object.prototype.hasOwnProperty.call(ie,oe))se(ie,re,oe)};Object.defineProperty(ie,"__esModule",{value:true});ae(oe(99982),ie);ae(oe(8114),ie);ae(oe(41530),ie);ae(oe(25570),ie);ae(oe(38930),ie);ae(oe(91973),ie);ae(oe(42774),ie);ae(oe(67595),ie)},25570:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};var ue=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};Object.defineProperty(ie,"__esModule",{value:true});ie.resolve=void 0;const le=oe(80841);const fe=ce(oe(34061));const de=oe(38277);const pe=oe(7988);const he=oe(58708);const Ae=oe(39181);const ge=oe(67595);const resolve=re=>ue(void 0,void 0,void 0,(function*(){const{id:ie,profiles:oe}=re;if(!ie.startsWith(le.prefix)){throw new Error(`Method is not ${le.prefix}.`)}const se=(0,de.parseDidUrl)(ie);const ae=fe.decodeProtectedHeader(se.id);const{jwk:ce,kid:ue,enc:me}=ae;if(ce&&oe.includes("embedded-jwk")){return(0,pe.resolveWithEmbeddedJwk)(re)}if(ue&&oe.includes("relative-did-url")){return(0,he.resolveWithRelativeDidUrl)(re)}if(ue&&oe.includes("access_token")){return(0,Ae.resolveWithAccessToken)(re)}if(me&&oe.includes("encrypted-jwt")){return(0,ge.resolveWithPrivateKeyLoader)(re)}throw new Error(`Profile not supported.`)}));ie.resolve=resolve},99982:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};var ue=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};Object.defineProperty(ie,"__esModule",{value:true});ie.sign=void 0;const le=ce(oe(34061));const fe=oe(45263);const de=oe(80841);const sign=({issuer:re,audience:ie,protectedHeader:oe,claimSet:se,privateKey:ae})=>ue(void 0,void 0,void 0,(function*(){const ce=yield(0,fe.getKey)(ae);const ue=new le.SignJWT(se).setProtectedHeader(oe).setIssuedAt().setIssuer(re).setExpirationTime("2h");if(ie){ue.setAudience(ie)}const pe=yield ue.sign(ce);const he=`${de.prefix}:${pe}`;return{did:he}}));ie.sign=sign},8114:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};var ue=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};Object.defineProperty(ie,"__esModule",{value:true});ie.verify=void 0;const le=ce(oe(34061));const fe=oe(45263);const de=oe(38277);const verify=({did:re,issuer:ie,audience:oe,publicKey:se})=>ue(void 0,void 0,void 0,(function*(){const ae=(0,de.parseDidUrl)(re);const ce=ae.id;const ue=yield(0,fe.getKey)(se);const pe={issuer:ie};if(oe){pe.audience=oe}const{payload:he,protectedHeader:Ae}=yield le.jwtVerify(ce,ue,pe);return{payload:he,protectedHeader:Ae}}));ie.verify=verify},77692:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};Object.defineProperty(ie,"__esModule",{value:true});ie.getDidDocumentFromDecryption=void 0;const ae=oe(42774);const getDidDocumentFromDecryption=({did:re,issuer:ie,privateKey:oe})=>se(void 0,void 0,void 0,(function*(){const se=yield(0,ae.decrypt)({did:re,issuer:ie,privateKey:oe});const ce=Object.assign({"@context":["https://www.w3.org/ns/did/v1",{"@vocab":"https://www.iana.org/assignments/jose#"}],id:re},se.payload);return ce}));ie.getDidDocumentFromDecryption=getDidDocumentFromDecryption},80940:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};Object.defineProperty(ie,"__esModule",{value:true});ie.getDidDocumentFromVerification=void 0;const ae=oe(8114);const getDidDocumentFromVerification=({did:re,issuer:ie,publicKey:oe})=>se(void 0,void 0,void 0,(function*(){const se=yield(0,ae.verify)({did:re,issuer:ie,publicKey:oe});const ce=Object.assign({"@context":["https://www.w3.org/ns/did/v1",{"@vocab":"https://www.iana.org/assignments/jose#"}],id:re},se.payload);return ce}));ie.getDidDocumentFromVerification=getDidDocumentFromVerification},27739:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(8678);const ae={sign:se.sign,verify:se.verify,actor:se.actor,encrypt:se.encrypt,decrypt:se.decrypt,resolve:se.resolve,dereference:se.dereference};ie["default"]=ae},80841:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.prefix=void 0;ie.prefix="did:jwt"},39181:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};var ue=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};Object.defineProperty(ie,"__esModule",{value:true});ie.resolveWithAccessToken=void 0;const le=ce(oe(34061));const fe=oe(38277);const de=oe(80940);const pe=oe(88957);const resolveWithAccessToken=({id:re,documentLoader:ie})=>ue(void 0,void 0,void 0,(function*(){const oe=(0,fe.parseDidUrl)(re);const{kid:se}=le.decodeProtectedHeader(oe.id);const{iss:ae}=le.decodeJwt(oe.id);if(!se){throw new Error("protectedHeader.kid MUST be present.")}if(se.startsWith("did:")){throw new Error("protectedHeader.kid MUST be a relative did url.")}const ce=`${ae}#${se}`;const{document:ue}=yield ie(ce);const he=(0,pe.dereferenceWithinDocument)({id:ce,document:ue});if(he===null){throw new Error("Could not dereference verification method.")}if(!he.publicKeyJwk){throw new Error("Computed absolute DID URL did not dereference to a publicKeyJwk.")}return(0,de.getDidDocumentFromVerification)({did:re,issuer:ae,publicKey:he.publicKeyJwk})}));ie.resolveWithAccessToken=resolveWithAccessToken},7988:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};var ue=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};Object.defineProperty(ie,"__esModule",{value:true});ie.resolveWithEmbeddedJwk=void 0;const le=ce(oe(34061));const fe=oe(38277);const de=oe(84877);const pe=oe(88957);const he=oe(80940);const resolveWithEmbeddedJwk=({id:re,documentLoader:ie})=>ue(void 0,void 0,void 0,(function*(){const oe=(0,fe.parseDidUrl)(re);const{alg:se,jwk:ae}=le.decodeProtectedHeader(oe.id);const{iss:ce}=le.decodeJwt(oe.id);if(!ae){throw new Error("protectedHeader.jwk MUST be defined to resolveWithEmbeddedJwk")}if(se!==ae.alg){throw new Error("Algorithm mismatch. Expected 'header.alg' to be 'header.jwk.alg'.")}const ue=(0,de.toDid)(ae);const{document:Ae}=yield ie(ue);const ge=(0,pe.dereferenceWithinDocument)({id:"#0",document:Ae});if(ge===null){throw new Error("Could not dereference verification method.")}if((yield le.calculateJwkThumbprint(ae))!==(yield le.calculateJwkThumbprint(ge.publicKeyJwk))){throw new Error("Dereferenced embedded jwk does not match embedded jwk.")}return(0,he.getDidDocumentFromVerification)({did:re,issuer:ce,publicKey:ge.publicKeyJwk})}));ie.resolveWithEmbeddedJwk=resolveWithEmbeddedJwk},67595:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};var ue=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};Object.defineProperty(ie,"__esModule",{value:true});ie.resolveWithPrivateKeyLoader=void 0;const le=ce(oe(34061));const fe=oe(38277);const de=oe(77692);const resolveWithPrivateKeyLoader=({id:re,privateKeyLoader:ie})=>ue(void 0,void 0,void 0,(function*(){const oe=(0,fe.parseDidUrl)(re);const se=oe.id;const{iss:ae,kid:ce}=le.decodeProtectedHeader(se);if(!ae){throw new Error("protectedHeader.iss is required by privateKeyLoader, but not present.")}if(!ce){throw new Error("protectedHeader.kid is required by privateKeyLoader, but not present.")}const ue=`${ae}${ce}`;const pe=yield ie(ue);return(0,de.getDidDocumentFromDecryption)({did:re,issuer:ae,privateKey:pe})}));ie.resolveWithPrivateKeyLoader=resolveWithPrivateKeyLoader},58708:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};var ue=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};Object.defineProperty(ie,"__esModule",{value:true});ie.resolveWithRelativeDidUrl=void 0;const le=ce(oe(34061));const fe=oe(38277);const de=oe(80940);const pe=oe(88957);const resolveWithRelativeDidUrl=({id:re,documentLoader:ie})=>ue(void 0,void 0,void 0,(function*(){const oe=(0,fe.parseDidUrl)(re);const{iss:se,kid:ae}=le.decodeProtectedHeader(oe.id);if(!se){throw new Error("protectedHeader.iss MUST be present.")}if(!ae){throw new Error("protectedHeader.kid MUST be present.")}if(ae.startsWith("did:")){throw new Error("protectedHeader.kid MUST be a relative did url.")}const ce=`${se}${ae}`;const{document:ue}=yield ie(ce);const he=(0,pe.dereferenceWithinDocument)({id:ce,document:ue});if(he===null){throw new Error("Could not dereference verification method.")}if(!he.publicKeyJwk){throw new Error("Computed absolute DID URL did not dereference to a publicKeyJwk.")}return(0,de.getDidDocumentFromVerification)({did:re,issuer:se,publicKey:he.publicKeyJwk})}));ie.resolveWithRelativeDidUrl=resolveWithRelativeDidUrl},12311:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true})},34656:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.didDocument=void 0;function didDocument(re){return{"@context":["https://www.w3.org/ns/did/v1",{"@vocab":"https://www.iana.org/assignments/jose#"}],id:re.iss,verificationMethod:re.jwks.map((ie=>({id:`#${ie.kid}`,type:"JsonWebKey",controller:re.iss,publicKeyJwk:ie}))),assertionMethod:re.jwks.map((re=>`#${re.kid}`))}}ie.didDocument=didDocument},8514:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};var ae=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});ie.getIssuerKeys=void 0;const ce=ae(oe(88757));const getIssuerKeys=({iss:re})=>se(void 0,void 0,void 0,(function*(){try{const ie=re+".well-known/openid-configuration";const{data:{jwks_uri:oe}}=yield ce.default.get(ie);const{data:{keys:se}}=yield ce.default.get(oe);return se}catch(re){return[]}}));ie.getIssuerKeys=getIssuerKeys},30723:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};Object.defineProperty(ie,"__esModule",{value:true});ie.getPublicKey=void 0;const ae=oe(8514);const getPublicKey=({iss:re,kid:ie})=>se(void 0,void 0,void 0,(function*(){try{const oe=yield(0,ae.getIssuerKeys)({iss:re});const se=oe.find((re=>re.kid===ie));return se}catch(re){return null}}));ie.getPublicKey=getPublicKey},45759:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(34656);const ae=oe(2718);const ce=oe(8514);const ue=oe(30723);const le={resolve:ae.resolve,getIssuerKeys:ce.getIssuerKeys,getPublicKey:ue.getPublicKey,didDocument:se.didDocument};ie["default"]=le},2718:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};Object.defineProperty(ie,"__esModule",{value:true});ie.resolve=void 0;const ae=oe(34656);const ce=oe(8514);const resolve=({iss:re})=>se(void 0,void 0,void 0,(function*(){const ie=yield(0,ce.getIssuerKeys)({iss:re});return(0,ae.didDocument)({iss:re,jwks:ie})}));ie.resolve=resolve},53824:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};Object.defineProperty(ie,"__esModule",{value:true});ie.dereference=void 0;const ae=oe(88957);const ce=oe(73701);const ue=oe(59106);const dereference=({id:re,documentLoader:ie})=>se(void 0,void 0,void 0,(function*(){if(!re.startsWith(ce.prefix)){throw new Error(`Method is not ${ce.prefix}.`)}const oe=yield(0,ue.resolve)({id:re,documentLoader:ie});return(0,ae.dereferenceWithinDocument)({id:re,document:oe})}));ie.dereference=dereference},99010:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};Object.defineProperty(ie,"__esModule",{value:true});ie.exportable=void 0;const ae=oe(20254);const ce=oe(84877);const ue=oe(76906);const exportable=({url:re,alg:ie,documentLoader:oe})=>se(void 0,void 0,void 0,(function*(){const{key:se}=yield(0,ae.generate)({alg:ie,extractable:true});const le=(0,ce.toDid)(se.publicKey);const fe=yield(0,ue.toDidDocument)(re,[le],oe);return{did:fe.id,didDocument:fe,key:se}}));ie.exportable=exportable},51921:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};Object.defineProperty(ie,"__esModule",{value:true});ie.fromDids=void 0;const ae=oe(76906);const fromDids=({url:re,dids:ie,documentLoader:oe})=>se(void 0,void 0,void 0,(function*(){const se=yield(0,ae.toDidDocument)(re,ie,oe);return{did:se.id,didDocument:se}}));ie.fromDids=fromDids},45134:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};Object.defineProperty(ie,"__esModule",{value:true});ie.fromPrivateKey=void 0;const ae=oe(51921);const ce=oe(55108);const ue=oe(84877);const le=oe(31529);const fromPrivateKey=({url:re,privateKey:ie})=>se(void 0,void 0,void 0,(function*(){const{did:oe,didDocument:se}=yield(0,ae.fromDids)({url:re,dids:[(0,ue.toDid)(ie)],documentLoader:ce.documentLoader});return{did:oe,didDocument:se,key:{publicKey:(0,le.getPublicKeyJwk)(ie),privateKey:ie}}}));ie.fromPrivateKey=fromPrivateKey},77231:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__exportStar||function(re,ie){for(var oe in re)if(oe!=="default"&&!Object.prototype.hasOwnProperty.call(ie,oe))se(ie,re,oe)};Object.defineProperty(ie,"__esModule",{value:true});ae(oe(99010),ie);ae(oe(51921),ie);ae(oe(59106),ie);ae(oe(53824),ie);ae(oe(45134),ie);ae(oe(51921),ie)},59106:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};Object.defineProperty(ie,"__esModule",{value:true});ie.resolve=void 0;const ae=oe(69084);const ce=oe(73701);const resolve=({id:re,documentLoader:ie})=>se(void 0,void 0,void 0,(function*(){if(!re.startsWith(ce.prefix)){return null}try{const oe=(0,ae.didToEndpoint)(re);const{document:se}=yield ie(oe);return se}catch(re){return null}}));ie.resolve=resolve},69084:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.didToEndpoint=void 0;const didToEndpoint=re=>{const ie=new RegExp(`did:web:(?[a-zA-Z0-9/.\\-_]+)(?:%3A(?[0-9]+))?(:*)(?[a-zA-Z0-9/.:\\-_]*)`);const oe=re.match(ie);if(!oe){throw new Error("DID is not a valid did:web")}const{host:se,port:ae,path:ce}=oe.groups;const ue=ae?`${se}:${ae}`:`${se}`;const le=se.includes("localhost")?"http":"https";const fe=ce.split(":").join("/");const de=ce?`${le}://${ue}/${fe}/did.json`:`${le}://${ue}/.well-known/did.json`;return de};ie.didToEndpoint=didToEndpoint},35173:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.endpointToDid=void 0;const endpointToDid=re=>{const ie=new URL(re);const{pathname:oe}=ie;let{host:se}=ie;if(se.includes(":")){se=encodeURIComponent(se)}if(re.includes(".well-known/did.json")){return`did:web:${se}`}return`did:web:${se}${oe.replace(/\//g,":").replace(":did.json","")}`};ie.endpointToDid=endpointToDid},37818:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(77231);const ae={exportable:se.exportable,resolve:se.resolve,dereference:se.dereference,fromPrivateKey:se.fromPrivateKey,fromDids:se.fromDids};ie["default"]=ae},73701:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.prefix=void 0;ie.prefix="did:web"},76906:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};var ae=this&&this.__rest||function(re,ie){var oe={};for(var se in re)if(Object.prototype.hasOwnProperty.call(re,se)&&ie.indexOf(se)<0)oe[se]=re[se];if(re!=null&&typeof Object.getOwnPropertySymbols==="function")for(var ae=0,se=Object.getOwnPropertySymbols(re);ae{const{verificationMethod:ie,authentication:oe,assertionMethod:se,capabilityInvocation:ce,capabilityDelegation:ue,keyAgreement:le}=re,fe=ae(re,["verificationMethod","authentication","assertionMethod","capabilityInvocation","capabilityDelegation","keyAgreement"]);return fe};const toDidDocument=(re,ie,oe)=>se(void 0,void 0,void 0,(function*(){var ae;const le=(0,ce.endpointToDid)(re);let fe={"@context":["https://www.w3.org/ns/did/v1",{"@vocab":"https://www.iana.org/assignments/jose#"}]};yield Promise.all(ie.map((re=>se(void 0,void 0,void 0,(function*(){const{document:ie}=yield oe(re);const se=extractNonRelationships(ie);fe=Object.assign(Object.assign({},fe),se);fe.verificationMethod=[...fe.verificationMethod||[],...ie.verificationMethod||[]]})))));(ae=fe.verificationMethod)===null||ae===void 0?void 0:ae.forEach((re=>{re.id=`#${re.publicKeyJwk.kid.split(":").pop()}`;re.controller=le}));fe.id=le;return(0,ue.formatDidDocument)(fe)}));ie.toDidDocument=toDidDocument},86938:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true})},40802:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true})},76385:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true})},48048:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true})},88791:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true})},14600:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true})},34114:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true})},28733:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true})},83955:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true})},27316:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true})},50013:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true})},84469:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true})},14254:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true})},21433:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true})},88957:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.dereferenceWithinDocument=void 0;const se=oe(38277);const dereferenceWithinDocument=({id:re,document:ie})=>{if(!ie){throw new Error("Document is null")}const{fragment:oe}=(0,se.parseDidUrl)(re);const ae=[...ie.verificationMethod||[],...ie.service||[]];const ce=ae.find((ie=>ie.id===re||ie.id===`#${oe}`));return ce?ce:null};ie.dereferenceWithinDocument=dereferenceWithinDocument},17056:function(re,ie,oe){"use strict";var se=this&&this.__rest||function(re,ie){var oe={};for(var se in re)if(Object.prototype.hasOwnProperty.call(re,se)&&ie.indexOf(se)<0)oe[se]=re[se];if(re!=null&&typeof Object.getOwnPropertySymbols==="function")for(var ae=0,se=Object.getOwnPropertySymbols(re);ae{const{id:ie,verificationMethod:oe,authentication:ce,assertionMethod:ue,capabilityInvocation:le,capabilityDelegation:fe,keyAgreement:de,service:pe}=re,he=se(re,["id","verificationMethod","authentication","assertionMethod","capabilityInvocation","capabilityDelegation","keyAgreement","service"]);const Ae=Object.assign({"@context":re["@context"],id:ie,verificationMethod:oe||[].map(ae.formatVerificationMethod),authentication:(ce===null||ce===void 0?void 0:ce.length)?ce:undefined,assertionMethod:(ue===null||ue===void 0?void 0:ue.length)?ue:undefined,capabilityInvocation:(le===null||le===void 0?void 0:le.length)?le:undefined,capabilityDelegation:(fe===null||fe===void 0?void 0:fe.length)?fe:undefined,keyAgreement:(de===null||de===void 0?void 0:de.length)?de:undefined,service:(pe===null||pe===void 0?void 0:pe.length)?pe:undefined},he);return JSON.parse(JSON.stringify(Ae))};ie.formatDidDocument=formatDidDocument},5485:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.formatVerificationMethod=void 0;const formatVerificationMethod=re=>{const ie={id:re.id,type:re.type,controller:re.controller,publicKeyJwk:re.publicKeyJwk};return JSON.parse(JSON.stringify(ie))};ie.formatVerificationMethod=formatVerificationMethod},96914:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ae=oe(38277);const ce=se(oe(33707));const ue=se(oe(45759));const le=se(oe(27739));const fe=se(oe(37818));const de={jwk:ce.default,oidc:ue.default,jwt:le.default,web:fe.default,parse:ae.parseDidUrl};ie["default"]=de},38277:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.parseDidUrl=void 0;function parseDidUrl(re){const ie=re.indexOf("/");const oe=re.indexOf("?");const se=re.indexOf("#");const ae=se===-1?"":re.substring(se+1,re.length);const ce=oe===-1?"":re.substring(oe+1,se>-1?se:re.length);const ue=ie===-1?"":re.substring(ie+1,oe>-1?oe:se>-1?se:re.length);const le=re.replace("/"+ue,"").replace("?"+ce,"").replace("#"+ae,"");const fe=le.split(":")[1];const de=le.replace(`did:${fe}:`,"");return{method:fe,id:de,path:ue,query:ce,fragment:ae}}ie.parseDidUrl=parseDidUrl},12359:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__exportStar||function(re,ie){for(var oe in re)if(oe!=="default"&&!Object.prototype.hasOwnProperty.call(ie,oe))se(ie,re,oe)};var ce=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ue=ce(oe(52777));const le=ce(oe(96914));const fe=ce(oe(32082));const de=ce(oe(90162));const pe=oe(21266);const he={did:le.default,jose:{alg:pe.alg,enc:pe.enc},cose:ue.default,w3c:fe.default,scitt:de.default,sign:pe.signWithKey,verify:pe.verifyWithKey,encrypt:pe.encryptToKey,decrypt:pe.decryptWithKey};ae(oe(62529),ie);ie["default"]=he},65995:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true})},81353:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true})},69479:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true})},30357:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true})},15450:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.algorithms=ie.alg=ie.jweAlg=ie.keyAgreementAlgorithms=ie.RSA_OAEP_256=ie.ECDH_ES_A256KW=ie.signatureAlgorithms=ie.jwsAlg=ie.ES512=ie.ES384=ie.ES256=ie.ES256K=ie.EdDSA=void 0;ie.EdDSA="EdDSA";ie.ES256K="ES256K";ie.ES256="ES256";ie.ES384="ES384";ie.ES512="ES512";ie.jwsAlg={EdDSA:ie.EdDSA,ES256K:ie.ES256K,ES256:ie.ES256,ES384:ie.ES384,ES512:ie.ES512};ie.signatureAlgorithms=[ie.ES256,ie.ES384,ie.ES512,ie.EdDSA,ie.ES256K];ie.ECDH_ES_A256KW="ECDH-ES+A256KW";ie.RSA_OAEP_256="RSA-OAEP-256";ie.keyAgreementAlgorithms=[ie.ECDH_ES_A256KW,ie.RSA_OAEP_256];ie.jweAlg={ECDH_ES_A256KW:ie.ECDH_ES_A256KW,RSA_OAEP_256:ie.RSA_OAEP_256};ie.alg=Object.assign(Object.assign({},ie.jwsAlg),ie.jweAlg);ie.algorithms=[...ie.signatureAlgorithms,...ie.keyAgreementAlgorithms];ie["default"]=ie.alg},35331:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};var ue=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};Object.defineProperty(ie,"__esModule",{value:true});ie.decryptWithKey=void 0;const le=ce(oe(34061));const fe=oe(45263);const decryptWithKey=({jwe:re,privateKey:ie})=>ue(void 0,void 0,void 0,(function*(){const oe=yield(0,fe.getKey)(ie);const{plaintext:se,protectedHeader:ae}=yield le.compactDecrypt(re,oe);return{plaintext:se,protectedHeader:ae}}));ie.decryptWithKey=decryptWithKey},51965:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.enc=ie.A256GCM=void 0;ie.A256GCM="A256GCM";ie.enc={A256GCM:ie.A256GCM};ie["default"]=ie.enc},45446:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};var ue=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};Object.defineProperty(ie,"__esModule",{value:true});ie.encryptToKey=void 0;const le=ce(oe(34061));const fe=oe(45263);const encryptToKey=({publicKey:re,plaintext:ie,protectedHeader:oe})=>ue(void 0,void 0,void 0,(function*(){const se=yield(0,fe.getKey)(re);const ae=yield new le.CompactEncrypt(ie).setProtectedHeader(oe).encrypt(se);return ae}));ie.encryptToKey=encryptToKey},52310:function(re,ie){"use strict";var oe=this&&this.__rest||function(re,ie){var oe={};for(var se in re)if(Object.prototype.hasOwnProperty.call(re,se)&&ie.indexOf(se)<0)oe[se]=re[se];if(re!=null&&typeof Object.getOwnPropertySymbols==="function")for(var ae=0,se=Object.getOwnPropertySymbols(re);ae{const{kid:ie,x5u:se,x5c:ae,x5t:ce,kty:ue,crv:le,alg:fe,key_ops:de,x:pe,y:he,d:Ae}=re,ge=oe(re,["kid","x5u","x5c","x5t","kty","crv","alg","key_ops","x","y","d"]);return JSON.parse(JSON.stringify(Object.assign({kid:ie,x5u:se,x5c:ae,x5t:ce,kty:ue,crv:le,alg:fe,key_ops:de,x:pe,y:he,d:Ae},ge)))};ie.formatJwk=formatJwk},45263:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};var ue=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};Object.defineProperty(ie,"__esModule",{value:true});ie.getKey=void 0;const le=ce(oe(34061));const getKey=re=>ue(void 0,void 0,void 0,(function*(){return re.kty?le.importJWK(re):re}));ie.getKey=getKey},21266:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__exportStar||function(re,ie){for(var oe in re)if(oe!=="default"&&!Object.prototype.hasOwnProperty.call(ie,oe))se(ie,re,oe)};Object.defineProperty(ie,"__esModule",{value:true});ae(oe(45446),ie);ae(oe(35331),ie);ae(oe(50448),ie);ae(oe(32661),ie);ae(oe(15450),ie);ae(oe(51965),ie)},50448:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};var ue=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};Object.defineProperty(ie,"__esModule",{value:true});ie.signWithKey=void 0;const le=ce(oe(34061));const fe=oe(45263);const signWithKey=({privateKey:re,payload:ie,protectedHeader:oe})=>ue(void 0,void 0,void 0,(function*(){const se=yield(0,fe.getKey)(re);const ae=yield new le.CompactSign(ie).setProtectedHeader(oe).sign(se);return ae}));ie.signWithKey=signWithKey},32661:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};var ue=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};Object.defineProperty(ie,"__esModule",{value:true});ie.verifyWithKey=void 0;const le=ce(oe(34061));const fe=oe(45263);const verifyWithKey=({jws:re,publicKey:ie})=>ue(void 0,void 0,void 0,(function*(){const oe=yield(0,fe.getKey)(ie);const{payload:se,protectedHeader:ae}=yield le.compactVerify(re,oe);return{payload:se,protectedHeader:ae}}));ie.verifyWithKey=verifyWithKey},90162:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(67897);const ae=oe(15433);const ce={signer:se.signer,verifier:ae.verifier};ie["default"]=ce},67897:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});ie.signer=void 0;const ae=se(oe(52777));const signer=({privateKey:re})=>ae.default.detached.signer({privateKeyJwk:re});ie.signer=signer},15433:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};var ae=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});ie.verifier=void 0;const ce=ae(oe(52777));const verifier=({issuer:re})=>({verify:({payload:ie,signature:oe})=>se(void 0,void 0,void 0,(function*(){try{const se=yield re(oe);const ae=yield ce.default.detached.verifier({publicKeyJwk:se});return ae.verify({payload:ie,signature:oe})}catch(re){console.log(re);return false}}))});ie.verifier=verifier},62529:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__exportStar||function(re,ie){for(var oe in re)if(oe!=="default"&&!Object.prototype.hasOwnProperty.call(ie,oe))se(ie,re,oe)};Object.defineProperty(ie,"__esModule",{value:true});ae(oe(86938),ie);ae(oe(88791),ie);ae(oe(76385),ie);ae(oe(14600),ie);ae(oe(48048),ie);ae(oe(40802),ie);ae(oe(21433),ie);ae(oe(34114),ie);ae(oe(14254),ie);ae(oe(83955),ie);ae(oe(28733),ie);ae(oe(50013),ie);ae(oe(27316),ie);ae(oe(69479),ie);ae(oe(81353),ie);ae(oe(30357),ie);ae(oe(65995),ie);ae(oe(84469),ie);ae(oe(18317),ie);ae(oe(12311),ie)},32082:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ae=se(oe(38826));ie["default"]=ae.default},87391:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};var ue=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};Object.defineProperty(ie,"__esModule",{value:true});const le=ce(oe(4114));const attachPayload=({payload:re,signature:ie})=>ue(void 0,void 0,void 0,(function*(){const oe=le.decodeFirstSync(ie);oe.value[2]=re;return new Uint8Array(yield le.encodeAsync(oe))}));ie["default"]=attachPayload},76180:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};Object.defineProperty(ie,"__esModule",{value:true});const ue=ce(oe(4114));const le={web:ue,encode:re=>{const ie=ue.encode(re);return new Uint8Array(ie)},decode:re=>ue.decode(re)};ie["default"]=le},29909:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};var ue=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};Object.defineProperty(ie,"__esModule",{value:true});const le=ce(oe(4114));const detachPayload=re=>ue(void 0,void 0,void 0,(function*(){const ie=le.decodeFirstSync(re);const oe=ie.value[2];ie.value[2]=new Uint8Array;le.encode(ie);const se=new Uint8Array(yield le.encodeAsync(ie));return{payload:oe,signature:se}}));ie["default"]=detachPayload},27790:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ae=se(oe(48910));const ce=se(oe(26580));const ue={signer:ae.default,verifier:ce.default};ie["default"]=ue},48910:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};var ae=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ce=oe(34061);const ue=ae(oe(99602));const le=ae(oe(29909));const signer=({privateKeyJwk:re})=>se(void 0,void 0,void 0,(function*(){return{alg:re.alg,sign:({protectedHeader:ie,unprotectedHeader:oe,payload:ae})=>se(void 0,void 0,void 0,(function*(){const se=yield ue.default.sign.create({p:ie,u:oe},ae,{key:{d:ce.base64url.decode(re.d)}});return(0,le.default)(se)}))}}));ie["default"]=signer},26580:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};var ae=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ce=oe(34061);const ue=ae(oe(99602));const le=ae(oe(87391));const verifier=({publicKeyJwk:re})=>se(void 0,void 0,void 0,(function*(){return{verify:({payload:ie,signature:oe})=>se(void 0,void 0,void 0,(function*(){const se=yield(0,le.default)({payload:ie,signature:oe});try{yield ue.default.sign.verify(se,{key:{x:ce.base64url.decode(re.x),y:ce.base64url.decode(re.y)}});return true}catch(re){}return false}))}}));ie["default"]=verifier},93512:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};var ue=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};Object.defineProperty(ie,"__esModule",{value:true});const le=ce(oe(4114));function toHexString(re){return Array.prototype.map.call(re,(function(re){return("0"+(re&255).toString(16)).slice(-2)})).join("")}const prettyHeaderKey=re=>({[`1`]:"alg",[`3`]:"content_type",[`4`]:"kid",[`100`]:"inclusion-proof",[`200`]:"consistency-proof"}[`${re}`]);const prettyHeaderValue=re=>{const ie={[`-7`]:'"ES256"',[`-35`]:'"ES384"',[`-36`]:'"ES512"'}[`${re}`];return ie?ie:`h'${toHexString((new TextEncoder).encode(re))}'`};const diagnosticProtectedHeader=re=>{const ie=le.decode(re,{dictionary:"map"});const oe=[];for(const[re,se]of ie.entries()){oe.push(` # "${prettyHeaderKey(re)}" : ${prettyHeaderValue(se)}`);oe.push(` # ${re} : ${se}`)}return` # Protected Header\n h'${toHexString(re)}', \n # {\n${oe.join(",\n")}\n # }\n`};const diagnosticData=re=>`h'${toHexString(re)}'`;const diagnosticUnprotectedHeader=re=>{if(!re.entries){return" # Unprotected Header\n {},\n"}const ie=[];for(const[oe,se]of re.entries()){ie.push(` # "${prettyHeaderKey(oe)}" : "${prettyHeaderValue(se)}" \n ${oe} : ${prettyHeaderValue(se)} `)}return` # Unprotected Header\n {\n ${ie.join(",\n")}\n },\n`};const fe={decode_payload:true,detached_payload:false};const alternateDiagnostic=(re,ie=fe)=>ue(void 0,void 0,void 0,(function*(){let oe="";const{tag:se,value:ae}=le.decode(re,{dictionary:"map"});const ce=diagnosticUnprotectedHeader(ae[1]);oe+=`# COSE_Sign1\n${se}([\n\n`;oe+=diagnosticProtectedHeader(ae[0]);oe+="\n";oe+=ce;oe+="\n";if(ie.detached_payload){oe+=" "+"# Detached Payload\n"}else{oe+=" "+"# Protected Payload\n";oe+=" "+diagnosticData(ae[2])+",\n";if(ie.decode_payload){oe+=" "+"# "+(new TextDecoder).decode(ae[2])+"\n"}}oe+="\n";oe+=" "+"# Signature\n";oe+=" "+diagnosticData(ae[3])+"\n";oe+=`])`;return oe}));ie["default"]=alternateDiagnostic},84967:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};Object.defineProperty(ie,"__esModule",{value:true});const ue=ce(oe(4114));const getContentType=re=>{const{value:[ie]}=ue.decode(re);const oe=ue.decode(ie);const se=3;return oe.get(se)};ie["default"]=getContentType},84334:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};Object.defineProperty(ie,"__esModule",{value:true});const ue=ce(oe(4114));const getKid=re=>{const{value:[ie]}=ue.decode(re);const oe=ue.decode(ie);const se=oe.get(4);const ae=(new TextDecoder).decode(se);return ae};ie["default"]=getKid},52777:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__exportStar||function(re,ie){for(var oe in re)if(oe!=="default"&&!Object.prototype.hasOwnProperty.call(ie,oe))se(ie,re,oe)};var ce=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ue=ce(oe(87460));const le=ce(oe(48589));const fe=ce(oe(93512));const de=ce(oe(27612));const pe=ce(oe(5787));const he=ce(oe(76180));const Ae=ce(oe(29909));const ge=ce(oe(87391));const me=ce(oe(27790));const ye=oe(57994);const ve=ce(oe(84334));const be=ce(oe(84967));const we={detached:me.default,getKid:ve.default,getContentType:be.default,binToHex:ye.RFC9162.binToHex,hexToBin:ye.RFC9162.hexToBin,cbor:he.default,merkle:pe.default,diagnostic:fe.default,detachPayload:Ae.default,attachPayload:ge.default,unprotectedHeader:de.default,signer:ue.default,verifier:le.default};ae(oe(79633),ie);ie["default"]=we},5787:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(57994);const ae=oe(75142);const ce=oe(81644);const ue=oe(9480);const le=oe(56918);const fe=oe(61075);const de={tree_alg:se.CoMETRE.RFC9162_SHA256.tree_alg,leaf:se.CoMETRE.RFC9162_SHA256.leaf,root:ae.sign_root,inclusion_proof:ce.sign_inclusion_proof,verify_inclusion_proof:ue.verify_inclusion_proof,consistency_proof:le.sign_consistency_proof,verify_consistency_proof:fe.verify_consistency_proof};ie["default"]=de},56918:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};var ae=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});ie.sign_consistency_proof=void 0;const ce=oe(57994);const ue=ae(oe(27612));const le=ae(oe(76180));const sign_consistency_proof=({kid:re,alg:ie,leaves:oe,signed_inclusion_proof:ae,signer:fe})=>se(void 0,void 0,void 0,(function*(){const se=le.default.decode(ae);const[de,pe,he]=le.default.decode(se.value[1].get(100));const Ae=ce.CoMETRE.RFC9162_SHA256.consistency_proof({log_id:"",tree_size:de,leaf_index:pe,inclusion_path:he},oe);const ge=ce.CoMETRE.RFC9162_SHA256.root(oe);const me=yield fe.sign({protectedHeader:{alg:ie,kid:re},payload:ge});const ye=new Map;ye.set(ue.default.consistency_proof,le.default.encode([Ae.tree_size_1,Ae.tree_size_2,Ae.consistency_path]));const ve=ue.default.set(me,ye);return ve}));ie.sign_consistency_proof=sign_consistency_proof},81644:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};var ae=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});ie.sign_inclusion_proof=void 0;const ce=oe(57994);const ue=ae(oe(27612));const le=ae(oe(76180));const fe=ae(oe(29909));const sign_inclusion_proof=({kid:re,alg:ie,leaf_index:oe,leaves:ae,signer:de})=>se(void 0,void 0,void 0,(function*(){const se=ce.CoMETRE.RFC9162_SHA256.root(ae);const pe=ce.CoMETRE.RFC9162_SHA256.inclusion_proof(oe,ae);const he=yield de.sign({protectedHeader:{alg:ie,kid:re},payload:se});const Ae=new Map;Ae.set(ue.default.inclusion_proof,le.default.encode([pe.tree_size,pe.leaf_index,pe.inclusion_path]));const ge=ue.default.set(he,Ae);const{signature:me}=yield(0,fe.default)(ge);return me}));ie.sign_inclusion_proof=sign_inclusion_proof},75142:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};Object.defineProperty(ie,"__esModule",{value:true});ie.sign_root=void 0;const ae=oe(57994);const sign_root=({alg:re,kid:ie,leaves:oe,signer:ce})=>se(void 0,void 0,void 0,(function*(){const se=ae.CoMETRE.RFC9162_SHA256.root(oe);if(!ce){return se}const ue=yield ce.sign({protectedHeader:{alg:re,kid:ie},payload:se});return ue}));ie.sign_root=sign_root},61075:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};var ae=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});ie.verify_consistency_proof=void 0;const ce=oe(57994);const ue=ae(oe(76180));const verify_consistency_proof=({old_root:re,signed_consistency_proof:ie,verifier:oe})=>se(void 0,void 0,void 0,(function*(){const se=ue.default.decode(ie);const[ae,le,fe]=ue.default.decode(se.value[1].get(200));const de=yield oe.verify(ie);const pe=yield ce.CoMETRE.RFC9162_SHA256.verify_consistency_proof(re,de,{log_id:"",tree_size_1:ae,tree_size_2:le,consistency_path:fe});return pe}));ie.verify_consistency_proof=verify_consistency_proof},9480:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};var ae=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});ie.verify_inclusion_proof=void 0;const ce=oe(57994);const ue=ae(oe(76180));const le=ae(oe(87391));const verify_inclusion_proof=({leaf:re,signed_inclusion_proof:ie,verifier:oe})=>se(void 0,void 0,void 0,(function*(){const se=ue.default.decode(ie);const[ae,fe,de]=ue.default.decode(se.value[1].get(100));const pe=yield ce.CoMETRE.RFC9162_SHA256.verify_inclusion_proof(re,{log_id:"",tree_size:ae,leaf_index:fe,inclusion_path:de});const he=yield(0,le.default)({signature:ie,payload:pe});const Ae=yield oe.verify(he);return Ae}));ie.verify_inclusion_proof=verify_inclusion_proof},87460:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};var ae=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ce=oe(34061);const ue=ae(oe(99602));const signer=({privateKeyJwk:re})=>se(void 0,void 0,void 0,(function*(){return{alg:re.alg,sign:({protectedHeader:ie,unprotectedHeader:oe,payload:ae})=>se(void 0,void 0,void 0,(function*(){const se=yield ue.default.sign.create({p:ie,u:oe},ae,{key:{d:ce.base64url.decode(re.d)}});return new Uint8Array(se)}))}}));ie["default"]=signer},66110:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true})},97206:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true})},83960:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true})},62197:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true})},84650:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true})},67332:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true})},46865:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true})},59371:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true})},14564:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true})},10210:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true})},91212:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true})},39306:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true})},82577:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true})},68889:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true})},79633:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__exportStar||function(re,ie){for(var oe in re)if(oe!=="default"&&!Object.prototype.hasOwnProperty.call(ie,oe))se(ie,re,oe)};Object.defineProperty(ie,"__esModule",{value:true});ae(oe(46865),ie);ae(oe(68889),ie);ae(oe(67332),ie);ae(oe(59371),ie);ae(oe(84650),ie);ae(oe(83960),ie);ae(oe(62197),ie);ae(oe(91212),ie);ae(oe(14564),ie);ae(oe(82577),ie);ae(oe(10210),ie);ae(oe(39306),ie);ae(oe(66110),ie);ae(oe(97206),ie)},27612:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};Object.defineProperty(ie,"__esModule",{value:true});const ue=ce(oe(4114));const le={kid:4,content_type:3,counter_signature:7,inclusion_proof:100,consistency_proof:200,receipt:300};const fe=Object.assign(Object.assign({},le),{get:re=>{const ie=ue.decode(re);const oe=ie.value[1];return oe.size===undefined?new Map:oe},set:(re,ie)=>{const oe=ue.decode(re);oe.value[1]=ie;const se=new Uint8Array(ue.encode(oe));return se}});ie["default"]=fe},48589:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};var ae=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ce=oe(34061);const ue=ae(oe(99602));const verifier=({publicKeyJwk:re})=>se(void 0,void 0,void 0,(function*(){return{verify:ie=>se(void 0,void 0,void 0,(function*(){const oe=yield ue.default.sign.verify(ie,{key:{x:ce.base64url.decode(re.x),y:ce.base64url.decode(re.y)}});return new Uint8Array(oe)}))}}));ie["default"]=verifier},50945:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};var ue=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};var le=this&&this.__rest||function(re,ie){var oe={};for(var se in re)if(Object.prototype.hasOwnProperty.call(re,se)&&ie.indexOf(se)<0)oe[se]=re[se];if(re!=null&&typeof Object.getOwnPropertySymbols==="function")for(var ae=0,se=Object.getOwnPropertySymbols(re);aeue(void 0,void 0,void 0,(function*(){if(ie==="ECDH-ES+A256KW"&&re===undefined){re="P-384"}const{publicKey:se,privateKey:ae}=yield de.generateKeyPair(ie,{extractable:oe,crv:re});const ce=yield de.exportJWK(se);const ue=yield de.exportJWK(ae);ue.alg=ie;ue.kid=yield de.calculateJwkThumbprintUri(ce);return formatJwk(ue)}));ie.createPrivateKey=createPrivateKey;const formatJwk=re=>{const ie=structuredClone(re),{kid:oe,x5u:se,x5c:ae,x5t:ce,kty:ue,crv:fe,alg:de,use:pe,key_ops:he,x:Ae,y:ge,d:me}=ie,ye=le(ie,["kid","x5u","x5c","x5t","kty","crv","alg","use","key_ops","x","y","d"]);return JSON.parse(JSON.stringify(Object.assign({kid:oe,kty:ue,crv:fe,alg:de,use:pe,key_ops:he,x:Ae,y:ge,d:me,x5u:se,x5c:ae,x5t:ce},ye)))};const publicKeyToUri=re=>ue(void 0,void 0,void 0,(function*(){return de.calculateJwkThumbprintUri(re)}));ie.publicKeyToUri=publicKeyToUri;const publicFromPrivate=re=>{const{d:ie,p:oe,q:se,dp:ae,dq:ce,qi:ue,key_ops:fe}=re,de=le(re,["d","p","q","dp","dq","qi","key_ops"]);return formatJwk(de)};ie.publicFromPrivate=publicFromPrivate;const encryptToKey=({publicKey:re,plaintext:ie})=>ue(void 0,void 0,void 0,(function*(){const oe=yield new de.FlattenedEncrypt(ie).setProtectedHeader({alg:re.alg,enc:"A256GCM"}).encrypt(yield de.importJWK(re));return oe}));ie.encryptToKey=encryptToKey;const decryptWithKey=({privateKey:re,ciphertext:ie})=>ue(void 0,void 0,void 0,(function*(){return de.flattenedDecrypt(ie,yield de.importJWK(re))}));ie.decryptWithKey=decryptWithKey;const formatVerificationMethod=re=>{const ie={id:re.id,type:re.type,controller:re.controller,publicKeyJwk:re.publicKeyJwk};return JSON.parse(JSON.stringify(ie))};ie.formatVerificationMethod=formatVerificationMethod;const createVerificationMethod=re=>ue(void 0,void 0,void 0,(function*(){const ie=yield de.calculateJwkThumbprintUri(re);return{id:ie,type:"JsonWebKey",controller:ie,publicKeyJwk:formatJwk(re)}}));ie.createVerificationMethod=createVerificationMethod;const dereferencePublicKey=re=>ue(void 0,void 0,void 0,(function*(){return de.importJWK(JSON.parse((new TextDecoder).decode(de.base64url.decode(re.split(":")[2].split("#")[0]))))}));ie.dereferencePublicKey=dereferencePublicKey;const publicKeyToVerificationMethod=re=>ue(void 0,void 0,void 0,(function*(){return"#"+(0,ie.publicKeyToUri)(re)}));ie.publicKeyToVerificationMethod=publicKeyToVerificationMethod;const publicKeyToDid=re=>{const ie=`did:jwk:${de.base64url.encode(JSON.stringify(formatJwk(re)))}`;return ie};ie.publicKeyToDid=publicKeyToDid;const he=["authentication","assertionMethod"];const Ae=["keyAgreement"];const ge=[...he,...Ae];const me={ES256:ge,ES384:ge,EdDSA:he,X25519:Ae,ES256K:he};const ye={document:{create:re=>ue(void 0,void 0,void 0,(function*(){const oe=(0,ie.publicKeyToDid)(re);const se=yield(0,ie.createVerificationMethod)(re);const ae={"@context":["https://www.w3.org/ns/did/v1",{"@vocab":"https://www.iana.org/assignments/jose#"}],id:oe,verificationMethod:[(0,ie.formatVerificationMethod)(Object.assign(Object.assign({},se),{id:"#0",controller:oe}))]};me[re.alg].forEach((re=>{ae[re]=["#0"]}));return ae})),identifier:{replace:(re,ie,oe)=>JSON.parse(JSON.stringify(re,(function replacer(re,se){if(se===ie){return oe}return se})))}}};const ve=Object.assign(Object.assign({},pe.default),{createPrivateKey:ie.createPrivateKey,publicFromPrivate:ie.publicFromPrivate});const be={did:ye,key:ve};ie["default"]=be},38826:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__exportStar||function(re,ie){for(var oe in re)if(oe!=="default"&&!Object.prototype.hasOwnProperty.call(ie,oe))se(ie,re,oe)};var ce=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});ie.vp=ie.vc=void 0;const ue=ce(oe(50945));const le=ce(oe(46812));ie.vc=le.default;const fe=ce(oe(52674));ie.vp=fe.default;ae(oe(79353),ie);const de={controller:ue.default,vc:le.default,vp:fe.default};ie["default"]=de},85826:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};var ae=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});ie.verifier=ie.signer=void 0;const ce=ae(oe(6853));const signer=({privateKey:re})=>se(void 0,void 0,void 0,(function*(){const ie=yield ce.default.signer({privateKey:re});return{sign:({protectedHeader:re,payload:oe})=>se(void 0,void 0,void 0,(function*(){const se=yield ie.sign({protectedHeader:re,payload:oe});return`${se.protected}.${se.payload}.${se.signature}`}))}}));ie.signer=signer;const verifier=({publicKey:re})=>se(void 0,void 0,void 0,(function*(){const ie=yield ce.default.verifier({publicKey:re});return{verify:re=>se(void 0,void 0,void 0,(function*(){const[oe,se,ae]=re.split(".");const ce=yield ie.verify({protected:oe,payload:se,signature:ae});return ce}))}}));ie.verifier=verifier;const ue={signer:ie.signer,verifier:ie.verifier};ie["default"]=ue},6853:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};var ue=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};Object.defineProperty(ie,"__esModule",{value:true});ie.verifier=ie.signer=void 0;const le=ce(oe(34061));const fe=oe(16665);const signer=({privateKey:re})=>ue(void 0,void 0,void 0,(function*(){const ie=yield(0,fe.getKey)(re);return{sign:({protectedHeader:re,payload:oe})=>ue(void 0,void 0,void 0,(function*(){const se=yield new le.FlattenedSign(oe).setProtectedHeader(re).sign(ie);return se}))}}));ie.signer=signer;const verifier=({publicKey:re})=>ue(void 0,void 0,void 0,(function*(){const ie=yield(0,fe.getKey)(re);return{verify:re=>ue(void 0,void 0,void 0,(function*(){const{protectedHeader:oe,payload:se}=yield le.flattenedVerify(re,ie);return{protectedHeader:oe,payload:se}}))}}));ie.verifier=verifier;const de={signer:ie.signer,verifier:ie.verifier};ie["default"]=de},16665:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};Object.defineProperty(ie,"__esModule",{value:true});ie.getKey=void 0;const ae=oe(34061);const getKey=re=>se(void 0,void 0,void 0,(function*(){return re.kty?(0,ae.importJWK)(re):re}));ie.getKey=getKey},9532:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ae=se(oe(85826));const ce=se(oe(6853));const ue=oe(16665);const le={attached:ae.default,detached:ce.default,getKey:ue.getKey};ie["default"]=le},17408:function(re,ie,oe){"use strict"; -/*! - * Copyright (c) 2020-2023 Digital Bazaar, Inc. All rights reserved. - */var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};var ue=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};Object.defineProperty(ie,"__esModule",{value:true});ie.Bitstring=void 0;const le=oe(31726);const fe=oe(34061);const de=ce(oe(47150));class Bitstring{constructor({length:re,buffer:ie,leftToRightIndexing:oe,littleEndianBits:se}={}){if(re&&ie){throw new Error('Only one of "length" or "buffer" must be given.')}if(re!==undefined){de.isPositiveInteger(re,"length")}else{de.isUint8Array(ie,"buffer")}if(se!==undefined){if(oe!==undefined){throw new Error('Using both "littleEndianBits" and "leftToRightIndexing" '+"is not allowed.")}de.isBoolean(se,"littleEndianBits");oe=se}if(oe===undefined){oe=true}else{de.isBoolean(oe,"leftToRightIndexing")}if(re){this.bits=new Uint8Array(Math.ceil(re/8));this.length=re}else{this.bits=new Uint8Array(ie.buffer);this.length=ie.length*8}this.leftToRightIndexing=oe}set(re,ie){de.isNumber(re,"position");de.isBoolean(ie,"on");const{length:oe,leftToRightIndexing:se}=this;const{index:ae,bit:ce}=_parsePosition(re,oe,se);if(ie){this.bits[ae]|=ce}else{this.bits[ae]&=255^ce}}get(re){de.isNumber(re,"position");const{length:ie,leftToRightIndexing:oe}=this;const{index:se,bit:ae}=_parsePosition(re,ie,oe);return!!(this.bits[se]&ae)}encodeBits(){return ue(this,void 0,void 0,(function*(){return fe.base64url.encode((0,le.gzip)(this.bits))}))}static decodeBits({encoded:re}){de.isString(re,"encoded");return(0,le.ungzip)(fe.base64url.decode(re))}compressBits(){return ue(this,void 0,void 0,(function*(){return(0,le.gzip)(this.bits)}))}static uncompressBits({compressed:re}){return ue(this,void 0,void 0,(function*(){de.isUint8Array(re,"compressed");return(0,le.ungzip)(re)}))}}ie.Bitstring=Bitstring;function _parsePosition(re,ie,oe){de.isNonNegativeInteger(re,"position");de.isPositiveInteger(ie,"length");de.isBoolean(oe,"leftToRightIndexing");if(re>=ie){throw new Error(`Position "${re}" is out of range "0-${ie-1}".`)}const se=Math.floor(re/8);const ae=re%8;const ce=oe?7-ae:ae;const ue=1<se(void 0,void 0,void 0,(function*(){const se=JSON.parse(JSON.stringify(ue));se.id=re;se.credentialSubject.id=re+"#list";se.credentialSubject.statusPurpose=oe;se.credentialSubject.encodedList=yield new ce.Bitstring({length:ie}).encodeBits();return se}));StatusList.updateStatus=({claimset:re,position:ie,purpose:oe,status:ae})=>se(void 0,void 0,void 0,(function*(){if(!re.credentialSubject){throw new Error("claimset is not of RDF type StatusList2021Credential")}const se=re;if(se.credentialSubject.statusPurpose!==oe){throw new Error("claimset is not for RDF purpose "+oe)}const ue=new ce.Bitstring({buffer:yield ce.Bitstring.decodeBits({encoded:se.credentialSubject.encodedList})});ue.set(ie,ae);se.credentialSubject.encodedList=yield ue.encodeBits();return se}));StatusList.checkStatus=({claimset:re,purpose:ie,position:oe})=>se(void 0,void 0,void 0,(function*(){if(!re.credentialSubject){throw new Error("claimset is not of RDF type StatusList2021Credential")}const se=re;if(se.credentialSubject.statusPurpose!==ie){throw new Error("claimset is not for RDF purpose "+ie)}const ae=new ce.Bitstring({buffer:yield ce.Bitstring.decodeBits({encoded:se.credentialSubject.encodedList})});return ae.get(oe)}))},47150:(re,ie)=>{"use strict"; -/*! - * Copyright (c) 2020 Digital Bazaar, Inc. All rights reserved. - */Object.defineProperty(ie,"__esModule",{value:true});ie.isUint8Array=ie.isNonNegativeInteger=ie.isBoolean=ie.isString=ie.isPositiveInteger=ie.isNumber=void 0;function isNumber(re,ie){if(typeof re!=="number"){throw new TypeError(`"${ie}" must be number.`)}}ie.isNumber=isNumber;function isPositiveInteger(re,ie){if(!(Number.isInteger(re)&&re>0)){throw new TypeError(`"${ie}" must be a positive integer.`)}}ie.isPositiveInteger=isPositiveInteger;function isString(re,ie){if(typeof re!=="string"){throw new TypeError(`"${ie}" must be a string.`)}}ie.isString=isString;function isBoolean(re,ie){if(typeof re!=="boolean"){throw new TypeError(`"${ie}" must be a boolean.`)}}ie.isBoolean=isBoolean;function isNonNegativeInteger(re,ie){if(!(Number.isInteger(re)&&re>=0)){throw new TypeError(`"${ie}" must be a non-negative integer.`)}}ie.isNonNegativeInteger=isNonNegativeInteger;function isUint8Array(re,ie){if(!(re instanceof Uint8Array)){throw new TypeError(`"${ie}" must be a Uint8Array.`)}}ie.isUint8Array=isUint8Array},23810:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__exportStar||function(re,ie){for(var oe in re)if(oe!=="default"&&!Object.prototype.hasOwnProperty.call(ie,oe))se(ie,re,oe)};Object.defineProperty(ie,"__esModule",{value:true});const ce=oe(4507);ae(oe(57246),ie);ie["default"]=ce.StatusList},57246:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true})},85426:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};var ae=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ce=ae(oe(85826));const issuer=({signer:re})=>se(void 0,void 0,void 0,(function*(){const ie=new TextEncoder;return{issue:({protectedHeader:oe,claimset:ae})=>se(void 0,void 0,void 0,(function*(){const se=JSON.stringify(ae);const ce=ie.encode(se);const ue=yield re.sign({protectedHeader:Object.assign({typ:"vc+ld+jwt"},oe),payload:ce});return ue}))}}));const verifier=({issuer:re})=>se(void 0,void 0,void 0,(function*(){const ie=new TextDecoder;return{verify:oe=>se(void 0,void 0,void 0,(function*(){const se=yield re(oe);const ae=yield ce.default.verifier({publicKey:se});const{protectedHeader:ue,payload:le}=yield ae.verify(oe);const fe=ie.decode(le);const de=JSON.parse(fe);return{protectedHeader:ue,claimset:de}}))}}));const ue={issuer:issuer,verifier:verifier};ie["default"]=ue},73490:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};var ae=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ce=ae(oe(45495));const credentialSchema=(re,ie)=>se(void 0,void 0,void 0,(function*(){const oe={};let se=false;if(re.credentialSchema){if(!ie){throw new Error("credentialSchema resolver required.")}const ae=Array.isArray(re.credentialSchema)?re.credentialSchema:[re.credentialSchema];for(const ue of ae){const ae=new ce.default({strict:false});oe[ue.id]={};try{const ce=yield ie(ue.id);const le=ae.compile(ce);oe[ue.id].valid=le(re);if(ce){oe[ue.id].jsonSchema=ce}if(!oe[ue.id].valid){se=true;oe[ue.id].errors=le.errors}}catch(re){se=true;oe[ue.id].errors=[{message:re.message}]}}}return Object.assign({valid:!se},oe)}));const ue={validate:credentialSchema};ie["default"]=ue},90780:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};var ae=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ce=ae(oe(85426));const ue=ae(oe(23810));const credentialStatus=(re,ie,oe)=>se(void 0,void 0,void 0,(function*(){const se={};if(re.credentialStatus){if(!ie){throw new Error("credentialStatus resolver required.")}if(!oe){throw new Error("issuer resolver required.")}const ae=Array.isArray(re.credentialStatus)?re.credentialStatus:[re.credentialStatus];for(const re of ae){const ae=yield ie(`${re.statusListCredential}`);const le=yield ce.default.verifier({issuer:oe});const fe=yield le.verify(ae);const de=fe.claimset;const pe=yield ue.default.checkStatus({claimset:de,purpose:`${re.statusPurpose}`,position:parseInt(`${re.statusListIndex}`,10)});se[`${re.id}`]={[`${re.statusPurpose}`]:pe,statusListCredential:de}}}const ae=Object.values(se).map((re=>{const ie=re.statusListCredential;return re[ie.credentialSubject.statusPurpose]})).every((re=>re===false));return Object.assign({valid:ae},se)}));const le={validate:credentialStatus};ie["default"]=le},46812:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ae=se(oe(81203));const ce=se(oe(85426));const ue=se(oe(8530));const le=se(oe(23810));const fe=se(oe(87033));const de=Object.assign({sd:ae.default,sl:fe.default,StatusList:le.default,validator:ue.default},ce.default);ie["default"]=de},87033:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};var ae=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ce=ae(oe(44083));const ue=ae(oe(23810));const le=oe(17408);const sortClaims=re=>{const{id:ie,type:oe,issuer:se,validFrom:ae,validUntil:ce,credentialSubject:ue}=re;return JSON.parse(JSON.stringify({"@context":re["@context"],id:ie,type:oe,issuer:se,validFrom:ae,validUntil:ce,credentialSubject:ue}))};const create=({id:re,purpose:ie,encodedList:oe,issuer:ae,validFrom:le,validUntil:fe}={id:"",purpose:"revocation",encodedList:"H4sIAAAAAAAAA2MAAI3vAtIBAAAA",issuer:"did:example:123",validFrom:"2000-04-05T14:27:40Z"})=>se(void 0,void 0,void 0,(function*(){const se=yield ue.default.create({id:re,purpose:ie,length:8});se.issuer={id:ae};se.validFrom=le;if(fe){se.validUntil=fe}se.credentialSubject.encodedList=oe;return ce.default.stringify(sortClaims(se))}));class BS{constructor(re){if(typeof re==="number"){this.bs=new le.Bitstring({length:re})}else{const ie=le.Bitstring.decodeBits({encoded:re});this.bs=new le.Bitstring({buffer:ie})}}set(re,ie){this.bs.set(re,ie);return this}get(re){return this.bs.get(re)}encode(){return this.bs.encodeBits()}}const bs=re=>new BS(re);const fe={create:create,bs:bs};ie["default"]=fe},79353:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true})},8530:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};var ae=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ce=ae(oe(99623));const ue=ae(oe(73490));const le=ae(oe(90780));const sortValidityPeriod=re=>{const{valid:ie,activated:oe,validFrom:se,validUntil:ae}=re;return JSON.parse(JSON.stringify({valid:ie,activated:oe,validFrom:se,validUntil:ae}))};const validator=({issuer:re,credentialSchema:ie,credentialStatus:oe})=>se(void 0,void 0,void 0,(function*(){return{validate:({protectedHeader:ae,claimset:fe})=>se(void 0,void 0,void 0,(function*(){if(!ae.alg){throw new Error("alg is required in protected header.")}const se={};se.issuer={valid:ae.alg!=="none",id:typeof fe.issuer==="string"?fe.issuer:fe.issuer.id};se.validityPeriod={valid:false};if(fe.validFrom){se.validityPeriod.activated=(0,ce.default)(fe.validFrom).fromNow();se.validityPeriod.validFrom=fe.validFrom}if(fe.validUntil){se.validityPeriod.expires=(0,ce.default)(fe.validUntil).fromNow();se.validityPeriod.validUntil=fe.validUntil}if(fe.validFrom){if(fe.validUntil){const re=(0,ce.default)(fe.validUntil).diff((0,ce.default)(fe.validFrom));const ie=ce.default.duration(re).humanize();se.validityPeriod.lifeSpan=ie;se.validityPeriod.valid=(0,ce.default)((0,ce.default)()).isAfter(fe.validFrom)&&(0,ce.default)((0,ce.default)()).isBefore(fe.validUntil)}else{se.validityPeriod.valid=(0,ce.default)((0,ce.default)()).isAfter(fe.validFrom)}}se.validityPeriod=sortValidityPeriod(se.validityPeriod);if(fe.credentialSchema){se.credentialSchema=yield ue.default.validate(fe,ie)}if(fe.credentialStatus){se.credentialStatus=yield le.default.validate(fe,oe,re)}return se}))}}));const fe=validator;ie["default"]=fe},52674:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};var ae=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ce=ae(oe(46812));const holder=({signer:re})=>se(void 0,void 0,void 0,(function*(){const ie=new TextEncoder;return{present:({protectedHeader:oe,claimset:ae})=>se(void 0,void 0,void 0,(function*(){const se=JSON.stringify(ae);const ce=ie.encode(se);return re.sign({protectedHeader:Object.assign({typ:"vp+ld+jwt"},oe),payload:ce})}))}}));const ue={holder:holder,verifier:({holder:re})=>ce.default.verifier({issuer:re})};ie["default"]=ue},45495:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.MissingRefError=ie.ValidationError=ie.CodeGen=ie.Name=ie.nil=ie.stringify=ie.str=ie._=ie.KeywordCxt=void 0;const se=oe(16177);const ae=oe(20316);const ce=oe(21488);const ue=oe(2988);const le=["/properties"];const fe="http://json-schema.org/draft-07/schema";class Ajv extends se.default{_addVocabularies(){super._addVocabularies();ae.default.forEach((re=>this.addVocabulary(re)));if(this.opts.discriminator)this.addKeyword(ce.default)}_addDefaultMetaSchema(){super._addDefaultMetaSchema();if(!this.opts.meta)return;const re=this.opts.$data?this.$dataMetaSchema(ue,le):ue;this.addMetaSchema(re,fe,false);this.refs["http://json-schema.org/schema"]=fe}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(fe)?fe:undefined)}}re.exports=ie=Ajv;Object.defineProperty(ie,"__esModule",{value:true});ie["default"]=Ajv;var de=oe(50204);Object.defineProperty(ie,"KeywordCxt",{enumerable:true,get:function(){return de.KeywordCxt}});var pe=oe(26124);Object.defineProperty(ie,"_",{enumerable:true,get:function(){return pe._}});Object.defineProperty(ie,"str",{enumerable:true,get:function(){return pe.str}});Object.defineProperty(ie,"stringify",{enumerable:true,get:function(){return pe.stringify}});Object.defineProperty(ie,"nil",{enumerable:true,get:function(){return pe.nil}});Object.defineProperty(ie,"Name",{enumerable:true,get:function(){return pe.Name}});Object.defineProperty(ie,"CodeGen",{enumerable:true,get:function(){return pe.CodeGen}});var he=oe(16009);Object.defineProperty(ie,"ValidationError",{enumerable:true,get:function(){return he.default}});var Ae=oe(22968);Object.defineProperty(ie,"MissingRefError",{enumerable:true,get:function(){return Ae.default}})},96400:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.regexpCode=ie.getEsmExportName=ie.getProperty=ie.safeStringify=ie.stringify=ie.strConcat=ie.addCodeArg=ie.str=ie._=ie.nil=ie._Code=ie.Name=ie.IDENTIFIER=ie._CodeOrName=void 0;class _CodeOrName{}ie._CodeOrName=_CodeOrName;ie.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class Name extends _CodeOrName{constructor(re){super();if(!ie.IDENTIFIER.test(re))throw new Error("CodeGen: name must be a valid identifier");this.str=re}toString(){return this.str}emptyStr(){return false}get names(){return{[this.str]:1}}}ie.Name=Name;class _Code extends _CodeOrName{constructor(re){super();this._items=typeof re==="string"?[re]:re}toString(){return this.str}emptyStr(){if(this._items.length>1)return false;const re=this._items[0];return re===""||re==='""'}get str(){var re;return(re=this._str)!==null&&re!==void 0?re:this._str=this._items.reduce(((re,ie)=>`${re}${ie}`),"")}get names(){var re;return(re=this._names)!==null&&re!==void 0?re:this._names=this._items.reduce(((re,ie)=>{if(ie instanceof Name)re[ie.str]=(re[ie.str]||0)+1;return re}),{})}}ie._Code=_Code;ie.nil=new _Code("");function _(re,...ie){const oe=[re[0]];let se=0;while(se{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.or=ie.and=ie.not=ie.CodeGen=ie.operators=ie.varKinds=ie.ValueScopeName=ie.ValueScope=ie.Scope=ie.Name=ie.regexpCode=ie.stringify=ie.getProperty=ie.nil=ie.strConcat=ie.str=ie._=void 0;const se=oe(96400);const ae=oe(54926);var ce=oe(96400);Object.defineProperty(ie,"_",{enumerable:true,get:function(){return ce._}});Object.defineProperty(ie,"str",{enumerable:true,get:function(){return ce.str}});Object.defineProperty(ie,"strConcat",{enumerable:true,get:function(){return ce.strConcat}});Object.defineProperty(ie,"nil",{enumerable:true,get:function(){return ce.nil}});Object.defineProperty(ie,"getProperty",{enumerable:true,get:function(){return ce.getProperty}});Object.defineProperty(ie,"stringify",{enumerable:true,get:function(){return ce.stringify}});Object.defineProperty(ie,"regexpCode",{enumerable:true,get:function(){return ce.regexpCode}});Object.defineProperty(ie,"Name",{enumerable:true,get:function(){return ce.Name}});var ue=oe(54926);Object.defineProperty(ie,"Scope",{enumerable:true,get:function(){return ue.Scope}});Object.defineProperty(ie,"ValueScope",{enumerable:true,get:function(){return ue.ValueScope}});Object.defineProperty(ie,"ValueScopeName",{enumerable:true,get:function(){return ue.ValueScopeName}});Object.defineProperty(ie,"varKinds",{enumerable:true,get:function(){return ue.varKinds}});ie.operators={GT:new se._Code(">"),GTE:new se._Code(">="),LT:new se._Code("<"),LTE:new se._Code("<="),EQ:new se._Code("==="),NEQ:new se._Code("!=="),NOT:new se._Code("!"),OR:new se._Code("||"),AND:new se._Code("&&"),ADD:new se._Code("+")};class Node{optimizeNodes(){return this}optimizeNames(re,ie){return this}}class Def extends Node{constructor(re,ie,oe){super();this.varKind=re;this.name=ie;this.rhs=oe}render({es5:re,_n:ie}){const oe=re?ae.varKinds.var:this.varKind;const se=this.rhs===undefined?"":` = ${this.rhs}`;return`${oe} ${this.name}${se};`+ie}optimizeNames(re,ie){if(!re[this.name.str])return;if(this.rhs)this.rhs=optimizeExpr(this.rhs,re,ie);return this}get names(){return this.rhs instanceof se._CodeOrName?this.rhs.names:{}}}class Assign extends Node{constructor(re,ie,oe){super();this.lhs=re;this.rhs=ie;this.sideEffects=oe}render({_n:re}){return`${this.lhs} = ${this.rhs};`+re}optimizeNames(re,ie){if(this.lhs instanceof se.Name&&!re[this.lhs.str]&&!this.sideEffects)return;this.rhs=optimizeExpr(this.rhs,re,ie);return this}get names(){const re=this.lhs instanceof se.Name?{}:{...this.lhs.names};return addExprNames(re,this.rhs)}}class AssignOp extends Assign{constructor(re,ie,oe,se){super(re,oe,se);this.op=ie}render({_n:re}){return`${this.lhs} ${this.op}= ${this.rhs};`+re}}class Label extends Node{constructor(re){super();this.label=re;this.names={}}render({_n:re}){return`${this.label}:`+re}}class Break extends Node{constructor(re){super();this.label=re;this.names={}}render({_n:re}){const ie=this.label?` ${this.label}`:"";return`break${ie};`+re}}class Throw extends Node{constructor(re){super();this.error=re}render({_n:re}){return`throw ${this.error};`+re}get names(){return this.error.names}}class AnyCode extends Node{constructor(re){super();this.code=re}render({_n:re}){return`${this.code};`+re}optimizeNodes(){return`${this.code}`?this:undefined}optimizeNames(re,ie){this.code=optimizeExpr(this.code,re,ie);return this}get names(){return this.code instanceof se._CodeOrName?this.code.names:{}}}class ParentNode extends Node{constructor(re=[]){super();this.nodes=re}render(re){return this.nodes.reduce(((ie,oe)=>ie+oe.render(re)),"")}optimizeNodes(){const{nodes:re}=this;let ie=re.length;while(ie--){const oe=re[ie].optimizeNodes();if(Array.isArray(oe))re.splice(ie,1,...oe);else if(oe)re[ie]=oe;else re.splice(ie,1)}return re.length>0?this:undefined}optimizeNames(re,ie){const{nodes:oe}=this;let se=oe.length;while(se--){const ae=oe[se];if(ae.optimizeNames(re,ie))continue;subtractNames(re,ae.names);oe.splice(se,1)}return oe.length>0?this:undefined}get names(){return this.nodes.reduce(((re,ie)=>addNames(re,ie.names)),{})}}class BlockNode extends ParentNode{render(re){return"{"+re._n+super.render(re)+"}"+re._n}}class Root extends ParentNode{}class Else extends BlockNode{}Else.kind="else";class If extends BlockNode{constructor(re,ie){super(ie);this.condition=re}render(re){let ie=`if(${this.condition})`+super.render(re);if(this.else)ie+="else "+this.else.render(re);return ie}optimizeNodes(){super.optimizeNodes();const re=this.condition;if(re===true)return this.nodes;let ie=this.else;if(ie){const re=ie.optimizeNodes();ie=this.else=Array.isArray(re)?new Else(re):re}if(ie){if(re===false)return ie instanceof If?ie:ie.nodes;if(this.nodes.length)return this;return new If(not(re),ie instanceof If?[ie]:ie.nodes)}if(re===false||!this.nodes.length)return undefined;return this}optimizeNames(re,ie){var oe;this.else=(oe=this.else)===null||oe===void 0?void 0:oe.optimizeNames(re,ie);if(!(super.optimizeNames(re,ie)||this.else))return;this.condition=optimizeExpr(this.condition,re,ie);return this}get names(){const re=super.names;addExprNames(re,this.condition);if(this.else)addNames(re,this.else.names);return re}}If.kind="if";class For extends BlockNode{}For.kind="for";class ForLoop extends For{constructor(re){super();this.iteration=re}render(re){return`for(${this.iteration})`+super.render(re)}optimizeNames(re,ie){if(!super.optimizeNames(re,ie))return;this.iteration=optimizeExpr(this.iteration,re,ie);return this}get names(){return addNames(super.names,this.iteration.names)}}class ForRange extends For{constructor(re,ie,oe,se){super();this.varKind=re;this.name=ie;this.from=oe;this.to=se}render(re){const ie=re.es5?ae.varKinds.var:this.varKind;const{name:oe,from:se,to:ce}=this;return`for(${ie} ${oe}=${se}; ${oe}<${ce}; ${oe}++)`+super.render(re)}get names(){const re=addExprNames(super.names,this.from);return addExprNames(re,this.to)}}class ForIter extends For{constructor(re,ie,oe,se){super();this.loop=re;this.varKind=ie;this.name=oe;this.iterable=se}render(re){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(re)}optimizeNames(re,ie){if(!super.optimizeNames(re,ie))return;this.iterable=optimizeExpr(this.iterable,re,ie);return this}get names(){return addNames(super.names,this.iterable.names)}}class Func extends BlockNode{constructor(re,ie,oe){super();this.name=re;this.args=ie;this.async=oe}render(re){const ie=this.async?"async ":"";return`${ie}function ${this.name}(${this.args})`+super.render(re)}}Func.kind="func";class Return extends ParentNode{render(re){return"return "+super.render(re)}}Return.kind="return";class Try extends BlockNode{render(re){let ie="try"+super.render(re);if(this.catch)ie+=this.catch.render(re);if(this.finally)ie+=this.finally.render(re);return ie}optimizeNodes(){var re,ie;super.optimizeNodes();(re=this.catch)===null||re===void 0?void 0:re.optimizeNodes();(ie=this.finally)===null||ie===void 0?void 0:ie.optimizeNodes();return this}optimizeNames(re,ie){var oe,se;super.optimizeNames(re,ie);(oe=this.catch)===null||oe===void 0?void 0:oe.optimizeNames(re,ie);(se=this.finally)===null||se===void 0?void 0:se.optimizeNames(re,ie);return this}get names(){const re=super.names;if(this.catch)addNames(re,this.catch.names);if(this.finally)addNames(re,this.finally.names);return re}}class Catch extends BlockNode{constructor(re){super();this.error=re}render(re){return`catch(${this.error})`+super.render(re)}}Catch.kind="catch";class Finally extends BlockNode{render(re){return"finally"+super.render(re)}}Finally.kind="finally";class CodeGen{constructor(re,ie={}){this._values={};this._blockStarts=[];this._constants={};this.opts={...ie,_n:ie.lines?"\n":""};this._extScope=re;this._scope=new ae.Scope({parent:re});this._nodes=[new Root]}toString(){return this._root.render(this.opts)}name(re){return this._scope.name(re)}scopeName(re){return this._extScope.name(re)}scopeValue(re,ie){const oe=this._extScope.value(re,ie);const se=this._values[oe.prefix]||(this._values[oe.prefix]=new Set);se.add(oe);return oe}getScopeValue(re,ie){return this._extScope.getValue(re,ie)}scopeRefs(re){return this._extScope.scopeRefs(re,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(re,ie,oe,se){const ae=this._scope.toName(ie);if(oe!==undefined&&se)this._constants[ae.str]=oe;this._leafNode(new Def(re,ae,oe));return ae}const(re,ie,oe){return this._def(ae.varKinds.const,re,ie,oe)}let(re,ie,oe){return this._def(ae.varKinds.let,re,ie,oe)}var(re,ie,oe){return this._def(ae.varKinds.var,re,ie,oe)}assign(re,ie,oe){return this._leafNode(new Assign(re,ie,oe))}add(re,oe){return this._leafNode(new AssignOp(re,ie.operators.ADD,oe))}code(re){if(typeof re=="function")re();else if(re!==se.nil)this._leafNode(new AnyCode(re));return this}object(...re){const ie=["{"];for(const[oe,ae]of re){if(ie.length>1)ie.push(",");ie.push(oe);if(oe!==ae||this.opts.es5){ie.push(":");(0,se.addCodeArg)(ie,ae)}}ie.push("}");return new se._Code(ie)}if(re,ie,oe){this._blockNode(new If(re));if(ie&&oe){this.code(ie).else().code(oe).endIf()}else if(ie){this.code(ie).endIf()}else if(oe){throw new Error('CodeGen: "else" body without "then" body')}return this}elseIf(re){return this._elseNode(new If(re))}else(){return this._elseNode(new Else)}endIf(){return this._endBlockNode(If,Else)}_for(re,ie){this._blockNode(re);if(ie)this.code(ie).endFor();return this}for(re,ie){return this._for(new ForLoop(re),ie)}forRange(re,ie,oe,se,ce=(this.opts.es5?ae.varKinds.var:ae.varKinds.let)){const ue=this._scope.toName(re);return this._for(new ForRange(ce,ue,ie,oe),(()=>se(ue)))}forOf(re,ie,oe,ce=ae.varKinds.const){const ue=this._scope.toName(re);if(this.opts.es5){const re=ie instanceof se.Name?ie:this.var("_arr",ie);return this.forRange("_i",0,(0,se._)`${re}.length`,(ie=>{this.var(ue,(0,se._)`${re}[${ie}]`);oe(ue)}))}return this._for(new ForIter("of",ce,ue,ie),(()=>oe(ue)))}forIn(re,ie,oe,ce=(this.opts.es5?ae.varKinds.var:ae.varKinds.const)){if(this.opts.ownProperties){return this.forOf(re,(0,se._)`Object.keys(${ie})`,oe)}const ue=this._scope.toName(re);return this._for(new ForIter("in",ce,ue,ie),(()=>oe(ue)))}endFor(){return this._endBlockNode(For)}label(re){return this._leafNode(new Label(re))}break(re){return this._leafNode(new Break(re))}return(re){const ie=new Return;this._blockNode(ie);this.code(re);if(ie.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(Return)}try(re,ie,oe){if(!ie&&!oe)throw new Error('CodeGen: "try" without "catch" and "finally"');const se=new Try;this._blockNode(se);this.code(re);if(ie){const re=this.name("e");this._currNode=se.catch=new Catch(re);ie(re)}if(oe){this._currNode=se.finally=new Finally;this.code(oe)}return this._endBlockNode(Catch,Finally)}throw(re){return this._leafNode(new Throw(re))}block(re,ie){this._blockStarts.push(this._nodes.length);if(re)this.code(re).endBlock(ie);return this}endBlock(re){const ie=this._blockStarts.pop();if(ie===undefined)throw new Error("CodeGen: not in self-balancing block");const oe=this._nodes.length-ie;if(oe<0||re!==undefined&&oe!==re){throw new Error(`CodeGen: wrong number of nodes: ${oe} vs ${re} expected`)}this._nodes.length=ie;return this}func(re,ie=se.nil,oe,ae){this._blockNode(new Func(re,ie,oe));if(ae)this.code(ae).endFunc();return this}endFunc(){return this._endBlockNode(Func)}optimize(re=1){while(re-- >0){this._root.optimizeNodes();this._root.optimizeNames(this._root.names,this._constants)}}_leafNode(re){this._currNode.nodes.push(re);return this}_blockNode(re){this._currNode.nodes.push(re);this._nodes.push(re)}_endBlockNode(re,ie){const oe=this._currNode;if(oe instanceof re||ie&&oe instanceof ie){this._nodes.pop();return this}throw new Error(`CodeGen: not in block "${ie?`${re.kind}/${ie.kind}`:re.kind}"`)}_elseNode(re){const ie=this._currNode;if(!(ie instanceof If)){throw new Error('CodeGen: "else" without "if"')}this._currNode=ie.else=re;return this}get _root(){return this._nodes[0]}get _currNode(){const re=this._nodes;return re[re.length-1]}set _currNode(re){const ie=this._nodes;ie[ie.length-1]=re}}ie.CodeGen=CodeGen;function addNames(re,ie){for(const oe in ie)re[oe]=(re[oe]||0)+(ie[oe]||0);return re}function addExprNames(re,ie){return ie instanceof se._CodeOrName?addNames(re,ie.names):re}function optimizeExpr(re,ie,oe){if(re instanceof se.Name)return replaceName(re);if(!canOptimize(re))return re;return new se._Code(re._items.reduce(((re,ie)=>{if(ie instanceof se.Name)ie=replaceName(ie);if(ie instanceof se._Code)re.push(...ie._items);else re.push(ie);return re}),[]));function replaceName(re){const se=oe[re.str];if(se===undefined||ie[re.str]!==1)return re;delete ie[re.str];return se}function canOptimize(re){return re instanceof se._Code&&re._items.some((re=>re instanceof se.Name&&ie[re.str]===1&&oe[re.str]!==undefined))}}function subtractNames(re,ie){for(const oe in ie)re[oe]=(re[oe]||0)-(ie[oe]||0)}function not(re){return typeof re=="boolean"||typeof re=="number"||re===null?!re:(0,se._)`!${par(re)}`}ie.not=not;const le=mappend(ie.operators.AND);function and(...re){return re.reduce(le)}ie.and=and;const fe=mappend(ie.operators.OR);function or(...re){return re.reduce(fe)}ie.or=or;function mappend(re){return(ie,oe)=>ie===se.nil?oe:oe===se.nil?ie:(0,se._)`${par(ie)} ${re} ${par(oe)}`}function par(re){return re instanceof se.Name?re:(0,se._)`(${re})`}},54926:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.ValueScope=ie.ValueScopeName=ie.Scope=ie.varKinds=ie.UsedValueState=void 0;const se=oe(96400);class ValueError extends Error{constructor(re){super(`CodeGen: "code" for ${re} not defined`);this.value=re.value}}var ae;(function(re){re[re["Started"]=0]="Started";re[re["Completed"]=1]="Completed"})(ae=ie.UsedValueState||(ie.UsedValueState={}));ie.varKinds={const:new se.Name("const"),let:new se.Name("let"),var:new se.Name("var")};class Scope{constructor({prefixes:re,parent:ie}={}){this._names={};this._prefixes=re;this._parent=ie}toName(re){return re instanceof se.Name?re:this.name(re)}name(re){return new se.Name(this._newName(re))}_newName(re){const ie=this._names[re]||this._nameGroup(re);return`${re}${ie.index++}`}_nameGroup(re){var ie,oe;if(((oe=(ie=this._parent)===null||ie===void 0?void 0:ie._prefixes)===null||oe===void 0?void 0:oe.has(re))||this._prefixes&&!this._prefixes.has(re)){throw new Error(`CodeGen: prefix "${re}" is not allowed in this scope`)}return this._names[re]={prefix:re,index:0}}}ie.Scope=Scope;class ValueScopeName extends se.Name{constructor(re,ie){super(ie);this.prefix=re}setValue(re,{property:ie,itemIndex:oe}){this.value=re;this.scopePath=(0,se._)`.${new se.Name(ie)}[${oe}]`}}ie.ValueScopeName=ValueScopeName;const ce=(0,se._)`\n`;class ValueScope extends Scope{constructor(re){super(re);this._values={};this._scope=re.scope;this.opts={...re,_n:re.lines?ce:se.nil}}get(){return this._scope}name(re){return new ValueScopeName(re,this._newName(re))}value(re,ie){var oe;if(ie.ref===undefined)throw new Error("CodeGen: ref must be passed in value");const se=this.toName(re);const{prefix:ae}=se;const ce=(oe=ie.key)!==null&&oe!==void 0?oe:ie.ref;let ue=this._values[ae];if(ue){const re=ue.get(ce);if(re)return re}else{ue=this._values[ae]=new Map}ue.set(ce,se);const le=this._scope[ae]||(this._scope[ae]=[]);const fe=le.length;le[fe]=ie.ref;se.setValue(ie,{property:ae,itemIndex:fe});return se}getValue(re,ie){const oe=this._values[re];if(!oe)return;return oe.get(ie)}scopeRefs(re,ie=this._values){return this._reduceValues(ie,(ie=>{if(ie.scopePath===undefined)throw new Error(`CodeGen: name "${ie}" has no value`);return(0,se._)`${re}${ie.scopePath}`}))}scopeCode(re=this._values,ie,oe){return this._reduceValues(re,(re=>{if(re.value===undefined)throw new Error(`CodeGen: name "${re}" has no value`);return re.value.code}),ie,oe)}_reduceValues(re,oe,ce={},ue){let le=se.nil;for(const fe in re){const de=re[fe];if(!de)continue;const pe=ce[fe]=ce[fe]||new Map;de.forEach((re=>{if(pe.has(re))return;pe.set(re,ae.Started);let ce=oe(re);if(ce){const oe=this.opts.es5?ie.varKinds.var:ie.varKinds.const;le=(0,se._)`${le}${oe} ${re} = ${ce};${this.opts._n}`}else if(ce=ue===null||ue===void 0?void 0:ue(re)){le=(0,se._)`${le}${ce}${this.opts._n}`}else{throw new ValueError(re)}pe.set(re,ae.Completed)}))}return le}}ie.ValueScope=ValueScope},1202:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.extendErrors=ie.resetErrorsCount=ie.reportExtraError=ie.reportError=ie.keyword$DataError=ie.keywordError=void 0;const se=oe(26124);const ae=oe(77182);const ce=oe(83505);ie.keywordError={message:({keyword:re})=>(0,se.str)`must pass "${re}" keyword validation`};ie.keyword$DataError={message:({keyword:re,schemaType:ie})=>ie?(0,se.str)`"${re}" keyword must be ${ie} ($data)`:(0,se.str)`"${re}" keyword is invalid ($data)`};function reportError(re,oe=ie.keywordError,ae,ce){const{it:ue}=re;const{gen:le,compositeRule:fe,allErrors:de}=ue;const pe=errorObjectCode(re,oe,ae);if(ce!==null&&ce!==void 0?ce:fe||de){addError(le,pe)}else{returnErrors(ue,(0,se._)`[${pe}]`)}}ie.reportError=reportError;function reportExtraError(re,oe=ie.keywordError,se){const{it:ae}=re;const{gen:ue,compositeRule:le,allErrors:fe}=ae;const de=errorObjectCode(re,oe,se);addError(ue,de);if(!(le||fe)){returnErrors(ae,ce.default.vErrors)}}ie.reportExtraError=reportExtraError;function resetErrorsCount(re,ie){re.assign(ce.default.errors,ie);re.if((0,se._)`${ce.default.vErrors} !== null`,(()=>re.if(ie,(()=>re.assign((0,se._)`${ce.default.vErrors}.length`,ie)),(()=>re.assign(ce.default.vErrors,null)))))}ie.resetErrorsCount=resetErrorsCount;function extendErrors({gen:re,keyword:ie,schemaValue:oe,data:ae,errsCount:ue,it:le}){if(ue===undefined)throw new Error("ajv implementation error");const fe=re.name("err");re.forRange("i",ue,ce.default.errors,(ue=>{re.const(fe,(0,se._)`${ce.default.vErrors}[${ue}]`);re.if((0,se._)`${fe}.instancePath === undefined`,(()=>re.assign((0,se._)`${fe}.instancePath`,(0,se.strConcat)(ce.default.instancePath,le.errorPath))));re.assign((0,se._)`${fe}.schemaPath`,(0,se.str)`${le.errSchemaPath}/${ie}`);if(le.opts.verbose){re.assign((0,se._)`${fe}.schema`,oe);re.assign((0,se._)`${fe}.data`,ae)}}))}ie.extendErrors=extendErrors;function addError(re,ie){const oe=re.const("err",ie);re.if((0,se._)`${ce.default.vErrors} === null`,(()=>re.assign(ce.default.vErrors,(0,se._)`[${oe}]`)),(0,se._)`${ce.default.vErrors}.push(${oe})`);re.code((0,se._)`${ce.default.errors}++`)}function returnErrors(re,ie){const{gen:oe,validateName:ae,schemaEnv:ce}=re;if(ce.$async){oe.throw((0,se._)`new ${re.ValidationError}(${ie})`)}else{oe.assign((0,se._)`${ae}.errors`,ie);oe.return(false)}}const ue={keyword:new se.Name("keyword"),schemaPath:new se.Name("schemaPath"),params:new se.Name("params"),propertyName:new se.Name("propertyName"),message:new se.Name("message"),schema:new se.Name("schema"),parentSchema:new se.Name("parentSchema")};function errorObjectCode(re,ie,oe){const{createErrors:ae}=re.it;if(ae===false)return(0,se._)`{}`;return errorObject(re,ie,oe)}function errorObject(re,ie,oe={}){const{gen:se,it:ae}=re;const ce=[errorInstancePath(ae,oe),errorSchemaPath(re,oe)];extraErrorProps(re,ie,ce);return se.object(...ce)}function errorInstancePath({errorPath:re},{instancePath:ie}){const oe=ie?(0,se.str)`${re}${(0,ae.getErrorPath)(ie,ae.Type.Str)}`:re;return[ce.default.instancePath,(0,se.strConcat)(ce.default.instancePath,oe)]}function errorSchemaPath({keyword:re,it:{errSchemaPath:ie}},{schemaPath:oe,parentSchema:ce}){let le=ce?ie:(0,se.str)`${ie}/${re}`;if(oe){le=(0,se.str)`${le}${(0,ae.getErrorPath)(oe,ae.Type.Str)}`}return[ue.schemaPath,le]}function extraErrorProps(re,{params:ie,message:oe},ae){const{keyword:le,data:fe,schemaValue:de,it:pe}=re;const{opts:he,propertyName:Ae,topSchemaRef:ge,schemaPath:me}=pe;ae.push([ue.keyword,le],[ue.params,typeof ie=="function"?ie(re):ie||(0,se._)`{}`]);if(he.messages){ae.push([ue.message,typeof oe=="function"?oe(re):oe])}if(he.verbose){ae.push([ue.schema,de],[ue.parentSchema,(0,se._)`${ge}${me}`],[ce.default.data,fe])}if(Ae)ae.push([ue.propertyName,Ae])}},15157:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.resolveSchema=ie.getCompilingSchema=ie.resolveRef=ie.compileSchema=ie.SchemaEnv=void 0;const se=oe(26124);const ae=oe(16009);const ce=oe(83505);const ue=oe(23145);const le=oe(77182);const fe=oe(50204);class SchemaEnv{constructor(re){var ie;this.refs={};this.dynamicAnchors={};let oe;if(typeof re.schema=="object")oe=re.schema;this.schema=re.schema;this.schemaId=re.schemaId;this.root=re.root||this;this.baseId=(ie=re.baseId)!==null&&ie!==void 0?ie:(0,ue.normalizeId)(oe===null||oe===void 0?void 0:oe[re.schemaId||"$id"]);this.schemaPath=re.schemaPath;this.localRefs=re.localRefs;this.meta=re.meta;this.$async=oe===null||oe===void 0?void 0:oe.$async;this.refs={}}}ie.SchemaEnv=SchemaEnv;function compileSchema(re){const ie=getCompilingSchema.call(this,re);if(ie)return ie;const oe=(0,ue.getFullPath)(this.opts.uriResolver,re.root.baseId);const{es5:le,lines:de}=this.opts.code;const{ownProperties:pe}=this.opts;const he=new se.CodeGen(this.scope,{es5:le,lines:de,ownProperties:pe});let Ae;if(re.$async){Ae=he.scopeValue("Error",{ref:ae.default,code:(0,se._)`require("ajv/dist/runtime/validation_error").default`})}const ge=he.scopeName("validate");re.validateName=ge;const me={gen:he,allErrors:this.opts.allErrors,data:ce.default.data,parentData:ce.default.parentData,parentDataProperty:ce.default.parentDataProperty,dataNames:[ce.default.data],dataPathArr:[se.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:he.scopeValue("schema",this.opts.code.source===true?{ref:re.schema,code:(0,se.stringify)(re.schema)}:{ref:re.schema}),validateName:ge,ValidationError:Ae,schema:re.schema,schemaEnv:re,rootId:oe,baseId:re.baseId||oe,schemaPath:se.nil,errSchemaPath:re.schemaPath||(this.opts.jtd?"":"#"),errorPath:(0,se._)`""`,opts:this.opts,self:this};let ye;try{this._compilations.add(re);(0,fe.validateFunctionCode)(me);he.optimize(this.opts.code.optimize);const ie=he.toString();ye=`${he.scopeRefs(ce.default.scope)}return ${ie}`;if(this.opts.code.process)ye=this.opts.code.process(ye,re);const oe=new Function(`${ce.default.self}`,`${ce.default.scope}`,ye);const ae=oe(this,this.scope.get());this.scope.value(ge,{ref:ae});ae.errors=null;ae.schema=re.schema;ae.schemaEnv=re;if(re.$async)ae.$async=true;if(this.opts.code.source===true){ae.source={validateName:ge,validateCode:ie,scopeValues:he._values}}if(this.opts.unevaluated){const{props:re,items:ie}=me;ae.evaluated={props:re instanceof se.Name?undefined:re,items:ie instanceof se.Name?undefined:ie,dynamicProps:re instanceof se.Name,dynamicItems:ie instanceof se.Name};if(ae.source)ae.source.evaluated=(0,se.stringify)(ae.evaluated)}re.validate=ae;return re}catch(ie){delete re.validate;delete re.validateName;if(ye)this.logger.error("Error compiling schema, function code:",ye);throw ie}finally{this._compilations.delete(re)}}ie.compileSchema=compileSchema;function resolveRef(re,ie,oe){var se;oe=(0,ue.resolveUrl)(this.opts.uriResolver,ie,oe);const ae=re.refs[oe];if(ae)return ae;let ce=resolve.call(this,re,oe);if(ce===undefined){const ae=(se=re.localRefs)===null||se===void 0?void 0:se[oe];const{schemaId:ue}=this.opts;if(ae)ce=new SchemaEnv({schema:ae,schemaId:ue,root:re,baseId:ie})}if(ce===undefined)return;return re.refs[oe]=inlineOrCompile.call(this,ce)}ie.resolveRef=resolveRef;function inlineOrCompile(re){if((0,ue.inlineRef)(re.schema,this.opts.inlineRefs))return re.schema;return re.validate?re:compileSchema.call(this,re)}function getCompilingSchema(re){for(const ie of this._compilations){if(sameSchemaEnv(ie,re))return ie}}ie.getCompilingSchema=getCompilingSchema;function sameSchemaEnv(re,ie){return re.schema===ie.schema&&re.root===ie.root&&re.baseId===ie.baseId}function resolve(re,ie){let oe;while(typeof(oe=this.refs[ie])=="string")ie=oe;return oe||this.schemas[ie]||resolveSchema.call(this,re,ie)}function resolveSchema(re,ie){const oe=this.opts.uriResolver.parse(ie);const se=(0,ue._getFullPath)(this.opts.uriResolver,oe);let ae=(0,ue.getFullPath)(this.opts.uriResolver,re.baseId,undefined);if(Object.keys(re.schema).length>0&&se===ae){return getJsonPointer.call(this,oe,re)}const ce=(0,ue.normalizeId)(se);const le=this.refs[ce]||this.schemas[ce];if(typeof le=="string"){const ie=resolveSchema.call(this,re,le);if(typeof(ie===null||ie===void 0?void 0:ie.schema)!=="object")return;return getJsonPointer.call(this,oe,ie)}if(typeof(le===null||le===void 0?void 0:le.schema)!=="object")return;if(!le.validate)compileSchema.call(this,le);if(ce===(0,ue.normalizeId)(ie)){const{schema:ie}=le;const{schemaId:oe}=this.opts;const se=ie[oe];if(se)ae=(0,ue.resolveUrl)(this.opts.uriResolver,ae,se);return new SchemaEnv({schema:ie,schemaId:oe,root:re,baseId:ae})}return getJsonPointer.call(this,oe,le)}ie.resolveSchema=resolveSchema;const de=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function getJsonPointer(re,{baseId:ie,schema:oe,root:se}){var ae;if(((ae=re.fragment)===null||ae===void 0?void 0:ae[0])!=="/")return;for(const se of re.fragment.slice(1).split("/")){if(typeof oe==="boolean")return;const re=oe[(0,le.unescapeFragment)(se)];if(re===undefined)return;oe=re;const ae=typeof oe==="object"&&oe[this.opts.schemaId];if(!de.has(se)&&ae){ie=(0,ue.resolveUrl)(this.opts.uriResolver,ie,ae)}}let ce;if(typeof oe!="boolean"&&oe.$ref&&!(0,le.schemaHasRulesButRef)(oe,this.RULES)){const re=(0,ue.resolveUrl)(this.opts.uriResolver,ie,oe.$ref);ce=resolveSchema.call(this,se,re)}const{schemaId:fe}=this.opts;ce=ce||new SchemaEnv({schema:oe,schemaId:fe,root:se,baseId:ie});if(ce.schema!==ce.root.schema)return ce;return undefined}},83505:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(26124);const ae={data:new se.Name("data"),valCxt:new se.Name("valCxt"),instancePath:new se.Name("instancePath"),parentData:new se.Name("parentData"),parentDataProperty:new se.Name("parentDataProperty"),rootData:new se.Name("rootData"),dynamicAnchors:new se.Name("dynamicAnchors"),vErrors:new se.Name("vErrors"),errors:new se.Name("errors"),this:new se.Name("this"),self:new se.Name("self"),scope:new se.Name("scope"),json:new se.Name("json"),jsonPos:new se.Name("jsonPos"),jsonLen:new se.Name("jsonLen"),jsonPart:new se.Name("jsonPart")};ie["default"]=ae},22968:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(23145);class MissingRefError extends Error{constructor(re,ie,oe,ae){super(ae||`can't resolve reference ${oe} from id ${ie}`);this.missingRef=(0,se.resolveUrl)(re,ie,oe);this.missingSchema=(0,se.normalizeId)((0,se.getFullPath)(re,this.missingRef))}}ie["default"]=MissingRefError},23145:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.getSchemaRefs=ie.resolveUrl=ie.normalizeId=ie._getFullPath=ie.getFullPath=ie.inlineRef=void 0;const se=oe(77182);const ae=oe(28206);const ce=oe(69031);const ue=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function inlineRef(re,ie=true){if(typeof re=="boolean")return true;if(ie===true)return!hasRef(re);if(!ie)return false;return countKeys(re)<=ie}ie.inlineRef=inlineRef;const le=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function hasRef(re){for(const ie in re){if(le.has(ie))return true;const oe=re[ie];if(Array.isArray(oe)&&oe.some(hasRef))return true;if(typeof oe=="object"&&hasRef(oe))return true}return false}function countKeys(re){let ie=0;for(const oe in re){if(oe==="$ref")return Infinity;ie++;if(ue.has(oe))continue;if(typeof re[oe]=="object"){(0,se.eachItem)(re[oe],(re=>ie+=countKeys(re)))}if(ie===Infinity)return Infinity}return ie}function getFullPath(re,ie="",oe){if(oe!==false)ie=normalizeId(ie);const se=re.parse(ie);return _getFullPath(re,se)}ie.getFullPath=getFullPath;function _getFullPath(re,ie){const oe=re.serialize(ie);return oe.split("#")[0]+"#"}ie._getFullPath=_getFullPath;const fe=/#\/?$/;function normalizeId(re){return re?re.replace(fe,""):""}ie.normalizeId=normalizeId;function resolveUrl(re,ie,oe){oe=normalizeId(oe);return re.resolve(ie,oe)}ie.resolveUrl=resolveUrl;const de=/^[a-z_][-a-z0-9._]*$/i;function getSchemaRefs(re,ie){if(typeof re=="boolean")return{};const{schemaId:oe,uriResolver:se}=this.opts;const ue=normalizeId(re[oe]||ie);const le={"":ue};const fe=getFullPath(se,ue,false);const pe={};const he=new Set;ce(re,{allKeys:true},((re,ie,se,ae)=>{if(ae===undefined)return;const ce=fe+ie;let ue=le[ae];if(typeof re[oe]=="string")ue=addRef.call(this,re[oe]);addAnchor.call(this,re.$anchor);addAnchor.call(this,re.$dynamicAnchor);le[ie]=ue;function addRef(ie){const oe=this.opts.uriResolver.resolve;ie=normalizeId(ue?oe(ue,ie):ie);if(he.has(ie))throw ambiguos(ie);he.add(ie);let se=this.refs[ie];if(typeof se=="string")se=this.refs[se];if(typeof se=="object"){checkAmbiguosRef(re,se.schema,ie)}else if(ie!==normalizeId(ce)){if(ie[0]==="#"){checkAmbiguosRef(re,pe[ie],ie);pe[ie]=re}else{this.refs[ie]=ce}}return ie}function addAnchor(re){if(typeof re=="string"){if(!de.test(re))throw new Error(`invalid anchor "${re}"`);addRef.call(this,`#${re}`)}}}));return pe;function checkAmbiguosRef(re,ie,oe){if(ie!==undefined&&!ae(re,ie))throw ambiguos(oe)}function ambiguos(re){return new Error(`reference "${re}" resolves to more than one schema`)}}ie.getSchemaRefs=getSchemaRefs},2709:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.getRules=ie.isJSONType=void 0;const oe=["string","number","integer","boolean","null","object","array"];const se=new Set(oe);function isJSONType(re){return typeof re=="string"&&se.has(re)}ie.isJSONType=isJSONType;function getRules(){const re={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...re,integer:true,boolean:true,null:true},rules:[{rules:[]},re.number,re.string,re.array,re.object],post:{rules:[]},all:{},keywords:{}}}ie.getRules=getRules},77182:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.checkStrictMode=ie.getErrorPath=ie.Type=ie.useFunc=ie.setEvaluated=ie.evaluatedPropsToName=ie.mergeEvaluated=ie.eachItem=ie.unescapeJsonPointer=ie.escapeJsonPointer=ie.escapeFragment=ie.unescapeFragment=ie.schemaRefOrVal=ie.schemaHasRulesButRef=ie.schemaHasRules=ie.checkUnknownRules=ie.alwaysValidSchema=ie.toHash=void 0;const se=oe(26124);const ae=oe(96400);function toHash(re){const ie={};for(const oe of re)ie[oe]=true;return ie}ie.toHash=toHash;function alwaysValidSchema(re,ie){if(typeof ie=="boolean")return ie;if(Object.keys(ie).length===0)return true;checkUnknownRules(re,ie);return!schemaHasRules(ie,re.self.RULES.all)}ie.alwaysValidSchema=alwaysValidSchema;function checkUnknownRules(re,ie=re.schema){const{opts:oe,self:se}=re;if(!oe.strictSchema)return;if(typeof ie==="boolean")return;const ae=se.RULES.keywords;for(const oe in ie){if(!ae[oe])checkStrictMode(re,`unknown keyword: "${oe}"`)}}ie.checkUnknownRules=checkUnknownRules;function schemaHasRules(re,ie){if(typeof re=="boolean")return!re;for(const oe in re)if(ie[oe])return true;return false}ie.schemaHasRules=schemaHasRules;function schemaHasRulesButRef(re,ie){if(typeof re=="boolean")return!re;for(const oe in re)if(oe!=="$ref"&&ie.all[oe])return true;return false}ie.schemaHasRulesButRef=schemaHasRulesButRef;function schemaRefOrVal({topSchemaRef:re,schemaPath:ie},oe,ae,ce){if(!ce){if(typeof oe=="number"||typeof oe=="boolean")return oe;if(typeof oe=="string")return(0,se._)`${oe}`}return(0,se._)`${re}${ie}${(0,se.getProperty)(ae)}`}ie.schemaRefOrVal=schemaRefOrVal;function unescapeFragment(re){return unescapeJsonPointer(decodeURIComponent(re))}ie.unescapeFragment=unescapeFragment;function escapeFragment(re){return encodeURIComponent(escapeJsonPointer(re))}ie.escapeFragment=escapeFragment;function escapeJsonPointer(re){if(typeof re=="number")return`${re}`;return re.replace(/~/g,"~0").replace(/\//g,"~1")}ie.escapeJsonPointer=escapeJsonPointer;function unescapeJsonPointer(re){return re.replace(/~1/g,"/").replace(/~0/g,"~")}ie.unescapeJsonPointer=unescapeJsonPointer;function eachItem(re,ie){if(Array.isArray(re)){for(const oe of re)ie(oe)}else{ie(re)}}ie.eachItem=eachItem;function makeMergeEvaluated({mergeNames:re,mergeToName:ie,mergeValues:oe,resultToName:ae}){return(ce,ue,le,fe)=>{const de=le===undefined?ue:le instanceof se.Name?(ue instanceof se.Name?re(ce,ue,le):ie(ce,ue,le),le):ue instanceof se.Name?(ie(ce,le,ue),ue):oe(ue,le);return fe===se.Name&&!(de instanceof se.Name)?ae(ce,de):de}}ie.mergeEvaluated={props:makeMergeEvaluated({mergeNames:(re,ie,oe)=>re.if((0,se._)`${oe} !== true && ${ie} !== undefined`,(()=>{re.if((0,se._)`${ie} === true`,(()=>re.assign(oe,true)),(()=>re.assign(oe,(0,se._)`${oe} || {}`).code((0,se._)`Object.assign(${oe}, ${ie})`)))})),mergeToName:(re,ie,oe)=>re.if((0,se._)`${oe} !== true`,(()=>{if(ie===true){re.assign(oe,true)}else{re.assign(oe,(0,se._)`${oe} || {}`);setEvaluated(re,oe,ie)}})),mergeValues:(re,ie)=>re===true?true:{...re,...ie},resultToName:evaluatedPropsToName}),items:makeMergeEvaluated({mergeNames:(re,ie,oe)=>re.if((0,se._)`${oe} !== true && ${ie} !== undefined`,(()=>re.assign(oe,(0,se._)`${ie} === true ? true : ${oe} > ${ie} ? ${oe} : ${ie}`))),mergeToName:(re,ie,oe)=>re.if((0,se._)`${oe} !== true`,(()=>re.assign(oe,ie===true?true:(0,se._)`${oe} > ${ie} ? ${oe} : ${ie}`))),mergeValues:(re,ie)=>re===true?true:Math.max(re,ie),resultToName:(re,ie)=>re.var("items",ie)})};function evaluatedPropsToName(re,ie){if(ie===true)return re.var("props",true);const oe=re.var("props",(0,se._)`{}`);if(ie!==undefined)setEvaluated(re,oe,ie);return oe}ie.evaluatedPropsToName=evaluatedPropsToName;function setEvaluated(re,ie,oe){Object.keys(oe).forEach((oe=>re.assign((0,se._)`${ie}${(0,se.getProperty)(oe)}`,true)))}ie.setEvaluated=setEvaluated;const ce={};function useFunc(re,ie){return re.scopeValue("func",{ref:ie,code:ce[ie.code]||(ce[ie.code]=new ae._Code(ie.code))})}ie.useFunc=useFunc;var ue;(function(re){re[re["Num"]=0]="Num";re[re["Str"]=1]="Str"})(ue=ie.Type||(ie.Type={}));function getErrorPath(re,ie,oe){if(re instanceof se.Name){const ae=ie===ue.Num;return oe?ae?(0,se._)`"[" + ${re} + "]"`:(0,se._)`"['" + ${re} + "']"`:ae?(0,se._)`"/" + ${re}`:(0,se._)`"/" + ${re}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return oe?(0,se.getProperty)(re).toString():"/"+escapeJsonPointer(re)}ie.getErrorPath=getErrorPath;function checkStrictMode(re,ie,oe=re.opts.strictSchema){if(!oe)return;ie=`strict mode: ${ie}`;if(oe===true)throw new Error(ie);re.self.logger.warn(ie)}ie.checkStrictMode=checkStrictMode},3381:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.shouldUseRule=ie.shouldUseGroup=ie.schemaHasRulesForType=void 0;function schemaHasRulesForType({schema:re,self:ie},oe){const se=ie.RULES.types[oe];return se&&se!==true&&shouldUseGroup(re,se)}ie.schemaHasRulesForType=schemaHasRulesForType;function shouldUseGroup(re,ie){return ie.rules.some((ie=>shouldUseRule(re,ie)))}ie.shouldUseGroup=shouldUseGroup;function shouldUseRule(re,ie){var oe;return re[ie.keyword]!==undefined||((oe=ie.definition.implements)===null||oe===void 0?void 0:oe.some((ie=>re[ie]!==undefined)))}ie.shouldUseRule=shouldUseRule},76703:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.boolOrEmptySchema=ie.topBoolOrEmptySchema=void 0;const se=oe(1202);const ae=oe(26124);const ce=oe(83505);const ue={message:"boolean schema is false"};function topBoolOrEmptySchema(re){const{gen:ie,schema:oe,validateName:se}=re;if(oe===false){falseSchemaError(re,false)}else if(typeof oe=="object"&&oe.$async===true){ie.return(ce.default.data)}else{ie.assign((0,ae._)`${se}.errors`,null);ie.return(true)}}ie.topBoolOrEmptySchema=topBoolOrEmptySchema;function boolOrEmptySchema(re,ie){const{gen:oe,schema:se}=re;if(se===false){oe.var(ie,false);falseSchemaError(re)}else{oe.var(ie,true)}}ie.boolOrEmptySchema=boolOrEmptySchema;function falseSchemaError(re,ie){const{gen:oe,data:ae}=re;const ce={gen:oe,keyword:"false schema",data:ae,schema:false,schemaCode:false,schemaValue:false,params:{},it:re};(0,se.reportError)(ce,ue,undefined,ie)}},91450:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.reportTypeError=ie.checkDataTypes=ie.checkDataType=ie.coerceAndCheckDataType=ie.getJSONTypes=ie.getSchemaTypes=ie.DataType=void 0;const se=oe(2709);const ae=oe(3381);const ce=oe(1202);const ue=oe(26124);const le=oe(77182);var fe;(function(re){re[re["Correct"]=0]="Correct";re[re["Wrong"]=1]="Wrong"})(fe=ie.DataType||(ie.DataType={}));function getSchemaTypes(re){const ie=getJSONTypes(re.type);const oe=ie.includes("null");if(oe){if(re.nullable===false)throw new Error("type: null contradicts nullable: false")}else{if(!ie.length&&re.nullable!==undefined){throw new Error('"nullable" cannot be used without "type"')}if(re.nullable===true)ie.push("null")}return ie}ie.getSchemaTypes=getSchemaTypes;function getJSONTypes(re){const ie=Array.isArray(re)?re:re?[re]:[];if(ie.every(se.isJSONType))return ie;throw new Error("type must be JSONType or JSONType[]: "+ie.join(","))}ie.getJSONTypes=getJSONTypes;function coerceAndCheckDataType(re,ie){const{gen:oe,data:se,opts:ce}=re;const ue=coerceToTypes(ie,ce.coerceTypes);const le=ie.length>0&&!(ue.length===0&&ie.length===1&&(0,ae.schemaHasRulesForType)(re,ie[0]));if(le){const ae=checkDataTypes(ie,se,ce.strictNumbers,fe.Wrong);oe.if(ae,(()=>{if(ue.length)coerceData(re,ie,ue);else reportTypeError(re)}))}return le}ie.coerceAndCheckDataType=coerceAndCheckDataType;const de=new Set(["string","number","integer","boolean","null"]);function coerceToTypes(re,ie){return ie?re.filter((re=>de.has(re)||ie==="array"&&re==="array")):[]}function coerceData(re,ie,oe){const{gen:se,data:ae,opts:ce}=re;const le=se.let("dataType",(0,ue._)`typeof ${ae}`);const fe=se.let("coerced",(0,ue._)`undefined`);if(ce.coerceTypes==="array"){se.if((0,ue._)`${le} == 'object' && Array.isArray(${ae}) && ${ae}.length == 1`,(()=>se.assign(ae,(0,ue._)`${ae}[0]`).assign(le,(0,ue._)`typeof ${ae}`).if(checkDataTypes(ie,ae,ce.strictNumbers),(()=>se.assign(fe,ae)))))}se.if((0,ue._)`${fe} !== undefined`);for(const re of oe){if(de.has(re)||re==="array"&&ce.coerceTypes==="array"){coerceSpecificType(re)}}se.else();reportTypeError(re);se.endIf();se.if((0,ue._)`${fe} !== undefined`,(()=>{se.assign(ae,fe);assignParentData(re,fe)}));function coerceSpecificType(re){switch(re){case"string":se.elseIf((0,ue._)`${le} == "number" || ${le} == "boolean"`).assign(fe,(0,ue._)`"" + ${ae}`).elseIf((0,ue._)`${ae} === null`).assign(fe,(0,ue._)`""`);return;case"number":se.elseIf((0,ue._)`${le} == "boolean" || ${ae} === null - || (${le} == "string" && ${ae} && ${ae} == +${ae})`).assign(fe,(0,ue._)`+${ae}`);return;case"integer":se.elseIf((0,ue._)`${le} === "boolean" || ${ae} === null - || (${le} === "string" && ${ae} && ${ae} == +${ae} && !(${ae} % 1))`).assign(fe,(0,ue._)`+${ae}`);return;case"boolean":se.elseIf((0,ue._)`${ae} === "false" || ${ae} === 0 || ${ae} === null`).assign(fe,false).elseIf((0,ue._)`${ae} === "true" || ${ae} === 1`).assign(fe,true);return;case"null":se.elseIf((0,ue._)`${ae} === "" || ${ae} === 0 || ${ae} === false`);se.assign(fe,null);return;case"array":se.elseIf((0,ue._)`${le} === "string" || ${le} === "number" - || ${le} === "boolean" || ${ae} === null`).assign(fe,(0,ue._)`[${ae}]`)}}}function assignParentData({gen:re,parentData:ie,parentDataProperty:oe},se){re.if((0,ue._)`${ie} !== undefined`,(()=>re.assign((0,ue._)`${ie}[${oe}]`,se)))}function checkDataType(re,ie,oe,se=fe.Correct){const ae=se===fe.Correct?ue.operators.EQ:ue.operators.NEQ;let ce;switch(re){case"null":return(0,ue._)`${ie} ${ae} null`;case"array":ce=(0,ue._)`Array.isArray(${ie})`;break;case"object":ce=(0,ue._)`${ie} && typeof ${ie} == "object" && !Array.isArray(${ie})`;break;case"integer":ce=numCond((0,ue._)`!(${ie} % 1) && !isNaN(${ie})`);break;case"number":ce=numCond();break;default:return(0,ue._)`typeof ${ie} ${ae} ${re}`}return se===fe.Correct?ce:(0,ue.not)(ce);function numCond(re=ue.nil){return(0,ue.and)((0,ue._)`typeof ${ie} == "number"`,re,oe?(0,ue._)`isFinite(${ie})`:ue.nil)}}ie.checkDataType=checkDataType;function checkDataTypes(re,ie,oe,se){if(re.length===1){return checkDataType(re[0],ie,oe,se)}let ae;const ce=(0,le.toHash)(re);if(ce.array&&ce.object){const re=(0,ue._)`typeof ${ie} != "object"`;ae=ce.null?re:(0,ue._)`!${ie} || ${re}`;delete ce.null;delete ce.array;delete ce.object}else{ae=ue.nil}if(ce.number)delete ce.integer;for(const re in ce)ae=(0,ue.and)(ae,checkDataType(re,ie,oe,se));return ae}ie.checkDataTypes=checkDataTypes;const pe={message:({schema:re})=>`must be ${re}`,params:({schema:re,schemaValue:ie})=>typeof re=="string"?(0,ue._)`{type: ${re}}`:(0,ue._)`{type: ${ie}}`};function reportTypeError(re){const ie=getTypeErrorContext(re);(0,ce.reportError)(ie,pe)}ie.reportTypeError=reportTypeError;function getTypeErrorContext(re){const{gen:ie,data:oe,schema:se}=re;const ae=(0,le.schemaRefOrVal)(re,se,"type");return{gen:ie,keyword:"type",data:oe,schema:se.type,schemaCode:ae,schemaValue:ae,parentSchema:se,params:{},it:re}}},56779:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.assignDefaults=void 0;const se=oe(26124);const ae=oe(77182);function assignDefaults(re,ie){const{properties:oe,items:se}=re.schema;if(ie==="object"&&oe){for(const ie in oe){assignDefault(re,ie,oe[ie].default)}}else if(ie==="array"&&Array.isArray(se)){se.forEach(((ie,oe)=>assignDefault(re,oe,ie.default)))}}ie.assignDefaults=assignDefaults;function assignDefault(re,ie,oe){const{gen:ce,compositeRule:ue,data:le,opts:fe}=re;if(oe===undefined)return;const de=(0,se._)`${le}${(0,se.getProperty)(ie)}`;if(ue){(0,ae.checkStrictMode)(re,`default is ignored for: ${de}`);return}let pe=(0,se._)`${de} === undefined`;if(fe.useDefaults==="empty"){pe=(0,se._)`${pe} || ${de} === null || ${de} === ""`}ce.if(pe,(0,se._)`${de} = ${(0,se.stringify)(oe)}`)}},50204:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.getData=ie.KeywordCxt=ie.validateFunctionCode=void 0;const se=oe(76703);const ae=oe(91450);const ce=oe(3381);const ue=oe(91450);const le=oe(56779);const fe=oe(91046);const de=oe(32080);const pe=oe(26124);const he=oe(83505);const Ae=oe(23145);const ge=oe(77182);const me=oe(1202);function validateFunctionCode(re){if(isSchemaObj(re)){checkKeywords(re);if(schemaCxtHasRules(re)){topSchemaObjCode(re);return}}validateFunction(re,(()=>(0,se.topBoolOrEmptySchema)(re)))}ie.validateFunctionCode=validateFunctionCode;function validateFunction({gen:re,validateName:ie,schema:oe,schemaEnv:se,opts:ae},ce){if(ae.code.es5){re.func(ie,(0,pe._)`${he.default.data}, ${he.default.valCxt}`,se.$async,(()=>{re.code((0,pe._)`"use strict"; ${funcSourceUrl(oe,ae)}`);destructureValCxtES5(re,ae);re.code(ce)}))}else{re.func(ie,(0,pe._)`${he.default.data}, ${destructureValCxt(ae)}`,se.$async,(()=>re.code(funcSourceUrl(oe,ae)).code(ce)))}}function destructureValCxt(re){return(0,pe._)`{${he.default.instancePath}="", ${he.default.parentData}, ${he.default.parentDataProperty}, ${he.default.rootData}=${he.default.data}${re.dynamicRef?(0,pe._)`, ${he.default.dynamicAnchors}={}`:pe.nil}}={}`}function destructureValCxtES5(re,ie){re.if(he.default.valCxt,(()=>{re.var(he.default.instancePath,(0,pe._)`${he.default.valCxt}.${he.default.instancePath}`);re.var(he.default.parentData,(0,pe._)`${he.default.valCxt}.${he.default.parentData}`);re.var(he.default.parentDataProperty,(0,pe._)`${he.default.valCxt}.${he.default.parentDataProperty}`);re.var(he.default.rootData,(0,pe._)`${he.default.valCxt}.${he.default.rootData}`);if(ie.dynamicRef)re.var(he.default.dynamicAnchors,(0,pe._)`${he.default.valCxt}.${he.default.dynamicAnchors}`)}),(()=>{re.var(he.default.instancePath,(0,pe._)`""`);re.var(he.default.parentData,(0,pe._)`undefined`);re.var(he.default.parentDataProperty,(0,pe._)`undefined`);re.var(he.default.rootData,he.default.data);if(ie.dynamicRef)re.var(he.default.dynamicAnchors,(0,pe._)`{}`)}))}function topSchemaObjCode(re){const{schema:ie,opts:oe,gen:se}=re;validateFunction(re,(()=>{if(oe.$comment&&ie.$comment)commentKeyword(re);checkNoDefault(re);se.let(he.default.vErrors,null);se.let(he.default.errors,0);if(oe.unevaluated)resetEvaluated(re);typeAndKeywords(re);returnResults(re)}));return}function resetEvaluated(re){const{gen:ie,validateName:oe}=re;re.evaluated=ie.const("evaluated",(0,pe._)`${oe}.evaluated`);ie.if((0,pe._)`${re.evaluated}.dynamicProps`,(()=>ie.assign((0,pe._)`${re.evaluated}.props`,(0,pe._)`undefined`)));ie.if((0,pe._)`${re.evaluated}.dynamicItems`,(()=>ie.assign((0,pe._)`${re.evaluated}.items`,(0,pe._)`undefined`)))}function funcSourceUrl(re,ie){const oe=typeof re=="object"&&re[ie.schemaId];return oe&&(ie.code.source||ie.code.process)?(0,pe._)`/*# sourceURL=${oe} */`:pe.nil}function subschemaCode(re,ie){if(isSchemaObj(re)){checkKeywords(re);if(schemaCxtHasRules(re)){subSchemaObjCode(re,ie);return}}(0,se.boolOrEmptySchema)(re,ie)}function schemaCxtHasRules({schema:re,self:ie}){if(typeof re=="boolean")return!re;for(const oe in re)if(ie.RULES.all[oe])return true;return false}function isSchemaObj(re){return typeof re.schema!="boolean"}function subSchemaObjCode(re,ie){const{schema:oe,gen:se,opts:ae}=re;if(ae.$comment&&oe.$comment)commentKeyword(re);updateContext(re);checkAsyncSchema(re);const ce=se.const("_errs",he.default.errors);typeAndKeywords(re,ce);se.var(ie,(0,pe._)`${ce} === ${he.default.errors}`)}function checkKeywords(re){(0,ge.checkUnknownRules)(re);checkRefsAndKeywords(re)}function typeAndKeywords(re,ie){if(re.opts.jtd)return schemaKeywords(re,[],false,ie);const oe=(0,ae.getSchemaTypes)(re.schema);const se=(0,ae.coerceAndCheckDataType)(re,oe);schemaKeywords(re,oe,!se,ie)}function checkRefsAndKeywords(re){const{schema:ie,errSchemaPath:oe,opts:se,self:ae}=re;if(ie.$ref&&se.ignoreKeywordsWithRef&&(0,ge.schemaHasRulesButRef)(ie,ae.RULES)){ae.logger.warn(`$ref: keywords ignored in schema at path "${oe}"`)}}function checkNoDefault(re){const{schema:ie,opts:oe}=re;if(ie.default!==undefined&&oe.useDefaults&&oe.strictSchema){(0,ge.checkStrictMode)(re,"default is ignored in the schema root")}}function updateContext(re){const ie=re.schema[re.opts.schemaId];if(ie)re.baseId=(0,Ae.resolveUrl)(re.opts.uriResolver,re.baseId,ie)}function checkAsyncSchema(re){if(re.schema.$async&&!re.schemaEnv.$async)throw new Error("async schema in sync schema")}function commentKeyword({gen:re,schemaEnv:ie,schema:oe,errSchemaPath:se,opts:ae}){const ce=oe.$comment;if(ae.$comment===true){re.code((0,pe._)`${he.default.self}.logger.log(${ce})`)}else if(typeof ae.$comment=="function"){const oe=(0,pe.str)`${se}/$comment`;const ae=re.scopeValue("root",{ref:ie.root});re.code((0,pe._)`${he.default.self}.opts.$comment(${ce}, ${oe}, ${ae}.schema)`)}}function returnResults(re){const{gen:ie,schemaEnv:oe,validateName:se,ValidationError:ae,opts:ce}=re;if(oe.$async){ie.if((0,pe._)`${he.default.errors} === 0`,(()=>ie.return(he.default.data)),(()=>ie.throw((0,pe._)`new ${ae}(${he.default.vErrors})`)))}else{ie.assign((0,pe._)`${se}.errors`,he.default.vErrors);if(ce.unevaluated)assignEvaluated(re);ie.return((0,pe._)`${he.default.errors} === 0`)}}function assignEvaluated({gen:re,evaluated:ie,props:oe,items:se}){if(oe instanceof pe.Name)re.assign((0,pe._)`${ie}.props`,oe);if(se instanceof pe.Name)re.assign((0,pe._)`${ie}.items`,se)}function schemaKeywords(re,ie,oe,se){const{gen:ae,schema:le,data:fe,allErrors:de,opts:Ae,self:me}=re;const{RULES:ye}=me;if(le.$ref&&(Ae.ignoreKeywordsWithRef||!(0,ge.schemaHasRulesButRef)(le,ye))){ae.block((()=>keywordCode(re,"$ref",ye.all.$ref.definition)));return}if(!Ae.jtd)checkStrictTypes(re,ie);ae.block((()=>{for(const re of ye.rules)groupKeywords(re);groupKeywords(ye.post)}));function groupKeywords(ge){if(!(0,ce.shouldUseGroup)(le,ge))return;if(ge.type){ae.if((0,ue.checkDataType)(ge.type,fe,Ae.strictNumbers));iterateKeywords(re,ge);if(ie.length===1&&ie[0]===ge.type&&oe){ae.else();(0,ue.reportTypeError)(re)}ae.endIf()}else{iterateKeywords(re,ge)}if(!de)ae.if((0,pe._)`${he.default.errors} === ${se||0}`)}}function iterateKeywords(re,ie){const{gen:oe,schema:se,opts:{useDefaults:ae}}=re;if(ae)(0,le.assignDefaults)(re,ie.type);oe.block((()=>{for(const oe of ie.rules){if((0,ce.shouldUseRule)(se,oe)){keywordCode(re,oe.keyword,oe.definition,ie.type)}}}))}function checkStrictTypes(re,ie){if(re.schemaEnv.meta||!re.opts.strictTypes)return;checkContextTypes(re,ie);if(!re.opts.allowUnionTypes)checkMultipleTypes(re,ie);checkKeywordTypes(re,re.dataTypes)}function checkContextTypes(re,ie){if(!ie.length)return;if(!re.dataTypes.length){re.dataTypes=ie;return}ie.forEach((ie=>{if(!includesType(re.dataTypes,ie)){strictTypesError(re,`type "${ie}" not allowed by context "${re.dataTypes.join(",")}"`)}}));narrowSchemaTypes(re,ie)}function checkMultipleTypes(re,ie){if(ie.length>1&&!(ie.length===2&&ie.includes("null"))){strictTypesError(re,"use allowUnionTypes to allow union type keyword")}}function checkKeywordTypes(re,ie){const oe=re.self.RULES.all;for(const se in oe){const ae=oe[se];if(typeof ae=="object"&&(0,ce.shouldUseRule)(re.schema,ae)){const{type:oe}=ae.definition;if(oe.length&&!oe.some((re=>hasApplicableType(ie,re)))){strictTypesError(re,`missing type "${oe.join(",")}" for keyword "${se}"`)}}}}function hasApplicableType(re,ie){return re.includes(ie)||ie==="number"&&re.includes("integer")}function includesType(re,ie){return re.includes(ie)||ie==="integer"&&re.includes("number")}function narrowSchemaTypes(re,ie){const oe=[];for(const se of re.dataTypes){if(includesType(ie,se))oe.push(se);else if(ie.includes("integer")&&se==="number")oe.push("integer")}re.dataTypes=oe}function strictTypesError(re,ie){const oe=re.schemaEnv.baseId+re.errSchemaPath;ie+=` at "${oe}" (strictTypes)`;(0,ge.checkStrictMode)(re,ie,re.opts.strictTypes)}class KeywordCxt{constructor(re,ie,oe){(0,fe.validateKeywordUsage)(re,ie,oe);this.gen=re.gen;this.allErrors=re.allErrors;this.keyword=oe;this.data=re.data;this.schema=re.schema[oe];this.$data=ie.$data&&re.opts.$data&&this.schema&&this.schema.$data;this.schemaValue=(0,ge.schemaRefOrVal)(re,this.schema,oe,this.$data);this.schemaType=ie.schemaType;this.parentSchema=re.schema;this.params={};this.it=re;this.def=ie;if(this.$data){this.schemaCode=re.gen.const("vSchema",getData(this.$data,re))}else{this.schemaCode=this.schemaValue;if(!(0,fe.validSchemaType)(this.schema,ie.schemaType,ie.allowUndefined)){throw new Error(`${oe} value must be ${JSON.stringify(ie.schemaType)}`)}}if("code"in ie?ie.trackErrors:ie.errors!==false){this.errsCount=re.gen.const("_errs",he.default.errors)}}result(re,ie,oe){this.failResult((0,pe.not)(re),ie,oe)}failResult(re,ie,oe){this.gen.if(re);if(oe)oe();else this.error();if(ie){this.gen.else();ie();if(this.allErrors)this.gen.endIf()}else{if(this.allErrors)this.gen.endIf();else this.gen.else()}}pass(re,ie){this.failResult((0,pe.not)(re),undefined,ie)}fail(re){if(re===undefined){this.error();if(!this.allErrors)this.gen.if(false);return}this.gen.if(re);this.error();if(this.allErrors)this.gen.endIf();else this.gen.else()}fail$data(re){if(!this.$data)return this.fail(re);const{schemaCode:ie}=this;this.fail((0,pe._)`${ie} !== undefined && (${(0,pe.or)(this.invalid$data(),re)})`)}error(re,ie,oe){if(ie){this.setParams(ie);this._error(re,oe);this.setParams({});return}this._error(re,oe)}_error(re,ie){(re?me.reportExtraError:me.reportError)(this,this.def.error,ie)}$dataError(){(0,me.reportError)(this,this.def.$dataError||me.keyword$DataError)}reset(){if(this.errsCount===undefined)throw new Error('add "trackErrors" to keyword definition');(0,me.resetErrorsCount)(this.gen,this.errsCount)}ok(re){if(!this.allErrors)this.gen.if(re)}setParams(re,ie){if(ie)Object.assign(this.params,re);else this.params=re}block$data(re,ie,oe=pe.nil){this.gen.block((()=>{this.check$data(re,oe);ie()}))}check$data(re=pe.nil,ie=pe.nil){if(!this.$data)return;const{gen:oe,schemaCode:se,schemaType:ae,def:ce}=this;oe.if((0,pe.or)((0,pe._)`${se} === undefined`,ie));if(re!==pe.nil)oe.assign(re,true);if(ae.length||ce.validateSchema){oe.elseIf(this.invalid$data());this.$dataError();if(re!==pe.nil)oe.assign(re,false)}oe.else()}invalid$data(){const{gen:re,schemaCode:ie,schemaType:oe,def:se,it:ae}=this;return(0,pe.or)(wrong$DataType(),invalid$DataSchema());function wrong$DataType(){if(oe.length){if(!(ie instanceof pe.Name))throw new Error("ajv implementation error");const re=Array.isArray(oe)?oe:[oe];return(0,pe._)`${(0,ue.checkDataTypes)(re,ie,ae.opts.strictNumbers,ue.DataType.Wrong)}`}return pe.nil}function invalid$DataSchema(){if(se.validateSchema){const oe=re.scopeValue("validate$data",{ref:se.validateSchema});return(0,pe._)`!${oe}(${ie})`}return pe.nil}}subschema(re,ie){const oe=(0,de.getSubschema)(this.it,re);(0,de.extendSubschemaData)(oe,this.it,re);(0,de.extendSubschemaMode)(oe,re);const se={...this.it,...oe,items:undefined,props:undefined};subschemaCode(se,ie);return se}mergeEvaluated(re,ie){const{it:oe,gen:se}=this;if(!oe.opts.unevaluated)return;if(oe.props!==true&&re.props!==undefined){oe.props=ge.mergeEvaluated.props(se,re.props,oe.props,ie)}if(oe.items!==true&&re.items!==undefined){oe.items=ge.mergeEvaluated.items(se,re.items,oe.items,ie)}}mergeValidEvaluated(re,ie){const{it:oe,gen:se}=this;if(oe.opts.unevaluated&&(oe.props!==true||oe.items!==true)){se.if(ie,(()=>this.mergeEvaluated(re,pe.Name)));return true}}}ie.KeywordCxt=KeywordCxt;function keywordCode(re,ie,oe,se){const ae=new KeywordCxt(re,oe,ie);if("code"in oe){oe.code(ae,se)}else if(ae.$data&&oe.validate){(0,fe.funcKeywordCode)(ae,oe)}else if("macro"in oe){(0,fe.macroKeywordCode)(ae,oe)}else if(oe.compile||oe.validate){(0,fe.funcKeywordCode)(ae,oe)}}const ye=/^\/(?:[^~]|~0|~1)*$/;const ve=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function getData(re,{dataLevel:ie,dataNames:oe,dataPathArr:se}){let ae;let ce;if(re==="")return he.default.rootData;if(re[0]==="/"){if(!ye.test(re))throw new Error(`Invalid JSON-pointer: ${re}`);ae=re;ce=he.default.rootData}else{const ue=ve.exec(re);if(!ue)throw new Error(`Invalid JSON-pointer: ${re}`);const le=+ue[1];ae=ue[2];if(ae==="#"){if(le>=ie)throw new Error(errorMsg("property/index",le));return se[ie-le]}if(le>ie)throw new Error(errorMsg("data",le));ce=oe[ie-le];if(!ae)return ce}let ue=ce;const le=ae.split("/");for(const re of le){if(re){ce=(0,pe._)`${ce}${(0,pe.getProperty)((0,ge.unescapeJsonPointer)(re))}`;ue=(0,pe._)`${ue} && ${ce}`}}return ue;function errorMsg(re,oe){return`Cannot access ${re} ${oe} levels up, current level is ${ie}`}}ie.getData=getData},91046:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.validateKeywordUsage=ie.validSchemaType=ie.funcKeywordCode=ie.macroKeywordCode=void 0;const se=oe(26124);const ae=oe(83505);const ce=oe(93841);const ue=oe(1202);function macroKeywordCode(re,ie){const{gen:oe,keyword:ae,schema:ce,parentSchema:ue,it:le}=re;const fe=ie.macro.call(le.self,ce,ue,le);const de=useKeyword(oe,ae,fe);if(le.opts.validateSchema!==false)le.self.validateSchema(fe,true);const pe=oe.name("valid");re.subschema({schema:fe,schemaPath:se.nil,errSchemaPath:`${le.errSchemaPath}/${ae}`,topSchemaRef:de,compositeRule:true},pe);re.pass(pe,(()=>re.error(true)))}ie.macroKeywordCode=macroKeywordCode;function funcKeywordCode(re,ie){var oe;const{gen:ue,keyword:le,schema:fe,parentSchema:de,$data:pe,it:he}=re;checkAsyncKeyword(he,ie);const Ae=!pe&&ie.compile?ie.compile.call(he.self,fe,de,he):ie.validate;const ge=useKeyword(ue,le,Ae);const me=ue.let("valid");re.block$data(me,validateKeyword);re.ok((oe=ie.valid)!==null&&oe!==void 0?oe:me);function validateKeyword(){if(ie.errors===false){assignValid();if(ie.modifying)modifyData(re);reportErrs((()=>re.error()))}else{const oe=ie.async?validateAsync():validateSync();if(ie.modifying)modifyData(re);reportErrs((()=>addErrs(re,oe)))}}function validateAsync(){const re=ue.let("ruleErrs",null);ue.try((()=>assignValid((0,se._)`await `)),(ie=>ue.assign(me,false).if((0,se._)`${ie} instanceof ${he.ValidationError}`,(()=>ue.assign(re,(0,se._)`${ie}.errors`)),(()=>ue.throw(ie)))));return re}function validateSync(){const re=(0,se._)`${ge}.errors`;ue.assign(re,null);assignValid(se.nil);return re}function assignValid(oe=(ie.async?(0,se._)`await `:se.nil)){const le=he.opts.passContext?ae.default.this:ae.default.self;const fe=!("compile"in ie&&!pe||ie.schema===false);ue.assign(me,(0,se._)`${oe}${(0,ce.callValidateCode)(re,ge,le,fe)}`,ie.modifying)}function reportErrs(re){var oe;ue.if((0,se.not)((oe=ie.valid)!==null&&oe!==void 0?oe:me),re)}}ie.funcKeywordCode=funcKeywordCode;function modifyData(re){const{gen:ie,data:oe,it:ae}=re;ie.if(ae.parentData,(()=>ie.assign(oe,(0,se._)`${ae.parentData}[${ae.parentDataProperty}]`)))}function addErrs(re,ie){const{gen:oe}=re;oe.if((0,se._)`Array.isArray(${ie})`,(()=>{oe.assign(ae.default.vErrors,(0,se._)`${ae.default.vErrors} === null ? ${ie} : ${ae.default.vErrors}.concat(${ie})`).assign(ae.default.errors,(0,se._)`${ae.default.vErrors}.length`);(0,ue.extendErrors)(re)}),(()=>re.error()))}function checkAsyncKeyword({schemaEnv:re},ie){if(ie.async&&!re.$async)throw new Error("async keyword in sync schema")}function useKeyword(re,ie,oe){if(oe===undefined)throw new Error(`keyword "${ie}" failed to compile`);return re.scopeValue("keyword",typeof oe=="function"?{ref:oe}:{ref:oe,code:(0,se.stringify)(oe)})}function validSchemaType(re,ie,oe=false){return!ie.length||ie.some((ie=>ie==="array"?Array.isArray(re):ie==="object"?re&&typeof re=="object"&&!Array.isArray(re):typeof re==ie||oe&&typeof re=="undefined"))}ie.validSchemaType=validSchemaType;function validateKeywordUsage({schema:re,opts:ie,self:oe,errSchemaPath:se},ae,ce){if(Array.isArray(ae.keyword)?!ae.keyword.includes(ce):ae.keyword!==ce){throw new Error("ajv implementation error")}const ue=ae.dependencies;if(ue===null||ue===void 0?void 0:ue.some((ie=>!Object.prototype.hasOwnProperty.call(re,ie)))){throw new Error(`parent schema must have dependencies of ${ce}: ${ue.join(",")}`)}if(ae.validateSchema){const ue=ae.validateSchema(re[ce]);if(!ue){const re=`keyword "${ce}" value is invalid at path "${se}": `+oe.errorsText(ae.validateSchema.errors);if(ie.validateSchema==="log")oe.logger.error(re);else throw new Error(re)}}}ie.validateKeywordUsage=validateKeywordUsage},32080:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.extendSubschemaMode=ie.extendSubschemaData=ie.getSubschema=void 0;const se=oe(26124);const ae=oe(77182);function getSubschema(re,{keyword:ie,schemaProp:oe,schema:ce,schemaPath:ue,errSchemaPath:le,topSchemaRef:fe}){if(ie!==undefined&&ce!==undefined){throw new Error('both "keyword" and "schema" passed, only one allowed')}if(ie!==undefined){const ce=re.schema[ie];return oe===undefined?{schema:ce,schemaPath:(0,se._)`${re.schemaPath}${(0,se.getProperty)(ie)}`,errSchemaPath:`${re.errSchemaPath}/${ie}`}:{schema:ce[oe],schemaPath:(0,se._)`${re.schemaPath}${(0,se.getProperty)(ie)}${(0,se.getProperty)(oe)}`,errSchemaPath:`${re.errSchemaPath}/${ie}/${(0,ae.escapeFragment)(oe)}`}}if(ce!==undefined){if(ue===undefined||le===undefined||fe===undefined){throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"')}return{schema:ce,schemaPath:ue,topSchemaRef:fe,errSchemaPath:le}}throw new Error('either "keyword" or "schema" must be passed')}ie.getSubschema=getSubschema;function extendSubschemaData(re,ie,{dataProp:oe,dataPropType:ce,data:ue,dataTypes:le,propertyName:fe}){if(ue!==undefined&&oe!==undefined){throw new Error('both "data" and "dataProp" passed, only one allowed')}const{gen:de}=ie;if(oe!==undefined){const{errorPath:ue,dataPathArr:le,opts:fe}=ie;const pe=de.let("data",(0,se._)`${ie.data}${(0,se.getProperty)(oe)}`,true);dataContextProps(pe);re.errorPath=(0,se.str)`${ue}${(0,ae.getErrorPath)(oe,ce,fe.jsPropertySyntax)}`;re.parentDataProperty=(0,se._)`${oe}`;re.dataPathArr=[...le,re.parentDataProperty]}if(ue!==undefined){const ie=ue instanceof se.Name?ue:de.let("data",ue,true);dataContextProps(ie);if(fe!==undefined)re.propertyName=fe}if(le)re.dataTypes=le;function dataContextProps(oe){re.data=oe;re.dataLevel=ie.dataLevel+1;re.dataTypes=[];ie.definedProperties=new Set;re.parentData=ie.data;re.dataNames=[...ie.dataNames,oe]}}ie.extendSubschemaData=extendSubschemaData;function extendSubschemaMode(re,{jtdDiscriminator:ie,jtdMetadata:oe,compositeRule:se,createErrors:ae,allErrors:ce}){if(se!==undefined)re.compositeRule=se;if(ae!==undefined)re.createErrors=ae;if(ce!==undefined)re.allErrors=ce;re.jtdDiscriminator=ie;re.jtdMetadata=oe}ie.extendSubschemaMode=extendSubschemaMode},16177:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.CodeGen=ie.Name=ie.nil=ie.stringify=ie.str=ie._=ie.KeywordCxt=void 0;var se=oe(50204);Object.defineProperty(ie,"KeywordCxt",{enumerable:true,get:function(){return se.KeywordCxt}});var ae=oe(26124);Object.defineProperty(ie,"_",{enumerable:true,get:function(){return ae._}});Object.defineProperty(ie,"str",{enumerable:true,get:function(){return ae.str}});Object.defineProperty(ie,"stringify",{enumerable:true,get:function(){return ae.stringify}});Object.defineProperty(ie,"nil",{enumerable:true,get:function(){return ae.nil}});Object.defineProperty(ie,"Name",{enumerable:true,get:function(){return ae.Name}});Object.defineProperty(ie,"CodeGen",{enumerable:true,get:function(){return ae.CodeGen}});const ce=oe(16009);const ue=oe(22968);const le=oe(2709);const fe=oe(15157);const de=oe(26124);const pe=oe(23145);const he=oe(91450);const Ae=oe(77182);const ge=oe(20259);const me=oe(64365);const defaultRegExp=(re,ie)=>new RegExp(re,ie);defaultRegExp.code="new RegExp";const ye=["removeAdditional","useDefaults","coerceTypes"];const ve=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]);const be={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."};const we={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'};const _e=200;function requiredOptions(re){var ie,oe,se,ae,ce,ue,le,fe,de,pe,he,Ae,ge,ye,ve,be,we,Ee,Ce,Ie,Se,Be,xe,ke,Oe;const De=re.strict;const Pe=(ie=re.code)===null||ie===void 0?void 0:ie.optimize;const Te=Pe===true||Pe===undefined?1:Pe||0;const Qe=(se=(oe=re.code)===null||oe===void 0?void 0:oe.regExp)!==null&&se!==void 0?se:defaultRegExp;const Re=(ae=re.uriResolver)!==null&&ae!==void 0?ae:me.default;return{strictSchema:(ue=(ce=re.strictSchema)!==null&&ce!==void 0?ce:De)!==null&&ue!==void 0?ue:true,strictNumbers:(fe=(le=re.strictNumbers)!==null&&le!==void 0?le:De)!==null&&fe!==void 0?fe:true,strictTypes:(pe=(de=re.strictTypes)!==null&&de!==void 0?de:De)!==null&&pe!==void 0?pe:"log",strictTuples:(Ae=(he=re.strictTuples)!==null&&he!==void 0?he:De)!==null&&Ae!==void 0?Ae:"log",strictRequired:(ye=(ge=re.strictRequired)!==null&&ge!==void 0?ge:De)!==null&&ye!==void 0?ye:false,code:re.code?{...re.code,optimize:Te,regExp:Qe}:{optimize:Te,regExp:Qe},loopRequired:(ve=re.loopRequired)!==null&&ve!==void 0?ve:_e,loopEnum:(be=re.loopEnum)!==null&&be!==void 0?be:_e,meta:(we=re.meta)!==null&&we!==void 0?we:true,messages:(Ee=re.messages)!==null&&Ee!==void 0?Ee:true,inlineRefs:(Ce=re.inlineRefs)!==null&&Ce!==void 0?Ce:true,schemaId:(Ie=re.schemaId)!==null&&Ie!==void 0?Ie:"$id",addUsedSchema:(Se=re.addUsedSchema)!==null&&Se!==void 0?Se:true,validateSchema:(Be=re.validateSchema)!==null&&Be!==void 0?Be:true,validateFormats:(xe=re.validateFormats)!==null&&xe!==void 0?xe:true,unicodeRegExp:(ke=re.unicodeRegExp)!==null&&ke!==void 0?ke:true,int32range:(Oe=re.int32range)!==null&&Oe!==void 0?Oe:true,uriResolver:Re}}class Ajv{constructor(re={}){this.schemas={};this.refs={};this.formats={};this._compilations=new Set;this._loading={};this._cache=new Map;re=this.opts={...re,...requiredOptions(re)};const{es5:ie,lines:oe}=this.opts.code;this.scope=new de.ValueScope({scope:{},prefixes:ve,es5:ie,lines:oe});this.logger=getLogger(re.logger);const se=re.validateFormats;re.validateFormats=false;this.RULES=(0,le.getRules)();checkOptions.call(this,be,re,"NOT SUPPORTED");checkOptions.call(this,we,re,"DEPRECATED","warn");this._metaOpts=getMetaSchemaOptions.call(this);if(re.formats)addInitialFormats.call(this);this._addVocabularies();this._addDefaultMetaSchema();if(re.keywords)addInitialKeywords.call(this,re.keywords);if(typeof re.meta=="object")this.addMetaSchema(re.meta);addInitialSchemas.call(this);re.validateFormats=se}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){const{$data:re,meta:ie,schemaId:oe}=this.opts;let se=ge;if(oe==="id"){se={...ge};se.id=se.$id;delete se.$id}if(ie&&re)this.addMetaSchema(se,se[oe],false)}defaultMeta(){const{meta:re,schemaId:ie}=this.opts;return this.opts.defaultMeta=typeof re=="object"?re[ie]||re:undefined}validate(re,ie){let oe;if(typeof re=="string"){oe=this.getSchema(re);if(!oe)throw new Error(`no schema with key or ref "${re}"`)}else{oe=this.compile(re)}const se=oe(ie);if(!("$async"in oe))this.errors=oe.errors;return se}compile(re,ie){const oe=this._addSchema(re,ie);return oe.validate||this._compileSchemaEnv(oe)}compileAsync(re,ie){if(typeof this.opts.loadSchema!="function"){throw new Error("options.loadSchema should be a function")}const{loadSchema:oe}=this.opts;return runCompileAsync.call(this,re,ie);async function runCompileAsync(re,ie){await loadMetaSchema.call(this,re.$schema);const oe=this._addSchema(re,ie);return oe.validate||_compileAsync.call(this,oe)}async function loadMetaSchema(re){if(re&&!this.getSchema(re)){await runCompileAsync.call(this,{$ref:re},true)}}async function _compileAsync(re){try{return this._compileSchemaEnv(re)}catch(ie){if(!(ie instanceof ue.default))throw ie;checkLoaded.call(this,ie);await loadMissingSchema.call(this,ie.missingSchema);return _compileAsync.call(this,re)}}function checkLoaded({missingSchema:re,missingRef:ie}){if(this.refs[re]){throw new Error(`AnySchema ${re} is loaded but ${ie} cannot be resolved`)}}async function loadMissingSchema(re){const oe=await _loadSchema.call(this,re);if(!this.refs[re])await loadMetaSchema.call(this,oe.$schema);if(!this.refs[re])this.addSchema(oe,re,ie)}async function _loadSchema(re){const ie=this._loading[re];if(ie)return ie;try{return await(this._loading[re]=oe(re))}finally{delete this._loading[re]}}}addSchema(re,ie,oe,se=this.opts.validateSchema){if(Array.isArray(re)){for(const ie of re)this.addSchema(ie,undefined,oe,se);return this}let ae;if(typeof re==="object"){const{schemaId:ie}=this.opts;ae=re[ie];if(ae!==undefined&&typeof ae!="string"){throw new Error(`schema ${ie} must be string`)}}ie=(0,pe.normalizeId)(ie||ae);this._checkUnique(ie);this.schemas[ie]=this._addSchema(re,oe,ie,se,true);return this}addMetaSchema(re,ie,oe=this.opts.validateSchema){this.addSchema(re,ie,true,oe);return this}validateSchema(re,ie){if(typeof re=="boolean")return true;let oe;oe=re.$schema;if(oe!==undefined&&typeof oe!="string"){throw new Error("$schema must be a string")}oe=oe||this.opts.defaultMeta||this.defaultMeta();if(!oe){this.logger.warn("meta-schema not available");this.errors=null;return true}const se=this.validate(oe,re);if(!se&&ie){const re="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(re);else throw new Error(re)}return se}getSchema(re){let ie;while(typeof(ie=getSchEnv.call(this,re))=="string")re=ie;if(ie===undefined){const{schemaId:oe}=this.opts;const se=new fe.SchemaEnv({schema:{},schemaId:oe});ie=fe.resolveSchema.call(this,se,re);if(!ie)return;this.refs[re]=ie}return ie.validate||this._compileSchemaEnv(ie)}removeSchema(re){if(re instanceof RegExp){this._removeAllSchemas(this.schemas,re);this._removeAllSchemas(this.refs,re);return this}switch(typeof re){case"undefined":this._removeAllSchemas(this.schemas);this._removeAllSchemas(this.refs);this._cache.clear();return this;case"string":{const ie=getSchEnv.call(this,re);if(typeof ie=="object")this._cache.delete(ie.schema);delete this.schemas[re];delete this.refs[re];return this}case"object":{const ie=re;this._cache.delete(ie);let oe=re[this.opts.schemaId];if(oe){oe=(0,pe.normalizeId)(oe);delete this.schemas[oe];delete this.refs[oe]}return this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(re){for(const ie of re)this.addKeyword(ie);return this}addKeyword(re,ie){let oe;if(typeof re=="string"){oe=re;if(typeof ie=="object"){this.logger.warn("these parameters are deprecated, see docs for addKeyword");ie.keyword=oe}}else if(typeof re=="object"&&ie===undefined){ie=re;oe=ie.keyword;if(Array.isArray(oe)&&!oe.length){throw new Error("addKeywords: keyword must be string or non-empty array")}}else{throw new Error("invalid addKeywords parameters")}checkKeyword.call(this,oe,ie);if(!ie){(0,Ae.eachItem)(oe,(re=>addRule.call(this,re)));return this}keywordMetaschema.call(this,ie);const se={...ie,type:(0,he.getJSONTypes)(ie.type),schemaType:(0,he.getJSONTypes)(ie.schemaType)};(0,Ae.eachItem)(oe,se.type.length===0?re=>addRule.call(this,re,se):re=>se.type.forEach((ie=>addRule.call(this,re,se,ie))));return this}getKeyword(re){const ie=this.RULES.all[re];return typeof ie=="object"?ie.definition:!!ie}removeKeyword(re){const{RULES:ie}=this;delete ie.keywords[re];delete ie.all[re];for(const oe of ie.rules){const ie=oe.rules.findIndex((ie=>ie.keyword===re));if(ie>=0)oe.rules.splice(ie,1)}return this}addFormat(re,ie){if(typeof ie=="string")ie=new RegExp(ie);this.formats[re]=ie;return this}errorsText(re=this.errors,{separator:ie=", ",dataVar:oe="data"}={}){if(!re||re.length===0)return"No errors";return re.map((re=>`${oe}${re.instancePath} ${re.message}`)).reduce(((re,oe)=>re+ie+oe))}$dataMetaSchema(re,ie){const oe=this.RULES.all;re=JSON.parse(JSON.stringify(re));for(const se of ie){const ie=se.split("/").slice(1);let ae=re;for(const re of ie)ae=ae[re];for(const re in oe){const ie=oe[re];if(typeof ie!="object")continue;const{$data:se}=ie.definition;const ce=ae[re];if(se&&ce)ae[re]=schemaOrData(ce)}}return re}_removeAllSchemas(re,ie){for(const oe in re){const se=re[oe];if(!ie||ie.test(oe)){if(typeof se=="string"){delete re[oe]}else if(se&&!se.meta){this._cache.delete(se.schema);delete re[oe]}}}}_addSchema(re,ie,oe,se=this.opts.validateSchema,ae=this.opts.addUsedSchema){let ce;const{schemaId:ue}=this.opts;if(typeof re=="object"){ce=re[ue]}else{if(this.opts.jtd)throw new Error("schema must be object");else if(typeof re!="boolean")throw new Error("schema must be object or boolean")}let le=this._cache.get(re);if(le!==undefined)return le;oe=(0,pe.normalizeId)(ce||oe);const de=pe.getSchemaRefs.call(this,re,oe);le=new fe.SchemaEnv({schema:re,schemaId:ue,meta:ie,baseId:oe,localRefs:de});this._cache.set(le.schema,le);if(ae&&!oe.startsWith("#")){if(oe)this._checkUnique(oe);this.refs[oe]=le}if(se)this.validateSchema(re,true);return le}_checkUnique(re){if(this.schemas[re]||this.refs[re]){throw new Error(`schema with key or id "${re}" already exists`)}}_compileSchemaEnv(re){if(re.meta)this._compileMetaSchema(re);else fe.compileSchema.call(this,re);if(!re.validate)throw new Error("ajv implementation error");return re.validate}_compileMetaSchema(re){const ie=this.opts;this.opts=this._metaOpts;try{fe.compileSchema.call(this,re)}finally{this.opts=ie}}}ie["default"]=Ajv;Ajv.ValidationError=ce.default;Ajv.MissingRefError=ue.default;function checkOptions(re,ie,oe,se="error"){for(const ae in re){const ce=ae;if(ce in ie)this.logger[se](`${oe}: option ${ae}. ${re[ce]}`)}}function getSchEnv(re){re=(0,pe.normalizeId)(re);return this.schemas[re]||this.refs[re]}function addInitialSchemas(){const re=this.opts.schemas;if(!re)return;if(Array.isArray(re))this.addSchema(re);else for(const ie in re)this.addSchema(re[ie],ie)}function addInitialFormats(){for(const re in this.opts.formats){const ie=this.opts.formats[re];if(ie)this.addFormat(re,ie)}}function addInitialKeywords(re){if(Array.isArray(re)){this.addVocabulary(re);return}this.logger.warn("keywords option as map is deprecated, pass array");for(const ie in re){const oe=re[ie];if(!oe.keyword)oe.keyword=ie;this.addKeyword(oe)}}function getMetaSchemaOptions(){const re={...this.opts};for(const ie of ye)delete re[ie];return re}const Ee={log(){},warn(){},error(){}};function getLogger(re){if(re===false)return Ee;if(re===undefined)return console;if(re.log&&re.warn&&re.error)return re;throw new Error("logger must implement log, warn and error methods")}const Ce=/^[a-z_$][a-z0-9_$:-]*$/i;function checkKeyword(re,ie){const{RULES:oe}=this;(0,Ae.eachItem)(re,(re=>{if(oe.keywords[re])throw new Error(`Keyword ${re} is already defined`);if(!Ce.test(re))throw new Error(`Keyword ${re} has invalid name`)}));if(!ie)return;if(ie.$data&&!("code"in ie||"validate"in ie)){throw new Error('$data keyword must have "code" or "validate" function')}}function addRule(re,ie,oe){var se;const ae=ie===null||ie===void 0?void 0:ie.post;if(oe&&ae)throw new Error('keyword with "post" flag cannot have "type"');const{RULES:ce}=this;let ue=ae?ce.post:ce.rules.find((({type:re})=>re===oe));if(!ue){ue={type:oe,rules:[]};ce.rules.push(ue)}ce.keywords[re]=true;if(!ie)return;const le={keyword:re,definition:{...ie,type:(0,he.getJSONTypes)(ie.type),schemaType:(0,he.getJSONTypes)(ie.schemaType)}};if(ie.before)addBeforeRule.call(this,ue,le,ie.before);else ue.rules.push(le);ce.all[re]=le;(se=ie.implements)===null||se===void 0?void 0:se.forEach((re=>this.addKeyword(re)))}function addBeforeRule(re,ie,oe){const se=re.rules.findIndex((re=>re.keyword===oe));if(se>=0){re.rules.splice(se,0,ie)}else{re.rules.push(ie);this.logger.warn(`rule ${oe} is not defined`)}}function keywordMetaschema(re){let{metaSchema:ie}=re;if(ie===undefined)return;if(re.$data&&this.opts.$data)ie=schemaOrData(ie);re.validateSchema=this.compile(ie,true)}const Ie={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function schemaOrData(re){return{anyOf:[re,Ie]}}},96766:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(28206);se.code='require("ajv/dist/runtime/equal").default';ie["default"]=se},26206:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});function ucs2length(re){const ie=re.length;let oe=0;let se=0;let ae;while(se=55296&&ae<=56319&&se{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(70020);se.code='require("ajv/dist/runtime/uri").default';ie["default"]=se},16009:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});class ValidationError extends Error{constructor(re){super("validation failed");this.errors=re;this.ajv=this.validation=true}}ie["default"]=ValidationError},66773:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.validateAdditionalItems=void 0;const se=oe(26124);const ae=oe(77182);const ce={message:({params:{len:re}})=>(0,se.str)`must NOT have more than ${re} items`,params:({params:{len:re}})=>(0,se._)`{limit: ${re}}`};const ue={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:ce,code(re){const{parentSchema:ie,it:oe}=re;const{items:se}=ie;if(!Array.isArray(se)){(0,ae.checkStrictMode)(oe,'"additionalItems" is ignored when "items" is not an array of schemas');return}validateAdditionalItems(re,se)}};function validateAdditionalItems(re,ie){const{gen:oe,schema:ce,data:ue,keyword:le,it:fe}=re;fe.items=true;const de=oe.const("len",(0,se._)`${ue}.length`);if(ce===false){re.setParams({len:ie.length});re.pass((0,se._)`${de} <= ${ie.length}`)}else if(typeof ce=="object"&&!(0,ae.alwaysValidSchema)(fe,ce)){const ae=oe.var("valid",(0,se._)`${de} <= ${ie.length}`);oe.if((0,se.not)(ae),(()=>validateItems(ae)));re.ok(ae)}function validateItems(ce){oe.forRange("i",ie.length,de,(ie=>{re.subschema({keyword:le,dataProp:ie,dataPropType:ae.Type.Num},ce);if(!fe.allErrors)oe.if((0,se.not)(ce),(()=>oe.break()))}))}}ie.validateAdditionalItems=validateAdditionalItems;ie["default"]=ue},88526:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(93841);const ae=oe(26124);const ce=oe(83505);const ue=oe(77182);const le={message:"must NOT have additional properties",params:({params:re})=>(0,ae._)`{additionalProperty: ${re.additionalProperty}}`};const fe={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:true,trackErrors:true,error:le,code(re){const{gen:ie,schema:oe,parentSchema:le,data:fe,errsCount:de,it:pe}=re;if(!de)throw new Error("ajv implementation error");const{allErrors:he,opts:Ae}=pe;pe.props=true;if(Ae.removeAdditional!=="all"&&(0,ue.alwaysValidSchema)(pe,oe))return;const ge=(0,se.allSchemaProperties)(le.properties);const me=(0,se.allSchemaProperties)(le.patternProperties);checkAdditionalProperties();re.ok((0,ae._)`${de} === ${ce.default.errors}`);function checkAdditionalProperties(){ie.forIn("key",fe,(re=>{if(!ge.length&&!me.length)additionalPropertyCode(re);else ie.if(isAdditional(re),(()=>additionalPropertyCode(re)))}))}function isAdditional(oe){let ce;if(ge.length>8){const re=(0,ue.schemaRefOrVal)(pe,le.properties,"properties");ce=(0,se.isOwnProperty)(ie,re,oe)}else if(ge.length){ce=(0,ae.or)(...ge.map((re=>(0,ae._)`${oe} === ${re}`)))}else{ce=ae.nil}if(me.length){ce=(0,ae.or)(ce,...me.map((ie=>(0,ae._)`${(0,se.usePattern)(re,ie)}.test(${oe})`)))}return(0,ae.not)(ce)}function deleteAdditional(re){ie.code((0,ae._)`delete ${fe}[${re}]`)}function additionalPropertyCode(se){if(Ae.removeAdditional==="all"||Ae.removeAdditional&&oe===false){deleteAdditional(se);return}if(oe===false){re.setParams({additionalProperty:se});re.error();if(!he)ie.break();return}if(typeof oe=="object"&&!(0,ue.alwaysValidSchema)(pe,oe)){const oe=ie.name("valid");if(Ae.removeAdditional==="failing"){applyAdditionalSchema(se,oe,false);ie.if((0,ae.not)(oe),(()=>{re.reset();deleteAdditional(se)}))}else{applyAdditionalSchema(se,oe);if(!he)ie.if((0,ae.not)(oe),(()=>ie.break()))}}}function applyAdditionalSchema(ie,oe,se){const ae={keyword:"additionalProperties",dataProp:ie,dataPropType:ue.Type.Str};if(se===false){Object.assign(ae,{compositeRule:true,createErrors:false,allErrors:false})}re.subschema(ae,oe)}}};ie["default"]=fe},13505:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(77182);const ae={keyword:"allOf",schemaType:"array",code(re){const{gen:ie,schema:oe,it:ae}=re;if(!Array.isArray(oe))throw new Error("ajv implementation error");const ce=ie.name("valid");oe.forEach(((ie,oe)=>{if((0,se.alwaysValidSchema)(ae,ie))return;const ue=re.subschema({keyword:"allOf",schemaProp:oe},ce);re.ok(ce);re.mergeEvaluated(ue)}))}};ie["default"]=ae},78611:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(93841);const ae={keyword:"anyOf",schemaType:"array",trackErrors:true,code:se.validateUnion,error:{message:"must match a schema in anyOf"}};ie["default"]=ae},49130:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(26124);const ae=oe(77182);const ce={message:({params:{min:re,max:ie}})=>ie===undefined?(0,se.str)`must contain at least ${re} valid item(s)`:(0,se.str)`must contain at least ${re} and no more than ${ie} valid item(s)`,params:({params:{min:re,max:ie}})=>ie===undefined?(0,se._)`{minContains: ${re}}`:(0,se._)`{minContains: ${re}, maxContains: ${ie}}`};const ue={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:true,error:ce,code(re){const{gen:ie,schema:oe,parentSchema:ce,data:ue,it:le}=re;let fe;let de;const{minContains:pe,maxContains:he}=ce;if(le.opts.next){fe=pe===undefined?1:pe;de=he}else{fe=1}const Ae=ie.const("len",(0,se._)`${ue}.length`);re.setParams({min:fe,max:de});if(de===undefined&&fe===0){(0,ae.checkStrictMode)(le,`"minContains" == 0 without "maxContains": "contains" keyword ignored`);return}if(de!==undefined&&fe>de){(0,ae.checkStrictMode)(le,`"minContains" > "maxContains" is always invalid`);re.fail();return}if((0,ae.alwaysValidSchema)(le,oe)){let ie=(0,se._)`${Ae} >= ${fe}`;if(de!==undefined)ie=(0,se._)`${ie} && ${Ae} <= ${de}`;re.pass(ie);return}le.items=true;const ge=ie.name("valid");if(de===undefined&&fe===1){validateItems(ge,(()=>ie.if(ge,(()=>ie.break()))))}else if(fe===0){ie.let(ge,true);if(de!==undefined)ie.if((0,se._)`${ue}.length > 0`,validateItemsWithCount)}else{ie.let(ge,false);validateItemsWithCount()}re.result(ge,(()=>re.reset()));function validateItemsWithCount(){const re=ie.name("_valid");const oe=ie.let("count",0);validateItems(re,(()=>ie.if(re,(()=>checkLimits(oe)))))}function validateItems(oe,se){ie.forRange("i",0,Ae,(ie=>{re.subschema({keyword:"contains",dataProp:ie,dataPropType:ae.Type.Num,compositeRule:true},oe);se()}))}function checkLimits(re){ie.code((0,se._)`${re}++`);if(de===undefined){ie.if((0,se._)`${re} >= ${fe}`,(()=>ie.assign(ge,true).break()))}else{ie.if((0,se._)`${re} > ${de}`,(()=>ie.assign(ge,false).break()));if(fe===1)ie.assign(ge,true);else ie.if((0,se._)`${re} >= ${fe}`,(()=>ie.assign(ge,true)))}}}};ie["default"]=ue},17776:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.validateSchemaDeps=ie.validatePropertyDeps=ie.error=void 0;const se=oe(26124);const ae=oe(77182);const ce=oe(93841);ie.error={message:({params:{property:re,depsCount:ie,deps:oe}})=>{const ae=ie===1?"property":"properties";return(0,se.str)`must have ${ae} ${oe} when property ${re} is present`},params:({params:{property:re,depsCount:ie,deps:oe,missingProperty:ae}})=>(0,se._)`{property: ${re}, - missingProperty: ${ae}, - depsCount: ${ie}, - deps: ${oe}}`};const ue={keyword:"dependencies",type:"object",schemaType:"object",error:ie.error,code(re){const[ie,oe]=splitDependencies(re);validatePropertyDeps(re,ie);validateSchemaDeps(re,oe)}};function splitDependencies({schema:re}){const ie={};const oe={};for(const se in re){if(se==="__proto__")continue;const ae=Array.isArray(re[se])?ie:oe;ae[se]=re[se]}return[ie,oe]}function validatePropertyDeps(re,ie=re.schema){const{gen:oe,data:ae,it:ue}=re;if(Object.keys(ie).length===0)return;const le=oe.let("missing");for(const fe in ie){const de=ie[fe];if(de.length===0)continue;const pe=(0,ce.propertyInData)(oe,ae,fe,ue.opts.ownProperties);re.setParams({property:fe,depsCount:de.length,deps:de.join(", ")});if(ue.allErrors){oe.if(pe,(()=>{for(const ie of de){(0,ce.checkReportMissingProp)(re,ie)}}))}else{oe.if((0,se._)`${pe} && (${(0,ce.checkMissingProp)(re,de,le)})`);(0,ce.reportMissingProp)(re,le);oe.else()}}}ie.validatePropertyDeps=validatePropertyDeps;function validateSchemaDeps(re,ie=re.schema){const{gen:oe,data:se,keyword:ue,it:le}=re;const fe=oe.name("valid");for(const de in ie){if((0,ae.alwaysValidSchema)(le,ie[de]))continue;oe.if((0,ce.propertyInData)(oe,se,de,le.opts.ownProperties),(()=>{const ie=re.subschema({keyword:ue,schemaProp:de},fe);re.mergeValidEvaluated(ie,fe)}),(()=>oe.var(fe,true)));re.ok(fe)}}ie.validateSchemaDeps=validateSchemaDeps;ie["default"]=ue},83751:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(26124);const ae=oe(77182);const ce={message:({params:re})=>(0,se.str)`must match "${re.ifClause}" schema`,params:({params:re})=>(0,se._)`{failingKeyword: ${re.ifClause}}`};const ue={keyword:"if",schemaType:["object","boolean"],trackErrors:true,error:ce,code(re){const{gen:ie,parentSchema:oe,it:ce}=re;if(oe.then===undefined&&oe.else===undefined){(0,ae.checkStrictMode)(ce,'"if" without "then" and "else" is ignored')}const ue=hasSchema(ce,"then");const le=hasSchema(ce,"else");if(!ue&&!le)return;const fe=ie.let("valid",true);const de=ie.name("_valid");validateIf();re.reset();if(ue&&le){const oe=ie.let("ifClause");re.setParams({ifClause:oe});ie.if(de,validateClause("then",oe),validateClause("else",oe))}else if(ue){ie.if(de,validateClause("then"))}else{ie.if((0,se.not)(de),validateClause("else"))}re.pass(fe,(()=>re.error(true)));function validateIf(){const ie=re.subschema({keyword:"if",compositeRule:true,createErrors:false,allErrors:false},de);re.mergeEvaluated(ie)}function validateClause(oe,ae){return()=>{const ce=re.subschema({keyword:oe},de);ie.assign(fe,de);re.mergeValidEvaluated(ce,fe);if(ae)ie.assign(ae,(0,se._)`${oe}`);else re.setParams({ifClause:oe})}}}};function hasSchema(re,ie){const oe=re.schema[ie];return oe!==undefined&&!(0,ae.alwaysValidSchema)(re,oe)}ie["default"]=ue},52504:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(66773);const ae=oe(2454);const ce=oe(73451);const ue=oe(44026);const le=oe(49130);const fe=oe(17776);const de=oe(82153);const pe=oe(88526);const he=oe(23862);const Ae=oe(58681);const ge=oe(99516);const me=oe(78611);const ye=oe(29289);const ve=oe(13505);const be=oe(83751);const we=oe(40760);function getApplicator(re=false){const ie=[ge.default,me.default,ye.default,ve.default,be.default,we.default,de.default,pe.default,fe.default,he.default,Ae.default];if(re)ie.push(ae.default,ue.default);else ie.push(se.default,ce.default);ie.push(le.default);return ie}ie["default"]=getApplicator},73451:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.validateTuple=void 0;const se=oe(26124);const ae=oe(77182);const ce=oe(93841);const ue={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(re){const{schema:ie,it:oe}=re;if(Array.isArray(ie))return validateTuple(re,"additionalItems",ie);oe.items=true;if((0,ae.alwaysValidSchema)(oe,ie))return;re.ok((0,ce.validateArray)(re))}};function validateTuple(re,ie,oe=re.schema){const{gen:ce,parentSchema:ue,data:le,keyword:fe,it:de}=re;checkStrictTuple(ue);if(de.opts.unevaluated&&oe.length&&de.items!==true){de.items=ae.mergeEvaluated.items(ce,oe.length,de.items)}const pe=ce.name("valid");const he=ce.const("len",(0,se._)`${le}.length`);oe.forEach(((ie,oe)=>{if((0,ae.alwaysValidSchema)(de,ie))return;ce.if((0,se._)`${he} > ${oe}`,(()=>re.subschema({keyword:fe,schemaProp:oe,dataProp:oe},pe)));re.ok(pe)}));function checkStrictTuple(re){const{opts:se,errSchemaPath:ce}=de;const ue=oe.length;const le=ue===re.minItems&&(ue===re.maxItems||re[ie]===false);if(se.strictTuples&&!le){const re=`"${fe}" is ${ue}-tuple, but minItems or maxItems/${ie} are not specified or different at path "${ce}"`;(0,ae.checkStrictMode)(de,re,se.strictTuples)}}}ie.validateTuple=validateTuple;ie["default"]=ue},44026:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(26124);const ae=oe(77182);const ce=oe(93841);const ue=oe(66773);const le={message:({params:{len:re}})=>(0,se.str)`must NOT have more than ${re} items`,params:({params:{len:re}})=>(0,se._)`{limit: ${re}}`};const fe={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:le,code(re){const{schema:ie,parentSchema:oe,it:se}=re;const{prefixItems:le}=oe;se.items=true;if((0,ae.alwaysValidSchema)(se,ie))return;if(le)(0,ue.validateAdditionalItems)(re,le);else re.ok((0,ce.validateArray)(re))}};ie["default"]=fe},99516:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(77182);const ae={keyword:"not",schemaType:["object","boolean"],trackErrors:true,code(re){const{gen:ie,schema:oe,it:ae}=re;if((0,se.alwaysValidSchema)(ae,oe)){re.fail();return}const ce=ie.name("valid");re.subschema({keyword:"not",compositeRule:true,createErrors:false,allErrors:false},ce);re.failResult(ce,(()=>re.reset()),(()=>re.error()))},error:{message:"must NOT be valid"}};ie["default"]=ae},29289:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(26124);const ae=oe(77182);const ce={message:"must match exactly one schema in oneOf",params:({params:re})=>(0,se._)`{passingSchemas: ${re.passing}}`};const ue={keyword:"oneOf",schemaType:"array",trackErrors:true,error:ce,code(re){const{gen:ie,schema:oe,parentSchema:ce,it:ue}=re;if(!Array.isArray(oe))throw new Error("ajv implementation error");if(ue.opts.discriminator&&ce.discriminator)return;const le=oe;const fe=ie.let("valid",false);const de=ie.let("passing",null);const pe=ie.name("_valid");re.setParams({passing:de});ie.block(validateOneOf);re.result(fe,(()=>re.reset()),(()=>re.error(true)));function validateOneOf(){le.forEach(((oe,ce)=>{let le;if((0,ae.alwaysValidSchema)(ue,oe)){ie.var(pe,true)}else{le=re.subschema({keyword:"oneOf",schemaProp:ce,compositeRule:true},pe)}if(ce>0){ie.if((0,se._)`${pe} && ${fe}`).assign(fe,false).assign(de,(0,se._)`[${de}, ${ce}]`).else()}ie.if(pe,(()=>{ie.assign(fe,true);ie.assign(de,ce);if(le)re.mergeEvaluated(le,se.Name)}))}))}}};ie["default"]=ue},58681:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(93841);const ae=oe(26124);const ce=oe(77182);const ue=oe(77182);const le={keyword:"patternProperties",type:"object",schemaType:"object",code(re){const{gen:ie,schema:oe,data:le,parentSchema:fe,it:de}=re;const{opts:pe}=de;const he=(0,se.allSchemaProperties)(oe);const Ae=he.filter((re=>(0,ce.alwaysValidSchema)(de,oe[re])));if(he.length===0||Ae.length===he.length&&(!de.opts.unevaluated||de.props===true)){return}const ge=pe.strictSchema&&!pe.allowMatchingProperties&&fe.properties;const me=ie.name("valid");if(de.props!==true&&!(de.props instanceof ae.Name)){de.props=(0,ue.evaluatedPropsToName)(ie,de.props)}const{props:ye}=de;validatePatternProperties();function validatePatternProperties(){for(const re of he){if(ge)checkMatchingProperties(re);if(de.allErrors){validateProperties(re)}else{ie.var(me,true);validateProperties(re);ie.if(me)}}}function checkMatchingProperties(re){for(const ie in ge){if(new RegExp(re).test(ie)){(0,ce.checkStrictMode)(de,`property ${ie} matches pattern ${re} (use allowMatchingProperties)`)}}}function validateProperties(oe){ie.forIn("key",le,(ce=>{ie.if((0,ae._)`${(0,se.usePattern)(re,oe)}.test(${ce})`,(()=>{const se=Ae.includes(oe);if(!se){re.subschema({keyword:"patternProperties",schemaProp:oe,dataProp:ce,dataPropType:ue.Type.Str},me)}if(de.opts.unevaluated&&ye!==true){ie.assign((0,ae._)`${ye}[${ce}]`,true)}else if(!se&&!de.allErrors){ie.if((0,ae.not)(me),(()=>ie.break()))}}))}))}}};ie["default"]=le},2454:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(73451);const ae={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:re=>(0,se.validateTuple)(re,"items")};ie["default"]=ae},23862:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(50204);const ae=oe(93841);const ce=oe(77182);const ue=oe(88526);const le={keyword:"properties",type:"object",schemaType:"object",code(re){const{gen:ie,schema:oe,parentSchema:le,data:fe,it:de}=re;if(de.opts.removeAdditional==="all"&&le.additionalProperties===undefined){ue.default.code(new se.KeywordCxt(de,ue.default,"additionalProperties"))}const pe=(0,ae.allSchemaProperties)(oe);for(const re of pe){de.definedProperties.add(re)}if(de.opts.unevaluated&&pe.length&&de.props!==true){de.props=ce.mergeEvaluated.props(ie,(0,ce.toHash)(pe),de.props)}const he=pe.filter((re=>!(0,ce.alwaysValidSchema)(de,oe[re])));if(he.length===0)return;const Ae=ie.name("valid");for(const oe of he){if(hasDefault(oe)){applyPropertySchema(oe)}else{ie.if((0,ae.propertyInData)(ie,fe,oe,de.opts.ownProperties));applyPropertySchema(oe);if(!de.allErrors)ie.else().var(Ae,true);ie.endIf()}re.it.definedProperties.add(oe);re.ok(Ae)}function hasDefault(re){return de.opts.useDefaults&&!de.compositeRule&&oe[re].default!==undefined}function applyPropertySchema(ie){re.subschema({keyword:"properties",schemaProp:ie,dataProp:ie},Ae)}}};ie["default"]=le},82153:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(26124);const ae=oe(77182);const ce={message:"property name must be valid",params:({params:re})=>(0,se._)`{propertyName: ${re.propertyName}}`};const ue={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:ce,code(re){const{gen:ie,schema:oe,data:ce,it:ue}=re;if((0,ae.alwaysValidSchema)(ue,oe))return;const le=ie.name("valid");ie.forIn("key",ce,(oe=>{re.setParams({propertyName:oe});re.subschema({keyword:"propertyNames",data:oe,dataTypes:["string"],propertyName:oe,compositeRule:true},le);ie.if((0,se.not)(le),(()=>{re.error(true);if(!ue.allErrors)ie.break()}))}));re.ok(le)}};ie["default"]=ue},40760:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(77182);const ae={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:re,parentSchema:ie,it:oe}){if(ie.if===undefined)(0,se.checkStrictMode)(oe,`"${re}" without "if" is ignored`)}};ie["default"]=ae},93841:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.validateUnion=ie.validateArray=ie.usePattern=ie.callValidateCode=ie.schemaProperties=ie.allSchemaProperties=ie.noPropertyInData=ie.propertyInData=ie.isOwnProperty=ie.hasPropFunc=ie.reportMissingProp=ie.checkMissingProp=ie.checkReportMissingProp=void 0;const se=oe(26124);const ae=oe(77182);const ce=oe(83505);const ue=oe(77182);function checkReportMissingProp(re,ie){const{gen:oe,data:ae,it:ce}=re;oe.if(noPropertyInData(oe,ae,ie,ce.opts.ownProperties),(()=>{re.setParams({missingProperty:(0,se._)`${ie}`},true);re.error()}))}ie.checkReportMissingProp=checkReportMissingProp;function checkMissingProp({gen:re,data:ie,it:{opts:oe}},ae,ce){return(0,se.or)(...ae.map((ae=>(0,se.and)(noPropertyInData(re,ie,ae,oe.ownProperties),(0,se._)`${ce} = ${ae}`))))}ie.checkMissingProp=checkMissingProp;function reportMissingProp(re,ie){re.setParams({missingProperty:ie},true);re.error()}ie.reportMissingProp=reportMissingProp;function hasPropFunc(re){return re.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:(0,se._)`Object.prototype.hasOwnProperty`})}ie.hasPropFunc=hasPropFunc;function isOwnProperty(re,ie,oe){return(0,se._)`${hasPropFunc(re)}.call(${ie}, ${oe})`}ie.isOwnProperty=isOwnProperty;function propertyInData(re,ie,oe,ae){const ce=(0,se._)`${ie}${(0,se.getProperty)(oe)} !== undefined`;return ae?(0,se._)`${ce} && ${isOwnProperty(re,ie,oe)}`:ce}ie.propertyInData=propertyInData;function noPropertyInData(re,ie,oe,ae){const ce=(0,se._)`${ie}${(0,se.getProperty)(oe)} === undefined`;return ae?(0,se.or)(ce,(0,se.not)(isOwnProperty(re,ie,oe))):ce}ie.noPropertyInData=noPropertyInData;function allSchemaProperties(re){return re?Object.keys(re).filter((re=>re!=="__proto__")):[]}ie.allSchemaProperties=allSchemaProperties;function schemaProperties(re,ie){return allSchemaProperties(ie).filter((oe=>!(0,ae.alwaysValidSchema)(re,ie[oe])))}ie.schemaProperties=schemaProperties;function callValidateCode({schemaCode:re,data:ie,it:{gen:oe,topSchemaRef:ae,schemaPath:ue,errorPath:le},it:fe},de,pe,he){const Ae=he?(0,se._)`${re}, ${ie}, ${ae}${ue}`:ie;const ge=[[ce.default.instancePath,(0,se.strConcat)(ce.default.instancePath,le)],[ce.default.parentData,fe.parentData],[ce.default.parentDataProperty,fe.parentDataProperty],[ce.default.rootData,ce.default.rootData]];if(fe.opts.dynamicRef)ge.push([ce.default.dynamicAnchors,ce.default.dynamicAnchors]);const me=(0,se._)`${Ae}, ${oe.object(...ge)}`;return pe!==se.nil?(0,se._)`${de}.call(${pe}, ${me})`:(0,se._)`${de}(${me})`}ie.callValidateCode=callValidateCode;const le=(0,se._)`new RegExp`;function usePattern({gen:re,it:{opts:ie}},oe){const ae=ie.unicodeRegExp?"u":"";const{regExp:ce}=ie.code;const fe=ce(oe,ae);return re.scopeValue("pattern",{key:fe.toString(),ref:fe,code:(0,se._)`${ce.code==="new RegExp"?le:(0,ue.useFunc)(re,ce)}(${oe}, ${ae})`})}ie.usePattern=usePattern;function validateArray(re){const{gen:ie,data:oe,keyword:ce,it:ue}=re;const le=ie.name("valid");if(ue.allErrors){const re=ie.let("valid",true);validateItems((()=>ie.assign(re,false)));return re}ie.var(le,true);validateItems((()=>ie.break()));return le;function validateItems(ue){const fe=ie.const("len",(0,se._)`${oe}.length`);ie.forRange("i",0,fe,(oe=>{re.subschema({keyword:ce,dataProp:oe,dataPropType:ae.Type.Num},le);ie.if((0,se.not)(le),ue)}))}}ie.validateArray=validateArray;function validateUnion(re){const{gen:ie,schema:oe,keyword:ce,it:ue}=re;if(!Array.isArray(oe))throw new Error("ajv implementation error");const le=oe.some((re=>(0,ae.alwaysValidSchema)(ue,re)));if(le&&!ue.opts.unevaluated)return;const fe=ie.let("valid",false);const de=ie.name("_valid");ie.block((()=>oe.forEach(((oe,ae)=>{const ue=re.subschema({keyword:ce,schemaProp:ae,compositeRule:true},de);ie.assign(fe,(0,se._)`${fe} || ${de}`);const le=re.mergeValidEvaluated(ue,de);if(!le)ie.if((0,se.not)(fe))}))));re.result(fe,(()=>re.reset()),(()=>re.error(true)))}ie.validateUnion=validateUnion},65592:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const oe={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};ie["default"]=oe},43212:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(65592);const ae=oe(93415);const ce=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",se.default,ae.default];ie["default"]=ce},93415:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.callRef=ie.getValidate=void 0;const se=oe(22968);const ae=oe(93841);const ce=oe(26124);const ue=oe(83505);const le=oe(15157);const fe=oe(77182);const de={keyword:"$ref",schemaType:"string",code(re){const{gen:ie,schema:oe,it:ae}=re;const{baseId:ue,schemaEnv:fe,validateName:de,opts:pe,self:he}=ae;const{root:Ae}=fe;if((oe==="#"||oe==="#/")&&ue===Ae.baseId)return callRootRef();const ge=le.resolveRef.call(he,Ae,ue,oe);if(ge===undefined)throw new se.default(ae.opts.uriResolver,ue,oe);if(ge instanceof le.SchemaEnv)return callValidate(ge);return inlineRefSchema(ge);function callRootRef(){if(fe===Ae)return callRef(re,de,fe,fe.$async);const oe=ie.scopeValue("root",{ref:Ae});return callRef(re,(0,ce._)`${oe}.validate`,Ae,Ae.$async)}function callValidate(ie){const oe=getValidate(re,ie);callRef(re,oe,ie,ie.$async)}function inlineRefSchema(se){const ae=ie.scopeValue("schema",pe.code.source===true?{ref:se,code:(0,ce.stringify)(se)}:{ref:se});const ue=ie.name("valid");const le=re.subschema({schema:se,dataTypes:[],schemaPath:ce.nil,topSchemaRef:ae,errSchemaPath:oe},ue);re.mergeEvaluated(le);re.ok(ue)}}};function getValidate(re,ie){const{gen:oe}=re;return ie.validate?oe.scopeValue("validate",{ref:ie.validate}):(0,ce._)`${oe.scopeValue("wrapper",{ref:ie})}.validate`}ie.getValidate=getValidate;function callRef(re,ie,oe,se){const{gen:le,it:de}=re;const{allErrors:pe,schemaEnv:he,opts:Ae}=de;const ge=Ae.passContext?ue.default.this:ce.nil;if(se)callAsyncRef();else callSyncRef();function callAsyncRef(){if(!he.$async)throw new Error("async schema referenced by sync schema");const oe=le.let("valid");le.try((()=>{le.code((0,ce._)`await ${(0,ae.callValidateCode)(re,ie,ge)}`);addEvaluatedFrom(ie);if(!pe)le.assign(oe,true)}),(re=>{le.if((0,ce._)`!(${re} instanceof ${de.ValidationError})`,(()=>le.throw(re)));addErrorsFrom(re);if(!pe)le.assign(oe,false)}));re.ok(oe)}function callSyncRef(){re.result((0,ae.callValidateCode)(re,ie,ge),(()=>addEvaluatedFrom(ie)),(()=>addErrorsFrom(ie)))}function addErrorsFrom(re){const ie=(0,ce._)`${re}.errors`;le.assign(ue.default.vErrors,(0,ce._)`${ue.default.vErrors} === null ? ${ie} : ${ue.default.vErrors}.concat(${ie})`);le.assign(ue.default.errors,(0,ce._)`${ue.default.vErrors}.length`)}function addEvaluatedFrom(re){var ie;if(!de.opts.unevaluated)return;const se=(ie=oe===null||oe===void 0?void 0:oe.validate)===null||ie===void 0?void 0:ie.evaluated;if(de.props!==true){if(se&&!se.dynamicProps){if(se.props!==undefined){de.props=fe.mergeEvaluated.props(le,se.props,de.props)}}else{const ie=le.var("props",(0,ce._)`${re}.evaluated.props`);de.props=fe.mergeEvaluated.props(le,ie,de.props,ce.Name)}}if(de.items!==true){if(se&&!se.dynamicItems){if(se.items!==undefined){de.items=fe.mergeEvaluated.items(le,se.items,de.items)}}else{const ie=le.var("items",(0,ce._)`${re}.evaluated.items`);de.items=fe.mergeEvaluated.items(le,ie,de.items,ce.Name)}}}}ie.callRef=callRef;ie["default"]=de},21488:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(26124);const ae=oe(63813);const ce=oe(15157);const ue=oe(77182);const le={message:({params:{discrError:re,tagName:ie}})=>re===ae.DiscrError.Tag?`tag "${ie}" must be string`:`value of tag "${ie}" must be in oneOf`,params:({params:{discrError:re,tag:ie,tagName:oe}})=>(0,se._)`{error: ${re}, tag: ${oe}, tagValue: ${ie}}`};const fe={keyword:"discriminator",type:"object",schemaType:"object",error:le,code(re){const{gen:ie,data:oe,schema:le,parentSchema:fe,it:de}=re;const{oneOf:pe}=fe;if(!de.opts.discriminator){throw new Error("discriminator: requires discriminator option")}const he=le.propertyName;if(typeof he!="string")throw new Error("discriminator: requires propertyName");if(le.mapping)throw new Error("discriminator: mapping is not supported");if(!pe)throw new Error("discriminator: requires oneOf keyword");const Ae=ie.let("valid",false);const ge=ie.const("tag",(0,se._)`${oe}${(0,se.getProperty)(he)}`);ie.if((0,se._)`typeof ${ge} == "string"`,(()=>validateMapping()),(()=>re.error(false,{discrError:ae.DiscrError.Tag,tag:ge,tagName:he})));re.ok(Ae);function validateMapping(){const oe=getMapping();ie.if(false);for(const re in oe){ie.elseIf((0,se._)`${ge} === ${re}`);ie.assign(Ae,applyTagSchema(oe[re]))}ie.else();re.error(false,{discrError:ae.DiscrError.Mapping,tag:ge,tagName:he});ie.endIf()}function applyTagSchema(oe){const ae=ie.name("valid");const ce=re.subschema({keyword:"oneOf",schemaProp:oe},ae);re.mergeEvaluated(ce,se.Name);return ae}function getMapping(){var re;const ie={};const oe=hasRequired(fe);let se=true;for(let ie=0;ie{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.DiscrError=void 0;var oe;(function(re){re["Tag"]="tag";re["Mapping"]="mapping"})(oe=ie.DiscrError||(ie.DiscrError={}))},20316:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(43212);const ae=oe(71835);const ce=oe(52504);const ue=oe(36297);const le=oe(65952);const fe=[se.default,ae.default,(0,ce.default)(),ue.default,le.metadataVocabulary,le.contentVocabulary];ie["default"]=fe},89517:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(26124);const ae={message:({schemaCode:re})=>(0,se.str)`must match format "${re}"`,params:({schemaCode:re})=>(0,se._)`{format: ${re}}`};const ce={keyword:"format",type:["number","string"],schemaType:"string",$data:true,error:ae,code(re,ie){const{gen:oe,data:ae,$data:ce,schema:ue,schemaCode:le,it:fe}=re;const{opts:de,errSchemaPath:pe,schemaEnv:he,self:Ae}=fe;if(!de.validateFormats)return;if(ce)validate$DataFormat();else validateFormat();function validate$DataFormat(){const ce=oe.scopeValue("formats",{ref:Ae.formats,code:de.code.formats});const ue=oe.const("fDef",(0,se._)`${ce}[${le}]`);const fe=oe.let("fType");const pe=oe.let("format");oe.if((0,se._)`typeof ${ue} == "object" && !(${ue} instanceof RegExp)`,(()=>oe.assign(fe,(0,se._)`${ue}.type || "string"`).assign(pe,(0,se._)`${ue}.validate`)),(()=>oe.assign(fe,(0,se._)`"string"`).assign(pe,ue)));re.fail$data((0,se.or)(unknownFmt(),invalidFmt()));function unknownFmt(){if(de.strictSchema===false)return se.nil;return(0,se._)`${le} && !${pe}`}function invalidFmt(){const re=he.$async?(0,se._)`(${ue}.async ? await ${pe}(${ae}) : ${pe}(${ae}))`:(0,se._)`${pe}(${ae})`;const oe=(0,se._)`(typeof ${pe} == "function" ? ${re} : ${pe}.test(${ae}))`;return(0,se._)`${pe} && ${pe} !== true && ${fe} === ${ie} && !${oe}`}}function validateFormat(){const ce=Ae.formats[ue];if(!ce){unknownFormat();return}if(ce===true)return;const[le,fe,ge]=getFormat(ce);if(le===ie)re.pass(validCondition());function unknownFormat(){if(de.strictSchema===false){Ae.logger.warn(unknownMsg());return}throw new Error(unknownMsg());function unknownMsg(){return`unknown format "${ue}" ignored in schema at path "${pe}"`}}function getFormat(re){const ie=re instanceof RegExp?(0,se.regexpCode)(re):de.code.formats?(0,se._)`${de.code.formats}${(0,se.getProperty)(ue)}`:undefined;const ae=oe.scopeValue("formats",{key:ue,ref:re,code:ie});if(typeof re=="object"&&!(re instanceof RegExp)){return[re.type||"string",re.validate,(0,se._)`${ae}.validate`]}return["string",re,ae]}function validCondition(){if(typeof ce=="object"&&!(ce instanceof RegExp)&&ce.async){if(!he.$async)throw new Error("async format in sync schema");return(0,se._)`await ${ge}(${ae})`}return typeof fe=="function"?(0,se._)`${ge}(${ae})`:(0,se._)`${ge}.test(${ae})`}}}};ie["default"]=ce},36297:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(89517);const ae=[se.default];ie["default"]=ae},65952:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.contentVocabulary=ie.metadataVocabulary=void 0;ie.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"];ie.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]},48780:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(26124);const ae=oe(77182);const ce=oe(96766);const ue={message:"must be equal to constant",params:({schemaCode:re})=>(0,se._)`{allowedValue: ${re}}`};const le={keyword:"const",$data:true,error:ue,code(re){const{gen:ie,data:oe,$data:ue,schemaCode:le,schema:fe}=re;if(ue||fe&&typeof fe=="object"){re.fail$data((0,se._)`!${(0,ae.useFunc)(ie,ce.default)}(${oe}, ${le})`)}else{re.fail((0,se._)`${fe} !== ${oe}`)}}};ie["default"]=le},1028:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(26124);const ae=oe(77182);const ce=oe(96766);const ue={message:"must be equal to one of the allowed values",params:({schemaCode:re})=>(0,se._)`{allowedValues: ${re}}`};const le={keyword:"enum",schemaType:"array",$data:true,error:ue,code(re){const{gen:ie,data:oe,$data:ue,schema:le,schemaCode:fe,it:de}=re;if(!ue&&le.length===0)throw new Error("enum must have non-empty array");const pe=le.length>=de.opts.loopEnum;let he;const getEql=()=>he!==null&&he!==void 0?he:he=(0,ae.useFunc)(ie,ce.default);let Ae;if(pe||ue){Ae=ie.let("valid");re.block$data(Ae,loopEnum)}else{if(!Array.isArray(le))throw new Error("ajv implementation error");const re=ie.const("vSchema",fe);Ae=(0,se.or)(...le.map(((ie,oe)=>equalCode(re,oe))))}re.pass(Ae);function loopEnum(){ie.assign(Ae,false);ie.forOf("v",fe,(re=>ie.if((0,se._)`${getEql()}(${oe}, ${re})`,(()=>ie.assign(Ae,true).break()))))}function equalCode(re,ie){const ae=le[ie];return typeof ae==="object"&&ae!==null?(0,se._)`${getEql()}(${oe}, ${re}[${ie}])`:(0,se._)`${oe} === ${ae}`}}};ie["default"]=le},71835:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(6729);const ae=oe(92456);const ce=oe(34367);const ue=oe(36737);const le=oe(7074);const fe=oe(74773);const de=oe(16930);const pe=oe(96764);const he=oe(48780);const Ae=oe(1028);const ge=[se.default,ae.default,ce.default,ue.default,le.default,fe.default,de.default,pe.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},he.default,Ae.default];ie["default"]=ge},16930:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(26124);const ae={message({keyword:re,schemaCode:ie}){const oe=re==="maxItems"?"more":"fewer";return(0,se.str)`must NOT have ${oe} than ${ie} items`},params:({schemaCode:re})=>(0,se._)`{limit: ${re}}`};const ce={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:true,error:ae,code(re){const{keyword:ie,data:oe,schemaCode:ae}=re;const ce=ie==="maxItems"?se.operators.GT:se.operators.LT;re.fail$data((0,se._)`${oe}.length ${ce} ${ae}`)}};ie["default"]=ce},34367:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(26124);const ae=oe(77182);const ce=oe(26206);const ue={message({keyword:re,schemaCode:ie}){const oe=re==="maxLength"?"more":"fewer";return(0,se.str)`must NOT have ${oe} than ${ie} characters`},params:({schemaCode:re})=>(0,se._)`{limit: ${re}}`};const le={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:true,error:ue,code(re){const{keyword:ie,data:oe,schemaCode:ue,it:le}=re;const fe=ie==="maxLength"?se.operators.GT:se.operators.LT;const de=le.opts.unicode===false?(0,se._)`${oe}.length`:(0,se._)`${(0,ae.useFunc)(re.gen,ce.default)}(${oe})`;re.fail$data((0,se._)`${de} ${fe} ${ue}`)}};ie["default"]=le},6729:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(26124);const ae=se.operators;const ce={maximum:{okStr:"<=",ok:ae.LTE,fail:ae.GT},minimum:{okStr:">=",ok:ae.GTE,fail:ae.LT},exclusiveMaximum:{okStr:"<",ok:ae.LT,fail:ae.GTE},exclusiveMinimum:{okStr:">",ok:ae.GT,fail:ae.LTE}};const ue={message:({keyword:re,schemaCode:ie})=>(0,se.str)`must be ${ce[re].okStr} ${ie}`,params:({keyword:re,schemaCode:ie})=>(0,se._)`{comparison: ${ce[re].okStr}, limit: ${ie}}`};const le={keyword:Object.keys(ce),type:"number",schemaType:"number",$data:true,error:ue,code(re){const{keyword:ie,data:oe,schemaCode:ae}=re;re.fail$data((0,se._)`${oe} ${ce[ie].fail} ${ae} || isNaN(${oe})`)}};ie["default"]=le},7074:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(26124);const ae={message({keyword:re,schemaCode:ie}){const oe=re==="maxProperties"?"more":"fewer";return(0,se.str)`must NOT have ${oe} than ${ie} properties`},params:({schemaCode:re})=>(0,se._)`{limit: ${re}}`};const ce={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:true,error:ae,code(re){const{keyword:ie,data:oe,schemaCode:ae}=re;const ce=ie==="maxProperties"?se.operators.GT:se.operators.LT;re.fail$data((0,se._)`Object.keys(${oe}).length ${ce} ${ae}`)}};ie["default"]=ce},92456:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(26124);const ae={message:({schemaCode:re})=>(0,se.str)`must be multiple of ${re}`,params:({schemaCode:re})=>(0,se._)`{multipleOf: ${re}}`};const ce={keyword:"multipleOf",type:"number",schemaType:"number",$data:true,error:ae,code(re){const{gen:ie,data:oe,schemaCode:ae,it:ce}=re;const ue=ce.opts.multipleOfPrecision;const le=ie.let("res");const fe=ue?(0,se._)`Math.abs(Math.round(${le}) - ${le}) > 1e-${ue}`:(0,se._)`${le} !== parseInt(${le})`;re.fail$data((0,se._)`(${ae} === 0 || (${le} = ${oe}/${ae}, ${fe}))`)}};ie["default"]=ce},36737:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(93841);const ae=oe(26124);const ce={message:({schemaCode:re})=>(0,ae.str)`must match pattern "${re}"`,params:({schemaCode:re})=>(0,ae._)`{pattern: ${re}}`};const ue={keyword:"pattern",type:"string",schemaType:"string",$data:true,error:ce,code(re){const{data:ie,$data:oe,schema:ce,schemaCode:ue,it:le}=re;const fe=le.opts.unicodeRegExp?"u":"";const de=oe?(0,ae._)`(new RegExp(${ue}, ${fe}))`:(0,se.usePattern)(re,ce);re.fail$data((0,ae._)`!${de}.test(${ie})`)}};ie["default"]=ue},74773:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(93841);const ae=oe(26124);const ce=oe(77182);const ue={message:({params:{missingProperty:re}})=>(0,ae.str)`must have required property '${re}'`,params:({params:{missingProperty:re}})=>(0,ae._)`{missingProperty: ${re}}`};const le={keyword:"required",type:"object",schemaType:"array",$data:true,error:ue,code(re){const{gen:ie,schema:oe,schemaCode:ue,data:le,$data:fe,it:de}=re;const{opts:pe}=de;if(!fe&&oe.length===0)return;const he=oe.length>=pe.loopRequired;if(de.allErrors)allErrorsMode();else exitOnErrorMode();if(pe.strictRequired){const ie=re.parentSchema.properties;const{definedProperties:se}=re.it;for(const re of oe){if((ie===null||ie===void 0?void 0:ie[re])===undefined&&!se.has(re)){const ie=de.schemaEnv.baseId+de.errSchemaPath;const oe=`required property "${re}" is not defined at "${ie}" (strictRequired)`;(0,ce.checkStrictMode)(de,oe,de.opts.strictRequired)}}}function allErrorsMode(){if(he||fe){re.block$data(ae.nil,loopAllRequired)}else{for(const ie of oe){(0,se.checkReportMissingProp)(re,ie)}}}function exitOnErrorMode(){const ae=ie.let("missing");if(he||fe){const oe=ie.let("valid",true);re.block$data(oe,(()=>loopUntilMissing(ae,oe)));re.ok(oe)}else{ie.if((0,se.checkMissingProp)(re,oe,ae));(0,se.reportMissingProp)(re,ae);ie.else()}}function loopAllRequired(){ie.forOf("prop",ue,(oe=>{re.setParams({missingProperty:oe});ie.if((0,se.noPropertyInData)(ie,le,oe,pe.ownProperties),(()=>re.error()))}))}function loopUntilMissing(oe,ce){re.setParams({missingProperty:oe});ie.forOf(oe,ue,(()=>{ie.assign(ce,(0,se.propertyInData)(ie,le,oe,pe.ownProperties));ie.if((0,ae.not)(ce),(()=>{re.error();ie.break()}))}),ae.nil)}}};ie["default"]=le},96764:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(91450);const ae=oe(26124);const ce=oe(77182);const ue=oe(96766);const le={message:({params:{i:re,j:ie}})=>(0,ae.str)`must NOT have duplicate items (items ## ${ie} and ${re} are identical)`,params:({params:{i:re,j:ie}})=>(0,ae._)`{i: ${re}, j: ${ie}}`};const fe={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:true,error:le,code(re){const{gen:ie,data:oe,$data:le,schema:fe,parentSchema:de,schemaCode:pe,it:he}=re;if(!le&&!fe)return;const Ae=ie.let("valid");const ge=de.items?(0,se.getSchemaTypes)(de.items):[];re.block$data(Ae,validateUniqueItems,(0,ae._)`${pe} === false`);re.ok(Ae);function validateUniqueItems(){const se=ie.let("i",(0,ae._)`${oe}.length`);const ce=ie.let("j");re.setParams({i:se,j:ce});ie.assign(Ae,true);ie.if((0,ae._)`${se} > 1`,(()=>(canOptimize()?loopN:loopN2)(se,ce)))}function canOptimize(){return ge.length>0&&!ge.some((re=>re==="object"||re==="array"))}function loopN(ce,ue){const le=ie.name("item");const fe=(0,se.checkDataTypes)(ge,le,he.opts.strictNumbers,se.DataType.Wrong);const de=ie.const("indices",(0,ae._)`{}`);ie.for((0,ae._)`;${ce}--;`,(()=>{ie.let(le,(0,ae._)`${oe}[${ce}]`);ie.if(fe,(0,ae._)`continue`);if(ge.length>1)ie.if((0,ae._)`typeof ${le} == "string"`,(0,ae._)`${le} += "_"`);ie.if((0,ae._)`typeof ${de}[${le}] == "number"`,(()=>{ie.assign(ue,(0,ae._)`${de}[${le}]`);re.error();ie.assign(Ae,false).break()})).code((0,ae._)`${de}[${le}] = ${ce}`)}))}function loopN2(se,le){const fe=(0,ce.useFunc)(ie,ue.default);const de=ie.name("outer");ie.label(de).for((0,ae._)`;${se}--;`,(()=>ie.for((0,ae._)`${le} = ${se}; ${le}--;`,(()=>ie.if((0,ae._)`${fe}(${oe}[${se}], ${oe}[${le}])`,(()=>{re.error();ie.assign(Ae,false).break(de)}))))))}}};ie["default"]=fe},69031:re=>{"use strict";var ie=re.exports=function(re,ie,oe){if(typeof ie=="function"){oe=ie;ie={}}oe=ie.cb||oe;var se=typeof oe=="function"?oe:oe.pre||function(){};var ae=oe.post||function(){};_traverse(ie,se,ae,re,"",re)};ie.keywords={additionalItems:true,items:true,contains:true,additionalProperties:true,propertyNames:true,not:true,if:true,then:true,else:true};ie.arrayKeywords={items:true,allOf:true,anyOf:true,oneOf:true};ie.propsKeywords={$defs:true,definitions:true,properties:true,patternProperties:true,dependencies:true};ie.skipKeywords={default:true,enum:true,const:true,required:true,maximum:true,minimum:true,exclusiveMaximum:true,exclusiveMinimum:true,multipleOf:true,maxLength:true,minLength:true,pattern:true,format:true,maxItems:true,minItems:true,uniqueItems:true,maxProperties:true,minProperties:true};function _traverse(re,oe,se,ae,ce,ue,le,fe,de,pe){if(ae&&typeof ae=="object"&&!Array.isArray(ae)){oe(ae,ce,ue,le,fe,de,pe);for(var he in ae){var Ae=ae[he];if(Array.isArray(Ae)){if(he in ie.arrayKeywords){for(var ge=0;ge{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.RFC9162_SHA256=void 0;const se=oe(31607);const ae=oe(14341);const ce=oe(24711);const ue=oe(81347);const le=oe(42913);const fe=oe(66465);const leaves=re=>re.map(ae.getLeafFromEntry);const root=re=>(0,se.getRootFromLeaves)(re);const iproof=(re,ie)=>(0,ce.getInclusionProofForLeaf)(re,ie);const viproof=(re,ie)=>(0,ue.getRootFromInclusionProof)(re,ie);const cproof=(re,ie)=>(0,le.getConsistencyProofFromLeaves)(re,ie);const vcproof=(re,ie,oe)=>(0,fe.verifyConsistencyProof)(re,oe.tree_size_1,ie,oe.tree_size_2,oe);const de="RFC9162_SHA256";ie.RFC9162_SHA256={tree_alg:de,root:root,leaf:ae.getLeafFromEntry,inclusion_proof:iproof,verify_inclusion_proof:viproof,consistency_proof:cproof,verify_consistency_proof:vcproof};ie["default"]=ie.RFC9162_SHA256},42913:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.getConsistencyProofFromLeaves=void 0;const se=oe(31607);const ae=oe(50482);const ce=oe(92287);const SUBPROOF=(re,ie,oe)=>{const ue=ie.length;if(re===ue){return[(0,se.getRootFromLeaves)(ie)]}if(rele){const oe=(0,ae.CUT)(ie,le,ue);const ce=SUBPROOF(re-le,oe,false);const fe=(0,se.getRootFromLeaves)((0,ae.CUT)(ie,0,le));return ce.concat(fe)}}throw new Error("m cannot be greater than n")};const getConsistencyProofFromLeaves=(re,ie)=>{const oe=re.tree_size;const se=ie.length;const ae=SUBPROOF(re.tree_size,ie,true);return{log_id:"",tree_size_1:oe,tree_size_2:se,consistency_path:ae}};ie.getConsistencyProofFromLeaves=getConsistencyProofFromLeaves},24711:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.getInclusionProofForLeaf=void 0;const se=oe(92287);const ae=oe(31607);const PATH=(re,ie)=>{const oe=ie.length;if(oe===1&&re===0){return[]}const ce=(0,se.highestPowerOf2LessThanN)(oe);if(re{if(re<0||re>ie.length){throw new Error("Entry is not included in log.")}return{log_id:"",tree_size:ie.length,leaf_index:re,inclusion_path:PATH(re,ie)}};ie.getInclusionProofForLeaf=getInclusionProofForLeaf},14341:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.getLeafFromEntry=void 0;const se=oe(25775);const ae=oe(80179);const ce=oe(63212);const getLeafFromEntry=re=>{if(!re){throw new Error("getLeafFromEntry requires a Uint8Array entry.")}const ie=(0,ce.hexToBin)("00");return(0,se.HASH)((0,ae.CONCAT)(ie,re))};ie.getLeafFromEntry=getLeafFromEntry},81347:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.getRootFromInclusionProof=void 0;const se=oe(80179);const ae=oe(63212);const ce=oe(25775);const getRootFromInclusionProof=(re,ie)=>{const{tree_size:oe,leaf_index:ue,inclusion_path:le}=ie;if(ue>oe){throw new Error("leaf index is out of bound")}let fe=ue;let de=oe-1;let pe=re;const he=(0,ae.hexToBin)("01");for(const re of le){if(de===0){throw new Error("verification failed, sn is 0")}if(fe%2===1||fe===de){pe=(0,ce.HASH)((0,se.CONCAT)(he,(0,se.CONCAT)(re,pe)));while(fe%2!==1){fe=fe>>1;de=de>>1;if(fe===0){break}}}else{pe=(0,ce.HASH)((0,se.CONCAT)(he,(0,se.CONCAT)(pe,re)))}fe=fe>>1;de=de>>1}const Ae=de===0;if(!Ae){throw new Error("sn is not zero, proof validation failed.")}return pe};ie.getRootFromInclusionProof=getRootFromInclusionProof},31607:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.getRootFromLeaves=void 0;const se=oe(25775);const ae=oe(80179);const ce=oe(63212);const ue=oe(22285);const le=oe(92287);const fe=oe(50482);const de=(0,ue.strToBin)("");const getRootFromLeaves=re=>{const oe=re.length;if(oe===0){return(0,se.HASH)(de)}if(oe===1){return re[0]}const ue=(0,le.highestPowerOf2LessThanN)(oe);const pe=(0,fe.CUT)(re,0,ue);const he=(0,fe.CUT)(re,ue,oe);const Ae=(0,ce.hexToBin)("01");return(0,se.HASH)((0,ae.CONCAT)(Ae,(0,ae.CONCAT)((0,ie.getRootFromLeaves)(pe),(0,ie.getRootFromLeaves)(he))))};ie.getRootFromLeaves=getRootFromLeaves},38232:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__exportStar||function(re,ie){for(var oe in re)if(oe!=="default"&&!Object.prototype.hasOwnProperty.call(ie,oe))se(ie,re,oe)};Object.defineProperty(ie,"__esModule",{value:true});ae(oe(14341),ie);ae(oe(31607),ie);ae(oe(81347),ie);ae(oe(24711),ie);ae(oe(42913),ie);ae(oe(66465),ie);ae(oe(20270),ie)},66465:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.verifyConsistencyProof=void 0;const se=oe(25775);const ae=oe(80179);const ce=oe(63212);const ue=oe(9365);const le=oe(9600);const fe=(0,ce.hexToBin)("01");const de=oe(83793);const verifyConsistencyProof=(re,ie,oe,ce,pe)=>{const{consistency_path:he}=pe;if(he.length===0){return false}if((0,de.EXACT_POWER_OF_2)(ie)){}let Ae=ie-1;let ge=ce-1;while((0,ue.LSB)(Ae)){Ae=Ae>>1;ge=ge>>1}let me=he[0];let ye=he[0];for(let re=1;re>1;ge=ge>>1}}else{ye=(0,se.HASH)((0,ae.CONCAT)(fe,(0,ae.CONCAT)(ye,ie)))}Ae=Ae>>1;ge=ge>>1}const ve=ge===0;if(!ve){throw new Error("sn is not zero, proof validation failed.")}const be=(0,le.EQUAL)(me,re);const we=(0,le.EQUAL)(ye,oe);return be&&we};ie.verifyConsistencyProof=verifyConsistencyProof},80179:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.CONCAT=void 0;const CONCAT=(re,ie)=>{var oe=new Uint8Array(re.length+ie.length);oe.set(re);oe.set(ie,re.length);return oe};ie.CONCAT=CONCAT},50482:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.CUT=void 0;const CUT=(re,ie,oe)=>{const se=[];while(ie{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.EQUAL=void 0;const EQUAL=(re,ie)=>re.length===ie.length&&re.every(((re,oe)=>re===ie[oe]));ie.EQUAL=EQUAL},83793:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.EXACT_POWER_OF_2=void 0;const EXACT_POWER_OF_2=re=>Math.log(re)/Math.log(2)%1===0;ie.EXACT_POWER_OF_2=EXACT_POWER_OF_2},25775:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});ie.HASH=void 0;const ae=se(oe(6113));const HASH=re=>new Uint8Array(ae.default.createHash("sha256").update(re).digest());ie.HASH=HASH},9365:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.LSB=void 0;const LSB=re=>re%2===1;ie.LSB=LSB},47301:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.MTH=void 0;const se=oe(25775);const ae=oe(80179);const ce=oe(63212);const ue=oe(22285);const le=oe(92287);const fe=oe(50482);const de=(0,ue.strToBin)("");const MTH=re=>{const oe=re.length;if(oe===0){return(0,se.HASH)(de)}if(oe===1){const ie=(0,ce.hexToBin)("00");return(0,se.HASH)((0,ae.CONCAT)(ie,re[0]))}const ue=(0,le.highestPowerOf2LessThanN)(oe);const pe=(0,fe.CUT)(re,0,ue);const he=(0,fe.CUT)(re,ue,oe);const Ae=(0,ce.hexToBin)("01");return(0,se.HASH)((0,ae.CONCAT)(Ae,(0,ae.CONCAT)((0,ie.MTH)(pe),(0,ie.MTH)(he))))};ie.MTH=MTH},5272:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.PATH=void 0;const se=oe(47301);const ae=oe(92287);const PATH=(re,oe)=>{const ce=oe.length;if(ce===1&&re===0){return[]}const ue=(0,ae.highestPowerOf2LessThanN)(ce);if(re{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.PROOF=void 0;const se=oe(47301);const ae=oe(50482);const ce=oe(92287);const SUBPROOF=(re,ie,oe)=>{const ue=ie.length;if(re===ue){return[(0,se.MTH)(ie)]}if(rele){const oe=(0,ae.CUT)(ie,le,ue);const ce=SUBPROOF(re-le,oe,false);const fe=(0,se.MTH)((0,ae.CUT)(ie,0,le));return ce.concat(fe)}}throw new Error("m cannot be greater than n")};const PROOF=(re,ie)=>SUBPROOF(re,ie,true);ie.PROOF=PROOF},23505:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.binToHex=void 0;const binToHex=re=>re.reduce(((re,ie)=>re+ie.toString(16).padStart(2,"0")),"");ie.binToHex=binToHex},16721:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.consistencyProof=void 0;const se=oe(83690);const consistencyProof=(re,ie)=>{const oe=re.tree_size;const ae=ie.length;const ce=(0,se.PROOF)(re.tree_size,ie);return{log_id:"",tree_size_1:oe,tree_size_2:ae,consistency_path:ce}};ie.consistencyProof=consistencyProof},63212:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.hexToBin=void 0;const hexToBin=re=>Uint8Array.from(re.match(/.{1,2}/g).map((re=>parseInt(re,16))));ie.hexToBin=hexToBin},92287:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.highestPowerOf2LessThanN=void 0;const highestPowerOf2LessThanN=re=>{let ie=0;if(Math.pow(2,ie)>=re){return ie}else{while(Math.pow(2,ie)=re){ie=ie-1}return Math.pow(2,ie)};ie.highestPowerOf2LessThanN=highestPowerOf2LessThanN},65449:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.inclusionProof=void 0;const se=oe(9600);const ae=oe(5272);const inclusionProof=(re,ie)=>{const oe=ie.findIndex((ie=>(0,se.EQUAL)(ie,re)));if(oe===-1){throw new Error("Entry is not included in log.")}return{log_id:"",tree_size:ie.length,leaf_index:oe,inclusion_path:(0,ae.PATH)(oe,ie)}};ie.inclusionProof=inclusionProof},97523:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__exportStar||function(re,ie){for(var oe in re)if(oe!=="default"&&!Object.prototype.hasOwnProperty.call(ie,oe))se(ie,re,oe)};Object.defineProperty(ie,"__esModule",{value:true});ae(oe(25775),ie);ae(oe(47301),ie);ae(oe(83690),ie);ae(oe(5272),ie);ae(oe(23505),ie);ae(oe(63212),ie);ae(oe(22285),ie);ae(oe(37545),ie);ae(oe(35829),ie);ae(oe(78924),ie);ae(oe(65449),ie);ae(oe(803),ie);ae(oe(16721),ie);ae(oe(71884),ie)},37545:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.leaf=void 0;const se=oe(47301);const leaf=re=>(0,se.MTH)([re]);ie.leaf=leaf},22285:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.strToBin=void 0;const oe=new TextEncoder;const strToBin=re=>oe.encode(re);ie.strToBin=strToBin},35829:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.treeHead=void 0;const se=oe(47301);const treeHead=re=>(0,se.MTH)(re);ie.treeHead=treeHead},71884:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.verifyConsistencyProof=void 0;const se=oe(25775);const ae=oe(80179);const ce=oe(63212);const ue=oe(9365);const le=oe(9600);const fe=(0,ce.hexToBin)("01");const de=oe(83793);const VERIFY_PROOF=(re,ie,oe,ce,pe)=>{if(pe.length===0){return false}if((0,de.EXACT_POWER_OF_2)(re)){}let he=re-1;let Ae=oe-1;while((0,ue.LSB)(he)){he=he>>1;Ae=Ae>>1}let ge=pe[0];let me=pe[0];for(let re=1;re>1;Ae=Ae>>1}}else{me=(0,se.HASH)((0,ae.CONCAT)(fe,(0,ae.CONCAT)(me,ie)))}he=he>>1;Ae=Ae>>1}const ye=(0,le.EQUAL)(ge,ie);const ve=(0,le.EQUAL)(me,ce);const be=Ae===0;return be&&ye&&ve};const verifyConsistencyProof=(re,ie,oe)=>VERIFY_PROOF(oe.tree_size_1,re,oe.tree_size_2,ie,oe.consistency_path);ie.verifyConsistencyProof=verifyConsistencyProof},803:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.verifyInclusionProof=void 0;const se=oe(80179);const ae=oe(63212);const ce=oe(25775);const ue=oe(9600);const verifyInclusionProof=(re,ie,oe)=>{const{tree_size:le,leaf_index:fe,inclusion_path:de}=oe;if(fe>le){return false}let pe=fe;let he=le-1;let Ae=ie;const ge=(0,ae.hexToBin)("01");for(const re of de){if(he===0){return false}if(pe%2===1||pe===he){Ae=(0,ce.HASH)((0,se.CONCAT)(ge,(0,se.CONCAT)(re,Ae)));while(pe%2!==1){pe=pe>>1;he=he>>1;if(pe===0){break}}}else{Ae=(0,ce.HASH)((0,se.CONCAT)(ge,(0,se.CONCAT)(Ae,re)))}pe=pe>>1;he=he>>1}const me=(0,ue.EQUAL)(Ae,re);const ye=he===0;return ye&&me};ie.verifyInclusionProof=verifyInclusionProof},78924:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.verifyTree=void 0;const se=oe(63212);const ae=oe(25775);const ce=oe(80179);const ue=oe(9600);const le=oe(9365);const getMergeCount=re=>{let ie=0;while((0,le.LSB)(re>>ie)){ie++}return ie};const MERGE=re=>{const ie=(0,se.hexToBin)("01");const oe=re.pop();const ue=re.pop();re.push((0,ae.HASH)((0,ce.CONCAT)(ie,(0,ce.CONCAT)(ue,oe))))};const verifyTree=(re,ie)=>{const oe=[];const le=ie.length;for(let re=0;re1){MERGE(oe)}const fe=oe[0];const de=re;return(0,ue.EQUAL)(fe,de)};ie.verifyTree=verifyTree},57994:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};Object.defineProperty(ie,"__esModule",{value:true});ie.CoMETRE=ie.RFC9162=void 0;const ue=ce(oe(97523));ie.RFC9162=ue;const le=ce(oe(38232));ie.CoMETRE=le;const fe=ue;ie["default"]=fe},73772:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__exportStar||function(re,ie){for(var oe in re)if(oe!=="default"&&!Object.prototype.hasOwnProperty.call(ie,oe))se(ie,re,oe)};var ce=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};var ue;Object.defineProperty(ie,"__esModule",{value:true});ae(oe(78125),ie);const le=oe(88776);class VerifiableDataPlatfrom extends le.Api{constructor(){super(...arguments);this.useToken=re=>{this.instance.defaults.headers.common["Authorization"]=`Bearer ${re}`}}}ue=VerifiableDataPlatfrom;VerifiableDataPlatfrom.fromEnv=re=>ce(void 0,void 0,void 0,(function*(){const ie=new VerifiableDataPlatfrom({baseURL:re.API_BASE_URL});const oe=yield ie.oauth.tokenCreate({grant_type:"client_credentials",client_id:re.CLIENT_ID,client_secret:re.CLIENT_SECRET,audience:re.TOKEN_AUDIENCE});ie.useToken(oe.data.access_token);return ie}));ie["default"]=VerifiableDataPlatfrom},88776:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};var ae=this&&this.__rest||function(re,ie){var oe={};for(var se in re)if(Object.prototype.hasOwnProperty.call(re,se)&&ie.indexOf(se)<0)oe[se]=re[se];if(re!=null&&typeof Object.getOwnPropertySymbols==="function")for(var ae=0,se=Object.getOwnPropertySymbols(re);ae{this.securityData=re};this.request=re=>se(this,void 0,void 0,(function*(){var{secure:ie,path:oe,type:se,query:ce,format:ue,body:fe}=re,de=ae(re,["secure","path","type","query","format","body"]);const pe=(typeof ie==="boolean"?ie:this.secure)&&this.securityWorker&&(yield this.securityWorker(this.securityData))||{};const he=this.mergeRequestParams(de,pe);const Ae=ue||this.format||undefined;if(se===le.FormData&&fe&&fe!==null&&typeof fe==="object"){fe=this.createFormData(fe)}if(se===le.Text&&fe&&fe!==null&&typeof fe!=="string"){fe=JSON.stringify(fe)}return this.instance.request(Object.assign(Object.assign({},he),{headers:Object.assign(Object.assign({},he.headers||{}),se&&se!==le.FormData?{"Content-Type":se}:{}),params:ce,responseType:Ae,data:fe,url:oe}))}));this.instance=ue.default.create(Object.assign(Object.assign({},fe),{baseURL:fe.baseURL||""}));this.secure=oe;this.format=ce;this.securityWorker=ie}mergeRequestParams(re,ie){const oe=re.method||ie&&ie.method;return Object.assign(Object.assign(Object.assign(Object.assign({},this.instance.defaults),re),ie||{}),{headers:Object.assign(Object.assign(Object.assign({},oe&&this.instance.defaults.headers[oe.toLowerCase()]||{}),re.headers||{}),ie&&ie.headers||{})})}stringifyFormItem(re){if(typeof re==="object"&&re!==null){return JSON.stringify(re)}else{return`${re}`}}createFormData(re){return Object.keys(re||{}).reduce(((ie,oe)=>{const se=re[oe];const ae=se instanceof Array?se:[se];for(const re of ae){const se=re instanceof Blob||re instanceof File;ie.append(oe,se?re:this.stringifyFormItem(re))}return ie}),new FormData)}}ie.HttpClient=HttpClient;class Api extends HttpClient{constructor(){super(...arguments);this.oauth={tokenCreate:(re,ie={})=>this.request(Object.assign({path:`/oauth/token`,method:"POST",body:re,type:le.Json,format:"json"},ie))};this.did={getDids:(re={})=>this.request(Object.assign({path:`/did/identifiers`,method:"GET",secure:true,format:"json"},re)),makeDidDefault:(re,ie={})=>this.request(Object.assign({path:`/did/${re}/make-default`,method:"PUT",secure:true,format:"json"},ie)),didMethodOperations:(re,ie={})=>this.request(Object.assign({path:`/did/method/operations`,method:"POST",body:re,secure:true,type:le.Json,format:"json"},ie))};this.identifiers={resolve:(re,ie={})=>this.request(Object.assign({path:`/identifiers/${re}`,method:"GET",secure:true,format:"json"},ie))};this.contacts={createContact:(re,ie={})=>this.request(Object.assign({path:`/contacts`,method:"POST",body:re,secure:true,type:le.Json,format:"json"},ie)),getContacts:(re={})=>this.request(Object.assign({path:`/contacts`,method:"GET",secure:true,format:"json"},re)),updateContact:(re,ie,oe={})=>this.request(Object.assign({path:`/contacts/${re}`,method:"PUT",body:ie,secure:true,type:le.Json,format:"json"},oe)),deleteContact:(re,ie={})=>this.request(Object.assign({path:`/contacts/${re}`,method:"DELETE",secure:true,format:"json"},ie))};this.credentials={issueCredential:(re,ie={})=>this.request(Object.assign({path:`/credentials/issue`,method:"POST",body:re,secure:true,type:le.Json,format:"json"},ie)),updateCredentialStatus:(re,ie={})=>this.request(Object.assign({path:`/credentials/status`,method:"POST",body:re,secure:true,type:le.Json,format:"json"},ie)),deriveCredential:(re,ie={})=>this.request(Object.assign({path:`/credentials/derive`,method:"POST",body:re,secure:true,type:le.Json,format:"json"},ie)),verifyOrganizationCredential:(re,ie={})=>this.request(Object.assign({path:`/credentials/verify`,method:"POST",body:re,secure:true,type:le.Json,format:"json"},ie)),storeCredential:(re,ie={})=>this.request(Object.assign({path:`/credentials`,method:"POST",body:re,secure:true,type:le.Json,format:"json"},ie)),getCredentials:(re={})=>this.request(Object.assign({path:`/credentials`,method:"GET",secure:true,format:"json"},re)),getCredential:(re,ie={})=>this.request(Object.assign({path:`/credentials/${re}`,method:"GET",secure:true,format:"json"},ie)),deleteCredential:(re,ie={})=>this.request(Object.assign({path:`/credentials/${re}`,method:"DELETE",secure:true,format:"json"},ie)),verifyCredential:(re,ie={})=>this.request(Object.assign({path:`/credentials/${re}/verify`,method:"GET",secure:true,format:"json"},ie)),updateCredentialStatus2:(re,ie,oe={})=>this.request(Object.assign({path:`/credentials/${re}/status`,method:"PATCH",body:ie,secure:true,type:le.Json,format:"json"},oe)),getCredentialVisibility:(re,ie={})=>this.request(Object.assign({path:`/credentials/${re}/visibility`,method:"GET",secure:true,format:"json"},ie)),changeCredentialVisibility:(re,ie,oe={})=>this.request(Object.assign({path:`/credentials/${re}/visibility`,method:"PATCH",body:ie,secure:true,type:le.Json,format:"json"},oe))};this.organizations={notifyPresentationAvailable:(re,ie,oe={})=>this.request(Object.assign({path:`/organizations/${re}/presentations/available`,method:"POST",body:ie,type:le.Json,format:"json"},oe)),storePresentation:(re,ie,oe={})=>this.request(Object.assign({path:`/organizations/${re}/presentations/submissions`,method:"POST",body:ie,type:le.Json,format:"json"},oe)),submitPresentationWithOAuth2Security:(re,ie,oe={})=>this.request(Object.assign({path:`/organizations/${re}/presentations`,method:"POST",body:ie,secure:true,type:le.Json,format:"json"},oe)),getOrganizations:(re={})=>this.request(Object.assign({path:`/organizations`,method:"GET",secure:true,format:"json"},re)),getOrganization:(re,ie={})=>this.request(Object.assign({path:`/organizations/${re}`,method:"GET",secure:true,format:"json"},ie)),getOrganizationDidWeb:(re,ie={})=>this.request(Object.assign({path:`/organizations/${re}/did.json`,method:"GET",secure:true,format:"json"},ie))};this.presentations={provePresentation:(re,ie={})=>this.request(Object.assign({path:`/presentations/prove`,method:"POST",body:re,secure:true,type:le.Json,format:"json"},ie)),verifyPresentation:(re,ie={})=>this.request(Object.assign({path:`/presentations/verify`,method:"POST",body:re,secure:true,type:le.Json,format:"json"},ie)),sendDidAuthPresentation:(re,ie={})=>this.request(Object.assign({path:`/presentations/send-did-auth-presentation`,method:"POST",body:re,type:le.Json,format:"json"},ie)),getPresentationsSharedWithMe:(re={})=>this.request(Object.assign({path:`/presentations/received`,method:"GET",secure:true,format:"json"},re)),getPresentationsSharedWithOthers:(re={})=>this.request(Object.assign({path:`/presentations/sent`,method:"GET",secure:true,format:"json"},re)),getPresentation:(re,ie={})=>this.request(Object.assign({path:`/presentations/${re}`,method:"GET",secure:true,format:"json"},ie)),deleteSubmission:(re,ie={})=>this.request(Object.assign({path:`/presentations/${re}`,method:"DELETE",secure:true},ie))};this.applications={getApplications:(re={})=>this.request(Object.assign({path:`/applications`,method:"GET",secure:true,format:"json"},re)),getApplication:(re,ie={})=>this.request(Object.assign({path:`/applications/${re}`,method:"GET",secure:true,format:"json"},ie)),updateApplication:(re,ie,oe={})=>this.request(Object.assign({path:`/applications/${re}`,method:"PUT",body:ie,secure:true,type:le.Json,format:"json"},oe))};this.activities={activitiesList:(re={})=>this.request(Object.assign({path:`/activities`,method:"GET",secure:true,format:"json"},re))};this.batches={createBatch:(re,ie={})=>this.request(Object.assign({path:`/batches`,method:"POST",body:re,secure:true,type:le.Json,format:"json"},ie)),getBatches:(re={})=>this.request(Object.assign({path:`/batches`,method:"GET",secure:true,format:"json"},re)),validateBatch:(re,ie={})=>this.request(Object.assign({path:`/batches/validate`,method:"POST",body:re,secure:true,type:le.Json,format:"json"},ie)),getBatch:(re,ie={})=>this.request(Object.assign({path:`/batches/${re}`,method:"GET",secure:true,format:"json"},ie))};this.marketplace={getMarketplaceTemplates:(re={})=>this.request(Object.assign({path:`/marketplace/templates`,method:"GET",secure:true,format:"json"},re)),getMarketplaceTemplate:(re,ie={})=>this.request(Object.assign({path:`/marketplace/templates/${re}`,method:"GET",secure:true,format:"json"},ie))};this.mnemonics={getMnemonics:(re={})=>this.request(Object.assign({path:`/mnemonics`,method:"GET",secure:true,format:"json"},re)),createMnemonic:(re,ie={})=>this.request(Object.assign({path:`/mnemonics`,method:"POST",body:re,secure:true,type:le.Json,format:"json"},ie)),getMnemonic:(re,ie={})=>this.request(Object.assign({path:`/mnemonics/${re}`,method:"GET",secure:true,format:"json"},ie)),updateMnemonic:(re,ie,oe={})=>this.request(Object.assign({path:`/mnemonics/${re}`,method:"PUT",body:ie,secure:true,type:le.Json,format:"json"},oe)),deleteMnemonic:(re,ie={})=>this.request(Object.assign({path:`/mnemonics/${re}`,method:"DELETE",secure:true,format:"json"},ie)),getPrivateKeysForMnemonic:(re,ie={})=>this.request(Object.assign({path:`/mnemonics/${re}/keys`,method:"GET",secure:true,format:"json"},ie))};this.keys={getPrivateKeys:(re={})=>this.request(Object.assign({path:`/keys`,method:"GET",secure:true,format:"json"},re)),updatePrivateKey:(re,ie,oe={})=>this.request(Object.assign({path:`/keys/${re}`,method:"PATCH",body:ie,secure:true,type:le.Json,format:"json"},oe)),deletePrivateKey:(re,ie={})=>this.request(Object.assign({path:`/keys/${re}`,method:"DELETE",secure:true,format:"json"},ie)),derivePrivateKey:(re,ie={})=>this.request(Object.assign({path:`/keys/derive`,method:"POST",body:re,secure:true,type:le.Json,format:"json"},ie)),generatePrivateKey:(re,ie={})=>this.request(Object.assign({path:`/keys/generate`,method:"POST",body:re,secure:true,type:le.Json,format:"json"},ie)),recoverPrivateKey:(re,ie={})=>this.request(Object.assign({path:`/keys/recover`,method:"POST",body:re,secure:true,type:le.Json,format:"json"},ie)),importPrivateKey:(re,ie={})=>this.request(Object.assign({path:`/keys/import`,method:"POST",body:re,secure:true,type:le.Json,format:"json"},ie))};this.workflows={createWorkflowInstance:(re,ie={})=>this.request(Object.assign({path:`/workflows/instances`,method:"POST",body:re,secure:true,type:le.Json,format:"json"},ie)),getWorkflowInstances:(re={})=>this.request(Object.assign({path:`/workflows/instances`,method:"GET",secure:true,format:"json"},re)),getWorkflowInstance:(re,ie={})=>this.request(Object.assign({path:`/workflows/instances/${re}`,method:"GET",secure:true,format:"json"},ie)),updateWorkflowInstance:(re,ie,oe={})=>this.request(Object.assign({path:`/workflows/instances/${re}`,method:"PUT",body:ie,secure:true,type:le.Json,format:"json"},oe)),deleteWorkflowInstance:(re,ie={})=>this.request(Object.assign({path:`/workflows/instances/${re}`,method:"DELETE",secure:true,format:"json"},ie)),createWorkflowDefinition:(re,ie={})=>this.request(Object.assign({path:`/workflows/definitions`,method:"POST",body:re,secure:true,type:le.Json,format:"json"},ie)),getWorkflowDefinitions:(re={})=>this.request(Object.assign({path:`/workflows/definitions`,method:"GET",secure:true,format:"json"},re)),getWorkflowDefinition:(re,ie={})=>this.request(Object.assign({path:`/workflows/definitions/${re}`,method:"GET",secure:true,format:"json"},ie)),updateWorkflowDefinition:(re,ie,oe={})=>this.request(Object.assign({path:`/workflows/definitions/${re}`,method:"PUT",body:ie,secure:true,type:le.Json,format:"json"},oe)),deleteWorkflowDefinition:(re,ie={})=>this.request(Object.assign({path:`/workflows/definitions/${re}`,method:"DELETE",secure:true,format:"json"},ie))}}}ie.Api=Api},62999:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true})},78125:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__exportStar||function(re,ie){for(var oe in re)if(oe!=="default"&&!Object.prototype.hasOwnProperty.call(ie,oe))se(ie,re,oe)};Object.defineProperty(ie,"__esModule",{value:true});ae(oe(62999),ie)},41762:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.discloseValue=ie.discloseKey=ie.discloseTag=void 0;ie.discloseTag=`!sd`;ie.discloseKey=`_sd`;ie.discloseValue=`...`},58376:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.disclose=ie.redactSource=void 0;const se=oe(44083);const ae=oe(41762);const ce=oe(8477);const ue=oe(25295);const fakePair=re=>{let ie;if(re.value instanceof se.Scalar){ie={value:new se.Scalar(false)}}if(re.value instanceof se.YAMLSeq){ie={value:fakeSequence(re.value.items.length)}}if(re.value instanceof se.YAMLMap){ie=re}return ie};const discloseWalkMap=(re,oe)=>{const ce=[];for(const ie in re.items){const ue=re.items[ie];const le=oe.items.find((re=>re.key.value===ue.key.value))||fakePair(ue);if(ue.value instanceof se.YAMLSeq&&le.value instanceof se.YAMLSeq){discloseWalkList(ue.value,le.value)}if(ue.value instanceof se.YAMLMap&&le.value instanceof se.YAMLMap){discloseWalkMap(ue.value,le.value)}if(ue.key.tag===ae.discloseTag&&le.value.value===false){ce.push(parseInt(ie,10))}}(0,ie.redactSource)(re,ce)};const discloseWalkList=(re,oe)=>{const ce=[];for(const ie in re.items){const ue=re.items[ie];let le=oe.items[ie];if(ue instanceof se.YAMLSeq){if(le===undefined||le.value===false){le=fakeSequence(ue.items.length)}if(le instanceof se.YAMLSeq){discloseWalkList(ue,le)}}if(ue instanceof se.YAMLMap){if(le instanceof se.YAMLMap){discloseWalkMap(ue,le)}}if(ue.tag===ae.discloseTag){if(le.value===false){ce.push(parseInt(ie,10))}}}(0,ie.redactSource)(re,ce)};const redactSource=(re,ie)=>{re.items=re.items.filter(((oe,se)=>{discloseReplace(re.items[se]);return!ie.includes(se)}))};ie.redactSource=redactSource;const fakeSequence=re=>{const ie=new se.YAMLSeq;ie.items=new Array(re).fill({value:false});return ie};const discloseReplace=re=>{if(re instanceof se.Scalar||re instanceof se.YAMLSeq||re instanceof se.YAMLMap){const ie=re;delete ie.toJSON;delete ie.sd;delete ie.tag}else if(re instanceof se.Pair){const ie=re;if(typeof ie.key!=="string"){ie.key.value=`${ie.key.value}`;delete ie.key.tag;delete ie.value.toJSON;delete ie.value.sd;delete ie.value.tag}}else{console.log(re);throw new Error("discloseReplace, Unhandled disclosure case")}};const disclose=(re,ie)=>{const oe=(0,ce.parseCustomTags)(re);const ae=(0,ce.parseCustomTags)(ie);discloseWalkMap(oe.contents,ae.contents);return(0,se.stringify)(oe,ue.yamlOptions)};ie.disclose=disclose},42163:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(44083);const ae=oe(8477);const ce=oe(25295);const ue=oe(86777);const le=oe(58376);const fe=oe(3863);const dumps=re=>(0,se.stringify)(re,ce.yamlOptions);const roughlyEqual=(re,ie)=>JSON.stringify((0,se.parse)(re))===JSON.stringify((0,se.parse)(ie));const load=re=>{const ie=(0,ae.parseCustomTags)(re).contents;if(ie===null){throw new Error("parsed data cannot be null.")}return ie};const de={load:load,tokenToSchema:fe.tokenToSchema,issuancePayload:ue.issuancePayload,parseCustomTags:ae.parseCustomTags,loads:se.parse,dumps:dumps,disclose:le.disclose,roughlyEqual:roughlyEqual};ie["default"]=de},86777:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};Object.defineProperty(ie,"__esModule",{value:true});ie.issuancePayload=void 0;const ae=oe(34061);const ce=oe(44083);const ue=oe(41762);const le=oe(58376);const fe=oe(92767);const de=oe(78784);const updateTarget=(re,ie,oe,se)=>{if(ie instanceof ce.Pair){let ie=re.items.find((re=>re.key.value==="_sd"));if(!ie){const oe=new ce.Scalar("_sd");const se=new ce.YAMLSeq;ie=new ce.Pair(oe,se);re.items.push(ie)}ie.value.items.push(se)}else{re.items[oe]=se}};const getDisclosureItem=(re,ie,oe)=>se(void 0,void 0,void 0,(function*(){const se=(0,fe.serializeDisclosure)(re,ie);const ue=ae.base64url.encode(se);const le=yield oe.digester.digest(ue);oe.disclosures[ue]=le;const de=new ce.Scalar(le);if(ie instanceof ce.Pair){return de}else{const re=new ce.Pair("...",de);const ie=new ce.YAMLMap;ie.add(re);return ie}}));const addDisclosure=(re,ie,oe,ae)=>se(void 0,void 0,void 0,(function*(){const se=yield ae.salter(oe);if(!se){console.warn(JSON.stringify(oe,null,2));throw new Error("Unhandled salt disclosure...")}const ce=yield getDisclosureItem(se,oe,ae);updateTarget(re,oe,ie,ce)}));const issuanceWalkMap=(re,ie)=>se(void 0,void 0,void 0,(function*(){const oe=[];for(const se in re.items){const ae=re.items[se];if(ae.value instanceof ce.YAMLSeq){yield issuanceWalkList(ae.value,ie)}if(ae.value instanceof ce.YAMLMap){yield issuanceWalkMap(ae.value,ie)}if(ae.key.tag===ue.discloseTag){yield addDisclosure(re,se,ae,ie);oe.push(parseInt(se,10))}}(0,le.redactSource)(re,oe)}));const issuanceWalkList=(re,ie)=>se(void 0,void 0,void 0,(function*(){const oe=[];for(const oe in re.items){const se=re.items[oe];if(se instanceof ce.YAMLSeq){yield issuanceWalkList(se,ie)}if(se instanceof ce.YAMLMap){yield issuanceWalkMap(se,ie)}if(se.tag===ue.discloseTag){yield addDisclosure(re,oe,se,ie)}}(0,le.redactSource)(re,oe)}));const disclosureSorter=re=>{if(re.key&&re.key.value==="_sd"){re.value.items.sort(((re,ie)=>{if(re.value>=ie.value){return 1}else{return-1}}))}};const preconditionChecker=re=>{if(re.key&&re.key.value==="_sd"){throw new Error("claims may not contain _sd")}};const issuancePayload=(re,ie)=>se(void 0,void 0,void 0,(function*(){(0,de.walkMap)(re,preconditionChecker);yield issuanceWalkMap(re,ie);(0,de.walkMap)(re,disclosureSorter);return JSON.parse(JSON.stringify(re))}));ie.issuancePayload=issuancePayload},8477:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.parseCustomTags=void 0;const se=oe(44083);const ae=oe(78784);const ce=oe(25295);const replacer=re=>{};const parseCustomTags=re=>{const ie=(0,se.parseDocument)(re,ce.yamlOptions);(0,ae.walkMap)(ie.contents,replacer);return ie};ie.parseCustomTags=parseCustomTags},92767:function(re,ie,oe){"use strict";var se=this&&this.__rest||function(re,ie){var oe={};for(var se in re)if(Object.prototype.hasOwnProperty.call(re,se)&&ie.indexOf(se)<0)oe[se]=re[se];if(re!=null&&typeof Object.getOwnPropertySymbols==="function")for(var ae=0,se=Object.getOwnPropertySymbols(re);aeJSON.stringify(JSON.parse(JSON.stringify(re))).replace(/"\:/g,'": ').replace(/,/g,", ");const serializeMap=re=>{const ie=JSON.stringify(re);const oe=JSON.parse(ie),{_sd:ae}=oe,ce=se(oe,["_sd"]);if(Array.isArray(ae)){ae.sort()}return JSON.stringify(Object.assign({_sd:ae},ce)).replace(/"\:/g,'": ').replace(/,/g,", ")};const serializeScalar=re=>`${JSON.stringify(re.value).replace(/,/g,", ")}`;const serializeDisclosure=(re,ie)=>{if(ie instanceof ae.Pair){if(ie.value instanceof ae.YAMLSeq){return`["${re}", "${ie.key.value}", ${serializeList(ie.value)}]`}else if(ie.value instanceof ae.YAMLMap){return`["${re}", "${ie.key.value}", ${serializeMap(ie.value)}]`}else{return`["${re}", ${JSON.stringify(ie.key.value).replace(/,/g,", ")}, ${serializeScalar(ie.value)}]`}}else if(ie instanceof ae.YAMLSeq){return`["${re}", ${serializeList(ie)}]`}else if(ie instanceof ae.YAMLMap){return`["${re}", ${serializeMap(ie)}]`}else{return`["${re}", ${JSON.stringify(JSON.parse(JSON.stringify((0,ae.parse)(ie.value)))).replace(/\:/g,": ")}]`}};ie.serializeDisclosure=serializeDisclosure},3863:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};var ae=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});ie.tokenToSchema=void 0;const ce=oe(44083);const ue=ae(oe(11017));const le=oe(25295);const fe=ae(oe(54507));const de=`🔴`;const pe=`🟡`;const he=`!sd`;const Ae=`_sd`;const ge=`...`;const walkList=(re,ie,oe)=>{for(const se in re){const ae=re[se];if(ae[ge]){const re=ae[ge];oe.disclosureMap[re].shift();const se=oe.disclosureMap[re];const[ue]=se;if(se.length===1){ae[pe]=ue;if(Array.isArray(ue)){const re=new ce.YAMLSeq;re.tag=he;ie.add(re);walkList(ue,re,oe)}else if(typeof ue==="object"&&ue!==null){const re=new ce.YAMLMap;re.tag=he;ie.add(re);walkMap(ue,re,oe)}else{const re=new ce.Scalar(ue);re.tag=he;ie.add(re)}}delete ae[ge]}else if(Array.isArray(ae)){const re=new ce.YAMLSeq;ie.add(re);walkList(ae,re,oe)}else if(typeof ae==="object"&&ae!==null){const re=new ce.YAMLMap;ie.add(re);walkMap(ae,re,oe)}else{const re=new ce.Scalar(ae);ie.add(re)}}};const walkMap=(re,ie,oe)=>{for(const[se,ae]of Object.entries(re)){if(se===Ae){for(const se of ae){oe.disclosureMap[se].shift();const ae=oe.disclosureMap[se];const[ue,le]=ae;if(ae.length===2){re[`${de}`+ue]=le;const se=new ce.Scalar(ue);se.tag=he;if(Array.isArray(le)){const re=new ce.YAMLSeq;const ae=new ce.Pair(se,re);ie.add(ae);walkList(le,re,oe)}else if(typeof le==="object"&&le!==null){const re=new ce.YAMLMap;const ae=new ce.Pair(se,re);ie.add(ae);walkMap(le,re,oe)}else{const re=new ce.Scalar(le);const oe=new ce.Pair(se,re);ie.add(oe)}}}delete re[Ae]}else if(Array.isArray(ae)){const re=new ce.Scalar(se);const ue=new ce.YAMLSeq;const le=new ce.Pair(re,ue);ie.add(le);walkList(ae,ue,oe)}else if(typeof ae==="object"&&ae!==null){const re=new ce.Scalar(se);const ue=new ce.YAMLMap;const le=new ce.Pair(re,ue);ie.add(le);walkMap(ae,ue,oe)}else{const re=new ce.Scalar(se);const oe=new ce.Scalar(ae);const ue=new ce.Pair(re,oe);ie.add(ue)}}};const tokenToSchema=(re,ie)=>se(void 0,void 0,void 0,(function*(){const oe=yield fe.default.expload(re,ie);const se=new ce.YAMLMap;ie.disclosureMap=oe.disclosureMap;delete oe.issued._sd_alg;walkMap(oe.issued,se,ie);return{yaml:(0,ce.stringify)(se,le.yamlOptions),json:JSON.stringify(se,null,2),pretty:oe.issued,disclosureMap:ie.disclosureMap,pointers:ue.default.dict(oe.issued)}}));ie.tokenToSchema=tokenToSchema},19023:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.walkList=void 0;const se=oe(44083);const ae=oe(78784);const walkList=(re,oe)=>{for(const ce in re.items){const ue=re.items[ce];if(ue instanceof se.YAMLSeq){(0,ie.walkList)(ue,oe)}else if(ue instanceof se.YAMLMap){(0,ae.walkMap)(ue,oe)}oe(ue)}};ie.walkList=walkList},78784:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.walkMap=void 0;const se=oe(44083);const ae=oe(19023);const walkMap=(re,oe)=>{if(re===null){return}for(const ce of re.items){if(ce.value instanceof se.YAMLSeq){(0,ae.walkList)(ce.value,oe)}else if(ce.value instanceof se.YAMLMap){(0,ie.walkMap)(ce.value,oe)}oe(ce)}};ie.walkMap=walkMap},25295:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.yamlOptions=void 0;const se=oe(41762);const ae={tag:se.discloseTag,resolve(re){return re}};ie.yamlOptions={flowCollectionPadding:false,schema:"core",customTags:[ae]}},81203:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__exportStar||function(re,ie){for(var oe in re)if(oe!=="default"&&!Object.prototype.hasOwnProperty.call(ie,oe))se(ie,re,oe)};var ce=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ue=ce(oe(18661));const le=ce(oe(79529));const fe=ce(oe(45188));const de=ce(oe(50820));const pe=ce(oe(93396));const he=ce(oe(54507));const Ae=ce(oe(42163));const ge=ce(oe(29924));ae(oe(24258),ie);const me=Object.assign(Object.assign({},ge.default),{YAML:Ae.default,JWK:de.default,JWS:pe.default,Issuer:ue.default,Holder:le.default,Verifier:fe.default,Parse:he.default});ie["default"]=me},79529:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};var ue=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};var le=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const fe=le(oe(99623));const de=ce(oe(34061));const pe=oe(7591);const he=le(oe(22180));const Ae=le(oe(54507));const ge=oe(98485);const me=oe(71154);class Holder{constructor(re){this.present=({credential:re,disclosure:ie,aud:oe,nonce:se})=>ue(this,void 0,void 0,(function*(){const{alg:ae,iss:ce,kid:ue,digester:le,signer:ye}=this;const ve=(0,fe.default)().unix();const be=Ae.default.compact(re);const we=de.decodeJwt(be.jwt);const{disclosureMap:_e,hashToEncodedDisclosureMap:Ee}=yield Ae.default.expload(re,{digester:le});const Ce={hs_disclosures:[],_hash_to_disclosure:Ee,_hash_to_decoded_disclosure:_e};const Ie=JSON.parse(JSON.stringify(ie,null,2));(0,he.default)(we,Ie,Ce);const Se=[...Ce.hs_disclosures];if(we.cnf&&(!oe||!se)){throw new Error("Credential requires confirmation but audience and nonce are missing.")}let Be=be.jwt;if(Se.length){Be+=pe.COMBINED_serialization_FORMAT_SEPARATOR+Se.join(pe.COMBINED_serialization_FORMAT_SEPARATOR)}Be+=pe.COMBINED_serialization_FORMAT_SEPARATOR;if(oe&&se){if(!we.cnf){throw new Error("Credential does not contain confirmation method, therefore audience and nonce are not supported.")}if(!ye){throw new Error("Signer is required.")}const re=yield me.sd_hash.compute(Be);const ie=yield ye.sign({protectedHeader:(0,ge.sortProtectedHeader)({alg:ae,kid:ue,typ:pe.KB_JWT_TYP_HEADER}),claimset:{iss:ce,iat:ve,nonce:se,aud:oe,sd_hash:re}});Be+=ie}return Be}));this.alg=re.alg;this.iss=re.iss;this.kid=re.kid;this.digester=re.digester;this.signer=re.signer}}ie["default"]=Holder},18661:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};var ae=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ce=oe(7591);const ue=ae(oe(50820));const le=oe(86777);const fe=oe(98485);class Issuer{constructor(re){this.issue=({claims:re,iat:ie,exp:oe,holder:ae})=>se(this,void 0,void 0,(function*(){const{signer:se,digester:de,salter:pe,iss:he,alg:Ae,kid:ge,typ:me,cty:ye}=this;const ve={disclosures:{},salter:pe,digester:de};const be=yield(0,le.issuancePayload)(re,ve);let we=undefined;if(ae){if(typeof ae==="object"){we={jwk:ue.default.getPublicKey(ae)}}else if(typeof ae==="string"){we={jkt:ae}}else{throw new Error("Unsupported holder type.")}}const _e={alg:Ae,kid:ge,typ:me,cty:ye};const Ee=Object.assign({iss:he,iat:ie,exp:oe,cnf:we,[ce.DIGEST_ALG_KEY]:de.name},be);const Ce=yield se.sign({protectedHeader:(0,fe.sortProtectedHeader)(_e),claimset:Ee});const Ie=Ce+ce.COMBINED_serialization_FORMAT_SEPARATOR+Object.keys(ve.disclosures).join(ce.COMBINED_serialization_FORMAT_SEPARATOR);return Ie}));this.iss=re.iss;this.alg=re.alg;this.kid=re.kid;this.typ=re.typ;this.cty=re.cty;this.digester=re.digester;this.signer=re.signer;this.salter=re.salter}}ie["default"]=Issuer},50820:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};var ae=this&&this.__rest||function(re,ie){var oe={};for(var se in re)if(Object.prototype.hasOwnProperty.call(re,se)&&ie.indexOf(se)<0)oe[se]=re[se];if(re!=null&&typeof Object.getOwnPropertySymbols==="function")for(var ae=0,se=Object.getOwnPropertySymbols(re);ae{const{kid:ie,x5u:oe,x5c:se,x5t:ce,kty:ue,crv:le,alg:fe,key_ops:de,x:pe,y:he,d:Ae}=re,ge=ae(re,["kid","x5u","x5c","x5t","kty","crv","alg","key_ops","x","y","d"]);return JSON.parse(JSON.stringify(Object.assign({kid:ie,x5u:oe,x5c:se,x5t:ce,kty:ue,crv:le,alg:fe,key_ops:de,x:pe,y:he,d:Ae},ge)))};const getPublicKey=re=>{const{d:ie,p:oe,q:se,dp:ce,dq:ue,qi:le,oth:fe,k:de,key_ops:pe}=re,he=ae(re,["d","p","q","dp","dq","qi","oth","k","key_ops"]);return format(he)};ie.getPublicKey=getPublicKey;const getExtractableKeyPair=re=>se(void 0,void 0,void 0,(function*(){const ie=yield(0,ce.generateKeyPair)(re,{extractable:true});const oe=yield(0,ce.exportJWK)(ie.publicKey);oe.alg=re;oe.kid=yield(0,ce.calculateJwkThumbprint)(oe);const se=yield(0,ce.exportJWK)(ie.privateKey);se.alg=re;se.kid=yield(0,ce.calculateJwkThumbprint)(se);return{publicKeyJwk:format(oe),secretKeyJwk:format(se)}}));const ue={format:format,getPublicKey:ie.getPublicKey,generate:getExtractableKeyPair};ie["default"]=ue},93396:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};var ue=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};var le=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const fe=ce(oe(34061));const de=le(oe(50820));const signer=re=>ue(void 0,void 0,void 0,(function*(){const ie=yield fe.importJWK(re);return{sign:({protectedHeader:re,claimset:oe})=>ue(void 0,void 0,void 0,(function*(){return new fe.CompactSign((new TextEncoder).encode(JSON.stringify(oe))).setProtectedHeader(re).sign(ie)}))}}));const verifier=re=>ue(void 0,void 0,void 0,(function*(){const ie=yield fe.importJWK(de.default.getPublicKey(re));return{verify:re=>ue(void 0,void 0,void 0,(function*(){const oe=yield fe.compactVerify(re,ie);return{protectedHeader:oe.protectedHeader,claimset:JSON.parse((new TextDecoder).decode(oe.payload))}}))}}));const pe={signer:signer,verifier:verifier};ie["default"]=pe},54507:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};Object.defineProperty(ie,"__esModule",{value:true});const ae=oe(34061);const ce=oe(7591);const compact=(re,ie={decodeDisclosure:false})=>{var oe;const se=re.split(ce.COMBINED_serialization_FORMAT_SEPARATOR);const ue=se.shift();const le={jwt:ue};if(se[se.length-1].includes(".")){le.kbt=se.pop()}if(se.length){le.disclosures=se.filter((re=>re.length>0))}if(ie.decodeDisclosure){le.disclosures=(oe=le.disclosures)===null||oe===void 0?void 0:oe.map((re=>JSON.parse((new TextDecoder).decode(ae.base64url.decode(re)))))}if(!le.disclosures){le.disclosures=[]}return le};const expload=(re,ie)=>se(void 0,void 0,void 0,(function*(){const oe=compact(re);const se=(0,ae.decodeJwt)(oe.jwt);oe.issued=se;const ce=ie.digester;const ue={};const le={};for(const re of oe.disclosures){const ie=yield ce.digest(re);le[ie]=re;ue[ie]=JSON.parse((new TextDecoder).decode(ae.base64url.decode(re)))}oe.disclosureMap=ue;oe.hashToEncodedDisclosureMap=le;return oe}));const ue={compact:compact,expload:expload};ie["default"]=ue},45188:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};var ae=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ce=oe(7591);const ue=ae(oe(93396));const le=ae(oe(54507));const fe=ae(oe(48730));const de=oe(34061);const pe=oe(58293);const he=oe(51633);class Verifier{constructor(re){this.verify=({presentation:re,aud:ie,nonce:oe})=>se(this,void 0,void 0,(function*(){const{debug:se,verifier:ae,resolver:Ae,digester:ge}=this;const{jwt:me,kbt:ye}=le.default.compact(re);const ve=(0,de.decodeProtectedHeader)(me);let be;if(ae){be=yield ae.verify(re)}else if(Ae){if(!ve.kid){throw new Error("kid is required when resolver is used to obtain public keys")}const re=yield Ae.resolve(ve.kid);const ie=yield ue.default.verifier(re);be=yield ie.verify(me)}else{throw new Error("a verifier or resolver is required, but not present.")}if(be.claimset[ce.DIGEST_ALG_KEY]!==ge.name){throw new Error("Invalid hash algorithm")}(0,pe.validate_public_claims)("Issuer-signed JWT",be.claimset,{debug:se,reference_audience:be.claimset.aud,reference_nonce:be.claimset.nonce});if(se){console.info("Verified Issuer-signed JWT: ",JSON.stringify(be,null,2))}const{cnf:we}=be.claimset;if(we){if(!ye){throw new Error("Verification of this credential requires proof of posession from the holder. Key binding token is expected based on claims, but was not found.")}try{let ae;let ce;let le;let fe;const{cnf:de}=be.claimset;if(de.jwk){({cnf:{jwk:ce}}=be.claimset);le=ce;if(se){console.info("Issued JWT has JWK confirmation method.")}}if(be.claimset.cnf.jkt){({cnf:{jkt:ae}}=be.claimset);if(se){console.info("Issued JWT has JKT confirmation method.")}if(!Ae){throw new Error("Resolver is required for jkt confirmation method")}le=yield Ae===null||Ae===void 0?void 0:Ae.resolve(ae)}const ge=yield ue.default.verifier(le);fe=yield ge.verify(ye);if(!fe){throw new Error("Failed to verify key binding token")}yield(0,he.validate_sd_hash)(re,fe.claimset.sd_hash,se);(0,pe.validate_public_claims)("Key Binding Token",fe.claimset,{debug:se,reference_audience:ie,reference_nonce:oe});if(se){console.info("Verified Key Binding Token: ",JSON.stringify(fe,null,2))}}catch(re){console.error(re);throw new Error("Failed to validate key binding token.")}}else{if(se){console.info("Issued JWT has no confirmation method.")}}const{disclosureMap:_e,hashToEncodedDisclosureMap:Ee}=yield le.default.expload(re,{digester:ge});const Ce={_hash_to_disclosure:Ee,_hash_to_decoded_disclosure:_e};const Ie=(0,fe.default)(be.claimset,Ce);return JSON.parse(JSON.stringify({protectedHeader:be.protectedHeader,claimset:Ie}))}));this.alg=re.alg;this.digester=re.digester;this.verifier=re.verifier;this.resolver=re.resolver;this.debug=re.debug||false}}ie["default"]=Verifier},22180:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(7591);const itemHasDisclosure=re=>typeof re==="object"&&Object.keys(re).length===1&&re[se.SD_LIST_PREFIX]!==undefined&&typeof re[se.SD_LIST_PREFIX]==="string";const _select_disclosures_list=(re,ie,oe)=>{if(ie===null||ie===undefined){return[]}if(ie===true){ie=[]}if(!Array.isArray(ie)){throw new Error("To disclose array elements, an array must be provided as disclosure information.")}for(const ae in re){const ce=re[ae];let ue=ie[ae];if(itemHasDisclosure(ce)){const re=ce[se.SD_LIST_PREFIX];if(!oe._hash_to_decoded_disclosure[re]){continue}const[ie,ae]=oe._hash_to_decoded_disclosure[re];if(ue===false||ue===undefined){continue}oe.hs_disclosures.push(oe._hash_to_disclosure[re]);if(Array.isArray(ae)){if(ue===true){ue=[]}if(typeof ue!=="object"){throw new Error("To disclose array elements nested in arrays, provide an array (can be empty).")}_select_disclosures(ae,ue,oe)}else if(typeof ae==="object"){if(ue===true){ue={}}if(typeof ue!=="object"){throw new Error("To disclose object elements in arrays, provide an object (can be empty).")}_select_disclosures(ae,ue,oe)}}else{_select_disclosures(ce,ue,oe)}}};const _select_disclosures_dict=(re,ie,oe)=>{if(ie===null||ie===undefined){return{}}if(ie===true){ie={}}for(const[ae,ce]of Object.entries(re)){if(ae===se.SD_DIGESTS_KEY){for(const re of ce){if(oe._hash_to_decoded_disclosure[re]===undefined){continue}const[se,ae,ce]=oe._hash_to_decoded_disclosure[re];try{if(ie[ae]){oe.hs_disclosures.push(oe._hash_to_disclosure[re])}else{}}catch(re){throw new Error("claims_to_disclose does not contain a dict where a dict was expected (found {claims_to_disclose} instead)")}_select_disclosures(ce,ie[ae],oe)}}else{_select_disclosures(ce,ie[ae],oe)}}};function _select_disclosures(re,ie,oe){if(Array.isArray(re)){_select_disclosures_list(re,ie,oe)}else if(re!==null&&typeof re==="object"){_select_disclosures_dict(re,ie,oe)}else{}}ie["default"]=_select_disclosures},48730:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(7591);const itemHasDisclosure=re=>re!==null&&typeof re==="object"&&Object.keys(re).length===1&&re[se.SD_LIST_PREFIX]!==undefined&&typeof re[se.SD_LIST_PREFIX]==="string";const _rec_unpack_disclosed_claims=(re,ie)=>{if(Array.isArray(re)){const oe=[];for(const ae of re){if(itemHasDisclosure(ae)){const re=ae[se.SD_LIST_PREFIX];if(ie._hash_to_decoded_disclosure[re]){const[se,ae]=ie._hash_to_decoded_disclosure[re];oe.push(_rec_unpack_disclosed_claims(ae,ie))}}else{oe.push(_rec_unpack_disclosed_claims(ae,ie))}}return oe}else if(re!==null&&typeof re==="object"){const oe={};for(const[ae,ce]of Object.entries(re)){if(ae!==se.SD_DIGESTS_KEY&&ae!==se.DIGEST_ALG_KEY){oe[ae]=_rec_unpack_disclosed_claims(ce,ie)}}for(const ae of re[se.SD_DIGESTS_KEY]||[]){if(ie._duplicate_hash_check[ae]){throw new Error(`Duplicate hash found in SD-JWT: ${ae}`)}ie._duplicate_hash_check.push(ae);if(ie._hash_to_decoded_disclosure[ae]){const[re,se,ce]=ie._hash_to_decoded_disclosure[ae];if(oe[se]){throw new Error(`Duplicate key found when unpacking disclosed claim: '${se}' in ${oe}. This is not allowed.`)}const ue=_rec_unpack_disclosed_claims(ce,ie);oe[se]=ue}}return oe}else{return re}};const _unpack_disclosed_claims=(re,ie)=>{ie._duplicate_hash_check=[];return _rec_unpack_disclosed_claims(re,ie)};ie["default"]=_unpack_disclosed_claims},7591:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.UnexpectedSDObjException=ie.SDJWTHasSDClaimException=ie.KB_JWT_TYP_HEADER=ie.COMBINED_serialization_FORMAT_SEPARATOR=ie.SD_LIST_PREFIX=ie.DIGEST_ALG_KEY=ie.SD_DIGESTS_KEY=ie.DEFAULT_SIGNING_ALG=void 0;ie.DEFAULT_SIGNING_ALG="ES256";ie.SD_DIGESTS_KEY="_sd";ie.DIGEST_ALG_KEY="_sd_alg";ie.SD_LIST_PREFIX="...";ie.COMBINED_serialization_FORMAT_SEPARATOR="~";ie.KB_JWT_TYP_HEADER="kb+jwt";ie.SDJWTHasSDClaimException=`Input data contains the special claim '${ie.SD_DIGESTS_KEY}' reserved for SD-JWT internal data.`;ie.UnexpectedSDObjException=`Input data contains a claim value that should not be wrapped by SDObj.`},71154:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};var ae=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});ie.sd_hash=void 0;const ce=ae(oe(93633));const ue=oe(7591);const compute=re=>se(void 0,void 0,void 0,(function*(){if(!re.includes(ue.COMBINED_serialization_FORMAT_SEPARATOR)){throw new Error("_sd_hash can only be computed over +sd-jwt")}return(0,ce.default)(re)}));ie.sd_hash={compute:compute}},98485:function(re,ie){"use strict";var oe=this&&this.__rest||function(re,ie){var oe={};for(var se in re)if(Object.prototype.hasOwnProperty.call(re,se)&&ie.indexOf(se)<0)oe[se]=re[se];if(re!=null&&typeof Object.getOwnPropertySymbols==="function")for(var ae=0,se=Object.getOwnPropertySymbols(re);ae{const{alg:ie,iss:se,kid:ae,typ:ce,cty:ue}=re,le=oe(re,["alg","iss","kid","typ","cty"]);return JSON.parse(JSON.stringify(Object.assign({alg:ie,iss:se,kid:ae,typ:ce,cty:ue},le)))};ie.sortProtectedHeader=sortProtectedHeader},58293:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});ie.validate_public_claims=void 0;const ae=se(oe(99623));const acceptableAud=(re,ie)=>Array.isArray(ie)?ie.includes(re):ie===re;const validate_public_claims=(re,ie,oe)=>{const{debug:se,reference_audience:ce,reference_nonce:ue}=oe;const{iat:le,nbf:fe,exp:de,aud:pe,nonce:he}=ie;if(pe){if(!ce||!acceptableAud(ce,pe)){throw new Error(`${re} presented audience does not match reference value: ${ce}`)}}if(he!==undefined){if(ue!==he){throw new Error(`${re} presented nonce does not match reference value: ${ue}`)}}const Ae=(0,ae.default)();if(le){const ie=ae.default.unix(le);const oe=Ae.isBefore(ie);if(se){console.info(`${re} issued`,ie.fromNow())}if(oe){throw new Error(`${re} cannot be issued in the future...`+ie.fromNow())}}else{if(se){console.info(`${re} has no issuance time`)}}if(fe){const ie=ae.default.unix(fe);const oe=Ae.isBefore(ie);if(se){console.info(`${re} activated`,ie.fromNow())}if(oe){throw new Error(`${re} cannot be activated in the future...`+ie.fromNow())}}else{if(se){console.info(`${re} has no activation time`)}}if(de){const ie=ae.default.unix(de);const oe=Ae.isAfter(ie);if(se){console.info(`${re} expires`,ie.fromNow())}if(oe){throw new Error(`${re} cannot be expired in the past...`+ie.fromNow())}}else{if(se){console.info(`${re} has no expiration time`)}}};ie.validate_public_claims=validate_public_claims},51633:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};Object.defineProperty(ie,"__esModule",{value:true});ie.validate_sd_hash=void 0;const ae=oe(71154);const validate_sd_hash=(re,ie,oe=false)=>se(void 0,void 0,void 0,(function*(){const se=re.split("~");se.pop();const ce=se.join("~")+"~";const ue=yield ae.sd_hash.compute(ce);const le=ue===ie;if(oe){console.info("Key Binding Token sd_hash matches presentation token")}if(!le){throw new Error("Key Binding Token sd_hash does not match presentation token")}}));ie.validate_sd_hash=validate_sd_hash},24258:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true})},93633:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};var ue=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};Object.defineProperty(ie,"__esModule",{value:true});const le=oe(34061);const fe=Promise.resolve().then((()=>ce(oe(6113)))).catch((()=>{}));ie["default"]=re=>ue(void 0,void 0,void 0,(function*(){try{const ie=(new TextEncoder).encode(re);const oe=yield window.crypto.subtle.digest("SHA-256",ie);return le.base64url.encode(new Uint8Array(oe))}catch(ie){const oe=(new TextEncoder).encode(re);const se=yield(yield fe).createHash("sha256").update(oe).digest();return le.base64url.encode(new Uint8Array(se))}}))},54079:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ae=se(oe(93633));const digester=(re="sha-256")=>{if(re!=="sha-256"){throw new Error("Only sha-256 digest is supported.")}return{name:re,digest:ae.default}};ie["default"]=digester},85647:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};var ae=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ce=ae(oe(79529));const ue=ae(oe(42163));const le=ae(oe(54079));const fe=ae(oe(97625));const de=ae(oe(93396));const holder=(re={})=>{if(re.secretKeyJwk){re.alg=re.secretKeyJwk.alg}if(!re.digester){re.digester=(0,le.default)()}if(!re.salter){re.salter=(0,fe.default)()}if(!re.alg&&re.signer){throw new Error("alg must be passed as an option or restricted via secretKeyJwk")}return{issue:({token:ie,disclosure:oe,audience:ae,nonce:le})=>se(void 0,void 0,void 0,(function*(){if(re.secretKeyJwk){re.signer=yield de.default.signer(re.secretKeyJwk)}const se=new ce.default(re);return se.present({credential:ie,disclosure:ue.default.load(oe),aud:ae,nonce:le})}))}};ie["default"]=holder},29924:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ae=se(oe(97746));const ce=se(oe(97625));const ue=se(oe(54079));const le=se(oe(33039));const fe=se(oe(85647));const de=se(oe(10020));const pe=se(oe(93396));const he=Object.assign(Object.assign({},pe.default),{key:ae.default,salter:ce.default,digester:ue.default,issuer:le.default,holder:fe.default,verifier:de.default});ie["default"]=he},33039:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};var ae=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ce=ae(oe(18661));const ue=ae(oe(42163));const le=ae(oe(54079));const fe=ae(oe(97625));const de=ae(oe(93396));const issuer=re=>{if(re.secretKeyJwk){re.alg=re.secretKeyJwk.alg}if(!re.digester){re.digester=(0,le.default)()}if(!re.salter){re.salter=(0,fe.default)()}if(!re.alg&&re.signer){throw new Error("alg must be passed as an option or restricted via secretKeyJwk")}return{issue:({claimset:ie,holder:oe})=>se(void 0,void 0,void 0,(function*(){if(re.secretKeyJwk){re.signer=yield de.default.signer(re.secretKeyJwk)}const se=new ce.default({alg:re.alg,iss:re.iss,kid:re.kid,typ:re.typ,cty:re.cty,salter:re.salter,digester:re.digester,signer:re.signer});return se.issue({holder:oe,claims:ue.default.load(ie)})}))}};ie["default"]=issuer},97746:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ae=se(oe(50820));const ce=ae.default;ie["default"]=ce},39239:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};var ue=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};Object.defineProperty(ie,"__esModule",{value:true});const le=Promise.resolve().then((()=>ce(oe(6113)))).catch((()=>{}));ie["default"]=(re=16)=>ue(void 0,void 0,void 0,(function*(){try{return crypto.getRandomValues(new Uint8Array(re))}catch(ie){return(yield le).randomFillSync(new Uint8Array(re))}}))},97625:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};var ae=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ce=oe(34061);const ue=ae(oe(39239));ie["default"]=()=>{const salter=()=>se(void 0,void 0,void 0,(function*(){const re=yield(0,ue.default)(16);const ie=ce.base64url.encode(re);return ie}));return salter}},10020:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};var ae=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ce=ae(oe(45188));const ue=ae(oe(54079));const le=ae(oe(93396));const fe=ae(oe(54507));function verifier(re){if(!re.digester){re.digester=(0,ue.default)()}if(re.publicKeyJwk){const{publicKeyJwk:ie}=re;re.alg=re.alg||ie.alg;if(!re.alg){throw new Error("alg must be passed as an option or restricted via publicKeyJwk")}re.verifier={verify:re=>se(this,void 0,void 0,(function*(){const{jwt:oe}=fe.default.compact(re);const se=yield le.default.verifier(ie);return se.verify(oe)}))}}return{verify:({token:ie,audience:oe,nonce:ae})=>se(this,void 0,void 0,(function*(){const se=new ce.default(re);const ue=yield se.verify({presentation:ie,aud:oe,nonce:ae});return ue}))}}ie["default"]=verifier},28660:(re,ie,oe)=>{"use strict";const se=oe(6113);const ae={16:"aes-128-cbc",32:"aes-256-cbc"};const ce={8:true,16:true};const ue=Buffer.alloc(16,0);ie.create=function(re,ie,oe){if(!Buffer.isBuffer(re)){throw new Error("Key must be of type Buffer")}if(!Buffer.isBuffer(ie)){throw new Error("Msg must be of type Buffer")}if(!ce[oe]){throw new Error("Len must be 8 or 16")}const le=ae[re.length];if(!le){throw new Error("Unsupported key length "+re.length)}const fe=ie.length;const de=16-fe%16;const pe=de===16?Buffer.alloc(0,0):Buffer.alloc(de,0);const he=Buffer.concat([ie,pe]);const Ae=se.createCipheriv(le,re,ue);const ge=Ae.update(he);const me=ge.length-16;const ye=ge.slice(me,me+oe);return ye}},65063:re=>{"use strict";re.exports=({onlyFirst:re=false}={})=>{const ie=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(ie,re?undefined:"g")}},52068:(re,ie,oe)=>{"use strict";re=oe.nmd(re);const wrapAnsi16=(re,ie)=>(...oe)=>{const se=re(...oe);return`[${se+ie}m`};const wrapAnsi256=(re,ie)=>(...oe)=>{const se=re(...oe);return`[${38+ie};5;${se}m`};const wrapAnsi16m=(re,ie)=>(...oe)=>{const se=re(...oe);return`[${38+ie};2;${se[0]};${se[1]};${se[2]}m`};const ansi2ansi=re=>re;const rgb2rgb=(re,ie,oe)=>[re,ie,oe];const setLazyProperty=(re,ie,oe)=>{Object.defineProperty(re,ie,{get:()=>{const se=oe();Object.defineProperty(re,ie,{value:se,enumerable:true,configurable:true});return se},enumerable:true,configurable:true})};let se;const makeDynamicStyles=(re,ie,ae,ce)=>{if(se===undefined){se=oe(86931)}const ue=ce?10:0;const le={};for(const[oe,ce]of Object.entries(se)){const se=oe==="ansi16"?"ansi":oe;if(oe===ie){le[se]=re(ae,ue)}else if(typeof ce==="object"){le[se]=re(ce[ie],ue)}}return le};function assembleStyles(){const re=new Map;const ie={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};ie.color.gray=ie.color.blackBright;ie.bgColor.bgGray=ie.bgColor.bgBlackBright;ie.color.grey=ie.color.blackBright;ie.bgColor.bgGrey=ie.bgColor.bgBlackBright;for(const[oe,se]of Object.entries(ie)){for(const[oe,ae]of Object.entries(se)){ie[oe]={open:`[${ae[0]}m`,close:`[${ae[1]}m`};se[oe]=ie[oe];re.set(ae[0],ae[1])}Object.defineProperty(ie,oe,{value:se,enumerable:false})}Object.defineProperty(ie,"codes",{value:re,enumerable:false});ie.color.close="";ie.bgColor.close="";setLazyProperty(ie.color,"ansi",(()=>makeDynamicStyles(wrapAnsi16,"ansi16",ansi2ansi,false)));setLazyProperty(ie.color,"ansi256",(()=>makeDynamicStyles(wrapAnsi256,"ansi256",ansi2ansi,false)));setLazyProperty(ie.color,"ansi16m",(()=>makeDynamicStyles(wrapAnsi16m,"rgb",rgb2rgb,false)));setLazyProperty(ie.bgColor,"ansi",(()=>makeDynamicStyles(wrapAnsi16,"ansi16",ansi2ansi,true)));setLazyProperty(ie.bgColor,"ansi256",(()=>makeDynamicStyles(wrapAnsi256,"ansi256",ansi2ansi,true)));setLazyProperty(ie.bgColor,"ansi16m",(()=>makeDynamicStyles(wrapAnsi16m,"rgb",rgb2rgb,true)));return ie}Object.defineProperty(re,"exports",{enumerable:true,get:assembleStyles})},55768:(re,ie,oe)=>{re.exports=oe(56196)().Promise},34549:re=>{"use strict";var ie="@@any-promise/REGISTRATION",oe=null;re.exports=function(re,se){return function register(ae,ce){ae=ae||null;ce=ce||{};var ue=ce.global!==false;if(oe===null&&ue){oe=re[ie]||null}if(oe!==null&&ae!==null&&oe.implementation!==ae){throw new Error('any-promise already defined as "'+oe.implementation+'". You can only register an implementation before the first '+' call to require("any-promise") and an implementation cannot be changed')}if(oe===null){if(ae!==null&&typeof ce.Promise!=="undefined"){oe={Promise:ce.Promise,implementation:ae}}else{oe=se(ae)}if(ue){re[ie]=oe}}return oe}}},56196:(re,ie,oe)=>{"use strict";re.exports=oe(34549)(global,loadImplementation);function loadImplementation(re){var ie=null;if(shouldPreferGlobalPromise(re)){ie={Promise:global.Promise,implementation:"global.Promise"}}else if(re){var oe=require(re);ie={Promise:oe.Promise||oe,implementation:re}}else{ie=tryAutoDetect()}if(ie===null){throw new Error("Cannot find any-promise implementation nor"+" global.Promise. You must install polyfill or call"+' require("any-promise/register") with your preferred'+' implementation, e.g. require("any-promise/register/bluebird")'+' on application load prior to any require("any-promise").')}return ie}function shouldPreferGlobalPromise(re){if(re){return re==="global.Promise"}else if(typeof global.Promise!=="undefined"){var ie=/v(\d+)\.(\d+)\.(\d+)/.exec(process.version);return!(ie&&+ie[1]==0&&+ie[2]<12)}return false}function tryAutoDetect(){var re=["es6-promise","promise","native-promise-only","bluebird","rsvp","when","q","pinkie","lie","vow"];var ie=0,oe=re.length;for(;ie{re.exports={newInvalidAsn1Error:function(re){var ie=new Error;ie.name="InvalidAsn1Error";ie.message=re||"";return ie}}},194:(re,ie,oe)=>{var se=oe(99348);var ae=oe(42473);var ce=oe(20290);var ue=oe(43200);re.exports={Reader:ce,Writer:ue};for(var le in ae){if(ae.hasOwnProperty(le))re.exports[le]=ae[le]}for(var fe in se){if(se.hasOwnProperty(fe))re.exports[fe]=se[fe]}},20290:(re,ie,oe)=>{var se=oe(39491);var ae=oe(15118).Buffer;var ce=oe(42473);var ue=oe(99348);var le=ue.newInvalidAsn1Error;function Reader(re){if(!re||!ae.isBuffer(re))throw new TypeError("data must be a node Buffer");this._buf=re;this._size=re.length;this._len=0;this._offset=0}Object.defineProperty(Reader.prototype,"length",{enumerable:true,get:function(){return this._len}});Object.defineProperty(Reader.prototype,"offset",{enumerable:true,get:function(){return this._offset}});Object.defineProperty(Reader.prototype,"remain",{get:function(){return this._size-this._offset}});Object.defineProperty(Reader.prototype,"buffer",{get:function(){return this._buf.slice(this._offset)}});Reader.prototype.readByte=function(re){if(this._size-this._offset<1)return null;var ie=this._buf[this._offset]&255;if(!re)this._offset+=1;return ie};Reader.prototype.peek=function(){return this.readByte(true)};Reader.prototype.readLength=function(re){if(re===undefined)re=this._offset;if(re>=this._size)return null;var ie=this._buf[re++]&255;if(ie===null)return null;if((ie&128)===128){ie&=127;if(ie===0)throw le("Indefinite length not supported");if(ie>4)throw le("encoding too long");if(this._size-rethis._size-se)return null;this._offset=se;if(this.length===0)return ie?ae.alloc(0):"";var ue=this._buf.slice(this._offset,this._offset+this.length);this._offset+=this.length;return ie?ue:ue.toString("utf8")};Reader.prototype.readOID=function(re){if(!re)re=ce.OID;var ie=this.readString(re,true);if(ie===null)return null;var oe=[];var se=0;for(var ae=0;ae>0);return oe.join(".")};Reader.prototype._readTag=function(re){se.ok(re!==undefined);var ie=this.peek();if(ie===null)return null;if(ie!==re)throw le("Expected 0x"+re.toString(16)+": got 0x"+ie.toString(16));var oe=this.readLength(this._offset+1);if(oe===null)return null;if(this.length>4)throw le("Integer too long: "+this.length);if(this.length>this._size-oe)return null;this._offset=oe;var ae=this._buf[this._offset];var ce=0;for(var ue=0;ue>0};re.exports=Reader},42473:re=>{re.exports={EOC:0,Boolean:1,Integer:2,BitString:3,OctetString:4,Null:5,OID:6,ObjectDescriptor:7,External:8,Real:9,Enumeration:10,PDV:11,Utf8String:12,RelativeOID:13,Sequence:16,Set:17,NumericString:18,PrintableString:19,T61String:20,VideotexString:21,IA5String:22,UTCTime:23,GeneralizedTime:24,GraphicString:25,VisibleString:26,GeneralString:28,UniversalString:29,CharacterString:30,BMPString:31,Constructor:32,Context:128}},43200:(re,ie,oe)=>{var se=oe(39491);var ae=oe(15118).Buffer;var ce=oe(42473);var ue=oe(99348);var le=ue.newInvalidAsn1Error;var fe={size:1024,growthFactor:8};function merge(re,ie){se.ok(re);se.equal(typeof re,"object");se.ok(ie);se.equal(typeof ie,"object");var oe=Object.getOwnPropertyNames(re);oe.forEach((function(oe){if(ie[oe])return;var se=Object.getOwnPropertyDescriptor(re,oe);Object.defineProperty(ie,oe,se)}));return ie}function Writer(re){re=merge(fe,re||{});this._buf=ae.alloc(re.size||1024);this._size=this._buf.length;this._offset=0;this._options=re;this._seq=[]}Object.defineProperty(Writer.prototype,"buffer",{get:function(){if(this._seq.length)throw le(this._seq.length+" unended sequence(s)");return this._buf.slice(0,this._offset)}});Writer.prototype.writeByte=function(re){if(typeof re!=="number")throw new TypeError("argument must be a Number");this._ensure(1);this._buf[this._offset++]=re};Writer.prototype.writeInt=function(re,ie){if(typeof re!=="number")throw new TypeError("argument must be a Number");if(typeof ie!=="number")ie=ce.Integer;var oe=4;while(((re&4286578688)===0||(re&4286578688)===4286578688>>0)&&oe>1){oe--;re<<=8}if(oe>4)throw le("BER ints cannot be > 0xffffffff");this._ensure(2+oe);this._buf[this._offset++]=ie;this._buf[this._offset++]=oe;while(oe-- >0){this._buf[this._offset++]=(re&4278190080)>>>24;re<<=8}};Writer.prototype.writeNull=function(){this.writeByte(ce.Null);this.writeByte(0)};Writer.prototype.writeEnumeration=function(re,ie){if(typeof re!=="number")throw new TypeError("argument must be a Number");if(typeof ie!=="number")ie=ce.Enumeration;return this.writeInt(re,ie)};Writer.prototype.writeBoolean=function(re,ie){if(typeof re!=="boolean")throw new TypeError("argument must be a Boolean");if(typeof ie!=="number")ie=ce.Boolean;this._ensure(3);this._buf[this._offset++]=ie;this._buf[this._offset++]=1;this._buf[this._offset++]=re?255:0};Writer.prototype.writeString=function(re,ie){if(typeof re!=="string")throw new TypeError("argument must be a string (was: "+typeof re+")");if(typeof ie!=="number")ie=ce.OctetString;var oe=ae.byteLength(re);this.writeByte(ie);this.writeLength(oe);if(oe){this._ensure(oe);this._buf.write(re,this._offset);this._offset+=oe}};Writer.prototype.writeBuffer=function(re,ie){if(typeof ie!=="number")throw new TypeError("tag must be a number");if(!ae.isBuffer(re))throw new TypeError("argument must be a buffer");this.writeByte(ie);this.writeLength(re.length);this._ensure(re.length);re.copy(this._buf,this._offset,0,re.length);this._offset+=re.length};Writer.prototype.writeStringArray=function(re){if(!re instanceof Array)throw new TypeError("argument must be an Array[String]");var ie=this;re.forEach((function(re){ie.writeString(re)}))};Writer.prototype.writeOID=function(re,ie){if(typeof re!=="string")throw new TypeError("argument must be a string");if(typeof ie!=="number")ie=ce.OID;if(!/^([0-9]+\.){3,}[0-9]+$/.test(re))throw new Error("argument is not a valid OID string");function encodeOctet(re,ie){if(ie<128){re.push(ie)}else if(ie<16384){re.push(ie>>>7|128);re.push(ie&127)}else if(ie<2097152){re.push(ie>>>14|128);re.push((ie>>>7|128)&255);re.push(ie&127)}else if(ie<268435456){re.push(ie>>>21|128);re.push((ie>>>14|128)&255);re.push((ie>>>7|128)&255);re.push(ie&127)}else{re.push((ie>>>28|128)&255);re.push((ie>>>21|128)&255);re.push((ie>>>14|128)&255);re.push((ie>>>7|128)&255);re.push(ie&127)}}var oe=re.split(".");var se=[];se.push(parseInt(oe[0],10)*40+parseInt(oe[1],10));oe.slice(2).forEach((function(re){encodeOctet(se,parseInt(re,10))}));var ae=this;this._ensure(2+se.length);this.writeByte(ie);this.writeLength(se.length);se.forEach((function(re){ae.writeByte(re)}))};Writer.prototype.writeLength=function(re){if(typeof re!=="number")throw new TypeError("argument must be a Number");this._ensure(4);if(re<=127){this._buf[this._offset++]=re}else if(re<=255){this._buf[this._offset++]=129;this._buf[this._offset++]=re}else if(re<=65535){this._buf[this._offset++]=130;this._buf[this._offset++]=re>>8;this._buf[this._offset++]=re}else if(re<=16777215){this._buf[this._offset++]=131;this._buf[this._offset++]=re>>16;this._buf[this._offset++]=re>>8;this._buf[this._offset++]=re}else{throw le("Length too long (> 4 bytes)")}};Writer.prototype.startSequence=function(re){if(typeof re!=="number")re=ce.Sequence|ce.Constructor;this.writeByte(re);this._seq.push(this._offset);this._ensure(3);this._offset+=3};Writer.prototype.endSequence=function(){var re=this._seq.pop();var ie=re+3;var oe=this._offset-ie;if(oe<=127){this._shift(ie,oe,-2);this._buf[re]=oe}else if(oe<=255){this._shift(ie,oe,-1);this._buf[re]=129;this._buf[re+1]=oe}else if(oe<=65535){this._buf[re]=130;this._buf[re+1]=oe>>8;this._buf[re+2]=oe}else if(oe<=16777215){this._shift(ie,oe,1);this._buf[re]=131;this._buf[re+1]=oe>>16;this._buf[re+2]=oe>>8;this._buf[re+3]=oe}else{throw le("Sequence too long")}};Writer.prototype._shift=function(re,ie,oe){se.ok(re!==undefined);se.ok(ie!==undefined);se.ok(oe);this._buf.copy(this._buf,re+oe,re,re+ie);this._offset+=oe};Writer.prototype._ensure=function(re){se.ok(re);if(this._size-this._offset{var se=oe(194);re.exports={Ber:se,BerReader:se.Reader,BerWriter:se.Writer}},3702:(re,ie,oe)=>{"use strict"; + */Ae(15202);var he=Ae(53499);var ge=Ae(82288);var me=Ae(22420);var ye=Ae(19493);var ve=Ae(8277);var be=Ae(5574);var Ee=Ae(4351);var Ce=Ae(71069);var we=Ae(55938);var Ie=Ae(86717);function _interopNamespaceDefault(R){var pe=Object.create(null);if(R){Object.keys(R).forEach((function(Ae){if(Ae!=="default"){var he=Object.getOwnPropertyDescriptor(R,Ae);Object.defineProperty(pe,Ae,he.get?he:{enumerable:true,get:function(){return R[Ae]}})}}))}pe.default=R;return Object.freeze(pe)}var _e=_interopNamespaceDefault(ge);var Be=_interopNamespaceDefault(ye);var Se=_interopNamespaceDefault(ve);var Qe=_interopNamespaceDefault(be);var xe=_interopNamespaceDefault(we);const De="crypto.algorithm";class AlgorithmProvider{getAlgorithms(){return Ce.container.resolveAll(De)}toAsnAlgorithm(R){({...R});for(const pe of this.getAlgorithms()){const Ae=pe.toAsnAlgorithm(R);if(Ae){return Ae}}if(/^[0-9.]+$/.test(R.name)){const pe=new ge.AlgorithmIdentifier({algorithm:R.name});if("parameters"in R){const Ae=R;pe.parameters=Ae.parameters}return pe}throw new Error("Cannot convert WebCrypto algorithm to ASN.1 algorithm")}toWebAlgorithm(R){for(const pe of this.getAlgorithms()){const Ae=pe.toWebAlgorithm(R);if(Ae){return Ae}}const pe={name:R.algorithm,parameters:R.parameters};return pe}}const ke="crypto.algorithmProvider";Ce.container.registerSingleton(ke,AlgorithmProvider);var Oe;const Re="1.3.36.3.3.2.8.1.1";const Pe=`${Re}.1`;const Te=`${Re}.2`;const Ne=`${Re}.3`;const Me=`${Re}.4`;const Fe=`${Re}.5`;const je=`${Re}.6`;const Le=`${Re}.7`;const Ue=`${Re}.8`;const He=`${Re}.9`;const Ve=`${Re}.10`;const We=`${Re}.11`;const Je=`${Re}.12`;const Ge=`${Re}.13`;const qe=`${Re}.14`;const Ye="brainpoolP160r1";const Ke="brainpoolP160t1";const ze="brainpoolP192r1";const $e="brainpoolP192t1";const Ze="brainpoolP224r1";const Xe="brainpoolP224t1";const et="brainpoolP256r1";const tt="brainpoolP256t1";const rt="brainpoolP320r1";const nt="brainpoolP320t1";const it="brainpoolP384r1";const ot="brainpoolP384t1";const st="brainpoolP512r1";const at="brainpoolP512t1";const ct="ECDSA";pe.EcAlgorithm=Oe=class EcAlgorithm{toAsnAlgorithm(R){switch(R.name.toLowerCase()){case ct.toLowerCase():if("hash"in R){const pe=typeof R.hash==="string"?R.hash:R.hash.name;switch(pe.toLowerCase()){case"sha-1":return Se.ecdsaWithSHA1;case"sha-256":return Se.ecdsaWithSHA256;case"sha-384":return Se.ecdsaWithSHA384;case"sha-512":return Se.ecdsaWithSHA512}}else if("namedCurve"in R){let pe="";switch(R.namedCurve){case"P-256":pe=Se.id_secp256r1;break;case"K-256":pe=Oe.SECP256K1;break;case"P-384":pe=Se.id_secp384r1;break;case"P-521":pe=Se.id_secp521r1;break;case Ye:pe=Pe;break;case Ke:pe=Te;break;case ze:pe=Ne;break;case $e:pe=Me;break;case Ze:pe=Fe;break;case Xe:pe=je;break;case et:pe=Le;break;case tt:pe=Ue;break;case rt:pe=He;break;case nt:pe=Ve;break;case it:pe=We;break;case ot:pe=Je;break;case st:pe=Ge;break;case at:pe=qe;break}if(pe){return new ge.AlgorithmIdentifier({algorithm:Se.id_ecPublicKey,parameters:he.AsnConvert.serialize(new Se.ECParameters({namedCurve:pe}))})}}}return null}toWebAlgorithm(R){switch(R.algorithm){case Se.id_ecdsaWithSHA1:return{name:ct,hash:{name:"SHA-1"}};case Se.id_ecdsaWithSHA256:return{name:ct,hash:{name:"SHA-256"}};case Se.id_ecdsaWithSHA384:return{name:ct,hash:{name:"SHA-384"}};case Se.id_ecdsaWithSHA512:return{name:ct,hash:{name:"SHA-512"}};case Se.id_ecPublicKey:{if(!R.parameters){throw new TypeError("Cannot get required parameters from EC algorithm")}const pe=he.AsnConvert.parse(R.parameters,Se.ECParameters);switch(pe.namedCurve){case Se.id_secp256r1:return{name:ct,namedCurve:"P-256"};case Oe.SECP256K1:return{name:ct,namedCurve:"K-256"};case Se.id_secp384r1:return{name:ct,namedCurve:"P-384"};case Se.id_secp521r1:return{name:ct,namedCurve:"P-521"};case Pe:return{name:ct,namedCurve:Ye};case Te:return{name:ct,namedCurve:Ke};case Ne:return{name:ct,namedCurve:ze};case Me:return{name:ct,namedCurve:$e};case Fe:return{name:ct,namedCurve:Ze};case je:return{name:ct,namedCurve:Xe};case Le:return{name:ct,namedCurve:et};case Ue:return{name:ct,namedCurve:tt};case He:return{name:ct,namedCurve:rt};case Ve:return{name:ct,namedCurve:nt};case We:return{name:ct,namedCurve:it};case Je:return{name:ct,namedCurve:ot};case Ge:return{name:ct,namedCurve:st};case qe:return{name:ct,namedCurve:at}}}}return null}};pe.EcAlgorithm.SECP256K1="1.3.132.0.10";pe.EcAlgorithm=Oe=Ee.__decorate([Ce.injectable()],pe.EcAlgorithm);Ce.container.registerSingleton(De,pe.EcAlgorithm);const ut=Symbol("name");const lt=Symbol("value");class TextObject{constructor(R,pe={},Ae=""){this[ut]=R;this[lt]=Ae;for(const R in pe){this[R]=pe[R]}}}TextObject.NAME=ut;TextObject.VALUE=lt;class DefaultAlgorithmSerializer{static toTextObject(R){const Ae=new TextObject("Algorithm Identifier",{},OidSerializer.toString(R.algorithm));if(R.parameters){switch(R.algorithm){case Se.id_ecPublicKey:{const he=(new pe.EcAlgorithm).toWebAlgorithm(R);if(he&&"namedCurve"in he){Ae["Named Curve"]=he.namedCurve}else{Ae["Parameters"]=R.parameters}break}default:Ae["Parameters"]=R.parameters}}return Ae}}class OidSerializer{static toString(R){const pe=this.items[R];if(pe){return pe}return R}}OidSerializer.items={[Qe.id_sha1]:"sha1",[Qe.id_sha224]:"sha224",[Qe.id_sha256]:"sha256",[Qe.id_sha384]:"sha384",[Qe.id_sha512]:"sha512",[Qe.id_rsaEncryption]:"rsaEncryption",[Qe.id_sha1WithRSAEncryption]:"sha1WithRSAEncryption",[Qe.id_sha224WithRSAEncryption]:"sha224WithRSAEncryption",[Qe.id_sha256WithRSAEncryption]:"sha256WithRSAEncryption",[Qe.id_sha384WithRSAEncryption]:"sha384WithRSAEncryption",[Qe.id_sha512WithRSAEncryption]:"sha512WithRSAEncryption",[Se.id_ecPublicKey]:"ecPublicKey",[Se.id_ecdsaWithSHA1]:"ecdsaWithSHA1",[Se.id_ecdsaWithSHA224]:"ecdsaWithSHA224",[Se.id_ecdsaWithSHA256]:"ecdsaWithSHA256",[Se.id_ecdsaWithSHA384]:"ecdsaWithSHA384",[Se.id_ecdsaWithSHA512]:"ecdsaWithSHA512",[_e.id_kp_serverAuth]:"TLS WWW server authentication",[_e.id_kp_clientAuth]:"TLS WWW client authentication",[_e.id_kp_codeSigning]:"Code Signing",[_e.id_kp_emailProtection]:"E-mail Protection",[_e.id_kp_timeStamping]:"Time Stamping",[_e.id_kp_OCSPSigning]:"OCSP Signing",[Be.id_signedData]:"Signed Data"};class TextConverter{static serialize(R){return this.serializeObj(R).join("\n")}static pad(R=0){return"".padStart(2*R," ")}static serializeObj(R,pe=0){const Ae=[];let he=this.pad(pe++);let ge="";const ye=R[TextObject.VALUE];if(ye){ge=` ${ye}`}Ae.push(`${he}${R[TextObject.NAME]}:${ge}`);he=this.pad(pe);for(const ge in R){if(typeof ge==="symbol"){continue}const ye=R[ge];const ve=ge?`${ge}: `:"";if(typeof ye==="string"||typeof ye==="number"||typeof ye==="boolean"){Ae.push(`${he}${ve}${ye}`)}else if(ye instanceof Date){Ae.push(`${he}${ve}${ye.toUTCString()}`)}else if(Array.isArray(ye)){for(const R of ye){R[TextObject.NAME]=ge;Ae.push(...this.serializeObj(R,pe))}}else if(ye instanceof TextObject){ye[TextObject.NAME]=ge;Ae.push(...this.serializeObj(ye,pe))}else if(me.BufferSourceConverter.isBufferSource(ye)){if(ge){Ae.push(`${he}${ve}`);Ae.push(...this.serializeBufferSource(ye,pe+1))}else{Ae.push(...this.serializeBufferSource(ye,pe))}}else if("toTextObject"in ye){const R=ye.toTextObject();R[TextObject.NAME]=ge;Ae.push(...this.serializeObj(R,pe))}else{throw new TypeError("Cannot serialize data in text format. Unsupported type.")}}return Ae}static serializeBufferSource(R,pe=0){const Ae=this.pad(pe);const he=me.BufferSourceConverter.toUint8Array(R);const ge=[];for(let R=0;R;])/g,"\\$1").replace(/^([ #])/,"\\$1").replace(/([ ]$)/,"\\$1").replace(/([\r\n\t])/,replaceUnknownCharacter)}class Name{static isASCII(R){for(let pe=0;pe255){return false}}return true}static isPrintableString(R){return/^[A-Za-z0-9 '()+,-./:=?]*$/g.test(R)}constructor(R,pe={}){this.extraNames=new NameIdentifier;this.asn=new ge.Name;for(const R in pe){if(Object.prototype.hasOwnProperty.call(pe,R)){const Ae=pe[R];this.extraNames.register(R,Ae)}}if(typeof R==="string"){this.asn=this.fromString(R)}else if(R instanceof ge.Name){this.asn=R}else if(me.BufferSourceConverter.isBufferSource(R)){this.asn=he.AsnConvert.parse(R,ge.Name)}else{this.asn=this.fromJSON(R)}}getField(R){const pe=this.extraNames.findId(R)||At.findId(R);const Ae=[];for(const R of this.asn){for(const he of R){if(he.type===pe){Ae.push(he.value.toString())}}}return Ae}getName(R){return this.extraNames.get(R)||At.get(R)}toString(){return this.asn.map((R=>R.map((R=>{const pe=this.getName(R.type)||R.type;const Ae=R.value.anyValue?`#${me.Convert.ToHex(R.value.anyValue)}`:escape(R.value.toString());return`${pe}=${Ae}`})).join("+"))).join(", ")}toJSON(){var R;const pe=[];for(const Ae of this.asn){const he={};for(const pe of Ae){const Ae=this.getName(pe.type)||pe.type;(R=he[Ae])!==null&&R!==void 0?R:he[Ae]=[];he[Ae].push(pe.value.anyValue?`#${me.Convert.ToHex(pe.value.anyValue)}`:pe.value.toString())}pe.push(he)}return pe}fromString(R){const pe=new ge.Name;const Ae=/(\d\.[\d.]*\d|[A-Za-z]+)=((?:"")|(?:".*?[^\\]")|(?:[^,+].*?(?:[^\\][,+]))|(?:))([,+])?/g;let he=null;let ye=",";while(he=Ae.exec(`${R},`)){let[,R,Ae]=he;const ve=Ae[Ae.length-1];if(ve===","||ve==="+"){Ae=Ae.slice(0,Ae.length-1);he[3]=ve}const be=he[3];if(!/[\d.]+/.test(R)){R=this.getName(R)||""}if(!R){throw new Error(`Cannot get OID for name type '${R}'`)}const Ee=new ge.AttributeTypeAndValue({type:R});if(Ae.charAt(0)==="#"){Ee.value.anyValue=me.Convert.FromHex(Ae.slice(1))}else{const pe=/"(.*?[^\\])?"/.exec(Ae);if(pe){Ae=pe[1]}Ae=Ae.replace(/\\0a/gi,"\n").replace(/\\0d/gi,"\r").replace(/\\0g/gi,"\t").replace(/\\(.)/g,"$1");if(R===this.getName("E")||R===this.getName("DC")){Ee.value.ia5String=Ae}else{if(Name.isPrintableString(Ae)){Ee.value.printableString=Ae}else{Ee.value.utf8String=Ae}}}if(ye==="+"){pe[pe.length-1].push(Ee)}else{pe.push(new ge.RelativeDistinguishedName([Ee]))}ye=be}return pe}fromJSON(R){const pe=new ge.Name;for(const Ae of R){const R=new ge.RelativeDistinguishedName;for(const pe in Ae){let he=pe;if(!/[\d.]+/.test(pe)){he=this.getName(pe)||""}if(!he){throw new Error(`Cannot get OID for name type '${pe}'`)}const ye=Ae[pe];for(const pe of ye){const Ae=new ge.AttributeTypeAndValue({type:he});if(typeof pe==="object"){for(const R in pe){switch(R){case"ia5String":Ae.value.ia5String=pe[R];break;case"utf8String":Ae.value.utf8String=pe[R];break;case"universalString":Ae.value.universalString=pe[R];break;case"bmpString":Ae.value.bmpString=pe[R];break;case"printableString":Ae.value.printableString=pe[R];break}}}else if(pe[0]==="#"){Ae.value.anyValue=me.Convert.FromHex(pe.slice(1))}else{if(he===this.getName("E")||he===this.getName("DC")){Ae.value.ia5String=pe}else{Ae.value.printableString=pe}}R.push(Ae)}}pe.push(R)}return pe}toArrayBuffer(){return he.AsnConvert.serialize(this.asn)}async getThumbprint(...R){var pe;let Ae;let he="SHA-1";if(R.length>=1&&!((pe=R[0])===null||pe===void 0?void 0:pe.subtle)){he=R[0]||he;Ae=R[1]||ft.get()}else{Ae=R[0]||ft.get()}return await Ae.subtle.digest(he,this.toArrayBuffer())}}const ht="Cannot initialize GeneralName from ASN.1 data.";const gt=`${ht} Unsupported string format in use.`;const mt=`${ht} Value doesn't match to GUID regular expression.`;const yt=/^([0-9a-f]{8})-?([0-9a-f]{4})-?([0-9a-f]{4})-?([0-9a-f]{4})-?([0-9a-f]{12})$/i;const vt="1.3.6.1.4.1.311.25.1";const bt="1.3.6.1.4.1.311.20.2.3";const Et="dns";const Ct="dn";const wt="email";const It="ip";const _t="url";const Bt="guid";const St="upn";const Qt="id";class GeneralName extends AsnData{constructor(...R){let pe;if(R.length===2){switch(R[0]){case Ct:{const Ae=new Name(R[1]).toArrayBuffer();const ge=he.AsnConvert.parse(Ae,_e.Name);pe=new _e.GeneralName({directoryName:ge});break}case Et:pe=new _e.GeneralName({dNSName:R[1]});break;case wt:pe=new _e.GeneralName({rfc822Name:R[1]});break;case Bt:{const Ae=new RegExp(yt,"i").exec(R[1]);if(!Ae){throw new Error("Cannot parse GUID value. Value doesn't match to regular expression")}const ge=Ae.slice(1).map(((R,pe)=>{if(pe<3){return me.Convert.ToHex(new Uint8Array(me.Convert.FromHex(R)).reverse())}return R})).join("");pe=new _e.GeneralName({otherName:new _e.OtherName({typeId:vt,value:he.AsnConvert.serialize(new he.OctetString(me.Convert.FromHex(ge)))})});break}case It:pe=new _e.GeneralName({iPAddress:R[1]});break;case Qt:pe=new _e.GeneralName({registeredID:R[1]});break;case St:{pe=new _e.GeneralName({otherName:new _e.OtherName({typeId:bt,value:he.AsnConvert.serialize(he.AsnUtf8StringConverter.toASN(R[1]))})});break}case _t:pe=new _e.GeneralName({uniformResourceIdentifier:R[1]});break;default:throw new Error("Cannot create GeneralName. Unsupported type of the name")}}else if(me.BufferSourceConverter.isBufferSource(R[0])){pe=he.AsnConvert.parse(R[0],_e.GeneralName)}else{pe=R[0]}super(pe)}onInit(R){if(R.dNSName!=undefined){this.type=Et;this.value=R.dNSName}else if(R.rfc822Name!=undefined){this.type=wt;this.value=R.rfc822Name}else if(R.iPAddress!=undefined){this.type=It;this.value=R.iPAddress}else if(R.uniformResourceIdentifier!=undefined){this.type=_t;this.value=R.uniformResourceIdentifier}else if(R.registeredID!=undefined){this.type=Qt;this.value=R.registeredID}else if(R.directoryName!=undefined){this.type=Ct;this.value=new Name(R.directoryName).toString()}else if(R.otherName!=undefined){if(R.otherName.typeId===vt){this.type=Bt;const pe=he.AsnConvert.parse(R.otherName.value,he.OctetString);const Ae=new RegExp(yt,"i").exec(me.Convert.ToHex(pe));if(!Ae){throw new Error(mt)}this.value=Ae.slice(1).map(((R,pe)=>{if(pe<3){return me.Convert.ToHex(new Uint8Array(me.Convert.FromHex(R)).reverse())}return R})).join("-")}else if(R.otherName.typeId===bt){this.type=St;this.value=he.AsnConvert.parse(R.otherName.value,_e.DirectoryString).toString()}else{throw new Error(gt)}}else{throw new Error(gt)}}toJSON(){return{type:this.type,value:this.value}}toTextObject(){let R;switch(this.type){case Ct:case Et:case Bt:case It:case Qt:case St:case _t:R=this.type.toUpperCase();break;case wt:R="Email";break;default:throw new Error("Unsupported GeneralName type")}let pe=this.value;if(this.type===Qt){pe=OidSerializer.toString(pe)}return new TextObject(R,undefined,pe)}}class GeneralNames extends AsnData{constructor(R){let pe;if(R instanceof _e.GeneralNames){pe=R}else if(Array.isArray(R)){const Ae=[];for(const pe of R){if(pe instanceof _e.GeneralName){Ae.push(pe)}else{const R=he.AsnConvert.parse(new GeneralName(pe.type,pe.value).rawData,_e.GeneralName);Ae.push(R)}}pe=new _e.GeneralNames(Ae)}else if(me.BufferSourceConverter.isBufferSource(R)){pe=he.AsnConvert.parse(R,_e.GeneralNames)}else{throw new Error("Cannot initialize GeneralNames. Incorrect incoming arguments")}super(pe)}onInit(R){const pe=[];for(const Ae of R){let R=null;try{R=new GeneralName(Ae)}catch{continue}pe.push(R)}this.items=pe}toJSON(){return this.items.map((R=>R.toJSON()))}toTextObject(){const R=super.toTextObjectEmpty();for(const pe of this.items){const Ae=pe.toTextObject();let he=R[Ae[TextObject.NAME]];if(!Array.isArray(he)){he=[];R[Ae[TextObject.NAME]]=he}he.push(Ae)}return R}}GeneralNames.NAME="GeneralNames";const xt="-{5}";const Dt="\\n";const kt=`[^${Dt}]+`;const Ot=`${xt}BEGIN (${kt}(?=${xt}))${xt}`;const Rt=`${xt}END \\1${xt}`;const Pt="\\n";const Tt=`[^:${Dt}]+`;const Nt=`(?:[^${Dt}]+${Pt}(?: +[^${Dt}]+${Pt})*)`;const Mt="[a-zA-Z0-9=+/]+";const Ft=`(?:${Mt}${Pt})+`;const jt=`${Ot}${Pt}(?:((?:${Tt}: ${Nt})+))?${Pt}?(${Ft})${Rt}`;class PemConverter{static isPem(R){return typeof R==="string"&&new RegExp(jt,"g").test(R)}static decodeWithHeaders(R){R=R.replace(/\r/g,"");const pe=new RegExp(jt,"g");const Ae=[];let he=null;while(he=pe.exec(R)){const R=he[3].replace(new RegExp(`[${Dt}]+`,"g"),"");const pe={type:he[1],headers:[],rawData:me.Convert.FromBase64(R)};const ge=he[2];if(ge){const R=ge.split(new RegExp(Pt,"g"));let Ae=null;for(const he of R){const[R,ge]=he.split(/:(.*)/);if(ge===undefined){if(!Ae){throw new Error("Cannot parse PEM string. Incorrect header value")}Ae.value+=R.trim()}else{if(Ae){pe.headers.push(Ae)}Ae={key:R,value:ge.trim()}}}if(Ae){pe.headers.push(Ae)}}Ae.push(pe)}return Ae}static decode(R){const pe=this.decodeWithHeaders(R);return pe.map((R=>R.rawData))}static decodeFirst(R){const pe=this.decode(R);if(!pe.length){throw new RangeError("PEM string doesn't contain any objects")}return pe[0]}static encode(R,pe){if(Array.isArray(R)){const Ae=new Array;if(pe){R.forEach((R=>{if(!me.BufferSourceConverter.isBufferSource(R)){throw new TypeError("Cannot encode array of BufferSource in PEM format. Not all items of the array are BufferSource")}Ae.push(this.encodeStruct({type:pe,rawData:me.BufferSourceConverter.toArrayBuffer(R)}))}))}else{R.forEach((R=>{if(!("type"in R)){throw new TypeError("Cannot encode array of PemStruct in PEM format. Not all items of the array are PemStrut")}Ae.push(this.encodeStruct(R))}))}return Ae.join("\n")}else{if(!pe){throw new Error("Required argument 'tag' is missed")}return this.encodeStruct({type:pe,rawData:me.BufferSourceConverter.toArrayBuffer(R)})}}static encodeStruct(R){var pe;const Ae=R.type.toLocaleUpperCase();const he=[];he.push(`-----BEGIN ${Ae}-----`);if((pe=R.headers)===null||pe===void 0?void 0:pe.length){for(const pe of R.headers){he.push(`${pe.key}: ${pe.value}`)}he.push("")}const ge=me.Convert.ToBase64(R.rawData);let ye;let ve=0;const be=Array();while(ve1){me=R[0]||me;Ae=R[1]||Ae;pe=R[2]||ft.get()}else{pe=R[0]||ft.get()}let ye=this.rawData;const ve=he.AsnConvert.parse(this.rawData,ge.SubjectPublicKeyInfo);if(ve.algorithm.algorithm===be.id_RSASSA_PSS){ye=convertSpkiToRsaPkcs1(ve,ye)}return pe.subtle.importKey("spki",ye,me,true,Ae)}onInit(R){const pe=Ce.container.resolve(ke);const Ae=this.algorithm=pe.toWebAlgorithm(R.algorithm);switch(R.algorithm.algorithm){case be.id_rsaEncryption:{const pe=he.AsnConvert.parse(R.subjectPublicKey,be.RSAPublicKey);const ge=me.BufferSourceConverter.toUint8Array(pe.modulus);Ae.publicExponent=me.BufferSourceConverter.toUint8Array(pe.publicExponent);Ae.modulusLength=(!ge[0]?ge.slice(1):ge).byteLength<<3;break}}}async getThumbprint(...R){var pe;let Ae;let he="SHA-1";if(R.length>=1&&!((pe=R[0])===null||pe===void 0?void 0:pe.subtle)){he=R[0]||he;Ae=R[1]||ft.get()}else{Ae=R[0]||ft.get()}return await Ae.subtle.digest(he,this.rawData)}async getKeyIdentifier(...R){let pe=ft.get();let Ae="SHA-1";if(R.length===1){if(typeof R[0]==="string"){Ae=R[0]}else{pe=R[0]}}else if(R.length===2){Ae=R[0];pe=R[1]}const me=he.AsnConvert.parse(this.rawData,ge.SubjectPublicKeyInfo);return await pe.subtle.digest(Ae,me.subjectPublicKey)}toTextObject(){const R=this.toTextObjectEmpty();const pe=he.AsnConvert.parse(this.rawData,ge.SubjectPublicKeyInfo);R["Algorithm"]=TextConverter.serializeAlgorithm(pe.algorithm);switch(pe.algorithm.algorithm){case ve.id_ecPublicKey:R["EC Point"]=pe.subjectPublicKey;break;case be.id_rsaEncryption:default:R["Raw Data"]=pe.subjectPublicKey}return R}}function convertSpkiToRsaPkcs1(R,pe){R.algorithm=new ge.AlgorithmIdentifier({algorithm:be.id_rsaEncryption,parameters:null});pe=he.AsnConvert.serialize(R);return pe}class AuthorityKeyIdentifierExtension extends Extension{static async create(R,pe=false,Ae=ft.get()){if("name"in R&&"serialNumber"in R){return new AuthorityKeyIdentifierExtension(R,pe)}const he=await PublicKey.create(R,Ae);const ge=await he.getKeyIdentifier(Ae);return new AuthorityKeyIdentifierExtension(me.Convert.ToHex(ge),pe)}constructor(...R){if(me.BufferSourceConverter.isBufferSource(R[0])){super(R[0])}else if(typeof R[0]==="string"){const pe=new _e.AuthorityKeyIdentifier({keyIdentifier:new _e.KeyIdentifier(me.Convert.FromHex(R[0]))});super(_e.id_ce_authorityKeyIdentifier,R[1],he.AsnConvert.serialize(pe))}else{const pe=R[0];const Ae=pe.name instanceof GeneralNames?he.AsnConvert.parse(pe.name.rawData,_e.GeneralNames):pe.name;const ge=new _e.AuthorityKeyIdentifier({authorityCertIssuer:Ae,authorityCertSerialNumber:me.Convert.FromHex(pe.serialNumber)});super(_e.id_ce_authorityKeyIdentifier,R[1],he.AsnConvert.serialize(ge))}}onInit(R){super.onInit(R);const pe=he.AsnConvert.parse(R.extnValue,_e.AuthorityKeyIdentifier);if(pe.keyIdentifier){this.keyId=me.Convert.ToHex(pe.keyIdentifier)}if(pe.authorityCertIssuer||pe.authorityCertSerialNumber){this.certId={name:pe.authorityCertIssuer||[],serialNumber:pe.authorityCertSerialNumber?me.Convert.ToHex(pe.authorityCertSerialNumber):""}}}toTextObject(){const R=this.toTextObjectWithoutValue();const pe=he.AsnConvert.parse(this.value,_e.AuthorityKeyIdentifier);if(pe.authorityCertIssuer){R["Authority Issuer"]=new GeneralNames(pe.authorityCertIssuer).toTextObject()}if(pe.authorityCertSerialNumber){R["Authority Serial Number"]=pe.authorityCertSerialNumber}if(pe.keyIdentifier){R[""]=pe.keyIdentifier}return R}}AuthorityKeyIdentifierExtension.NAME="Authority Key Identifier";class BasicConstraintsExtension extends Extension{constructor(...R){if(me.BufferSourceConverter.isBufferSource(R[0])){super(R[0]);const pe=he.AsnConvert.parse(this.value,ge.BasicConstraints);this.ca=pe.cA;this.pathLength=pe.pathLenConstraint}else{const pe=new ge.BasicConstraints({cA:R[0],pathLenConstraint:R[1]});super(ge.id_ce_basicConstraints,R[2],he.AsnConvert.serialize(pe));this.ca=R[0];this.pathLength=R[1]}}toTextObject(){const R=this.toTextObjectWithoutValue();if(this.ca){R["CA"]=this.ca}if(this.pathLength!==undefined){R["Path Length"]=this.pathLength}return R}}BasicConstraintsExtension.NAME="Basic Constraints";pe.ExtendedKeyUsage=void 0;(function(R){R["serverAuth"]="1.3.6.1.5.5.7.3.1";R["clientAuth"]="1.3.6.1.5.5.7.3.2";R["codeSigning"]="1.3.6.1.5.5.7.3.3";R["emailProtection"]="1.3.6.1.5.5.7.3.4";R["timeStamping"]="1.3.6.1.5.5.7.3.8";R["ocspSigning"]="1.3.6.1.5.5.7.3.9"})(pe.ExtendedKeyUsage||(pe.ExtendedKeyUsage={}));class ExtendedKeyUsageExtension extends Extension{constructor(...R){if(me.BufferSourceConverter.isBufferSource(R[0])){super(R[0]);const pe=he.AsnConvert.parse(this.value,_e.ExtendedKeyUsage);this.usages=pe.map((R=>R))}else{const pe=new _e.ExtendedKeyUsage(R[0]);super(_e.id_ce_extKeyUsage,R[1],he.AsnConvert.serialize(pe));this.usages=R[0]}}toTextObject(){const R=this.toTextObjectWithoutValue();R[""]=this.usages.map((R=>OidSerializer.toString(R))).join(", ");return R}}ExtendedKeyUsageExtension.NAME="Extended Key Usages";pe.KeyUsageFlags=void 0;(function(R){R[R["digitalSignature"]=1]="digitalSignature";R[R["nonRepudiation"]=2]="nonRepudiation";R[R["keyEncipherment"]=4]="keyEncipherment";R[R["dataEncipherment"]=8]="dataEncipherment";R[R["keyAgreement"]=16]="keyAgreement";R[R["keyCertSign"]=32]="keyCertSign";R[R["cRLSign"]=64]="cRLSign";R[R["encipherOnly"]=128]="encipherOnly";R[R["decipherOnly"]=256]="decipherOnly"})(pe.KeyUsageFlags||(pe.KeyUsageFlags={}));class KeyUsagesExtension extends Extension{constructor(...R){if(me.BufferSourceConverter.isBufferSource(R[0])){super(R[0]);const pe=he.AsnConvert.parse(this.value,ge.KeyUsage);this.usages=pe.toNumber()}else{const pe=new ge.KeyUsage(R[0]);super(ge.id_ce_keyUsage,R[1],he.AsnConvert.serialize(pe));this.usages=R[0]}}toTextObject(){const R=this.toTextObjectWithoutValue();const pe=he.AsnConvert.parse(this.value,ge.KeyUsage);R[""]=pe.toJSON().join(", ");return R}}KeyUsagesExtension.NAME="Key Usages";class SubjectKeyIdentifierExtension extends Extension{static async create(R,pe=false,Ae=ft.get()){const he=await PublicKey.create(R,Ae);const ge=await he.getKeyIdentifier(Ae);return new SubjectKeyIdentifierExtension(me.Convert.ToHex(ge),pe)}constructor(...R){if(me.BufferSourceConverter.isBufferSource(R[0])){super(R[0]);const pe=he.AsnConvert.parse(this.value,_e.SubjectKeyIdentifier);this.keyId=me.Convert.ToHex(pe)}else{const pe=typeof R[0]==="string"?me.Convert.FromHex(R[0]):R[0];const Ae=new _e.SubjectKeyIdentifier(pe);super(_e.id_ce_subjectKeyIdentifier,R[1],he.AsnConvert.serialize(Ae));this.keyId=me.Convert.ToHex(pe)}}toTextObject(){const R=this.toTextObjectWithoutValue();const pe=he.AsnConvert.parse(this.value,_e.SubjectKeyIdentifier);R[""]=pe;return R}}SubjectKeyIdentifierExtension.NAME="Subject Key Identifier";class SubjectAlternativeNameExtension extends Extension{constructor(...R){if(me.BufferSourceConverter.isBufferSource(R[0])){super(R[0])}else{super(_e.id_ce_subjectAltName,R[1],new GeneralNames(R[0]||[]).rawData)}}onInit(R){super.onInit(R);const pe=he.AsnConvert.parse(R.extnValue,_e.SubjectAlternativeName);this.names=new GeneralNames(pe)}toTextObject(){const R=this.toTextObjectWithoutValue();const pe=this.names.toTextObject();for(const Ae in pe){R[Ae]=pe[Ae]}return R}}SubjectAlternativeNameExtension.NAME="Subject Alternative Name";class ExtensionFactory{static register(R,pe){this.items.set(R,pe)}static create(R){const pe=new Extension(R);const Ae=this.items.get(pe.type);if(Ae){return new Ae(R)}return pe}}ExtensionFactory.items=new Map;class CertificatePolicyExtension extends Extension{constructor(...R){var pe;if(me.BufferSourceConverter.isBufferSource(R[0])){super(R[0]);const pe=he.AsnConvert.parse(this.value,_e.CertificatePolicies);this.policies=pe.map((R=>R.policyIdentifier))}else{const Ae=R[0];const ge=(pe=R[1])!==null&&pe!==void 0?pe:false;const me=new _e.CertificatePolicies(Ae.map((R=>new _e.PolicyInformation({policyIdentifier:R}))));super(_e.id_ce_certificatePolicies,ge,he.AsnConvert.serialize(me));this.policies=Ae}}toTextObject(){const R=this.toTextObjectWithoutValue();R["Policy"]=this.policies.map((R=>new TextObject("",{},OidSerializer.toString(R))));return R}}CertificatePolicyExtension.NAME="Certificate Policies";ExtensionFactory.register(_e.id_ce_certificatePolicies,CertificatePolicyExtension);class CRLDistributionPointsExtension extends Extension{constructor(...R){var pe;if(me.BufferSourceConverter.isBufferSource(R[0])){super(R[0])}else if(Array.isArray(R[0])&&typeof R[0][0]==="string"){const pe=R[0];const Ae=pe.map((R=>new _e.DistributionPoint({distributionPoint:new _e.DistributionPointName({fullName:[new _e.GeneralName({uniformResourceIdentifier:R})]})})));const ge=new _e.CRLDistributionPoints(Ae);super(_e.id_ce_cRLDistributionPoints,R[1],he.AsnConvert.serialize(ge))}else{const pe=new _e.CRLDistributionPoints(R[0]);super(_e.id_ce_cRLDistributionPoints,R[1],he.AsnConvert.serialize(pe))}(pe=this.distributionPoints)!==null&&pe!==void 0?pe:this.distributionPoints=[]}onInit(R){super.onInit(R);const pe=he.AsnConvert.parse(R.extnValue,_e.CRLDistributionPoints);this.distributionPoints=pe}toTextObject(){const R=this.toTextObjectWithoutValue();R["Distribution Point"]=this.distributionPoints.map((R=>{var pe;const Ae={};if(R.distributionPoint){Ae[""]=(pe=R.distributionPoint.fullName)===null||pe===void 0?void 0:pe.map((R=>new GeneralName(R).toString())).join(", ")}if(R.reasons){Ae["Reasons"]=R.reasons.toString()}if(R.cRLIssuer){Ae["CRL Issuer"]=R.cRLIssuer.map((R=>R.toString())).join(", ")}return Ae}));return R}}CRLDistributionPointsExtension.NAME="CRL Distribution Points";class AuthorityInfoAccessExtension extends Extension{constructor(...R){var pe,Ae,ge,ye;if(me.BufferSourceConverter.isBufferSource(R[0])){super(R[0])}else if(R[0]instanceof _e.AuthorityInfoAccessSyntax){const pe=new _e.AuthorityInfoAccessSyntax(R[0]);super(_e.id_pe_authorityInfoAccess,R[1],he.AsnConvert.serialize(pe))}else{const pe=R[0];const Ae=new _e.AuthorityInfoAccessSyntax;addAccessDescriptions(Ae,pe,_e.id_ad_ocsp,"ocsp");addAccessDescriptions(Ae,pe,_e.id_ad_caIssuers,"caIssuers");addAccessDescriptions(Ae,pe,_e.id_ad_timeStamping,"timeStamping");addAccessDescriptions(Ae,pe,_e.id_ad_caRepository,"caRepository");super(_e.id_pe_authorityInfoAccess,R[1],he.AsnConvert.serialize(Ae))}(pe=this.ocsp)!==null&&pe!==void 0?pe:this.ocsp=[];(Ae=this.caIssuers)!==null&&Ae!==void 0?Ae:this.caIssuers=[];(ge=this.timeStamping)!==null&&ge!==void 0?ge:this.timeStamping=[];(ye=this.caRepository)!==null&&ye!==void 0?ye:this.caRepository=[]}onInit(R){super.onInit(R);this.ocsp=[];this.caIssuers=[];this.timeStamping=[];this.caRepository=[];const pe=he.AsnConvert.parse(R.extnValue,_e.AuthorityInfoAccessSyntax);pe.forEach((R=>{switch(R.accessMethod){case _e.id_ad_ocsp:this.ocsp.push(new GeneralName(R.accessLocation));break;case _e.id_ad_caIssuers:this.caIssuers.push(new GeneralName(R.accessLocation));break;case _e.id_ad_timeStamping:this.timeStamping.push(new GeneralName(R.accessLocation));break;case _e.id_ad_caRepository:this.caRepository.push(new GeneralName(R.accessLocation));break}}))}toTextObject(){const R=this.toTextObjectWithoutValue();if(this.ocsp.length){addUrlsToObject(R,"OCSP",this.ocsp)}if(this.caIssuers.length){addUrlsToObject(R,"CA Issuers",this.caIssuers)}if(this.timeStamping.length){addUrlsToObject(R,"Time Stamping",this.timeStamping)}if(this.caRepository.length){addUrlsToObject(R,"CA Repository",this.caRepository)}return R}}AuthorityInfoAccessExtension.NAME="Authority Info Access";function addUrlsToObject(R,pe,Ae){if(Ae.length===1){R[pe]=Ae[0].toTextObject()}else{const he=new TextObject("");Ae.forEach(((R,pe)=>{const Ae=R.toTextObject();const ge=`${Ae[TextObject.NAME]} ${pe+1}`;let me=he[ge];if(!Array.isArray(me)){me=[];he[ge]=me}me.push(Ae)}));R[pe]=he}}function addAccessDescriptions(R,pe,Ae,ge){const me=pe[ge];if(me){const pe=Array.isArray(me)?me:[me];pe.forEach((pe=>{if(typeof pe==="string"){pe=new GeneralName("url",pe)}R.push(new _e.AccessDescription({accessMethod:Ae,accessLocation:he.AsnConvert.parse(pe.rawData,_e.GeneralName)}))}))}}class Attribute extends AsnData{constructor(...R){let pe;if(me.BufferSourceConverter.isBufferSource(R[0])){pe=me.BufferSourceConverter.toArrayBuffer(R[0])}else{const Ae=R[0];const ye=Array.isArray(R[1])?R[1].map((R=>me.BufferSourceConverter.toArrayBuffer(R))):[];pe=he.AsnConvert.serialize(new ge.Attribute({type:Ae,values:ye}))}super(pe,ge.Attribute)}onInit(R){this.type=R.type;this.values=R.values}toTextObject(){const R=this.toTextObjectWithoutValue();R["Value"]=this.values.map((R=>new TextObject("",{"":R})));return R}toTextObjectWithoutValue(){const R=this.toTextObjectEmpty();if(R[TextObject.NAME]===Attribute.NAME){R[TextObject.NAME]=OidSerializer.toString(this.type)}return R}}Attribute.NAME="Attribute";class ChallengePasswordAttribute extends Attribute{constructor(...R){var pe;if(me.BufferSourceConverter.isBufferSource(R[0])){super(R[0])}else{const pe=new xe.ChallengePassword({printableString:R[0]});super(xe.id_pkcs9_at_challengePassword,[he.AsnConvert.serialize(pe)])}(pe=this.password)!==null&&pe!==void 0?pe:this.password=""}onInit(R){super.onInit(R);if(this.values[0]){const R=he.AsnConvert.parse(this.values[0],xe.ChallengePassword);this.password=R.toString()}}toTextObject(){const R=this.toTextObjectWithoutValue();R[TextObject.VALUE]=this.password;return R}}ChallengePasswordAttribute.NAME="Challenge Password";class ExtensionsAttribute extends Attribute{constructor(...R){var pe;if(me.BufferSourceConverter.isBufferSource(R[0])){super(R[0])}else{const pe=R[0];const Ae=new _e.Extensions;for(const R of pe){Ae.push(he.AsnConvert.parse(R.rawData,_e.Extension))}super(xe.id_pkcs9_at_extensionRequest,[he.AsnConvert.serialize(Ae)])}(pe=this.items)!==null&&pe!==void 0?pe:this.items=[]}onInit(R){super.onInit(R);if(this.values[0]){const R=he.AsnConvert.parse(this.values[0],_e.Extensions);this.items=R.map((R=>ExtensionFactory.create(he.AsnConvert.serialize(R))))}}toTextObject(){const R=this.toTextObjectWithoutValue();const pe=this.items.map((R=>R.toTextObject()));for(const Ae of pe){R[Ae[TextObject.NAME]]=Ae}return R}}ExtensionsAttribute.NAME="Extensions";class AttributeFactory{static register(R,pe){this.items.set(R,pe)}static create(R){const pe=new Attribute(R);const Ae=this.items.get(pe.type);if(Ae){return new Ae(R)}return pe}}AttributeFactory.items=new Map;const Lt="crypto.signatureFormatter";class AsnDefaultSignatureFormatter{toAsnSignature(R,pe){return me.BufferSourceConverter.toArrayBuffer(pe)}toWebSignature(R,pe){return me.BufferSourceConverter.toArrayBuffer(pe)}}var Ut;pe.RsaAlgorithm=Ut=class RsaAlgorithm{static createPssParams(R,pe){const Ae=Ut.getHashAlgorithm(R);if(!Ae){return null}return new Qe.RsaSaPssParams({hashAlgorithm:Ae,maskGenAlgorithm:new ge.AlgorithmIdentifier({algorithm:Qe.id_mgf1,parameters:he.AsnConvert.serialize(Ae)}),saltLength:pe})}static getHashAlgorithm(R){const pe=Ce.container.resolve(ke);if(typeof R==="string"){return pe.toAsnAlgorithm({name:R})}if(typeof R==="object"&&R&&"name"in R){return pe.toAsnAlgorithm(R)}return null}toAsnAlgorithm(R){switch(R.name.toLowerCase()){case"rsassa-pkcs1-v1_5":if("hash"in R){let pe;if(typeof R.hash==="string"){pe=R.hash}else if(R.hash&&typeof R.hash==="object"&&"name"in R.hash&&typeof R.hash.name==="string"){pe=R.hash.name.toUpperCase()}else{throw new Error("Cannot get hash algorithm name")}switch(pe.toLowerCase()){case"sha-1":return new ge.AlgorithmIdentifier({algorithm:Qe.id_sha1WithRSAEncryption,parameters:null});case"sha-256":return new ge.AlgorithmIdentifier({algorithm:Qe.id_sha256WithRSAEncryption,parameters:null});case"sha-384":return new ge.AlgorithmIdentifier({algorithm:Qe.id_sha384WithRSAEncryption,parameters:null});case"sha-512":return new ge.AlgorithmIdentifier({algorithm:Qe.id_sha512WithRSAEncryption,parameters:null})}}else{return new ge.AlgorithmIdentifier({algorithm:Qe.id_rsaEncryption,parameters:null})}break;case"rsa-pss":if("hash"in R){if(!("saltLength"in R&&typeof R.saltLength==="number")){throw new Error("Cannot get 'saltLength' from 'alg' argument")}const pe=Ut.createPssParams(R.hash,R.saltLength);if(!pe){throw new Error("Cannot create PSS parameters")}return new ge.AlgorithmIdentifier({algorithm:Qe.id_RSASSA_PSS,parameters:he.AsnConvert.serialize(pe)})}else{return new ge.AlgorithmIdentifier({algorithm:Qe.id_RSASSA_PSS,parameters:null})}}return null}toWebAlgorithm(R){switch(R.algorithm){case Qe.id_rsaEncryption:return{name:"RSASSA-PKCS1-v1_5"};case Qe.id_sha1WithRSAEncryption:return{name:"RSASSA-PKCS1-v1_5",hash:{name:"SHA-1"}};case Qe.id_sha256WithRSAEncryption:return{name:"RSASSA-PKCS1-v1_5",hash:{name:"SHA-256"}};case Qe.id_sha384WithRSAEncryption:return{name:"RSASSA-PKCS1-v1_5",hash:{name:"SHA-384"}};case Qe.id_sha512WithRSAEncryption:return{name:"RSASSA-PKCS1-v1_5",hash:{name:"SHA-512"}};case Qe.id_RSASSA_PSS:if(R.parameters){const pe=he.AsnConvert.parse(R.parameters,Qe.RsaSaPssParams);const Ae=Ce.container.resolve(ke);const ge=Ae.toWebAlgorithm(pe.hashAlgorithm);return{name:"RSA-PSS",hash:ge,saltLength:pe.saltLength}}else{return{name:"RSA-PSS"}}}return null}};pe.RsaAlgorithm=Ut=Ee.__decorate([Ce.injectable()],pe.RsaAlgorithm);Ce.container.registerSingleton(De,pe.RsaAlgorithm);pe.ShaAlgorithm=class ShaAlgorithm{toAsnAlgorithm(R){switch(R.name.toLowerCase()){case"sha-1":return new ge.AlgorithmIdentifier({algorithm:be.id_sha1});case"sha-256":return new ge.AlgorithmIdentifier({algorithm:be.id_sha256});case"sha-384":return new ge.AlgorithmIdentifier({algorithm:be.id_sha384});case"sha-512":return new ge.AlgorithmIdentifier({algorithm:be.id_sha512})}return null}toWebAlgorithm(R){switch(R.algorithm){case be.id_sha1:return{name:"SHA-1"};case be.id_sha256:return{name:"SHA-256"};case be.id_sha384:return{name:"SHA-384"};case be.id_sha512:return{name:"SHA-512"}}return null}};pe.ShaAlgorithm=Ee.__decorate([Ce.injectable()],pe.ShaAlgorithm);Ce.container.registerSingleton(De,pe.ShaAlgorithm);class AsnEcSignatureFormatter{addPadding(R,pe){const Ae=me.BufferSourceConverter.toUint8Array(pe);const he=new Uint8Array(R);he.set(Ae,R-Ae.length);return he}removePadding(R,pe=false){let Ae=me.BufferSourceConverter.toUint8Array(R);for(let R=0;R127){const R=new Uint8Array(Ae.length+1);R.set(Ae,1);return R.buffer}return Ae.buffer}toAsnSignature(R,pe){if(R.name==="ECDSA"){const Ae=R.namedCurve;const ge=AsnEcSignatureFormatter.namedCurveSize.get(Ae)||AsnEcSignatureFormatter.defaultNamedCurveSize;const ye=new ve.ECDSASigValue;const be=me.BufferSourceConverter.toUint8Array(pe);ye.r=this.removePadding(be.slice(0,ge),true);ye.s=this.removePadding(be.slice(ge,ge+ge),true);return he.AsnConvert.serialize(ye)}return null}toWebSignature(R,pe){if(R.name==="ECDSA"){const Ae=he.AsnConvert.parse(pe,ve.ECDSASigValue);const ge=R.namedCurve;const ye=AsnEcSignatureFormatter.namedCurveSize.get(ge)||AsnEcSignatureFormatter.defaultNamedCurveSize;const be=this.addPadding(ye,this.removePadding(Ae.r));const Ee=this.addPadding(ye,this.removePadding(Ae.s));return me.combine(be,Ee)}return null}}AsnEcSignatureFormatter.namedCurveSize=new Map;AsnEcSignatureFormatter.defaultNamedCurveSize=32;const Ht="1.3.101.110";const Vt="1.3.101.111";const Wt="1.3.101.112";const Jt="1.3.101.113";pe.EdAlgorithm=class EdAlgorithm{toAsnAlgorithm(R){let pe=null;switch(R.name.toLowerCase()){case"ed25519":pe=Wt;break;case"x25519":pe=Ht;break;case"eddsa":switch(R.namedCurve.toLowerCase()){case"ed25519":pe=Wt;break;case"ed448":pe=Jt;break}break;case"ecdh-es":switch(R.namedCurve.toLowerCase()){case"x25519":pe=Ht;break;case"x448":pe=Vt;break}}if(pe){return new ge.AlgorithmIdentifier({algorithm:pe})}return null}toWebAlgorithm(R){switch(R.algorithm){case Wt:return{name:"Ed25519"};case Jt:return{name:"EdDSA",namedCurve:"Ed448"};case Ht:return{name:"X25519"};case Vt:return{name:"ECDH-ES",namedCurve:"X448"}}return null}};pe.EdAlgorithm=Ee.__decorate([Ce.injectable()],pe.EdAlgorithm);Ce.container.registerSingleton(De,pe.EdAlgorithm);class Pkcs10CertificateRequest extends PemData{constructor(R){if(PemData.isAsnEncoded(R)){super(R,Ie.CertificationRequest)}else{super(R)}this.tag=PemConverter.CertificateRequestTag}onInit(R){this.tbs=he.AsnConvert.serialize(R.certificationRequestInfo);this.publicKey=new PublicKey(R.certificationRequestInfo.subjectPKInfo);const pe=Ce.container.resolve(ke);this.signatureAlgorithm=pe.toWebAlgorithm(R.signatureAlgorithm);this.signature=R.signature;this.attributes=R.certificationRequestInfo.attributes.map((R=>AttributeFactory.create(he.AsnConvert.serialize(R))));const Ae=this.getAttribute(we.id_pkcs9_at_extensionRequest);this.extensions=[];if(Ae instanceof ExtensionsAttribute){this.extensions=Ae.items}this.subjectName=new Name(R.certificationRequestInfo.subject);this.subject=this.subjectName.toString()}getAttribute(R){for(const pe of this.attributes){if(pe.type===R){return pe}}return null}getAttributes(R){return this.attributes.filter((pe=>pe.type===R))}getExtension(R){for(const pe of this.extensions){if(pe.type===R){return pe}}return null}getExtensions(R){return this.extensions.filter((pe=>pe.type===R))}async verify(R=ft.get()){const pe={...this.publicKey.algorithm,...this.signatureAlgorithm};const Ae=await this.publicKey.export(pe,["verify"],R);const he=Ce.container.resolveAll(Lt).reverse();let ge=null;for(const R of he){ge=R.toWebSignature(pe,this.signature);if(ge){break}}if(!ge){throw Error("Cannot convert WebCrypto signature value to ASN.1 format")}const me=await R.subtle.verify(this.signatureAlgorithm,Ae,ge,this.tbs);return me}toTextObject(){const R=this.toTextObjectEmpty();const pe=he.AsnConvert.parse(this.rawData,Ie.CertificationRequest);const Ae=pe.certificationRequestInfo;const me=new TextObject("",{Version:`${ge.Version[Ae.version]} (${Ae.version})`,Subject:this.subject,"Subject Public Key Info":this.publicKey});if(this.attributes.length){const R=new TextObject("");for(const pe of this.attributes){const Ae=pe.toTextObject();R[Ae[TextObject.NAME]]=Ae}me["Attributes"]=R}R["Data"]=me;R["Signature"]=new TextObject("",{Algorithm:TextConverter.serializeAlgorithm(pe.signatureAlgorithm),"":pe.signature});return R}}Pkcs10CertificateRequest.NAME="PKCS#10 Certificate Request";class Pkcs10CertificateRequestGenerator{static async create(R,pe=ft.get()){if(!R.keys.privateKey){throw new Error("Bad field 'keys' in 'params' argument. 'privateKey' is empty")}if(!R.keys.publicKey){throw new Error("Bad field 'keys' in 'params' argument. 'publicKey' is empty")}const Ae=await pe.subtle.exportKey("spki",R.keys.publicKey);const me=new Ie.CertificationRequest({certificationRequestInfo:new Ie.CertificationRequestInfo({subjectPKInfo:he.AsnConvert.parse(Ae,ge.SubjectPublicKeyInfo)})});if(R.name){const pe=R.name instanceof Name?R.name:new Name(R.name);me.certificationRequestInfo.subject=he.AsnConvert.parse(pe.toArrayBuffer(),ge.Name)}if(R.attributes){for(const pe of R.attributes){me.certificationRequestInfo.attributes.push(he.AsnConvert.parse(pe.rawData,ge.Attribute))}}if(R.extensions&&R.extensions.length){const pe=new ge.Attribute({type:we.id_pkcs9_at_extensionRequest});const Ae=new ge.Extensions;for(const pe of R.extensions){Ae.push(he.AsnConvert.parse(pe.rawData,ge.Extension))}pe.values.push(he.AsnConvert.serialize(Ae));me.certificationRequestInfo.attributes.push(pe)}const ye={...R.signingAlgorithm,...R.keys.privateKey.algorithm};const ve=Ce.container.resolve(ke);me.signatureAlgorithm=ve.toAsnAlgorithm(ye);const be=he.AsnConvert.serialize(me.certificationRequestInfo);const Ee=await pe.subtle.sign(ye,R.keys.privateKey,be);const _e=Ce.container.resolveAll(Lt).reverse();let Be=null;for(const R of _e){Be=R.toAsnSignature(ye,Ee);if(Be){break}}if(!Be){throw Error("Cannot convert WebCrypto signature value to ASN.1 format")}me.signature=Be;return new Pkcs10CertificateRequest(he.AsnConvert.serialize(me))}}class X509Certificate extends PemData{constructor(R){if(PemData.isAsnEncoded(R)){super(R,ge.Certificate)}else{super(R)}this.tag=PemConverter.CertificateTag}onInit(R){const pe=R.tbsCertificate;this.tbs=he.AsnConvert.serialize(pe);this.serialNumber=me.Convert.ToHex(pe.serialNumber);this.subjectName=new Name(pe.subject);this.subject=new Name(pe.subject).toString();this.issuerName=new Name(pe.issuer);this.issuer=this.issuerName.toString();const Ae=Ce.container.resolve(ke);this.signatureAlgorithm=Ae.toWebAlgorithm(R.signatureAlgorithm);this.signature=R.signatureValue;const ge=pe.validity.notBefore.utcTime||pe.validity.notBefore.generalTime;if(!ge){throw new Error("Cannot get 'notBefore' value")}this.notBefore=ge;const ye=pe.validity.notAfter.utcTime||pe.validity.notAfter.generalTime;if(!ye){throw new Error("Cannot get 'notAfter' value")}this.notAfter=ye;this.extensions=[];if(pe.extensions){this.extensions=pe.extensions.map((R=>ExtensionFactory.create(he.AsnConvert.serialize(R))))}this.publicKey=new PublicKey(pe.subjectPublicKeyInfo)}getExtension(R){for(const pe of this.extensions){if(typeof R==="string"){if(pe.type===R){return pe}}else{if(pe instanceof R){return pe}}}return null}getExtensions(R){return this.extensions.filter((pe=>{if(typeof R==="string"){return pe.type===R}else{return pe instanceof R}}))}async verify(R={},pe=ft.get()){let Ae;let he;const ge=R.publicKey;try{if(!ge){Ae={...this.publicKey.algorithm,...this.signatureAlgorithm};he=await this.publicKey.export(Ae,["verify"],pe)}else if("publicKey"in ge){Ae={...ge.publicKey.algorithm,...this.signatureAlgorithm};he=await ge.publicKey.export(Ae,["verify"],pe)}else if(ge instanceof PublicKey){Ae={...ge.algorithm,...this.signatureAlgorithm};he=await ge.export(Ae,["verify"],pe)}else if(me.BufferSourceConverter.isBufferSource(ge)){const R=new PublicKey(ge);Ae={...R.algorithm,...this.signatureAlgorithm};he=await R.export(Ae,["verify"],pe)}else{Ae={...ge.algorithm,...this.signatureAlgorithm};he=ge}}catch(R){return false}const ye=Ce.container.resolveAll(Lt).reverse();let ve=null;for(const R of ye){ve=R.toWebSignature(Ae,this.signature);if(ve){break}}if(!ve){throw Error("Cannot convert ASN.1 signature value to WebCrypto format")}const be=await pe.subtle.verify(this.signatureAlgorithm,he,ve,this.tbs);if(R.signatureOnly){return be}else{const pe=R.date||new Date;const Ae=pe.getTime();return be&&this.notBefore.getTime()new Be.CertificateChoices({certificate:he.AsnConvert.parse(R.rawData,ge.Certificate)}))));const Ae=new Be.ContentInfo({contentType:Be.id_signedData,content:he.AsnConvert.serialize(pe)});const me=he.AsnConvert.serialize(Ae);if(R==="raw"){return me}return this.toString(R)}import(R){const pe=PemData.toArrayBuffer(R);const Ae=he.AsnConvert.parse(pe,Be.ContentInfo);if(Ae.contentType!==Be.id_signedData){throw new TypeError("Cannot parse CMS package. Incoming data is not a SignedData object.")}const ge=he.AsnConvert.parse(Ae.content,Be.SignedData);this.clear();for(const R of ge.certificates||[]){if(R.certificate){this.push(new X509Certificate(R.certificate))}}}clear(){while(this.pop()){}}toString(R="pem"){const pe=this.export("raw");switch(R){case"pem":return PemConverter.encode(pe,"CMS");case"pem-chain":return this.map((R=>R.toString("pem"))).join("\n");case"asn":return he.AsnConvert.toString(pe);case"hex":return me.Convert.ToHex(pe);case"base64":return me.Convert.ToBase64(pe);case"base64url":return me.Convert.ToBase64Url(pe);case"text":return TextConverter.serialize(this.toTextObject());default:throw TypeError("Argument 'format' is unsupported value")}}toTextObject(){const R=he.AsnConvert.parse(this.export("raw"),Be.ContentInfo);const pe=he.AsnConvert.parse(R.content,Be.SignedData);const Ae=new TextObject("X509Certificates",{"Content Type":OidSerializer.toString(R.contentType),Content:new TextObject("",{Version:`${Be.CMSVersion[pe.version]} (${pe.version})`,Certificates:new TextObject("",{Certificate:this.map((R=>R.toTextObject()))})})});return Ae}}class X509ChainBuilder{constructor(R={}){this.certificates=[];if(R.certificates){this.certificates=R.certificates}}async build(R,pe=ft.get()){const Ae=new X509Certificates(R);let he=R;while(he=await this.findIssuer(he,pe)){const R=await he.getThumbprint(pe);for(const he of Ae){const Ae=await he.getThumbprint(pe);if(me.isEqual(R,Ae)){throw new Error("Cannot build a certificate chain. Circular dependency.")}}Ae.push(he)}return Ae}async findIssuer(R,pe=ft.get()){if(!await R.isSelfSigned(pe)){const Ae=R.getExtension(_e.id_ce_authorityKeyIdentifier);for(const ge of this.certificates){if(ge.subject!==R.issuer){continue}if(Ae){if(Ae.keyId){const R=ge.getExtension(_e.id_ce_subjectKeyIdentifier);if(R&&R.keyId!==Ae.keyId){continue}}else if(Ae.certId){const R=ge.getExtension(_e.id_ce_subjectAltName);if(R&&!(Ae.certId.serialNumber===ge.serialNumber&&me.isEqual(he.AsnConvert.serialize(Ae.certId.name),he.AsnConvert.serialize(R)))){continue}}}try{const Ae={...ge.publicKey.algorithm,...R.signatureAlgorithm};const he=await ge.publicKey.export(Ae,["verify"],pe);const me=await R.verify({publicKey:he,signatureOnly:true},pe);if(!me){continue}}catch(R){continue}return ge}}return null}}class X509CertificateGenerator{static async createSelfSigned(R,pe=ft.get()){if(!R.keys.privateKey){throw new Error("Bad field 'keys' in 'params' argument. 'privateKey' is empty")}if(!R.keys.publicKey){throw new Error("Bad field 'keys' in 'params' argument. 'publicKey' is empty")}return this.create({serialNumber:R.serialNumber,subject:R.name,issuer:R.name,notBefore:R.notBefore,notAfter:R.notAfter,publicKey:R.keys.publicKey,signingKey:R.keys.privateKey,signingAlgorithm:R.signingAlgorithm,extensions:R.extensions},pe)}static async create(R,pe=ft.get()){var Ae;let ge;if(R.publicKey instanceof PublicKey){ge=R.publicKey.rawData}else if("publicKey"in R.publicKey){ge=R.publicKey.publicKey.rawData}else if(me.BufferSourceConverter.isBufferSource(R.publicKey)){ge=R.publicKey}else{ge=await pe.subtle.exportKey("spki",R.publicKey)}const ye=R.serialNumber?me.BufferSourceConverter.toUint8Array(me.Convert.FromHex(R.serialNumber)):pe.getRandomValues(new Uint8Array(16));if(ye[0]>127){ye[0]&=127}if(ye.length>1&&ye[0]===0){ye[1]|=128}const ve=R.notBefore||new Date;const be=R.notAfter||new Date(ve.getTime()+31536e6);const Ee=new _e.Certificate({tbsCertificate:new _e.TBSCertificate({version:_e.Version.v3,serialNumber:ye,validity:new _e.Validity({notBefore:ve,notAfter:be}),extensions:new _e.Extensions(((Ae=R.extensions)===null||Ae===void 0?void 0:Ae.map((R=>he.AsnConvert.parse(R.rawData,_e.Extension))))||[]),subjectPublicKeyInfo:he.AsnConvert.parse(ge,_e.SubjectPublicKeyInfo)})});if(R.subject){const pe=R.subject instanceof Name?R.subject:new Name(R.subject);Ee.tbsCertificate.subject=he.AsnConvert.parse(pe.toArrayBuffer(),_e.Name)}if(R.issuer){const pe=R.issuer instanceof Name?R.issuer:new Name(R.issuer);Ee.tbsCertificate.issuer=he.AsnConvert.parse(pe.toArrayBuffer(),_e.Name)}const we={hash:"SHA-256"};const Ie="signingKey"in R?{...we,...R.signingAlgorithm,...R.signingKey.algorithm}:{...we,...R.signingAlgorithm};const Be=Ce.container.resolve(ke);Ee.tbsCertificate.signature=Ee.signatureAlgorithm=Be.toAsnAlgorithm(Ie);const Se=he.AsnConvert.serialize(Ee.tbsCertificate);const Qe="signingKey"in R?await pe.subtle.sign(Ie,R.signingKey,Se):R.signature;const xe=Ce.container.resolveAll(Lt).reverse();let De=null;for(const R of xe){De=R.toAsnSignature(Ie,Qe);if(De){break}}if(!De){throw Error("Cannot convert ASN.1 signature value to WebCrypto format")}Ee.signatureValue=De;return new X509Certificate(he.AsnConvert.serialize(Ee))}}pe.X509CrlReason=void 0;(function(R){R[R["unspecified"]=0]="unspecified";R[R["keyCompromise"]=1]="keyCompromise";R[R["cACompromise"]=2]="cACompromise";R[R["affiliationChanged"]=3]="affiliationChanged";R[R["superseded"]=4]="superseded";R[R["cessationOfOperation"]=5]="cessationOfOperation";R[R["certificateHold"]=6]="certificateHold";R[R["removeFromCRL"]=8]="removeFromCRL";R[R["privilegeWithdrawn"]=9]="privilegeWithdrawn";R[R["aACompromise"]=10]="aACompromise"})(pe.X509CrlReason||(pe.X509CrlReason={}));class X509CrlEntry extends AsnData{constructor(...R){let pe;if(me.BufferSourceConverter.isBufferSource(R[0])){pe=me.BufferSourceConverter.toArrayBuffer(R[0])}else{pe=he.AsnConvert.serialize(new ge.RevokedCertificate({userCertificate:R[0],revocationDate:new ge.Time(R[1]),crlEntryExtensions:R[2]}))}super(pe,ge.RevokedCertificate)}onInit(R){this.serialNumber=me.Convert.ToHex(R.userCertificate);this.revocationDate=R.revocationDate.getTime();this.extensions=[];if(R.crlEntryExtensions){this.extensions=R.crlEntryExtensions.map((R=>{const pe=ExtensionFactory.create(he.AsnConvert.serialize(R));switch(pe.type){case ge.id_ce_cRLReasons:this.reason=he.AsnConvert.parse(pe.value,ge.CRLReason).reason;break;case ge.id_ce_invalidityDate:this.invalidity=he.AsnConvert.parse(pe.value,ge.InvalidityDate).value;break}return pe}))}}}class X509Crl extends PemData{constructor(R){if(PemData.isAsnEncoded(R)){super(R,ge.CertificateList)}else{super(R)}this.tag=PemConverter.CrlTag}onInit(R){var pe,Ae;const ge=R.tbsCertList;this.tbs=he.AsnConvert.serialize(ge);this.version=ge.version;const me=Ce.container.resolve(ke);this.signatureAlgorithm=me.toWebAlgorithm(R.signatureAlgorithm);this.tbsCertListSignatureAlgorithm=ge.signature;this.certListSignatureAlgorithm=R.signatureAlgorithm;this.signature=R.signature;this.issuerName=new Name(ge.issuer);this.issuer=this.issuerName.toString();const ye=ge.thisUpdate.getTime();if(!ye){throw new Error("Cannot get 'thisUpdate' value")}this.thisUpdate=ye;const ve=(pe=ge.nextUpdate)===null||pe===void 0?void 0:pe.getTime();this.nextUpdate=ve;this.entries=((Ae=ge.revokedCertificates)===null||Ae===void 0?void 0:Ae.map((R=>new X509CrlEntry(he.AsnConvert.serialize(R)))))||[];this.extensions=[];if(ge.crlExtensions){this.extensions=ge.crlExtensions.map((R=>ExtensionFactory.create(he.AsnConvert.serialize(R))))}}getExtension(R){for(const pe of this.extensions){if(typeof R==="string"){if(pe.type===R){return pe}}else{if(pe instanceof R){return pe}}}return null}getExtensions(R){return this.extensions.filter((pe=>{if(typeof R==="string"){return pe.type===R}else{return pe instanceof R}}))}async verify(R,pe=ft.get()){if(!this.certListSignatureAlgorithm.isEqual(this.tbsCertListSignatureAlgorithm)){throw new Error("algorithm identifier in the sequence tbsCertList and CertificateList mismatch")}let Ae;let he;const ge=R.publicKey;try{if(ge instanceof X509Certificate){Ae={...ge.publicKey.algorithm,...ge.signatureAlgorithm};he=await ge.publicKey.export(Ae,["verify"])}else if(ge instanceof PublicKey){Ae={...ge.algorithm,...this.signature};he=await ge.export(Ae,["verify"])}else{Ae={...ge.algorithm,...this.signature};he=ge}}catch(R){return false}const me=Ce.container.resolveAll(Lt).reverse();let ye=null;for(const R of me){ye=R.toWebSignature(Ae,this.signature);if(ye){break}}if(!ye){throw Error("Cannot convert ASN.1 signature value to WebCrypto format")}return await pe.subtle.verify(this.signatureAlgorithm,he,ye,this.tbs)}async getThumbprint(...R){let pe;let Ae="SHA-1";if(R[0]){if(!R[0].subtle){Ae=R[0]||Ae;pe=R[1]}else{pe=R[0]}}pe!==null&&pe!==void 0?pe:pe=ft.get();return await pe.subtle.digest(Ae,this.rawData)}findRevoked(R){const pe=typeof R==="string"?R:R.serialNumber;for(const R of this.entries){if(R.serialNumber===pe){return R}}return null}}class X509CrlGenerator{static async create(R,pe=ft.get()){var Ae;const ye=R.issuer instanceof Name?R.issuer:new Name(R.issuer);const ve=new _e.CertificateList({tbsCertList:new _e.TBSCertList({version:_e.Version.v2,issuer:he.AsnConvert.parse(ye.toArrayBuffer(),_e.Name),thisUpdate:new ge.Time(R.thisUpdate||new Date)})});if(R.nextUpdate){ve.tbsCertList.nextUpdate=new ge.Time(R.nextUpdate)}if(R.extensions&&R.extensions.length){ve.tbsCertList.crlExtensions=new _e.Extensions(R.extensions.map((R=>he.AsnConvert.parse(R.rawData,_e.Extension)))||[])}if(R.entries&&R.entries.length){ve.tbsCertList.revokedCertificates=[];for(const pe of R.entries){const ye=PemData.toArrayBuffer(pe.serialNumber);const be=ve.tbsCertList.revokedCertificates.findIndex((R=>me.isEqual(R.userCertificate,ye)));if(be>-1){throw new Error(`Certificate serial number ${pe.serialNumber} already exists in tbsCertList`)}const Ee=new ge.RevokedCertificate({userCertificate:ye,revocationDate:new ge.Time(pe.revocationDate||new Date)});if("extensions"in pe&&((Ae=pe.extensions)===null||Ae===void 0?void 0:Ae.length)){Ee.crlEntryExtensions=pe.extensions.map((R=>he.AsnConvert.parse(R.rawData,_e.Extension)))}else{Ee.crlEntryExtensions=[]}if(!(pe instanceof X509CrlEntry)){if(pe.reason){Ee.crlEntryExtensions.push(new _e.Extension({extnID:_e.id_ce_cRLReasons,critical:false,extnValue:new he.OctetString(he.AsnConvert.serialize(new _e.CRLReason(pe.reason)))}))}if(pe.invalidity){Ee.crlEntryExtensions.push(new _e.Extension({extnID:_e.id_ce_invalidityDate,critical:false,extnValue:new he.OctetString(he.AsnConvert.serialize(new _e.InvalidityDate(pe.invalidity)))}))}if(pe.issuer){const pe=R.issuer instanceof Name?R.issuer:new Name(R.issuer);Ee.crlEntryExtensions.push(new _e.Extension({extnID:_e.id_ce_certificateIssuer,critical:false,extnValue:new he.OctetString(he.AsnConvert.serialize(he.AsnConvert.parse(pe.toArrayBuffer(),_e.Name)))}))}}ve.tbsCertList.revokedCertificates.push(Ee)}}const be={...R.signingAlgorithm,...R.signingKey.algorithm};const Ee=Ce.container.resolve(ke);ve.tbsCertList.signature=ve.signatureAlgorithm=Ee.toAsnAlgorithm(be);const we=he.AsnConvert.serialize(ve.tbsCertList);const Ie=await pe.subtle.sign(be,R.signingKey,we);const Be=Ce.container.resolveAll(Lt).reverse();let Se=null;for(const R of Be){Se=R.toAsnSignature(be,Ie);if(Se){break}}if(!Se){throw Error("Cannot convert ASN.1 signature value to WebCrypto format")}ve.signature=Se;return new X509Crl(he.AsnConvert.serialize(ve))}}ExtensionFactory.register(_e.id_ce_basicConstraints,BasicConstraintsExtension);ExtensionFactory.register(_e.id_ce_extKeyUsage,ExtendedKeyUsageExtension);ExtensionFactory.register(_e.id_ce_keyUsage,KeyUsagesExtension);ExtensionFactory.register(_e.id_ce_subjectKeyIdentifier,SubjectKeyIdentifierExtension);ExtensionFactory.register(_e.id_ce_authorityKeyIdentifier,AuthorityKeyIdentifierExtension);ExtensionFactory.register(_e.id_ce_subjectAltName,SubjectAlternativeNameExtension);ExtensionFactory.register(_e.id_ce_cRLDistributionPoints,CRLDistributionPointsExtension);ExtensionFactory.register(_e.id_pe_authorityInfoAccess,AuthorityInfoAccessExtension);AttributeFactory.register(xe.id_pkcs9_at_challengePassword,ChallengePasswordAttribute);AttributeFactory.register(xe.id_pkcs9_at_extensionRequest,ExtensionsAttribute);Ce.container.registerSingleton(Lt,AsnDefaultSignatureFormatter);Ce.container.registerSingleton(Lt,AsnEcSignatureFormatter);AsnEcSignatureFormatter.namedCurveSize.set("P-256",32);AsnEcSignatureFormatter.namedCurveSize.set("K-256",32);AsnEcSignatureFormatter.namedCurveSize.set("P-384",48);AsnEcSignatureFormatter.namedCurveSize.set("P-521",66);pe.AlgorithmProvider=AlgorithmProvider;pe.AsnData=AsnData;pe.AsnDefaultSignatureFormatter=AsnDefaultSignatureFormatter;pe.AsnEcSignatureFormatter=AsnEcSignatureFormatter;pe.Attribute=Attribute;pe.AttributeFactory=AttributeFactory;pe.AuthorityInfoAccessExtension=AuthorityInfoAccessExtension;pe.AuthorityKeyIdentifierExtension=AuthorityKeyIdentifierExtension;pe.BasicConstraintsExtension=BasicConstraintsExtension;pe.CRLDistributionPointsExtension=CRLDistributionPointsExtension;pe.CertificatePolicyExtension=CertificatePolicyExtension;pe.ChallengePasswordAttribute=ChallengePasswordAttribute;pe.CryptoProvider=CryptoProvider;pe.DefaultAlgorithmSerializer=DefaultAlgorithmSerializer;pe.ExtendedKeyUsageExtension=ExtendedKeyUsageExtension;pe.Extension=Extension;pe.ExtensionFactory=ExtensionFactory;pe.ExtensionsAttribute=ExtensionsAttribute;pe.GeneralName=GeneralName;pe.GeneralNames=GeneralNames;pe.KeyUsagesExtension=KeyUsagesExtension;pe.Name=Name;pe.NameIdentifier=NameIdentifier;pe.OidSerializer=OidSerializer;pe.PemConverter=PemConverter;pe.Pkcs10CertificateRequest=Pkcs10CertificateRequest;pe.Pkcs10CertificateRequestGenerator=Pkcs10CertificateRequestGenerator;pe.PublicKey=PublicKey;pe.SubjectAlternativeNameExtension=SubjectAlternativeNameExtension;pe.SubjectKeyIdentifierExtension=SubjectKeyIdentifierExtension;pe.TextConverter=TextConverter;pe.TextObject=TextObject;pe.X509Certificate=X509Certificate;pe.X509CertificateGenerator=X509CertificateGenerator;pe.X509Certificates=X509Certificates;pe.X509ChainBuilder=X509ChainBuilder;pe.X509Crl=X509Crl;pe.X509CrlEntry=X509CrlEntry;pe.X509CrlGenerator=X509CrlGenerator;pe.cryptoProvider=ft;pe.diAlgorithm=De;pe.diAlgorithmProvider=ke;pe.diAsnSignatureFormatter=Lt;pe.idEd25519=Wt;pe.idEd448=Jt;pe.idX25519=Ht;pe.idX448=Vt},53892:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.Tagged=pe.diagnose=pe.decodeFirstSync=pe.decodeFirst=pe.encodeAsync=pe.decode=pe.encode=pe.encodeCanonical=pe.toArrayBuffer=pe.EMPTY_BUFFER=pe.Sign1Tag=void 0;const he=Ae(4114);Object.defineProperty(pe,"encodeCanonical",{enumerable:true,get:function(){return he.encodeCanonical}});Object.defineProperty(pe,"encode",{enumerable:true,get:function(){return he.encode}});Object.defineProperty(pe,"decode",{enumerable:true,get:function(){return he.decode}});Object.defineProperty(pe,"encodeAsync",{enumerable:true,get:function(){return he.encodeAsync}});Object.defineProperty(pe,"decodeFirst",{enumerable:true,get:function(){return he.decodeFirst}});Object.defineProperty(pe,"decodeFirstSync",{enumerable:true,get:function(){return he.decodeFirstSync}});Object.defineProperty(pe,"diagnose",{enumerable:true,get:function(){return he.diagnose}});Object.defineProperty(pe,"Tagged",{enumerable:true,get:function(){return he.Tagged}});const ge=Ae(63015);Object.defineProperty(pe,"toArrayBuffer",{enumerable:true,get:function(){return ge.toArrayBuffer}});pe.Sign1Tag=18;pe.EMPTY_BUFFER=(0,ge.toArrayBuffer)(new Uint8Array)},63015:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.toArrayBuffer=void 0;const toArrayBuffer=R=>{if(R instanceof ArrayBuffer){return R}return R.buffer.slice(R.byteOffset,R.byteLength+R.byteOffset)};pe.toArrayBuffer=toArrayBuffer},3251:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.COSE_Encrypt=pe.COSE_Sign1=pe.COSE_Encrypt0=pe.Curve=pe.Epk=pe.KeyType=pe.EC2=pe.Direct=pe.KeyWrap=pe.KeyAgreementWithKeyWrap=pe.KeyAgreement=pe.Receipt=pe.Signature=pe.Hash=pe.Aead=pe.A128GCM=pe.Unprotected=pe.Protected=pe.PayloadHashAlgorithm=pe.PayloadPreImageContentType=pe.PayloadLocation=pe.ProofType=pe.ContentType=pe.PartyVOther=pe.PartyVNonce=pe.PartyVIdentity=pe.PartyUOther=pe.PartyUNonce=pe.PartyUIdentity=pe.HeaderParameters=pe.UnprotectedHeader=pe.ProtectedHeader=void 0;const ProtectedHeader=R=>new Map(R);pe.ProtectedHeader=ProtectedHeader;const UnprotectedHeader=R=>new Map(R);pe.UnprotectedHeader=UnprotectedHeader;pe.HeaderParameters={Alg:1,Epk:-1,Kid:4,X5t:34};pe.PartyUIdentity=-21;pe.PartyUNonce=-22;pe.PartyUOther=-23;pe.PartyVIdentity=-24;pe.PartyVNonce=-25;pe.PartyVOther=-26;pe.ContentType=3;pe.ProofType=395;pe.PayloadLocation=-6801;pe.PayloadPreImageContentType=-6802;pe.PayloadHashAlgorithm=-6800;pe.Protected=Object.assign(Object.assign({},pe.HeaderParameters),{PartyUIdentity:pe.PartyUIdentity,PartyUNonce:pe.PartyUNonce,PartyUOther:pe.PartyUOther,PartyVIdentity:pe.PartyVIdentity,PartyVNonce:pe.PartyVNonce,PartyVOther:pe.PartyVOther,ContentType:pe.ContentType,ProofType:pe.ProofType,PayloadHashAlgorithm:pe.PayloadHashAlgorithm,PayloadPreImageContentType:pe.PayloadPreImageContentType,PayloadLocation:pe.PayloadLocation});pe.Unprotected=Object.assign(Object.assign({},pe.HeaderParameters),{Iv:5,Ek:-4});pe.A128GCM=1;pe.Aead={A128GCM:pe.A128GCM};pe.Hash={SHA256:-16};pe.Signature={ES256:-7};pe.Receipt={Inclusion:1};pe.KeyAgreement={"ECDH-ES+HKDF-256":-25};pe.KeyAgreementWithKeyWrap={"ECDH-ES+A128KW":-29};pe.KeyWrap={A128KW:-3};pe.Direct={"HPKE-Base-P256-SHA256-AES128GCM":35};pe.EC2=2;pe.KeyType={EC2:pe.EC2};pe.Epk={Kty:1,Crv:-1,Alg:3};pe.Curve={P256:1};pe.COSE_Encrypt0=16;pe.COSE_Sign1=18;pe.COSE_Encrypt=96},38853:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.IANACOSEAlgorithms=void 0;pe.IANACOSEAlgorithms={0:{Name:"Reserved",Value:"0",Description:"",Capabilities:"","Change Controller":"",Reference:"https://datatracker.ietf.org/doc/RFC9053",Recommended:"No"},1:{Name:"A128GCM",Value:"1",Description:"AES-GCM mode w/ 128-bit key, 128-bit tag",Capabilities:"[kty]","Change Controller":"",Reference:"https://datatracker.ietf.org/doc/RFC9053",Recommended:"Yes"},2:{Name:"A192GCM",Value:"2",Description:"AES-GCM mode w/ 192-bit key, 128-bit tag",Capabilities:"[kty]","Change Controller":"",Reference:"https://datatracker.ietf.org/doc/RFC9053",Recommended:"Yes"},3:{Name:"A256GCM",Value:"3",Description:"AES-GCM mode w/ 256-bit key, 128-bit tag",Capabilities:"[kty]","Change Controller":"",Reference:"https://datatracker.ietf.org/doc/RFC9053",Recommended:"Yes"},4:{Name:"HMAC 256/64",Value:"4",Description:"HMAC w/ SHA-256 truncated to 64 bits",Capabilities:"[kty]","Change Controller":"",Reference:"https://datatracker.ietf.org/doc/RFC9053",Recommended:"Yes"},5:{Name:"HMAC 256/256",Value:"5",Description:"HMAC w/ SHA-256",Capabilities:"[kty]","Change Controller":"",Reference:"https://datatracker.ietf.org/doc/RFC9053",Recommended:"Yes"},6:{Name:"HMAC 384/384",Value:"6",Description:"HMAC w/ SHA-384",Capabilities:"[kty]","Change Controller":"",Reference:"https://datatracker.ietf.org/doc/RFC9053",Recommended:"Yes"},7:{Name:"HMAC 512/512",Value:"7",Description:"HMAC w/ SHA-512",Capabilities:"[kty]","Change Controller":"",Reference:"https://datatracker.ietf.org/doc/RFC9053",Recommended:"Yes"},10:{Name:"AES-CCM-16-64-128",Value:"10",Description:"AES-CCM mode 128-bit key, 64-bit tag, 13-byte nonce",Capabilities:"[kty]","Change Controller":"",Reference:"https://datatracker.ietf.org/doc/RFC9053",Recommended:"Yes"},11:{Name:"AES-CCM-16-64-256",Value:"11",Description:"AES-CCM mode 256-bit key, 64-bit tag, 13-byte nonce",Capabilities:"[kty]","Change Controller":"",Reference:"https://datatracker.ietf.org/doc/RFC9053",Recommended:"Yes"},12:{Name:"AES-CCM-64-64-128",Value:"12",Description:"AES-CCM mode 128-bit key, 64-bit tag, 7-byte nonce",Capabilities:"[kty]","Change Controller":"",Reference:"https://datatracker.ietf.org/doc/RFC9053",Recommended:"Yes"},13:{Name:"AES-CCM-64-64-256",Value:"13",Description:"AES-CCM mode 256-bit key, 64-bit tag, 7-byte nonce",Capabilities:"[kty]","Change Controller":"",Reference:"https://datatracker.ietf.org/doc/RFC9053",Recommended:"Yes"},14:{Name:"AES-MAC 128/64",Value:"14",Description:"AES-MAC 128-bit key, 64-bit tag",Capabilities:"[kty]","Change Controller":"",Reference:"https://datatracker.ietf.org/doc/RFC9053",Recommended:"Yes"},15:{Name:"AES-MAC 256/64",Value:"15",Description:"AES-MAC 256-bit key, 64-bit tag",Capabilities:"[kty]","Change Controller":"",Reference:"https://datatracker.ietf.org/doc/RFC9053",Recommended:"Yes"},24:{Name:"ChaCha20/Poly1305",Value:"24",Description:"ChaCha20/Poly1305 w/ 256-bit key, 128-bit tag",Capabilities:"[kty]","Change Controller":"",Reference:"https://datatracker.ietf.org/doc/RFC9053",Recommended:"Yes"},25:{Name:"AES-MAC 128/128",Value:"25",Description:"AES-MAC 128-bit key, 128-bit tag",Capabilities:"[kty]","Change Controller":"",Reference:"https://datatracker.ietf.org/doc/RFC9053",Recommended:"Yes"},26:{Name:"AES-MAC 256/128",Value:"26",Description:"AES-MAC 256-bit key, 128-bit tag",Capabilities:"[kty]","Change Controller":"",Reference:"https://datatracker.ietf.org/doc/RFC9053",Recommended:"Yes"},30:{Name:"AES-CCM-16-128-128",Value:"30",Description:"AES-CCM mode 128-bit key, 128-bit tag, 13-byte nonce",Capabilities:"[kty]","Change Controller":"",Reference:"https://datatracker.ietf.org/doc/RFC9053",Recommended:"Yes"},31:{Name:"AES-CCM-16-128-256",Value:"31",Description:"AES-CCM mode 256-bit key, 128-bit tag, 13-byte nonce",Capabilities:"[kty]","Change Controller":"",Reference:"https://datatracker.ietf.org/doc/RFC9053",Recommended:"Yes"},32:{Name:"AES-CCM-64-128-128",Value:"32",Description:"AES-CCM mode 128-bit key, 128-bit tag, 7-byte nonce",Capabilities:"[kty]","Change Controller":"",Reference:"https://datatracker.ietf.org/doc/RFC9053",Recommended:"Yes"},33:{Name:"AES-CCM-64-128-256",Value:"33",Description:"AES-CCM mode 256-bit key, 128-bit tag, 7-byte nonce",Capabilities:"[kty]","Change Controller":"",Reference:"https://datatracker.ietf.org/doc/RFC9053",Recommended:"Yes"},34:{Name:"IV-GENERATION",Value:"34",Description:"For doing IV generation for symmetric algorithms.",Capabilities:"","Change Controller":"",Reference:"https://datatracker.ietf.org/doc/RFC9053",Recommended:"No"},"less than -65536":{Name:"Reserved for Private Use",Value:"less than -65536",Description:"",Capabilities:"","Change Controller":"",Reference:"https://datatracker.ietf.org/doc/RFC9053",Recommended:"No"},"-65536":{Name:"Unassigned",Value:"-65536",Description:"",Capabilities:"","Change Controller":"",Reference:"",Recommended:""},"-65535":{Name:"RS1",Value:"-65535",Description:"RSASSA-PKCS1-v1_5 using SHA-1",Capabilities:"[kty]","Change Controller":"IESG",Reference:"https://datatracker.ietf.org/doc/RFC8812][RFC9053",Recommended:"Deprecated"},"-65534":{Name:"A128CTR",Value:"-65534",Description:"AES-CTR w/ 128-bit key",Capabilities:"[kty]","Change Controller":"IETF",Reference:"https://datatracker.ietf.org/doc/RFC9459",Recommended:"Deprecated"},"-65533":{Name:"A192CTR",Value:"-65533",Description:"AES-CTR w/ 192-bit key",Capabilities:"[kty]","Change Controller":"IETF",Reference:"https://datatracker.ietf.org/doc/RFC9459",Recommended:"Deprecated"},"-65532":{Name:"A256CTR",Value:"-65532",Description:"AES-CTR w/ 256-bit key",Capabilities:"[kty]","Change Controller":"IETF",Reference:"https://datatracker.ietf.org/doc/RFC9459",Recommended:"Deprecated"},"-65531":{Name:"A128CBC",Value:"-65531",Description:"AES-CBC w/ 128-bit key",Capabilities:"[kty]","Change Controller":"IETF",Reference:"https://datatracker.ietf.org/doc/RFC9459",Recommended:"Deprecated"},"-65530":{Name:"A192CBC",Value:"-65530",Description:"AES-CBC w/ 192-bit key",Capabilities:"[kty]","Change Controller":"IETF",Reference:"https://datatracker.ietf.org/doc/RFC9459",Recommended:"Deprecated"},"-65529":{Name:"A256CBC",Value:"-65529",Description:"AES-CBC w/ 256-bit key",Capabilities:"[kty]","Change Controller":"IETF",Reference:"https://datatracker.ietf.org/doc/RFC9459",Recommended:"Deprecated"},"-65528 to -261":{Name:"Unassigned",Value:"-65528 to -261",Description:"",Capabilities:"","Change Controller":"",Reference:"",Recommended:""},"-260":{Name:"WalnutDSA",Value:"-260",Description:"WalnutDSA signature",Capabilities:"[kty]","Change Controller":"",Reference:"https://datatracker.ietf.org/doc/RFC9021][RFC9053",Recommended:"No"},"-259":{Name:"RS512",Value:"-259",Description:"RSASSA-PKCS1-v1_5 using SHA-512",Capabilities:"[kty]","Change Controller":"IESG",Reference:"https://datatracker.ietf.org/doc/RFC8812][RFC9053",Recommended:"No"},"-258":{Name:"RS384",Value:"-258",Description:"RSASSA-PKCS1-v1_5 using SHA-384",Capabilities:"[kty]","Change Controller":"IESG",Reference:"https://datatracker.ietf.org/doc/RFC8812][RFC9053",Recommended:"No"},"-257":{Name:"RS256",Value:"-257",Description:"RSASSA-PKCS1-v1_5 using SHA-256",Capabilities:"[kty]","Change Controller":"IESG",Reference:"https://datatracker.ietf.org/doc/RFC8812][RFC9053",Recommended:"No"},"-256 to -48":{Name:"Unassigned",Value:"-256 to -48",Description:"",Capabilities:"","Change Controller":"",Reference:"",Recommended:""},"-47":{Name:"ES256K",Value:"-47",Description:"ECDSA using secp256k1 curve and SHA-256",Capabilities:"[kty]","Change Controller":"IESG",Reference:"https://datatracker.ietf.org/doc/RFC8812][RFC9053",Recommended:"No"},"-46":{Name:"HSS-LMS",Value:"-46",Description:"HSS/LMS hash-based digital signature",Capabilities:"[kty]","Change Controller":"",Reference:"https://datatracker.ietf.org/doc/RFC8778][RFC9053",Recommended:"Yes"},"-45":{Name:"SHAKE256",Value:"-45",Description:"SHAKE-256 512-bit Hash Value",Capabilities:"[kty]","Change Controller":"",Reference:"https://datatracker.ietf.org/doc/RFC9054][RFC9053",Recommended:"Yes"},"-44":{Name:"SHA-512",Value:"-44",Description:"SHA-2 512-bit Hash",Capabilities:"[kty]","Change Controller":"",Reference:"https://datatracker.ietf.org/doc/RFC9054][RFC9053",Recommended:"Yes"},"-43":{Name:"SHA-384",Value:"-43",Description:"SHA-2 384-bit Hash",Capabilities:"[kty]","Change Controller":"",Reference:"https://datatracker.ietf.org/doc/RFC9054][RFC9053",Recommended:"Yes"},"-42":{Name:"RSAES-OAEP w/ SHA-512",Value:"-42",Description:"RSAES-OAEP w/ SHA-512",Capabilities:"[kty]","Change Controller":"",Reference:"https://datatracker.ietf.org/doc/RFC8230][RFC9053",Recommended:"Yes"},"-41":{Name:"RSAES-OAEP w/ SHA-256",Value:"-41",Description:"RSAES-OAEP w/ SHA-256",Capabilities:"[kty]","Change Controller":"",Reference:"https://datatracker.ietf.org/doc/RFC8230][RFC9053",Recommended:"Yes"},"-40":{Name:"RSAES-OAEP w/ RFC 8017 default parameters",Value:"-40",Description:"RSAES-OAEP w/ SHA-1",Capabilities:"[kty]","Change Controller":"",Reference:"https://datatracker.ietf.org/doc/RFC8230][RFC9053",Recommended:"Yes"},"-39":{Name:"PS512",Value:"-39",Description:"RSASSA-PSS w/ SHA-512",Capabilities:"[kty]","Change Controller":"",Reference:"https://datatracker.ietf.org/doc/RFC8230][RFC9053",Recommended:"Yes"},"-38":{Name:"PS384",Value:"-38",Description:"RSASSA-PSS w/ SHA-384",Capabilities:"[kty]","Change Controller":"",Reference:"https://datatracker.ietf.org/doc/RFC8230][RFC9053",Recommended:"Yes"},"-37":{Name:"PS256",Value:"-37",Description:"RSASSA-PSS w/ SHA-256",Capabilities:"[kty]","Change Controller":"",Reference:"https://datatracker.ietf.org/doc/RFC8230][RFC9053",Recommended:"Yes"},"-36":{Name:"ES512",Value:"-36",Description:"ECDSA w/ SHA-512",Capabilities:"[kty]","Change Controller":"",Reference:"https://datatracker.ietf.org/doc/RFC9053",Recommended:"Yes"},"-35":{Name:"ES384",Value:"-35",Description:"ECDSA w/ SHA-384",Capabilities:"[kty]","Change Controller":"",Reference:"https://datatracker.ietf.org/doc/RFC9053",Recommended:"Yes"},"-34":{Name:"ECDH-SS + A256KW",Value:"-34",Description:"ECDH SS w/ Concat KDF and AES Key Wrap w/ 256-bit key",Capabilities:"[kty]","Change Controller":"",Reference:"https://datatracker.ietf.org/doc/RFC9053",Recommended:"Yes"},"-33":{Name:"ECDH-SS + A192KW",Value:"-33",Description:"ECDH SS w/ Concat KDF and AES Key Wrap w/ 192-bit key",Capabilities:"[kty]","Change Controller":"",Reference:"https://datatracker.ietf.org/doc/RFC9053",Recommended:"Yes"},"-32":{Name:"ECDH-SS + A128KW",Value:"-32",Description:"ECDH SS w/ Concat KDF and AES Key Wrap w/ 128-bit key",Capabilities:"[kty]","Change Controller":"",Reference:"https://datatracker.ietf.org/doc/RFC9053",Recommended:"Yes"},"-31":{Name:"ECDH-ES + A256KW",Value:"-31",Description:"ECDH ES w/ Concat KDF and AES Key Wrap w/ 256-bit key",Capabilities:"[kty]","Change Controller":"",Reference:"https://datatracker.ietf.org/doc/RFC9053",Recommended:"Yes"},"-30":{Name:"ECDH-ES + A192KW",Value:"-30",Description:"ECDH ES w/ Concat KDF and AES Key Wrap w/ 192-bit key",Capabilities:"[kty]","Change Controller":"",Reference:"https://datatracker.ietf.org/doc/RFC9053",Recommended:"Yes"},"-29":{Name:"ECDH-ES + A128KW",Value:"-29",Description:"ECDH ES w/ Concat KDF and AES Key Wrap w/ 128-bit key",Capabilities:"[kty]","Change Controller":"",Reference:"https://datatracker.ietf.org/doc/RFC9053",Recommended:"Yes"},"-28":{Name:"ECDH-SS + HKDF-512",Value:"-28",Description:"ECDH SS w/ HKDF - generate key directly",Capabilities:"[kty]","Change Controller":"",Reference:"https://datatracker.ietf.org/doc/RFC9053",Recommended:"Yes"},"-27":{Name:"ECDH-SS + HKDF-256",Value:"-27",Description:"ECDH SS w/ HKDF - generate key directly",Capabilities:"[kty]","Change Controller":"",Reference:"https://datatracker.ietf.org/doc/RFC9053",Recommended:"Yes"},"-26":{Name:"ECDH-ES + HKDF-512",Value:"-26",Description:"ECDH ES w/ HKDF - generate key directly",Capabilities:"[kty]","Change Controller":"",Reference:"https://datatracker.ietf.org/doc/RFC9053",Recommended:"Yes"},"-25":{Name:"ECDH-ES + HKDF-256",Value:"-25",Description:"ECDH ES w/ HKDF - generate key directly",Capabilities:"[kty]","Change Controller":"",Reference:"https://datatracker.ietf.org/doc/RFC9053",Recommended:"Yes"},"-24 to -19":{Name:"Unassigned",Value:"-24 to -19",Description:"",Capabilities:"","Change Controller":"",Reference:"",Recommended:""},"-18":{Name:"SHAKE128",Value:"-18",Description:"SHAKE-128 256-bit Hash Value",Capabilities:"[kty]","Change Controller":"",Reference:"https://datatracker.ietf.org/doc/RFC9054][RFC9053",Recommended:"Yes"},"-17":{Name:"SHA-512/256",Value:"-17",Description:"SHA-2 512-bit Hash truncated to 256-bits",Capabilities:"[kty]","Change Controller":"",Reference:"https://datatracker.ietf.org/doc/RFC9054][RFC9053",Recommended:"Yes"},"-16":{Name:"SHA-256",Value:"-16",Description:"SHA-2 256-bit Hash",Capabilities:"[kty]","Change Controller":"",Reference:"https://datatracker.ietf.org/doc/RFC9054][RFC9053",Recommended:"Yes"},"-15":{Name:"SHA-256/64",Value:"-15",Description:"SHA-2 256-bit Hash truncated to 64-bits",Capabilities:"[kty]","Change Controller":"",Reference:"https://datatracker.ietf.org/doc/RFC9054][RFC9053",Recommended:"Filter Only"},"-14":{Name:"SHA-1",Value:"-14",Description:"SHA-1 Hash",Capabilities:"[kty]","Change Controller":"",Reference:"https://datatracker.ietf.org/doc/RFC9054][RFC9053",Recommended:"Filter Only"},"-13":{Name:"direct+HKDF-AES-256",Value:"-13",Description:"Shared secret w/ AES-MAC 256-bit key",Capabilities:"[kty]","Change Controller":"",Reference:"https://datatracker.ietf.org/doc/RFC9053",Recommended:"Yes"},"-12":{Name:"direct+HKDF-AES-128",Value:"-12",Description:"Shared secret w/ AES-MAC 128-bit key",Capabilities:"[kty]","Change Controller":"",Reference:"https://datatracker.ietf.org/doc/RFC9053",Recommended:"Yes"},"-11":{Name:"direct+HKDF-SHA-512",Value:"-11",Description:"Shared secret w/ HKDF and SHA-512",Capabilities:"[kty]","Change Controller":"",Reference:"https://datatracker.ietf.org/doc/RFC9053",Recommended:"Yes"},"-10":{Name:"direct+HKDF-SHA-256",Value:"-10",Description:"Shared secret w/ HKDF and SHA-256",Capabilities:"[kty]","Change Controller":"",Reference:"https://datatracker.ietf.org/doc/RFC9053",Recommended:"Yes"},"-9":{Name:"Unassigned",Value:"-9",Description:"",Capabilities:"","Change Controller":"",Reference:"",Recommended:""},"-8":{Name:"EdDSA",Value:"-8",Description:"EdDSA",Capabilities:"[kty]","Change Controller":"",Reference:"https://datatracker.ietf.org/doc/RFC9053",Recommended:"Yes"},"-7":{Name:"ES256",Value:"-7",Description:"ECDSA w/ SHA-256",Capabilities:"[kty]","Change Controller":"",Reference:"https://datatracker.ietf.org/doc/RFC9053",Recommended:"Yes"},"-6":{Name:"direct",Value:"-6",Description:"Direct use of CEK",Capabilities:"[kty]","Change Controller":"",Reference:"https://datatracker.ietf.org/doc/RFC9053",Recommended:"Yes"},"-5":{Name:"A256KW",Value:"-5",Description:"AES Key Wrap w/ 256-bit key",Capabilities:"[kty]","Change Controller":"",Reference:"https://datatracker.ietf.org/doc/RFC9053",Recommended:"Yes"},"-4":{Name:"A192KW",Value:"-4",Description:"AES Key Wrap w/ 192-bit key",Capabilities:"[kty]","Change Controller":"",Reference:"https://datatracker.ietf.org/doc/RFC9053",Recommended:"Yes"},"-3":{Name:"A128KW",Value:"-3",Description:"AES Key Wrap w/ 128-bit key",Capabilities:"[kty]","Change Controller":"",Reference:"https://datatracker.ietf.org/doc/RFC9053",Recommended:"Yes"},"-2 to -1":{Name:"Unassigned",Value:"-2 to -1",Description:"",Capabilities:"","Change Controller":"",Reference:"",Recommended:""},"8-9":{Name:"Unassigned",Value:"8-9",Description:"",Capabilities:"","Change Controller":"",Reference:"",Recommended:""},"16-23":{Name:"Unassigned",Value:"16-23",Description:"",Capabilities:"","Change Controller":"",Reference:"",Recommended:""},"27-29":{Name:"Unassigned",Value:"27-29",Description:"",Capabilities:"","Change Controller":"",Reference:"",Recommended:""}}},75824:function(R,pe,Ae){"use strict";var he=this&&this.__createBinding||(Object.create?function(R,pe,Ae,he){if(he===undefined)he=Ae;var ge=Object.getOwnPropertyDescriptor(pe,Ae);if(!ge||("get"in ge?!pe.__esModule:ge.writable||ge.configurable)){ge={enumerable:true,get:function(){return pe[Ae]}}}Object.defineProperty(R,he,ge)}:function(R,pe,Ae,he){if(he===undefined)he=Ae;R[he]=pe[Ae]});var ge=this&&this.__setModuleDefault||(Object.create?function(R,pe){Object.defineProperty(R,"default",{enumerable:true,value:pe})}:function(R,pe){R["default"]=pe});var me=this&&this.__importStar||function(R){if(R&&R.__esModule)return R;var pe={};if(R!=null)for(var Ae in R)if(Ae!=="default"&&Object.prototype.hasOwnProperty.call(R,Ae))he(pe,R,Ae);ge(pe,R);return pe};var ye=this&&this.__awaiter||function(R,pe,Ae,he){function adopt(R){return R instanceof Ae?R:new Ae((function(pe){pe(R)}))}return new(Ae||(Ae=Promise))((function(Ae,ge){function fulfilled(R){try{step(he.next(R))}catch(R){ge(R)}}function rejected(R){try{step(he["throw"](R))}catch(R){ge(R)}}function step(R){R.done?Ae(R.value):adopt(R.value).then(fulfilled,rejected)}step((he=he.apply(R,pe||[])).next())}))};Object.defineProperty(pe,"__esModule",{value:true});pe.verifier=pe.signer=void 0;const ve=me(Ae(78724));const signer=({remote:R})=>{const pe=ve.signer({remote:R});return{sign:R=>pe.sign(R)}};pe.signer=signer;const verifier=({resolver:R})=>({verify:pe=>ye(void 0,void 0,void 0,(function*(){const Ae=ve.verifier({resolver:R});return Ae.verify(pe)}))});pe.verifier=verifier},27464:function(R,pe,Ae){"use strict";var he=this&&this.__createBinding||(Object.create?function(R,pe,Ae,he){if(he===undefined)he=Ae;var ge=Object.getOwnPropertyDescriptor(pe,Ae);if(!ge||("get"in ge?!pe.__esModule:ge.writable||ge.configurable)){ge={enumerable:true,get:function(){return pe[Ae]}}}Object.defineProperty(R,he,ge)}:function(R,pe,Ae,he){if(he===undefined)he=Ae;R[he]=pe[Ae]});var ge=this&&this.__setModuleDefault||(Object.create?function(R,pe){Object.defineProperty(R,"default",{enumerable:true,value:pe})}:function(R,pe){R["default"]=pe});var me=this&&this.__importStar||function(R){if(R&&R.__esModule)return R;var pe={};if(R!=null)for(var Ae in R)if(Ae!=="default"&&Object.prototype.hasOwnProperty.call(R,Ae))he(pe,R,Ae);ge(pe,R);return pe};var ye=this&&this.__awaiter||function(R,pe,Ae,he){function adopt(R){return R instanceof Ae?R:new Ae((function(pe){pe(R)}))}return new(Ae||(Ae=Promise))((function(Ae,ge){function fulfilled(R){try{step(he.next(R))}catch(R){ge(R)}}function rejected(R){try{step(he["throw"](R))}catch(R){ge(R)}}function step(R){R.done?Ae(R.value):adopt(R.value).then(fulfilled,rejected)}step((he=he.apply(R,pe||[])).next())}))};Object.defineProperty(pe,"__esModule",{value:true});pe.verifier=pe.signer=void 0;const ve=me(Ae(78724));const be=Ae(53892);const Ee=Ae(3251);const signer=({remote:R})=>{const pe=ve.signer({remote:R});return{sign:R=>ye(void 0,void 0,void 0,(function*(){if(R.unprotectedHeader===undefined){R.unprotectedHeader=(0,Ee.UnprotectedHeader)([])}const Ae=yield pe.sign(R);const he=(0,be.decodeFirstSync)(Ae);he.value[2]=null;return(0,be.encodeAsync)(new be.Tagged(be.Sign1Tag,he.value),{canonical:true})}))}};pe.signer=signer;const verifier=({resolver:R})=>{const pe=ve.verifier({resolver:R});return{verify:R=>ye(void 0,void 0,void 0,(function*(){const Ae=(0,be.decodeFirstSync)(R.coseSign1);const he=(0,be.toArrayBuffer)(R.payload);Ae.value[2]=he;const ge=yield(0,be.encodeAsync)(new be.Tagged(be.Sign1Tag,Ae.value),{canonical:true});return pe.verify({coseSign1:ge})}))}};pe.verifier=verifier},80424:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.IANACOSEEllipticCurves=void 0;pe.IANACOSEEllipticCurves={0:{Name:"Reserved",Value:"0","Key Type":"",Description:"","Change Controller":"",Reference:"https://datatracker.ietf.org/doc/RFC9053",Recommended:"No"},"Integer values less than -65536":{Name:"Reserved for Private Use",Value:"Integer values less than -65536","Key Type":"",Description:"","Change Controller":"",Reference:"https://datatracker.ietf.org/doc/RFC9053",Recommended:"No"},"-65536 to -1":{Name:"Unassigned",Value:"-65536 to -1","Key Type":"",Description:"","Change Controller":"",Reference:"",Recommended:""},"EC2-P-256":{Name:"P-256",Value:"1","Key Type":"EC2",Description:"NIST P-256 also known as secp256r1","Change Controller":"",Reference:"https://datatracker.ietf.org/doc/RFC9053",Recommended:"Yes"},"EC2-P-384":{Name:"P-384",Value:"2","Key Type":"EC2",Description:"NIST P-384 also known as secp384r1","Change Controller":"",Reference:"https://datatracker.ietf.org/doc/RFC9053",Recommended:"Yes"},"EC2-P-521":{Name:"P-521",Value:"3","Key Type":"EC2",Description:"NIST P-521 also known as secp521r1","Change Controller":"",Reference:"https://datatracker.ietf.org/doc/RFC9053",Recommended:"Yes"},"OKP-X25519":{Name:"X25519",Value:"4","Key Type":"OKP",Description:"X25519 for use w/ ECDH only","Change Controller":"",Reference:"https://datatracker.ietf.org/doc/RFC9053",Recommended:"Yes"},"OKP-X448":{Name:"X448",Value:"5","Key Type":"OKP",Description:"X448 for use w/ ECDH only","Change Controller":"",Reference:"https://datatracker.ietf.org/doc/RFC9053",Recommended:"Yes"},"OKP-Ed25519":{Name:"Ed25519",Value:"6","Key Type":"OKP",Description:"Ed25519 for use w/ EdDSA only","Change Controller":"",Reference:"https://datatracker.ietf.org/doc/RFC9053",Recommended:"Yes"},"OKP-Ed448":{Name:"Ed448",Value:"7","Key Type":"OKP",Description:"Ed448 for use w/ EdDSA only","Change Controller":"",Reference:"https://datatracker.ietf.org/doc/RFC9053",Recommended:"Yes"},"EC2-secp256k1":{Name:"secp256k1",Value:"8","Key Type":"EC2",Description:"SECG secp256k1 curve","Change Controller":"IESG",Reference:"https://datatracker.ietf.org/doc/RFC8812",Recommended:"No"},"9-255":{Name:"Unassigned",Value:"9-255","Key Type":"",Description:"","Change Controller":"",Reference:"",Recommended:""},"EC2-brainpoolP256r1":{Name:"brainpoolP256r1",Value:"256","Key Type":"EC2",Description:"BrainpoolP256r1","Change Controller":"[ISO/IEC JTC 1/SC 17/WG 10]",Reference:"[ISO/IEC 18013-5:2021, 9.1.5.2]",Recommended:"No"},"EC2-brainpoolP320r1":{Name:"brainpoolP320r1",Value:"257","Key Type":"EC2",Description:"BrainpoolP320r1","Change Controller":"[ISO/IEC JTC 1/SC 17/WG 10]",Reference:"[ISO/IEC 18013-5:2021, 9.1.5.2]",Recommended:"No"},"EC2-brainpoolP384r1":{Name:"brainpoolP384r1",Value:"258","Key Type":"EC2",Description:"BrainpoolP384r1","Change Controller":"[ISO/IEC JTC 1/SC 17/WG 10]",Reference:"[ISO/IEC 18013-5:2021, 9.1.5.2]",Recommended:"No"},"EC2-brainpoolP512r1":{Name:"brainpoolP512r1",Value:"259","Key Type":"EC2",Description:"BrainpoolP512r1","Change Controller":"[ISO/IEC JTC 1/SC 17/WG 10]",Reference:"[ISO/IEC 18013-5:2021, 9.1.5.2]",Recommended:"No"}}},71129:function(R,pe,Ae){"use strict";var he=this&&this.__awaiter||function(R,pe,Ae,he){function adopt(R){return R instanceof Ae?R:new Ae((function(pe){pe(R)}))}return new(Ae||(Ae=Promise))((function(Ae,ge){function fulfilled(R){try{step(he.next(R))}catch(R){ge(R)}}function rejected(R){try{step(he["throw"](R))}catch(R){ge(R)}}function step(R){R.done?Ae(R.value):adopt(R.value).then(fulfilled,rejected)}step((he=he.apply(R,pe||[])).next())}))};var ge=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});pe.wrap=pe.unwrap=pe.encrypt=pe.decrypt=pe.generateKey=pe.getIv=void 0;const me=ge(Ae(9282));const ye=Ae(59160);const ve={1:128};const getIv=R=>he(void 0,void 0,void 0,(function*(){let pe=16;if(R===1){pe=16}return(0,ye.getRandomBytes)(pe)}));pe.getIv=getIv;const generateKey=R=>he(void 0,void 0,void 0,(function*(){let pe=16;if(R===1){pe=16}return(0,ye.getRandomBytes)(pe)}));pe.generateKey=generateKey;function decrypt(R,pe,Ae,ge,ye){return he(this,void 0,void 0,(function*(){if(R!==1){throw new Error("Unsupported cose algorithm: "+R)}const he=yield(0,me.default)();return he.decrypt({name:"AES-GCM",iv:Ae,additionalData:ge,tagLength:ve[R]},yield he.importKey("raw",ye,{name:"AES-GCM"},false,["encrypt","decrypt"]),pe)}))}pe.decrypt=decrypt;function encrypt(R,pe,Ae,ge,ye){return he(this,void 0,void 0,(function*(){if(R!==1){throw new Error("Unsupported cose algorithm: "+R)}const he=yield(0,me.default)();return he.encrypt({name:"AES-GCM",iv:Ae,additionalData:ge,tagLength:ve[R]},yield he.importKey("raw",ye,{name:"AES-GCM"},false,["encrypt","decrypt"]),pe)}))}pe.encrypt=encrypt;function unwrap(R,pe,Ae){return he(this,void 0,void 0,(function*(){if(R!==-3){throw new Error("Unsupported cose algorithm: "+R)}const he=yield(0,me.default)();const ge=yield he.unwrapKey("raw",pe,yield he.importKey("raw",Ae,{name:"AES-KW"},false,["unwrapKey"]),"AES-KW",{name:"AES-GCM"},true,["decrypt"]);return he.exportKey("raw",ge)}))}pe.unwrap=unwrap;function wrap(R,pe,Ae){return he(this,void 0,void 0,(function*(){if(R!==-3){throw new Error("Unsupported cose algorithm: "+R)}const he=yield(0,me.default)();return he.wrapKey("raw",yield he.importKey("raw",pe,{name:"AES-GCM"},true,["encrypt"]),yield he.importKey("raw",Ae,{name:"AES-KW"},true,["wrapKey"]),"AES-KW")}))}pe.wrap=wrap},82732:function(R,pe,Ae){"use strict";var he=this&&this.__createBinding||(Object.create?function(R,pe,Ae,he){if(he===undefined)he=Ae;var ge=Object.getOwnPropertyDescriptor(pe,Ae);if(!ge||("get"in ge?!pe.__esModule:ge.writable||ge.configurable)){ge={enumerable:true,get:function(){return pe[Ae]}}}Object.defineProperty(R,he,ge)}:function(R,pe,Ae,he){if(he===undefined)he=Ae;R[he]=pe[Ae]});var ge=this&&this.__setModuleDefault||(Object.create?function(R,pe){Object.defineProperty(R,"default",{enumerable:true,value:pe})}:function(R,pe){R["default"]=pe});var me=this&&this.__importStar||function(R){if(R&&R.__esModule)return R;var pe={};if(R!=null)for(var Ae in R)if(Ae!=="default"&&Object.prototype.hasOwnProperty.call(R,Ae))he(pe,R,Ae);ge(pe,R);return pe};var ye=this&&this.__awaiter||function(R,pe,Ae,he){function adopt(R){return R instanceof Ae?R:new Ae((function(pe){pe(R)}))}return new(Ae||(Ae=Promise))((function(Ae,ge){function fulfilled(R){try{step(he.next(R))}catch(R){ge(R)}}function rejected(R){try{step(he["throw"](R))}catch(R){ge(R)}}function step(R){R.done?Ae(R.value):adopt(R.value).then(fulfilled,rejected)}step((he=he.apply(R,pe||[])).next())}))};Object.defineProperty(pe,"__esModule",{value:true});pe.decrypt=pe.encrypt=void 0;const ve=Ae(56516);const be=Ae(4114);const Ee=Ae(53892);const Ce=me(Ae(71129));const we=me(Ae(82918));const Ie=Ae(3251);const _e=Ae(59160);const Be=me(Ae(81980));const Se=Ae(3251);const Qe=Ae(53892);const getCoseAlgFromRecipientJwk=R=>{if(R.crv==="P-256"){return Ie.KeyAgreement["ECDH-ES+HKDF-256"]}};const encrypt=R=>ye(void 0,void 0,void 0,(function*(){if(R.unprotectedHeader===undefined){R.unprotectedHeader=(0,Se.UnprotectedHeader)([])}if(R.recipients.keys.length!==1){throw new Error("Direct encryption requires a single recipient")}const pe=R.recipients.keys[0];if(pe.crv!=="P-256"){throw new Error("Only P-256 is supported currently")}if(pe.alg===Be.primaryAlgorithm.label){return Be.encrypt.direct(R)}const Ae=R.protectedHeader.get(Ie.Protected.Alg);const he=yield(0,be.encodeAsync)(R.protectedHeader);const ge=R.unprotectedHeader;const me=getCoseAlgFromRecipientJwk(pe);const ye=yield(0,be.encodeAsync)((0,Ie.ProtectedHeader)([[1,me]]));const xe=yield(0,ve.generate)("ES256","application/jwk+json");const De=yield we.deriveKey(he,ye,pe,xe);const ke=yield Ce.getIv(Ae);ge.set(Ie.Unprotected.Iv,ke);const Oe=(0,ve.publicFromPrivate)(xe);const Re=yield(0,ve.convertJsonWebKeyToCoseKey)(Oe);const Pe=[[Ie.Unprotected.Epk,Re]];if(pe.kid){Pe.push([Ie.Unprotected.Kid,pe.kid])}const Te=(0,Se.UnprotectedHeader)(Pe);const Ne=R.aad?(0,Qe.toArrayBuffer)(R.aad):Ee.EMPTY_BUFFER;const Me=yield(0,_e.createAAD)(he,"Encrypt",Ne);const Fe=yield Ce.encrypt(Ae,new Uint8Array(R.plaintext),new Uint8Array(ke),new Uint8Array(Me),new Uint8Array(De));const je=[[ye,Te,Ee.EMPTY_BUFFER]];return(0,be.encodeAsync)(new be.Tagged(Ie.COSE_Encrypt,[he,ge,Fe,je]),{canonical:true})}));pe.encrypt=encrypt;const decrypt=R=>ye(void 0,void 0,void 0,(function*(){const pe=R.recipients.keys[0];if(pe.alg===Be.primaryAlgorithm.label){return Be.decrypt.direct(R)}const Ae=yield(0,be.decodeFirst)(R.ciphertext);if(Ae.tag!==Ie.COSE_Encrypt){throw new Error("Only tag 96 cose encrypt are supported")}const[he,ge,me,ye]=Ae.value;if(ye.length!==1){throw new Error("Expected a single recipient for direct decryption")}const[Se]=ye;const[xe,De,ke]=Se;if(ke.length!==0){throw new Error("Expected recipient cipher text length to the be zero")}const Oe=(0,be.decode)(xe);const Re=Oe.get(Ie.Protected.Alg);const Pe=De.get(Ie.Unprotected.Epk);Pe.set(Ie.Epk.Alg,Re);const Te=yield(0,ve.convertCoseKeyToJsonWebKey)(Pe);const Ne=yield we.deriveKey(he,xe,Te,pe);const Me=R.aad?(0,Qe.toArrayBuffer)(R.aad):Ee.EMPTY_BUFFER;const Fe=yield(0,_e.createAAD)(he,"Encrypt",Me);const je=ge.get(Ie.Unprotected.Iv);const Le=(0,be.decode)(he);const Ue=Le.get(Ie.Protected.Alg);return Ce.decrypt(Ue,me,new Uint8Array(je),new Uint8Array(Fe),new Uint8Array(Ne))}));pe.decrypt=decrypt},82918:function(R,pe,Ae){"use strict";var he=this&&this.__awaiter||function(R,pe,Ae,he){function adopt(R){return R instanceof Ae?R:new Ae((function(pe){pe(R)}))}return new(Ae||(Ae=Promise))((function(Ae,ge){function fulfilled(R){try{step(he.next(R))}catch(R){ge(R)}}function rejected(R){try{step(he["throw"](R))}catch(R){ge(R)}}function step(R){R.done?Ae(R.value):adopt(R.value).then(fulfilled,rejected)}step((he=he.apply(R,pe||[])).next())}))};var ge=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});pe.deriveKey=void 0;const me=ge(Ae(9282));const ye=Ae(14641);const ve=Ae(4114);const be={"-3":16,1:16,2:24,3:32,10:16,11:32,12:16,13:32,30:16,31:32,32:16,33:32,"P-521":66,"P-256":32};function createContext(R,pe,Ae){return(0,ve.encodeAsync)([pe,[null,Ae||null,null],[null,null,null],[be[`${pe}`]*8,R]])}const deriveKey=(R,pe,Ae,ge)=>he(void 0,void 0,void 0,(function*(){const he=(0,ve.decode)(R);const be=he.get(1);if(be!==1){throw new Error("Unsupported COSE Algorithm: "+be)}const Ee=(0,ve.decode)(pe);const Ce=Ee.get(1);if(Ce!==-25&&Ce!==-29){throw new Error("Unsupported COSE Algorithm: "+Ce)}const we=yield(0,me.default)();const Ie=yield we.deriveBits({name:"ECDH",namedCurve:"P-256",public:yield(0,ye.publicKeyFromJwk)(Ae)},yield(0,ye.privateKeyFromJwk)(ge),256);let _e=undefined;if(Ce===-25){_e=yield createContext(pe,be,null)}if(Ce===-29){_e=yield createContext(pe,-3,null)}const Be=yield we.importKey("raw",Ie,{name:"HKDF"},false,["deriveKey","deriveBits"]);const Se=yield we.deriveBits({name:"HKDF",hash:"SHA-256",salt:new Uint8Array,info:new Uint8Array(_e)},Be,128);return Se}));pe.deriveKey=deriveKey},37637:function(R,pe,Ae){"use strict";var he=this&&this.__awaiter||function(R,pe,Ae,he){function adopt(R){return R instanceof Ae?R:new Ae((function(pe){pe(R)}))}return new(Ae||(Ae=Promise))((function(Ae,ge){function fulfilled(R){try{step(he.next(R))}catch(R){ge(R)}}function rejected(R){try{step(he["throw"](R))}catch(R){ge(R)}}function step(R){R.done?Ae(R.value):adopt(R.value).then(fulfilled,rejected)}step((he=he.apply(R,pe||[])).next())}))};var ge=this&&this.__rest||function(R,pe){var Ae={};for(var he in R)if(Object.prototype.hasOwnProperty.call(R,he)&&pe.indexOf(he)<0)Ae[he]=R[he];if(R!=null&&typeof Object.getOwnPropertySymbols==="function")for(var ge=0,he=Object.getOwnPropertySymbols(R);ge{if(pe){return(0,Ee.encode)([R,pe])}return R};pe.computeHPKEAad=computeHPKEAad;const isKeyAlgorithmSupported=R=>{const pe=Object.keys(ye.suites);return pe.includes(`${R.alg}`)};pe.isKeyAlgorithmSupported=isKeyAlgorithmSupported;const formatJWK=R=>{const{kid:pe,alg:Ae,kty:he,crv:ge,x:me,y:ye,d:ve}=R;return JSON.parse(JSON.stringify({kid:pe,alg:Ae,kty:he,crv:ge,x:me,y:ye,d:ve}))};pe.formatJWK=formatJWK;const publicFromPrivate=R=>{const{kid:pe,alg:Ae,kty:he,crv:me,x:ye,y:ve}=R,be=ge(R,["kid","alg","kty","crv","x","y"]);return{kid:pe,alg:Ae,kty:he,crv:me,x:ye,y:ve}};pe.publicFromPrivate=publicFromPrivate;const publicKeyFromJwk=R=>he(void 0,void 0,void 0,(function*(){const pe=yield(0,ve.default)();const Ae=yield pe.importKey("jwk",R,{name:"ECDH",namedCurve:R.crv},true,[]);return Ae}));pe.publicKeyFromJwk=publicKeyFromJwk;const privateKeyFromJwk=R=>he(void 0,void 0,void 0,(function*(){const pe=yield(0,ve.default)();const Ae=yield pe.importKey("jwk",R,{name:"ECDH",namedCurve:R.crv},true,["deriveBits","deriveKey"]);return Ae}));pe.privateKeyFromJwk=privateKeyFromJwk;const generate=R=>he(void 0,void 0,void 0,(function*(){if(!ye.suites[R]){throw new Error("Algorithm not supported")}let Ae;if(R.includes("P256")){Ae=yield(0,be.generateKeyPair)("ECDH-ES+A256KW",{crv:"P-256",extractable:true})}else if(R.includes("P384")){Ae=yield(0,be.generateKeyPair)("ECDH-ES+A256KW",{crv:"P-384",extractable:true})}else{throw new Error("Could not generate private key for "+R)}const he=yield(0,be.exportJWK)(Ae.privateKey);he.kid=yield(0,be.calculateJwkThumbprintUri)(he);he.alg=R;return(0,pe.formatJWK)(he)}));pe.generate=generate},82745:function(R,pe,Ae){"use strict";var he=this&&this.__awaiter||function(R,pe,Ae,he){function adopt(R){return R instanceof Ae?R:new Ae((function(pe){pe(R)}))}return new(Ae||(Ae=Promise))((function(Ae,ge){function fulfilled(R){try{step(he.next(R))}catch(R){ge(R)}}function rejected(R){try{step(he["throw"](R))}catch(R){ge(R)}}function step(R){R.done?Ae(R.value):adopt(R.value).then(fulfilled,rejected)}step((he=he.apply(R,pe||[])).next())}))};Object.defineProperty(pe,"__esModule",{value:true});pe.computeInfo=void 0;const ge=Ae(4114);const me={35:16};const compute_PartyInfo=(R,pe,Ae)=>[R||null,pe||null,Ae||null];const compute_COSE_KDF_Context=(R,pe,Ae,he,ye)=>{const ve=[R,pe,Ae,[me[`${R}`]*8,he]];if(ye){ve.push(ye)}return(0,ge.encodeAsync)(ve)};const computeInfo=R=>he(void 0,void 0,void 0,(function*(){let pe=undefined;const Ae=R.get(1);const he=R.get(-21)||null;const me=R.get(-22)||null;const ye=R.get(-23)||null;const ve=R.get(-24)||null;const be=R.get(-25)||null;const Ee=R.get(-26)||null;if(me||be){pe=yield compute_COSE_KDF_Context(Ae,compute_PartyInfo(he,me,ye),compute_PartyInfo(ve,be,Ee),yield(0,ge.encodeAsync)(R))}return pe}));pe.computeInfo=computeInfo},73354:function(R,pe,Ae){"use strict";var he=this&&this.__awaiter||function(R,pe,Ae,he){function adopt(R){return R instanceof Ae?R:new Ae((function(pe){pe(R)}))}return new(Ae||(Ae=Promise))((function(Ae,ge){function fulfilled(R){try{step(he.next(R))}catch(R){ge(R)}}function rejected(R){try{step(he["throw"](R))}catch(R){ge(R)}}function step(R){R.done?Ae(R.value):adopt(R.value).then(fulfilled,rejected)}step((he=he.apply(R,pe||[])).next())}))};Object.defineProperty(pe,"__esModule",{value:true});pe.decryptDirect=pe.encryptDirect=void 0;const ge=Ae(3251);const me=Ae(4114);const ye=Ae(82745);const ve=Ae(87777);const be=Ae(37637);const encryptDirect=R=>he(void 0,void 0,void 0,(function*(){if(R.unprotectedHeader===undefined){R.unprotectedHeader=(0,ge.UnprotectedHeader)([])}const pe=R.protectedHeader.get(ge.Protected.Alg);if(pe!==ge.Direct["HPKE-Base-P256-SHA256-AES128GCM"]){throw new Error("Only alg 35 is supported")}const Ae=yield(0,me.encodeAsync)(R.protectedHeader);const he=R.unprotectedHeader;const[Ee]=R.recipients.keys;const Ce=ve.suites[Ee.alg];const we=yield(0,ye.computeInfo)(R.protectedHeader);const Ie=yield Ce.createSenderContext({info:we,recipientPublicKey:yield(0,be.publicKeyFromJwk)(Ee)});const _e=(0,be.computeHPKEAad)(Ae);const Be=yield Ie.seal(R.plaintext,_e);he.set(ge.Unprotected.Kid,Ee.kid);he.set(ge.Unprotected.Ek,Ie.enc);return(0,me.encodeAsync)(new me.Tagged(ge.COSE_Encrypt0,[Ae,he,Be]),{canonical:true})}));pe.encryptDirect=encryptDirect;const decryptDirect=R=>he(void 0,void 0,void 0,(function*(){const pe=yield(0,me.decodeFirst)(R.ciphertext);if(pe.tag!==ge.COSE_Encrypt0){throw new Error("Only tag 16 cose encrypt are supported")}const[Ae,he,Ee]=pe.value;const Ce=he.get(ge.Unprotected.Kid).toString();const we=R.recipients.keys.find((R=>R.kid===Ce));const Ie=yield(0,me.decodeFirst)(Ae);const _e=he.get(ge.Unprotected.Ek);const Be=ve.suites[we.alg];const Se=yield(0,ye.computeInfo)(Ie);const Qe=yield Be.createRecipientContext({info:Se,recipientKey:yield(0,be.privateKeyFromJwk)(we),enc:_e});const xe=(0,be.computeHPKEAad)(Ae);const De=yield Qe.open(Ee,xe);return De}));pe.decryptDirect=decryptDirect},81980:function(R,pe,Ae){"use strict";var he=this&&this.__createBinding||(Object.create?function(R,pe,Ae,he){if(he===undefined)he=Ae;var ge=Object.getOwnPropertyDescriptor(pe,Ae);if(!ge||("get"in ge?!pe.__esModule:ge.writable||ge.configurable)){ge={enumerable:true,get:function(){return pe[Ae]}}}Object.defineProperty(R,he,ge)}:function(R,pe,Ae,he){if(he===undefined)he=Ae;R[he]=pe[Ae]});var ge=this&&this.__exportStar||function(R,pe){for(var Ae in R)if(Ae!=="default"&&!Object.prototype.hasOwnProperty.call(pe,Ae))he(pe,R,Ae)};Object.defineProperty(pe,"__esModule",{value:true});pe.encrypt=pe.decrypt=void 0;const me=Ae(20740);const ye=Ae(73354);ge(Ae(87777),pe);pe.decrypt={wrap:me.decryptWrap,direct:ye.decryptDirect};pe.encrypt={direct:ye.encryptDirect,wrap:me.encryptWrap}},87777:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.suites=pe.secondaryAlgorithm=pe.primaryAlgorithm=void 0;const he=Ae(5760);pe.primaryAlgorithm={label:`HPKE-Base-P256-SHA256-AES128GCM`,value:35};pe.secondaryAlgorithm={label:`HPKE-Base-P384-SHA384-AES256GCM`,value:37};pe.suites={["HPKE-Base-P256-SHA256-AES128GCM"]:new he.CipherSuite({kem:he.KemId.DhkemP256HkdfSha256,kdf:he.KdfId.HkdfSha256,aead:he.AeadId.Aes128Gcm}),["HPKE-Base-P384-SHA256-AES128GCM"]:new he.CipherSuite({kem:he.KemId.DhkemP384HkdfSha384,kdf:he.KdfId.HkdfSha256,aead:he.AeadId.Aes128Gcm})}},20740:function(R,pe,Ae){"use strict";var he=this&&this.__createBinding||(Object.create?function(R,pe,Ae,he){if(he===undefined)he=Ae;var ge=Object.getOwnPropertyDescriptor(pe,Ae);if(!ge||("get"in ge?!pe.__esModule:ge.writable||ge.configurable)){ge={enumerable:true,get:function(){return pe[Ae]}}}Object.defineProperty(R,he,ge)}:function(R,pe,Ae,he){if(he===undefined)he=Ae;R[he]=pe[Ae]});var ge=this&&this.__setModuleDefault||(Object.create?function(R,pe){Object.defineProperty(R,"default",{enumerable:true,value:pe})}:function(R,pe){R["default"]=pe});var me=this&&this.__importStar||function(R){if(R&&R.__esModule)return R;var pe={};if(R!=null)for(var Ae in R)if(Ae!=="default"&&Object.prototype.hasOwnProperty.call(R,Ae))he(pe,R,Ae);ge(pe,R);return pe};var ye=this&&this.__awaiter||function(R,pe,Ae,he){function adopt(R){return R instanceof Ae?R:new Ae((function(pe){pe(R)}))}return new(Ae||(Ae=Promise))((function(Ae,ge){function fulfilled(R){try{step(he.next(R))}catch(R){ge(R)}}function rejected(R){try{step(he["throw"](R))}catch(R){ge(R)}}function step(R){R.done?Ae(R.value):adopt(R.value).then(fulfilled,rejected)}step((he=he.apply(R,pe||[])).next())}))};Object.defineProperty(pe,"__esModule",{value:true});pe.decryptWrap=pe.encryptWrap=void 0;const ve=Ae(59160);const be=Ae(3251);const Ee=Ae(53892);const Ce=Ae(4114);const we=Ae(82745);const Ie=me(Ae(71129));const _e=Ae(4114);const Be=Ae(53892);const Se=Ae(87777);const Qe=Ae(37637);const encryptWrap=R=>ye(void 0,void 0,void 0,(function*(){if(R.unprotectedHeader===undefined){R.unprotectedHeader=(0,be.UnprotectedHeader)([])}const pe=R.protectedHeader.get(1);if(pe!==1){throw new Error("Only A128GCM is supported at this time")}const Ae=R.unprotectedHeader;const he=(0,_e.encode)(R.protectedHeader);const ge=yield Ie.generateKey(pe);const me=yield Ie.getIv(pe);Ae.set(5,me);const ye=[];for(const pe of R.recipients.keys){const R=Se.suites[pe.alg];const Ae=new Map([[1,35]]);const me=(0,_e.encode)(Ae);const ve=yield(0,we.computeInfo)(Ae);const be=yield R.createSenderContext({info:ve,recipientPublicKey:yield(0,Qe.publicKeyFromJwk)(pe)});const Ee=(0,Qe.computeHPKEAad)(he,me);const Ce=yield be.seal(ge,Ee);const Ie=Buffer.from(be.enc);const Be=new Map([[4,pe.kid],[-4,Ie]]);ye.push([me,Be,Ce])}const xe=R.aad?(0,Be.toArrayBuffer)(R.aad):Ee.EMPTY_BUFFER;const De=yield(0,ve.createAAD)(he,"Encrypt",xe);const ke=yield Ie.encrypt(pe,new Uint8Array(R.plaintext),new Uint8Array(me),new Uint8Array(De),new Uint8Array(ge));return(0,Ce.encodeAsync)(new Ce.Tagged(be.COSE_Encrypt,[he,Ae,ke,ye]),{canonical:true})}));pe.encryptWrap=encryptWrap;const decryptWrap=R=>ye(void 0,void 0,void 0,(function*(){const pe=yield(0,Ce.decodeFirst)(R.ciphertext);if(pe.tag!==be.COSE_Encrypt){throw new Error("Only tag 96 cose encrypt are supported")}const[Ae,he,ge,me]=pe.value;const[ye]=me;const[_e,xe,De]=ye;const ke=xe.get(be.Unprotected.Kid).toString();const Oe=R.recipients.keys.find((R=>R.kid===ke));const Re=yield(0,Ce.decodeFirst)(_e);const Pe=xe.get(be.Unprotected.Ek);const Te=Se.suites[Oe.alg];const Ne=yield(0,we.computeInfo)(Re);const Me=yield Te.createRecipientContext({info:Ne,recipientKey:yield(0,Qe.privateKeyFromJwk)(Oe),enc:Pe});const Fe=(0,Qe.computeHPKEAad)(Ae,_e);const je=yield Me.open(De,Fe);const Le=he.get(be.Unprotected.Iv);const Ue=R.aad?(0,Be.toArrayBuffer)(R.aad):Ee.EMPTY_BUFFER;const He=yield(0,ve.createAAD)(Ae,"Encrypt",Ue);const Ve=yield(0,Ce.decodeFirst)(Ae);const We=Ve.get(be.Protected.Alg);return Ie.decrypt(We,ge,new Uint8Array(Le),new Uint8Array(He),new Uint8Array(je))}));pe.decryptWrap=decryptWrap},3821:function(R,pe,Ae){"use strict";var he=this&&this.__createBinding||(Object.create?function(R,pe,Ae,he){if(he===undefined)he=Ae;var ge=Object.getOwnPropertyDescriptor(pe,Ae);if(!ge||("get"in ge?!pe.__esModule:ge.writable||ge.configurable)){ge={enumerable:true,get:function(){return pe[Ae]}}}Object.defineProperty(R,he,ge)}:function(R,pe,Ae,he){if(he===undefined)he=Ae;R[he]=pe[Ae]});var ge=this&&this.__setModuleDefault||(Object.create?function(R,pe){Object.defineProperty(R,"default",{enumerable:true,value:pe})}:function(R,pe){R["default"]=pe});var me=this&&this.__importStar||function(R){if(R&&R.__esModule)return R;var pe={};if(R!=null)for(var Ae in R)if(Ae!=="default"&&Object.prototype.hasOwnProperty.call(R,Ae))he(pe,R,Ae);ge(pe,R);return pe};Object.defineProperty(pe,"__esModule",{value:true});pe.decrypt=pe.encrypt=void 0;const ye=me(Ae(82732));const ve=me(Ae(52299));pe.encrypt={direct:ye.encrypt,wrap:ve.encrypt};pe.decrypt={direct:ye.decrypt,wrap:ve.decrypt}},14641:function(R,pe,Ae){"use strict";var he=this&&this.__awaiter||function(R,pe,Ae,he){function adopt(R){return R instanceof Ae?R:new Ae((function(pe){pe(R)}))}return new(Ae||(Ae=Promise))((function(Ae,ge){function fulfilled(R){try{step(he.next(R))}catch(R){ge(R)}}function rejected(R){try{step(he["throw"](R))}catch(R){ge(R)}}function step(R){R.done?Ae(R.value):adopt(R.value).then(fulfilled,rejected)}step((he=he.apply(R,pe||[])).next())}))};var ge=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});pe.privateKeyFromJwk=pe.publicKeyFromJwk=void 0;const me=ge(Ae(9282));const publicKeyFromJwk=R=>he(void 0,void 0,void 0,(function*(){const pe=yield(0,me.default)();const Ae=yield pe.importKey("jwk",R,{name:"ECDH",namedCurve:R.crv},true,[]);return Ae}));pe.publicKeyFromJwk=publicKeyFromJwk;const privateKeyFromJwk=R=>he(void 0,void 0,void 0,(function*(){const pe=yield(0,me.default)();const Ae=yield pe.importKey("jwk",R,{name:"ECDH",namedCurve:R.crv},true,["deriveBits","deriveKey"]);return Ae}));pe.privateKeyFromJwk=privateKeyFromJwk},59160:function(R,pe,Ae){"use strict";var he=this&&this.__createBinding||(Object.create?function(R,pe,Ae,he){if(he===undefined)he=Ae;var ge=Object.getOwnPropertyDescriptor(pe,Ae);if(!ge||("get"in ge?!pe.__esModule:ge.writable||ge.configurable)){ge={enumerable:true,get:function(){return pe[Ae]}}}Object.defineProperty(R,he,ge)}:function(R,pe,Ae,he){if(he===undefined)he=Ae;R[he]=pe[Ae]});var ge=this&&this.__setModuleDefault||(Object.create?function(R,pe){Object.defineProperty(R,"default",{enumerable:true,value:pe})}:function(R,pe){R["default"]=pe});var me=this&&this.__importStar||function(R){if(R&&R.__esModule)return R;var pe={};if(R!=null)for(var Ae in R)if(Ae!=="default"&&Object.prototype.hasOwnProperty.call(R,Ae))he(pe,R,Ae);ge(pe,R);return pe};var ye=this&&this.__awaiter||function(R,pe,Ae,he){function adopt(R){return R instanceof Ae?R:new Ae((function(pe){pe(R)}))}return new(Ae||(Ae=Promise))((function(Ae,ge){function fulfilled(R){try{step(he.next(R))}catch(R){ge(R)}}function rejected(R){try{step(he["throw"](R))}catch(R){ge(R)}}function step(R){R.done?Ae(R.value):adopt(R.value).then(fulfilled,rejected)}step((he=he.apply(R,pe||[])).next())}))};Object.defineProperty(pe,"__esModule",{value:true});pe.createAAD=pe.getRandomBytes=void 0;const ve=Ae(4114);const be=Promise.resolve().then((()=>me(Ae(6113)))).catch((()=>{}));const getRandomBytes=(R=16)=>ye(void 0,void 0,void 0,(function*(){try{return crypto.getRandomValues(new Uint8Array(R))}catch(pe){return(yield be).randomFillSync(new Uint8Array(R))}}));pe.getRandomBytes=getRandomBytes;function createAAD(R,pe,Ae){return ye(this,void 0,void 0,(function*(){const he=[pe,R,Ae];return(0,ve.encodeAsync)(he)}))}pe.createAAD=createAAD},52299:function(R,pe,Ae){"use strict";var he=this&&this.__createBinding||(Object.create?function(R,pe,Ae,he){if(he===undefined)he=Ae;var ge=Object.getOwnPropertyDescriptor(pe,Ae);if(!ge||("get"in ge?!pe.__esModule:ge.writable||ge.configurable)){ge={enumerable:true,get:function(){return pe[Ae]}}}Object.defineProperty(R,he,ge)}:function(R,pe,Ae,he){if(he===undefined)he=Ae;R[he]=pe[Ae]});var ge=this&&this.__setModuleDefault||(Object.create?function(R,pe){Object.defineProperty(R,"default",{enumerable:true,value:pe})}:function(R,pe){R["default"]=pe});var me=this&&this.__importStar||function(R){if(R&&R.__esModule)return R;var pe={};if(R!=null)for(var Ae in R)if(Ae!=="default"&&Object.prototype.hasOwnProperty.call(R,Ae))he(pe,R,Ae);ge(pe,R);return pe};var ye=this&&this.__awaiter||function(R,pe,Ae,he){function adopt(R){return R instanceof Ae?R:new Ae((function(pe){pe(R)}))}return new(Ae||(Ae=Promise))((function(Ae,ge){function fulfilled(R){try{step(he.next(R))}catch(R){ge(R)}}function rejected(R){try{step(he["throw"](R))}catch(R){ge(R)}}function step(R){R.done?Ae(R.value):adopt(R.value).then(fulfilled,rejected)}step((he=he.apply(R,pe||[])).next())}))};Object.defineProperty(pe,"__esModule",{value:true});pe.encrypt=pe.decrypt=void 0;const ve=Ae(56516);const be=Ae(4114);const Ee=me(Ae(71129));const Ce=me(Ae(82918));const we=Ae(59160);const Ie=Ae(53892);const _e=me(Ae(81980));const Be=Ae(3251);const Se=Ae(53892);const decrypt=R=>ye(void 0,void 0,void 0,(function*(){const pe=yield(0,be.decodeFirst)(R.ciphertext);const[Ae,he,ge,me]=pe.value;const[ye]=me;const[Qe,xe,De]=ye;const ke=xe.get(Be.Unprotected.Kid).toString();const Oe=R.recipients.keys.find((R=>R.kid===ke));if(Oe.alg==="HPKE-Base-P256-SHA256-AES128GCM"){return _e.decrypt.wrap(R)}if(pe.tag!==Be.COSE_Encrypt){throw new Error("Only tag 96 cose encrypt are supported")}const Re=yield(0,be.decodeFirst)(Qe);const Pe=Re.get(Be.Protected.Alg);const Te=xe.get(Be.Unprotected.Epk);Te.set(Be.Epk.Alg,Pe);const Ne=yield(0,ve.convertCoseKeyToJsonWebKey)(Te);const Me=yield Ce.deriveKey(Ae,Qe,Ne,Oe);const Fe=he.get(Be.Unprotected.Iv);const je=R.aad?(0,Se.toArrayBuffer)(R.aad):Ie.EMPTY_BUFFER;const Le=yield(0,we.createAAD)(Ae,"Encrypt",je);let Ue=Be.KeyWrap.A128KW;if(Pe===Be.KeyAgreementWithKeyWrap["ECDH-ES+A128KW"]){Ue=Be.KeyWrap.A128KW}const He=yield Ee.unwrap(Ue,De,new Uint8Array(Me));const Ve=yield(0,be.decodeFirst)(Ae);const We=Ve.get(Be.Protected.Alg);return Ee.decrypt(We,ge,new Uint8Array(Fe),new Uint8Array(Le),new Uint8Array(He))}));pe.decrypt=decrypt;const getCoseAlgFromRecipientJwk=R=>{if(R.crv==="P-256"){return Be.KeyAgreementWithKeyWrap["ECDH-ES+A128KW"]}};const encrypt=R=>ye(void 0,void 0,void 0,(function*(){if(R.unprotectedHeader===undefined){R.unprotectedHeader=(0,Be.UnprotectedHeader)([])}if(R.recipients.keys.length!==1){throw new Error("Direct encryption requires a single recipient")}const pe=R.recipients.keys[0];if(pe.crv!=="P-256"){throw new Error("Only P-256 is supported currently")}if(pe.alg==="HPKE-Base-P256-SHA256-AES128GCM"){return _e.encrypt.wrap(R)}const Ae=R.protectedHeader.get(Be.Protected.Alg);if(Ae!==Be.Aead.A128GCM){throw new Error("Only A128GCM is supported currently")}const he=yield(0,be.encodeAsync)(R.protectedHeader);const ge=R.unprotectedHeader;const me=getCoseAlgFromRecipientJwk(pe);const ye=yield(0,be.encodeAsync)((0,Be.ProtectedHeader)([[Be.Protected.Alg,Be.KeyAgreementWithKeyWrap["ECDH-ES+A128KW"]]]));const Qe=yield(0,ve.generate)("ES256","application/jwk+json");const xe=yield Ce.deriveKey(he,ye,pe,Qe);const De=yield Ee.generateKey(Ae);const ke=yield Ee.getIv(Ae);ge.set(Be.Unprotected.Iv,ke);let Oe=Be.KeyWrap.A128KW;if(me===Be.KeyAgreementWithKeyWrap["ECDH-ES+A128KW"]){Oe=Be.KeyWrap.A128KW}const Re=yield Ee.wrap(Oe,De,new Uint8Array(xe));const Pe=(0,ve.publicFromPrivate)(Qe);const Te=yield(0,ve.convertJsonWebKeyToCoseKey)(Pe);const Ne=[[Be.Unprotected.Epk,Te]];if(pe.kid){Ne.push([Be.Unprotected.Kid,pe.kid])}const Me=(0,Be.UnprotectedHeader)(Ne);const Fe=R.aad?(0,Se.toArrayBuffer)(R.aad):Ie.EMPTY_BUFFER;const je=yield(0,we.createAAD)(he,"Encrypt",Fe);const Le=yield Ee.encrypt(Ae,new Uint8Array(R.plaintext),new Uint8Array(ke),new Uint8Array(je),new Uint8Array(De));const Ue=[[ye,Me,Re]];return(0,be.encodeAsync)(new be.Tagged(Be.COSE_Encrypt,[he,ge,Le,Ue]),{canonical:true})}));pe.encrypt=encrypt},2488:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.IANACOSEHeaderParameters=void 0;pe.IANACOSEHeaderParameters={0:{Name:"Reserved",Label:"0","Value Type":"","Value Registry":"",Description:"",Reference:"https://datatracker.ietf.org/doc/RFC9052"},1:{Name:"alg",Label:"1","Value Type":"int / tstr","Value Registry":"COSE Algorithms registry",Description:"Cryptographic algorithm to use",Reference:"https://datatracker.ietf.org/doc/RFC9052"},2:{Name:"crit",Label:"2","Value Type":"[+ label]","Value Registry":"COSE Header Parameters registry",Description:"Critical headers to be understood",Reference:"https://datatracker.ietf.org/doc/RFC9052"},3:{Name:"content type",Label:"3","Value Type":"tstr / uint","Value Registry":"[COAP Content-Formats] or [Media Types] registry",Description:"Content type of the payload",Reference:"https://datatracker.ietf.org/doc/RFC9052"},4:{Name:"kid",Label:"4","Value Type":"bstr","Value Registry":"",Description:"Key identifier",Reference:"https://datatracker.ietf.org/doc/RFC9052"},5:{Name:"IV",Label:"5","Value Type":"bstr","Value Registry":"",Description:"Full Initialization Vector",Reference:"https://datatracker.ietf.org/doc/RFC9052"},6:{Name:"Partial IV",Label:"6","Value Type":"bstr","Value Registry":"",Description:"Partial Initialization Vector",Reference:"https://datatracker.ietf.org/doc/RFC9052"},7:{Name:"counter signature",Label:"7","Value Type":"COSE_Signature / [+ COSE_Signature ]","Value Registry":"",Description:"CBOR-encoded signature structure (Deprecated by [RFC9338])",Reference:"https://datatracker.ietf.org/doc/RFC8152"},8:{Name:"Unassigned",Label:"8","Value Type":"","Value Registry":"",Description:"",Reference:""},9:{Name:"CounterSignature0",Label:"9","Value Type":"bstr","Value Registry":"",Description:"Counter signature with implied signer and headers (Deprecated by [RFC9338])",Reference:"https://datatracker.ietf.org/doc/RFC8152"},10:{Name:"kid context",Label:"10","Value Type":"bstr","Value Registry":"",Description:"Identifies the context for the key identifier",Reference:"https://datatracker.ietf.org/doc/RFC8613, Section 5.1"},11:{Name:"Countersignature version 2",Label:"11","Value Type":"COSE_Countersignature / [+ COSE_Countersignature]","Value Registry":"",Description:"V2 countersignature attribute",Reference:"https://datatracker.ietf.org/doc/RFC9338"},12:{Name:"Countersignature0 version 2",Label:"12","Value Type":"COSE_Countersignature0","Value Registry":"",Description:"V2 Abbreviated Countersignature",Reference:"https://datatracker.ietf.org/doc/RFC9338"},13:{Name:"kcwt",Label:"13","Value Type":"COSE_Messages","Value Registry":"",Description:"A CBOR Web Token (CWT) containing a COSE_Key in a 'cnf' claim and possibly other claims. CWT is defined in [RFC8392]. COSE_Messages is defined in [RFC9052].",Reference:"https://datatracker.ietf.org/doc/RFC-ietf-lake-edhoc-22"},14:{Name:"kccs",Label:"14","Value Type":"map","Value Registry":"",Description:"A CWT Claims Set (CCS) containing a COSE_Key in a 'cnf' claim and possibly other claims. CCS is defined in [RFC8392].",Reference:"https://datatracker.ietf.org/doc/RFC-ietf-lake-edhoc-22"},15:{Name:"CWT Claims",Label:"15","Value Type":"map","Value Registry":"",Description:"Location for CWT Claims in COSE Header Parameters.",Reference:"https://datatracker.ietf.org/doc/RFC-ietf-cose-cwt-claims-in-headers-10"},32:{Name:"x5bag",Label:"32","Value Type":"COSE_X509","Value Registry":"",Description:"An unordered bag of X.509 certificates",Reference:"https://datatracker.ietf.org/doc/RFC9360"},33:{Name:"x5chain",Label:"33","Value Type":"COSE_X509","Value Registry":"",Description:"An ordered chain of X.509 certificates",Reference:"https://datatracker.ietf.org/doc/RFC9360"},34:{Name:"x5t",Label:"34","Value Type":"COSE_CertHash","Value Registry":"",Description:"Hash of an X.509 certificate",Reference:"https://datatracker.ietf.org/doc/RFC9360"},35:{Name:"x5u",Label:"35","Value Type":"uri","Value Registry":"",Description:"URI pointing to an X.509 certificate",Reference:"https://datatracker.ietf.org/doc/RFC9360"},256:{Name:"CUPHNonce",Label:"256","Value Type":"bstr","Value Registry":"",Description:"Challenge Nonce",Reference:"[FIDO Device Onboard Specification]"},257:{Name:"CUPHOwnerPubKey",Label:"257","Value Type":"array","Value Registry":"",Description:"Public Key",Reference:"[FIDO Device Onboard Specification]"},"less than -65536":{Name:"Reserved for Private Use",Label:"less than -65536","Value Type":"","Value Registry":"",Description:"",Reference:"https://datatracker.ietf.org/doc/RFC9052"},"-65536 to -1":{Name:"delegated to the COSE Header Algorithm Parameters registry",Label:"-65536 to -1","Value Type":"","Value Registry":"",Description:"",Reference:""},"16-31":{Name:"Unassigned",Label:"16-31","Value Type":"","Value Registry":"",Description:"",Reference:""},"36-255":{Name:"Unassigned",Label:"36-255","Value Type":"","Value Registry":"",Description:"",Reference:""}}},91830:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.IANACOSEKeyCommonParameters=void 0;pe.IANACOSEKeyCommonParameters={0:{Name:"Reserved",Label:"0","CBOR Type":"","Value Registry":"",Description:"",Reference:"https://datatracker.ietf.org/doc/RFC9052"},1:{Name:"kty",Label:"1","CBOR Type":"tstr / int","Value Registry":"COSE Key Types",Description:"Identification of the key type",Reference:"https://datatracker.ietf.org/doc/RFC9052"},2:{Name:"kid",Label:"2","CBOR Type":"bstr","Value Registry":"",Description:"Key identification value - match to kid in message",Reference:"https://datatracker.ietf.org/doc/RFC9052"},3:{Name:"alg",Label:"3","CBOR Type":"tstr / int","Value Registry":"COSE Algorithms",Description:"Key usage restriction to this algorithm",Reference:"https://datatracker.ietf.org/doc/RFC9052"},4:{Name:"key_ops",Label:"4","CBOR Type":"[+ (tstr/int)]","Value Registry":"",Description:"Restrict set of permissible operations",Reference:"https://datatracker.ietf.org/doc/RFC9052"},5:{Name:"Base IV",Label:"5","CBOR Type":"bstr","Value Registry":"",Description:"Base IV to be XORed with Partial IVs",Reference:"https://datatracker.ietf.org/doc/RFC9052"},"less than -65536":{Name:"Reserved for Private Use",Label:"less than -65536","CBOR Type":"","Value Registry":"",Description:"",Reference:"https://datatracker.ietf.org/doc/RFC9052"},"-65536 to -1":{Name:"used for key parameters specific to a single algorithm\n delegated to the COSE Key Type Parameters registry",Label:"-65536 to -1","CBOR Type":"","Value Registry":"",Description:"",Reference:"https://datatracker.ietf.org/doc/RFC9052"}}},82920:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.IANACOSEKeyTypeParameters=void 0;pe.IANACOSEKeyTypeParameters={"1-crv":{"Key Type":"1",Name:"crv",Label:"-1","CBOR Type":"int / tstr",Description:'EC identifier -- Taken from the "COSE Elliptic Curves" registry',Reference:"https://datatracker.ietf.org/doc/RFC9053"},"1-x":{"Key Type":"1",Name:"x",Label:"-2","CBOR Type":"bstr",Description:"Public Key",Reference:"https://datatracker.ietf.org/doc/RFC9053"},"1-d":{"Key Type":"1",Name:"d",Label:"-4","CBOR Type":"bstr",Description:"Private key",Reference:"https://datatracker.ietf.org/doc/RFC9053"},"2-crv":{"Key Type":"2",Name:"crv",Label:"-1","CBOR Type":"int / tstr",Description:'EC identifier -- Taken from the "COSE Elliptic Curves" registry',Reference:"https://datatracker.ietf.org/doc/RFC9053"},"2-x":{"Key Type":"2",Name:"x",Label:"-2","CBOR Type":"bstr",Description:"x-coordinate",Reference:"https://datatracker.ietf.org/doc/RFC9053"},"2-y":{"Key Type":"2",Name:"y",Label:"-3","CBOR Type":"bstr / bool",Description:"y-coordinate",Reference:"https://datatracker.ietf.org/doc/RFC9053"},"2-d":{"Key Type":"2",Name:"d",Label:"-4","CBOR Type":"bstr",Description:"Private key",Reference:"https://datatracker.ietf.org/doc/RFC9053"},"3-n":{"Key Type":"3",Name:"n",Label:"-1","CBOR Type":"bstr",Description:"the RSA modulus n",Reference:"https://datatracker.ietf.org/doc/RFC8230"},"3-e":{"Key Type":"3",Name:"e",Label:"-2","CBOR Type":"bstr",Description:"the RSA public exponent e",Reference:"https://datatracker.ietf.org/doc/RFC8230"},"3-d":{"Key Type":"3",Name:"d",Label:"-3","CBOR Type":"bstr",Description:"the RSA private exponent d",Reference:"https://datatracker.ietf.org/doc/RFC8230"},"3-p":{"Key Type":"3",Name:"p",Label:"-4","CBOR Type":"bstr",Description:"the prime factor p of n",Reference:"https://datatracker.ietf.org/doc/RFC8230"},"3-q":{"Key Type":"3",Name:"q",Label:"-5","CBOR Type":"bstr",Description:"the prime factor q of n",Reference:"https://datatracker.ietf.org/doc/RFC8230"},"3-dP":{"Key Type":"3",Name:"dP",Label:"-6","CBOR Type":"bstr",Description:"dP is d mod (p - 1)",Reference:"https://datatracker.ietf.org/doc/RFC8230"},"3-dQ":{"Key Type":"3",Name:"dQ",Label:"-7","CBOR Type":"bstr",Description:"dQ is d mod (q - 1)",Reference:"https://datatracker.ietf.org/doc/RFC8230"},"3-qInv":{"Key Type":"3",Name:"qInv",Label:"-8","CBOR Type":"bstr",Description:"qInv is the CRT coefficient q^(-1) mod p",Reference:"https://datatracker.ietf.org/doc/RFC8230"},"3-other":{"Key Type":"3",Name:"other",Label:"-9","CBOR Type":"array",Description:"other prime infos, an array",Reference:"https://datatracker.ietf.org/doc/RFC8230"},"3-r_i":{"Key Type":"3",Name:"r_i",Label:"-10","CBOR Type":"bstr",Description:"a prime factor r_i of n, where i >= 3",Reference:"https://datatracker.ietf.org/doc/RFC8230"},"3-d_i":{"Key Type":"3",Name:"d_i",Label:"-11","CBOR Type":"bstr",Description:"d_i = d mod (r_i - 1)",Reference:"https://datatracker.ietf.org/doc/RFC8230"},"3-t_i":{"Key Type":"3",Name:"t_i",Label:"-12","CBOR Type":"bstr",Description:"the CRT coefficient t_i = (r_1 * r_2 * ... *\n r_(i-1))^(-1) mod r_i",Reference:"https://datatracker.ietf.org/doc/RFC8230"},"4-k":{"Key Type":"4",Name:"k",Label:"-1","CBOR Type":"bstr",Description:"Key Value",Reference:"https://datatracker.ietf.org/doc/RFC9053"},"5-pub":{"Key Type":"5",Name:"pub",Label:"-1","CBOR Type":"bstr",Description:"Public key for HSS/LMS hash-based digital signature",Reference:"https://datatracker.ietf.org/doc/RFC8778"},"6-N":{"Key Type":"6",Name:"N",Label:"-1","CBOR Type":"uint",Description:"Group and Matrix (NxN) size",Reference:"https://datatracker.ietf.org/doc/RFC9021"},"6-q":{"Key Type":"6",Name:"q",Label:"-2","CBOR Type":"uint",Description:"Finite field F_q",Reference:"https://datatracker.ietf.org/doc/RFC9021"},"6-t-values":{"Key Type":"6",Name:"t-values",Label:"-3","CBOR Type":"array (of uint)",Description:"List of T-values, entries in F_q",Reference:"https://datatracker.ietf.org/doc/RFC9021"},"6-matrix 1":{"Key Type":"6",Name:"matrix 1",Label:"-4","CBOR Type":"array (of array of uint)",Description:"NxN Matrix of entries in F_q in column-major form",Reference:"https://datatracker.ietf.org/doc/RFC9021"},"6-permutation 1":{"Key Type":"6",Name:"permutation 1",Label:"-5","CBOR Type":"array (of uint)",Description:"Permutation associated with matrix 1",Reference:"https://datatracker.ietf.org/doc/RFC9021"},"6-matrix 2":{"Key Type":"6",Name:"matrix 2",Label:"-6","CBOR Type":"array (of array of uint)",Description:"NxN Matrix of entries in F_q in column-major form",Reference:"https://datatracker.ietf.org/doc/RFC9021"}}},58739:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.IANACOSEKeyTypes=void 0;pe.IANACOSEKeyTypes={0:{Name:"Reserved",Value:"0",Description:"This value is reserved",Capabilities:"",Reference:"https://datatracker.ietf.org/doc/RFC9053"},1:{Name:"OKP",Value:"1",Description:"Octet Key Pair",Capabilities:"[kty(1), crv]",Reference:"https://datatracker.ietf.org/doc/RFC9053"},2:{Name:"EC2",Value:"2",Description:"Elliptic Curve Keys w/ x- and y-coordinate pair",Capabilities:"[kty(2), crv]",Reference:"https://datatracker.ietf.org/doc/RFC9053"},3:{Name:"RSA",Value:"3",Description:"RSA Key",Capabilities:"[kty(3)]",Reference:"https://datatracker.ietf.org/doc/RFC8230][RFC9053"},4:{Name:"Symmetric",Value:"4",Description:"Symmetric Keys",Capabilities:"[kty(4)]",Reference:"https://datatracker.ietf.org/doc/RFC9053"},5:{Name:"HSS-LMS",Value:"5",Description:"Public key for HSS/LMS hash-based digital signature",Capabilities:"[kty(5), hash algorithm]",Reference:"https://datatracker.ietf.org/doc/RFC8778][RFC9053"},6:{Name:"WalnutDSA",Value:"6",Description:"WalnutDSA public key",Capabilities:"[kty(6)]",Reference:"https://datatracker.ietf.org/doc/RFC9021][RFC9053"}}},51713:function(R,pe,Ae){"use strict";var he=this&&this.__awaiter||function(R,pe,Ae,he){function adopt(R){return R instanceof Ae?R:new Ae((function(pe){pe(R)}))}return new(Ae||(Ae=Promise))((function(Ae,ge){function fulfilled(R){try{step(he.next(R))}catch(R){ge(R)}}function rejected(R){try{step(he["throw"](R))}catch(R){ge(R)}}function step(R){R.done?Ae(R.value):adopt(R.value).then(fulfilled,rejected)}step((he=he.apply(R,pe||[])).next())}))};Object.defineProperty(pe,"__esModule",{value:true});pe.convertCoseKeyToJsonWebKey=void 0;const ge=Ae(34061);const me=Ae(38853);const ye=Ae(80424);const ve=Object.values(me.IANACOSEAlgorithms);const be=Object.values(ye.IANACOSEEllipticCurves);const Ee=Ae(74039);const convertCoseKeyToJsonWebKey=R=>he(void 0,void 0,void 0,(function*(){const pe=R.get(1);const Ae=R.get(2);const he=R.get(3);const me=R.get(-1);if(![2,5].includes(pe)){throw new Error("This library requires does not support the given key type")}const ye=ve.find((R=>R.Value===`${he}`));if(!ye){throw new Error("This library requires keys to use fully specified algorithms")}const Ce=be.find((R=>R.Value===`${me}`));if(!Ce){throw new Error("This library requires does not support the given curve")}const we={kty:"EC",alg:ye.Name,crv:Ce.Name};const Ie=R.get(-2);const _e=R.get(-3);const Be=R.get(-4);if(Ie){we.x=ge.base64url.encode(Ie)}if(_e){we.y=ge.base64url.encode(_e)}if(Be){we.d=ge.base64url.encode(Be)}if(Ae&&typeof Ae==="string"){we.kid=Ae}else{we.kid=yield(0,ge.calculateJwkThumbprint)(we)}return(0,Ee.formatJwk)(we)}));pe.convertCoseKeyToJsonWebKey=convertCoseKeyToJsonWebKey},69063:function(R,pe,Ae){"use strict";var he=this&&this.__awaiter||function(R,pe,Ae,he){function adopt(R){return R instanceof Ae?R:new Ae((function(pe){pe(R)}))}return new(Ae||(Ae=Promise))((function(Ae,ge){function fulfilled(R){try{step(he.next(R))}catch(R){ge(R)}}function rejected(R){try{step(he["throw"](R))}catch(R){ge(R)}}function step(R){R.done?Ae(R.value):adopt(R.value).then(fulfilled,rejected)}step((he=he.apply(R,pe||[])).next())}))};Object.defineProperty(pe,"__esModule",{value:true});pe.convertJsonWebKeyToCoseKey=void 0;const ge=Ae(34061);const me=Ae(53892);const ye=Ae(91830);const ve=Ae(38853);const be=Ae(82920);const Ee=Ae(58739);const Ce=Ae(80424);const we=Object.values(ve.IANACOSEAlgorithms);const Ie=Object.values(ye.IANACOSEKeyCommonParameters);const _e=Object.values(be.IANACOSEKeyTypeParameters);const Be=Object.values(Ee.IANACOSEKeyTypes);const Se=Object.values(Ce.IANACOSEEllipticCurves);const Qe={OKP:_e.filter((R=>R["Key Type"]==="1")),EC2:_e.filter((R=>R["Key Type"]==="2"))};const getKeyTypeSpecificLabel=(R,pe)=>{let Ae=pe;let he=Qe[R].find((R=>R.Name===pe));if(!he){he=Qe[R].find((R=>R.Name===pe))}if(he){Ae=parseInt(he.Label,10)}else{throw new Error(`Unable to find a label for this param (${pe}) for the given key type ${R}`)}return Ae};const convertJsonWebKeyToCoseKey=R=>he(void 0,void 0,void 0,(function*(){const{kty:pe}=R;let Ae=`${pe}`;if(Ae==="EC"){Ae="EC2"}if(!Qe[Ae]){throw new Error("Unsupported key type")}const he=new Map;for(const[pe,ye]of Object.entries(R)){const R=Ie.find((R=>R.Name===pe));let ve=pe;if(R){ve=parseInt(R.Label,10)}switch(pe){case"kty":{const R=Be.find((R=>R.Name===Ae));if(R){he.set(ve,parseInt(R.Value,10))}else{throw new Error("Unsupported key type: "+ye)}break}case"kid":{if(R){he.set(ve,ye)}else{throw new Error("Expected common parameter was not found in iana registry.")}break}case"alg":{if(R){const R=we.find((R=>R.Name===ye));if(R){he.set(ve,parseInt(R.Value,10))}else{throw new Error("Expected algorithm was not found in iana registry.")}}else{throw new Error("Expected common parameter was not found in iana registry.")}break}case"crv":{ve=getKeyTypeSpecificLabel(Ae,"crv");const R=Se.find((R=>R.Name===ye));if(R){he.set(ve,parseInt(R.Value,10))}else{throw new Error("Expected curve was not found in iana registry.")}break}case"x":case"y":case"d":{ve=getKeyTypeSpecificLabel(Ae,pe);he.set(ve,(0,me.toArrayBuffer)(ge.base64url.decode(ye)));break}case"x5c":{const R=(ye||[]).map((R=>(0,me.toArrayBuffer)(ge.base64url.decode(R))));he.set(ve,R);break}case"x5t#S256":{he.set(ve,(0,me.toArrayBuffer)(ge.base64url.decode(ye)));break}default:{he.set(ve,ye)}}}return he}));pe.convertJsonWebKeyToCoseKey=convertJsonWebKeyToCoseKey},74039:function(R,pe){"use strict";var Ae=this&&this.__rest||function(R,pe){var Ae={};for(var he in R)if(Object.prototype.hasOwnProperty.call(R,he)&&pe.indexOf(he)<0)Ae[he]=R[he];if(R!=null&&typeof Object.getOwnPropertySymbols==="function")for(var ge=0,he=Object.getOwnPropertySymbols(R);ge{const{kid:pe,alg:he,kty:ge,crv:me,x:ye,y:ve,d:be}=R,Ee=Ae(R,["kid","alg","kty","crv","x","y","d"]);return JSON.parse(JSON.stringify(Object.assign({kid:pe,alg:he,kty:ge,crv:me,x:ye,y:ve,d:be},Ee)))};pe.formatJwk=formatJwk},14658:function(R,pe,Ae){"use strict";var he=this&&this.__awaiter||function(R,pe,Ae,he){function adopt(R){return R instanceof Ae?R:new Ae((function(pe){pe(R)}))}return new(Ae||(Ae=Promise))((function(Ae,ge){function fulfilled(R){try{step(he.next(R))}catch(R){ge(R)}}function rejected(R){try{step(he["throw"](R))}catch(R){ge(R)}}function step(R){R.done?Ae(R.value):adopt(R.value).then(fulfilled,rejected)}step((he=he.apply(R,pe||[])).next())}))};Object.defineProperty(pe,"__esModule",{value:true});pe.generate=void 0;const ge=Ae(34061);const me=Ae(38853);const ye=Ae(69063);const ve=Ae(79465);const be=Ae(74039);const generate=(R,pe="application/jwk+json")=>he(void 0,void 0,void 0,(function*(){const Ae=Object.values(me.IANACOSEAlgorithms).find((pe=>pe.Name===R));if(!Ae){throw new Error("Algorithm is not supported.")}const he=yield(0,ge.generateKeyPair)(Ae.Name,{extractable:true});const Ee=yield(0,ge.exportJWK)(he.privateKey);const Ce=yield(0,ge.calculateJwkThumbprint)(Ee);Ee.kid=Ce;Ee.alg=R;if(pe==="application/jwk+json"){return(0,be.formatJwk)(Ee)}if(pe==="application/cose-key"){delete Ee.kid;const R=yield(0,ye.convertJsonWebKeyToCoseKey)(Ee);const pe=yield ve.thumbprint.calculateCoseKeyThumbprint(R);R.set(2,pe);return R}throw new Error("Unsupported content type.")}));pe.generate=generate},56516:function(R,pe,Ae){"use strict";var he=this&&this.__createBinding||(Object.create?function(R,pe,Ae,he){if(he===undefined)he=Ae;var ge=Object.getOwnPropertyDescriptor(pe,Ae);if(!ge||("get"in ge?!pe.__esModule:ge.writable||ge.configurable)){ge={enumerable:true,get:function(){return pe[Ae]}}}Object.defineProperty(R,he,ge)}:function(R,pe,Ae,he){if(he===undefined)he=Ae;R[he]=pe[Ae]});var ge=this&&this.__exportStar||function(R,pe){for(var Ae in R)if(Ae!=="default"&&!Object.prototype.hasOwnProperty.call(pe,Ae))he(pe,R,Ae)};Object.defineProperty(pe,"__esModule",{value:true});pe.thumbprint=void 0;const me=Ae(79465);Object.defineProperty(pe,"thumbprint",{enumerable:true,get:function(){return me.thumbprint}});ge(Ae(14658),pe);ge(Ae(69063),pe);ge(Ae(51713),pe);ge(Ae(90802),pe);ge(Ae(46272),pe)},90802:function(R,pe){"use strict";var Ae=this&&this.__rest||function(R,pe){var Ae={};for(var he in R)if(Object.prototype.hasOwnProperty.call(R,he)&&pe.indexOf(he)<0)Ae[he]=R[he];if(R!=null&&typeof Object.getOwnPropertySymbols==="function")for(var ge=0,he=Object.getOwnPropertySymbols(R);ge{if(R.kty!=="EC"){throw new Error("Only EC keys are supported")}const{d:pe,p:he,q:ge,dp:me,dq:ye,qi:ve,key_ops:be}=R,Ee=Ae(R,["d","p","q","dp","dq","qi","key_ops"]);return Ee};pe.extracePublicKeyJwk=extracePublicKeyJwk;const extractPublicCoseKey=R=>{const pe=new Map(R);if(pe.get(1)!==2){throw new Error("Only EC2 keys are supported")}if(!pe.get(-4)){throw new Error("privateKey is not a secret / private key (has no d / -4)")}pe.delete(-4);return pe};pe.extractPublicCoseKey=extractPublicCoseKey;const publicFromPrivate=R=>{if(R.kty){return(0,pe.extracePublicKeyJwk)(R)}return(0,pe.extractPublicCoseKey)(R)};pe.publicFromPrivate=publicFromPrivate},46272:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.serialize=void 0;const he=Ae(53892);const serialize=R=>{if(R.kty){return JSON.stringify(R,null,2)}return(0,he.encode)(R)};pe.serialize=serialize},79465:function(R,pe,Ae){"use strict";var he=this&&this.__awaiter||function(R,pe,Ae,he){function adopt(R){return R instanceof Ae?R:new Ae((function(pe){pe(R)}))}return new(Ae||(Ae=Promise))((function(Ae,ge){function fulfilled(R){try{step(he.next(R))}catch(R){ge(R)}}function rejected(R){try{step(he["throw"](R))}catch(R){ge(R)}}function step(R){R.done?Ae(R.value):adopt(R.value).then(fulfilled,rejected)}step((he=he.apply(R,pe||[])).next())}))};var ge=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});pe.thumbprint=void 0;const me=Ae(34061);const ye=Ae(53892);const ve=ge(Ae(9282));const calculateCoseKeyThumbprint=R=>he(void 0,void 0,void 0,(function*(){const pe=new Map;const Ae=[1,-1,-2,-3];for(const[he,ge]of R.entries()){if(Ae.includes(he)){pe.set(he,ge)}}const he=(0,ye.encodeCanonical)(pe);const ge=yield(0,ve.default)();const me=ge.digest("SHA-256",he);return me}));const calculateCoseKeyThumbprintUri=R=>he(void 0,void 0,void 0,(function*(){const pe=`urn:ietf:params:oauth:ckt:sha-256`;const Ae=yield calculateCoseKeyThumbprint(R);return`${pe}:${me.base64url.encode(new Uint8Array(Ae))}`}));pe.thumbprint={calculateJwkThumbprint:me.calculateJwkThumbprint,calculateJwkThumbprintUri:me.calculateJwkThumbprintUri,calculateCoseKeyThumbprint:calculateCoseKeyThumbprint,calculateCoseKeyThumbprintUri:calculateCoseKeyThumbprintUri,uri:calculateCoseKeyThumbprintUri}},83648:function(R,pe,Ae){"use strict";var he=this&&this.__awaiter||function(R,pe,Ae,he){function adopt(R){return R instanceof Ae?R:new Ae((function(pe){pe(R)}))}return new(Ae||(Ae=Promise))((function(Ae,ge){function fulfilled(R){try{step(he.next(R))}catch(R){ge(R)}}function rejected(R){try{step(he["throw"](R))}catch(R){ge(R)}}function step(R){R.done?Ae(R.value):adopt(R.value).then(fulfilled,rejected)}step((he=he.apply(R,pe||[])).next())}))};Object.defineProperty(pe,"__esModule",{value:true});pe.add=void 0;const ge=Ae(53892);const add=(R,pe)=>he(void 0,void 0,void 0,(function*(){const{tag:Ae,value:he}=(0,ge.decodeFirstSync)(R);if(Ae!==ge.Sign1Tag){throw new Error("Receipts can only be added to cose-sign1")}if(!(he[1]instanceof Map)){he[1]=new Map}const me=he[1].get(394)||[];me.push(pe);he[1].set(394,me);return(0,ge.toArrayBuffer)(yield(0,ge.encodeAsync)(new ge.Tagged(ge.Sign1Tag,he),{canonical:true}))}));pe.add=add},87569:function(R,pe,Ae){"use strict";var he=this&&this.__createBinding||(Object.create?function(R,pe,Ae,he){if(he===undefined)he=Ae;var ge=Object.getOwnPropertyDescriptor(pe,Ae);if(!ge||("get"in ge?!pe.__esModule:ge.writable||ge.configurable)){ge={enumerable:true,get:function(){return pe[Ae]}}}Object.defineProperty(R,he,ge)}:function(R,pe,Ae,he){if(he===undefined)he=Ae;R[he]=pe[Ae]});var ge=this&&this.__exportStar||function(R,pe){for(var Ae in R)if(Ae!=="default"&&!Object.prototype.hasOwnProperty.call(pe,Ae))he(pe,R,Ae)};Object.defineProperty(pe,"__esModule",{value:true});ge(Ae(77354),pe);ge(Ae(50277),pe)},77354:function(R,pe,Ae){"use strict";var he=this&&this.__awaiter||function(R,pe,Ae,he){function adopt(R){return R instanceof Ae?R:new Ae((function(pe){pe(R)}))}return new(Ae||(Ae=Promise))((function(Ae,ge){function fulfilled(R){try{step(he.next(R))}catch(R){ge(R)}}function rejected(R){try{step(he["throw"](R))}catch(R){ge(R)}}function step(R){R.done?Ae(R.value):adopt(R.value).then(fulfilled,rejected)}step((he=he.apply(R,pe||[])).next())}))};Object.defineProperty(pe,"__esModule",{value:true});pe.issue=void 0;const ge=Ae(57994);const me=Ae(88844);const ye=Ae(53892);const issue=R=>he(void 0,void 0,void 0,(function*(){const{protectedHeader:pe,receipt:Ae,entries:he,signer:ve}=R;const be=pe.get(395);if(be!==1){throw new Error("Unsupported verifiable data structure. See https://datatracker.ietf.org/doc/draft-ietf-cose-merkle-tree-proofs")}const{tag:Ee,value:Ce}=me.cbor.decode(Ae);if(Ee!==18){throw new Error("Receipt is not tagged cose sign1")}const[we,Ie,_e]=Ce;const Be=me.cbor.decode(we);const Se=Be.get(395);if(Se!==1){throw new Error("Unsupported verifiable data structure. See https://datatracker.ietf.org/doc/draft-ietf-cose-merkle-tree-proofs")}const[Qe]=Ie.get(396).get(-1);if(_e!==null){throw new Error("payload must be null for this type of proof")}const[xe,De,ke]=me.cbor.decode(Qe);const Oe=yield ge.CoMETRE.RFC9162_SHA256.consistency_proof({log_id:"",tree_size:xe,leaf_index:De,inclusion_path:ke},he);const Re=yield ge.CoMETRE.RFC9162_SHA256.root(he);const Pe=new Map;Pe.set(-2,[me.cbor.encode([Oe.tree_size_1,Oe.tree_size_2,Oe.consistency_path.map(ye.toArrayBuffer)])]);const Te=new Map;Te.set(396,Pe);const Ne=yield ve.sign({protectedHeader:pe,unprotectedHeader:Te,payload:Re});return{root:Re,receipt:Ne}}));pe.issue=issue},50277:function(R,pe,Ae){"use strict";var he=this&&this.__awaiter||function(R,pe,Ae,he){function adopt(R){return R instanceof Ae?R:new Ae((function(pe){pe(R)}))}return new(Ae||(Ae=Promise))((function(Ae,ge){function fulfilled(R){try{step(he.next(R))}catch(R){ge(R)}}function rejected(R){try{step(he["throw"](R))}catch(R){ge(R)}}function step(R){R.done?Ae(R.value):adopt(R.value).then(fulfilled,rejected)}step((he=he.apply(R,pe||[])).next())}))};Object.defineProperty(pe,"__esModule",{value:true});pe.verify=void 0;const ge=Ae(57994);const me=Ae(88844);const verify=R=>he(void 0,void 0,void 0,(function*(){const{newRoot:pe,oldRoot:Ae,receipt:he,verifier:ye}=R;const{tag:ve,value:be}=me.cbor.decode(he);if(ve!==18){throw new Error("Receipt is not tagged cose sign1")}const[Ee,Ce,we]=be;const Ie=me.cbor.decode(Ee);const _e=Ie.get(395);if(_e!==1){throw new Error("Unsupported verifiable data structure. See https://datatracker.ietf.org/doc/draft-ietf-cose-merkle-tree-proofs")}const Be=Ce.get(396);const[Se]=Be.get(-2);if(we!==null){throw new Error("payload must be null for this type of proof")}const[Qe,xe,De]=me.cbor.decode(Se);const ke=yield ye.verify({coseSign1:he,payload:pe});const Oe=yield ge.CoMETRE.RFC9162_SHA256.verify_consistency_proof(new Uint8Array(Ae),new Uint8Array(ke),{log_id:"",tree_size_1:Qe,tree_size_2:xe,consistency_path:De});return Oe}));pe.verify=verify},58472:function(R,pe,Ae){"use strict";var he=this&&this.__awaiter||function(R,pe,Ae,he){function adopt(R){return R instanceof Ae?R:new Ae((function(pe){pe(R)}))}return new(Ae||(Ae=Promise))((function(Ae,ge){function fulfilled(R){try{step(he.next(R))}catch(R){ge(R)}}function rejected(R){try{step(he["throw"](R))}catch(R){ge(R)}}function step(R){R.done?Ae(R.value):adopt(R.value).then(fulfilled,rejected)}step((he=he.apply(R,pe||[])).next())}))};Object.defineProperty(pe,"__esModule",{value:true});pe.get=void 0;const ge=Ae(53892);const get=R=>he(void 0,void 0,void 0,(function*(){const{tag:pe,value:Ae}=(0,ge.decodeFirstSync)(R);if(pe!==ge.Sign1Tag){throw new Error("Receipts can only be added to cose-sign1")}if(!(Ae[1]instanceof Map)){return[]}const he=Ae[1].get(394)||[];return he}));pe.get=get},43047:function(R,pe,Ae){"use strict";var he=this&&this.__createBinding||(Object.create?function(R,pe,Ae,he){if(he===undefined)he=Ae;var ge=Object.getOwnPropertyDescriptor(pe,Ae);if(!ge||("get"in ge?!pe.__esModule:ge.writable||ge.configurable)){ge={enumerable:true,get:function(){return pe[Ae]}}}Object.defineProperty(R,he,ge)}:function(R,pe,Ae,he){if(he===undefined)he=Ae;R[he]=pe[Ae]});var ge=this&&this.__exportStar||function(R,pe){for(var Ae in R)if(Ae!=="default"&&!Object.prototype.hasOwnProperty.call(pe,Ae))he(pe,R,Ae)};Object.defineProperty(pe,"__esModule",{value:true});ge(Ae(54358),pe);ge(Ae(88472),pe)},54358:function(R,pe,Ae){"use strict";var he=this&&this.__awaiter||function(R,pe,Ae,he){function adopt(R){return R instanceof Ae?R:new Ae((function(pe){pe(R)}))}return new(Ae||(Ae=Promise))((function(Ae,ge){function fulfilled(R){try{step(he.next(R))}catch(R){ge(R)}}function rejected(R){try{step(he["throw"](R))}catch(R){ge(R)}}function step(R){R.done?Ae(R.value):adopt(R.value).then(fulfilled,rejected)}step((he=he.apply(R,pe||[])).next())}))};Object.defineProperty(pe,"__esModule",{value:true});pe.issue=void 0;const ge=Ae(57994);const me=Ae(88844);const issue=R=>he(void 0,void 0,void 0,(function*(){const{protectedHeader:pe,entry:Ae,entries:he,signer:ye}=R;const ve=pe.get(395);if(ve!==1){throw new Error("Unsupported verifiable data structure. See https://datatracker.ietf.org/doc/draft-ietf-cose-merkle-tree-proofs")}const be=yield ge.CoMETRE.RFC9162_SHA256.root(he);const Ee=yield ge.CoMETRE.RFC9162_SHA256.inclusion_proof(Ae,he);const Ce=new Map;Ce.set(-1,[me.cbor.encode([Ee.tree_size,Ee.leaf_index,Ee.inclusion_path.map(me.cbor.toArrayBuffer)])]);const we=new Map;we.set(396,Ce);return ye.sign({protectedHeader:pe,unprotectedHeader:we,payload:be})}));pe.issue=issue},88472:function(R,pe,Ae){"use strict";var he=this&&this.__awaiter||function(R,pe,Ae,he){function adopt(R){return R instanceof Ae?R:new Ae((function(pe){pe(R)}))}return new(Ae||(Ae=Promise))((function(Ae,ge){function fulfilled(R){try{step(he.next(R))}catch(R){ge(R)}}function rejected(R){try{step(he["throw"](R))}catch(R){ge(R)}}function step(R){R.done?Ae(R.value):adopt(R.value).then(fulfilled,rejected)}step((he=he.apply(R,pe||[])).next())}))};Object.defineProperty(pe,"__esModule",{value:true});pe.verify=void 0;const ge=Ae(57994);const me=Ae(88844);const verify=R=>he(void 0,void 0,void 0,(function*(){const{entry:pe,receipt:Ae,verifier:he}=R;const{tag:ye,value:ve}=me.cbor.decode(Ae);if(ye!==18){throw new Error("Receipt is not tagged cose sign1")}const[be,Ee,Ce]=ve;const we=me.cbor.decode(be);const Ie=we.get(395);if(Ie!==1){throw new Error("Unsupported verifiable data structure. See https://datatracker.ietf.org/doc/draft-ietf-cose-merkle-tree-proofs")}const _e=Ee.get(396);const[Be]=_e.get(-1);if(Ce!==null){throw new Error("payload must be null for this type of proof")}const[Se,Qe,xe]=me.cbor.decode(Be);const De=yield ge.CoMETRE.RFC9162_SHA256.verify_inclusion_proof(pe,{log_id:"",tree_size:Se,leaf_index:Qe,inclusion_path:xe});const ke=he.verify({coseSign1:Ae,payload:De});return ke}));pe.verify=verify},3885:function(R,pe,Ae){"use strict";var he=this&&this.__createBinding||(Object.create?function(R,pe,Ae,he){if(he===undefined)he=Ae;var ge=Object.getOwnPropertyDescriptor(pe,Ae);if(!ge||("get"in ge?!pe.__esModule:ge.writable||ge.configurable)){ge={enumerable:true,get:function(){return pe[Ae]}}}Object.defineProperty(R,he,ge)}:function(R,pe,Ae,he){if(he===undefined)he=Ae;R[he]=pe[Ae]});var ge=this&&this.__setModuleDefault||(Object.create?function(R,pe){Object.defineProperty(R,"default",{enumerable:true,value:pe})}:function(R,pe){R["default"]=pe});var me=this&&this.__importStar||function(R){if(R&&R.__esModule)return R;var pe={};if(R!=null)for(var Ae in R)if(Ae!=="default"&&Object.prototype.hasOwnProperty.call(R,Ae))he(pe,R,Ae);ge(pe,R);return pe};Object.defineProperty(pe,"__esModule",{value:true});pe.verifier=pe.remove=pe.get=pe.add=pe.consistency=pe.inclusion=pe.leaf=void 0;const ye=me(Ae(43047));pe.inclusion=ye;const ve=me(Ae(87569));pe.consistency=ve;const be=Ae(46193);Object.defineProperty(pe,"leaf",{enumerable:true,get:function(){return be.leaf}});const Ee=Ae(83648);Object.defineProperty(pe,"add",{enumerable:true,get:function(){return Ee.add}});const Ce=Ae(58472);Object.defineProperty(pe,"get",{enumerable:true,get:function(){return Ce.get}});const we=Ae(59178);Object.defineProperty(pe,"remove",{enumerable:true,get:function(){return we.remove}});const Ie=Ae(60934);Object.defineProperty(pe,"verifier",{enumerable:true,get:function(){return Ie.verifier}})},46193:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.leaf=void 0;const he=Ae(57994);pe.leaf=he.CoMETRE.RFC9162_SHA256.leaf},59178:function(R,pe,Ae){"use strict";var he=this&&this.__awaiter||function(R,pe,Ae,he){function adopt(R){return R instanceof Ae?R:new Ae((function(pe){pe(R)}))}return new(Ae||(Ae=Promise))((function(Ae,ge){function fulfilled(R){try{step(he.next(R))}catch(R){ge(R)}}function rejected(R){try{step(he["throw"](R))}catch(R){ge(R)}}function step(R){R.done?Ae(R.value):adopt(R.value).then(fulfilled,rejected)}step((he=he.apply(R,pe||[])).next())}))};Object.defineProperty(pe,"__esModule",{value:true});pe.remove=void 0;const ge=Ae(53892);const remove=R=>he(void 0,void 0,void 0,(function*(){const{tag:pe,value:Ae}=(0,ge.decodeFirstSync)(R);if(pe!==ge.Sign1Tag){throw new Error("Receipts can only be added to cose-sign1")}Ae[1]=new Map;return(0,ge.toArrayBuffer)(yield(0,ge.encodeAsync)(new ge.Tagged(ge.Sign1Tag,Ae),{canonical:true}))}));pe.remove=remove},60934:function(R,pe,Ae){"use strict";var he=this&&this.__createBinding||(Object.create?function(R,pe,Ae,he){if(he===undefined)he=Ae;var ge=Object.getOwnPropertyDescriptor(pe,Ae);if(!ge||("get"in ge?!pe.__esModule:ge.writable||ge.configurable)){ge={enumerable:true,get:function(){return pe[Ae]}}}Object.defineProperty(R,he,ge)}:function(R,pe,Ae,he){if(he===undefined)he=Ae;R[he]=pe[Ae]});var ge=this&&this.__setModuleDefault||(Object.create?function(R,pe){Object.defineProperty(R,"default",{enumerable:true,value:pe})}:function(R,pe){R["default"]=pe});var me=this&&this.__importStar||function(R){if(R&&R.__esModule)return R;var pe={};if(R!=null)for(var Ae in R)if(Ae!=="default"&&Object.prototype.hasOwnProperty.call(R,Ae))he(pe,R,Ae);ge(pe,R);return pe};var ye=this&&this.__awaiter||function(R,pe,Ae,he){function adopt(R){return R instanceof Ae?R:new Ae((function(pe){pe(R)}))}return new(Ae||(Ae=Promise))((function(Ae,ge){function fulfilled(R){try{step(he.next(R))}catch(R){ge(R)}}function rejected(R){try{step(he["throw"](R))}catch(R){ge(R)}}function step(R){R.done?Ae(R.value):adopt(R.value).then(fulfilled,rejected)}step((he=he.apply(R,pe||[])).next())}))};Object.defineProperty(pe,"__esModule",{value:true});pe.verifier=void 0;const ve=Ae(88844);const be=Ae(58472);const Ee=me(Ae(43047));const Ce=Ae(46193);const we=Ae(59178);const getVerifierForMessage=(R,pe)=>ye(void 0,void 0,void 0,(function*(){const R=ve.detached.verifier({resolver:pe});return R}));const verifyWithResolve=(R,pe)=>ye(void 0,void 0,void 0,(function*(){const Ae=yield getVerifierForMessage(R,pe);const he=yield Ae.verify(R);return he}));const verifier=R=>ye(void 0,void 0,void 0,(function*(){return{verify:pe=>ye(void 0,void 0,void 0,(function*(){const Ae=yield verifyWithResolve(pe,R);const he={payload:Ae,receipts:[]};const ge=yield(0,we.remove)(pe.coseSign1);const me=yield(0,be.get)(pe.coseSign1);if(me.length){for(const pe of me){const Ae=yield getVerifierForMessage({coseSign1:pe,payload:ge},R);const me=yield Ee.verify({entry:yield(0,Ce.leaf)(new Uint8Array(ge)),receipt:pe,verifier:Ae});he.receipts.push(me)}}return he}))}}));pe.verifier=verifier},25582:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});const he=Ae(38853);const ge=Object.values(he.IANACOSEAlgorithms);const getAlgFromVerificationKey=R=>{const pe=ge.find((pe=>pe.Name===R));if(!pe){throw new Error("This library requires keys to contain fully specified algorithms")}return parseInt(pe.Value,10)};pe["default"]=getAlgFromVerificationKey},55016:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});const Ae=new Map;Ae.set("ES256",`SHA-256`);Ae.set("ES384",`SHA-384`);Ae.set("ES512",`SHA-512`);const getDigestFromVerificationKey=R=>{const pe=Ae.get(R);if(!pe){throw new Error("This library requires keys to contain fully specified algorithms")}return pe};pe["default"]=getDigestFromVerificationKey},75068:function(R,pe,Ae){"use strict";var he=this&&this.__awaiter||function(R,pe,Ae,he){function adopt(R){return R instanceof Ae?R:new Ae((function(pe){pe(R)}))}return new(Ae||(Ae=Promise))((function(Ae,ge){function fulfilled(R){try{step(he.next(R))}catch(R){ge(R)}}function rejected(R){try{step(he["throw"](R))}catch(R){ge(R)}}function step(R){R.done?Ae(R.value):adopt(R.value).then(fulfilled,rejected)}step((he=he.apply(R,pe||[])).next())}))};var ge=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});pe.hash=void 0;const me=ge(Ae(27567));const ye=ge(Ae(9282));const ve=Ae(3251);pe.hash={signer:({remote:R})=>({sign:({protectedHeader:pe,unprotectedHeader:Ae,payload:ge})=>he(void 0,void 0,void 0,(function*(){const he=yield(0,ye.default)();const be=pe.get(ve.Protected.PayloadHashAlgorithm);if(be!==-16){throw new Error("Unsupported hash envelope algorithm (-16 is only one supported)")}const Ee=yield he.digest("SHA-256",ge);const Ce=(0,me.default)({remote:R});return new Uint8Array(yield Ce.sign({protectedHeader:pe,unprotectedHeader:Ae,payload:Ee}))}))})}},78724:function(R,pe,Ae){"use strict";var he=this&&this.__createBinding||(Object.create?function(R,pe,Ae,he){if(he===undefined)he=Ae;var ge=Object.getOwnPropertyDescriptor(pe,Ae);if(!ge||("get"in ge?!pe.__esModule:ge.writable||ge.configurable)){ge={enumerable:true,get:function(){return pe[Ae]}}}Object.defineProperty(R,he,ge)}:function(R,pe,Ae,he){if(he===undefined)he=Ae;R[he]=pe[Ae]});var ge=this&&this.__exportStar||function(R,pe){for(var Ae in R)if(Ae!=="default"&&!Object.prototype.hasOwnProperty.call(pe,Ae))he(pe,R,Ae)};var me=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});pe.hash=pe.verifier=pe.signer=void 0;const ye=me(Ae(27567));pe.signer=ye.default;const ve=me(Ae(62690));pe.verifier=ve.default;const be=Ae(75068);Object.defineProperty(pe,"hash",{enumerable:true,get:function(){return be.hash}});ge(Ae(37260),pe)},27567:function(R,pe,Ae){"use strict";var he=this&&this.__awaiter||function(R,pe,Ae,he){function adopt(R){return R instanceof Ae?R:new Ae((function(pe){pe(R)}))}return new(Ae||(Ae=Promise))((function(Ae,ge){function fulfilled(R){try{step(he.next(R))}catch(R){ge(R)}}function rejected(R){try{step(he["throw"](R))}catch(R){ge(R)}}function step(R){R.done?Ae(R.value):adopt(R.value).then(fulfilled,rejected)}step((he=he.apply(R,pe||[])).next())}))};Object.defineProperty(pe,"__esModule",{value:true});const ge=Ae(53892);const signer=({remote:R})=>({sign:({protectedHeader:pe,unprotectedHeader:Ae,externalAAD:me,payload:ye})=>he(void 0,void 0,void 0,(function*(){const he=(0,ge.toArrayBuffer)(ye);const ve=pe.size===0?ge.EMPTY_BUFFER:(0,ge.encode)(pe);const be=["Signature1",ve,me||ge.EMPTY_BUFFER,he];const Ee=(0,ge.encode)(be);const Ce=yield R.sign(Ee);const we=[ve,Ae,he,Ce];return(0,ge.toArrayBuffer)(yield(0,ge.encodeAsync)(new ge.Tagged(ge.Sign1Tag,we),{canonical:true}))}))});pe["default"]=signer},37260:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true})},62690:function(R,pe,Ae){"use strict";var he=this&&this.__awaiter||function(R,pe,Ae,he){function adopt(R){return R instanceof Ae?R:new Ae((function(pe){pe(R)}))}return new(Ae||(Ae=Promise))((function(Ae,ge){function fulfilled(R){try{step(he.next(R))}catch(R){ge(R)}}function rejected(R){try{step(he["throw"](R))}catch(R){ge(R)}}function step(R){R.done?Ae(R.value):adopt(R.value).then(fulfilled,rejected)}step((he=he.apply(R,pe||[])).next())}))};var ge=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});const me=Ae(53892);const ye=ge(Ae(25582));const ve=ge(Ae(52530));const verifier=({resolver:R})=>({verify:({coseSign1:pe,externalAAD:Ae})=>he(void 0,void 0,void 0,(function*(){const he=yield R.resolve(pe);const ge=(0,ye.default)(`${he.alg}`);const be=(0,ve.default)({publicKeyJwk:he});const Ee=yield(0,me.decodeFirst)(pe);const Ce=Ee.value;if(!Array.isArray(Ce)){throw new Error("Expecting Array")}if(Ce.length!==4){throw new Error("Expecting Array of length 4")}const[we,Ie,_e,Be]=Ce;const Se=!we.length?new Map:(0,me.decodeFirstSync)(we);const Qe=Se.get(1);if(Qe!==ge){throw new Error("Verification key does not support algorithm: "+Qe)}if(!Be){throw new Error("No signature to verify")}const xe=["Signature1",we,Ae||me.EMPTY_BUFFER,_e];const De=(0,me.encode)(xe);yield be.verify(De,Be);return _e}))});pe["default"]=verifier},85013:function(R,pe,Ae){"use strict";var he=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});pe.verifier=pe.signer=void 0;const ge=he(Ae(6723));pe.signer=ge.default;const me=he(Ae(52530));pe.verifier=me.default},6723:function(R,pe,Ae){"use strict";var he=this&&this.__awaiter||function(R,pe,Ae,he){function adopt(R){return R instanceof Ae?R:new Ae((function(pe){pe(R)}))}return new(Ae||(Ae=Promise))((function(Ae,ge){function fulfilled(R){try{step(he.next(R))}catch(R){ge(R)}}function rejected(R){try{step(he["throw"](R))}catch(R){ge(R)}}function step(R){R.done?Ae(R.value):adopt(R.value).then(fulfilled,rejected)}step((he=he.apply(R,pe||[])).next())}))};var ge=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});const me=Ae(53892);const ye=ge(Ae(9282));const ve=ge(Ae(55016));const signer=({secretKeyJwk:R})=>{const pe=(0,ve.default)(`${R.alg}`);return{sign:Ae=>he(void 0,void 0,void 0,(function*(){const he=yield(0,ye.default)();const ge=yield he.importKey("jwk",R,{name:"ECDSA",namedCurve:R.crv},true,["sign"]);const ve=yield he.sign({name:"ECDSA",hash:{name:pe}},ge,Ae);return(0,me.toArrayBuffer)(ve)}))}};pe["default"]=signer},9282:function(R,pe,Ae){"use strict";var he=this&&this.__createBinding||(Object.create?function(R,pe,Ae,he){if(he===undefined)he=Ae;var ge=Object.getOwnPropertyDescriptor(pe,Ae);if(!ge||("get"in ge?!pe.__esModule:ge.writable||ge.configurable)){ge={enumerable:true,get:function(){return pe[Ae]}}}Object.defineProperty(R,he,ge)}:function(R,pe,Ae,he){if(he===undefined)he=Ae;R[he]=pe[Ae]});var ge=this&&this.__setModuleDefault||(Object.create?function(R,pe){Object.defineProperty(R,"default",{enumerable:true,value:pe})}:function(R,pe){R["default"]=pe});var me=this&&this.__importStar||function(R){if(R&&R.__esModule)return R;var pe={};if(R!=null)for(var Ae in R)if(Ae!=="default"&&Object.prototype.hasOwnProperty.call(R,Ae))he(pe,R,Ae);ge(pe,R);return pe};var ye=this&&this.__awaiter||function(R,pe,Ae,he){function adopt(R){return R instanceof Ae?R:new Ae((function(pe){pe(R)}))}return new(Ae||(Ae=Promise))((function(Ae,ge){function fulfilled(R){try{step(he.next(R))}catch(R){ge(R)}}function rejected(R){try{step(he["throw"](R))}catch(R){ge(R)}}function step(R){R.done?Ae(R.value):adopt(R.value).then(fulfilled,rejected)}step((he=he.apply(R,pe||[])).next())}))};Object.defineProperty(pe,"__esModule",{value:true});const ve=Promise.resolve().then((()=>me(Ae(6113)))).catch((()=>{}));pe["default"]=()=>ye(void 0,void 0,void 0,(function*(){try{return window.crypto.subtle}catch(R){return(yield yield ve).subtle}}))},52530:function(R,pe,Ae){"use strict";var he=this&&this.__awaiter||function(R,pe,Ae,he){function adopt(R){return R instanceof Ae?R:new Ae((function(pe){pe(R)}))}return new(Ae||(Ae=Promise))((function(Ae,ge){function fulfilled(R){try{step(he.next(R))}catch(R){ge(R)}}function rejected(R){try{step(he["throw"](R))}catch(R){ge(R)}}function step(R){R.done?Ae(R.value):adopt(R.value).then(fulfilled,rejected)}step((he=he.apply(R,pe||[])).next())}))};var ge=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});const me=ge(Ae(55016));const ye=ge(Ae(9282));const verifier=({publicKeyJwk:R})=>{const pe=(0,me.default)(`${R.alg}`);return{verify:(Ae,ge)=>he(void 0,void 0,void 0,(function*(){const he=yield(0,ye.default)();const me=yield he.importKey("jwk",R,{name:"ECDSA",namedCurve:R.crv},true,["verify"]);const ve=yield he.verify({name:"ECDSA",hash:{name:pe}},me,ge,Ae);if(!ve){throw new Error("Signature verification failed")}return Ae}))}};pe["default"]=verifier},88844:function(R,pe,Ae){"use strict";var he=this&&this.__createBinding||(Object.create?function(R,pe,Ae,he){if(he===undefined)he=Ae;var ge=Object.getOwnPropertyDescriptor(pe,Ae);if(!ge||("get"in ge?!pe.__esModule:ge.writable||ge.configurable)){ge={enumerable:true,get:function(){return pe[Ae]}}}Object.defineProperty(R,he,ge)}:function(R,pe,Ae,he){if(he===undefined)he=Ae;R[he]=pe[Ae]});var ge=this&&this.__setModuleDefault||(Object.create?function(R,pe){Object.defineProperty(R,"default",{enumerable:true,value:pe})}:function(R,pe){R["default"]=pe});var me=this&&this.__exportStar||function(R,pe){for(var Ae in R)if(Ae!=="default"&&!Object.prototype.hasOwnProperty.call(pe,Ae))he(pe,R,Ae)};var ye=this&&this.__importStar||function(R){if(R&&R.__esModule)return R;var pe={};if(R!=null)for(var Ae in R)if(Ae!=="default"&&Object.prototype.hasOwnProperty.call(R,Ae))he(pe,R,Ae);ge(pe,R);return pe};Object.defineProperty(pe,"__esModule",{value:true});pe.receipt=pe.detached=pe.attached=pe.key=pe.cbor=pe.crypto=void 0;me(Ae(38853),pe);me(Ae(2488),pe);me(Ae(91830),pe);const ve=ye(Ae(56516));pe.key=ve;const be=ye(Ae(75824));pe.attached=be;const Ee=ye(Ae(27464));pe.detached=Ee;me(Ae(78724),pe);me(Ae(56441),pe);me(Ae(3251),pe);me(Ae(3821),pe);const Ce=ye(Ae(53892));pe.cbor=Ce;const we=ye(Ae(3885));pe.receipt=we;const Ie=ye(Ae(85013));pe.crypto=Ie},54833:function(R,pe,Ae){"use strict";var he=this&&this.__createBinding||(Object.create?function(R,pe,Ae,he){if(he===undefined)he=Ae;var ge=Object.getOwnPropertyDescriptor(pe,Ae);if(!ge||("get"in ge?!pe.__esModule:ge.writable||ge.configurable)){ge={enumerable:true,get:function(){return pe[Ae]}}}Object.defineProperty(R,he,ge)}:function(R,pe,Ae,he){if(he===undefined)he=Ae;R[he]=pe[Ae]});var ge=this&&this.__setModuleDefault||(Object.create?function(R,pe){Object.defineProperty(R,"default",{enumerable:true,value:pe})}:function(R,pe){R["default"]=pe});var me=this&&this.__importStar||function(R){if(R&&R.__esModule)return R;var pe={};if(R!=null)for(var Ae in R)if(Ae!=="default"&&Object.prototype.hasOwnProperty.call(R,Ae))he(pe,R,Ae);ge(pe,R);return pe};var ye=this&&this.__awaiter||function(R,pe,Ae,he){function adopt(R){return R instanceof Ae?R:new Ae((function(pe){pe(R)}))}return new(Ae||(Ae=Promise))((function(Ae,ge){function fulfilled(R){try{step(he.next(R))}catch(R){ge(R)}}function rejected(R){try{step(he["throw"](R))}catch(R){ge(R)}}function step(R){R.done?Ae(R.value):adopt(R.value).then(fulfilled,rejected)}step((he=he.apply(R,pe||[])).next())}))};Object.defineProperty(pe,"__esModule",{value:true});pe.certificate=void 0;const ve=Ae(34061);const be=me(Ae(82315));const Ee=Ae(75840);const Ce=Ae(88844);const we=Ae(88844);const Ie=Promise.resolve().then((()=>me(Ae(6113)))).catch((()=>{}));const _e=true;const provide=()=>ye(void 0,void 0,void 0,(function*(){try{return window.crypto}catch(R){return yield yield Ie}}));const Be={ES256:{name:"ECDSA",hash:"SHA-256",namedCurve:"P-256"},ES384:{name:"ECDSA",hash:"SHA-384",namedCurve:"P-384"},ES512:{name:"ECDSA",hash:"SHA-512",namedCurve:"P-521"}};const thumbprint=R=>ye(void 0,void 0,void 0,(function*(){const pe=new be.X509Certificate(R);return[-16,yield pe.getThumbprint("SHA-256")]}));const root=R=>ye(void 0,void 0,void 0,(function*(){const pe=yield provide();be.cryptoProvider.set(pe);const Ae=[{type:"url",value:`urn:uuid:${(0,Ee.v4)()}`}];const he=Be[R.alg];const ge=yield pe.subtle.generateKey(he,_e,["sign","verify"]);const me=yield be.X509CertificateGenerator.create({serialNumber:"01",subject:R.sub,issuer:R.iss,notBefore:new Date(R.nbf),notAfter:new Date(R.exp),signingAlgorithm:he,publicKey:ge.publicKey,signingKey:ge.privateKey,extensions:[new be.SubjectAlternativeNameExtension(Ae),yield be.SubjectKeyIdentifierExtension.create(ge.publicKey)]});const ye=me.toString();const Ce=yield(0,ve.exportPKCS8)(ge.privateKey);return{public:ye,private:Ce}}));const pkcs8Signer=({alg:R,privateKeyPKCS8:pe})=>ye(void 0,void 0,void 0,(function*(){const Ae=Object.values(Ce.IANACOSEAlgorithms).find((pe=>pe.Value===`${R}`));if(!Ae){throw new Error("Could not find algorithm in registry for: "+R)}const he=yield(0,ve.exportJWK)(yield(0,ve.importPKCS8)(pe,`${Ae.Name}`));he.alg=Ae.Name;return Ce.detached.signer({remote:we.crypto.signer({secretKeyJwk:he})})}));const verifier=({resolver:R})=>({verify:pe=>ye(void 0,void 0,void 0,(function*(){const Ae=Ce.detached.verifier({resolver:R});return Ae.verify(pe)}))});pe.certificate={thumbprint:thumbprint,root:root,pkcs8Signer:pkcs8Signer,verifier:verifier}},56441:function(R,pe,Ae){"use strict";var he=this&&this.__createBinding||(Object.create?function(R,pe,Ae,he){if(he===undefined)he=Ae;var ge=Object.getOwnPropertyDescriptor(pe,Ae);if(!ge||("get"in ge?!pe.__esModule:ge.writable||ge.configurable)){ge={enumerable:true,get:function(){return pe[Ae]}}}Object.defineProperty(R,he,ge)}:function(R,pe,Ae,he){if(he===undefined)he=Ae;R[he]=pe[Ae]});var ge=this&&this.__exportStar||function(R,pe){for(var Ae in R)if(Ae!=="default"&&!Object.prototype.hasOwnProperty.call(pe,Ae))he(pe,R,Ae)};Object.defineProperty(pe,"__esModule",{value:true});ge(Ae(54833),pe)},20270:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.RFC9162_SHA256=void 0;const he=Ae(31607);const ge=Ae(14341);const me=Ae(24711);const ye=Ae(81347);const ve=Ae(42913);const be=Ae(66465);const leaves=R=>R.map(ge.getLeafFromEntry);const root=R=>(0,he.getRootFromLeaves)(R);const iproof=(R,pe)=>(0,me.getInclusionProofForLeaf)(R,pe);const viproof=(R,pe)=>(0,ye.getRootFromInclusionProof)(R,pe);const cproof=(R,pe)=>(0,ve.getConsistencyProofFromLeaves)(R,pe);const vcproof=(R,pe,Ae)=>(0,be.verifyConsistencyProof)(R,Ae.tree_size_1,pe,Ae.tree_size_2,Ae);const Ee="RFC9162_SHA256";pe.RFC9162_SHA256={tree_alg:Ee,root:root,leaf:ge.getLeafFromEntry,inclusion_proof:iproof,verify_inclusion_proof:viproof,consistency_proof:cproof,verify_consistency_proof:vcproof};pe["default"]=pe.RFC9162_SHA256},42913:function(R,pe,Ae){"use strict";var he=this&&this.__awaiter||function(R,pe,Ae,he){function adopt(R){return R instanceof Ae?R:new Ae((function(pe){pe(R)}))}return new(Ae||(Ae=Promise))((function(Ae,ge){function fulfilled(R){try{step(he.next(R))}catch(R){ge(R)}}function rejected(R){try{step(he["throw"](R))}catch(R){ge(R)}}function step(R){R.done?Ae(R.value):adopt(R.value).then(fulfilled,rejected)}step((he=he.apply(R,pe||[])).next())}))};Object.defineProperty(pe,"__esModule",{value:true});pe.getConsistencyProofFromLeaves=void 0;const ge=Ae(31607);const me=Ae(50482);const ye=Ae(92287);const SUBPROOF=(R,pe,Ae)=>he(void 0,void 0,void 0,(function*(){const he=pe.length;if(R===he){return[yield(0,ge.getRootFromLeaves)(pe)]}if(Rve){const Ae=(0,me.CUT)(pe,ve,he);const ye=yield SUBPROOF(R-ve,Ae,false);const be=yield(0,ge.getRootFromLeaves)((0,me.CUT)(pe,0,ve));return ye.concat(be)}}throw new Error("m cannot be greater than n")}));const getConsistencyProofFromLeaves=(R,pe)=>he(void 0,void 0,void 0,(function*(){const Ae=R.tree_size;const he=pe.length;const ge=yield SUBPROOF(R.tree_size,pe,true);return{log_id:"",tree_size_1:Ae,tree_size_2:he,consistency_path:ge}}));pe.getConsistencyProofFromLeaves=getConsistencyProofFromLeaves},24711:function(R,pe,Ae){"use strict";var he=this&&this.__awaiter||function(R,pe,Ae,he){function adopt(R){return R instanceof Ae?R:new Ae((function(pe){pe(R)}))}return new(Ae||(Ae=Promise))((function(Ae,ge){function fulfilled(R){try{step(he.next(R))}catch(R){ge(R)}}function rejected(R){try{step(he["throw"](R))}catch(R){ge(R)}}function step(R){R.done?Ae(R.value):adopt(R.value).then(fulfilled,rejected)}step((he=he.apply(R,pe||[])).next())}))};Object.defineProperty(pe,"__esModule",{value:true});pe.getInclusionProofForLeaf=void 0;const ge=Ae(92287);const me=Ae(31607);const PATH=(R,pe)=>he(void 0,void 0,void 0,(function*(){const Ae=pe.length;if(Ae===1&&R===0){return[]}const he=(0,ge.highestPowerOf2LessThanN)(Ae);if(Rhe(void 0,void 0,void 0,(function*(){if(R<0||R>pe.length){throw new Error("Entry is not included in log.")}return{log_id:"",tree_size:pe.length,leaf_index:R,inclusion_path:yield PATH(R,pe)}}));pe.getInclusionProofForLeaf=getInclusionProofForLeaf},14341:function(R,pe,Ae){"use strict";var he=this&&this.__awaiter||function(R,pe,Ae,he){function adopt(R){return R instanceof Ae?R:new Ae((function(pe){pe(R)}))}return new(Ae||(Ae=Promise))((function(Ae,ge){function fulfilled(R){try{step(he.next(R))}catch(R){ge(R)}}function rejected(R){try{step(he["throw"](R))}catch(R){ge(R)}}function step(R){R.done?Ae(R.value):adopt(R.value).then(fulfilled,rejected)}step((he=he.apply(R,pe||[])).next())}))};Object.defineProperty(pe,"__esModule",{value:true});pe.getLeafFromEntry=void 0;const ge=Ae(25775);const me=Ae(80179);const ye=Ae(63212);const getLeafFromEntry=R=>he(void 0,void 0,void 0,(function*(){if(!R){throw new Error("getLeafFromEntry requires a Uint8Array entry.")}const pe=(0,ye.hexToBin)("00");return yield(0,ge.HASH)((0,me.CONCAT)(pe,R))}));pe.getLeafFromEntry=getLeafFromEntry},81347:function(R,pe,Ae){"use strict";var he=this&&this.__awaiter||function(R,pe,Ae,he){function adopt(R){return R instanceof Ae?R:new Ae((function(pe){pe(R)}))}return new(Ae||(Ae=Promise))((function(Ae,ge){function fulfilled(R){try{step(he.next(R))}catch(R){ge(R)}}function rejected(R){try{step(he["throw"](R))}catch(R){ge(R)}}function step(R){R.done?Ae(R.value):adopt(R.value).then(fulfilled,rejected)}step((he=he.apply(R,pe||[])).next())}))};Object.defineProperty(pe,"__esModule",{value:true});pe.getRootFromInclusionProof=void 0;const ge=Ae(80179);const me=Ae(63212);const ye=Ae(25775);const getRootFromInclusionProof=(R,pe)=>he(void 0,void 0,void 0,(function*(){const{tree_size:Ae,leaf_index:he,inclusion_path:ve}=pe;if(he>Ae){throw new Error("leaf index is out of bound")}let be=he;let Ee=Ae-1;let Ce=R;const we=(0,me.hexToBin)("01");for(const R of ve){if(Ee===0){throw new Error("verification failed, sn is 0")}if(be%2===1||be===Ee){Ce=yield(0,ye.HASH)((0,ge.CONCAT)(we,(0,ge.CONCAT)(R,Ce)));while(be%2!==1){be=be>>1;Ee=Ee>>1;if(be===0){break}}}else{Ce=yield(0,ye.HASH)((0,ge.CONCAT)(we,(0,ge.CONCAT)(Ce,R)))}be=be>>1;Ee=Ee>>1}const Ie=Ee===0;if(!Ie){throw new Error("sn is not zero, proof validation failed.")}return Ce}));pe.getRootFromInclusionProof=getRootFromInclusionProof},31607:function(R,pe,Ae){"use strict";var he=this&&this.__awaiter||function(R,pe,Ae,he){function adopt(R){return R instanceof Ae?R:new Ae((function(pe){pe(R)}))}return new(Ae||(Ae=Promise))((function(Ae,ge){function fulfilled(R){try{step(he.next(R))}catch(R){ge(R)}}function rejected(R){try{step(he["throw"](R))}catch(R){ge(R)}}function step(R){R.done?Ae(R.value):adopt(R.value).then(fulfilled,rejected)}step((he=he.apply(R,pe||[])).next())}))};Object.defineProperty(pe,"__esModule",{value:true});pe.getRootFromLeaves=void 0;const ge=Ae(25775);const me=Ae(80179);const ye=Ae(63212);const ve=Ae(22285);const be=Ae(92287);const Ee=Ae(50482);const Ce=(0,ve.strToBin)("");const getRootFromLeaves=R=>he(void 0,void 0,void 0,(function*(){const Ae=R.length;if(Ae===0){return(0,ge.HASH)(Ce)}if(Ae===1){return R[0]}const he=(0,be.highestPowerOf2LessThanN)(Ae);const ve=(0,Ee.CUT)(R,0,he);const we=(0,Ee.CUT)(R,he,Ae);const Ie=(0,ye.hexToBin)("01");return(0,ge.HASH)((0,me.CONCAT)(Ie,(0,me.CONCAT)(yield(0,pe.getRootFromLeaves)(ve),yield(0,pe.getRootFromLeaves)(we))))}));pe.getRootFromLeaves=getRootFromLeaves},38232:function(R,pe,Ae){"use strict";var he=this&&this.__createBinding||(Object.create?function(R,pe,Ae,he){if(he===undefined)he=Ae;var ge=Object.getOwnPropertyDescriptor(pe,Ae);if(!ge||("get"in ge?!pe.__esModule:ge.writable||ge.configurable)){ge={enumerable:true,get:function(){return pe[Ae]}}}Object.defineProperty(R,he,ge)}:function(R,pe,Ae,he){if(he===undefined)he=Ae;R[he]=pe[Ae]});var ge=this&&this.__exportStar||function(R,pe){for(var Ae in R)if(Ae!=="default"&&!Object.prototype.hasOwnProperty.call(pe,Ae))he(pe,R,Ae)};Object.defineProperty(pe,"__esModule",{value:true});ge(Ae(14341),pe);ge(Ae(31607),pe);ge(Ae(81347),pe);ge(Ae(24711),pe);ge(Ae(42913),pe);ge(Ae(66465),pe);ge(Ae(20270),pe)},66465:function(R,pe,Ae){"use strict";var he=this&&this.__awaiter||function(R,pe,Ae,he){function adopt(R){return R instanceof Ae?R:new Ae((function(pe){pe(R)}))}return new(Ae||(Ae=Promise))((function(Ae,ge){function fulfilled(R){try{step(he.next(R))}catch(R){ge(R)}}function rejected(R){try{step(he["throw"](R))}catch(R){ge(R)}}function step(R){R.done?Ae(R.value):adopt(R.value).then(fulfilled,rejected)}step((he=he.apply(R,pe||[])).next())}))};Object.defineProperty(pe,"__esModule",{value:true});pe.verifyConsistencyProof=void 0;const ge=Ae(25775);const me=Ae(80179);const ye=Ae(63212);const ve=Ae(9365);const be=Ae(9600);const Ee=(0,ye.hexToBin)("01");const Ce=Ae(83793);const verifyConsistencyProof=(R,pe,Ae,ye,we)=>he(void 0,void 0,void 0,(function*(){const{consistency_path:he}=we;if(he.length===0){return false}if((0,Ce.EXACT_POWER_OF_2)(pe)){}let Ie=pe-1;let _e=ye-1;while((0,ve.LSB)(Ie)){Ie=Ie>>1;_e=_e>>1}let Be=he[0];let Se=he[0];for(let R=1;R>1;_e=_e>>1}}else{Se=yield(0,ge.HASH)((0,me.CONCAT)(Ee,(0,me.CONCAT)(Se,pe)))}Ie=Ie>>1;_e=_e>>1}const Qe=_e===0;if(!Qe){throw new Error("sn is not zero, proof validation failed.")}const xe=(0,be.EQUAL)(Be,R);const De=(0,be.EQUAL)(Se,Ae);return xe&&De}));pe.verifyConsistencyProof=verifyConsistencyProof},80179:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.CONCAT=void 0;const CONCAT=(R,pe)=>{const Ae=new Uint8Array(R.length+pe.length);Ae.set(R);Ae.set(pe,R.length);return Ae};pe.CONCAT=CONCAT},50482:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.CUT=void 0;const CUT=(R,pe,Ae)=>{const he=[];while(pe{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.EQUAL=void 0;const EQUAL=(R,pe)=>R.length===pe.length&&R.every(((R,Ae)=>R===pe[Ae]));pe.EQUAL=EQUAL},83793:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.EXACT_POWER_OF_2=void 0;const EXACT_POWER_OF_2=R=>Math.log(R)/Math.log(2)%1===0;pe.EXACT_POWER_OF_2=EXACT_POWER_OF_2},25775:function(R,pe,Ae){"use strict";var he=this&&this.__createBinding||(Object.create?function(R,pe,Ae,he){if(he===undefined)he=Ae;var ge=Object.getOwnPropertyDescriptor(pe,Ae);if(!ge||("get"in ge?!pe.__esModule:ge.writable||ge.configurable)){ge={enumerable:true,get:function(){return pe[Ae]}}}Object.defineProperty(R,he,ge)}:function(R,pe,Ae,he){if(he===undefined)he=Ae;R[he]=pe[Ae]});var ge=this&&this.__setModuleDefault||(Object.create?function(R,pe){Object.defineProperty(R,"default",{enumerable:true,value:pe})}:function(R,pe){R["default"]=pe});var me=this&&this.__importStar||function(R){if(R&&R.__esModule)return R;var pe={};if(R!=null)for(var Ae in R)if(Ae!=="default"&&Object.prototype.hasOwnProperty.call(R,Ae))he(pe,R,Ae);ge(pe,R);return pe};var ye=this&&this.__awaiter||function(R,pe,Ae,he){function adopt(R){return R instanceof Ae?R:new Ae((function(pe){pe(R)}))}return new(Ae||(Ae=Promise))((function(Ae,ge){function fulfilled(R){try{step(he.next(R))}catch(R){ge(R)}}function rejected(R){try{step(he["throw"](R))}catch(R){ge(R)}}function step(R){R.done?Ae(R.value):adopt(R.value).then(fulfilled,rejected)}step((he=he.apply(R,pe||[])).next())}))};Object.defineProperty(pe,"__esModule",{value:true});pe.HASH=void 0;const ve=Promise.resolve().then((()=>me(Ae(6113)))).catch((()=>{}));const HASH=R=>ye(void 0,void 0,void 0,(function*(){try{const pe=yield window.crypto.subtle.digest("SHA-256",R);return new Uint8Array(pe)}catch(pe){const Ae=yield(yield ve).createHash("sha256").update(R).digest();return new Uint8Array(Ae)}}));pe.HASH=HASH},9365:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.LSB=void 0;const LSB=R=>R%2===1;pe.LSB=LSB},47301:function(R,pe,Ae){"use strict";var he=this&&this.__awaiter||function(R,pe,Ae,he){function adopt(R){return R instanceof Ae?R:new Ae((function(pe){pe(R)}))}return new(Ae||(Ae=Promise))((function(Ae,ge){function fulfilled(R){try{step(he.next(R))}catch(R){ge(R)}}function rejected(R){try{step(he["throw"](R))}catch(R){ge(R)}}function step(R){R.done?Ae(R.value):adopt(R.value).then(fulfilled,rejected)}step((he=he.apply(R,pe||[])).next())}))};Object.defineProperty(pe,"__esModule",{value:true});pe.MTH=void 0;const ge=Ae(25775);const me=Ae(80179);const ye=Ae(63212);const ve=Ae(22285);const be=Ae(92287);const Ee=Ae(50482);const Ce=(0,ve.strToBin)("");const MTH=R=>he(void 0,void 0,void 0,(function*(){const Ae=R.length;if(Ae===0){return(0,ge.HASH)(Ce)}if(Ae===1){const pe=(0,ye.hexToBin)("00");return(0,ge.HASH)((0,me.CONCAT)(pe,R[0]))}const he=(0,be.highestPowerOf2LessThanN)(Ae);const ve=(0,Ee.CUT)(R,0,he);const we=(0,Ee.CUT)(R,he,Ae);const Ie=(0,ye.hexToBin)("01");return(0,ge.HASH)((0,me.CONCAT)(Ie,(0,me.CONCAT)(yield(0,pe.MTH)(ve),yield(0,pe.MTH)(we))))}));pe.MTH=MTH},5272:function(R,pe,Ae){"use strict";var he=this&&this.__awaiter||function(R,pe,Ae,he){function adopt(R){return R instanceof Ae?R:new Ae((function(pe){pe(R)}))}return new(Ae||(Ae=Promise))((function(Ae,ge){function fulfilled(R){try{step(he.next(R))}catch(R){ge(R)}}function rejected(R){try{step(he["throw"](R))}catch(R){ge(R)}}function step(R){R.done?Ae(R.value):adopt(R.value).then(fulfilled,rejected)}step((he=he.apply(R,pe||[])).next())}))};Object.defineProperty(pe,"__esModule",{value:true});pe.PATH=void 0;const ge=Ae(47301);const me=Ae(92287);const PATH=(R,Ae)=>he(void 0,void 0,void 0,(function*(){const he=Ae.length;if(he===1&&R===0){return[]}const ye=(0,me.highestPowerOf2LessThanN)(he);if(Rhe(void 0,void 0,void 0,(function*(){const he=pe.length;if(R===he){return[yield(0,ge.MTH)(pe)]}if(Rve){const Ae=(0,me.CUT)(pe,ve,he);const ye=yield SUBPROOF(R-ve,Ae,false);const be=yield(0,ge.MTH)((0,me.CUT)(pe,0,ve));return ye.concat(be)}}throw new Error("m cannot be greater than n")}));const PROOF=(R,pe)=>he(void 0,void 0,void 0,(function*(){return SUBPROOF(R,pe,true)}));pe.PROOF=PROOF},23505:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.binToHex=void 0;const binToHex=R=>R.reduce(((R,pe)=>R+pe.toString(16).padStart(2,"0")),"");pe.binToHex=binToHex},16721:function(R,pe,Ae){"use strict";var he=this&&this.__awaiter||function(R,pe,Ae,he){function adopt(R){return R instanceof Ae?R:new Ae((function(pe){pe(R)}))}return new(Ae||(Ae=Promise))((function(Ae,ge){function fulfilled(R){try{step(he.next(R))}catch(R){ge(R)}}function rejected(R){try{step(he["throw"](R))}catch(R){ge(R)}}function step(R){R.done?Ae(R.value):adopt(R.value).then(fulfilled,rejected)}step((he=he.apply(R,pe||[])).next())}))};Object.defineProperty(pe,"__esModule",{value:true});pe.consistencyProof=void 0;const ge=Ae(83690);const consistencyProof=(R,pe)=>he(void 0,void 0,void 0,(function*(){const Ae=R.tree_size;const he=pe.length;const me=yield(0,ge.PROOF)(R.tree_size,pe);return{log_id:"",tree_size_1:Ae,tree_size_2:he,consistency_path:me}}));pe.consistencyProof=consistencyProof},63212:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.hexToBin=void 0;const hexToBin=R=>Uint8Array.from(R.match(/.{1,2}/g).map((R=>parseInt(R,16))));pe.hexToBin=hexToBin},92287:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.highestPowerOf2LessThanN=void 0;const highestPowerOf2LessThanN=R=>{let pe=0;if(Math.pow(2,pe)>=R){return pe}else{while(Math.pow(2,pe)=R){pe=pe-1}return Math.pow(2,pe)};pe.highestPowerOf2LessThanN=highestPowerOf2LessThanN},65449:function(R,pe,Ae){"use strict";var he=this&&this.__awaiter||function(R,pe,Ae,he){function adopt(R){return R instanceof Ae?R:new Ae((function(pe){pe(R)}))}return new(Ae||(Ae=Promise))((function(Ae,ge){function fulfilled(R){try{step(he.next(R))}catch(R){ge(R)}}function rejected(R){try{step(he["throw"](R))}catch(R){ge(R)}}function step(R){R.done?Ae(R.value):adopt(R.value).then(fulfilled,rejected)}step((he=he.apply(R,pe||[])).next())}))};Object.defineProperty(pe,"__esModule",{value:true});pe.inclusionProof=void 0;const ge=Ae(9600);const me=Ae(5272);const inclusionProof=(R,pe)=>he(void 0,void 0,void 0,(function*(){const Ae=pe.findIndex((pe=>(0,ge.EQUAL)(pe,R)));if(Ae===-1){throw new Error("Entry is not included in log.")}return{log_id:"",tree_size:pe.length,leaf_index:Ae,inclusion_path:yield(0,me.PATH)(Ae,pe)}}));pe.inclusionProof=inclusionProof},97523:function(R,pe,Ae){"use strict";var he=this&&this.__createBinding||(Object.create?function(R,pe,Ae,he){if(he===undefined)he=Ae;var ge=Object.getOwnPropertyDescriptor(pe,Ae);if(!ge||("get"in ge?!pe.__esModule:ge.writable||ge.configurable)){ge={enumerable:true,get:function(){return pe[Ae]}}}Object.defineProperty(R,he,ge)}:function(R,pe,Ae,he){if(he===undefined)he=Ae;R[he]=pe[Ae]});var ge=this&&this.__exportStar||function(R,pe){for(var Ae in R)if(Ae!=="default"&&!Object.prototype.hasOwnProperty.call(pe,Ae))he(pe,R,Ae)};Object.defineProperty(pe,"__esModule",{value:true});ge(Ae(25775),pe);ge(Ae(47301),pe);ge(Ae(83690),pe);ge(Ae(5272),pe);ge(Ae(23505),pe);ge(Ae(63212),pe);ge(Ae(22285),pe);ge(Ae(37545),pe);ge(Ae(35829),pe);ge(Ae(78924),pe);ge(Ae(65449),pe);ge(Ae(803),pe);ge(Ae(16721),pe);ge(Ae(71884),pe)},37545:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.leaf=void 0;const he=Ae(47301);const leaf=R=>(0,he.MTH)([R]);pe.leaf=leaf},22285:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.strToBin=void 0;const Ae=new TextEncoder;const strToBin=R=>Ae.encode(R);pe.strToBin=strToBin},35829:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.treeHead=void 0;const he=Ae(47301);const treeHead=R=>(0,he.MTH)(R);pe.treeHead=treeHead},71884:function(R,pe,Ae){"use strict";var he=this&&this.__awaiter||function(R,pe,Ae,he){function adopt(R){return R instanceof Ae?R:new Ae((function(pe){pe(R)}))}return new(Ae||(Ae=Promise))((function(Ae,ge){function fulfilled(R){try{step(he.next(R))}catch(R){ge(R)}}function rejected(R){try{step(he["throw"](R))}catch(R){ge(R)}}function step(R){R.done?Ae(R.value):adopt(R.value).then(fulfilled,rejected)}step((he=he.apply(R,pe||[])).next())}))};Object.defineProperty(pe,"__esModule",{value:true});pe.verifyConsistencyProof=void 0;const ge=Ae(25775);const me=Ae(80179);const ye=Ae(63212);const ve=Ae(9365);const be=Ae(9600);const Ee=(0,ye.hexToBin)("01");const Ce=Ae(83793);const VERIFY_PROOF=(R,pe,Ae,ye,we)=>he(void 0,void 0,void 0,(function*(){if(we.length===0){return false}if((0,Ce.EXACT_POWER_OF_2)(R)){}let he=R-1;let Ie=Ae-1;while((0,ve.LSB)(he)){he=he>>1;Ie=Ie>>1}let _e=we[0];let Be=we[0];for(let R=1;R>1;Ie=Ie>>1}}else{Be=yield(0,ge.HASH)((0,me.CONCAT)(Ee,(0,me.CONCAT)(Be,pe)))}he=he>>1;Ie=Ie>>1}const Se=(0,be.EQUAL)(_e,pe);const Qe=(0,be.EQUAL)(Be,ye);const xe=Ie===0;return xe&&Se&&Qe}));const verifyConsistencyProof=(R,pe,Ae)=>he(void 0,void 0,void 0,(function*(){return VERIFY_PROOF(Ae.tree_size_1,R,Ae.tree_size_2,pe,Ae.consistency_path)}));pe.verifyConsistencyProof=verifyConsistencyProof},803:function(R,pe,Ae){"use strict";var he=this&&this.__awaiter||function(R,pe,Ae,he){function adopt(R){return R instanceof Ae?R:new Ae((function(pe){pe(R)}))}return new(Ae||(Ae=Promise))((function(Ae,ge){function fulfilled(R){try{step(he.next(R))}catch(R){ge(R)}}function rejected(R){try{step(he["throw"](R))}catch(R){ge(R)}}function step(R){R.done?Ae(R.value):adopt(R.value).then(fulfilled,rejected)}step((he=he.apply(R,pe||[])).next())}))};Object.defineProperty(pe,"__esModule",{value:true});pe.verifyInclusionProof=void 0;const ge=Ae(80179);const me=Ae(63212);const ye=Ae(25775);const ve=Ae(9600);const verifyInclusionProof=(R,pe,Ae)=>he(void 0,void 0,void 0,(function*(){const{tree_size:he,leaf_index:be,inclusion_path:Ee}=Ae;if(be>he){return false}let Ce=be;let we=he-1;let Ie=pe;const _e=(0,me.hexToBin)("01");for(const R of Ee){if(we===0){return false}if(Ce%2===1||Ce===we){Ie=yield(0,ye.HASH)((0,ge.CONCAT)(_e,(0,ge.CONCAT)(R,Ie)));while(Ce%2!==1){Ce=Ce>>1;we=we>>1;if(Ce===0){break}}}else{Ie=yield(0,ye.HASH)((0,ge.CONCAT)(_e,(0,ge.CONCAT)(Ie,R)))}Ce=Ce>>1;we=we>>1}const Be=(0,ve.EQUAL)(Ie,R);const Se=we===0;return Se&&Be}));pe.verifyInclusionProof=verifyInclusionProof},78924:function(R,pe,Ae){"use strict";var he=this&&this.__awaiter||function(R,pe,Ae,he){function adopt(R){return R instanceof Ae?R:new Ae((function(pe){pe(R)}))}return new(Ae||(Ae=Promise))((function(Ae,ge){function fulfilled(R){try{step(he.next(R))}catch(R){ge(R)}}function rejected(R){try{step(he["throw"](R))}catch(R){ge(R)}}function step(R){R.done?Ae(R.value):adopt(R.value).then(fulfilled,rejected)}step((he=he.apply(R,pe||[])).next())}))};Object.defineProperty(pe,"__esModule",{value:true});pe.verifyTree=void 0;const ge=Ae(63212);const me=Ae(25775);const ye=Ae(80179);const ve=Ae(9600);const be=Ae(9365);const getMergeCount=R=>{let pe=0;while((0,be.LSB)(R>>pe)){pe++}return pe};const MERGE=R=>he(void 0,void 0,void 0,(function*(){const pe=(0,ge.hexToBin)("01");const Ae=R.pop();const he=R.pop();R.push(yield(0,me.HASH)((0,ye.CONCAT)(pe,(0,ye.CONCAT)(he,Ae))))}));const verifyTree=(R,pe)=>he(void 0,void 0,void 0,(function*(){const Ae=[];const he=pe.length;for(let R=0;R1){yield MERGE(Ae)}const be=Ae[0];const Ee=R;return(0,ve.EQUAL)(be,Ee)}));pe.verifyTree=verifyTree},57994:function(R,pe,Ae){"use strict";var he=this&&this.__createBinding||(Object.create?function(R,pe,Ae,he){if(he===undefined)he=Ae;var ge=Object.getOwnPropertyDescriptor(pe,Ae);if(!ge||("get"in ge?!pe.__esModule:ge.writable||ge.configurable)){ge={enumerable:true,get:function(){return pe[Ae]}}}Object.defineProperty(R,he,ge)}:function(R,pe,Ae,he){if(he===undefined)he=Ae;R[he]=pe[Ae]});var ge=this&&this.__setModuleDefault||(Object.create?function(R,pe){Object.defineProperty(R,"default",{enumerable:true,value:pe})}:function(R,pe){R["default"]=pe});var me=this&&this.__importStar||function(R){if(R&&R.__esModule)return R;var pe={};if(R!=null)for(var Ae in R)if(Ae!=="default"&&Object.prototype.hasOwnProperty.call(R,Ae))he(pe,R,Ae);ge(pe,R);return pe};Object.defineProperty(pe,"__esModule",{value:true});pe.CoMETRE=pe.RFC9162=void 0;const ye=me(Ae(97523));pe.RFC9162=ye;const ve=me(Ae(38232));pe.CoMETRE=ve;const be=ye;pe["default"]=be},73772:function(R,pe,Ae){"use strict";var he=this&&this.__createBinding||(Object.create?function(R,pe,Ae,he){if(he===undefined)he=Ae;var ge=Object.getOwnPropertyDescriptor(pe,Ae);if(!ge||("get"in ge?!pe.__esModule:ge.writable||ge.configurable)){ge={enumerable:true,get:function(){return pe[Ae]}}}Object.defineProperty(R,he,ge)}:function(R,pe,Ae,he){if(he===undefined)he=Ae;R[he]=pe[Ae]});var ge=this&&this.__exportStar||function(R,pe){for(var Ae in R)if(Ae!=="default"&&!Object.prototype.hasOwnProperty.call(pe,Ae))he(pe,R,Ae)};var me=this&&this.__awaiter||function(R,pe,Ae,he){function adopt(R){return R instanceof Ae?R:new Ae((function(pe){pe(R)}))}return new(Ae||(Ae=Promise))((function(Ae,ge){function fulfilled(R){try{step(he.next(R))}catch(R){ge(R)}}function rejected(R){try{step(he["throw"](R))}catch(R){ge(R)}}function step(R){R.done?Ae(R.value):adopt(R.value).then(fulfilled,rejected)}step((he=he.apply(R,pe||[])).next())}))};var ye;Object.defineProperty(pe,"__esModule",{value:true});ge(Ae(78125),pe);const ve=Ae(88776);class VerifiableDataPlatfrom extends ve.Api{constructor(){super(...arguments);this.useToken=R=>{this.instance.defaults.headers.common["Authorization"]=`Bearer ${R}`}}}ye=VerifiableDataPlatfrom;VerifiableDataPlatfrom.fromEnv=R=>me(void 0,void 0,void 0,(function*(){const pe=new VerifiableDataPlatfrom({baseURL:R.API_BASE_URL});const Ae=yield pe.oauth.tokenCreate({grant_type:"client_credentials",client_id:R.CLIENT_ID,client_secret:R.CLIENT_SECRET,audience:R.TOKEN_AUDIENCE});pe.useToken(Ae.data.access_token);return pe}));pe["default"]=VerifiableDataPlatfrom},88776:function(R,pe,Ae){"use strict";var he=this&&this.__awaiter||function(R,pe,Ae,he){function adopt(R){return R instanceof Ae?R:new Ae((function(pe){pe(R)}))}return new(Ae||(Ae=Promise))((function(Ae,ge){function fulfilled(R){try{step(he.next(R))}catch(R){ge(R)}}function rejected(R){try{step(he["throw"](R))}catch(R){ge(R)}}function step(R){R.done?Ae(R.value):adopt(R.value).then(fulfilled,rejected)}step((he=he.apply(R,pe||[])).next())}))};var ge=this&&this.__rest||function(R,pe){var Ae={};for(var he in R)if(Object.prototype.hasOwnProperty.call(R,he)&&pe.indexOf(he)<0)Ae[he]=R[he];if(R!=null&&typeof Object.getOwnPropertySymbols==="function")for(var ge=0,he=Object.getOwnPropertySymbols(R);ge{this.securityData=R};this.request=R=>he(this,void 0,void 0,(function*(){var{secure:pe,path:Ae,type:he,query:me,format:ye,body:be}=R,Ee=ge(R,["secure","path","type","query","format","body"]);const Ce=(typeof pe==="boolean"?pe:this.secure)&&this.securityWorker&&(yield this.securityWorker(this.securityData))||{};const we=this.mergeRequestParams(Ee,Ce);const Ie=ye||this.format||undefined;if(he===ve.FormData&&be&&be!==null&&typeof be==="object"){be=this.createFormData(be)}if(he===ve.Text&&be&&be!==null&&typeof be!=="string"){be=JSON.stringify(be)}return this.instance.request(Object.assign(Object.assign({},we),{headers:Object.assign(Object.assign({},we.headers||{}),he&&he!==ve.FormData?{"Content-Type":he}:{}),params:me,responseType:Ie,data:be,url:Ae}))}));this.instance=ye.default.create(Object.assign(Object.assign({},be),{baseURL:be.baseURL||""}));this.secure=Ae;this.format=me;this.securityWorker=pe}mergeRequestParams(R,pe){const Ae=R.method||pe&&pe.method;return Object.assign(Object.assign(Object.assign(Object.assign({},this.instance.defaults),R),pe||{}),{headers:Object.assign(Object.assign(Object.assign({},Ae&&this.instance.defaults.headers[Ae.toLowerCase()]||{}),R.headers||{}),pe&&pe.headers||{})})}stringifyFormItem(R){if(typeof R==="object"&&R!==null){return JSON.stringify(R)}else{return`${R}`}}createFormData(R){return Object.keys(R||{}).reduce(((pe,Ae)=>{const he=R[Ae];const ge=he instanceof Array?he:[he];for(const R of ge){const he=R instanceof Blob||R instanceof File;pe.append(Ae,he?R:this.stringifyFormItem(R))}return pe}),new FormData)}}pe.HttpClient=HttpClient;class Api extends HttpClient{constructor(){super(...arguments);this.oauth={tokenCreate:(R,pe={})=>this.request(Object.assign({path:`/oauth/token`,method:"POST",body:R,type:ve.Json,format:"json"},pe))};this.did={getDids:(R={})=>this.request(Object.assign({path:`/did/identifiers`,method:"GET",secure:true,format:"json"},R)),makeDidDefault:(R,pe={})=>this.request(Object.assign({path:`/did/${R}/make-default`,method:"PUT",secure:true,format:"json"},pe)),didMethodOperations:(R,pe={})=>this.request(Object.assign({path:`/did/method/operations`,method:"POST",body:R,secure:true,type:ve.Json,format:"json"},pe))};this.identifiers={resolve:(R,pe={})=>this.request(Object.assign({path:`/identifiers/${R}`,method:"GET",secure:true,format:"json"},pe))};this.contacts={createContact:(R,pe={})=>this.request(Object.assign({path:`/contacts`,method:"POST",body:R,secure:true,type:ve.Json,format:"json"},pe)),getContacts:(R={})=>this.request(Object.assign({path:`/contacts`,method:"GET",secure:true,format:"json"},R)),updateContact:(R,pe,Ae={})=>this.request(Object.assign({path:`/contacts/${R}`,method:"PUT",body:pe,secure:true,type:ve.Json,format:"json"},Ae)),deleteContact:(R,pe={})=>this.request(Object.assign({path:`/contacts/${R}`,method:"DELETE",secure:true,format:"json"},pe))};this.credentials={issueCredential:(R,pe={})=>this.request(Object.assign({path:`/credentials/issue`,method:"POST",body:R,secure:true,type:ve.Json,format:"json"},pe)),updateCredentialStatus:(R,pe={})=>this.request(Object.assign({path:`/credentials/status`,method:"POST",body:R,secure:true,type:ve.Json,format:"json"},pe)),deriveCredential:(R,pe={})=>this.request(Object.assign({path:`/credentials/derive`,method:"POST",body:R,secure:true,type:ve.Json,format:"json"},pe)),verifyOrganizationCredential:(R,pe={})=>this.request(Object.assign({path:`/credentials/verify`,method:"POST",body:R,secure:true,type:ve.Json,format:"json"},pe)),storeCredential:(R,pe={})=>this.request(Object.assign({path:`/credentials`,method:"POST",body:R,secure:true,type:ve.Json,format:"json"},pe)),getCredentials:(R={})=>this.request(Object.assign({path:`/credentials`,method:"GET",secure:true,format:"json"},R)),getCredential:(R,pe={})=>this.request(Object.assign({path:`/credentials/${R}`,method:"GET",secure:true,format:"json"},pe)),deleteCredential:(R,pe={})=>this.request(Object.assign({path:`/credentials/${R}`,method:"DELETE",secure:true,format:"json"},pe)),verifyCredential:(R,pe={})=>this.request(Object.assign({path:`/credentials/${R}/verify`,method:"GET",secure:true,format:"json"},pe)),updateCredentialStatus2:(R,pe,Ae={})=>this.request(Object.assign({path:`/credentials/${R}/status`,method:"PATCH",body:pe,secure:true,type:ve.Json,format:"json"},Ae)),getCredentialVisibility:(R,pe={})=>this.request(Object.assign({path:`/credentials/${R}/visibility`,method:"GET",secure:true,format:"json"},pe)),changeCredentialVisibility:(R,pe,Ae={})=>this.request(Object.assign({path:`/credentials/${R}/visibility`,method:"PATCH",body:pe,secure:true,type:ve.Json,format:"json"},Ae))};this.organizations={notifyPresentationAvailable:(R,pe,Ae={})=>this.request(Object.assign({path:`/organizations/${R}/presentations/available`,method:"POST",body:pe,type:ve.Json,format:"json"},Ae)),storePresentation:(R,pe,Ae={})=>this.request(Object.assign({path:`/organizations/${R}/presentations/submissions`,method:"POST",body:pe,type:ve.Json,format:"json"},Ae)),submitPresentationWithOAuth2Security:(R,pe,Ae={})=>this.request(Object.assign({path:`/organizations/${R}/presentations`,method:"POST",body:pe,secure:true,type:ve.Json,format:"json"},Ae)),getOrganizations:(R={})=>this.request(Object.assign({path:`/organizations`,method:"GET",secure:true,format:"json"},R)),getOrganization:(R,pe={})=>this.request(Object.assign({path:`/organizations/${R}`,method:"GET",secure:true,format:"json"},pe)),getOrganizationDidWeb:(R,pe={})=>this.request(Object.assign({path:`/organizations/${R}/did.json`,method:"GET",secure:true,format:"json"},pe))};this.presentations={provePresentation:(R,pe={})=>this.request(Object.assign({path:`/presentations/prove`,method:"POST",body:R,secure:true,type:ve.Json,format:"json"},pe)),verifyPresentation:(R,pe={})=>this.request(Object.assign({path:`/presentations/verify`,method:"POST",body:R,secure:true,type:ve.Json,format:"json"},pe)),sendDidAuthPresentation:(R,pe={})=>this.request(Object.assign({path:`/presentations/send-did-auth-presentation`,method:"POST",body:R,type:ve.Json,format:"json"},pe)),getPresentationsSharedWithMe:(R={})=>this.request(Object.assign({path:`/presentations/received`,method:"GET",secure:true,format:"json"},R)),getPresentationsSharedWithOthers:(R={})=>this.request(Object.assign({path:`/presentations/sent`,method:"GET",secure:true,format:"json"},R)),getPresentation:(R,pe={})=>this.request(Object.assign({path:`/presentations/${R}`,method:"GET",secure:true,format:"json"},pe)),deleteSubmission:(R,pe={})=>this.request(Object.assign({path:`/presentations/${R}`,method:"DELETE",secure:true},pe))};this.applications={getApplications:(R={})=>this.request(Object.assign({path:`/applications`,method:"GET",secure:true,format:"json"},R)),getApplication:(R,pe={})=>this.request(Object.assign({path:`/applications/${R}`,method:"GET",secure:true,format:"json"},pe)),updateApplication:(R,pe,Ae={})=>this.request(Object.assign({path:`/applications/${R}`,method:"PUT",body:pe,secure:true,type:ve.Json,format:"json"},Ae))};this.activities={activitiesList:(R={})=>this.request(Object.assign({path:`/activities`,method:"GET",secure:true,format:"json"},R))};this.batches={createBatch:(R,pe={})=>this.request(Object.assign({path:`/batches`,method:"POST",body:R,secure:true,type:ve.Json,format:"json"},pe)),getBatches:(R={})=>this.request(Object.assign({path:`/batches`,method:"GET",secure:true,format:"json"},R)),validateBatch:(R,pe={})=>this.request(Object.assign({path:`/batches/validate`,method:"POST",body:R,secure:true,type:ve.Json,format:"json"},pe)),getBatch:(R,pe={})=>this.request(Object.assign({path:`/batches/${R}`,method:"GET",secure:true,format:"json"},pe))};this.marketplace={getMarketplaceTemplates:(R={})=>this.request(Object.assign({path:`/marketplace/templates`,method:"GET",secure:true,format:"json"},R)),getMarketplaceTemplate:(R,pe={})=>this.request(Object.assign({path:`/marketplace/templates/${R}`,method:"GET",secure:true,format:"json"},pe))};this.mnemonics={getMnemonics:(R={})=>this.request(Object.assign({path:`/mnemonics`,method:"GET",secure:true,format:"json"},R)),createMnemonic:(R,pe={})=>this.request(Object.assign({path:`/mnemonics`,method:"POST",body:R,secure:true,type:ve.Json,format:"json"},pe)),getMnemonic:(R,pe={})=>this.request(Object.assign({path:`/mnemonics/${R}`,method:"GET",secure:true,format:"json"},pe)),updateMnemonic:(R,pe,Ae={})=>this.request(Object.assign({path:`/mnemonics/${R}`,method:"PUT",body:pe,secure:true,type:ve.Json,format:"json"},Ae)),deleteMnemonic:(R,pe={})=>this.request(Object.assign({path:`/mnemonics/${R}`,method:"DELETE",secure:true,format:"json"},pe)),getPrivateKeysForMnemonic:(R,pe={})=>this.request(Object.assign({path:`/mnemonics/${R}/keys`,method:"GET",secure:true,format:"json"},pe))};this.keys={getPrivateKeys:(R={})=>this.request(Object.assign({path:`/keys`,method:"GET",secure:true,format:"json"},R)),updatePrivateKey:(R,pe,Ae={})=>this.request(Object.assign({path:`/keys/${R}`,method:"PATCH",body:pe,secure:true,type:ve.Json,format:"json"},Ae)),deletePrivateKey:(R,pe={})=>this.request(Object.assign({path:`/keys/${R}`,method:"DELETE",secure:true,format:"json"},pe)),derivePrivateKey:(R,pe={})=>this.request(Object.assign({path:`/keys/derive`,method:"POST",body:R,secure:true,type:ve.Json,format:"json"},pe)),generatePrivateKey:(R,pe={})=>this.request(Object.assign({path:`/keys/generate`,method:"POST",body:R,secure:true,type:ve.Json,format:"json"},pe)),recoverPrivateKey:(R,pe={})=>this.request(Object.assign({path:`/keys/recover`,method:"POST",body:R,secure:true,type:ve.Json,format:"json"},pe)),importPrivateKey:(R,pe={})=>this.request(Object.assign({path:`/keys/import`,method:"POST",body:R,secure:true,type:ve.Json,format:"json"},pe))};this.workflows={createWorkflowInstance:(R,pe={})=>this.request(Object.assign({path:`/workflows/instances`,method:"POST",body:R,secure:true,type:ve.Json,format:"json"},pe)),getWorkflowInstances:(R={})=>this.request(Object.assign({path:`/workflows/instances`,method:"GET",secure:true,format:"json"},R)),getWorkflowInstance:(R,pe={})=>this.request(Object.assign({path:`/workflows/instances/${R}`,method:"GET",secure:true,format:"json"},pe)),updateWorkflowInstance:(R,pe,Ae={})=>this.request(Object.assign({path:`/workflows/instances/${R}`,method:"PUT",body:pe,secure:true,type:ve.Json,format:"json"},Ae)),deleteWorkflowInstance:(R,pe={})=>this.request(Object.assign({path:`/workflows/instances/${R}`,method:"DELETE",secure:true,format:"json"},pe)),createWorkflowDefinition:(R,pe={})=>this.request(Object.assign({path:`/workflows/definitions`,method:"POST",body:R,secure:true,type:ve.Json,format:"json"},pe)),getWorkflowDefinitions:(R={})=>this.request(Object.assign({path:`/workflows/definitions`,method:"GET",secure:true,format:"json"},R)),getWorkflowDefinition:(R,pe={})=>this.request(Object.assign({path:`/workflows/definitions/${R}`,method:"GET",secure:true,format:"json"},pe)),updateWorkflowDefinition:(R,pe,Ae={})=>this.request(Object.assign({path:`/workflows/definitions/${R}`,method:"PUT",body:pe,secure:true,type:ve.Json,format:"json"},Ae)),deleteWorkflowDefinition:(R,pe={})=>this.request(Object.assign({path:`/workflows/definitions/${R}`,method:"DELETE",secure:true,format:"json"},pe))}}}pe.Api=Api},62999:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true})},78125:function(R,pe,Ae){"use strict";var he=this&&this.__createBinding||(Object.create?function(R,pe,Ae,he){if(he===undefined)he=Ae;var ge=Object.getOwnPropertyDescriptor(pe,Ae);if(!ge||("get"in ge?!pe.__esModule:ge.writable||ge.configurable)){ge={enumerable:true,get:function(){return pe[Ae]}}}Object.defineProperty(R,he,ge)}:function(R,pe,Ae,he){if(he===undefined)he=Ae;R[he]=pe[Ae]});var ge=this&&this.__exportStar||function(R,pe){for(var Ae in R)if(Ae!=="default"&&!Object.prototype.hasOwnProperty.call(pe,Ae))he(pe,R,Ae)};Object.defineProperty(pe,"__esModule",{value:true});ge(Ae(62999),pe)},65063:R=>{"use strict";R.exports=({onlyFirst:R=false}={})=>{const pe=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(pe,R?undefined:"g")}},52068:(R,pe,Ae)=>{"use strict";R=Ae.nmd(R);const wrapAnsi16=(R,pe)=>(...Ae)=>{const he=R(...Ae);return`[${he+pe}m`};const wrapAnsi256=(R,pe)=>(...Ae)=>{const he=R(...Ae);return`[${38+pe};5;${he}m`};const wrapAnsi16m=(R,pe)=>(...Ae)=>{const he=R(...Ae);return`[${38+pe};2;${he[0]};${he[1]};${he[2]}m`};const ansi2ansi=R=>R;const rgb2rgb=(R,pe,Ae)=>[R,pe,Ae];const setLazyProperty=(R,pe,Ae)=>{Object.defineProperty(R,pe,{get:()=>{const he=Ae();Object.defineProperty(R,pe,{value:he,enumerable:true,configurable:true});return he},enumerable:true,configurable:true})};let he;const makeDynamicStyles=(R,pe,ge,me)=>{if(he===undefined){he=Ae(86931)}const ye=me?10:0;const ve={};for(const[Ae,me]of Object.entries(he)){const he=Ae==="ansi16"?"ansi":Ae;if(Ae===pe){ve[he]=R(ge,ye)}else if(typeof me==="object"){ve[he]=R(me[pe],ye)}}return ve};function assembleStyles(){const R=new Map;const pe={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};pe.color.gray=pe.color.blackBright;pe.bgColor.bgGray=pe.bgColor.bgBlackBright;pe.color.grey=pe.color.blackBright;pe.bgColor.bgGrey=pe.bgColor.bgBlackBright;for(const[Ae,he]of Object.entries(pe)){for(const[Ae,ge]of Object.entries(he)){pe[Ae]={open:`[${ge[0]}m`,close:`[${ge[1]}m`};he[Ae]=pe[Ae];R.set(ge[0],ge[1])}Object.defineProperty(pe,Ae,{value:he,enumerable:false})}Object.defineProperty(pe,"codes",{value:R,enumerable:false});pe.color.close="";pe.bgColor.close="";setLazyProperty(pe.color,"ansi",(()=>makeDynamicStyles(wrapAnsi16,"ansi16",ansi2ansi,false)));setLazyProperty(pe.color,"ansi256",(()=>makeDynamicStyles(wrapAnsi256,"ansi256",ansi2ansi,false)));setLazyProperty(pe.color,"ansi16m",(()=>makeDynamicStyles(wrapAnsi16m,"rgb",rgb2rgb,false)));setLazyProperty(pe.bgColor,"ansi",(()=>makeDynamicStyles(wrapAnsi16,"ansi16",ansi2ansi,true)));setLazyProperty(pe.bgColor,"ansi256",(()=>makeDynamicStyles(wrapAnsi256,"ansi256",ansi2ansi,true)));setLazyProperty(pe.bgColor,"ansi16m",(()=>makeDynamicStyles(wrapAnsi16m,"rgb",rgb2rgb,true)));return pe}Object.defineProperty(R,"exports",{enumerable:true,get:assembleStyles})},3702:(R,pe,Ae)=>{"use strict"; /*! * Copyright (c) 2014, GMO GlobalSign * Copyright (c) 2015-2022, Peculiar Ventures @@ -68,13 +56,13 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - */Object.defineProperty(ie,"__esModule",{value:true});var se=oe(22420);var ae=oe(65266);function _interopNamespace(re){if(re&&re.__esModule)return re;var ie=Object.create(null);if(re){Object.keys(re).forEach((function(oe){if(oe!=="default"){var se=Object.getOwnPropertyDescriptor(re,oe);Object.defineProperty(ie,oe,se.get?se:{enumerable:true,get:function(){return re[oe]}})}}))}ie["default"]=re;return Object.freeze(ie)}var ce=_interopNamespace(se);var ue=_interopNamespace(ae);function assertBigInt(){if(typeof BigInt==="undefined"){throw new Error("BigInt is not defined. Your environment doesn't implement BigInt.")}}function concat(re){let ie=0;let oe=0;for(let oe=0;oe=ae.length){this.error="End of input reached before message was fully decoded";return-1}if(re===oe){oe+=255;const re=new Uint8Array(oe);for(let oe=0;oe8){this.error="Too big integer";return-1}if(le+1>ae.length){this.error="End of input reached before message was fully decoded";return-1}const fe=ie+1;const de=se.subarray(fe,fe+le);if(de[le-1]===0)this.warnings.push("Needlessly long encoded length");this.length=ue.utilFromBase(de,8);if(this.longFormUsed&&this.length<=127)this.warnings.push("Unnecessary usage of long length form");this.blockLength=le+1;return ie+this.blockLength}toBER(re=false){let ie;let oe;if(this.length>127)this.longFormUsed=true;if(this.isIndefiniteForm){ie=new ArrayBuffer(1);if(re===false){oe=new Uint8Array(ie);oe[0]=128}return ie}if(this.longFormUsed){const se=ue.utilToBase(this.length,8);if(se.byteLength>127){this.error="Too big length";return Ee}ie=new ArrayBuffer(se.byteLength+1);if(re)return ie;const ae=new Uint8Array(se);oe=new Uint8Array(ie);oe[0]=se.byteLength|128;for(let re=0;re{xe.Primitive=ke})();Primitive.NAME="PRIMITIVE";function localChangeType(re,ie){if(re instanceof ie){return re}const oe=new ie;oe.idBlock=re.idBlock;oe.lenBlock=re.lenBlock;oe.warnings=re.warnings;oe.valueBeforeDecodeView=re.valueBeforeDecodeView;return oe}function localFromBER(re,ie=0,oe=re.length){const se=ie;let ae=new BaseBlock({},ValueBlock);const ce=new LocalBaseBlock;if(!checkBufferParams(ce,re,ie,oe)){ae.error=ce.error;return{offset:-1,result:ae}}const ue=re.subarray(ie,ie+oe);if(!ue.length){ae.error="Zero buffer length";return{offset:-1,result:ae}}let le=ae.idBlock.fromBER(re,ie,oe);if(ae.idBlock.warnings.length){ae.warnings.concat(ae.idBlock.warnings)}if(le===-1){ae.error=ae.idBlock.error;return{offset:-1,result:ae}}ie=le;oe-=ae.idBlock.blockLength;le=ae.lenBlock.fromBER(re,ie,oe);if(ae.lenBlock.warnings.length){ae.warnings.concat(ae.lenBlock.warnings)}if(le===-1){ae.error=ae.lenBlock.error;return{offset:-1,result:ae}}ie=le;oe-=ae.lenBlock.blockLength;if(!ae.idBlock.isConstructed&&ae.lenBlock.isIndefiniteForm){ae.error="Indefinite length form used for primitive encoding form";return{offset:-1,result:ae}}let fe=BaseBlock;switch(ae.idBlock.tagClass){case 1:if(ae.idBlock.tagNumber>=37&&ae.idBlock.isHexOnly===false){ae.error="UNIVERSAL 37 and upper tags are reserved by ASN.1 standard";return{offset:-1,result:ae}}switch(ae.idBlock.tagNumber){case 0:if(ae.idBlock.isConstructed&&ae.lenBlock.length>0){ae.error="Type [UNIVERSAL 0] is reserved";return{offset:-1,result:ae}}fe=xe.EndOfContent;break;case 1:fe=xe.Boolean;break;case 2:fe=xe.Integer;break;case 3:fe=xe.BitString;break;case 4:fe=xe.OctetString;break;case 5:fe=xe.Null;break;case 6:fe=xe.ObjectIdentifier;break;case 10:fe=xe.Enumerated;break;case 12:fe=xe.Utf8String;break;case 13:fe=xe.RelativeObjectIdentifier;break;case 14:fe=xe.TIME;break;case 15:ae.error="[UNIVERSAL 15] is reserved by ASN.1 standard";return{offset:-1,result:ae};case 16:fe=xe.Sequence;break;case 17:fe=xe.Set;break;case 18:fe=xe.NumericString;break;case 19:fe=xe.PrintableString;break;case 20:fe=xe.TeletexString;break;case 21:fe=xe.VideotexString;break;case 22:fe=xe.IA5String;break;case 23:fe=xe.UTCTime;break;case 24:fe=xe.GeneralizedTime;break;case 25:fe=xe.GraphicString;break;case 26:fe=xe.VisibleString;break;case 27:fe=xe.GeneralString;break;case 28:fe=xe.UniversalString;break;case 29:fe=xe.CharacterString;break;case 30:fe=xe.BmpString;break;case 31:fe=xe.DATE;break;case 32:fe=xe.TimeOfDay;break;case 33:fe=xe.DateTime;break;case 34:fe=xe.Duration;break;default:{const re=ae.idBlock.isConstructed?new xe.Constructed:new xe.Primitive;re.idBlock=ae.idBlock;re.lenBlock=ae.lenBlock;re.warnings=ae.warnings;ae=re}}break;case 2:case 3:case 4:default:{fe=ae.idBlock.isConstructed?xe.Constructed:xe.Primitive}}ae=localChangeType(ae,fe);le=ae.fromBER(re,ie,ae.lenBlock.isIndefiniteForm?oe:ae.lenBlock.length);ae.valueBeforeDecodeView=re.subarray(se,se+ae.blockLength);return{offset:le,result:ae}}function fromBER(re){if(!re.byteLength){const re=new BaseBlock({},ValueBlock);re.error="Input buffer has zero length";return{offset:-1,result:re}}return localFromBER(ce.BufferSourceConverter.toUint8Array(re).slice(),0,re.byteLength)}function checkLen(re,ie){if(re){return 1}return ie}class LocalConstructedValueBlock extends ValueBlock{constructor({value:re=[],isIndefiniteForm:ie=false,...oe}={}){super(oe);this.value=re;this.isIndefiniteForm=ie}fromBER(re,ie,oe){const se=ce.BufferSourceConverter.toUint8Array(re);if(!checkBufferParams(this,se,ie,oe)){return-1}this.valueBeforeDecodeView=se.subarray(ie,ie+oe);if(this.valueBeforeDecodeView.length===0){this.warnings.push("Zero buffer length");return ie}let ae=ie;while(checkLen(this.isIndefiniteForm,oe)>0){const re=localFromBER(se,ae,oe);if(re.offset===-1){this.error=re.result.error;this.warnings.concat(re.result.warnings);return-1}ae=re.offset;this.blockLength+=re.result.blockLength;oe-=re.result.blockLength;this.value.push(re.result);if(this.isIndefiniteForm&&re.result.constructor.NAME===Ie){break}}if(this.isIndefiniteForm){if(this.value[this.value.length-1].constructor.NAME===Ie){this.value.pop()}else{this.warnings.push("No EndOfContent block encoded")}}return ae}toBER(re,ie){const oe=ie||new ViewWriter;for(let ie=0;ie` ${re}`)).join("\n"))}const ie=this.idBlock.tagClass===3?`[${this.idBlock.tagNumber}]`:this.constructor.NAME;return re.length?`${ie} :\n${re.join("\n")}`:`${ie} :`}}Oe=Constructed;(()=>{xe.Constructed=Oe})();Constructed.NAME="CONSTRUCTED";class LocalEndOfContentValueBlock extends ValueBlock{fromBER(re,ie,oe){return ie}toBER(re){return Ee}}LocalEndOfContentValueBlock.override="EndOfContentValueBlock";var De;class EndOfContent extends BaseBlock{constructor(re={}){super(re,LocalEndOfContentValueBlock);this.idBlock.tagClass=1;this.idBlock.tagNumber=0}}De=EndOfContent;(()=>{xe.EndOfContent=De})();EndOfContent.NAME=Ie;var Pe;class Null extends BaseBlock{constructor(re={}){super(re,ValueBlock);this.idBlock.tagClass=1;this.idBlock.tagNumber=5}fromBER(re,ie,oe){if(this.lenBlock.length>0)this.warnings.push("Non-zero length of value block for Null type");if(!this.idBlock.error.length)this.blockLength+=this.idBlock.blockLength;if(!this.lenBlock.error.length)this.blockLength+=this.lenBlock.blockLength;this.blockLength+=oe;if(ie+oe>re.byteLength){this.error="End of input reached before message was fully decoded (inconsistent offset and length values)";return-1}return ie+oe}toBER(re,ie){const oe=new ArrayBuffer(2);if(!re){const re=new Uint8Array(oe);re[0]=5;re[1]=0}if(ie){ie.write(oe)}return oe}onAsciiEncoding(){return`${this.constructor.NAME}`}}Pe=Null;(()=>{xe.Null=Pe})();Null.NAME="NULL";class LocalBooleanValueBlock extends(HexBlock(ValueBlock)){constructor({value:re,...ie}={}){super(ie);if(ie.valueHex){this.valueHexView=ce.BufferSourceConverter.toUint8Array(ie.valueHex)}else{this.valueHexView=new Uint8Array(1)}if(re){this.value=re}}get value(){for(const re of this.valueHexView){if(re>0){return true}}return false}set value(re){this.valueHexView[0]=re?255:0}fromBER(re,ie,oe){const se=ce.BufferSourceConverter.toUint8Array(re);if(!checkBufferParams(this,se,ie,oe)){return-1}this.valueHexView=se.subarray(ie,ie+oe);if(oe>1)this.warnings.push("Boolean value encoded in more then 1 octet");this.isHexOnly=true;ue.utilDecodeTC.call(this);this.blockLength=oe;return ie+oe}toBER(){return this.valueHexView.slice()}toJSON(){return{...super.toJSON(),value:this.value}}}LocalBooleanValueBlock.NAME="BooleanValueBlock";var Te;class Boolean extends BaseBlock{constructor(re={}){super(re,LocalBooleanValueBlock);this.idBlock.tagClass=1;this.idBlock.tagNumber=1}getValue(){return this.valueBlock.value}setValue(re){this.valueBlock.value=re}onAsciiEncoding(){return`${this.constructor.NAME} : ${this.getValue}`}}Te=Boolean;(()=>{xe.Boolean=Te})();Boolean.NAME="BOOLEAN";class LocalOctetStringValueBlock extends(HexBlock(LocalConstructedValueBlock)){constructor({isConstructed:re=false,...ie}={}){super(ie);this.isConstructed=re}fromBER(re,ie,oe){let se=0;if(this.isConstructed){this.isHexOnly=false;se=LocalConstructedValueBlock.prototype.fromBER.call(this,re,ie,oe);if(se===-1)return se;for(let re=0;re{xe.OctetString=Qe})();OctetString.NAME=Se;class LocalBitStringValueBlock extends(HexBlock(LocalConstructedValueBlock)){constructor({unusedBits:re=0,isConstructed:ie=false,...oe}={}){super(oe);this.unusedBits=re;this.isConstructed=ie;this.blockLength=this.valueHexView.byteLength}fromBER(re,ie,oe){if(!oe){return ie}let se=-1;if(this.isConstructed){se=LocalConstructedValueBlock.prototype.fromBER.call(this,re,ie,oe);if(se===-1)return se;for(const re of this.value){const ie=re.constructor.NAME;if(ie===Ie){if(this.isIndefiniteForm)break;else{this.error="EndOfContent is unexpected, BIT STRING may consists of BIT STRINGs only";return-1}}if(ie!==Be){this.error="BIT STRING may consists of BIT STRINGs only";return-1}const oe=re.valueBlock;if(this.unusedBits>0&&oe.unusedBits>0){this.error='Using of "unused bits" inside constructive BIT STRING allowed for least one only';return-1}this.unusedBits=oe.unusedBits}return se}const ae=ce.BufferSourceConverter.toUint8Array(re);if(!checkBufferParams(this,ae,ie,oe)){return-1}const ue=ae.subarray(ie,ie+oe);this.unusedBits=ue[0];if(this.unusedBits>7){this.error="Unused bits for BitString must be in range 0-7";return-1}if(!this.unusedBits){const re=ue.subarray(1);try{if(re.byteLength){const ie=localFromBER(re,0,re.byteLength);if(ie.offset!==-1&&ie.offset===oe-1){this.value=[ie.result]}}}catch(re){}}this.valueHexView=ue.subarray(1);this.blockLength=ue.length;return ie+oe}toBER(re,ie){if(this.isConstructed){return LocalConstructedValueBlock.prototype.toBER.call(this,re,ie)}if(re){return new ArrayBuffer(this.valueHexView.byteLength+1)}if(!this.valueHexView.byteLength){return Ee}const oe=new Uint8Array(this.valueHexView.length+1);oe[0]=this.unusedBits;oe.set(this.valueHexView,1);return oe.buffer}toJSON(){return{...super.toJSON(),unusedBits:this.unusedBits,isConstructed:this.isConstructed}}}LocalBitStringValueBlock.NAME="BitStringValueBlock";var Re;class BitString extends BaseBlock{constructor({idBlock:re={},lenBlock:ie={},...oe}={}){var se,ae;(se=oe.isConstructed)!==null&&se!==void 0?se:oe.isConstructed=!!((ae=oe.value)===null||ae===void 0?void 0:ae.length);super({idBlock:{isConstructed:oe.isConstructed,...re},lenBlock:{...ie,isIndefiniteForm:!!oe.isIndefiniteForm},...oe},LocalBitStringValueBlock);this.idBlock.tagClass=1;this.idBlock.tagNumber=3}fromBER(re,ie,oe){this.valueBlock.isConstructed=this.idBlock.isConstructed;this.valueBlock.isIndefiniteForm=this.lenBlock.isIndefiniteForm;return super.fromBER(re,ie,oe)}onAsciiEncoding(){if(this.valueBlock.isConstructed||this.valueBlock.value&&this.valueBlock.value.length){return Constructed.prototype.onAsciiEncoding.call(this)}else{const re=[];const ie=this.valueBlock.valueHexView;for(const oe of ie){re.push(oe.toString(2).padStart(8,"0"))}const oe=re.join("");return`${this.constructor.NAME} : ${oe.substring(0,oe.length-this.valueBlock.unusedBits)}`}}}Re=BitString;(()=>{xe.BitString=Re})();BitString.NAME=Be;var Me;function viewAdd(re,ie){const oe=new Uint8Array([0]);const se=new Uint8Array(re);const ae=new Uint8Array(ie);let ce=se.slice(0);const le=ce.length-1;const fe=ae.slice(0);const de=fe.length-1;let pe=0;const he=de=0;re--,Ae++){switch(true){case Ae=ce.length:ce=ue.utilConcatView(new Uint8Array([pe%10]),ce);break;default:ce[le-Ae]=pe%10}}if(oe[0]>0)ce=ue.utilConcatView(oe,ce);return ce}function power2(re){if(re>=le.length){for(let ie=le.length;ie<=re;ie++){const re=new Uint8Array([0]);let oe=le[ie-1].slice(0);for(let ie=oe.length-1;ie>=0;ie--){const se=new Uint8Array([(oe[ie]<<1)+re[0]]);re[0]=se[0]/10;oe[ie]=se[0]%10}if(re[0]>0)oe=ue.utilConcatView(re,oe);le.push(oe)}}return le[re]}function viewSub(re,ie){let oe=0;const se=new Uint8Array(re);const ae=new Uint8Array(ie);const ce=se.slice(0);const ue=ce.length-1;const le=ae.slice(0);const fe=le.length-1;let de;let pe=0;for(let re=fe;re>=0;re--,pe++){de=ce[ue-pe]-le[fe-pe]-oe;switch(true){case de<0:oe=1;ce[ue-pe]=de+10;break;default:oe=0;ce[ue-pe]=de}}if(oe>0){for(let re=ue-fe+1;re>=0;re--,pe++){de=ce[ue-pe]-oe;if(de<0){oe=1;ce[ue-pe]=de+10}else{oe=0;ce[ue-pe]=de;break}}}return ce.slice()}class LocalIntegerValueBlock extends(HexBlock(ValueBlock)){constructor({value:re,...ie}={}){super(ie);this._valueDec=0;if(ie.valueHex){this.setValueHex()}if(re!==undefined){this.valueDec=re}}setValueHex(){if(this.valueHexView.length>=4){this.warnings.push("Too big Integer for decoding, hex only");this.isHexOnly=true;this._valueDec=0}else{this.isHexOnly=false;if(this.valueHexView.length>0){this._valueDec=ue.utilDecodeTC.call(this)}}}set valueDec(re){this._valueDec=re;this.isHexOnly=false;this.valueHexView=new Uint8Array(ue.utilEncodeTC(re))}get valueDec(){return this._valueDec}fromDER(re,ie,oe,se=0){const ae=this.fromBER(re,ie,oe);if(ae===-1)return ae;const ce=this.valueHexView;if(ce[0]===0&&(ce[1]&128)!==0){this.valueHexView=ce.subarray(1)}else{if(se!==0){if(ce.length1)se=ce.length+1;this.valueHexView=ce.subarray(se-ce.length)}}}return ae}toDER(re=false){const ie=this.valueHexView;switch(true){case(ie[0]&128)!==0:{const re=new Uint8Array(this.valueHexView.length+1);re[0]=0;re.set(ie,1);this.valueHexView=re}break;case ie[0]===0&&(ie[1]&128)===0:{this.valueHexView=this.valueHexView.subarray(1)}break}return this.toBER(re)}fromBER(re,ie,oe){const se=super.fromBER(re,ie,oe);if(se===-1){return se}this.setValueHex();return se}toBER(re){return re?new ArrayBuffer(this.valueHexView.length):this.valueHexView.slice().buffer}toJSON(){return{...super.toJSON(),valueDec:this.valueDec}}toString(){const re=this.valueHexView.length*8-1;let ie=new Uint8Array(this.valueHexView.length*8/3);let oe=0;let se;const ae=this.valueHexView;let ce="";let ue=false;for(let ue=ae.byteLength-1;ue>=0;ue--){se=ae[ue];for(let ae=0;ae<8;ae++){if((se&1)===1){switch(oe){case re:ie=viewSub(power2(oe),ie);ce="-";break;default:ie=viewAdd(ie,power2(oe))}}oe++;se>>=1}}for(let re=0;re{Object.defineProperty(Me.prototype,"valueHex",{set:function(re){this.valueHexView=new Uint8Array(re);this.setValueHex()},get:function(){return this.valueHexView.slice().buffer}})})();var Ne;class Integer extends BaseBlock{constructor(re={}){super(re,LocalIntegerValueBlock);this.idBlock.tagClass=1;this.idBlock.tagNumber=2}toBigInt(){assertBigInt();return BigInt(this.valueBlock.toString())}static fromBigInt(re){assertBigInt();const ie=BigInt(re);const oe=new ViewWriter;const se=ie.toString(16).replace(/^-/,"");const ae=new Uint8Array(ce.Convert.FromHex(se));if(ie<0){const re=new Uint8Array(ae.length+(ae[0]&128?1:0));re[0]|=128;const se=BigInt(`0x${ce.Convert.ToHex(re)}`);const ue=se+ie;const le=ce.BufferSourceConverter.toUint8Array(ce.Convert.FromHex(ue.toString(16)));le[0]|=128;oe.write(le)}else{if(ae[0]&128){oe.write(new Uint8Array([0]))}oe.write(ae)}const ue=new Integer({valueHex:oe.final()});return ue}convertToDER(){const re=new Integer({valueHex:this.valueBlock.valueHexView});re.valueBlock.toDER();return re}convertFromDER(){return new Integer({valueHex:this.valueBlock.valueHexView[0]===0?this.valueBlock.valueHexView.subarray(1):this.valueBlock.valueHexView})}onAsciiEncoding(){return`${this.constructor.NAME} : ${this.valueBlock.toString()}`}}Ne=Integer;(()=>{xe.Integer=Ne})();Integer.NAME="INTEGER";var je;class Enumerated extends Integer{constructor(re={}){super(re);this.idBlock.tagClass=1;this.idBlock.tagNumber=10}}je=Enumerated;(()=>{xe.Enumerated=je})();Enumerated.NAME="ENUMERATED";class LocalSidValueBlock extends(HexBlock(ValueBlock)){constructor({valueDec:re=-1,isFirstSid:ie=false,...oe}={}){super(oe);this.valueDec=re;this.isFirstSid=ie}fromBER(re,ie,oe){if(!oe){return ie}const se=ce.BufferSourceConverter.toUint8Array(re);if(!checkBufferParams(this,se,ie,oe)){return-1}const ae=se.subarray(ie,ie+oe);this.valueHexView=new Uint8Array(oe);for(let re=0;re0){const ie=new LocalSidValueBlock;se=ie.fromBER(re,se,oe);if(se===-1){this.blockLength=0;this.error=ie.error;return se}if(this.value.length===0)ie.isFirstSid=true;this.blockLength+=ie.blockLength;oe-=ie.blockLength;this.value.push(ie)}return se}toBER(re){const ie=[];for(let oe=0;oeNumber.MAX_SAFE_INTEGER){assertBigInt();const ie=BigInt(se);re.valueBigInt=ie}else{re.valueDec=parseInt(se,10);if(isNaN(re.valueDec))return}if(!this.value.length){re.isFirstSid=true;ae=true}this.value.push(re)}}while(oe!==-1)}toString(){let re="";let ie=false;for(let oe=0;oe{xe.ObjectIdentifier=Le})();ObjectIdentifier.NAME="OBJECT IDENTIFIER";class LocalRelativeSidValueBlock extends(HexBlock(LocalBaseBlock)){constructor({valueDec:re=0,...ie}={}){super(ie);this.valueDec=re}fromBER(re,ie,oe){if(oe===0)return ie;const se=ce.BufferSourceConverter.toUint8Array(re);if(!checkBufferParams(this,se,ie,oe))return-1;const ae=se.subarray(ie,ie+oe);this.valueHexView=new Uint8Array(oe);for(let re=0;re0){const ie=new LocalRelativeSidValueBlock;se=ie.fromBER(re,se,oe);if(se===-1){this.blockLength=0;this.error=ie.error;return se}this.blockLength+=ie.blockLength;oe-=ie.blockLength;this.value.push(ie)}return se}toBER(re,ie){const oe=[];for(let ie=0;ie{xe.RelativeObjectIdentifier=Fe})();RelativeObjectIdentifier.NAME="RelativeObjectIdentifier";var Ue;class Sequence extends Constructed{constructor(re={}){super(re);this.idBlock.tagClass=1;this.idBlock.tagNumber=16}}Ue=Sequence;(()=>{xe.Sequence=Ue})();Sequence.NAME="SEQUENCE";var He;class Set extends Constructed{constructor(re={}){super(re);this.idBlock.tagClass=1;this.idBlock.tagNumber=17}}He=Set;(()=>{xe.Set=He})();Set.NAME="SET";class LocalStringValueBlock extends(HexBlock(ValueBlock)){constructor({...re}={}){super(re);this.isHexOnly=true;this.value=_e}toJSON(){return{...super.toJSON(),value:this.value}}}LocalStringValueBlock.NAME="StringValueBlock";class LocalSimpleStringValueBlock extends LocalStringValueBlock{}LocalSimpleStringValueBlock.NAME="SimpleStringValueBlock";class LocalSimpleStringBlock extends BaseStringBlock{constructor({...re}={}){super(re,LocalSimpleStringValueBlock)}fromBuffer(re){this.valueBlock.value=String.fromCharCode.apply(null,ce.BufferSourceConverter.toUint8Array(re))}fromString(re){const ie=re.length;const oe=this.valueBlock.valueHexView=new Uint8Array(ie);for(let se=0;se{xe.Utf8String=qe})();Utf8String.NAME="UTF8String";class LocalBmpStringValueBlock extends LocalSimpleStringBlock{fromBuffer(re){this.valueBlock.value=ce.Convert.ToUtf16String(re);this.valueBlock.valueHexView=ce.BufferSourceConverter.toUint8Array(re)}fromString(re){this.valueBlock.value=re;this.valueBlock.valueHexView=new Uint8Array(ce.Convert.FromUtf16String(re))}}LocalBmpStringValueBlock.NAME="BmpStringValueBlock";var Ke;class BmpString extends LocalBmpStringValueBlock{constructor({...re}={}){super(re);this.idBlock.tagClass=1;this.idBlock.tagNumber=30}}Ke=BmpString;(()=>{xe.BmpString=Ke})();BmpString.NAME="BMPString";class LocalUniversalStringValueBlock extends LocalSimpleStringBlock{fromBuffer(re){const ie=ArrayBuffer.isView(re)?re.slice().buffer:re.slice(0);const oe=new Uint8Array(ie);for(let re=0;re4)continue;const ce=4-ae.length;for(let re=ae.length-1;re>=0;re--)oe[se*4+re+ce]=ae[re]}this.valueBlock.value=re}}LocalUniversalStringValueBlock.NAME="UniversalStringValueBlock";var Ve;class UniversalString extends LocalUniversalStringValueBlock{constructor({...re}={}){super(re);this.idBlock.tagClass=1;this.idBlock.tagNumber=28}}Ve=UniversalString;(()=>{xe.UniversalString=Ve})();UniversalString.NAME="UniversalString";var Je;class NumericString extends LocalSimpleStringBlock{constructor(re={}){super(re);this.idBlock.tagClass=1;this.idBlock.tagNumber=18}}Je=NumericString;(()=>{xe.NumericString=Je})();NumericString.NAME="NumericString";var We;class PrintableString extends LocalSimpleStringBlock{constructor(re={}){super(re);this.idBlock.tagClass=1;this.idBlock.tagNumber=19}}We=PrintableString;(()=>{xe.PrintableString=We})();PrintableString.NAME="PrintableString";var Ge;class TeletexString extends LocalSimpleStringBlock{constructor(re={}){super(re);this.idBlock.tagClass=1;this.idBlock.tagNumber=20}}Ge=TeletexString;(()=>{xe.TeletexString=Ge})();TeletexString.NAME="TeletexString";var Ye;class VideotexString extends LocalSimpleStringBlock{constructor(re={}){super(re);this.idBlock.tagClass=1;this.idBlock.tagNumber=21}}Ye=VideotexString;(()=>{xe.VideotexString=Ye})();VideotexString.NAME="VideotexString";var ze;class IA5String extends LocalSimpleStringBlock{constructor(re={}){super(re);this.idBlock.tagClass=1;this.idBlock.tagNumber=22}}ze=IA5String;(()=>{xe.IA5String=ze})();IA5String.NAME="IA5String";var $e;class GraphicString extends LocalSimpleStringBlock{constructor(re={}){super(re);this.idBlock.tagClass=1;this.idBlock.tagNumber=25}}$e=GraphicString;(()=>{xe.GraphicString=$e})();GraphicString.NAME="GraphicString";var Ze;class VisibleString extends LocalSimpleStringBlock{constructor(re={}){super(re);this.idBlock.tagClass=1;this.idBlock.tagNumber=26}}Ze=VisibleString;(()=>{xe.VisibleString=Ze})();VisibleString.NAME="VisibleString";var Xe;class GeneralString extends LocalSimpleStringBlock{constructor(re={}){super(re);this.idBlock.tagClass=1;this.idBlock.tagNumber=27}}Xe=GeneralString;(()=>{xe.GeneralString=Xe})();GeneralString.NAME="GeneralString";var et;class CharacterString extends LocalSimpleStringBlock{constructor(re={}){super(re);this.idBlock.tagClass=1;this.idBlock.tagNumber=29}}et=CharacterString;(()=>{xe.CharacterString=et})();CharacterString.NAME="CharacterString";var tt;class UTCTime extends VisibleString{constructor({value:re,valueDate:ie,...oe}={}){super(oe);this.year=0;this.month=0;this.day=0;this.hour=0;this.minute=0;this.second=0;if(re){this.fromString(re);this.valueBlock.valueHexView=new Uint8Array(re.length);for(let ie=0;ie=50)this.year=1900+se;else this.year=2e3+se;this.month=parseInt(oe[2],10);this.day=parseInt(oe[3],10);this.hour=parseInt(oe[4],10);this.minute=parseInt(oe[5],10);this.second=parseInt(oe[6],10)}toString(re="iso"){if(re==="iso"){const re=new Array(7);re[0]=ue.padNumber(this.year<2e3?this.year-1900:this.year-2e3,2);re[1]=ue.padNumber(this.month,2);re[2]=ue.padNumber(this.day,2);re[3]=ue.padNumber(this.hour,2);re[4]=ue.padNumber(this.minute,2);re[5]=ue.padNumber(this.second,2);re[6]="Z";return re.join("")}return super.toString(re)}onAsciiEncoding(){return`${this.constructor.NAME} : ${this.toDate().toISOString()}`}toJSON(){return{...super.toJSON(),year:this.year,month:this.month,day:this.day,hour:this.hour,minute:this.minute,second:this.second}}}tt=UTCTime;(()=>{xe.UTCTime=tt})();UTCTime.NAME="UTCTime";var rt;class GeneralizedTime extends UTCTime{constructor(re={}){var ie;super(re);(ie=this.millisecond)!==null&&ie!==void 0?ie:this.millisecond=0;this.idBlock.tagClass=1;this.idBlock.tagNumber=24}fromDate(re){super.fromDate(re);this.millisecond=re.getUTCMilliseconds()}toDate(){return new Date(Date.UTC(this.year,this.month-1,this.day,this.hour,this.minute,this.second,this.millisecond))}fromString(re){let ie=false;let oe="";let se="";let ae=0;let ce;let ue=0;let le=0;if(re[re.length-1]==="Z"){oe=re.substring(0,re.length-1);ie=true}else{const ie=new Number(re[re.length-1]);if(isNaN(ie.valueOf()))throw new Error("Wrong input string for conversion");oe=re}if(ie){if(oe.indexOf("+")!==-1)throw new Error("Wrong input string for conversion");if(oe.indexOf("-")!==-1)throw new Error("Wrong input string for conversion")}else{let re=1;let ie=oe.indexOf("+");let se="";if(ie===-1){ie=oe.indexOf("-");re=-1}if(ie!==-1){se=oe.substring(ie+1);oe=oe.substring(0,ie);if(se.length!==2&&se.length!==4)throw new Error("Wrong input string for conversion");let ae=parseInt(se.substring(0,2),10);if(isNaN(ae.valueOf()))throw new Error("Wrong input string for conversion");ue=re*ae;if(se.length===4){ae=parseInt(se.substring(2,4),10);if(isNaN(ae.valueOf()))throw new Error("Wrong input string for conversion");le=re*ae}}}let fe=oe.indexOf(".");if(fe===-1)fe=oe.indexOf(",");if(fe!==-1){const re=new Number(`0${oe.substring(fe)}`);if(isNaN(re.valueOf()))throw new Error("Wrong input string for conversion");ae=re.valueOf();se=oe.substring(0,fe)}else se=oe;switch(true){case se.length===8:ce=/(\d{4})(\d{2})(\d{2})/gi;if(fe!==-1)throw new Error("Wrong input string for conversion");break;case se.length===10:ce=/(\d{4})(\d{2})(\d{2})(\d{2})/gi;if(fe!==-1){let re=60*ae;this.minute=Math.floor(re);re=60*(re-this.minute);this.second=Math.floor(re);re=1e3*(re-this.second);this.millisecond=Math.floor(re)}break;case se.length===12:ce=/(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})/gi;if(fe!==-1){let re=60*ae;this.second=Math.floor(re);re=1e3*(re-this.second);this.millisecond=Math.floor(re)}break;case se.length===14:ce=/(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})/gi;if(fe!==-1){const re=1e3*ae;this.millisecond=Math.floor(re)}break;default:throw new Error("Wrong input string for conversion")}const de=ce.exec(se);if(de===null)throw new Error("Wrong input string for conversion");for(let re=1;re{xe.GeneralizedTime=rt})();GeneralizedTime.NAME="GeneralizedTime";var nt;class DATE extends Utf8String{constructor(re={}){super(re);this.idBlock.tagClass=1;this.idBlock.tagNumber=31}}nt=DATE;(()=>{xe.DATE=nt})();DATE.NAME="DATE";var it;class TimeOfDay extends Utf8String{constructor(re={}){super(re);this.idBlock.tagClass=1;this.idBlock.tagNumber=32}}it=TimeOfDay;(()=>{xe.TimeOfDay=it})();TimeOfDay.NAME="TimeOfDay";var ot;class DateTime extends Utf8String{constructor(re={}){super(re);this.idBlock.tagClass=1;this.idBlock.tagNumber=33}}ot=DateTime;(()=>{xe.DateTime=ot})();DateTime.NAME="DateTime";var st;class Duration extends Utf8String{constructor(re={}){super(re);this.idBlock.tagClass=1;this.idBlock.tagNumber=34}}st=Duration;(()=>{xe.Duration=st})();Duration.NAME="Duration";var at;class TIME extends Utf8String{constructor(re={}){super(re);this.idBlock.tagClass=1;this.idBlock.tagNumber=14}}at=TIME;(()=>{xe.TIME=at})();TIME.NAME="TIME";class Any{constructor({name:re=_e,optional:ie=false}={}){this.name=re;this.optional=ie}}class Choice extends Any{constructor({value:re=[],...ie}={}){super(ie);this.value=re}}class Repeated extends Any{constructor({value:re=new Any,local:ie=false,...oe}={}){super(oe);this.value=re;this.local=ie}}class RawData{constructor({data:re=Ce}={}){this.dataView=ce.BufferSourceConverter.toUint8Array(re)}get data(){return this.dataView.slice().buffer}set data(re){this.dataView=ce.BufferSourceConverter.toUint8Array(re)}fromBER(re,ie,oe){const se=ie+oe;this.dataView=ce.BufferSourceConverter.toUint8Array(re).subarray(ie,se);return se}toBER(re){return this.dataView.slice().buffer}}function compareSchema(re,ie,oe){if(oe instanceof Choice){for(let se=0;se0){if(oe.valueBlock.value[0]instanceof Repeated){ce=ie.valueBlock.value.length}}if(ce===0){return{verified:true,result:re}}if(ie.valueBlock.value.length===0&&oe.valueBlock.value.length!==0){let ie=true;for(let re=0;re=ie.valueBlock.value.length){if(oe.valueBlock.value[ue].optional===false){const ie={verified:false,result:re};re.error="Inconsistent length between ASN.1 data and schema";if(oe.name){oe.name=oe.name.replace(/^\s+|\s+$/g,_e);if(oe.name){delete re[oe.name];ie.name=oe.name}}return ie}}else{if(oe.valueBlock.value[0]instanceof Repeated){ae=compareSchema(re,ie.valueBlock.value[ue],oe.valueBlock.value[0].value);if(ae.verified===false){if(oe.valueBlock.value[0].optional)se++;else{if(oe.name){oe.name=oe.name.replace(/^\s+|\s+$/g,_e);if(oe.name)delete re[oe.name]}return ae}}if(de in oe.valueBlock.value[0]&&oe.valueBlock.value[0].name.length>0){let se={};if(we in oe.valueBlock.value[0]&&oe.valueBlock.value[0].local)se=ie;else se=re;if(typeof se[oe.valueBlock.value[0].name]==="undefined")se[oe.valueBlock.value[0].name]=[];se[oe.valueBlock.value[0].name].push(ie.valueBlock.value[ue])}}else{ae=compareSchema(re,ie.valueBlock.value[ue-se],oe.valueBlock.value[ue]);if(ae.verified===false){if(oe.valueBlock.value[ue].optional)se++;else{if(oe.name){oe.name=oe.name.replace(/^\s+|\s+$/g,_e);if(oe.name)delete re[oe.name]}return ae}}}}}if(ae.verified===false){const ie={verified:false,result:re};if(oe.name){oe.name=oe.name.replace(/^\s+|\s+$/g,_e);if(oe.name){delete re[oe.name];ie.name=oe.name}}return ie}return{verified:true,result:re}}if(oe.primitiveSchema&&pe in ie.valueBlock){const se=localFromBER(ie.valueBlock.valueHexView);if(se.offset===-1){const ie={verified:false,result:se.result};if(oe.name){oe.name=oe.name.replace(/^\s+|\s+$/g,_e);if(oe.name){delete re[oe.name];ie.name=oe.name}}return ie}return compareSchema(re,se.result,oe.primitiveSchema)}return{verified:true,result:re}}function verifySchema(re,ie){if(ie instanceof Object===false){return{verified:false,result:{error:"Wrong ASN.1 schema type"}}}const oe=localFromBER(ce.BufferSourceConverter.toUint8Array(re));if(oe.offset===-1){return{verified:false,result:oe.result}}return compareSchema(oe.result,oe.result,ie)}ie.Any=Any;ie.BaseBlock=BaseBlock;ie.BaseStringBlock=BaseStringBlock;ie.BitString=BitString;ie.BmpString=BmpString;ie.Boolean=Boolean;ie.CharacterString=CharacterString;ie.Choice=Choice;ie.Constructed=Constructed;ie.DATE=DATE;ie.DateTime=DateTime;ie.Duration=Duration;ie.EndOfContent=EndOfContent;ie.Enumerated=Enumerated;ie.GeneralString=GeneralString;ie.GeneralizedTime=GeneralizedTime;ie.GraphicString=GraphicString;ie.HexBlock=HexBlock;ie.IA5String=IA5String;ie.Integer=Integer;ie.Null=Null;ie.NumericString=NumericString;ie.ObjectIdentifier=ObjectIdentifier;ie.OctetString=OctetString;ie.Primitive=Primitive;ie.PrintableString=PrintableString;ie.RawData=RawData;ie.RelativeObjectIdentifier=RelativeObjectIdentifier;ie.Repeated=Repeated;ie.Sequence=Sequence;ie.Set=Set;ie.TIME=TIME;ie.TeletexString=TeletexString;ie.TimeOfDay=TimeOfDay;ie.UTCTime=UTCTime;ie.UniversalString=UniversalString;ie.Utf8String=Utf8String;ie.ValueBlock=ValueBlock;ie.VideotexString=VideotexString;ie.ViewWriter=ViewWriter;ie.VisibleString=VisibleString;ie.compareSchema=compareSchema;ie.fromBER=fromBER;ie.verifySchema=verifySchema},14812:(re,ie,oe)=>{re.exports={parallel:oe(8210),serial:oe(50445),serialOrdered:oe(3578)}},1700:re=>{re.exports=abort;function abort(re){Object.keys(re.jobs).forEach(clean.bind(re));re.jobs={}}function clean(re){if(typeof this.jobs[re]=="function"){this.jobs[re]()}}},72794:(re,ie,oe)=>{var se=oe(15295);re.exports=async;function async(re){var ie=false;se((function(){ie=true}));return function async_callback(oe,ae){if(ie){re(oe,ae)}else{se((function nextTick_callback(){re(oe,ae)}))}}}},15295:re=>{re.exports=defer;function defer(re){var ie=typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:null;if(ie){ie(re)}else{setTimeout(re,0)}}},9023:(re,ie,oe)=>{var se=oe(72794),ae=oe(1700);re.exports=iterate;function iterate(re,ie,oe,se){var ce=oe["keyedList"]?oe["keyedList"][oe.index]:oe.index;oe.jobs[ce]=runJob(ie,ce,re[ce],(function(re,ie){if(!(ce in oe.jobs)){return}delete oe.jobs[ce];if(re){ae(oe)}else{oe.results[ce]=ie}se(re,oe.results)}))}function runJob(re,ie,oe,ae){var ce;if(re.length==2){ce=re(oe,se(ae))}else{ce=re(oe,ie,se(ae))}return ce}},42474:re=>{re.exports=state;function state(re,ie){var oe=!Array.isArray(re),se={index:0,keyedList:oe||ie?Object.keys(re):null,jobs:{},results:oe?{}:[],size:oe?Object.keys(re).length:re.length};if(ie){se.keyedList.sort(oe?ie:function(oe,se){return ie(re[oe],re[se])})}return se}},37942:(re,ie,oe)=>{var se=oe(1700),ae=oe(72794);re.exports=terminator;function terminator(re){if(!Object.keys(this.jobs).length){return}this.index=this.size;se(this);ae(re)(null,this.results)}},8210:(re,ie,oe)=>{var se=oe(9023),ae=oe(42474),ce=oe(37942);re.exports=parallel;function parallel(re,ie,oe){var ue=ae(re);while(ue.index<(ue["keyedList"]||re).length){se(re,ie,ue,(function(re,ie){if(re){oe(re,ie);return}if(Object.keys(ue.jobs).length===0){oe(null,ue.results);return}}));ue.index++}return ce.bind(ue,oe)}},50445:(re,ie,oe)=>{var se=oe(3578);re.exports=serial;function serial(re,ie,oe){return se(re,ie,null,oe)}},3578:(re,ie,oe)=>{var se=oe(9023),ae=oe(42474),ce=oe(37942);re.exports=serialOrdered;re.exports.ascending=ascending;re.exports.descending=descending;function serialOrdered(re,ie,oe,ue){var le=ae(re,oe);se(re,ie,le,(function iteratorHandler(oe,ae){if(oe){ue(oe,ae);return}le.index++;if(le.index<(le["keyedList"]||re).length){se(re,ie,le,iteratorHandler);return}ue(null,le.results)}));return ce.bind(le,ue)}function ascending(re,ie){return reie?1:0}function descending(re,ie){return-1*ascending(re,ie)}},6641:function(re,ie,oe){re=oe.nmd(re);(function(re,ie){"use strict";function assert(re,ie){if(!re)throw new Error(ie||"Assertion failed")}function inherits(re,ie){re.super_=ie;var TempCtor=function(){};TempCtor.prototype=ie.prototype;re.prototype=new TempCtor;re.prototype.constructor=re}function BN(re,ie,oe){if(BN.isBN(re)){return re}this.negative=0;this.words=null;this.length=0;this.red=null;if(re!==null){if(ie==="le"||ie==="be"){oe=ie;ie=10}this._init(re||0,ie||10,oe||"be")}}if(typeof re==="object"){re.exports=BN}else{ie.BN=BN}BN.BN=BN;BN.wordSize=26;var se;try{if(typeof window!=="undefined"&&typeof window.Buffer!=="undefined"){se=window.Buffer}else{se=oe(14300).Buffer}}catch(re){}BN.isBN=function isBN(re){if(re instanceof BN){return true}return re!==null&&typeof re==="object"&&re.constructor.wordSize===BN.wordSize&&Array.isArray(re.words)};BN.max=function max(re,ie){if(re.cmp(ie)>0)return re;return ie};BN.min=function min(re,ie){if(re.cmp(ie)<0)return re;return ie};BN.prototype._init=function init(re,ie,oe){if(typeof re==="number"){return this._initNumber(re,ie,oe)}if(typeof re==="object"){return this._initArray(re,ie,oe)}if(ie==="hex"){ie=16}assert(ie===(ie|0)&&ie>=2&&ie<=36);re=re.toString().replace(/\s+/g,"");var se=0;if(re[0]==="-"){se++;this.negative=1}if(se=0;se-=3){ce=re[se]|re[se-1]<<8|re[se-2]<<16;this.words[ae]|=ce<>>26-ue&67108863;ue+=24;if(ue>=26){ue-=26;ae++}}}else if(oe==="le"){for(se=0,ae=0;se>>26-ue&67108863;ue+=24;if(ue>=26){ue-=26;ae++}}}return this.strip()};function parseHex4Bits(re,ie){var oe=re.charCodeAt(ie);if(oe>=65&&oe<=70){return oe-55}else if(oe>=97&&oe<=102){return oe-87}else{return oe-48&15}}function parseHexByte(re,ie,oe){var se=parseHex4Bits(re,oe);if(oe-1>=ie){se|=parseHex4Bits(re,oe-1)<<4}return se}BN.prototype._parseHex=function _parseHex(re,ie,oe){this.length=Math.ceil((re.length-ie)/6);this.words=new Array(this.length);for(var se=0;se=ie;se-=2){ue=parseHexByte(re,ie,se)<=18){ae-=18;ce+=1;this.words[ce]|=ue>>>26}else{ae+=8}}}else{var le=re.length-ie;for(se=le%2===0?ie+1:ie;se=18){ae-=18;ce+=1;this.words[ce]|=ue>>>26}else{ae+=8}}}this.strip()};function parseBase(re,ie,oe,se){var ae=0;var ce=Math.min(re.length,oe);for(var ue=ie;ue=49){ae+=le-49+10}else if(le>=17){ae+=le-17+10}else{ae+=le}}return ae}BN.prototype._parseBase=function _parseBase(re,ie,oe){this.words=[0];this.length=1;for(var se=0,ae=1;ae<=67108863;ae*=ie){se++}se--;ae=ae/ie|0;var ce=re.length-oe;var ue=ce%se;var le=Math.min(ce,ce-ue)+oe;var fe=0;for(var de=oe;de1&&this.words[this.length-1]===0){this.length--}return this._normSign()};BN.prototype._normSign=function _normSign(){if(this.length===1&&this.words[0]===0){this.negative=0}return this};BN.prototype.inspect=function inspect(){return(this.red?""};var ae=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"];var ce=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5];var ue=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];BN.prototype.toString=function toString(re,ie){re=re||10;ie=ie|0||1;var oe;if(re===16||re==="hex"){oe="";var se=0;var le=0;for(var fe=0;fe>>24-se&16777215;if(le!==0||fe!==this.length-1){oe=ae[6-pe.length]+pe+oe}else{oe=pe+oe}se+=2;if(se>=26){se-=26;fe--}}if(le!==0){oe=le.toString(16)+oe}while(oe.length%ie!==0){oe="0"+oe}if(this.negative!==0){oe="-"+oe}return oe}if(re===(re|0)&&re>=2&&re<=36){var he=ce[re];var Ae=ue[re];oe="";var ge=this.clone();ge.negative=0;while(!ge.isZero()){var me=ge.modn(Ae).toString(re);ge=ge.idivn(Ae);if(!ge.isZero()){oe=ae[he-me.length]+me+oe}else{oe=me+oe}}if(this.isZero()){oe="0"+oe}while(oe.length%ie!==0){oe="0"+oe}if(this.negative!==0){oe="-"+oe}return oe}assert(false,"Base should be between 2 and 36")};BN.prototype.toNumber=function toNumber(){var re=this.words[0];if(this.length===2){re+=this.words[1]*67108864}else if(this.length===3&&this.words[2]===1){re+=4503599627370496+this.words[1]*67108864}else if(this.length>2){assert(false,"Number can only safely store up to 53 bits")}return this.negative!==0?-re:re};BN.prototype.toJSON=function toJSON(){return this.toString(16)};BN.prototype.toBuffer=function toBuffer(re,ie){assert(typeof se!=="undefined");return this.toArrayLike(se,re,ie)};BN.prototype.toArray=function toArray(re,ie){return this.toArrayLike(Array,re,ie)};BN.prototype.toArrayLike=function toArrayLike(re,ie,oe){var se=this.byteLength();var ae=oe||Math.max(1,se);assert(se<=ae,"byte array longer than desired length");assert(ae>0,"Requested array length <= 0");this.strip();var ce=ie==="le";var ue=new re(ae);var le,fe;var de=this.clone();if(!ce){for(fe=0;fe=4096){oe+=13;ie>>>=13}if(ie>=64){oe+=7;ie>>>=7}if(ie>=8){oe+=4;ie>>>=4}if(ie>=2){oe+=2;ie>>>=2}return oe+ie}}BN.prototype._zeroBits=function _zeroBits(re){if(re===0)return 26;var ie=re;var oe=0;if((ie&8191)===0){oe+=13;ie>>>=13}if((ie&127)===0){oe+=7;ie>>>=7}if((ie&15)===0){oe+=4;ie>>>=4}if((ie&3)===0){oe+=2;ie>>>=2}if((ie&1)===0){oe++}return oe};BN.prototype.bitLength=function bitLength(){var re=this.words[this.length-1];var ie=this._countBits(re);return(this.length-1)*26+ie};function toBitArray(re){var ie=new Array(re.bitLength());for(var oe=0;oe>>ae}return ie}BN.prototype.zeroBits=function zeroBits(){if(this.isZero())return 0;var re=0;for(var ie=0;iere.length)return this.clone().ior(re);return re.clone().ior(this)};BN.prototype.uor=function uor(re){if(this.length>re.length)return this.clone().iuor(re);return re.clone().iuor(this)};BN.prototype.iuand=function iuand(re){var ie;if(this.length>re.length){ie=re}else{ie=this}for(var oe=0;oere.length)return this.clone().iand(re);return re.clone().iand(this)};BN.prototype.uand=function uand(re){if(this.length>re.length)return this.clone().iuand(re);return re.clone().iuand(this)};BN.prototype.iuxor=function iuxor(re){var ie;var oe;if(this.length>re.length){ie=this;oe=re}else{ie=re;oe=this}for(var se=0;sere.length)return this.clone().ixor(re);return re.clone().ixor(this)};BN.prototype.uxor=function uxor(re){if(this.length>re.length)return this.clone().iuxor(re);return re.clone().iuxor(this)};BN.prototype.inotn=function inotn(re){assert(typeof re==="number"&&re>=0);var ie=Math.ceil(re/26)|0;var oe=re%26;this._expand(ie);if(oe>0){ie--}for(var se=0;se0){this.words[se]=~this.words[se]&67108863>>26-oe}return this.strip()};BN.prototype.notn=function notn(re){return this.clone().inotn(re)};BN.prototype.setn=function setn(re,ie){assert(typeof re==="number"&&re>=0);var oe=re/26|0;var se=re%26;this._expand(oe+1);if(ie){this.words[oe]=this.words[oe]|1<re.length){oe=this;se=re}else{oe=re;se=this}var ae=0;for(var ce=0;ce>>26}for(;ae!==0&&ce>>26}this.length=oe.length;if(ae!==0){this.words[this.length]=ae;this.length++}else if(oe!==this){for(;cere.length)return this.clone().iadd(re);return re.clone().iadd(this)};BN.prototype.isub=function isub(re){if(re.negative!==0){re.negative=0;var ie=this.iadd(re);re.negative=1;return ie._normSign()}else if(this.negative!==0){this.negative=0;this.iadd(re);this.negative=1;return this._normSign()}var oe=this.cmp(re);if(oe===0){this.negative=0;this.length=1;this.words[0]=0;return this}var se,ae;if(oe>0){se=this;ae=re}else{se=re;ae=this}var ce=0;for(var ue=0;ue>26;this.words[ue]=ie&67108863}for(;ce!==0&&ue>26;this.words[ue]=ie&67108863}if(ce===0&&ue>>26;var he=fe&67108863;var Ae=Math.min(de,ie.length-1);for(var ge=Math.max(0,de-re.length+1);ge<=Ae;ge++){var me=de-ge|0;ae=re.words[me]|0;ce=ie.words[ge]|0;ue=ae*ce+he;pe+=ue/67108864|0;he=ue&67108863}oe.words[de]=he|0;fe=pe|0}if(fe!==0){oe.words[de]=fe|0}else{oe.length--}return oe.strip()}var le=function comb10MulTo(re,ie,oe){var se=re.words;var ae=ie.words;var ce=oe.words;var ue=0;var le;var fe;var de;var pe=se[0]|0;var he=pe&8191;var Ae=pe>>>13;var ge=se[1]|0;var me=ge&8191;var ye=ge>>>13;var ve=se[2]|0;var be=ve&8191;var we=ve>>>13;var _e=se[3]|0;var Ee=_e&8191;var Ce=_e>>>13;var Ie=se[4]|0;var Se=Ie&8191;var Be=Ie>>>13;var xe=se[5]|0;var ke=xe&8191;var Oe=xe>>>13;var De=se[6]|0;var Pe=De&8191;var Te=De>>>13;var Qe=se[7]|0;var Re=Qe&8191;var Me=Qe>>>13;var Ne=se[8]|0;var je=Ne&8191;var Le=Ne>>>13;var Fe=se[9]|0;var Ue=Fe&8191;var He=Fe>>>13;var qe=ae[0]|0;var Ke=qe&8191;var Ve=qe>>>13;var Je=ae[1]|0;var We=Je&8191;var Ge=Je>>>13;var Ye=ae[2]|0;var ze=Ye&8191;var $e=Ye>>>13;var Ze=ae[3]|0;var Xe=Ze&8191;var et=Ze>>>13;var tt=ae[4]|0;var rt=tt&8191;var nt=tt>>>13;var it=ae[5]|0;var ot=it&8191;var st=it>>>13;var at=ae[6]|0;var ct=at&8191;var ut=at>>>13;var ft=ae[7]|0;var dt=ft&8191;var pt=ft>>>13;var ht=ae[8]|0;var At=ht&8191;var mt=ht>>>13;var yt=ae[9]|0;var vt=yt&8191;var bt=yt>>>13;oe.negative=re.negative^ie.negative;oe.length=19;le=Math.imul(he,Ke);fe=Math.imul(he,Ve);fe=fe+Math.imul(Ae,Ke)|0;de=Math.imul(Ae,Ve);var wt=(ue+le|0)+((fe&8191)<<13)|0;ue=(de+(fe>>>13)|0)+(wt>>>26)|0;wt&=67108863;le=Math.imul(me,Ke);fe=Math.imul(me,Ve);fe=fe+Math.imul(ye,Ke)|0;de=Math.imul(ye,Ve);le=le+Math.imul(he,We)|0;fe=fe+Math.imul(he,Ge)|0;fe=fe+Math.imul(Ae,We)|0;de=de+Math.imul(Ae,Ge)|0;var _t=(ue+le|0)+((fe&8191)<<13)|0;ue=(de+(fe>>>13)|0)+(_t>>>26)|0;_t&=67108863;le=Math.imul(be,Ke);fe=Math.imul(be,Ve);fe=fe+Math.imul(we,Ke)|0;de=Math.imul(we,Ve);le=le+Math.imul(me,We)|0;fe=fe+Math.imul(me,Ge)|0;fe=fe+Math.imul(ye,We)|0;de=de+Math.imul(ye,Ge)|0;le=le+Math.imul(he,ze)|0;fe=fe+Math.imul(he,$e)|0;fe=fe+Math.imul(Ae,ze)|0;de=de+Math.imul(Ae,$e)|0;var Et=(ue+le|0)+((fe&8191)<<13)|0;ue=(de+(fe>>>13)|0)+(Et>>>26)|0;Et&=67108863;le=Math.imul(Ee,Ke);fe=Math.imul(Ee,Ve);fe=fe+Math.imul(Ce,Ke)|0;de=Math.imul(Ce,Ve);le=le+Math.imul(be,We)|0;fe=fe+Math.imul(be,Ge)|0;fe=fe+Math.imul(we,We)|0;de=de+Math.imul(we,Ge)|0;le=le+Math.imul(me,ze)|0;fe=fe+Math.imul(me,$e)|0;fe=fe+Math.imul(ye,ze)|0;de=de+Math.imul(ye,$e)|0;le=le+Math.imul(he,Xe)|0;fe=fe+Math.imul(he,et)|0;fe=fe+Math.imul(Ae,Xe)|0;de=de+Math.imul(Ae,et)|0;var Ct=(ue+le|0)+((fe&8191)<<13)|0;ue=(de+(fe>>>13)|0)+(Ct>>>26)|0;Ct&=67108863;le=Math.imul(Se,Ke);fe=Math.imul(Se,Ve);fe=fe+Math.imul(Be,Ke)|0;de=Math.imul(Be,Ve);le=le+Math.imul(Ee,We)|0;fe=fe+Math.imul(Ee,Ge)|0;fe=fe+Math.imul(Ce,We)|0;de=de+Math.imul(Ce,Ge)|0;le=le+Math.imul(be,ze)|0;fe=fe+Math.imul(be,$e)|0;fe=fe+Math.imul(we,ze)|0;de=de+Math.imul(we,$e)|0;le=le+Math.imul(me,Xe)|0;fe=fe+Math.imul(me,et)|0;fe=fe+Math.imul(ye,Xe)|0;de=de+Math.imul(ye,et)|0;le=le+Math.imul(he,rt)|0;fe=fe+Math.imul(he,nt)|0;fe=fe+Math.imul(Ae,rt)|0;de=de+Math.imul(Ae,nt)|0;var It=(ue+le|0)+((fe&8191)<<13)|0;ue=(de+(fe>>>13)|0)+(It>>>26)|0;It&=67108863;le=Math.imul(ke,Ke);fe=Math.imul(ke,Ve);fe=fe+Math.imul(Oe,Ke)|0;de=Math.imul(Oe,Ve);le=le+Math.imul(Se,We)|0;fe=fe+Math.imul(Se,Ge)|0;fe=fe+Math.imul(Be,We)|0;de=de+Math.imul(Be,Ge)|0;le=le+Math.imul(Ee,ze)|0;fe=fe+Math.imul(Ee,$e)|0;fe=fe+Math.imul(Ce,ze)|0;de=de+Math.imul(Ce,$e)|0;le=le+Math.imul(be,Xe)|0;fe=fe+Math.imul(be,et)|0;fe=fe+Math.imul(we,Xe)|0;de=de+Math.imul(we,et)|0;le=le+Math.imul(me,rt)|0;fe=fe+Math.imul(me,nt)|0;fe=fe+Math.imul(ye,rt)|0;de=de+Math.imul(ye,nt)|0;le=le+Math.imul(he,ot)|0;fe=fe+Math.imul(he,st)|0;fe=fe+Math.imul(Ae,ot)|0;de=de+Math.imul(Ae,st)|0;var St=(ue+le|0)+((fe&8191)<<13)|0;ue=(de+(fe>>>13)|0)+(St>>>26)|0;St&=67108863;le=Math.imul(Pe,Ke);fe=Math.imul(Pe,Ve);fe=fe+Math.imul(Te,Ke)|0;de=Math.imul(Te,Ve);le=le+Math.imul(ke,We)|0;fe=fe+Math.imul(ke,Ge)|0;fe=fe+Math.imul(Oe,We)|0;de=de+Math.imul(Oe,Ge)|0;le=le+Math.imul(Se,ze)|0;fe=fe+Math.imul(Se,$e)|0;fe=fe+Math.imul(Be,ze)|0;de=de+Math.imul(Be,$e)|0;le=le+Math.imul(Ee,Xe)|0;fe=fe+Math.imul(Ee,et)|0;fe=fe+Math.imul(Ce,Xe)|0;de=de+Math.imul(Ce,et)|0;le=le+Math.imul(be,rt)|0;fe=fe+Math.imul(be,nt)|0;fe=fe+Math.imul(we,rt)|0;de=de+Math.imul(we,nt)|0;le=le+Math.imul(me,ot)|0;fe=fe+Math.imul(me,st)|0;fe=fe+Math.imul(ye,ot)|0;de=de+Math.imul(ye,st)|0;le=le+Math.imul(he,ct)|0;fe=fe+Math.imul(he,ut)|0;fe=fe+Math.imul(Ae,ct)|0;de=de+Math.imul(Ae,ut)|0;var Bt=(ue+le|0)+((fe&8191)<<13)|0;ue=(de+(fe>>>13)|0)+(Bt>>>26)|0;Bt&=67108863;le=Math.imul(Re,Ke);fe=Math.imul(Re,Ve);fe=fe+Math.imul(Me,Ke)|0;de=Math.imul(Me,Ve);le=le+Math.imul(Pe,We)|0;fe=fe+Math.imul(Pe,Ge)|0;fe=fe+Math.imul(Te,We)|0;de=de+Math.imul(Te,Ge)|0;le=le+Math.imul(ke,ze)|0;fe=fe+Math.imul(ke,$e)|0;fe=fe+Math.imul(Oe,ze)|0;de=de+Math.imul(Oe,$e)|0;le=le+Math.imul(Se,Xe)|0;fe=fe+Math.imul(Se,et)|0;fe=fe+Math.imul(Be,Xe)|0;de=de+Math.imul(Be,et)|0;le=le+Math.imul(Ee,rt)|0;fe=fe+Math.imul(Ee,nt)|0;fe=fe+Math.imul(Ce,rt)|0;de=de+Math.imul(Ce,nt)|0;le=le+Math.imul(be,ot)|0;fe=fe+Math.imul(be,st)|0;fe=fe+Math.imul(we,ot)|0;de=de+Math.imul(we,st)|0;le=le+Math.imul(me,ct)|0;fe=fe+Math.imul(me,ut)|0;fe=fe+Math.imul(ye,ct)|0;de=de+Math.imul(ye,ut)|0;le=le+Math.imul(he,dt)|0;fe=fe+Math.imul(he,pt)|0;fe=fe+Math.imul(Ae,dt)|0;de=de+Math.imul(Ae,pt)|0;var xt=(ue+le|0)+((fe&8191)<<13)|0;ue=(de+(fe>>>13)|0)+(xt>>>26)|0;xt&=67108863;le=Math.imul(je,Ke);fe=Math.imul(je,Ve);fe=fe+Math.imul(Le,Ke)|0;de=Math.imul(Le,Ve);le=le+Math.imul(Re,We)|0;fe=fe+Math.imul(Re,Ge)|0;fe=fe+Math.imul(Me,We)|0;de=de+Math.imul(Me,Ge)|0;le=le+Math.imul(Pe,ze)|0;fe=fe+Math.imul(Pe,$e)|0;fe=fe+Math.imul(Te,ze)|0;de=de+Math.imul(Te,$e)|0;le=le+Math.imul(ke,Xe)|0;fe=fe+Math.imul(ke,et)|0;fe=fe+Math.imul(Oe,Xe)|0;de=de+Math.imul(Oe,et)|0;le=le+Math.imul(Se,rt)|0;fe=fe+Math.imul(Se,nt)|0;fe=fe+Math.imul(Be,rt)|0;de=de+Math.imul(Be,nt)|0;le=le+Math.imul(Ee,ot)|0;fe=fe+Math.imul(Ee,st)|0;fe=fe+Math.imul(Ce,ot)|0;de=de+Math.imul(Ce,st)|0;le=le+Math.imul(be,ct)|0;fe=fe+Math.imul(be,ut)|0;fe=fe+Math.imul(we,ct)|0;de=de+Math.imul(we,ut)|0;le=le+Math.imul(me,dt)|0;fe=fe+Math.imul(me,pt)|0;fe=fe+Math.imul(ye,dt)|0;de=de+Math.imul(ye,pt)|0;le=le+Math.imul(he,At)|0;fe=fe+Math.imul(he,mt)|0;fe=fe+Math.imul(Ae,At)|0;de=de+Math.imul(Ae,mt)|0;var kt=(ue+le|0)+((fe&8191)<<13)|0;ue=(de+(fe>>>13)|0)+(kt>>>26)|0;kt&=67108863;le=Math.imul(Ue,Ke);fe=Math.imul(Ue,Ve);fe=fe+Math.imul(He,Ke)|0;de=Math.imul(He,Ve);le=le+Math.imul(je,We)|0;fe=fe+Math.imul(je,Ge)|0;fe=fe+Math.imul(Le,We)|0;de=de+Math.imul(Le,Ge)|0;le=le+Math.imul(Re,ze)|0;fe=fe+Math.imul(Re,$e)|0;fe=fe+Math.imul(Me,ze)|0;de=de+Math.imul(Me,$e)|0;le=le+Math.imul(Pe,Xe)|0;fe=fe+Math.imul(Pe,et)|0;fe=fe+Math.imul(Te,Xe)|0;de=de+Math.imul(Te,et)|0;le=le+Math.imul(ke,rt)|0;fe=fe+Math.imul(ke,nt)|0;fe=fe+Math.imul(Oe,rt)|0;de=de+Math.imul(Oe,nt)|0;le=le+Math.imul(Se,ot)|0;fe=fe+Math.imul(Se,st)|0;fe=fe+Math.imul(Be,ot)|0;de=de+Math.imul(Be,st)|0;le=le+Math.imul(Ee,ct)|0;fe=fe+Math.imul(Ee,ut)|0;fe=fe+Math.imul(Ce,ct)|0;de=de+Math.imul(Ce,ut)|0;le=le+Math.imul(be,dt)|0;fe=fe+Math.imul(be,pt)|0;fe=fe+Math.imul(we,dt)|0;de=de+Math.imul(we,pt)|0;le=le+Math.imul(me,At)|0;fe=fe+Math.imul(me,mt)|0;fe=fe+Math.imul(ye,At)|0;de=de+Math.imul(ye,mt)|0;le=le+Math.imul(he,vt)|0;fe=fe+Math.imul(he,bt)|0;fe=fe+Math.imul(Ae,vt)|0;de=de+Math.imul(Ae,bt)|0;var Ot=(ue+le|0)+((fe&8191)<<13)|0;ue=(de+(fe>>>13)|0)+(Ot>>>26)|0;Ot&=67108863;le=Math.imul(Ue,We);fe=Math.imul(Ue,Ge);fe=fe+Math.imul(He,We)|0;de=Math.imul(He,Ge);le=le+Math.imul(je,ze)|0;fe=fe+Math.imul(je,$e)|0;fe=fe+Math.imul(Le,ze)|0;de=de+Math.imul(Le,$e)|0;le=le+Math.imul(Re,Xe)|0;fe=fe+Math.imul(Re,et)|0;fe=fe+Math.imul(Me,Xe)|0;de=de+Math.imul(Me,et)|0;le=le+Math.imul(Pe,rt)|0;fe=fe+Math.imul(Pe,nt)|0;fe=fe+Math.imul(Te,rt)|0;de=de+Math.imul(Te,nt)|0;le=le+Math.imul(ke,ot)|0;fe=fe+Math.imul(ke,st)|0;fe=fe+Math.imul(Oe,ot)|0;de=de+Math.imul(Oe,st)|0;le=le+Math.imul(Se,ct)|0;fe=fe+Math.imul(Se,ut)|0;fe=fe+Math.imul(Be,ct)|0;de=de+Math.imul(Be,ut)|0;le=le+Math.imul(Ee,dt)|0;fe=fe+Math.imul(Ee,pt)|0;fe=fe+Math.imul(Ce,dt)|0;de=de+Math.imul(Ce,pt)|0;le=le+Math.imul(be,At)|0;fe=fe+Math.imul(be,mt)|0;fe=fe+Math.imul(we,At)|0;de=de+Math.imul(we,mt)|0;le=le+Math.imul(me,vt)|0;fe=fe+Math.imul(me,bt)|0;fe=fe+Math.imul(ye,vt)|0;de=de+Math.imul(ye,bt)|0;var Dt=(ue+le|0)+((fe&8191)<<13)|0;ue=(de+(fe>>>13)|0)+(Dt>>>26)|0;Dt&=67108863;le=Math.imul(Ue,ze);fe=Math.imul(Ue,$e);fe=fe+Math.imul(He,ze)|0;de=Math.imul(He,$e);le=le+Math.imul(je,Xe)|0;fe=fe+Math.imul(je,et)|0;fe=fe+Math.imul(Le,Xe)|0;de=de+Math.imul(Le,et)|0;le=le+Math.imul(Re,rt)|0;fe=fe+Math.imul(Re,nt)|0;fe=fe+Math.imul(Me,rt)|0;de=de+Math.imul(Me,nt)|0;le=le+Math.imul(Pe,ot)|0;fe=fe+Math.imul(Pe,st)|0;fe=fe+Math.imul(Te,ot)|0;de=de+Math.imul(Te,st)|0;le=le+Math.imul(ke,ct)|0;fe=fe+Math.imul(ke,ut)|0;fe=fe+Math.imul(Oe,ct)|0;de=de+Math.imul(Oe,ut)|0;le=le+Math.imul(Se,dt)|0;fe=fe+Math.imul(Se,pt)|0;fe=fe+Math.imul(Be,dt)|0;de=de+Math.imul(Be,pt)|0;le=le+Math.imul(Ee,At)|0;fe=fe+Math.imul(Ee,mt)|0;fe=fe+Math.imul(Ce,At)|0;de=de+Math.imul(Ce,mt)|0;le=le+Math.imul(be,vt)|0;fe=fe+Math.imul(be,bt)|0;fe=fe+Math.imul(we,vt)|0;de=de+Math.imul(we,bt)|0;var Pt=(ue+le|0)+((fe&8191)<<13)|0;ue=(de+(fe>>>13)|0)+(Pt>>>26)|0;Pt&=67108863;le=Math.imul(Ue,Xe);fe=Math.imul(Ue,et);fe=fe+Math.imul(He,Xe)|0;de=Math.imul(He,et);le=le+Math.imul(je,rt)|0;fe=fe+Math.imul(je,nt)|0;fe=fe+Math.imul(Le,rt)|0;de=de+Math.imul(Le,nt)|0;le=le+Math.imul(Re,ot)|0;fe=fe+Math.imul(Re,st)|0;fe=fe+Math.imul(Me,ot)|0;de=de+Math.imul(Me,st)|0;le=le+Math.imul(Pe,ct)|0;fe=fe+Math.imul(Pe,ut)|0;fe=fe+Math.imul(Te,ct)|0;de=de+Math.imul(Te,ut)|0;le=le+Math.imul(ke,dt)|0;fe=fe+Math.imul(ke,pt)|0;fe=fe+Math.imul(Oe,dt)|0;de=de+Math.imul(Oe,pt)|0;le=le+Math.imul(Se,At)|0;fe=fe+Math.imul(Se,mt)|0;fe=fe+Math.imul(Be,At)|0;de=de+Math.imul(Be,mt)|0;le=le+Math.imul(Ee,vt)|0;fe=fe+Math.imul(Ee,bt)|0;fe=fe+Math.imul(Ce,vt)|0;de=de+Math.imul(Ce,bt)|0;var Tt=(ue+le|0)+((fe&8191)<<13)|0;ue=(de+(fe>>>13)|0)+(Tt>>>26)|0;Tt&=67108863;le=Math.imul(Ue,rt);fe=Math.imul(Ue,nt);fe=fe+Math.imul(He,rt)|0;de=Math.imul(He,nt);le=le+Math.imul(je,ot)|0;fe=fe+Math.imul(je,st)|0;fe=fe+Math.imul(Le,ot)|0;de=de+Math.imul(Le,st)|0;le=le+Math.imul(Re,ct)|0;fe=fe+Math.imul(Re,ut)|0;fe=fe+Math.imul(Me,ct)|0;de=de+Math.imul(Me,ut)|0;le=le+Math.imul(Pe,dt)|0;fe=fe+Math.imul(Pe,pt)|0;fe=fe+Math.imul(Te,dt)|0;de=de+Math.imul(Te,pt)|0;le=le+Math.imul(ke,At)|0;fe=fe+Math.imul(ke,mt)|0;fe=fe+Math.imul(Oe,At)|0;de=de+Math.imul(Oe,mt)|0;le=le+Math.imul(Se,vt)|0;fe=fe+Math.imul(Se,bt)|0;fe=fe+Math.imul(Be,vt)|0;de=de+Math.imul(Be,bt)|0;var Qt=(ue+le|0)+((fe&8191)<<13)|0;ue=(de+(fe>>>13)|0)+(Qt>>>26)|0;Qt&=67108863;le=Math.imul(Ue,ot);fe=Math.imul(Ue,st);fe=fe+Math.imul(He,ot)|0;de=Math.imul(He,st);le=le+Math.imul(je,ct)|0;fe=fe+Math.imul(je,ut)|0;fe=fe+Math.imul(Le,ct)|0;de=de+Math.imul(Le,ut)|0;le=le+Math.imul(Re,dt)|0;fe=fe+Math.imul(Re,pt)|0;fe=fe+Math.imul(Me,dt)|0;de=de+Math.imul(Me,pt)|0;le=le+Math.imul(Pe,At)|0;fe=fe+Math.imul(Pe,mt)|0;fe=fe+Math.imul(Te,At)|0;de=de+Math.imul(Te,mt)|0;le=le+Math.imul(ke,vt)|0;fe=fe+Math.imul(ke,bt)|0;fe=fe+Math.imul(Oe,vt)|0;de=de+Math.imul(Oe,bt)|0;var Rt=(ue+le|0)+((fe&8191)<<13)|0;ue=(de+(fe>>>13)|0)+(Rt>>>26)|0;Rt&=67108863;le=Math.imul(Ue,ct);fe=Math.imul(Ue,ut);fe=fe+Math.imul(He,ct)|0;de=Math.imul(He,ut);le=le+Math.imul(je,dt)|0;fe=fe+Math.imul(je,pt)|0;fe=fe+Math.imul(Le,dt)|0;de=de+Math.imul(Le,pt)|0;le=le+Math.imul(Re,At)|0;fe=fe+Math.imul(Re,mt)|0;fe=fe+Math.imul(Me,At)|0;de=de+Math.imul(Me,mt)|0;le=le+Math.imul(Pe,vt)|0;fe=fe+Math.imul(Pe,bt)|0;fe=fe+Math.imul(Te,vt)|0;de=de+Math.imul(Te,bt)|0;var Mt=(ue+le|0)+((fe&8191)<<13)|0;ue=(de+(fe>>>13)|0)+(Mt>>>26)|0;Mt&=67108863;le=Math.imul(Ue,dt);fe=Math.imul(Ue,pt);fe=fe+Math.imul(He,dt)|0;de=Math.imul(He,pt);le=le+Math.imul(je,At)|0;fe=fe+Math.imul(je,mt)|0;fe=fe+Math.imul(Le,At)|0;de=de+Math.imul(Le,mt)|0;le=le+Math.imul(Re,vt)|0;fe=fe+Math.imul(Re,bt)|0;fe=fe+Math.imul(Me,vt)|0;de=de+Math.imul(Me,bt)|0;var Nt=(ue+le|0)+((fe&8191)<<13)|0;ue=(de+(fe>>>13)|0)+(Nt>>>26)|0;Nt&=67108863;le=Math.imul(Ue,At);fe=Math.imul(Ue,mt);fe=fe+Math.imul(He,At)|0;de=Math.imul(He,mt);le=le+Math.imul(je,vt)|0;fe=fe+Math.imul(je,bt)|0;fe=fe+Math.imul(Le,vt)|0;de=de+Math.imul(Le,bt)|0;var jt=(ue+le|0)+((fe&8191)<<13)|0;ue=(de+(fe>>>13)|0)+(jt>>>26)|0;jt&=67108863;le=Math.imul(Ue,vt);fe=Math.imul(Ue,bt);fe=fe+Math.imul(He,vt)|0;de=Math.imul(He,bt);var Lt=(ue+le|0)+((fe&8191)<<13)|0;ue=(de+(fe>>>13)|0)+(Lt>>>26)|0;Lt&=67108863;ce[0]=wt;ce[1]=_t;ce[2]=Et;ce[3]=Ct;ce[4]=It;ce[5]=St;ce[6]=Bt;ce[7]=xt;ce[8]=kt;ce[9]=Ot;ce[10]=Dt;ce[11]=Pt;ce[12]=Tt;ce[13]=Qt;ce[14]=Rt;ce[15]=Mt;ce[16]=Nt;ce[17]=jt;ce[18]=Lt;if(ue!==0){ce[19]=ue;oe.length++}return oe};if(!Math.imul){le=smallMulTo}function bigMulTo(re,ie,oe){oe.negative=ie.negative^re.negative;oe.length=re.length+ie.length;var se=0;var ae=0;for(var ce=0;ce>>26)|0;ae+=ue>>>26;ue&=67108863}oe.words[ce]=le;se=ue;ue=ae}if(se!==0){oe.words[ce]=se}else{oe.length--}return oe.strip()}function jumboMulTo(re,ie,oe){var se=new FFTM;return se.mulp(re,ie,oe)}BN.prototype.mulTo=function mulTo(re,ie){var oe;var se=this.length+re.length;if(this.length===10&&re.length===10){oe=le(this,re,ie)}else if(se<63){oe=smallMulTo(this,re,ie)}else if(se<1024){oe=bigMulTo(this,re,ie)}else{oe=jumboMulTo(this,re,ie)}return oe};function FFTM(re,ie){this.x=re;this.y=ie}FFTM.prototype.makeRBT=function makeRBT(re){var ie=new Array(re);var oe=BN.prototype._countBits(re)-1;for(var se=0;se>=1}return se};FFTM.prototype.permute=function permute(re,ie,oe,se,ae,ce){for(var ue=0;ue>>1){ae++}return 1<>>13;oe[2*ce+1]=ae&8191;ae=ae>>>13}for(ce=2*ie;ce>=26;ie+=se/67108864|0;ie+=ae>>>26;this.words[oe]=ae&67108863}if(ie!==0){this.words[oe]=ie;this.length++}return this};BN.prototype.muln=function muln(re){return this.clone().imuln(re)};BN.prototype.sqr=function sqr(){return this.mul(this)};BN.prototype.isqr=function isqr(){return this.imul(this.clone())};BN.prototype.pow=function pow(re){var ie=toBitArray(re);if(ie.length===0)return new BN(1);var oe=this;for(var se=0;se=0);var ie=re%26;var oe=(re-ie)/26;var se=67108863>>>26-ie<<26-ie;var ae;if(ie!==0){var ce=0;for(ae=0;ae>>26-ie}if(ce){this.words[ae]=ce;this.length++}}if(oe!==0){for(ae=this.length-1;ae>=0;ae--){this.words[ae+oe]=this.words[ae]}for(ae=0;ae=0);var se;if(ie){se=(ie-ie%26)/26}else{se=0}var ae=re%26;var ce=Math.min((re-ae)/26,this.length);var ue=67108863^67108863>>>ae<ce){this.length-=ce;for(fe=0;fe=0&&(de!==0||fe>=se);fe--){var pe=this.words[fe]|0;this.words[fe]=de<<26-ae|pe>>>ae;de=pe&ue}if(le&&de!==0){le.words[le.length++]=de}if(this.length===0){this.words[0]=0;this.length=1}return this.strip()};BN.prototype.ishrn=function ishrn(re,ie,oe){assert(this.negative===0);return this.iushrn(re,ie,oe)};BN.prototype.shln=function shln(re){return this.clone().ishln(re)};BN.prototype.ushln=function ushln(re){return this.clone().iushln(re)};BN.prototype.shrn=function shrn(re){return this.clone().ishrn(re)};BN.prototype.ushrn=function ushrn(re){return this.clone().iushrn(re)};BN.prototype.testn=function testn(re){assert(typeof re==="number"&&re>=0);var ie=re%26;var oe=(re-ie)/26;var se=1<=0);var ie=re%26;var oe=(re-ie)/26;assert(this.negative===0,"imaskn works only with positive numbers");if(this.length<=oe){return this}if(ie!==0){oe++}this.length=Math.min(oe,this.length);if(ie!==0){var se=67108863^67108863>>>ie<=67108864;ie++){this.words[ie]-=67108864;if(ie===this.length-1){this.words[ie+1]=1}else{this.words[ie+1]++}}this.length=Math.max(this.length,ie+1);return this};BN.prototype.isubn=function isubn(re){assert(typeof re==="number");assert(re<67108864);if(re<0)return this.iaddn(-re);if(this.negative!==0){this.negative=0;this.iaddn(re);this.negative=1;return this}this.words[0]-=re;if(this.length===1&&this.words[0]<0){this.words[0]=-this.words[0];this.negative=1}else{for(var ie=0;ie>26)-(le/67108864|0);this.words[ae+oe]=ce&67108863}for(;ae>26;this.words[ae+oe]=ce&67108863}if(ue===0)return this.strip();assert(ue===-1);ue=0;for(ae=0;ae>26;this.words[ae]=ce&67108863}this.negative=1;return this.strip()};BN.prototype._wordDiv=function _wordDiv(re,ie){var oe=this.length-re.length;var se=this.clone();var ae=re;var ce=ae.words[ae.length-1]|0;var ue=this._countBits(ce);oe=26-ue;if(oe!==0){ae=ae.ushln(oe);se.iushln(oe);ce=ae.words[ae.length-1]|0}var le=se.length-ae.length;var fe;if(ie!=="mod"){fe=new BN(null);fe.length=le+1;fe.words=new Array(fe.length);for(var de=0;de=0;he--){var Ae=(se.words[ae.length+he]|0)*67108864+(se.words[ae.length+he-1]|0);Ae=Math.min(Ae/ce|0,67108863);se._ishlnsubmul(ae,Ae,he);while(se.negative!==0){Ae--;se.negative=0;se._ishlnsubmul(ae,1,he);if(!se.isZero()){se.negative^=1}}if(fe){fe.words[he]=Ae}}if(fe){fe.strip()}se.strip();if(ie!=="div"&&oe!==0){se.iushrn(oe)}return{div:fe||null,mod:se}};BN.prototype.divmod=function divmod(re,ie,oe){assert(!re.isZero());if(this.isZero()){return{div:new BN(0),mod:new BN(0)}}var se,ae,ce;if(this.negative!==0&&re.negative===0){ce=this.neg().divmod(re,ie);if(ie!=="mod"){se=ce.div.neg()}if(ie!=="div"){ae=ce.mod.neg();if(oe&&ae.negative!==0){ae.iadd(re)}}return{div:se,mod:ae}}if(this.negative===0&&re.negative!==0){ce=this.divmod(re.neg(),ie);if(ie!=="mod"){se=ce.div.neg()}return{div:se,mod:ce.mod}}if((this.negative&re.negative)!==0){ce=this.neg().divmod(re.neg(),ie);if(ie!=="div"){ae=ce.mod.neg();if(oe&&ae.negative!==0){ae.isub(re)}}return{div:ce.div,mod:ae}}if(re.length>this.length||this.cmp(re)<0){return{div:new BN(0),mod:this}}if(re.length===1){if(ie==="div"){return{div:this.divn(re.words[0]),mod:null}}if(ie==="mod"){return{div:null,mod:new BN(this.modn(re.words[0]))}}return{div:this.divn(re.words[0]),mod:new BN(this.modn(re.words[0]))}}return this._wordDiv(re,ie)};BN.prototype.div=function div(re){return this.divmod(re,"div",false).div};BN.prototype.mod=function mod(re){return this.divmod(re,"mod",false).mod};BN.prototype.umod=function umod(re){return this.divmod(re,"mod",true).mod};BN.prototype.divRound=function divRound(re){var ie=this.divmod(re);if(ie.mod.isZero())return ie.div;var oe=ie.div.negative!==0?ie.mod.isub(re):ie.mod;var se=re.ushrn(1);var ae=re.andln(1);var ce=oe.cmp(se);if(ce<0||ae===1&&ce===0)return ie.div;return ie.div.negative!==0?ie.div.isubn(1):ie.div.iaddn(1)};BN.prototype.modn=function modn(re){assert(re<=67108863);var ie=(1<<26)%re;var oe=0;for(var se=this.length-1;se>=0;se--){oe=(ie*oe+(this.words[se]|0))%re}return oe};BN.prototype.idivn=function idivn(re){assert(re<=67108863);var ie=0;for(var oe=this.length-1;oe>=0;oe--){var se=(this.words[oe]|0)+ie*67108864;this.words[oe]=se/re|0;ie=se%re}return this.strip()};BN.prototype.divn=function divn(re){return this.clone().idivn(re)};BN.prototype.egcd=function egcd(re){assert(re.negative===0);assert(!re.isZero());var ie=this;var oe=re.clone();if(ie.negative!==0){ie=ie.umod(re)}else{ie=ie.clone()}var se=new BN(1);var ae=new BN(0);var ce=new BN(0);var ue=new BN(1);var le=0;while(ie.isEven()&&oe.isEven()){ie.iushrn(1);oe.iushrn(1);++le}var fe=oe.clone();var de=ie.clone();while(!ie.isZero()){for(var pe=0,he=1;(ie.words[0]&he)===0&&pe<26;++pe,he<<=1);if(pe>0){ie.iushrn(pe);while(pe-- >0){if(se.isOdd()||ae.isOdd()){se.iadd(fe);ae.isub(de)}se.iushrn(1);ae.iushrn(1)}}for(var Ae=0,ge=1;(oe.words[0]&ge)===0&&Ae<26;++Ae,ge<<=1);if(Ae>0){oe.iushrn(Ae);while(Ae-- >0){if(ce.isOdd()||ue.isOdd()){ce.iadd(fe);ue.isub(de)}ce.iushrn(1);ue.iushrn(1)}}if(ie.cmp(oe)>=0){ie.isub(oe);se.isub(ce);ae.isub(ue)}else{oe.isub(ie);ce.isub(se);ue.isub(ae)}}return{a:ce,b:ue,gcd:oe.iushln(le)}};BN.prototype._invmp=function _invmp(re){assert(re.negative===0);assert(!re.isZero());var ie=this;var oe=re.clone();if(ie.negative!==0){ie=ie.umod(re)}else{ie=ie.clone()}var se=new BN(1);var ae=new BN(0);var ce=oe.clone();while(ie.cmpn(1)>0&&oe.cmpn(1)>0){for(var ue=0,le=1;(ie.words[0]&le)===0&&ue<26;++ue,le<<=1);if(ue>0){ie.iushrn(ue);while(ue-- >0){if(se.isOdd()){se.iadd(ce)}se.iushrn(1)}}for(var fe=0,de=1;(oe.words[0]&de)===0&&fe<26;++fe,de<<=1);if(fe>0){oe.iushrn(fe);while(fe-- >0){if(ae.isOdd()){ae.iadd(ce)}ae.iushrn(1)}}if(ie.cmp(oe)>=0){ie.isub(oe);se.isub(ae)}else{oe.isub(ie);ae.isub(se)}}var pe;if(ie.cmpn(1)===0){pe=se}else{pe=ae}if(pe.cmpn(0)<0){pe.iadd(re)}return pe};BN.prototype.gcd=function gcd(re){if(this.isZero())return re.abs();if(re.isZero())return this.abs();var ie=this.clone();var oe=re.clone();ie.negative=0;oe.negative=0;for(var se=0;ie.isEven()&&oe.isEven();se++){ie.iushrn(1);oe.iushrn(1)}do{while(ie.isEven()){ie.iushrn(1)}while(oe.isEven()){oe.iushrn(1)}var ae=ie.cmp(oe);if(ae<0){var ce=ie;ie=oe;oe=ce}else if(ae===0||oe.cmpn(1)===0){break}ie.isub(oe)}while(true);return oe.iushln(se)};BN.prototype.invm=function invm(re){return this.egcd(re).a.umod(re)};BN.prototype.isEven=function isEven(){return(this.words[0]&1)===0};BN.prototype.isOdd=function isOdd(){return(this.words[0]&1)===1};BN.prototype.andln=function andln(re){return this.words[0]&re};BN.prototype.bincn=function bincn(re){assert(typeof re==="number");var ie=re%26;var oe=(re-ie)/26;var se=1<>>26;ue&=67108863;this.words[ce]=ue}if(ae!==0){this.words[ce]=ae;this.length++}return this};BN.prototype.isZero=function isZero(){return this.length===1&&this.words[0]===0};BN.prototype.cmpn=function cmpn(re){var ie=re<0;if(this.negative!==0&&!ie)return-1;if(this.negative===0&&ie)return 1;this.strip();var oe;if(this.length>1){oe=1}else{if(ie){re=-re}assert(re<=67108863,"Number is too big");var se=this.words[0]|0;oe=se===re?0:sere.length)return 1;if(this.length=0;oe--){var se=this.words[oe]|0;var ae=re.words[oe]|0;if(se===ae)continue;if(seae){ie=1}break}return ie};BN.prototype.gtn=function gtn(re){return this.cmpn(re)===1};BN.prototype.gt=function gt(re){return this.cmp(re)===1};BN.prototype.gten=function gten(re){return this.cmpn(re)>=0};BN.prototype.gte=function gte(re){return this.cmp(re)>=0};BN.prototype.ltn=function ltn(re){return this.cmpn(re)===-1};BN.prototype.lt=function lt(re){return this.cmp(re)===-1};BN.prototype.lten=function lten(re){return this.cmpn(re)<=0};BN.prototype.lte=function lte(re){return this.cmp(re)<=0};BN.prototype.eqn=function eqn(re){return this.cmpn(re)===0};BN.prototype.eq=function eq(re){return this.cmp(re)===0};BN.red=function red(re){return new Red(re)};BN.prototype.toRed=function toRed(re){assert(!this.red,"Already a number in reduction context");assert(this.negative===0,"red works only with positives");return re.convertTo(this)._forceRed(re)};BN.prototype.fromRed=function fromRed(){assert(this.red,"fromRed works only with numbers in reduction context");return this.red.convertFrom(this)};BN.prototype._forceRed=function _forceRed(re){this.red=re;return this};BN.prototype.forceRed=function forceRed(re){assert(!this.red,"Already a number in reduction context");return this._forceRed(re)};BN.prototype.redAdd=function redAdd(re){assert(this.red,"redAdd works only with red numbers");return this.red.add(this,re)};BN.prototype.redIAdd=function redIAdd(re){assert(this.red,"redIAdd works only with red numbers");return this.red.iadd(this,re)};BN.prototype.redSub=function redSub(re){assert(this.red,"redSub works only with red numbers");return this.red.sub(this,re)};BN.prototype.redISub=function redISub(re){assert(this.red,"redISub works only with red numbers");return this.red.isub(this,re)};BN.prototype.redShl=function redShl(re){assert(this.red,"redShl works only with red numbers");return this.red.shl(this,re)};BN.prototype.redMul=function redMul(re){assert(this.red,"redMul works only with red numbers");this.red._verify2(this,re);return this.red.mul(this,re)};BN.prototype.redIMul=function redIMul(re){assert(this.red,"redMul works only with red numbers");this.red._verify2(this,re);return this.red.imul(this,re)};BN.prototype.redSqr=function redSqr(){assert(this.red,"redSqr works only with red numbers");this.red._verify1(this);return this.red.sqr(this)};BN.prototype.redISqr=function redISqr(){assert(this.red,"redISqr works only with red numbers");this.red._verify1(this);return this.red.isqr(this)};BN.prototype.redSqrt=function redSqrt(){assert(this.red,"redSqrt works only with red numbers");this.red._verify1(this);return this.red.sqrt(this)};BN.prototype.redInvm=function redInvm(){assert(this.red,"redInvm works only with red numbers");this.red._verify1(this);return this.red.invm(this)};BN.prototype.redNeg=function redNeg(){assert(this.red,"redNeg works only with red numbers");this.red._verify1(this);return this.red.neg(this)};BN.prototype.redPow=function redPow(re){assert(this.red&&!re.red,"redPow(normalNum)");this.red._verify1(this);return this.red.pow(this,re)};var fe={k256:null,p224:null,p192:null,p25519:null};function MPrime(re,ie){this.name=re;this.p=new BN(ie,16);this.n=this.p.bitLength();this.k=new BN(1).iushln(this.n).isub(this.p);this.tmp=this._tmp()}MPrime.prototype._tmp=function _tmp(){var re=new BN(null);re.words=new Array(Math.ceil(this.n/13));return re};MPrime.prototype.ireduce=function ireduce(re){var ie=re;var oe;do{this.split(ie,this.tmp);ie=this.imulK(ie);ie=ie.iadd(this.tmp);oe=ie.bitLength()}while(oe>this.n);var se=oe0){ie.isub(this.p)}else{if(ie.strip!==undefined){ie.strip()}else{ie._strip()}}return ie};MPrime.prototype.split=function split(re,ie){re.iushrn(this.n,0,ie)};MPrime.prototype.imulK=function imulK(re){return re.imul(this.k)};function K256(){MPrime.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}inherits(K256,MPrime);K256.prototype.split=function split(re,ie){var oe=4194303;var se=Math.min(re.length,9);for(var ae=0;ae>>22;ce=ue}ce>>>=22;re.words[ae-10]=ce;if(ce===0&&re.length>10){re.length-=10}else{re.length-=9}};K256.prototype.imulK=function imulK(re){re.words[re.length]=0;re.words[re.length+1]=0;re.length+=2;var ie=0;for(var oe=0;oe>>=26;re.words[oe]=ae;ie=se}if(ie!==0){re.words[re.length++]=ie}return re};BN._prime=function prime(re){if(fe[re])return fe[re];var prime;if(re==="k256"){prime=new K256}else if(re==="p224"){prime=new P224}else if(re==="p192"){prime=new P192}else if(re==="p25519"){prime=new P25519}else{throw new Error("Unknown prime "+re)}fe[re]=prime;return prime};function Red(re){if(typeof re==="string"){var ie=BN._prime(re);this.m=ie.p;this.prime=ie}else{assert(re.gtn(1),"modulus must be greater than 1");this.m=re;this.prime=null}}Red.prototype._verify1=function _verify1(re){assert(re.negative===0,"red works only with positives");assert(re.red,"red works only with red numbers")};Red.prototype._verify2=function _verify2(re,ie){assert((re.negative|ie.negative)===0,"red works only with positives");assert(re.red&&re.red===ie.red,"red works only with red numbers")};Red.prototype.imod=function imod(re){if(this.prime)return this.prime.ireduce(re)._forceRed(this);return re.umod(this.m)._forceRed(this)};Red.prototype.neg=function neg(re){if(re.isZero()){return re.clone()}return this.m.sub(re)._forceRed(this)};Red.prototype.add=function add(re,ie){this._verify2(re,ie);var oe=re.add(ie);if(oe.cmp(this.m)>=0){oe.isub(this.m)}return oe._forceRed(this)};Red.prototype.iadd=function iadd(re,ie){this._verify2(re,ie);var oe=re.iadd(ie);if(oe.cmp(this.m)>=0){oe.isub(this.m)}return oe};Red.prototype.sub=function sub(re,ie){this._verify2(re,ie);var oe=re.sub(ie);if(oe.cmpn(0)<0){oe.iadd(this.m)}return oe._forceRed(this)};Red.prototype.isub=function isub(re,ie){this._verify2(re,ie);var oe=re.isub(ie);if(oe.cmpn(0)<0){oe.iadd(this.m)}return oe};Red.prototype.shl=function shl(re,ie){this._verify1(re);return this.imod(re.ushln(ie))};Red.prototype.imul=function imul(re,ie){this._verify2(re,ie);return this.imod(re.imul(ie))};Red.prototype.mul=function mul(re,ie){this._verify2(re,ie);return this.imod(re.mul(ie))};Red.prototype.isqr=function isqr(re){return this.imul(re,re.clone())};Red.prototype.sqr=function sqr(re){return this.mul(re,re)};Red.prototype.sqrt=function sqrt(re){if(re.isZero())return re.clone();var ie=this.m.andln(3);assert(ie%2===1);if(ie===3){var oe=this.m.add(new BN(1)).iushrn(2);return this.pow(re,oe)}var se=this.m.subn(1);var ae=0;while(!se.isZero()&&se.andln(1)===0){ae++;se.iushrn(1)}assert(!se.isZero());var ce=new BN(1).toRed(this);var ue=ce.redNeg();var le=this.m.subn(1).iushrn(1);var fe=this.m.bitLength();fe=new BN(2*fe*fe).toRed(this);while(this.pow(fe,le).cmp(ue)!==0){fe.redIAdd(ue)}var de=this.pow(fe,se);var pe=this.pow(re,se.addn(1).iushrn(1));var he=this.pow(re,se);var Ae=ae;while(he.cmp(ce)!==0){var ge=he;for(var me=0;ge.cmp(ce)!==0;me++){ge=ge.redSqr()}assert(me=0;ae--){var de=ie.words[ae];for(var pe=fe-1;pe>=0;pe--){var he=de>>pe&1;if(ce!==se[0]){ce=this.sqr(ce)}if(he===0&&ue===0){le=0;continue}ue<<=1;ue|=he;le++;if(le!==oe&&(ae!==0||pe!==0))continue;ce=this.mul(ce,se[ue]);le=0;ue=0}fe=26}return ce};Red.prototype.convertTo=function convertTo(re){var ie=re.umod(this.m);return ie===re?ie.clone():ie};Red.prototype.convertFrom=function convertFrom(re){var ie=re.clone();ie.red=null;return ie};BN.mont=function mont(re){return new Mont(re)};function Mont(re){Red.call(this,re);this.shift=this.m.bitLength();if(this.shift%26!==0){this.shift+=26-this.shift%26}this.r=new BN(1).iushln(this.shift);this.r2=this.imod(this.r.sqr());this.rinv=this.r._invmp(this.m);this.minv=this.rinv.mul(this.r).isubn(1).div(this.m);this.minv=this.minv.umod(this.r);this.minv=this.r.sub(this.minv)}inherits(Mont,Red);Mont.prototype.convertTo=function convertTo(re){return this.imod(re.ushln(this.shift))};Mont.prototype.convertFrom=function convertFrom(re){var ie=this.imod(re.mul(this.rinv));ie.red=null;return ie};Mont.prototype.imul=function imul(re,ie){if(re.isZero()||ie.isZero()){re.words[0]=0;re.length=1;return re}var oe=re.imul(ie);var se=oe.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m);var ae=oe.isub(se).iushrn(this.shift);var ce=ae;if(ae.cmp(this.m)>=0){ce=ae.isub(this.m)}else if(ae.cmpn(0)<0){ce=ae.iadd(this.m)}return ce._forceRed(this)};Mont.prototype.mul=function mul(re,ie){if(re.isZero()||ie.isZero())return new BN(0)._forceRed(this);var oe=re.mul(ie);var se=oe.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m);var ae=oe.isub(se).iushrn(this.shift);var ce=ae;if(ae.cmp(this.m)>=0){ce=ae.isub(this.m)}else if(ae.cmpn(0)<0){ce=ae.iadd(this.m)}return ce._forceRed(this)};Mont.prototype.invm=function invm(re){var ie=this.imod(re._invmp(this.m).mul(this.r2));return ie._forceRed(this)}})(false||re,this)},39266:(re,ie,oe)=>{var se;re.exports=function rand(re){if(!se)se=new Rand(null);return se.generate(re)};function Rand(re){this.rand=re}re.exports.Rand=Rand;Rand.prototype.generate=function generate(re){return this._rand(re)};Rand.prototype._rand=function _rand(re){if(this.rand.getBytes)return this.rand.getBytes(re);var ie=new Uint8Array(re);for(var oe=0;oe{"use strict";const{parseContentType:se}=oe(61305);function getInstance(re){const ie=re.headers;const oe=se(ie["content-type"]);if(!oe)throw new Error("Malformed content type");for(const se of ae){const ae=se.detect(oe);if(!ae)continue;const ce={limits:re.limits,headers:ie,conType:oe,highWaterMark:undefined,fileHwm:undefined,defCharset:undefined,defParamCharset:undefined,preservePath:false};if(re.highWaterMark)ce.highWaterMark=re.highWaterMark;if(re.fileHwm)ce.fileHwm=re.fileHwm;ce.defCharset=re.defCharset;ce.defParamCharset=re.defParamCharset;ce.preservePath=re.preservePath;return new se(ce)}throw new Error(`Unsupported content type: ${ie["content-type"]}`)}const ae=[oe(65634),oe(84041)].filter((function(re){return typeof re.detect==="function"}));re.exports=re=>{if(typeof re!=="object"||re===null)re={};if(typeof re.headers!=="object"||re.headers===null||typeof re.headers["content-type"]!=="string"){throw new Error("Missing Content-Type")}return getInstance(re)}},65634:(re,ie,oe)=>{"use strict";const{Readable:se,Writable:ae}=oe(12781);const ce=oe(52405);const{basename:ue,convertToUTF8:le,getDecoder:fe,parseContentType:de,parseDisposition:pe}=oe(61305);const he=Buffer.from("\r\n");const Ae=Buffer.from("\r");const ge=Buffer.from("-");function noop(){}const me=2e3;const ye=16*1024;const ve=0;const be=1;const we=2;class HeaderParser{constructor(re){this.header=Object.create(null);this.pairCount=0;this.byteCount=0;this.state=ve;this.name="";this.value="";this.crlf=0;this.cb=re}reset(){this.header=Object.create(null);this.pairCount=0;this.byteCount=0;this.state=ve;this.name="";this.value="";this.crlf=0}push(re,ie,oe){let se=ie;while(ie{this._read();if(--ie._fileEndsLeft===0&&ie._finalcb){const re=ie._finalcb;ie._finalcb=null;process.nextTick(re)}}))}_read(re){const ie=this._readcb;if(ie){this._readcb=null;ie()}}}const _e={push:(re,ie)=>{},destroy:()=>{}};function callAndUnsetCb(re,ie){const oe=re._writecb;re._writecb=null;if(ie)re.destroy(ie);else if(oe)oe()}function nullDecoder(re,ie){return re}class Multipart extends ae{constructor(re){const ie={autoDestroy:true,emitClose:true,highWaterMark:typeof re.highWaterMark==="number"?re.highWaterMark:undefined};super(ie);if(!re.conType.params||typeof re.conType.params.boundary!=="string")throw new Error("Multipart: Boundary not found");const oe=re.conType.params.boundary;const se=typeof re.defParamCharset==="string"&&re.defParamCharset?fe(re.defParamCharset):nullDecoder;const ae=re.defCharset||"utf8";const me=re.preservePath;const ye={autoDestroy:true,emitClose:true,highWaterMark:typeof re.fileHwm==="number"?re.fileHwm:undefined};const ve=re.limits;const be=ve&&typeof ve.fieldSize==="number"?ve.fieldSize:1*1024*1024;const we=ve&&typeof ve.fileSize==="number"?ve.fileSize:Infinity;const Ee=ve&&typeof ve.files==="number"?ve.files:Infinity;const Ce=ve&&typeof ve.fields==="number"?ve.fields:Infinity;const Ie=ve&&typeof ve.parts==="number"?ve.parts:Infinity;let Se=-1;let Be=0;let xe=0;let ke=false;this._fileEndsLeft=0;this._fileStream=undefined;this._complete=false;let Oe=0;let De;let Pe=0;let Te;let Qe;let Re;let Me;let Ne=false;let je=false;let Le=false;this._hparser=null;const Fe=new HeaderParser((re=>{this._hparser=null;ke=false;Re="text/plain";Te=ae;Qe="7bit";Me=undefined;Ne=false;let ie;if(!re["content-disposition"]){ke=true;return}const oe=pe(re["content-disposition"][0],se);if(!oe||oe.type!=="form-data"){ke=true;return}if(oe.params){if(oe.params.name)Me=oe.params.name;if(oe.params["filename*"])ie=oe.params["filename*"];else if(oe.params.filename)ie=oe.params.filename;if(ie!==undefined&&!me)ie=ue(ie)}if(re["content-type"]){const ie=de(re["content-type"][0]);if(ie){Re=`${ie.type}/${ie.subtype}`;if(ie.params&&typeof ie.params.charset==="string")Te=ie.params.charset.toLowerCase()}}if(re["content-transfer-encoding"])Qe=re["content-transfer-encoding"][0].toLowerCase();if(Re==="application/octet-stream"||ie!==undefined){if(xe===Ee){if(!je){je=true;this.emit("filesLimit")}ke=true;return}++xe;if(this.listenerCount("file")===0){ke=true;return}Oe=0;this._fileStream=new FileStream(ye,this);++this._fileEndsLeft;this.emit("file",Me,this._fileStream,{filename:ie,encoding:Qe,mimeType:Re})}else{if(Be===Ce){if(!Le){Le=true;this.emit("fieldsLimit")}ke=true;return}++Be;if(this.listenerCount("field")===0){ke=true;return}De=[];Pe=0}}));let Ue=0;const ssCb=(re,ie,oe,se,ae)=>{e:while(ie){if(this._hparser!==null){const re=this._hparser.push(ie,oe,se);if(re===-1){this._hparser=null;Fe.reset();this.emit("error",new Error("Malformed part header"));break}oe=re}if(oe===se)break;if(Ue!==0){if(Ue===1){switch(ie[oe]){case 45:Ue=2;++oe;break;case 13:Ue=3;++oe;break;default:Ue=0}if(oe===se)return}if(Ue===2){Ue=0;if(ie[oe]===45){this._complete=true;this._bparser=_e;return}const re=this._writecb;this._writecb=noop;ssCb(false,ge,0,1,false);this._writecb=re}else if(Ue===3){Ue=0;if(ie[oe]===10){++oe;if(Se>=Ie)break;this._hparser=Fe;if(oe===se)break;continue e}else{const re=this._writecb;this._writecb=noop;ssCb(false,Ae,0,1,false);this._writecb=re}}}if(!ke){if(this._fileStream){let re;const ce=Math.min(se-oe,we-Oe);if(!ae){re=Buffer.allocUnsafe(ce);ie.copy(re,0,oe,oe+ce)}else{re=ie.slice(oe,oe+ce)}Oe+=re.length;if(Oe===we){if(re.length>0)this._fileStream.push(re);this._fileStream.emit("limit");this._fileStream.truncated=true;ke=true}else if(!this._fileStream.push(re)){if(this._writecb)this._fileStream._readcb=this._writecb;this._writecb=null}}else if(De!==undefined){let re;const ce=Math.min(se-oe,be-Pe);if(!ae){re=Buffer.allocUnsafe(ce);ie.copy(re,0,oe,oe+ce)}else{re=ie.slice(oe,oe+ce)}Pe+=ce;De.push(re);if(Pe===be){ke=true;Ne=true}}}break}if(re){Ue=1;if(this._fileStream){this._fileStream.push(null);this._fileStream=null}else if(De!==undefined){let re;switch(De.length){case 0:re="";break;case 1:re=le(De[0],Te,0);break;default:re=le(Buffer.concat(De,Pe),Te,0)}De=undefined;Pe=0;this.emit("field",Me,re,{nameTruncated:false,valueTruncated:Ne,encoding:Qe,mimeType:Re})}if(++Se===Ie)this.emit("partsLimit")}};this._bparser=new ce(`\r\n--${oe}`,ssCb);this._writecb=null;this._finalcb=null;this.write(he)}static detect(re){return re.type==="multipart"&&re.subtype==="form-data"}_write(re,ie,oe){this._writecb=oe;this._bparser.push(re,0);if(this._writecb)callAndUnsetCb(this)}_destroy(re,ie){this._hparser=null;this._bparser=_e;if(!re)re=checkEndState(this);const oe=this._fileStream;if(oe){this._fileStream=null;oe.destroy(re)}ie(re)}_final(re){this._bparser.destroy();if(!this._complete)return re(new Error("Unexpected end of form"));if(this._fileEndsLeft)this._finalcb=finalcb.bind(null,this,re);else finalcb(this,re)}}function finalcb(re,ie,oe){if(oe)return ie(oe);oe=checkEndState(re);ie(oe)}function checkEndState(re){if(re._hparser)return new Error("Malformed part header");const ie=re._fileStream;if(ie){re._fileStream=null;ie.destroy(new Error("Unexpected end of file"))}if(!re._complete)return new Error("Unexpected end of form")}const Ee=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,0,0,1,1,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];const Ce=[0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1];re.exports=Multipart},84041:(re,ie,oe)=>{"use strict";const{Writable:se}=oe(12781);const{getDecoder:ae}=oe(61305);class URLEncoded extends se{constructor(re){const ie={autoDestroy:true,emitClose:true,highWaterMark:typeof re.highWaterMark==="number"?re.highWaterMark:undefined};super(ie);let oe=re.defCharset||"utf8";if(re.conType.params&&typeof re.conType.params.charset==="string")oe=re.conType.params.charset;this.charset=oe;const se=re.limits;this.fieldSizeLimit=se&&typeof se.fieldSize==="number"?se.fieldSize:1*1024*1024;this.fieldsLimit=se&&typeof se.fields==="number"?se.fields:Infinity;this.fieldNameSizeLimit=se&&typeof se.fieldNameSize==="number"?se.fieldNameSize:100;this._inKey=true;this._keyTrunc=false;this._valTrunc=false;this._bytesKey=0;this._bytesVal=0;this._fields=0;this._key="";this._val="";this._byte=-2;this._lastPos=0;this._encode=0;this._decoder=ae(oe)}static detect(re){return re.type==="application"&&re.subtype==="x-www-form-urlencoded"}_write(re,ie,oe){if(this._fields>=this.fieldsLimit)return oe();let se=0;const ae=re.length;this._lastPos=0;if(this._byte!==-2){se=readPctEnc(this,re,se,ae);if(se===-1)return oe(new Error("Malformed urlencoded form"));if(se>=ae)return oe();if(this._inKey)++this._bytesKey;else++this._bytesVal}e:while(se0){this.emit("field",this._key,"",{nameTruncated:this._keyTrunc,valueTruncated:false,encoding:this.charset,mimeType:"text/plain"})}this._key="";this._val="";this._keyTrunc=false;this._valTrunc=false;this._bytesKey=0;this._bytesVal=0;if(++this._fields>=this.fieldsLimit){this.emit("fieldsLimit");return oe()}continue;case 43:if(this._lastPos=ae)return oe();++this._bytesKey;se=skipKeyBytes(this,re,se,ae);continue}++se;++this._bytesKey;se=skipKeyBytes(this,re,se,ae)}if(this._lastPos0||this._bytesVal>0){this.emit("field",this._key,this._val,{nameTruncated:this._keyTrunc,valueTruncated:this._valTrunc,encoding:this.charset,mimeType:"text/plain"})}this._key="";this._val="";this._keyTrunc=false;this._valTrunc=false;this._bytesKey=0;this._bytesVal=0;if(++this._fields>=this.fieldsLimit){this.emit("fieldsLimit");return oe()}continue e;case 43:if(this._lastPos=ae)return oe();++this._bytesVal;se=skipValBytes(this,re,se,ae);continue}++se;++this._bytesVal;se=skipValBytes(this,re,se,ae)}if(this._lastPos0||this._bytesVal>0){if(this._inKey)this._key=this._decoder(this._key,this._encode);else this._val=this._decoder(this._val,this._encode);this.emit("field",this._key,this._val,{nameTruncated:this._keyTrunc,valueTruncated:this._valTrunc,encoding:this.charset,mimeType:"text/plain"})}re()}}function readPctEnc(re,ie,oe,se){if(oe>=se)return se;if(re._byte===-1){const ae=ce[ie[oe++]];if(ae===-1)return-1;if(ae>=8)re._encode=2;if(oere.fieldNameSizeLimit){if(!re._keyTrunc){if(re._lastPosre.fieldSizeLimit){if(!re._valTrunc){if(re._lastPos=128)se=2;else if(se===0)se=1;continue}return}break}}he+=re.slice(Ae,ie);he=convertToUTF8(he,ge,se);if(he===undefined)return}else{++ie;if(ie===re.length)return;if(re.charCodeAt(ie)===34){Ae=++ie;let oe=false;for(;ie{if(re.length===0)return"";if(typeof re==="string"){if(ie<2)return re;re=Buffer.from(re,"latin1")}return re.utf8Slice(0,re.length)},latin1:(re,ie)=>{if(re.length===0)return"";if(typeof re==="string")return re;return re.latin1Slice(0,re.length)},utf16le:(re,ie)=>{if(re.length===0)return"";if(typeof re==="string")re=Buffer.from(re,"latin1");return re.ucs2Slice(0,re.length)},base64:(re,ie)=>{if(re.length===0)return"";if(typeof re==="string")re=Buffer.from(re,"latin1");return re.base64Slice(0,re.length)},other:(re,ie)=>{if(re.length===0)return"";if(typeof re==="string")re=Buffer.from(re,"latin1");try{const ie=new TextDecoder(this);return ie.decode(re)}catch{}}};function convertToUTF8(re,ie,oe){const se=getDecoder(ie);if(se)return se(re,oe)}function basename(re){if(typeof re!=="string")return"";for(let ie=re.length-1;ie>=0;--ie){switch(re.charCodeAt(ie)){case 47:case 92:re=re.slice(ie+1);return re===".."||re==="."?"":re}}return re===".."||re==="."?"":re}const oe=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,0,0,1,1,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];const se=[0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1];const ae=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,0,0,0,0,1,0,1,0,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];const ce=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,0,1,0,0,0,0,1,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];const ue=[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,-1,-1,-1,-1,-1,-1,-1,10,11,12,13,14,15,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,10,11,12,13,14,15,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1];re.exports={basename:basename,convertToUTF8:convertToUTF8,getDecoder:getDecoder,parseContentType:parseContentType,parseDisposition:parseDisposition}},40641:re=>{"use strict";re.exports=function serialize(re){if(re===null||typeof re!=="object"||re.toJSON!=null){return JSON.stringify(re)}if(Array.isArray(re)){return"["+re.reduce(((re,ie,oe)=>{const se=oe===0?"":",";const ae=ie===undefined||typeof ie==="symbol"?null:ie;return re+se+serialize(ae)}),"")+"]"}return"{"+Object.keys(re).sort().reduce(((ie,oe,se)=>{if(re[oe]===undefined||typeof re[oe]==="symbol"){return ie}const ae=ie.length===0?"":",";return ie+ae+serialize(oe)+":"+serialize(re[oe])}),"")+"}"}},4114:function(re){ + */Object.defineProperty(pe,"__esModule",{value:true});var he=Ae(22420);var ge=Ae(65266);function _interopNamespace(R){if(R&&R.__esModule)return R;var pe=Object.create(null);if(R){Object.keys(R).forEach((function(Ae){if(Ae!=="default"){var he=Object.getOwnPropertyDescriptor(R,Ae);Object.defineProperty(pe,Ae,he.get?he:{enumerable:true,get:function(){return R[Ae]}})}}))}pe["default"]=R;return Object.freeze(pe)}var me=_interopNamespace(he);var ye=_interopNamespace(ge);function assertBigInt(){if(typeof BigInt==="undefined"){throw new Error("BigInt is not defined. Your environment doesn't implement BigInt.")}}function concat(R){let pe=0;let Ae=0;for(let Ae=0;Ae=ge.length){this.error="End of input reached before message was fully decoded";return-1}if(R===Ae){Ae+=255;const R=new Uint8Array(Ae);for(let Ae=0;Ae8){this.error="Too big integer";return-1}if(ve+1>ge.length){this.error="End of input reached before message was fully decoded";return-1}const be=pe+1;const Ee=he.subarray(be,be+ve);if(Ee[ve-1]===0)this.warnings.push("Needlessly long encoded length");this.length=ye.utilFromBase(Ee,8);if(this.longFormUsed&&this.length<=127)this.warnings.push("Unnecessary usage of long length form");this.blockLength=ve+1;return pe+this.blockLength}toBER(R=false){let pe;let Ae;if(this.length>127)this.longFormUsed=true;if(this.isIndefiniteForm){pe=new ArrayBuffer(1);if(R===false){Ae=new Uint8Array(pe);Ae[0]=128}return pe}if(this.longFormUsed){const he=ye.utilToBase(this.length,8);if(he.byteLength>127){this.error="Too big length";return Oe}pe=new ArrayBuffer(he.byteLength+1);if(R)return pe;const ge=new Uint8Array(he);Ae=new Uint8Array(pe);Ae[0]=he.byteLength|128;for(let R=0;R{Me.Primitive=Fe})();Primitive.NAME="PRIMITIVE";function localChangeType(R,pe){if(R instanceof pe){return R}const Ae=new pe;Ae.idBlock=R.idBlock;Ae.lenBlock=R.lenBlock;Ae.warnings=R.warnings;Ae.valueBeforeDecodeView=R.valueBeforeDecodeView;return Ae}function localFromBER(R,pe=0,Ae=R.length){const he=pe;let ge=new BaseBlock({},ValueBlock);const me=new LocalBaseBlock;if(!checkBufferParams(me,R,pe,Ae)){ge.error=me.error;return{offset:-1,result:ge}}const ye=R.subarray(pe,pe+Ae);if(!ye.length){ge.error="Zero buffer length";return{offset:-1,result:ge}}let ve=ge.idBlock.fromBER(R,pe,Ae);if(ge.idBlock.warnings.length){ge.warnings.concat(ge.idBlock.warnings)}if(ve===-1){ge.error=ge.idBlock.error;return{offset:-1,result:ge}}pe=ve;Ae-=ge.idBlock.blockLength;ve=ge.lenBlock.fromBER(R,pe,Ae);if(ge.lenBlock.warnings.length){ge.warnings.concat(ge.lenBlock.warnings)}if(ve===-1){ge.error=ge.lenBlock.error;return{offset:-1,result:ge}}pe=ve;Ae-=ge.lenBlock.blockLength;if(!ge.idBlock.isConstructed&&ge.lenBlock.isIndefiniteForm){ge.error="Indefinite length form used for primitive encoding form";return{offset:-1,result:ge}}let be=BaseBlock;switch(ge.idBlock.tagClass){case 1:if(ge.idBlock.tagNumber>=37&&ge.idBlock.isHexOnly===false){ge.error="UNIVERSAL 37 and upper tags are reserved by ASN.1 standard";return{offset:-1,result:ge}}switch(ge.idBlock.tagNumber){case 0:if(ge.idBlock.isConstructed&&ge.lenBlock.length>0){ge.error="Type [UNIVERSAL 0] is reserved";return{offset:-1,result:ge}}be=Me.EndOfContent;break;case 1:be=Me.Boolean;break;case 2:be=Me.Integer;break;case 3:be=Me.BitString;break;case 4:be=Me.OctetString;break;case 5:be=Me.Null;break;case 6:be=Me.ObjectIdentifier;break;case 10:be=Me.Enumerated;break;case 12:be=Me.Utf8String;break;case 13:be=Me.RelativeObjectIdentifier;break;case 14:be=Me.TIME;break;case 15:ge.error="[UNIVERSAL 15] is reserved by ASN.1 standard";return{offset:-1,result:ge};case 16:be=Me.Sequence;break;case 17:be=Me.Set;break;case 18:be=Me.NumericString;break;case 19:be=Me.PrintableString;break;case 20:be=Me.TeletexString;break;case 21:be=Me.VideotexString;break;case 22:be=Me.IA5String;break;case 23:be=Me.UTCTime;break;case 24:be=Me.GeneralizedTime;break;case 25:be=Me.GraphicString;break;case 26:be=Me.VisibleString;break;case 27:be=Me.GeneralString;break;case 28:be=Me.UniversalString;break;case 29:be=Me.CharacterString;break;case 30:be=Me.BmpString;break;case 31:be=Me.DATE;break;case 32:be=Me.TimeOfDay;break;case 33:be=Me.DateTime;break;case 34:be=Me.Duration;break;default:{const R=ge.idBlock.isConstructed?new Me.Constructed:new Me.Primitive;R.idBlock=ge.idBlock;R.lenBlock=ge.lenBlock;R.warnings=ge.warnings;ge=R}}break;case 2:case 3:case 4:default:{be=ge.idBlock.isConstructed?Me.Constructed:Me.Primitive}}ge=localChangeType(ge,be);ve=ge.fromBER(R,pe,ge.lenBlock.isIndefiniteForm?Ae:ge.lenBlock.length);ge.valueBeforeDecodeView=R.subarray(he,he+ge.blockLength);return{offset:ve,result:ge}}function fromBER(R){if(!R.byteLength){const R=new BaseBlock({},ValueBlock);R.error="Input buffer has zero length";return{offset:-1,result:R}}return localFromBER(me.BufferSourceConverter.toUint8Array(R).slice(),0,R.byteLength)}function checkLen(R,pe){if(R){return 1}return pe}class LocalConstructedValueBlock extends ValueBlock{constructor({value:R=[],isIndefiniteForm:pe=false,...Ae}={}){super(Ae);this.value=R;this.isIndefiniteForm=pe}fromBER(R,pe,Ae){const he=me.BufferSourceConverter.toUint8Array(R);if(!checkBufferParams(this,he,pe,Ae)){return-1}this.valueBeforeDecodeView=he.subarray(pe,pe+Ae);if(this.valueBeforeDecodeView.length===0){this.warnings.push("Zero buffer length");return pe}let ge=pe;while(checkLen(this.isIndefiniteForm,Ae)>0){const R=localFromBER(he,ge,Ae);if(R.offset===-1){this.error=R.result.error;this.warnings.concat(R.result.warnings);return-1}ge=R.offset;this.blockLength+=R.result.blockLength;Ae-=R.result.blockLength;this.value.push(R.result);if(this.isIndefiniteForm&&R.result.constructor.NAME===Pe){break}}if(this.isIndefiniteForm){if(this.value[this.value.length-1].constructor.NAME===Pe){this.value.pop()}else{this.warnings.push("No EndOfContent block encoded")}}return ge}toBER(R,pe){const Ae=pe||new ViewWriter;for(let pe=0;pe` ${R}`)).join("\n"))}const pe=this.idBlock.tagClass===3?`[${this.idBlock.tagNumber}]`:this.constructor.NAME;return R.length?`${pe} :\n${R.join("\n")}`:`${pe} :`}}je=Constructed;(()=>{Me.Constructed=je})();Constructed.NAME="CONSTRUCTED";class LocalEndOfContentValueBlock extends ValueBlock{fromBER(R,pe,Ae){return pe}toBER(R){return Oe}}LocalEndOfContentValueBlock.override="EndOfContentValueBlock";var Le;class EndOfContent extends BaseBlock{constructor(R={}){super(R,LocalEndOfContentValueBlock);this.idBlock.tagClass=1;this.idBlock.tagNumber=0}}Le=EndOfContent;(()=>{Me.EndOfContent=Le})();EndOfContent.NAME=Pe;var Ue;class Null extends BaseBlock{constructor(R={}){super(R,ValueBlock);this.idBlock.tagClass=1;this.idBlock.tagNumber=5}fromBER(R,pe,Ae){if(this.lenBlock.length>0)this.warnings.push("Non-zero length of value block for Null type");if(!this.idBlock.error.length)this.blockLength+=this.idBlock.blockLength;if(!this.lenBlock.error.length)this.blockLength+=this.lenBlock.blockLength;this.blockLength+=Ae;if(pe+Ae>R.byteLength){this.error="End of input reached before message was fully decoded (inconsistent offset and length values)";return-1}return pe+Ae}toBER(R,pe){const Ae=new ArrayBuffer(2);if(!R){const R=new Uint8Array(Ae);R[0]=5;R[1]=0}if(pe){pe.write(Ae)}return Ae}onAsciiEncoding(){return`${this.constructor.NAME}`}}Ue=Null;(()=>{Me.Null=Ue})();Null.NAME="NULL";class LocalBooleanValueBlock extends(HexBlock(ValueBlock)){constructor({value:R,...pe}={}){super(pe);if(pe.valueHex){this.valueHexView=me.BufferSourceConverter.toUint8Array(pe.valueHex)}else{this.valueHexView=new Uint8Array(1)}if(R){this.value=R}}get value(){for(const R of this.valueHexView){if(R>0){return true}}return false}set value(R){this.valueHexView[0]=R?255:0}fromBER(R,pe,Ae){const he=me.BufferSourceConverter.toUint8Array(R);if(!checkBufferParams(this,he,pe,Ae)){return-1}this.valueHexView=he.subarray(pe,pe+Ae);if(Ae>1)this.warnings.push("Boolean value encoded in more then 1 octet");this.isHexOnly=true;ye.utilDecodeTC.call(this);this.blockLength=Ae;return pe+Ae}toBER(){return this.valueHexView.slice()}toJSON(){return{...super.toJSON(),value:this.value}}}LocalBooleanValueBlock.NAME="BooleanValueBlock";var He;class Boolean extends BaseBlock{constructor(R={}){super(R,LocalBooleanValueBlock);this.idBlock.tagClass=1;this.idBlock.tagNumber=1}getValue(){return this.valueBlock.value}setValue(R){this.valueBlock.value=R}onAsciiEncoding(){return`${this.constructor.NAME} : ${this.getValue}`}}He=Boolean;(()=>{Me.Boolean=He})();Boolean.NAME="BOOLEAN";class LocalOctetStringValueBlock extends(HexBlock(LocalConstructedValueBlock)){constructor({isConstructed:R=false,...pe}={}){super(pe);this.isConstructed=R}fromBER(R,pe,Ae){let he=0;if(this.isConstructed){this.isHexOnly=false;he=LocalConstructedValueBlock.prototype.fromBER.call(this,R,pe,Ae);if(he===-1)return he;for(let R=0;R{Me.OctetString=Ve})();OctetString.NAME=Te;class LocalBitStringValueBlock extends(HexBlock(LocalConstructedValueBlock)){constructor({unusedBits:R=0,isConstructed:pe=false,...Ae}={}){super(Ae);this.unusedBits=R;this.isConstructed=pe;this.blockLength=this.valueHexView.byteLength}fromBER(R,pe,Ae){if(!Ae){return pe}let he=-1;if(this.isConstructed){he=LocalConstructedValueBlock.prototype.fromBER.call(this,R,pe,Ae);if(he===-1)return he;for(const R of this.value){const pe=R.constructor.NAME;if(pe===Pe){if(this.isIndefiniteForm)break;else{this.error="EndOfContent is unexpected, BIT STRING may consists of BIT STRINGs only";return-1}}if(pe!==Ne){this.error="BIT STRING may consists of BIT STRINGs only";return-1}const Ae=R.valueBlock;if(this.unusedBits>0&&Ae.unusedBits>0){this.error='Using of "unused bits" inside constructive BIT STRING allowed for least one only';return-1}this.unusedBits=Ae.unusedBits}return he}const ge=me.BufferSourceConverter.toUint8Array(R);if(!checkBufferParams(this,ge,pe,Ae)){return-1}const ye=ge.subarray(pe,pe+Ae);this.unusedBits=ye[0];if(this.unusedBits>7){this.error="Unused bits for BitString must be in range 0-7";return-1}if(!this.unusedBits){const R=ye.subarray(1);try{if(R.byteLength){const pe=localFromBER(R,0,R.byteLength);if(pe.offset!==-1&&pe.offset===Ae-1){this.value=[pe.result]}}}catch(R){}}this.valueHexView=ye.subarray(1);this.blockLength=ye.length;return pe+Ae}toBER(R,pe){if(this.isConstructed){return LocalConstructedValueBlock.prototype.toBER.call(this,R,pe)}if(R){return new ArrayBuffer(this.valueHexView.byteLength+1)}if(!this.valueHexView.byteLength){return Oe}const Ae=new Uint8Array(this.valueHexView.length+1);Ae[0]=this.unusedBits;Ae.set(this.valueHexView,1);return Ae.buffer}toJSON(){return{...super.toJSON(),unusedBits:this.unusedBits,isConstructed:this.isConstructed}}}LocalBitStringValueBlock.NAME="BitStringValueBlock";var We;class BitString extends BaseBlock{constructor({idBlock:R={},lenBlock:pe={},...Ae}={}){var he,ge;(he=Ae.isConstructed)!==null&&he!==void 0?he:Ae.isConstructed=!!((ge=Ae.value)===null||ge===void 0?void 0:ge.length);super({idBlock:{isConstructed:Ae.isConstructed,...R},lenBlock:{...pe,isIndefiniteForm:!!Ae.isIndefiniteForm},...Ae},LocalBitStringValueBlock);this.idBlock.tagClass=1;this.idBlock.tagNumber=3}fromBER(R,pe,Ae){this.valueBlock.isConstructed=this.idBlock.isConstructed;this.valueBlock.isIndefiniteForm=this.lenBlock.isIndefiniteForm;return super.fromBER(R,pe,Ae)}onAsciiEncoding(){if(this.valueBlock.isConstructed||this.valueBlock.value&&this.valueBlock.value.length){return Constructed.prototype.onAsciiEncoding.call(this)}else{const R=[];const pe=this.valueBlock.valueHexView;for(const Ae of pe){R.push(Ae.toString(2).padStart(8,"0"))}const Ae=R.join("");return`${this.constructor.NAME} : ${Ae.substring(0,Ae.length-this.valueBlock.unusedBits)}`}}}We=BitString;(()=>{Me.BitString=We})();BitString.NAME=Ne;var Je;function viewAdd(R,pe){const Ae=new Uint8Array([0]);const he=new Uint8Array(R);const ge=new Uint8Array(pe);let me=he.slice(0);const ve=me.length-1;const be=ge.slice(0);const Ee=be.length-1;let Ce=0;const we=Ee=0;R--,Ie++){switch(true){case Ie=me.length:me=ye.utilConcatView(new Uint8Array([Ce%10]),me);break;default:me[ve-Ie]=Ce%10}}if(Ae[0]>0)me=ye.utilConcatView(Ae,me);return me}function power2(R){if(R>=ve.length){for(let pe=ve.length;pe<=R;pe++){const R=new Uint8Array([0]);let Ae=ve[pe-1].slice(0);for(let pe=Ae.length-1;pe>=0;pe--){const he=new Uint8Array([(Ae[pe]<<1)+R[0]]);R[0]=he[0]/10;Ae[pe]=he[0]%10}if(R[0]>0)Ae=ye.utilConcatView(R,Ae);ve.push(Ae)}}return ve[R]}function viewSub(R,pe){let Ae=0;const he=new Uint8Array(R);const ge=new Uint8Array(pe);const me=he.slice(0);const ye=me.length-1;const ve=ge.slice(0);const be=ve.length-1;let Ee;let Ce=0;for(let R=be;R>=0;R--,Ce++){Ee=me[ye-Ce]-ve[be-Ce]-Ae;switch(true){case Ee<0:Ae=1;me[ye-Ce]=Ee+10;break;default:Ae=0;me[ye-Ce]=Ee}}if(Ae>0){for(let R=ye-be+1;R>=0;R--,Ce++){Ee=me[ye-Ce]-Ae;if(Ee<0){Ae=1;me[ye-Ce]=Ee+10}else{Ae=0;me[ye-Ce]=Ee;break}}}return me.slice()}class LocalIntegerValueBlock extends(HexBlock(ValueBlock)){constructor({value:R,...pe}={}){super(pe);this._valueDec=0;if(pe.valueHex){this.setValueHex()}if(R!==undefined){this.valueDec=R}}setValueHex(){if(this.valueHexView.length>=4){this.warnings.push("Too big Integer for decoding, hex only");this.isHexOnly=true;this._valueDec=0}else{this.isHexOnly=false;if(this.valueHexView.length>0){this._valueDec=ye.utilDecodeTC.call(this)}}}set valueDec(R){this._valueDec=R;this.isHexOnly=false;this.valueHexView=new Uint8Array(ye.utilEncodeTC(R))}get valueDec(){return this._valueDec}fromDER(R,pe,Ae,he=0){const ge=this.fromBER(R,pe,Ae);if(ge===-1)return ge;const me=this.valueHexView;if(me[0]===0&&(me[1]&128)!==0){this.valueHexView=me.subarray(1)}else{if(he!==0){if(me.length1)he=me.length+1;this.valueHexView=me.subarray(he-me.length)}}}return ge}toDER(R=false){const pe=this.valueHexView;switch(true){case(pe[0]&128)!==0:{const R=new Uint8Array(this.valueHexView.length+1);R[0]=0;R.set(pe,1);this.valueHexView=R}break;case pe[0]===0&&(pe[1]&128)===0:{this.valueHexView=this.valueHexView.subarray(1)}break}return this.toBER(R)}fromBER(R,pe,Ae){const he=super.fromBER(R,pe,Ae);if(he===-1){return he}this.setValueHex();return he}toBER(R){return R?new ArrayBuffer(this.valueHexView.length):this.valueHexView.slice().buffer}toJSON(){return{...super.toJSON(),valueDec:this.valueDec}}toString(){const R=this.valueHexView.length*8-1;let pe=new Uint8Array(this.valueHexView.length*8/3);let Ae=0;let he;const ge=this.valueHexView;let me="";let ye=false;for(let ye=ge.byteLength-1;ye>=0;ye--){he=ge[ye];for(let ge=0;ge<8;ge++){if((he&1)===1){switch(Ae){case R:pe=viewSub(power2(Ae),pe);me="-";break;default:pe=viewAdd(pe,power2(Ae))}}Ae++;he>>=1}}for(let R=0;R{Object.defineProperty(Je.prototype,"valueHex",{set:function(R){this.valueHexView=new Uint8Array(R);this.setValueHex()},get:function(){return this.valueHexView.slice().buffer}})})();var Ge;class Integer extends BaseBlock{constructor(R={}){super(R,LocalIntegerValueBlock);this.idBlock.tagClass=1;this.idBlock.tagNumber=2}toBigInt(){assertBigInt();return BigInt(this.valueBlock.toString())}static fromBigInt(R){assertBigInt();const pe=BigInt(R);const Ae=new ViewWriter;const he=pe.toString(16).replace(/^-/,"");const ge=new Uint8Array(me.Convert.FromHex(he));if(pe<0){const R=new Uint8Array(ge.length+(ge[0]&128?1:0));R[0]|=128;const he=BigInt(`0x${me.Convert.ToHex(R)}`);const ye=he+pe;const ve=me.BufferSourceConverter.toUint8Array(me.Convert.FromHex(ye.toString(16)));ve[0]|=128;Ae.write(ve)}else{if(ge[0]&128){Ae.write(new Uint8Array([0]))}Ae.write(ge)}const ye=new Integer({valueHex:Ae.final()});return ye}convertToDER(){const R=new Integer({valueHex:this.valueBlock.valueHexView});R.valueBlock.toDER();return R}convertFromDER(){return new Integer({valueHex:this.valueBlock.valueHexView[0]===0?this.valueBlock.valueHexView.subarray(1):this.valueBlock.valueHexView})}onAsciiEncoding(){return`${this.constructor.NAME} : ${this.valueBlock.toString()}`}}Ge=Integer;(()=>{Me.Integer=Ge})();Integer.NAME="INTEGER";var qe;class Enumerated extends Integer{constructor(R={}){super(R);this.idBlock.tagClass=1;this.idBlock.tagNumber=10}}qe=Enumerated;(()=>{Me.Enumerated=qe})();Enumerated.NAME="ENUMERATED";class LocalSidValueBlock extends(HexBlock(ValueBlock)){constructor({valueDec:R=-1,isFirstSid:pe=false,...Ae}={}){super(Ae);this.valueDec=R;this.isFirstSid=pe}fromBER(R,pe,Ae){if(!Ae){return pe}const he=me.BufferSourceConverter.toUint8Array(R);if(!checkBufferParams(this,he,pe,Ae)){return-1}const ge=he.subarray(pe,pe+Ae);this.valueHexView=new Uint8Array(Ae);for(let R=0;R0){const pe=new LocalSidValueBlock;he=pe.fromBER(R,he,Ae);if(he===-1){this.blockLength=0;this.error=pe.error;return he}if(this.value.length===0)pe.isFirstSid=true;this.blockLength+=pe.blockLength;Ae-=pe.blockLength;this.value.push(pe)}return he}toBER(R){const pe=[];for(let Ae=0;AeNumber.MAX_SAFE_INTEGER){assertBigInt();const pe=BigInt(he);R.valueBigInt=pe}else{R.valueDec=parseInt(he,10);if(isNaN(R.valueDec))return}if(!this.value.length){R.isFirstSid=true;ge=true}this.value.push(R)}}while(Ae!==-1)}toString(){let R="";let pe=false;for(let Ae=0;Ae{Me.ObjectIdentifier=Ye})();ObjectIdentifier.NAME="OBJECT IDENTIFIER";class LocalRelativeSidValueBlock extends(HexBlock(LocalBaseBlock)){constructor({valueDec:R=0,...pe}={}){super(pe);this.valueDec=R}fromBER(R,pe,Ae){if(Ae===0)return pe;const he=me.BufferSourceConverter.toUint8Array(R);if(!checkBufferParams(this,he,pe,Ae))return-1;const ge=he.subarray(pe,pe+Ae);this.valueHexView=new Uint8Array(Ae);for(let R=0;R0){const pe=new LocalRelativeSidValueBlock;he=pe.fromBER(R,he,Ae);if(he===-1){this.blockLength=0;this.error=pe.error;return he}this.blockLength+=pe.blockLength;Ae-=pe.blockLength;this.value.push(pe)}return he}toBER(R,pe){const Ae=[];for(let pe=0;pe{Me.RelativeObjectIdentifier=Ke})();RelativeObjectIdentifier.NAME="RelativeObjectIdentifier";var ze;class Sequence extends Constructed{constructor(R={}){super(R);this.idBlock.tagClass=1;this.idBlock.tagNumber=16}}ze=Sequence;(()=>{Me.Sequence=ze})();Sequence.NAME="SEQUENCE";var $e;class Set extends Constructed{constructor(R={}){super(R);this.idBlock.tagClass=1;this.idBlock.tagNumber=17}}$e=Set;(()=>{Me.Set=$e})();Set.NAME="SET";class LocalStringValueBlock extends(HexBlock(ValueBlock)){constructor({...R}={}){super(R);this.isHexOnly=true;this.value=ke}toJSON(){return{...super.toJSON(),value:this.value}}}LocalStringValueBlock.NAME="StringValueBlock";class LocalSimpleStringValueBlock extends LocalStringValueBlock{}LocalSimpleStringValueBlock.NAME="SimpleStringValueBlock";class LocalSimpleStringBlock extends BaseStringBlock{constructor({...R}={}){super(R,LocalSimpleStringValueBlock)}fromBuffer(R){this.valueBlock.value=String.fromCharCode.apply(null,me.BufferSourceConverter.toUint8Array(R))}fromString(R){const pe=R.length;const Ae=this.valueBlock.valueHexView=new Uint8Array(pe);for(let he=0;he{Me.Utf8String=Ze})();Utf8String.NAME="UTF8String";class LocalBmpStringValueBlock extends LocalSimpleStringBlock{fromBuffer(R){this.valueBlock.value=me.Convert.ToUtf16String(R);this.valueBlock.valueHexView=me.BufferSourceConverter.toUint8Array(R)}fromString(R){this.valueBlock.value=R;this.valueBlock.valueHexView=new Uint8Array(me.Convert.FromUtf16String(R))}}LocalBmpStringValueBlock.NAME="BmpStringValueBlock";var Xe;class BmpString extends LocalBmpStringValueBlock{constructor({...R}={}){super(R);this.idBlock.tagClass=1;this.idBlock.tagNumber=30}}Xe=BmpString;(()=>{Me.BmpString=Xe})();BmpString.NAME="BMPString";class LocalUniversalStringValueBlock extends LocalSimpleStringBlock{fromBuffer(R){const pe=ArrayBuffer.isView(R)?R.slice().buffer:R.slice(0);const Ae=new Uint8Array(pe);for(let R=0;R4)continue;const me=4-ge.length;for(let R=ge.length-1;R>=0;R--)Ae[he*4+R+me]=ge[R]}this.valueBlock.value=R}}LocalUniversalStringValueBlock.NAME="UniversalStringValueBlock";var et;class UniversalString extends LocalUniversalStringValueBlock{constructor({...R}={}){super(R);this.idBlock.tagClass=1;this.idBlock.tagNumber=28}}et=UniversalString;(()=>{Me.UniversalString=et})();UniversalString.NAME="UniversalString";var tt;class NumericString extends LocalSimpleStringBlock{constructor(R={}){super(R);this.idBlock.tagClass=1;this.idBlock.tagNumber=18}}tt=NumericString;(()=>{Me.NumericString=tt})();NumericString.NAME="NumericString";var rt;class PrintableString extends LocalSimpleStringBlock{constructor(R={}){super(R);this.idBlock.tagClass=1;this.idBlock.tagNumber=19}}rt=PrintableString;(()=>{Me.PrintableString=rt})();PrintableString.NAME="PrintableString";var nt;class TeletexString extends LocalSimpleStringBlock{constructor(R={}){super(R);this.idBlock.tagClass=1;this.idBlock.tagNumber=20}}nt=TeletexString;(()=>{Me.TeletexString=nt})();TeletexString.NAME="TeletexString";var it;class VideotexString extends LocalSimpleStringBlock{constructor(R={}){super(R);this.idBlock.tagClass=1;this.idBlock.tagNumber=21}}it=VideotexString;(()=>{Me.VideotexString=it})();VideotexString.NAME="VideotexString";var ot;class IA5String extends LocalSimpleStringBlock{constructor(R={}){super(R);this.idBlock.tagClass=1;this.idBlock.tagNumber=22}}ot=IA5String;(()=>{Me.IA5String=ot})();IA5String.NAME="IA5String";var st;class GraphicString extends LocalSimpleStringBlock{constructor(R={}){super(R);this.idBlock.tagClass=1;this.idBlock.tagNumber=25}}st=GraphicString;(()=>{Me.GraphicString=st})();GraphicString.NAME="GraphicString";var at;class VisibleString extends LocalSimpleStringBlock{constructor(R={}){super(R);this.idBlock.tagClass=1;this.idBlock.tagNumber=26}}at=VisibleString;(()=>{Me.VisibleString=at})();VisibleString.NAME="VisibleString";var ct;class GeneralString extends LocalSimpleStringBlock{constructor(R={}){super(R);this.idBlock.tagClass=1;this.idBlock.tagNumber=27}}ct=GeneralString;(()=>{Me.GeneralString=ct})();GeneralString.NAME="GeneralString";var ut;class CharacterString extends LocalSimpleStringBlock{constructor(R={}){super(R);this.idBlock.tagClass=1;this.idBlock.tagNumber=29}}ut=CharacterString;(()=>{Me.CharacterString=ut})();CharacterString.NAME="CharacterString";var lt;class UTCTime extends VisibleString{constructor({value:R,valueDate:pe,...Ae}={}){super(Ae);this.year=0;this.month=0;this.day=0;this.hour=0;this.minute=0;this.second=0;if(R){this.fromString(R);this.valueBlock.valueHexView=new Uint8Array(R.length);for(let pe=0;pe=50)this.year=1900+he;else this.year=2e3+he;this.month=parseInt(Ae[2],10);this.day=parseInt(Ae[3],10);this.hour=parseInt(Ae[4],10);this.minute=parseInt(Ae[5],10);this.second=parseInt(Ae[6],10)}toString(R="iso"){if(R==="iso"){const R=new Array(7);R[0]=ye.padNumber(this.year<2e3?this.year-1900:this.year-2e3,2);R[1]=ye.padNumber(this.month,2);R[2]=ye.padNumber(this.day,2);R[3]=ye.padNumber(this.hour,2);R[4]=ye.padNumber(this.minute,2);R[5]=ye.padNumber(this.second,2);R[6]="Z";return R.join("")}return super.toString(R)}onAsciiEncoding(){return`${this.constructor.NAME} : ${this.toDate().toISOString()}`}toJSON(){return{...super.toJSON(),year:this.year,month:this.month,day:this.day,hour:this.hour,minute:this.minute,second:this.second}}}lt=UTCTime;(()=>{Me.UTCTime=lt})();UTCTime.NAME="UTCTime";var dt;class GeneralizedTime extends UTCTime{constructor(R={}){var pe;super(R);(pe=this.millisecond)!==null&&pe!==void 0?pe:this.millisecond=0;this.idBlock.tagClass=1;this.idBlock.tagNumber=24}fromDate(R){super.fromDate(R);this.millisecond=R.getUTCMilliseconds()}toDate(){return new Date(Date.UTC(this.year,this.month-1,this.day,this.hour,this.minute,this.second,this.millisecond))}fromString(R){let pe=false;let Ae="";let he="";let ge=0;let me;let ye=0;let ve=0;if(R[R.length-1]==="Z"){Ae=R.substring(0,R.length-1);pe=true}else{const pe=new Number(R[R.length-1]);if(isNaN(pe.valueOf()))throw new Error("Wrong input string for conversion");Ae=R}if(pe){if(Ae.indexOf("+")!==-1)throw new Error("Wrong input string for conversion");if(Ae.indexOf("-")!==-1)throw new Error("Wrong input string for conversion")}else{let R=1;let pe=Ae.indexOf("+");let he="";if(pe===-1){pe=Ae.indexOf("-");R=-1}if(pe!==-1){he=Ae.substring(pe+1);Ae=Ae.substring(0,pe);if(he.length!==2&&he.length!==4)throw new Error("Wrong input string for conversion");let ge=parseInt(he.substring(0,2),10);if(isNaN(ge.valueOf()))throw new Error("Wrong input string for conversion");ye=R*ge;if(he.length===4){ge=parseInt(he.substring(2,4),10);if(isNaN(ge.valueOf()))throw new Error("Wrong input string for conversion");ve=R*ge}}}let be=Ae.indexOf(".");if(be===-1)be=Ae.indexOf(",");if(be!==-1){const R=new Number(`0${Ae.substring(be)}`);if(isNaN(R.valueOf()))throw new Error("Wrong input string for conversion");ge=R.valueOf();he=Ae.substring(0,be)}else he=Ae;switch(true){case he.length===8:me=/(\d{4})(\d{2})(\d{2})/gi;if(be!==-1)throw new Error("Wrong input string for conversion");break;case he.length===10:me=/(\d{4})(\d{2})(\d{2})(\d{2})/gi;if(be!==-1){let R=60*ge;this.minute=Math.floor(R);R=60*(R-this.minute);this.second=Math.floor(R);R=1e3*(R-this.second);this.millisecond=Math.floor(R)}break;case he.length===12:me=/(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})/gi;if(be!==-1){let R=60*ge;this.second=Math.floor(R);R=1e3*(R-this.second);this.millisecond=Math.floor(R)}break;case he.length===14:me=/(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})/gi;if(be!==-1){const R=1e3*ge;this.millisecond=Math.floor(R)}break;default:throw new Error("Wrong input string for conversion")}const Ee=me.exec(he);if(Ee===null)throw new Error("Wrong input string for conversion");for(let R=1;R{Me.GeneralizedTime=dt})();GeneralizedTime.NAME="GeneralizedTime";var ft;class DATE extends Utf8String{constructor(R={}){super(R);this.idBlock.tagClass=1;this.idBlock.tagNumber=31}}ft=DATE;(()=>{Me.DATE=ft})();DATE.NAME="DATE";var pt;class TimeOfDay extends Utf8String{constructor(R={}){super(R);this.idBlock.tagClass=1;this.idBlock.tagNumber=32}}pt=TimeOfDay;(()=>{Me.TimeOfDay=pt})();TimeOfDay.NAME="TimeOfDay";var At;class DateTime extends Utf8String{constructor(R={}){super(R);this.idBlock.tagClass=1;this.idBlock.tagNumber=33}}At=DateTime;(()=>{Me.DateTime=At})();DateTime.NAME="DateTime";var ht;class Duration extends Utf8String{constructor(R={}){super(R);this.idBlock.tagClass=1;this.idBlock.tagNumber=34}}ht=Duration;(()=>{Me.Duration=ht})();Duration.NAME="Duration";var gt;class TIME extends Utf8String{constructor(R={}){super(R);this.idBlock.tagClass=1;this.idBlock.tagNumber=14}}gt=TIME;(()=>{Me.TIME=gt})();TIME.NAME="TIME";class Any{constructor({name:R=ke,optional:pe=false}={}){this.name=R;this.optional=pe}}class Choice extends Any{constructor({value:R=[],...pe}={}){super(pe);this.value=R}}class Repeated extends Any{constructor({value:R=new Any,local:pe=false,...Ae}={}){super(Ae);this.value=R;this.local=pe}}class RawData{constructor({data:R=Re}={}){this.dataView=me.BufferSourceConverter.toUint8Array(R)}get data(){return this.dataView.slice().buffer}set data(R){this.dataView=me.BufferSourceConverter.toUint8Array(R)}fromBER(R,pe,Ae){const he=pe+Ae;this.dataView=me.BufferSourceConverter.toUint8Array(R).subarray(pe,he);return he}toBER(R){return this.dataView.slice().buffer}}function compareSchema(R,pe,Ae){if(Ae instanceof Choice){for(let he=0;he0){if(Ae.valueBlock.value[0]instanceof Repeated){me=pe.valueBlock.value.length}}if(me===0){return{verified:true,result:R}}if(pe.valueBlock.value.length===0&&Ae.valueBlock.value.length!==0){let pe=true;for(let R=0;R=pe.valueBlock.value.length){if(Ae.valueBlock.value[ye].optional===false){const pe={verified:false,result:R};R.error="Inconsistent length between ASN.1 data and schema";if(Ae.name){Ae.name=Ae.name.replace(/^\s+|\s+$/g,ke);if(Ae.name){delete R[Ae.name];pe.name=Ae.name}}return pe}}else{if(Ae.valueBlock.value[0]instanceof Repeated){ge=compareSchema(R,pe.valueBlock.value[ye],Ae.valueBlock.value[0].value);if(ge.verified===false){if(Ae.valueBlock.value[0].optional)he++;else{if(Ae.name){Ae.name=Ae.name.replace(/^\s+|\s+$/g,ke);if(Ae.name)delete R[Ae.name]}return ge}}if(Ee in Ae.valueBlock.value[0]&&Ae.valueBlock.value[0].name.length>0){let he={};if(De in Ae.valueBlock.value[0]&&Ae.valueBlock.value[0].local)he=pe;else he=R;if(typeof he[Ae.valueBlock.value[0].name]==="undefined")he[Ae.valueBlock.value[0].name]=[];he[Ae.valueBlock.value[0].name].push(pe.valueBlock.value[ye])}}else{ge=compareSchema(R,pe.valueBlock.value[ye-he],Ae.valueBlock.value[ye]);if(ge.verified===false){if(Ae.valueBlock.value[ye].optional)he++;else{if(Ae.name){Ae.name=Ae.name.replace(/^\s+|\s+$/g,ke);if(Ae.name)delete R[Ae.name]}return ge}}}}}if(ge.verified===false){const pe={verified:false,result:R};if(Ae.name){Ae.name=Ae.name.replace(/^\s+|\s+$/g,ke);if(Ae.name){delete R[Ae.name];pe.name=Ae.name}}return pe}return{verified:true,result:R}}if(Ae.primitiveSchema&&Ce in pe.valueBlock){const he=localFromBER(pe.valueBlock.valueHexView);if(he.offset===-1){const pe={verified:false,result:he.result};if(Ae.name){Ae.name=Ae.name.replace(/^\s+|\s+$/g,ke);if(Ae.name){delete R[Ae.name];pe.name=Ae.name}}return pe}return compareSchema(R,he.result,Ae.primitiveSchema)}return{verified:true,result:R}}function verifySchema(R,pe){if(pe instanceof Object===false){return{verified:false,result:{error:"Wrong ASN.1 schema type"}}}const Ae=localFromBER(me.BufferSourceConverter.toUint8Array(R));if(Ae.offset===-1){return{verified:false,result:Ae.result}}return compareSchema(Ae.result,Ae.result,pe)}pe.Any=Any;pe.BaseBlock=BaseBlock;pe.BaseStringBlock=BaseStringBlock;pe.BitString=BitString;pe.BmpString=BmpString;pe.Boolean=Boolean;pe.CharacterString=CharacterString;pe.Choice=Choice;pe.Constructed=Constructed;pe.DATE=DATE;pe.DateTime=DateTime;pe.Duration=Duration;pe.EndOfContent=EndOfContent;pe.Enumerated=Enumerated;pe.GeneralString=GeneralString;pe.GeneralizedTime=GeneralizedTime;pe.GraphicString=GraphicString;pe.HexBlock=HexBlock;pe.IA5String=IA5String;pe.Integer=Integer;pe.Null=Null;pe.NumericString=NumericString;pe.ObjectIdentifier=ObjectIdentifier;pe.OctetString=OctetString;pe.Primitive=Primitive;pe.PrintableString=PrintableString;pe.RawData=RawData;pe.RelativeObjectIdentifier=RelativeObjectIdentifier;pe.Repeated=Repeated;pe.Sequence=Sequence;pe.Set=Set;pe.TIME=TIME;pe.TeletexString=TeletexString;pe.TimeOfDay=TimeOfDay;pe.UTCTime=UTCTime;pe.UniversalString=UniversalString;pe.Utf8String=Utf8String;pe.ValueBlock=ValueBlock;pe.VideotexString=VideotexString;pe.ViewWriter=ViewWriter;pe.VisibleString=VisibleString;pe.compareSchema=compareSchema;pe.fromBER=fromBER;pe.verifySchema=verifySchema},14812:(R,pe,Ae)=>{R.exports={parallel:Ae(8210),serial:Ae(50445),serialOrdered:Ae(3578)}},1700:R=>{R.exports=abort;function abort(R){Object.keys(R.jobs).forEach(clean.bind(R));R.jobs={}}function clean(R){if(typeof this.jobs[R]=="function"){this.jobs[R]()}}},72794:(R,pe,Ae)=>{var he=Ae(15295);R.exports=async;function async(R){var pe=false;he((function(){pe=true}));return function async_callback(Ae,ge){if(pe){R(Ae,ge)}else{he((function nextTick_callback(){R(Ae,ge)}))}}}},15295:R=>{R.exports=defer;function defer(R){var pe=typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:null;if(pe){pe(R)}else{setTimeout(R,0)}}},9023:(R,pe,Ae)=>{var he=Ae(72794),ge=Ae(1700);R.exports=iterate;function iterate(R,pe,Ae,he){var me=Ae["keyedList"]?Ae["keyedList"][Ae.index]:Ae.index;Ae.jobs[me]=runJob(pe,me,R[me],(function(R,pe){if(!(me in Ae.jobs)){return}delete Ae.jobs[me];if(R){ge(Ae)}else{Ae.results[me]=pe}he(R,Ae.results)}))}function runJob(R,pe,Ae,ge){var me;if(R.length==2){me=R(Ae,he(ge))}else{me=R(Ae,pe,he(ge))}return me}},42474:R=>{R.exports=state;function state(R,pe){var Ae=!Array.isArray(R),he={index:0,keyedList:Ae||pe?Object.keys(R):null,jobs:{},results:Ae?{}:[],size:Ae?Object.keys(R).length:R.length};if(pe){he.keyedList.sort(Ae?pe:function(Ae,he){return pe(R[Ae],R[he])})}return he}},37942:(R,pe,Ae)=>{var he=Ae(1700),ge=Ae(72794);R.exports=terminator;function terminator(R){if(!Object.keys(this.jobs).length){return}this.index=this.size;he(this);ge(R)(null,this.results)}},8210:(R,pe,Ae)=>{var he=Ae(9023),ge=Ae(42474),me=Ae(37942);R.exports=parallel;function parallel(R,pe,Ae){var ye=ge(R);while(ye.index<(ye["keyedList"]||R).length){he(R,pe,ye,(function(R,pe){if(R){Ae(R,pe);return}if(Object.keys(ye.jobs).length===0){Ae(null,ye.results);return}}));ye.index++}return me.bind(ye,Ae)}},50445:(R,pe,Ae)=>{var he=Ae(3578);R.exports=serial;function serial(R,pe,Ae){return he(R,pe,null,Ae)}},3578:(R,pe,Ae)=>{var he=Ae(9023),ge=Ae(42474),me=Ae(37942);R.exports=serialOrdered;R.exports.ascending=ascending;R.exports.descending=descending;function serialOrdered(R,pe,Ae,ye){var ve=ge(R,Ae);he(R,pe,ve,(function iteratorHandler(Ae,ge){if(Ae){ye(Ae,ge);return}ve.index++;if(ve.index<(ve["keyedList"]||R).length){he(R,pe,ve,iteratorHandler);return}ye(null,ve.results)}));return me.bind(ve,ye)}function ascending(R,pe){return Rpe?1:0}function descending(R,pe){return-1*ascending(R,pe)}},40641:R=>{"use strict";R.exports=function serialize(R){if(R===null||typeof R!=="object"||R.toJSON!=null){return JSON.stringify(R)}if(Array.isArray(R)){return"["+R.reduce(((R,pe,Ae)=>{const he=Ae===0?"":",";const ge=pe===undefined||typeof pe==="symbol"?null:pe;return R+he+serialize(ge)}),"")+"]"}return"{"+Object.keys(R).sort().reduce(((pe,Ae,he)=>{if(R[Ae]===undefined||typeof R[Ae]==="symbol"){return pe}const ge=pe.length===0?"":",";return pe+ge+serialize(Ae)+":"+serialize(R[Ae])}),"")+"}"}},4114:function(R){ /*! For license information please see cbor.js.LICENSE.txt */ -!function(ie,oe){true?re.exports=oe():0}(this,(()=>(()=>{var re={8599:re=>{"use strict";const{AbortController:ie,AbortSignal:oe}="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0;re.exports=ie,re.exports.AbortSignal=oe,re.exports.default=ie},9742:(re,ie)=>{"use strict";ie.byteLength=function(re){var ie=a(re),oe=ie[0],se=ie[1];return 3*(oe+se)/4-se},ie.toByteArray=function(re){var ie,oe,ce=a(re),ue=ce[0],le=ce[1],fe=new ae(function(re,ie,oe){return 3*(ie+oe)/4-oe}(0,ue,le)),de=0,pe=le>0?ue-4:ue;for(oe=0;oe>16&255,fe[de++]=ie>>8&255,fe[de++]=255&ie;return 2===le&&(ie=se[re.charCodeAt(oe)]<<2|se[re.charCodeAt(oe+1)]>>4,fe[de++]=255&ie),1===le&&(ie=se[re.charCodeAt(oe)]<<10|se[re.charCodeAt(oe+1)]<<4|se[re.charCodeAt(oe+2)]>>2,fe[de++]=ie>>8&255,fe[de++]=255&ie),fe},ie.fromByteArray=function(re){for(var ie,se=re.length,ae=se%3,ce=[],ue=16383,le=0,fe=se-ae;lefe?fe:le+ue));return 1===ae?(ie=re[se-1],ce.push(oe[ie>>2]+oe[ie<<4&63]+"==")):2===ae&&(ie=(re[se-2]<<8)+re[se-1],ce.push(oe[ie>>10]+oe[ie>>4&63]+oe[ie<<2&63]+"=")),ce.join("")};for(var oe=[],se=[],ae="undefined"!=typeof Uint8Array?Uint8Array:Array,ce="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ue=0;ue<64;++ue)oe[ue]=ce[ue],se[ce.charCodeAt(ue)]=ue;function a(re){var ie=re.length;if(ie%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var oe=re.indexOf("=");return-1===oe&&(oe=ie),[oe,oe===ie?0:4-oe%4]}function l(re,ie,se){for(var ae,ce,ue=[],le=ie;le>18&63]+oe[ce>>12&63]+oe[ce>>6&63]+oe[63&ce]);return ue.join("")}se["-".charCodeAt(0)]=62,se["_".charCodeAt(0)]=63},8764:(re,ie,oe)=>{"use strict";const se=oe(9742),ae=oe(645),ce="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;ie.Buffer=l,ie.SlowBuffer=function(re){return+re!=re&&(re=0),l.alloc(+re)},ie.INSPECT_MAX_BYTES=50;const ue=2147483647;function a(re){if(re>ue)throw new RangeError('The value "'+re+'" is invalid for option "size"');const ie=new Uint8Array(re);return Object.setPrototypeOf(ie,l.prototype),ie}function l(re,ie,oe){if("number"==typeof re){if("string"==typeof ie)throw new TypeError('The "string" argument must be of type string. Received type number');return f(re)}return u(re,ie,oe)}function u(re,ie,oe){if("string"==typeof re)return function(re,ie){if("string"==typeof ie&&""!==ie||(ie="utf8"),!l.isEncoding(ie))throw new TypeError("Unknown encoding: "+ie);const oe=0|b(re,ie);let se=a(oe);const ae=se.write(re,ie);return ae!==oe&&(se=se.slice(0,ae)),se}(re,ie);if(ArrayBuffer.isView(re))return function(re){if(z(re,Uint8Array)){const ie=new Uint8Array(re);return d(ie.buffer,ie.byteOffset,ie.byteLength)}return h(re)}(re);if(null==re)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof re);if(z(re,ArrayBuffer)||re&&z(re.buffer,ArrayBuffer))return d(re,ie,oe);if("undefined"!=typeof SharedArrayBuffer&&(z(re,SharedArrayBuffer)||re&&z(re.buffer,SharedArrayBuffer)))return d(re,ie,oe);if("number"==typeof re)throw new TypeError('The "value" argument must not be of type number. Received type number');const se=re.valueOf&&re.valueOf();if(null!=se&&se!==re)return l.from(se,ie,oe);const ae=function(re){if(l.isBuffer(re)){const ie=0|p(re.length),oe=a(ie);return 0===oe.length||re.copy(oe,0,0,ie),oe}return void 0!==re.length?"number"!=typeof re.length||X(re.length)?a(0):h(re):"Buffer"===re.type&&Array.isArray(re.data)?h(re.data):void 0}(re);if(ae)return ae;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof re[Symbol.toPrimitive])return l.from(re[Symbol.toPrimitive]("string"),ie,oe);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof re)}function c(re){if("number"!=typeof re)throw new TypeError('"size" argument must be of type number');if(re<0)throw new RangeError('The value "'+re+'" is invalid for option "size"')}function f(re){return c(re),a(re<0?0:0|p(re))}function h(re){const ie=re.length<0?0:0|p(re.length),oe=a(ie);for(let se=0;se=ue)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ue.toString(16)+" bytes");return 0|re}function b(re,ie){if(l.isBuffer(re))return re.length;if(ArrayBuffer.isView(re)||z(re,ArrayBuffer))return re.byteLength;if("string"!=typeof re)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof re);const oe=re.length,se=arguments.length>2&&!0===arguments[2];if(!se&&0===oe)return 0;let ae=!1;for(;;)switch(ie){case"ascii":case"latin1":case"binary":return oe;case"utf8":case"utf-8":return V(re).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*oe;case"hex":return oe>>>1;case"base64":return K(re).length;default:if(ae)return se?-1:V(re).length;ie=(""+ie).toLowerCase(),ae=!0}}function y(re,ie,oe){let se=!1;if((void 0===ie||ie<0)&&(ie=0),ie>this.length)return"";if((void 0===oe||oe>this.length)&&(oe=this.length),oe<=0)return"";if((oe>>>=0)<=(ie>>>=0))return"";for(re||(re="utf8");;)switch(re){case"hex":return L(this,ie,oe);case"utf8":case"utf-8":return T(this,ie,oe);case"ascii":return B(this,ie,oe);case"latin1":case"binary":return N(this,ie,oe);case"base64":return I(this,ie,oe);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return U(this,ie,oe);default:if(se)throw new TypeError("Unknown encoding: "+re);re=(re+"").toLowerCase(),se=!0}}function g(re,ie,oe){const se=re[ie];re[ie]=re[oe],re[oe]=se}function w(re,ie,oe,se,ae){if(0===re.length)return-1;if("string"==typeof oe?(se=oe,oe=0):oe>2147483647?oe=2147483647:oe<-2147483648&&(oe=-2147483648),X(oe=+oe)&&(oe=ae?0:re.length-1),oe<0&&(oe=re.length+oe),oe>=re.length){if(ae)return-1;oe=re.length-1}else if(oe<0){if(!ae)return-1;oe=0}if("string"==typeof ie&&(ie=l.from(ie,se)),l.isBuffer(ie))return 0===ie.length?-1:_(re,ie,oe,se,ae);if("number"==typeof ie)return ie&=255,"function"==typeof Uint8Array.prototype.indexOf?ae?Uint8Array.prototype.indexOf.call(re,ie,oe):Uint8Array.prototype.lastIndexOf.call(re,ie,oe):_(re,[ie],oe,se,ae);throw new TypeError("val must be string, number or Buffer")}function _(re,ie,oe,se,ae){let ce,ue=1,le=re.length,fe=ie.length;if(void 0!==se&&("ucs2"===(se=String(se).toLowerCase())||"ucs-2"===se||"utf16le"===se||"utf-16le"===se)){if(re.length<2||ie.length<2)return-1;ue=2,le/=2,fe/=2,oe/=2}function u(re,ie){return 1===ue?re[ie]:re.readUInt16BE(ie*ue)}if(ae){let se=-1;for(ce=oe;cele&&(oe=le-fe),ce=oe;ce>=0;ce--){let oe=!0;for(let se=0;seae&&(se=ae):se=ae;const ce=ie.length;let ue;for(se>ce/2&&(se=ce/2),ue=0;ue>8,ae=oe%256,ce.push(ae),ce.push(se);return ce}(ie,re.length-oe),re,oe,se)}function I(re,ie,oe){return 0===ie&&oe===re.length?se.fromByteArray(re):se.fromByteArray(re.slice(ie,oe))}function T(re,ie,oe){oe=Math.min(re.length,oe);const se=[];let ae=ie;for(;ae239?4:ie>223?3:ie>191?2:1;if(ae+ue<=oe){let oe,se,le,fe;switch(ue){case 1:ie<128&&(ce=ie);break;case 2:oe=re[ae+1],128==(192&oe)&&(fe=(31&ie)<<6|63&oe,fe>127&&(ce=fe));break;case 3:oe=re[ae+1],se=re[ae+2],128==(192&oe)&&128==(192&se)&&(fe=(15&ie)<<12|(63&oe)<<6|63&se,fe>2047&&(fe<55296||fe>57343)&&(ce=fe));break;case 4:oe=re[ae+1],se=re[ae+2],le=re[ae+3],128==(192&oe)&&128==(192&se)&&128==(192&le)&&(fe=(15&ie)<<18|(63&oe)<<12|(63&se)<<6|63&le,fe>65535&&fe<1114112&&(ce=fe))}}null===ce?(ce=65533,ue=1):ce>65535&&(ce-=65536,se.push(ce>>>10&1023|55296),ce=56320|1023&ce),se.push(ce),ae+=ue}return function(re){const ie=re.length;if(ie<=le)return String.fromCharCode.apply(String,re);let oe="",se=0;for(;sese.length?(l.isBuffer(ie)||(ie=l.from(ie)),ie.copy(se,ae)):Uint8Array.prototype.set.call(se,ie,ae);else{if(!l.isBuffer(ie))throw new TypeError('"list" argument must be an Array of Buffers');ie.copy(se,ae)}ae+=ie.length}return se},l.byteLength=b,l.prototype._isBuffer=!0,l.prototype.swap16=function(){const re=this.length;if(re%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let ie=0;ieoe&&(re+=" ... "),""},ce&&(l.prototype[ce]=l.prototype.inspect),l.prototype.compare=function(re,ie,oe,se,ae){if(z(re,Uint8Array)&&(re=l.from(re,re.offset,re.byteLength)),!l.isBuffer(re))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof re);if(void 0===ie&&(ie=0),void 0===oe&&(oe=re?re.length:0),void 0===se&&(se=0),void 0===ae&&(ae=this.length),ie<0||oe>re.length||se<0||ae>this.length)throw new RangeError("out of range index");if(se>=ae&&ie>=oe)return 0;if(se>=ae)return-1;if(ie>=oe)return 1;if(this===re)return 0;let ce=(ae>>>=0)-(se>>>=0),ue=(oe>>>=0)-(ie>>>=0);const le=Math.min(ce,ue),fe=this.slice(se,ae),de=re.slice(ie,oe);for(let re=0;re>>=0,isFinite(oe)?(oe>>>=0,void 0===se&&(se="utf8")):(se=oe,oe=void 0)}const ae=this.length-ie;if((void 0===oe||oe>ae)&&(oe=ae),re.length>0&&(oe<0||ie<0)||ie>this.length)throw new RangeError("Attempt to write outside buffer bounds");se||(se="utf8");let ce=!1;for(;;)switch(se){case"hex":return m(this,re,ie,oe);case"utf8":case"utf-8":return E(this,re,ie,oe);case"ascii":case"latin1":case"binary":return S(this,re,ie,oe);case"base64":return v(this,re,ie,oe);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return A(this,re,ie,oe);default:if(ce)throw new TypeError("Unknown encoding: "+se);se=(""+se).toLowerCase(),ce=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const le=4096;function B(re,ie,oe){let se="";oe=Math.min(re.length,oe);for(let ae=ie;aese)&&(oe=se);let ae="";for(let se=ie;seoe)throw new RangeError("Trying to access beyond buffer length")}function M(re,ie,oe,se,ae,ce){if(!l.isBuffer(re))throw new TypeError('"buffer" argument must be a Buffer instance');if(ie>ae||iere.length)throw new RangeError("Index out of range")}function x(re,ie,oe,se,ae){W(ie,se,ae,re,oe,7);let ce=Number(ie&BigInt(4294967295));re[oe++]=ce,ce>>=8,re[oe++]=ce,ce>>=8,re[oe++]=ce,ce>>=8,re[oe++]=ce;let ue=Number(ie>>BigInt(32)&BigInt(4294967295));return re[oe++]=ue,ue>>=8,re[oe++]=ue,ue>>=8,re[oe++]=ue,ue>>=8,re[oe++]=ue,oe}function k(re,ie,oe,se,ae){W(ie,se,ae,re,oe,7);let ce=Number(ie&BigInt(4294967295));re[oe+7]=ce,ce>>=8,re[oe+6]=ce,ce>>=8,re[oe+5]=ce,ce>>=8,re[oe+4]=ce;let ue=Number(ie>>BigInt(32)&BigInt(4294967295));return re[oe+3]=ue,ue>>=8,re[oe+2]=ue,ue>>=8,re[oe+1]=ue,ue>>=8,re[oe]=ue,oe+8}function P(re,ie,oe,se,ae,ce){if(oe+se>re.length)throw new RangeError("Index out of range");if(oe<0)throw new RangeError("Index out of range")}function j(re,ie,oe,se,ce){return ie=+ie,oe>>>=0,ce||P(re,0,oe,4),ae.write(re,ie,oe,se,23,4),oe+4}function F(re,ie,oe,se,ce){return ie=+ie,oe>>>=0,ce||P(re,0,oe,8),ae.write(re,ie,oe,se,52,8),oe+8}l.prototype.slice=function(re,ie){const oe=this.length;(re=~~re)<0?(re+=oe)<0&&(re=0):re>oe&&(re=oe),(ie=void 0===ie?oe:~~ie)<0?(ie+=oe)<0&&(ie=0):ie>oe&&(ie=oe),ie>>=0,ie>>>=0,oe||O(re,ie,this.length);let se=this[re],ae=1,ce=0;for(;++ce>>=0,ie>>>=0,oe||O(re,ie,this.length);let se=this[re+--ie],ae=1;for(;ie>0&&(ae*=256);)se+=this[re+--ie]*ae;return se},l.prototype.readUint8=l.prototype.readUInt8=function(re,ie){return re>>>=0,ie||O(re,1,this.length),this[re]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(re,ie){return re>>>=0,ie||O(re,2,this.length),this[re]|this[re+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(re,ie){return re>>>=0,ie||O(re,2,this.length),this[re]<<8|this[re+1]},l.prototype.readUint32LE=l.prototype.readUInt32LE=function(re,ie){return re>>>=0,ie||O(re,4,this.length),(this[re]|this[re+1]<<8|this[re+2]<<16)+16777216*this[re+3]},l.prototype.readUint32BE=l.prototype.readUInt32BE=function(re,ie){return re>>>=0,ie||O(re,4,this.length),16777216*this[re]+(this[re+1]<<16|this[re+2]<<8|this[re+3])},l.prototype.readBigUInt64LE=Z((function(re){G(re>>>=0,"offset");const ie=this[re],oe=this[re+7];void 0!==ie&&void 0!==oe||Y(re,this.length-8);const se=ie+256*this[++re]+65536*this[++re]+this[++re]*2**24,ae=this[++re]+256*this[++re]+65536*this[++re]+oe*2**24;return BigInt(se)+(BigInt(ae)<>>=0,"offset");const ie=this[re],oe=this[re+7];void 0!==ie&&void 0!==oe||Y(re,this.length-8);const se=ie*2**24+65536*this[++re]+256*this[++re]+this[++re],ae=this[++re]*2**24+65536*this[++re]+256*this[++re]+oe;return(BigInt(se)<>>=0,ie>>>=0,oe||O(re,ie,this.length);let se=this[re],ae=1,ce=0;for(;++ce=ae&&(se-=Math.pow(2,8*ie)),se},l.prototype.readIntBE=function(re,ie,oe){re>>>=0,ie>>>=0,oe||O(re,ie,this.length);let se=ie,ae=1,ce=this[re+--se];for(;se>0&&(ae*=256);)ce+=this[re+--se]*ae;return ae*=128,ce>=ae&&(ce-=Math.pow(2,8*ie)),ce},l.prototype.readInt8=function(re,ie){return re>>>=0,ie||O(re,1,this.length),128&this[re]?-1*(255-this[re]+1):this[re]},l.prototype.readInt16LE=function(re,ie){re>>>=0,ie||O(re,2,this.length);const oe=this[re]|this[re+1]<<8;return 32768&oe?4294901760|oe:oe},l.prototype.readInt16BE=function(re,ie){re>>>=0,ie||O(re,2,this.length);const oe=this[re+1]|this[re]<<8;return 32768&oe?4294901760|oe:oe},l.prototype.readInt32LE=function(re,ie){return re>>>=0,ie||O(re,4,this.length),this[re]|this[re+1]<<8|this[re+2]<<16|this[re+3]<<24},l.prototype.readInt32BE=function(re,ie){return re>>>=0,ie||O(re,4,this.length),this[re]<<24|this[re+1]<<16|this[re+2]<<8|this[re+3]},l.prototype.readBigInt64LE=Z((function(re){G(re>>>=0,"offset");const ie=this[re],oe=this[re+7];void 0!==ie&&void 0!==oe||Y(re,this.length-8);const se=this[re+4]+256*this[re+5]+65536*this[re+6]+(oe<<24);return(BigInt(se)<>>=0,"offset");const ie=this[re],oe=this[re+7];void 0!==ie&&void 0!==oe||Y(re,this.length-8);const se=(ie<<24)+65536*this[++re]+256*this[++re]+this[++re];return(BigInt(se)<>>=0,ie||O(re,4,this.length),ae.read(this,re,!0,23,4)},l.prototype.readFloatBE=function(re,ie){return re>>>=0,ie||O(re,4,this.length),ae.read(this,re,!1,23,4)},l.prototype.readDoubleLE=function(re,ie){return re>>>=0,ie||O(re,8,this.length),ae.read(this,re,!0,52,8)},l.prototype.readDoubleBE=function(re,ie){return re>>>=0,ie||O(re,8,this.length),ae.read(this,re,!1,52,8)},l.prototype.writeUintLE=l.prototype.writeUIntLE=function(re,ie,oe,se){re=+re,ie>>>=0,oe>>>=0,se||M(this,re,ie,oe,Math.pow(2,8*oe)-1,0);let ae=1,ce=0;for(this[ie]=255&re;++ce>>=0,oe>>>=0,se||M(this,re,ie,oe,Math.pow(2,8*oe)-1,0);let ae=oe-1,ce=1;for(this[ie+ae]=255&re;--ae>=0&&(ce*=256);)this[ie+ae]=re/ce&255;return ie+oe},l.prototype.writeUint8=l.prototype.writeUInt8=function(re,ie,oe){return re=+re,ie>>>=0,oe||M(this,re,ie,1,255,0),this[ie]=255&re,ie+1},l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(re,ie,oe){return re=+re,ie>>>=0,oe||M(this,re,ie,2,65535,0),this[ie]=255&re,this[ie+1]=re>>>8,ie+2},l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(re,ie,oe){return re=+re,ie>>>=0,oe||M(this,re,ie,2,65535,0),this[ie]=re>>>8,this[ie+1]=255&re,ie+2},l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(re,ie,oe){return re=+re,ie>>>=0,oe||M(this,re,ie,4,4294967295,0),this[ie+3]=re>>>24,this[ie+2]=re>>>16,this[ie+1]=re>>>8,this[ie]=255&re,ie+4},l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(re,ie,oe){return re=+re,ie>>>=0,oe||M(this,re,ie,4,4294967295,0),this[ie]=re>>>24,this[ie+1]=re>>>16,this[ie+2]=re>>>8,this[ie+3]=255&re,ie+4},l.prototype.writeBigUInt64LE=Z((function(re,ie=0){return x(this,re,ie,BigInt(0),BigInt("0xffffffffffffffff"))})),l.prototype.writeBigUInt64BE=Z((function(re,ie=0){return k(this,re,ie,BigInt(0),BigInt("0xffffffffffffffff"))})),l.prototype.writeIntLE=function(re,ie,oe,se){if(re=+re,ie>>>=0,!se){const se=Math.pow(2,8*oe-1);M(this,re,ie,oe,se-1,-se)}let ae=0,ce=1,ue=0;for(this[ie]=255&re;++ae>0)-ue&255;return ie+oe},l.prototype.writeIntBE=function(re,ie,oe,se){if(re=+re,ie>>>=0,!se){const se=Math.pow(2,8*oe-1);M(this,re,ie,oe,se-1,-se)}let ae=oe-1,ce=1,ue=0;for(this[ie+ae]=255&re;--ae>=0&&(ce*=256);)re<0&&0===ue&&0!==this[ie+ae+1]&&(ue=1),this[ie+ae]=(re/ce>>0)-ue&255;return ie+oe},l.prototype.writeInt8=function(re,ie,oe){return re=+re,ie>>>=0,oe||M(this,re,ie,1,127,-128),re<0&&(re=255+re+1),this[ie]=255&re,ie+1},l.prototype.writeInt16LE=function(re,ie,oe){return re=+re,ie>>>=0,oe||M(this,re,ie,2,32767,-32768),this[ie]=255&re,this[ie+1]=re>>>8,ie+2},l.prototype.writeInt16BE=function(re,ie,oe){return re=+re,ie>>>=0,oe||M(this,re,ie,2,32767,-32768),this[ie]=re>>>8,this[ie+1]=255&re,ie+2},l.prototype.writeInt32LE=function(re,ie,oe){return re=+re,ie>>>=0,oe||M(this,re,ie,4,2147483647,-2147483648),this[ie]=255&re,this[ie+1]=re>>>8,this[ie+2]=re>>>16,this[ie+3]=re>>>24,ie+4},l.prototype.writeInt32BE=function(re,ie,oe){return re=+re,ie>>>=0,oe||M(this,re,ie,4,2147483647,-2147483648),re<0&&(re=4294967295+re+1),this[ie]=re>>>24,this[ie+1]=re>>>16,this[ie+2]=re>>>8,this[ie+3]=255&re,ie+4},l.prototype.writeBigInt64LE=Z((function(re,ie=0){return x(this,re,ie,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),l.prototype.writeBigInt64BE=Z((function(re,ie=0){return k(this,re,ie,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),l.prototype.writeFloatLE=function(re,ie,oe){return j(this,re,ie,!0,oe)},l.prototype.writeFloatBE=function(re,ie,oe){return j(this,re,ie,!1,oe)},l.prototype.writeDoubleLE=function(re,ie,oe){return F(this,re,ie,!0,oe)},l.prototype.writeDoubleBE=function(re,ie,oe){return F(this,re,ie,!1,oe)},l.prototype.copy=function(re,ie,oe,se){if(!l.isBuffer(re))throw new TypeError("argument should be a Buffer");if(oe||(oe=0),se||0===se||(se=this.length),ie>=re.length&&(ie=re.length),ie||(ie=0),se>0&&se=this.length)throw new RangeError("Index out of range");if(se<0)throw new RangeError("sourceEnd out of bounds");se>this.length&&(se=this.length),re.length-ie>>=0,oe=void 0===oe?this.length:oe>>>0,re||(re=0),"number"==typeof re)for(ae=ie;ae=se+4;oe-=3)ie=`_${re.slice(oe-3,oe)}${ie}`;return`${re.slice(0,oe)}${ie}`}function W(re,ie,oe,se,ae,ce){if(re>oe||re3?0===ie||ie===BigInt(0)?`>= 0${se} and < 2${se} ** ${8*(ce+1)}${se}`:`>= -(2${se} ** ${8*(ce+1)-1}${se}) and < 2 ** ${8*(ce+1)-1}${se}`:`>= ${ie}${se} and <= ${oe}${se}`,new fe.ERR_OUT_OF_RANGE("value",ae,re)}!function(re,ie,oe){G(ie,"offset"),void 0!==re[ie]&&void 0!==re[ie+oe]||Y(ie,re.length-(oe+1))}(se,ae,ce)}function G(re,ie){if("number"!=typeof re)throw new fe.ERR_INVALID_ARG_TYPE(ie,"number",re)}function Y(re,ie,oe){if(Math.floor(re)!==re)throw G(re,oe),new fe.ERR_OUT_OF_RANGE(oe||"offset","an integer",re);if(ie<0)throw new fe.ERR_BUFFER_OUT_OF_BOUNDS;throw new fe.ERR_OUT_OF_RANGE(oe||"offset",`>= ${oe?1:0} and <= ${ie}`,re)}C("ERR_BUFFER_OUT_OF_BOUNDS",(function(re){return re?`${re} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),C("ERR_INVALID_ARG_TYPE",(function(re,ie){return`The "${re}" argument must be of type number. Received type ${typeof ie}`}),TypeError),C("ERR_OUT_OF_RANGE",(function(re,ie,oe){let se=`The value of "${re}" is out of range.`,ae=oe;return Number.isInteger(oe)&&Math.abs(oe)>2**32?ae=$(String(oe)):"bigint"==typeof oe&&(ae=String(oe),(oe>BigInt(2)**BigInt(32)||oe<-(BigInt(2)**BigInt(32)))&&(ae=$(ae)),ae+="n"),se+=` It must be ${ie}. Received ${ae}`,se}),RangeError);const de=/[^+/0-9A-Za-z-_]/g;function V(re,ie){let oe;ie=ie||1/0;const se=re.length;let ae=null;const ce=[];for(let ue=0;ue55295&&oe<57344){if(!ae){if(oe>56319){(ie-=3)>-1&&ce.push(239,191,189);continue}if(ue+1===se){(ie-=3)>-1&&ce.push(239,191,189);continue}ae=oe;continue}if(oe<56320){(ie-=3)>-1&&ce.push(239,191,189),ae=oe;continue}oe=65536+(ae-55296<<10|oe-56320)}else ae&&(ie-=3)>-1&&ce.push(239,191,189);if(ae=null,oe<128){if((ie-=1)<0)break;ce.push(oe)}else if(oe<2048){if((ie-=2)<0)break;ce.push(oe>>6|192,63&oe|128)}else if(oe<65536){if((ie-=3)<0)break;ce.push(oe>>12|224,oe>>6&63|128,63&oe|128)}else{if(!(oe<1114112))throw new Error("Invalid code point");if((ie-=4)<0)break;ce.push(oe>>18|240,oe>>12&63|128,oe>>6&63|128,63&oe|128)}}return ce}function K(re){return se.toByteArray(function(re){if((re=(re=re.split("=")[0]).trim().replace(de,"")).length<2)return"";for(;re.length%4!=0;)re+="=";return re}(re))}function q(re,ie,oe,se){let ae;for(ae=0;ae=ie.length||ae>=re.length);++ae)ie[ae+oe]=re[ae];return ae}function z(re,ie){return re instanceof ie||null!=re&&null!=re.constructor&&null!=re.constructor.name&&re.constructor.name===ie.name}function X(re){return re!=re}const pe=function(){const re="0123456789abcdef",ie=new Array(256);for(let oe=0;oe<16;++oe){const se=16*oe;for(let ae=0;ae<16;++ae)ie[se+ae]=re[oe]+re[ae]}return ie}();function Z(re){return"undefined"==typeof BigInt?Q:re}function Q(){throw new Error("BigInt not supported")}},2141:(re,ie,oe)=>{"use strict";const se=oe(2020),ae=oe(4694),ce=oe(6774),ue=oe(4666),le=oe(9032),fe=oe(4785),de=oe(3070),pe=oe(8112);re.exports={Commented:se,Diagnose:ae,Decoder:ce,Encoder:ue,Simple:le,Tagged:fe,Map:de,SharedValueEncoder:pe,comment:se.comment,decodeAll:ce.decodeAll,decodeFirst:ce.decodeFirst,decodeAllSync:ce.decodeAllSync,decodeFirstSync:ce.decodeFirstSync,diagnose:ae.diagnose,encode:ue.encode,encodeCanonical:ue.encodeCanonical,encodeOne:ue.encodeOne,encodeAsync:ue.encodeAsync,decode:ce.decodeFirstSync,leveldb:{decode:ce.decodeFirstSync,encode:ue.encode,buffer:!0,name:"cbor"},reset(){ue.reset(),fe.reset()}}},2020:(re,ie,oe)=>{"use strict";const se=oe(2830),ae=oe(9873),ce=oe(6774),ue=oe(4202),{MT:le,NUMBYTES:fe,SYMS:de}=oe(9066),{Buffer:pe}=oe(8764);function f(re){return re>1?"s":""}class h extends se.Transform{constructor(re={}){const{depth:ie=1,max_depth:oe=10,no_summary:se=!1,tags:ae={},preferWeb:le,encoding:fe,...de}=re;super({...de,readableObjectMode:!1,writableObjectMode:!1}),this.depth=ie,this.max_depth=oe,this.all=new ue,ae[24]||(ae[24]=this._tag_24.bind(this)),this.parser=new ce({tags:ae,max_depth:oe,preferWeb:le,encoding:fe}),this.parser.on("value",this._on_value.bind(this)),this.parser.on("start",this._on_start.bind(this)),this.parser.on("start-string",this._on_start_string.bind(this)),this.parser.on("stop",this._on_stop.bind(this)),this.parser.on("more-bytes",this._on_more.bind(this)),this.parser.on("error",this._on_error.bind(this)),se||this.parser.on("data",this._on_data.bind(this)),this.parser.bs.on("read",this._on_read.bind(this))}_tag_24(re){const ie=new h({depth:this.depth+1,no_summary:!0});ie.on("data",(re=>this.push(re))),ie.on("error",(re=>this.emit("error",re))),ie.end(re)}_transform(re,ie,oe){this.parser.write(re,ie,oe)}_flush(re){return this.parser._flush(re)}static comment(re,ie={},oe=null){if(null==re)throw new Error("input required");({options:ie,cb:oe}=function(re,ie){switch(typeof re){case"function":return{options:{},cb:re};case"string":return{options:{encoding:re},cb:ie};case"number":return{options:{max_depth:re},cb:ie};case"object":return{options:re||{},cb:ie};default:throw new TypeError("Unknown option type")}}(ie,oe));const se=new ue,{encoding:ce="hex",...le}=ie,fe=new h(le);let de=null;return"function"==typeof oe?(fe.on("end",(()=>{oe(null,se.toString("utf8"))})),fe.on("error",oe)):de=new Promise(((re,ie)=>{fe.on("end",(()=>{re(se.toString("utf8"))})),fe.on("error",ie)})),fe.pipe(se),ae.guessEncoding(re,ce).pipe(fe),de}_on_error(re){this.push("ERROR: "),this.push(re.toString()),this.push("\n")}_on_read(re){this.all.write(re);const ie=re.toString("hex");this.push(new Array(this.depth+1).join(" ")),this.push(ie);let oe=2*(this.max_depth-this.depth)-ie.length;oe<1&&(oe=1),this.push(new Array(oe+1).join(" ")),this.push("-- ")}_on_more(re,ie,oe,se){let ae="";switch(this.depth++,re){case le.POS_INT:ae="Positive number,";break;case le.NEG_INT:ae="Negative number,";break;case le.ARRAY:ae="Array, length";break;case le.MAP:ae="Map, count";break;case le.BYTE_STRING:ae="Bytes, length";break;case le.UTF8_STRING:ae="String, length";break;case le.SIMPLE_FLOAT:ae=1===ie?"Simple value,":"Float,"}this.push(`${ae} next ${ie} byte${f(ie)}\n`)}_on_start_string(re,ie,oe,se){let ae="";switch(this.depth++,re){case le.BYTE_STRING:ae=`Bytes, length: ${ie}`;break;case le.UTF8_STRING:ae=`String, length: ${ie.toString()}`}this.push(`${ae}\n`)}_on_start(re,ie,oe,se){switch(this.depth++,oe){case le.ARRAY:this.push(`[${se}], `);break;case le.MAP:se%2?this.push(`{Val:${Math.floor(se/2)}}, `):this.push(`{Key:${Math.floor(se/2)}}, `)}switch(re){case le.TAG:this.push(`Tag #${ie}`),24===ie&&this.push(" Encoded CBOR data item");break;case le.ARRAY:ie===de.STREAM?this.push("Array (streaming)"):this.push(`Array, ${ie} item${f(ie)}`);break;case le.MAP:ie===de.STREAM?this.push("Map (streaming)"):this.push(`Map, ${ie} pair${f(ie)}`);break;case le.BYTE_STRING:this.push("Bytes (streaming)");break;case le.UTF8_STRING:this.push("String (streaming)")}this.push("\n")}_on_stop(re){this.depth--}_on_value(re,ie,oe,se){if(re!==de.BREAK)switch(ie){case le.ARRAY:this.push(`[${oe}], `);break;case le.MAP:oe%2?this.push(`{Val:${Math.floor(oe/2)}}, `):this.push(`{Key:${Math.floor(oe/2)}}, `)}const ce=ae.cborValueToString(re,-1/0);switch("string"==typeof re||pe.isBuffer(re)?(re.length>0&&(this.push(ce),this.push("\n")),this.depth--):(this.push(ce),this.push("\n")),se){case fe.ONE:case fe.TWO:case fe.FOUR:case fe.EIGHT:this.depth--}}_on_data(){this.push("0x"),this.push(this.all.read().toString("hex")),this.push("\n")}}re.exports=h},9066:(re,ie)=>{"use strict";ie.MT={POS_INT:0,NEG_INT:1,BYTE_STRING:2,UTF8_STRING:3,ARRAY:4,MAP:5,TAG:6,SIMPLE_FLOAT:7},ie.TAG={DATE_STRING:0,DATE_EPOCH:1,POS_BIGINT:2,NEG_BIGINT:3,DECIMAL_FRAC:4,BIGFLOAT:5,BASE64URL_EXPECTED:21,BASE64_EXPECTED:22,BASE16_EXPECTED:23,CBOR:24,URI:32,BASE64URL:33,BASE64:34,REGEXP:35,MIME:36,SET:258},ie.NUMBYTES={ZERO:0,ONE:24,TWO:25,FOUR:26,EIGHT:27,INDEFINITE:31},ie.SIMPLE={FALSE:20,TRUE:21,NULL:22,UNDEFINED:23},ie.SYMS={NULL:Symbol.for("github.com/hildjj/node-cbor/null"),UNDEFINED:Symbol.for("github.com/hildjj/node-cbor/undef"),PARENT:Symbol.for("github.com/hildjj/node-cbor/parent"),BREAK:Symbol.for("github.com/hildjj/node-cbor/break"),STREAM:Symbol.for("github.com/hildjj/node-cbor/stream")},ie.SHIFT32=4294967296,ie.BI={MINUS_ONE:BigInt(-1),NEG_MAX:BigInt(-1)-BigInt(Number.MAX_SAFE_INTEGER),MAXINT32:BigInt("0xffffffff"),MAXINT64:BigInt("0xffffffffffffffff"),SHIFT32:BigInt(ie.SHIFT32)}},6774:(re,ie,oe)=>{"use strict";const se=oe(71),ae=oe(4785),ce=oe(9032),ue=oe(9873),le=oe(4202),fe=(oe(2830),oe(9066)),{MT:de,NUMBYTES:pe,SYMS:he,BI:Ae}=fe,{Buffer:ge}=oe(8764),me=Symbol("count"),ye=Symbol("major type"),ve=Symbol("error"),be=Symbol("not found");function w(re,ie,oe){const se=[];return se[me]=oe,se[he.PARENT]=re,se[ye]=ie,se}function _(re,ie){const oe=new le;return oe[me]=-1,oe[he.PARENT]=re,oe[ye]=ie,oe}class m extends Error{constructor(re,ie){super(`Unexpected data: 0x${re.toString(16)}`),this.name="UnexpectedDataError",this.byte=re,this.value=ie}}function E(re,ie){switch(typeof re){case"function":return{options:{},cb:re};case"string":return{options:{encoding:re},cb:ie};case"object":return{options:re||{},cb:ie};default:throw new TypeError("Unknown option type")}}class S extends se{constructor(re={}){const{tags:ie={},max_depth:oe=-1,preferWeb:se=!1,required:ae=!1,encoding:ce="hex",extendedResults:ue=!1,preventDuplicateKeys:fe=!1,...de}=re;super({defaultEncoding:ce,...de}),this.running=!0,this.max_depth=oe,this.tags=ie,this.preferWeb=se,this.extendedResults=ue,this.required=ae,this.preventDuplicateKeys=fe,ue&&(this.bs.on("read",this._onRead.bind(this)),this.valueBytes=new le)}static nullcheck(re){switch(re){case he.NULL:return null;case he.UNDEFINED:return;case be:throw new Error("Value not found");default:return re}}static decodeFirstSync(re,ie={}){if(null==re)throw new TypeError("input required");({options:ie}=E(ie));const{encoding:oe="hex",...se}=ie,ae=new S(se),ce=ue.guessEncoding(re,oe),le=ae._parse();let fe=le.next();for(;!fe.done;){const re=ce.read(fe.value);if(null==re||re.length!==fe.value)throw new Error("Insufficient data");ae.extendedResults&&ae.valueBytes.write(re),fe=le.next(re)}let de=null;if(ae.extendedResults)de=fe.value,de.unused=ce.read();else if(de=S.nullcheck(fe.value),ce.length>0){const re=ce.read(1);throw ce.unshift(re),new m(re[0],de)}return de}static decodeAllSync(re,ie={}){if(null==re)throw new TypeError("input required");({options:ie}=E(ie));const{encoding:oe="hex",...se}=ie,ae=new S(se),ce=ue.guessEncoding(re,oe),le=[];for(;ce.length>0;){const re=ae._parse();let ie=re.next();for(;!ie.done;){const oe=ce.read(ie.value);if(null==oe||oe.length!==ie.value)throw new Error("Insufficient data");ae.extendedResults&&ae.valueBytes.write(oe),ie=re.next(oe)}le.push(S.nullcheck(ie.value))}return le}static decodeFirst(re,ie={},oe=null){if(null==re)throw new TypeError("input required");({options:ie,cb:oe}=E(ie,oe));const{encoding:se="hex",required:ae=!1,...ce}=ie,le=new S(ce);let fe=be;const de=ue.guessEncoding(re,se),pe=new Promise(((re,ie)=>{le.on("data",(re=>{fe=S.nullcheck(re),le.close()})),le.once("error",(oe=>le.extendedResults&&oe instanceof m?(fe.unused=le.bs.slice(),re(fe)):(fe!==be&&(oe.value=fe),fe=ve,le.close(),ie(oe)))),le.once("end",(()=>{switch(fe){case be:return ae?ie(new Error("No CBOR found")):re(fe);case ve:return;default:return re(fe)}}))}));return"function"==typeof oe&&pe.then((re=>oe(null,re)),oe),de.pipe(le),pe}static decodeAll(re,ie={},oe=null){if(null==re)throw new TypeError("input required");({options:ie,cb:oe}=E(ie,oe));const{encoding:se="hex",...ae}=ie,ce=new S(ae),le=[];ce.on("data",(re=>le.push(S.nullcheck(re))));const fe=new Promise(((re,ie)=>{ce.on("error",ie),ce.on("end",(()=>re(le)))}));return"function"==typeof oe&&fe.then((re=>oe(void 0,re)),(re=>oe(re,void 0))),ue.guessEncoding(re,se).pipe(ce),fe}close(){this.running=!1,this.__fresh=!0}_onRead(re){this.valueBytes.write(re)}*_parse(){let re=null,ie=0,oe=null;for(;;){if(this.max_depth>=0&&ie>this.max_depth)throw new Error(`Maximum depth ${this.max_depth} exceeded`);const[se]=yield 1;if(!this.running)throw this.bs.unshift(ge.from([se])),new m(se);const fe=se>>5,ve=31&se,be=null==re?void 0:re[ye],we=null==re?void 0:re.length;switch(ve){case pe.ONE:this.emit("more-bytes",fe,1,be,we),[oe]=yield 1;break;case pe.TWO:case pe.FOUR:case pe.EIGHT:{const re=1<{"use strict";const se=oe(2830),ae=oe(6774),ce=oe(9873),ue=oe(4202),{MT:le,SYMS:fe}=oe(9066);class u extends se.Transform{constructor(re={}){const{separator:ie="\n",stream_errors:oe=!1,tags:se,max_depth:ce,preferWeb:ue,encoding:le,...fe}=re;super({...fe,readableObjectMode:!1,writableObjectMode:!1}),this.float_bytes=-1,this.separator=ie,this.stream_errors=oe,this.parser=new ae({tags:se,max_depth:ce,preferWeb:ue,encoding:le}),this.parser.on("more-bytes",this._on_more.bind(this)),this.parser.on("value",this._on_value.bind(this)),this.parser.on("start",this._on_start.bind(this)),this.parser.on("stop",this._on_stop.bind(this)),this.parser.on("data",this._on_data.bind(this)),this.parser.on("error",this._on_error.bind(this))}_transform(re,ie,oe){this.parser.write(re,ie,oe)}_flush(re){this.parser._flush((ie=>this.stream_errors?(ie&&this._on_error(ie),re()):re(ie)))}static diagnose(re,ie={},oe=null){if(null==re)throw new TypeError("input required");({options:ie,cb:oe}=function(re,ie){switch(typeof re){case"function":return{options:{},cb:re};case"string":return{options:{encoding:re},cb:ie};case"object":return{options:re||{},cb:ie};default:throw new TypeError("Unknown option type")}}(ie,oe));const{encoding:se="hex",...ae}=ie,le=new ue,fe=new u(ae);let de=null;return"function"==typeof oe?(fe.on("end",(()=>oe(null,le.toString("utf8")))),fe.on("error",oe)):de=new Promise(((re,ie)=>{fe.on("end",(()=>re(le.toString("utf8")))),fe.on("error",ie)})),fe.pipe(le),ce.guessEncoding(re,se).pipe(fe),de}_on_error(re){this.stream_errors?this.push(re.toString()):this.emit("error",re)}_on_more(re,ie,oe,se){re===le.SIMPLE_FLOAT&&(this.float_bytes={2:1,4:2,8:3}[ie])}_fore(re,ie){switch(re){case le.BYTE_STRING:case le.UTF8_STRING:case le.ARRAY:ie>0&&this.push(", ");break;case le.MAP:ie>0&&(ie%2?this.push(": "):this.push(", "))}}_on_value(re,ie,oe){if(re===fe.BREAK)return;this._fore(ie,oe);const se=this.float_bytes;this.float_bytes=-1,this.push(ce.cborValueToString(re,se))}_on_start(re,ie,oe,se){switch(this._fore(oe,se),re){case le.TAG:this.push(`${ie}(`);break;case le.ARRAY:this.push("[");break;case le.MAP:this.push("{");break;case le.BYTE_STRING:case le.UTF8_STRING:this.push("(")}ie===fe.STREAM&&this.push("_ ")}_on_stop(re){switch(re){case le.TAG:this.push(")");break;case le.ARRAY:this.push("]");break;case le.MAP:this.push("}");break;case le.BYTE_STRING:case le.UTF8_STRING:this.push(")")}}_on_data(){this.push(this.separator)}}re.exports=u},4666:(re,ie,oe)=>{"use strict";const se=oe(2830),ae=oe(4202),ce=oe(9873),ue=oe(9066),{MT:le,NUMBYTES:fe,SHIFT32:de,SIMPLE:pe,SYMS:he,TAG:Ae,BI:ge}=ue,{Buffer:me}=oe(8764),ye=le.SIMPLE_FLOAT<<5|fe.TWO,ve=le.SIMPLE_FLOAT<<5|fe.FOUR,be=le.SIMPLE_FLOAT<<5|fe.EIGHT,we=le.SIMPLE_FLOAT<<5|pe.TRUE,_e=le.SIMPLE_FLOAT<<5|pe.FALSE,Ee=le.SIMPLE_FLOAT<<5|pe.UNDEFINED,Ce=le.SIMPLE_FLOAT<<5|pe.NULL,Ie=me.from([255]),Se=me.from("f97e00","hex"),Be=me.from("f9fc00","hex"),xe=me.from("f97c00","hex"),ke=me.from("f98000","hex"),Oe={};let De={};class N extends se.Transform{constructor(re={}){const{canonical:ie=!1,encodeUndefined:oe,disallowUndefinedKeys:se=!1,dateType:ae="number",collapseBigIntegers:ce=!1,detectLoops:ue=!1,omitUndefinedProperties:le=!1,genTypes:fe=[],...de}=re;if(super({...de,readableObjectMode:!1,writableObjectMode:!0}),this.canonical=ie,this.encodeUndefined=oe,this.disallowUndefinedKeys=se,this.dateType=function(re){if(!re)return"number";switch(re.toLowerCase()){case"number":return"number";case"float":return"float";case"int":case"integer":return"int";case"string":return"string"}throw new TypeError(`dateType invalid, got "${re}"`)}(ae),this.collapseBigIntegers=!!this.canonical||ce,this.detectLoops=void 0,"boolean"==typeof ue)ue&&(this.detectLoops=new WeakSet);else{if(!(ue instanceof WeakSet))throw new TypeError("detectLoops must be boolean or WeakSet");this.detectLoops=ue}if(this.omitUndefinedProperties=le,this.semanticTypes={...N.SEMANTIC_TYPES},Array.isArray(fe))for(let re=0,ie=fe.length;re{const oe=typeof re[ie];return"function"!==oe&&(!this.omitUndefinedProperties||"undefined"!==oe)})),se={};if(this.canonical&&oe.sort(((re,ie)=>{const oe=se[re]||(se[re]=N.encode(re)),ae=se[ie]||(se[ie]=N.encode(ie));return oe.compare(ae)})),ie.indefinite){if(!this._pushUInt8(le.MAP<<5|fe.INDEFINITE))return!1}else if(!this._pushInt(oe.length,le.MAP))return!1;let ae=null;for(let ie=0,ce=oe.length;ievoid 0!==ie))),oe.indefinite){if(!re._pushUInt8(le.MAP<<5|fe.INDEFINITE))return!1}else if(!re._pushInt(se.length,le.MAP))return!1;if(re.canonical){const ie=new N({genTypes:re.semanticTypes,canonical:re.canonical,detectLoops:Boolean(re.detectLoops),dateType:re.dateType,disallowUndefinedKeys:re.disallowUndefinedKeys,collapseBigIntegers:re.collapseBigIntegers}),oe=new ae({highWaterMark:re.readableHighWaterMark});ie.pipe(oe),se.sort((([re],[se])=>{ie.pushAny(re);const ae=oe.read();ie.pushAny(se);const ce=oe.read();return ae.compare(ce)}));for(const[ie,oe]of se){if(re.disallowUndefinedKeys&&void 0===ie)throw new Error("Invalid Map key: undefined");if(!re.pushAny(ie)||!re.pushAny(oe))return!1}}else for(const[ie,oe]of se){if(re.disallowUndefinedKeys&&void 0===ie)throw new Error("Invalid Map key: undefined");if(!re.pushAny(ie)||!re.pushAny(oe))return!1}return!(oe.indefinite&&!re.push(Ie))}static _pushTypedArray(re,ie){let oe=64,se=ie.BYTES_PER_ELEMENT;const{name:ae}=ie.constructor;return ae.startsWith("Float")?(oe|=16,se/=2):ae.includes("U")||(oe|=8),(ae.includes("Clamped")||1!==se&&!ce.isBigEndian())&&(oe|=4),oe|={1:0,2:1,4:2,8:3}[se],!!re._pushTag(oe)&&N._pushBuffer(re,me.from(ie.buffer,ie.byteOffset,ie.byteLength))}static _pushArrayBuffer(re,ie){return N._pushBuffer(re,me.from(ie))}static encodeIndefinite(re,ie,oe={}){if(null==ie){if(null==this)throw new Error("No object to encode");ie=this}const{chunkSize:se=4096}=oe;let ae=!0;const ue=typeof ie;let de=null;if("string"===ue){ae=ae&&re._pushUInt8(le.UTF8_STRING<<5|fe.INDEFINITE);let oe=0;for(;oe{const ae=[],ce=new N(ie);ce.on("data",(re=>ae.push(re))),ce.on("error",se),ce.on("finish",(()=>oe(me.concat(ae)))),ce.pushAny(re),ce.end()}))}static get SEMANTIC_TYPES(){return De}static set SEMANTIC_TYPES(re){De=re}static reset(){N.SEMANTIC_TYPES={...Oe}}}Object.assign(Oe,{Array:N.pushArray,Date:N._pushDate,Buffer:N._pushBuffer,[me.name]:N._pushBuffer,Map:N._pushMap,NoFilter:N._pushNoFilter,[ae.name]:N._pushNoFilter,RegExp:N._pushRegexp,Set:N._pushSet,ArrayBuffer:N._pushArrayBuffer,Uint8ClampedArray:N._pushTypedArray,Uint8Array:N._pushTypedArray,Uint16Array:N._pushTypedArray,Uint32Array:N._pushTypedArray,Int8Array:N._pushTypedArray,Int16Array:N._pushTypedArray,Int32Array:N._pushTypedArray,Float32Array:N._pushTypedArray,Float64Array:N._pushTypedArray,URL:N._pushURL,Boolean:N._pushBoxed,Number:N._pushBoxed,String:N._pushBoxed}),"undefined"!=typeof BigUint64Array&&(Oe[BigUint64Array.name]=N._pushTypedArray),"undefined"!=typeof BigInt64Array&&(Oe[BigInt64Array.name]=N._pushTypedArray),N.reset(),re.exports=N},3070:(re,ie,oe)=>{"use strict";const{Buffer:se}=oe(8764),ae=oe(4666),ce=oe(6774),{MT:ue}=oe(9066);class a extends Map{constructor(re){super(re)}static _encode(re){return ae.encodeCanonical(re).toString("base64")}static _decode(re){return ce.decodeFirstSync(re,"base64")}get(re){return super.get(a._encode(re))}set(re,ie){return super.set(a._encode(re),ie)}delete(re){return super.delete(a._encode(re))}has(re){return super.has(a._encode(re))}*keys(){for(const re of super.keys())yield a._decode(re)}*entries(){for(const re of super.entries())yield[a._decode(re[0]),re[1]]}[Symbol.iterator](){return this.entries()}forEach(re,ie){if("function"!=typeof re)throw new TypeError("Must be function");for(const ie of super.entries())re.call(this,ie[1],a._decode(ie[0]),this)}encodeCBOR(re){if(!re._pushInt(this.size,ue.MAP))return!1;if(re.canonical){const ie=Array.from(super.entries()).map((re=>[se.from(re[0],"base64"),re[1]]));ie.sort(((re,ie)=>re[0].compare(ie[0])));for(const oe of ie)if(!re.push(oe[0])||!re.pushAny(oe[1]))return!1}else for(const ie of super.entries())if(!re.push(se.from(ie[0],"base64"))||!re.pushAny(ie[1]))return!1;return!0}}re.exports=a},1226:re=>{"use strict";class t{constructor(){this.clear()}clear(){this.map=new WeakMap,this.count=0,this.recording=!0}stop(){this.recording=!1}check(re){const ie=this.map.get(re);if(ie)return ie.length>1?ie[0]||this.recording?ie[1]:(ie[0]=!0,t.FIRST):this.recording?(ie.push(this.count++),ie[1]):t.NEVER;if(!this.recording)throw new Error("New object detected when not recording");return this.map.set(re,[!1]),t.NEVER}}t.NEVER=-1,t.FIRST=-2,re.exports=t},8112:(re,ie,oe)=>{"use strict";const se=oe(4666),ae=oe(1226),{Buffer:ce}=oe(8764);class s extends se{constructor(re){super(re),this.valueSharing=new ae}_pushObject(re,ie){if(null!==re){const ie=this.valueSharing.check(re);switch(ie){case ae.FIRST:this._pushTag(28);break;case ae.NEVER:break;default:return this._pushTag(29)&&this._pushIntNum(ie)}}return super._pushObject(re,ie)}stopRecording(){this.valueSharing.stop()}clearRecording(){this.valueSharing.clear()}static encode(...re){const ie=new s;ie.on("data",(()=>{}));for(const oe of re)ie.pushAny(oe);return ie.stopRecording(),ie.removeAllListeners("data"),ie._encodeAll(re)}static encodeCanonical(...re){throw new Error("Cannot encode canonically in a SharedValueEncoder, which serializes objects multiple times.")}static encodeOne(re,ie){const oe=new s(ie);return oe.on("data",(()=>{})),oe.pushAny(re),oe.stopRecording(),oe.removeAllListeners("data"),oe._encodeAll([re])}static encodeAsync(re,ie){return new Promise(((oe,se)=>{const ae=[],ue=new s(ie);ue.on("data",(()=>{})),ue.on("error",se),ue.on("finish",(()=>oe(ce.concat(ae)))),ue.pushAny(re),ue.stopRecording(),ue.removeAllListeners("data"),ue.on("data",(re=>ae.push(re))),ue.pushAny(re),ue.end()}))}}re.exports=s},9032:(re,ie,oe)=>{"use strict";const{MT:se,SIMPLE:ae,SYMS:ce}=oe(9066);class s{constructor(re){if("number"!=typeof re)throw new Error("Invalid Simple type: "+typeof re);if(re<0||re>255||(0|re)!==re)throw new Error(`value must be a small positive integer: ${re}`);this.value=re}toString(){return`simple(${this.value})`}[Symbol.for("nodejs.util.inspect.custom")](re,ie){return`simple(${this.value})`}encodeCBOR(re){return re._pushInt(this.value,se.SIMPLE_FLOAT)}static isSimple(re){return re instanceof s}static decode(re,ie=!0,oe=!1){switch(re){case ae.FALSE:return!1;case ae.TRUE:return!0;case ae.NULL:return ie?null:ce.NULL;case ae.UNDEFINED:if(ie)return;return ce.UNDEFINED;case-1:if(!ie||!oe)throw new Error("Invalid BREAK");return ce.BREAK;default:return new s(re)}}}re.exports=s},4785:(re,ie,oe)=>{"use strict";const se=oe(9066),ae=oe(9873),ce=Symbol("INTERNAL_JSON");function s(re,ie){if(ae.isBufferish(re))re.toJSON=ie;else if(Array.isArray(re))for(const oe of re)s(oe,ie);else if(re&&"object"==typeof re&&(!(re instanceof p)||re.tag<21||re.tag>23))for(const oe of Object.values(re))s(oe,ie)}function a(){return ae.base64(this)}function l(){return ae.base64url(this)}function u(){return this.toString("hex")}const ue={0:re=>new Date(re),1:re=>new Date(1e3*re),2:re=>ae.bufferToBigInt(re),3:re=>se.BI.MINUS_ONE-ae.bufferToBigInt(re),21:(re,ie)=>(ae.isBufferish(re)?ie[ce]=l:s(re,l),ie),22:(re,ie)=>(ae.isBufferish(re)?ie[ce]=a:s(re,a),ie),23:(re,ie)=>(ae.isBufferish(re)?ie[ce]=u:s(re,u),ie),32:re=>new URL(re),33:(re,ie)=>{if(!re.match(/^[a-zA-Z0-9_-]+$/))throw new Error("Invalid base64url characters");const oe=re.length%4;if(1===oe)throw new Error("Invalid base64url length");if(2===oe){if(-1==="AQgw".indexOf(re[re.length-1]))throw new Error("Invalid base64 padding")}else if(3===oe&&-1==="AEIMQUYcgkosw048".indexOf(re[re.length-1]))throw new Error("Invalid base64 padding");return ie},34:(re,ie)=>{const oe=re.match(/^[a-zA-Z0-9+/]+(?={0,2})$/);if(!oe)throw new Error("Invalid base64 characters");if(re.length%4!=0)throw new Error("Invalid base64 length");if("="===oe.groups.padding){if(-1==="AQgw".indexOf(re[re.length-2]))throw new Error("Invalid base64 padding")}else if("=="===oe.groups.padding&&-1==="AEIMQUYcgkosw048".indexOf(re[re.length-3]))throw new Error("Invalid base64 padding");return ie},35:re=>new RegExp(re),258:re=>new Set(re)},le={64:Uint8Array,65:Uint16Array,66:Uint32Array,68:Uint8ClampedArray,69:Uint16Array,70:Uint32Array,72:Int8Array,73:Int16Array,74:Int32Array,77:Int16Array,78:Int32Array,81:Float32Array,82:Float64Array,85:Float32Array,86:Float64Array};function h(re,ie){if(!ae.isBufferish(re))throw new TypeError("val not a buffer");const{tag:oe}=ie,se=le[oe];if(!se)throw new Error(`Invalid typed array tag: ${oe}`);const ce=2**(((16&oe)>>4)+(3&oe));return!(4&oe)!==ae.isBigEndian()&&ce>1&&function(re,ie,oe,se){const ae=new DataView(re),[ce,ue]={2:[ae.getUint16,ae.setUint16],4:[ae.getUint32,ae.setUint32],8:[ae.getBigUint64,ae.setBigUint64]}[ie],le=oe+se;for(let re=oe;re0?this.err=re.message:this.err=re,this}}static get TAGS(){return fe}static set TAGS(re){fe=re}static reset(){p.TAGS={...ue}}}p.INTERNAL_JSON=ce,p.reset(),re.exports=p},9873:(re,ie,oe)=>{"use strict";const{Buffer:se}=oe(8764),ae=oe(4202),ce=oe(2830),ue=oe(9066),{NUMBYTES:le,SHIFT32:fe,BI:de,SYMS:pe}=ue,he=new TextDecoder("utf8",{fatal:!0,ignoreBOM:!0});ie.utf8=re=>he.decode(re),ie.utf8.checksUTF8=!0,ie.isBufferish=function(re){return re&&"object"==typeof re&&(se.isBuffer(re)||re instanceof Uint8Array||re instanceof Uint8ClampedArray||re instanceof ArrayBuffer||re instanceof DataView)},ie.bufferishToBuffer=function(re){return se.isBuffer(re)?re:ArrayBuffer.isView(re)?se.from(re.buffer,re.byteOffset,re.byteLength):re instanceof ArrayBuffer?se.from(re):null},ie.parseCBORint=function(re,ie){switch(re){case le.ONE:return ie.readUInt8(0);case le.TWO:return ie.readUInt16BE(0);case le.FOUR:return ie.readUInt32BE(0);case le.EIGHT:{const re=ie.readUInt32BE(0),oe=ie.readUInt32BE(4);return re>2097151?BigInt(re)*de.SHIFT32+BigInt(oe):re*fe+oe}default:throw new Error(`Invalid additional info for int: ${re}`)}},ie.writeHalf=function(re,ie){const oe=se.allocUnsafe(4);oe.writeFloatBE(ie,0);const ae=oe.readUInt32BE(0);if(0!=(8191&ae))return!1;let ce=ae>>16&32768;const ue=ae>>23&255,le=8388607&ae;if(ue>=113&&ue<=142)ce+=(ue-112<<10)+(le>>13);else{if(!(ue>=103&&ue<113))return!1;if(le&(1<<126-ue)-1)return!1;ce+=le+8388608>>126-ue}return re.writeUInt16BE(ce),!0},ie.parseHalf=function(re){const ie=128&re[0]?-1:1,oe=(124&re[0])>>2,se=(3&re[0])<<8|re[1];return oe?31===oe?ie*(se?NaN:1/0):ie*2**(oe-25)*(1024+se):5.960464477539063e-8*ie*se},ie.parseCBORfloat=function(re){switch(re.length){case 2:return ie.parseHalf(re);case 4:return re.readFloatBE(0);case 8:return re.readDoubleBE(0);default:throw new Error(`Invalid float size: ${re.length}`)}},ie.hex=function(re){return se.from(re.replace(/^0x/,""),"hex")},ie.bin=function(re){let ie=0,oe=(re=re.replace(/\s/g,"")).length%8||8;const ae=[];for(;oe<=re.length;)ae.push(parseInt(re.slice(ie,oe),2)),ie=oe,oe+=8;return se.from(ae)},ie.arrayEqual=function(re,ie){return null==re&&null==ie||null!=re&&null!=ie&&re.length===ie.length&&re.every(((re,oe)=>re===ie[oe]))},ie.bufferToBigInt=function(re){return BigInt(`0x${re.toString("hex")}`)},ie.cborValueToString=function(re,oe=-1){switch(typeof re){case"symbol":{switch(re){case pe.NULL:return"null";case pe.UNDEFINED:return"undefined";case pe.BREAK:return"BREAK"}if(re.description)return re.description;const ie=re.toString().match(/^Symbol\((?.*)\)/);return ie&&ie.groups.name?ie.groups.name:"Symbol"}case"string":return JSON.stringify(re);case"bigint":return re.toString();case"number":{const ie=Object.is(re,-0)?"-0":String(re);return oe>0?`${ie}_${oe}`:ie}case"object":{const se=ie.bufferishToBuffer(re);if(se){const re=se.toString("hex");return oe===-1/0?re:`h'${re}'`}return"function"==typeof re[Symbol.for("nodejs.util.inspect.custom")]?re[Symbol.for("nodejs.util.inspect.custom")]():Array.isArray(re)?"[]":"{}"}}return String(re)},ie.guessEncoding=function(re,oe){if("string"==typeof re)return new ae(re,null==oe?"hex":oe);const se=ie.bufferishToBuffer(re);if(se)return new ae(se);if((ue=re)instanceof ce.Readable||["read","on","pipe"].every((re=>"function"==typeof ue[re])))return re;var ue;throw new Error("Unknown input type")};const Ae={"=":"","+":"-","/":"_"};ie.base64url=function(re){return ie.bufferishToBuffer(re).toString("base64").replace(/[=+/]/g,(re=>Ae[re]))},ie.base64=function(re){return ie.bufferishToBuffer(re).toString("base64")},ie.isBigEndian=function(){const re=new Uint8Array(4);return!((new Uint32Array(re.buffer)[0]=1)&re[0])}},4202:(re,ie,oe)=>{"use strict";const se=oe(2830),{Buffer:ae}=oe(8764),ce=new TextDecoder("utf8",{fatal:!0,ignoreBOM:!0});class s extends se.Transform{constructor(re,ie,oe={}){let se=null,ce=null;switch(typeof re){case"object":ae.isBuffer(re)?se=re:re&&(oe=re);break;case"string":se=re;break;case"undefined":break;default:throw new TypeError("Invalid input")}switch(typeof ie){case"object":ie&&(oe=ie);break;case"string":ce=ie;break;case"undefined":break;default:throw new TypeError("Invalid inputEncoding")}if(!oe||"object"!=typeof oe)throw new TypeError("Invalid options");null==se&&(se=oe.input),null==ce&&(ce=oe.inputEncoding),delete oe.input,delete oe.inputEncoding;const ue=null==oe.watchPipe||oe.watchPipe;delete oe.watchPipe;const le=Boolean(oe.readError);delete oe.readError,super(oe),this.readError=le,ue&&this.on("pipe",(re=>{const ie=re._readableState.objectMode;if(this.length>0&&ie!==this._readableState.objectMode)throw new Error("Do not switch objectMode in the middle of the stream");this._readableState.objectMode=ie,this._writableState.objectMode=ie})),null!=se&&this.end(se,ce)}static isNoFilter(re){return re instanceof this}static compare(re,ie){if(!(re instanceof this))throw new TypeError("Arguments must be NoFilters");return re===ie?0:re.compare(ie)}static concat(re,ie){if(!Array.isArray(re))throw new TypeError("list argument must be an Array of NoFilters");if(0===re.length||0===ie)return ae.alloc(0);null==ie&&(ie=re.reduce(((re,ie)=>{if(!(ie instanceof s))throw new TypeError("list argument must be an Array of NoFilters");return re+ie.length}),0));let oe=!0,se=!0;const ce=re.map((re=>{if(!(re instanceof s))throw new TypeError("list argument must be an Array of NoFilters");const ie=re.slice();return ae.isBuffer(ie)?se=!1:oe=!1,ie}));if(oe)return ae.concat(ce,ie);if(se)return[].concat(...ce).slice(0,ie);throw new Error("Concatenating mixed object and byte streams not supported")}_transform(re,ie,oe){this._readableState.objectMode||ae.isBuffer(re)||(re=ae.from(re,ie)),this.push(re),oe()}_bufArray(){let re=this._readableState.buffer;if(!Array.isArray(re)){let ie=re.head;for(re=[];null!=ie;)re.push(ie.data),ie=ie.next}return re}read(re){const ie=super.read(re);if(null!=ie){if(this.emit("read",ie),this.readError&&ie.length{this.length>=re?ae(this.read(re)):this.writableFinished?ce(new Error(`Stream finished before ${re} bytes were available`)):(ie=ie=>{this.length>=re&&ae(this.read(re))},oe=()=>{ce(new Error(`Stream finished before ${re} bytes were available`))},se=ce,this.on("readable",ie),this.on("error",se),this.on("finish",oe))})).finally((()=>{ie&&(this.removeListener("readable",ie),this.removeListener("error",se),this.removeListener("finish",oe))}))}promise(re){let ie=!1;return new Promise(((oe,se)=>{this.on("finish",(()=>{const se=this.read();null==re||ie||(ie=!0,re(null,se)),oe(se)})),this.on("error",(oe=>{null==re||ie||(ie=!0,re(oe)),se(oe)}))}))}compare(re){if(!(re instanceof s))throw new TypeError("Arguments must be NoFilters");if(this===re)return 0;const ie=this.slice(),oe=re.slice();if(ae.isBuffer(ie)&&ae.isBuffer(oe))return ie.compare(oe);throw new Error("Cannot compare streams in object mode")}equals(re){return 0===this.compare(re)}slice(re,ie){if(this._readableState.objectMode)return this._bufArray().slice(re,ie);const oe=this._bufArray();switch(oe.length){case 0:return ae.alloc(0);case 1:return oe[0].slice(re,ie);default:return ae.concat(oe).slice(re,ie)}}get(re){return this.slice()[re]}toJSON(){const re=this.slice();return ae.isBuffer(re)?re.toJSON():re}toString(re,ie,oe){const se=this.slice(ie,oe);return ae.isBuffer(se)?re&&"utf8"!==re?se.toString(re):ce.decode(se):JSON.stringify(se)}[Symbol.for("nodejs.util.inspect.custom")](re,ie){const oe=this._bufArray().map((re=>ae.isBuffer(re)?ie.stylize(re.toString("hex"),"string"):JSON.stringify(re))).join(", ");return`${this.constructor.name} [${oe}]`}get length(){return this._readableState.length}writeBigInt(re){let ie=re.toString(16);if(re<0){const oe=BigInt(Math.floor(ie.length/2));ie=(re=(BigInt(1)<{"use strict";const se=oe(2830),ae=oe(4202);class o extends se.Transform{constructor(re){super(re),this._writableState.objectMode=!1,this._readableState.objectMode=!0,this.bs=new ae,this.__restart()}_transform(re,ie,oe){for(this.bs.write(re);this.bs.length>=this.__needed;){let ie=null;const se=null===this.__needed?void 0:this.bs.read(this.__needed);try{ie=this.__parser.next(se)}catch(re){return oe(re)}this.__needed&&(this.__fresh=!1),ie.done?(this.push(ie.value),this.__restart()):this.__needed=ie.value||1/0}return oe()}*_parse(){throw new Error("Must be implemented in subclass")}__restart(){this.__needed=null,this.__parser=this._parse(),this.__fresh=!0}_flush(re){re(this.__fresh?null:new Error("unexpected end of input"))}}re.exports=o},7187:re=>{"use strict";var ie,oe="object"==typeof Reflect?Reflect:null,se=oe&&"function"==typeof oe.apply?oe.apply:function(re,ie,oe){return Function.prototype.apply.call(re,ie,oe)};ie=oe&&"function"==typeof oe.ownKeys?oe.ownKeys:Object.getOwnPropertySymbols?function(re){return Object.getOwnPropertyNames(re).concat(Object.getOwnPropertySymbols(re))}:function(re){return Object.getOwnPropertyNames(re)};var ae=Number.isNaN||function(re){return re!=re};function o(){o.init.call(this)}re.exports=o,re.exports.once=function(re,ie){return new Promise((function(oe,se){function i(oe){re.removeListener(ie,o),se(oe)}function o(){"function"==typeof re.removeListener&&re.removeListener("error",i),oe([].slice.call(arguments))}b(re,ie,o,{once:!0}),"error"!==ie&&function(re,ie,oe){"function"==typeof re.on&&b(re,"error",ie,{once:!0})}(re,i)}))},o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var ce=10;function a(re){if("function"!=typeof re)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof re)}function l(re){return void 0===re._maxListeners?o.defaultMaxListeners:re._maxListeners}function u(re,ie,oe,se){var ae,ce,ue,le;if(a(oe),void 0===(ce=re._events)?(ce=re._events=Object.create(null),re._eventsCount=0):(void 0!==ce.newListener&&(re.emit("newListener",ie,oe.listener?oe.listener:oe),ce=re._events),ue=ce[ie]),void 0===ue)ue=ce[ie]=oe,++re._eventsCount;else if("function"==typeof ue?ue=ce[ie]=se?[oe,ue]:[ue,oe]:se?ue.unshift(oe):ue.push(oe),(ae=l(re))>0&&ue.length>ae&&!ue.warned){ue.warned=!0;var fe=new Error("Possible EventEmitter memory leak detected. "+ue.length+" "+String(ie)+" listeners added. Use emitter.setMaxListeners() to increase limit");fe.name="MaxListenersExceededWarning",fe.emitter=re,fe.type=ie,fe.count=ue.length,le=fe,console&&console.warn&&console.warn(le)}return re}function c(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function f(re,ie,oe){var se={fired:!1,wrapFn:void 0,target:re,type:ie,listener:oe},ae=c.bind(se);return ae.listener=oe,se.wrapFn=ae,ae}function h(re,ie,oe){var se=re._events;if(void 0===se)return[];var ae=se[ie];return void 0===ae?[]:"function"==typeof ae?oe?[ae.listener||ae]:[ae]:oe?function(re){for(var ie=new Array(re.length),oe=0;oe0&&(ue=ie[0]),ue instanceof Error)throw ue;var le=new Error("Unhandled error."+(ue?" ("+ue.message+")":""));throw le.context=ue,le}var fe=ce[re];if(void 0===fe)return!1;if("function"==typeof fe)se(fe,this,ie);else{var de=fe.length,pe=p(fe,de);for(oe=0;oe=0;ce--)if(oe[ce]===ie||oe[ce].listener===ie){ue=oe[ce].listener,ae=ce;break}if(ae<0)return this;0===ae?oe.shift():function(re,ie){for(;ie+1=0;se--)this.removeListener(re,ie[se]);return this},o.prototype.listeners=function(re){return h(this,re,!0)},o.prototype.rawListeners=function(re){return h(this,re,!1)},o.listenerCount=function(re,ie){return"function"==typeof re.listenerCount?re.listenerCount(ie):d.call(re,ie)},o.prototype.listenerCount=d,o.prototype.eventNames=function(){return this._eventsCount>0?ie(this._events):[]}},645:(re,ie)=>{ie.read=function(re,ie,oe,se,ae){var ce,ue,le=8*ae-se-1,fe=(1<>1,pe=-7,he=oe?ae-1:0,Ae=oe?-1:1,ge=re[ie+he];for(he+=Ae,ce=ge&(1<<-pe)-1,ge>>=-pe,pe+=le;pe>0;ce=256*ce+re[ie+he],he+=Ae,pe-=8);for(ue=ce&(1<<-pe)-1,ce>>=-pe,pe+=se;pe>0;ue=256*ue+re[ie+he],he+=Ae,pe-=8);if(0===ce)ce=1-de;else{if(ce===fe)return ue?NaN:1/0*(ge?-1:1);ue+=Math.pow(2,se),ce-=de}return(ge?-1:1)*ue*Math.pow(2,ce-se)},ie.write=function(re,ie,oe,se,ae,ce){var ue,le,fe,de=8*ce-ae-1,pe=(1<>1,Ae=23===ae?Math.pow(2,-24)-Math.pow(2,-77):0,ge=se?0:ce-1,me=se?1:-1,ye=ie<0||0===ie&&1/ie<0?1:0;for(ie=Math.abs(ie),isNaN(ie)||ie===1/0?(le=isNaN(ie)?1:0,ue=pe):(ue=Math.floor(Math.log(ie)/Math.LN2),ie*(fe=Math.pow(2,-ue))<1&&(ue--,fe*=2),(ie+=ue+he>=1?Ae/fe:Ae*Math.pow(2,1-he))*fe>=2&&(ue++,fe/=2),ue+he>=pe?(le=0,ue=pe):ue+he>=1?(le=(ie*fe-1)*Math.pow(2,ae),ue+=he):(le=ie*Math.pow(2,he-1)*Math.pow(2,ae),ue=0));ae>=8;re[oe+ge]=255&le,ge+=me,le/=256,ae-=8);for(ue=ue<0;re[oe+ge]=255&ue,ge+=me,ue/=256,de-=8);re[oe+ge-me]|=128*ye}},5717:re=>{"function"==typeof Object.create?re.exports=function(re,ie){ie&&(re.super_=ie,re.prototype=Object.create(ie.prototype,{constructor:{value:re,enumerable:!1,writable:!0,configurable:!0}}))}:re.exports=function(re,ie){if(ie){re.super_=ie;var r=function(){};r.prototype=ie.prototype,re.prototype=new r,re.prototype.constructor=re}}},4155:re=>{var ie,oe,se=re.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function s(re){if(ie===setTimeout)return setTimeout(re,0);if((ie===i||!ie)&&setTimeout)return ie=setTimeout,setTimeout(re,0);try{return ie(re,0)}catch(oe){try{return ie.call(null,re,0)}catch(oe){return ie.call(this,re,0)}}}!function(){try{ie="function"==typeof setTimeout?setTimeout:i}catch(re){ie=i}try{oe="function"==typeof clearTimeout?clearTimeout:o}catch(re){oe=o}}();var ae,ce=[],ue=!1,le=-1;function f(){ue&&ae&&(ue=!1,ae.length?ce=ae.concat(ce):le=-1,ce.length&&h())}function h(){if(!ue){var re=s(f);ue=!0;for(var ie=ce.length;ie;){for(ae=ce,ce=[];++le1)for(var oe=1;oe{"use strict";re.exports=oe(5099).Duplex},2725:(re,ie,oe)=>{"use strict";re.exports=oe(5099).PassThrough},9481:(re,ie,oe)=>{"use strict";re.exports=oe(5099).Readable},4605:(re,ie,oe)=>{"use strict";re.exports=oe(5099).Transform},4229:(re,ie,oe)=>{"use strict";re.exports=oe(5099).Writable},196:(re,ie,oe)=>{"use strict";const{AbortError:se,codes:ae}=oe(4381),{isNodeStream:ce,isWebStream:ue,kControllerErrorFunction:le}=oe(5874),fe=oe(8610),{ERR_INVALID_ARG_TYPE:de}=ae;re.exports.addAbortSignal=function(ie,oe){if(((re,ie)=>{if("object"!=typeof re||!("aborted"in re))throw new de("signal","AbortSignal",re)})(ie),!ce(oe)&&!ue(oe))throw new de("stream",["ReadableStream","WritableStream","Stream"],oe);return re.exports.addAbortSignalNoValidate(ie,oe)},re.exports.addAbortSignalNoValidate=function(re,ie){if("object"!=typeof re||!("aborted"in re))return ie;const oe=ce(ie)?()=>{ie.destroy(new se(void 0,{cause:re.reason}))}:()=>{ie[le](new se(void 0,{cause:re.reason}))};return re.aborted?oe():(re.addEventListener("abort",oe),fe(ie,(()=>re.removeEventListener("abort",oe)))),ie}},7327:(re,ie,oe)=>{"use strict";const{StringPrototypeSlice:se,SymbolIterator:ae,TypedArrayPrototypeSet:ce,Uint8Array:ue}=oe(9061),{Buffer:le}=oe(8764),{inspect:fe}=oe(6087);re.exports=class{constructor(){this.head=null,this.tail=null,this.length=0}push(re){const ie={data:re,next:null};this.length>0?this.tail.next=ie:this.head=ie,this.tail=ie,++this.length}unshift(re){const ie={data:re,next:this.head};0===this.length&&(this.tail=ie),this.head=ie,++this.length}shift(){if(0===this.length)return;const re=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,re}clear(){this.head=this.tail=null,this.length=0}join(re){if(0===this.length)return"";let ie=this.head,oe=""+ie.data;for(;null!==(ie=ie.next);)oe+=re+ie.data;return oe}concat(re){if(0===this.length)return le.alloc(0);const ie=le.allocUnsafe(re>>>0);let oe=this.head,se=0;for(;oe;)ce(ie,oe.data,se),se+=oe.data.length,oe=oe.next;return ie}consume(re,ie){const oe=this.head.data;if(rece.length)){re===ce.length?(ie+=ce,++ae,oe.next?this.head=oe.next:this.head=this.tail=null):(ie+=se(ce,0,re),this.head=oe,oe.data=se(ce,re));break}ie+=ce,re-=ce.length,++ae}while(null!==(oe=oe.next));return this.length-=ae,ie}_getBuffer(re){const ie=le.allocUnsafe(re),oe=re;let se=this.head,ae=0;do{const le=se.data;if(!(re>le.length)){re===le.length?(ce(ie,le,oe-re),++ae,se.next?this.head=se.next:this.head=this.tail=null):(ce(ie,new ue(le.buffer,le.byteOffset,re),oe-re),this.head=se,se.data=le.slice(re));break}ce(ie,le,oe-re),re-=le.length,++ae}while(null!==(se=se.next));return this.length-=ae,ie}[Symbol.for("nodejs.util.inspect.custom")](re,ie){return fe(this,{...ie,depth:0,customInspect:!1})}}},299:(re,ie,oe)=>{"use strict";const{pipeline:se}=oe(9946),ae=oe(8672),{destroyer:ce}=oe(1195),{isNodeStream:ue,isReadable:le,isWritable:fe,isWebStream:de,isTransformStream:pe,isWritableStream:he,isReadableStream:Ae}=oe(5874),{AbortError:ge,codes:{ERR_INVALID_ARG_VALUE:me,ERR_MISSING_ARGS:ye}}=oe(4381),ve=oe(8610);re.exports=function(...re){if(0===re.length)throw new ye("streams");if(1===re.length)return ae.from(re[0]);const ie=[...re];if("function"==typeof re[0]&&(re[0]=ae.from(re[0])),"function"==typeof re[re.length-1]){const ie=re.length-1;re[ie]=ae.from(re[ie])}for(let oe=0;oe0&&!(fe(re[oe])||he(re[oe])||pe(re[oe])))throw new me(`streams[${oe}]`,ie[oe],"must be writable")}let oe,be,we,_e,Ee;const Ce=re[0],Ie=se(re,(function(re){const ie=_e;_e=null,ie?ie(re):re?Ee.destroy(re):Be||Se||Ee.destroy()})),Se=!!(fe(Ce)||he(Ce)||pe(Ce)),Be=!!(le(Ie)||Ae(Ie)||pe(Ie));if(Ee=new ae({writableObjectMode:!(null==Ce||!Ce.writableObjectMode),readableObjectMode:!(null==Ie||!Ie.writableObjectMode),writable:Se,readable:Be}),Se){if(ue(Ce))Ee._write=function(re,ie,se){Ce.write(re,ie)?se():oe=se},Ee._final=function(re){Ce.end(),be=re},Ce.on("drain",(function(){if(oe){const re=oe;oe=null,re()}}));else if(de(Ce)){const re=(pe(Ce)?Ce.writable:Ce).getWriter();Ee._write=async function(ie,oe,se){try{await re.ready,re.write(ie).catch((()=>{})),se()}catch(re){se(re)}},Ee._final=async function(ie){try{await re.ready,re.close().catch((()=>{})),be=ie}catch(re){ie(re)}}}const re=pe(Ie)?Ie.readable:Ie;ve(re,(()=>{if(be){const re=be;be=null,re()}}))}if(Be)if(ue(Ie))Ie.on("readable",(function(){if(we){const re=we;we=null,re()}})),Ie.on("end",(function(){Ee.push(null)})),Ee._read=function(){for(;;){const re=Ie.read();if(null===re)return void(we=Ee._read);if(!Ee.push(re))return}};else if(de(Ie)){const re=(pe(Ie)?Ie.readable:Ie).getReader();Ee._read=async function(){for(;;)try{const{value:ie,done:oe}=await re.read();if(!Ee.push(ie))return;if(oe)return void Ee.push(null)}catch{return}}}return Ee._destroy=function(re,ie){re||null===_e||(re=new ge),we=null,oe=null,be=null,null===_e?ie(re):(_e=ie,ue(Ie)&&ce(Ie,re))},Ee}},1195:(re,ie,oe)=>{"use strict";const se=oe(4155),{aggregateTwoErrors:ae,codes:{ERR_MULTIPLE_CALLBACK:ce},AbortError:ue}=oe(4381),{Symbol:le}=oe(9061),{kDestroyed:fe,isDestroyed:de,isFinished:pe,isServerRequest:he}=oe(5874),Ae=le("kDestroy"),ge=le("kConstruct");function p(re,ie,oe){re&&(re.stack,ie&&!ie.errored&&(ie.errored=re),oe&&!oe.errored&&(oe.errored=re))}function b(re,ie,oe){let ae=!1;function o(ie){if(ae)return;ae=!0;const ce=re._readableState,ue=re._writableState;p(ie,ue,ce),ue&&(ue.closed=!0),ce&&(ce.closed=!0),"function"==typeof oe&&oe(ie),ie?se.nextTick(y,re,ie):se.nextTick(g,re)}try{re._destroy(ie||null,o)}catch(ie){o(ie)}}function y(re,ie){w(re,ie),g(re)}function g(re){const ie=re._readableState,oe=re._writableState;oe&&(oe.closeEmitted=!0),ie&&(ie.closeEmitted=!0),(null!=oe&&oe.emitClose||null!=ie&&ie.emitClose)&&re.emit("close")}function w(re,ie){const oe=re._readableState,se=re._writableState;null!=se&&se.errorEmitted||null!=oe&&oe.errorEmitted||(se&&(se.errorEmitted=!0),oe&&(oe.errorEmitted=!0),re.emit("error",ie))}function _(re,ie,oe){const ae=re._readableState,ce=re._writableState;if(null!=ce&&ce.destroyed||null!=ae&&ae.destroyed)return this;null!=ae&&ae.autoDestroy||null!=ce&&ce.autoDestroy?re.destroy(ie):ie&&(ie.stack,ce&&!ce.errored&&(ce.errored=ie),ae&&!ae.errored&&(ae.errored=ie),oe?se.nextTick(w,re,ie):w(re,ie))}function m(re){let ie=!1;function r(oe){if(ie)return void _(re,null!=oe?oe:new ce);ie=!0;const ae=re._readableState,ue=re._writableState,le=ue||ae;ae&&(ae.constructed=!0),ue&&(ue.constructed=!0),le.destroyed?re.emit(Ae,oe):oe?_(re,oe,!0):se.nextTick(E,re)}try{re._construct((re=>{se.nextTick(r,re)}))}catch(re){se.nextTick(r,re)}}function E(re){re.emit(ge)}function S(re){return(null==re?void 0:re.setHeader)&&"function"==typeof re.abort}function v(re){re.emit("close")}function A(re,ie){re.emit("error",ie),se.nextTick(v,re)}re.exports={construct:function(re,ie){if("function"!=typeof re._construct)return;const oe=re._readableState,ae=re._writableState;oe&&(oe.constructed=!1),ae&&(ae.constructed=!1),re.once(ge,ie),re.listenerCount(ge)>1||se.nextTick(m,re)},destroyer:function(re,ie){re&&!de(re)&&(ie||pe(re)||(ie=new ue),he(re)?(re.socket=null,re.destroy(ie)):S(re)?re.abort():S(re.req)?re.req.abort():"function"==typeof re.destroy?re.destroy(ie):"function"==typeof re.close?re.close():ie?se.nextTick(A,re,ie):se.nextTick(v,re),re.destroyed||(re[fe]=!0))},destroy:function(re,ie){const oe=this._readableState,se=this._writableState,ce=se||oe;return null!=se&&se.destroyed||null!=oe&&oe.destroyed?("function"==typeof ie&&ie(),this):(p(re,se,oe),se&&(se.destroyed=!0),oe&&(oe.destroyed=!0),ce.constructed?b(this,re,ie):this.once(Ae,(function(oe){b(this,ae(oe,re),ie)})),this)},undestroy:function(){const re=this._readableState,ie=this._writableState;re&&(re.constructed=!0,re.closed=!1,re.closeEmitted=!1,re.destroyed=!1,re.errored=null,re.errorEmitted=!1,re.reading=!1,re.ended=!1===re.readable,re.endEmitted=!1===re.readable),ie&&(ie.constructed=!0,ie.destroyed=!1,ie.closed=!1,ie.closeEmitted=!1,ie.errored=null,ie.errorEmitted=!1,ie.finalCalled=!1,ie.prefinished=!1,ie.ended=!1===ie.writable,ie.ending=!1===ie.writable,ie.finished=!1===ie.writable)},errorOrDestroy:_}},8672:(re,ie,oe)=>{"use strict";const{ObjectDefineProperties:se,ObjectGetOwnPropertyDescriptor:ae,ObjectKeys:ce,ObjectSetPrototypeOf:ue}=oe(9061);re.exports=u;const le=oe(911),fe=oe(6304);ue(u.prototype,le.prototype),ue(u,le);{const re=ce(fe.prototype);for(let ie=0;ie{const se=oe(4155),ae=oe(8764),{isReadable:ce,isWritable:ue,isIterable:le,isNodeStream:fe,isReadableNodeStream:de,isWritableNodeStream:pe,isDuplexNodeStream:he}=oe(5874),Ae=oe(8610),{AbortError:ge,codes:{ERR_INVALID_ARG_TYPE:me,ERR_INVALID_RETURN_VALUE:ye}}=oe(4381),{destroyer:ve}=oe(1195),be=oe(8672),we=oe(911),{createDeferredPromise:_e}=oe(6087),Ee=oe(6307),Ce=globalThis.Blob||ae.Blob,Ie=void 0!==Ce?function(re){return re instanceof Ce}:function(re){return!1},Se=globalThis.AbortController||oe(8599).AbortController,{FunctionPrototypeCall:Be}=oe(9061);class I extends be{constructor(re){super(re),!1===(null==re?void 0:re.readable)&&(this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0),!1===(null==re?void 0:re.writable)&&(this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0)}}function T(re){const ie=re.readable&&"function"!=typeof re.readable.read?we.wrap(re.readable):re.readable,oe=re.writable;let se,ae,le,fe,de,pe=!!ce(ie),he=!!ue(oe);function p(re){const ie=fe;fe=null,ie?ie(re):re&&de.destroy(re)}return de=new I({readableObjectMode:!(null==ie||!ie.readableObjectMode),writableObjectMode:!(null==oe||!oe.writableObjectMode),readable:pe,writable:he}),he&&(Ae(oe,(re=>{he=!1,re&&ve(ie,re),p(re)})),de._write=function(re,ie,ae){oe.write(re,ie)?ae():se=ae},de._final=function(re){oe.end(),ae=re},oe.on("drain",(function(){if(se){const re=se;se=null,re()}})),oe.on("finish",(function(){if(ae){const re=ae;ae=null,re()}}))),pe&&(Ae(ie,(re=>{pe=!1,re&&ve(ie,re),p(re)})),ie.on("readable",(function(){if(le){const re=le;le=null,re()}})),ie.on("end",(function(){de.push(null)})),de._read=function(){for(;;){const re=ie.read();if(null===re)return void(le=de._read);if(!de.push(re))return}}),de._destroy=function(re,ce){re||null===fe||(re=new ge),le=null,se=null,ae=null,null===fe?ce(re):(fe=ce,ve(oe,re),ve(ie,re))},de}re.exports=function e(re,ie){if(he(re))return re;if(de(re))return T({readable:re});if(pe(re))return T({writable:re});if(fe(re))return T({writable:!1,readable:!1});if("function"==typeof re){const{value:oe,write:ae,final:ce,destroy:ue}=function(re){let{promise:ie,resolve:oe}=_e();const ae=new Se,ce=ae.signal;return{value:re(async function*(){for(;;){const re=ie;ie=null;const{chunk:ae,done:ue,cb:le}=await re;if(se.nextTick(le),ue)return;if(ce.aborted)throw new ge(void 0,{cause:ce.reason});({promise:ie,resolve:oe}=_e()),yield ae}}(),{signal:ce}),write(re,ie,se){const ae=oe;oe=null,ae({chunk:re,done:!1,cb:se})},final(re){const ie=oe;oe=null,ie({done:!0,cb:re})},destroy(re,ie){ae.abort(),ie(re)}}}(re);if(le(oe))return Ee(I,oe,{objectMode:!0,write:ae,final:ce,destroy:ue});const fe=null==oe?void 0:oe.then;if("function"==typeof fe){let re;const ie=Be(fe,oe,(re=>{if(null!=re)throw new ye("nully","body",re)}),(ie=>{ve(re,ie)}));return re=new I({objectMode:!0,readable:!1,write:ae,final(re){ce((async()=>{try{await ie,se.nextTick(re,null)}catch(ie){se.nextTick(re,ie)}}))},destroy:ue})}throw new ye("Iterable, AsyncIterable or AsyncFunction",ie,oe)}if(Ie(re))return e(re.arrayBuffer());if(le(re))return Ee(I,re,{objectMode:!0,writable:!1});if("object"==typeof(null==re?void 0:re.writable)||"object"==typeof(null==re?void 0:re.readable))return T({readable:null!=re&&re.readable?de(null==re?void 0:re.readable)?null==re?void 0:re.readable:e(re.readable):void 0,writable:null!=re&&re.writable?pe(null==re?void 0:re.writable)?null==re?void 0:re.writable:e(re.writable):void 0});const oe=null==re?void 0:re.then;if("function"==typeof oe){let ie;return Be(oe,re,(re=>{null!=re&&ie.push(re),ie.push(null)}),(re=>{ve(ie,re)})),ie=new I({objectMode:!0,writable:!1,read(){}})}throw new me(ie,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],re)}},8610:(re,ie,oe)=>{const se=oe(4155),{AbortError:ae,codes:ce}=oe(4381),{ERR_INVALID_ARG_TYPE:ue,ERR_STREAM_PREMATURE_CLOSE:le}=ce,{kEmptyObject:fe,once:de}=oe(6087),{validateAbortSignal:pe,validateFunction:he,validateObject:Ae,validateBoolean:ge}=oe(6547),{Promise:me,PromisePrototypeThen:ye}=oe(9061),{isClosed:ve,isReadable:be,isReadableNodeStream:we,isReadableStream:_e,isReadableFinished:Ee,isReadableErrored:Ce,isWritable:Ie,isWritableNodeStream:Se,isWritableStream:Be,isWritableFinished:xe,isWritableErrored:ke,isNodeStream:Oe,willEmitClose:De,kIsClosedPromise:Pe}=oe(5874),L=()=>{};function U(re,ie,oe){var ce,ge;if(2===arguments.length?(oe=ie,ie=fe):null==ie?ie=fe:Ae(ie,"options"),he(oe,"callback"),pe(ie.signal,"options.signal"),oe=de(oe),_e(re)||Be(re))return function(re,ie,oe){let ce=!1,ue=L;if(ie.signal)if(ue=()=>{ce=!0,oe.call(re,new ae(void 0,{cause:ie.signal.reason}))},ie.signal.aborted)se.nextTick(ue);else{const se=oe;oe=de(((...oe)=>{ie.signal.removeEventListener("abort",ue),se.apply(re,oe)})),ie.signal.addEventListener("abort",ue)}const a=(...ie)=>{ce||se.nextTick((()=>oe.apply(re,ie)))};return ye(re[Pe].promise,a,a),L}(re,ie,oe);if(!Oe(re))throw new ue("stream",["ReadableStream","WritableStream","Stream"],re);const me=null!==(ce=ie.readable)&&void 0!==ce?ce:we(re),Te=null!==(ge=ie.writable)&&void 0!==ge?ge:Se(re),Qe=re._writableState,Re=re._readableState,x=()=>{re.writable||j()};let Me=De(re)&&we(re)===me&&Se(re)===Te,Ne=xe(re,!1);const j=()=>{Ne=!0,re.destroyed&&(Me=!1),(!Me||re.readable&&!me)&&(me&&!je||oe.call(re))};let je=Ee(re,!1);const D=()=>{je=!0,re.destroyed&&(Me=!1),(!Me||re.writable&&!Te)&&(Te&&!Ne||oe.call(re))},C=ie=>{oe.call(re,ie)};let Le=ve(re);const W=()=>{Le=!0;const ie=ke(re)||Ce(re);return ie&&"boolean"!=typeof ie?oe.call(re,ie):me&&!je&&we(re,!0)&&!Ee(re,!1)?oe.call(re,new le):!Te||Ne||xe(re,!1)?void oe.call(re):oe.call(re,new le)},G=()=>{Le=!0;const ie=ke(re)||Ce(re);if(ie&&"boolean"!=typeof ie)return oe.call(re,ie);oe.call(re)},Y=()=>{re.req.on("finish",j)};!function(re){return re.setHeader&&"function"==typeof re.abort}(re)?Te&&!Qe&&(re.on("end",x),re.on("close",x)):(re.on("complete",j),Me||re.on("abort",W),re.req?Y():re.on("request",Y)),Me||"boolean"!=typeof re.aborted||re.on("aborted",W),re.on("end",D),re.on("finish",j),!1!==ie.error&&re.on("error",C),re.on("close",W),Le?se.nextTick(W):null!=Qe&&Qe.errorEmitted||null!=Re&&Re.errorEmitted?Me||se.nextTick(G):(me||Me&&!be(re)||!Ne&&!1!==Ie(re))&&(Te||Me&&!Ie(re)||!je&&!1!==be(re))?Re&&re.req&&re.aborted&&se.nextTick(G):se.nextTick(G);const H=()=>{oe=L,re.removeListener("aborted",W),re.removeListener("complete",j),re.removeListener("abort",W),re.removeListener("request",Y),re.req&&re.req.removeListener("finish",j),re.removeListener("end",x),re.removeListener("close",x),re.removeListener("finish",j),re.removeListener("end",D),re.removeListener("error",C),re.removeListener("close",W)};if(ie.signal&&!Le){const o=()=>{const se=oe;H(),se.call(re,new ae(void 0,{cause:ie.signal.reason}))};if(ie.signal.aborted)se.nextTick(o);else{const se=oe;oe=de(((...oe)=>{ie.signal.removeEventListener("abort",o),se.apply(re,oe)})),ie.signal.addEventListener("abort",o)}}return H}re.exports=U,re.exports.finished=function(re,ie){var oe;let se=!1;return null===ie&&(ie=fe),null!==(oe=ie)&&void 0!==oe&&oe.cleanup&&(ge(ie.cleanup,"cleanup"),se=ie.cleanup),new me(((oe,ae)=>{const ce=U(re,ie,(re=>{se&&ce(),re?ae(re):oe()}))}))}},6307:(re,ie,oe)=>{"use strict";const se=oe(4155),{PromisePrototypeThen:ae,SymbolAsyncIterator:ce,SymbolIterator:ue}=oe(9061),{Buffer:le}=oe(8764),{ERR_INVALID_ARG_TYPE:fe,ERR_STREAM_NULL_VALUES:de}=oe(4381).codes;re.exports=function(re,ie,oe){let pe,he;if("string"==typeof ie||ie instanceof le)return new re({objectMode:!0,...oe,read(){this.push(ie),this.push(null)}});if(ie&&ie[ce])he=!0,pe=ie[ce]();else{if(!ie||!ie[ue])throw new fe("iterable",["Iterable"],ie);he=!1,pe=ie[ue]()}const Ae=new re({objectMode:!0,highWaterMark:1,...oe});let ge=!1;return Ae._read=function(){ge||(ge=!0,async function(){for(;;){try{const{value:re,done:ie}=he?await pe.next():pe.next();if(ie)Ae.push(null);else{const ie=re&&"function"==typeof re.then?await re:re;if(null===ie)throw ge=!1,new de;if(Ae.push(ie))continue;ge=!1}}catch(re){Ae.destroy(re)}break}}())},Ae._destroy=function(re,ie){ae(async function(re){const ie=null!=re,oe="function"==typeof pe.throw;if(ie&&oe){const{value:ie,done:oe}=await pe.throw(re);if(await ie,oe)return}if("function"==typeof pe.return){const{value:re}=await pe.return();await re}}(re),(()=>se.nextTick(ie,re)),(oe=>se.nextTick(ie,oe||re)))},Ae}},4870:(re,ie,oe)=>{"use strict";const{ArrayIsArray:se,ObjectSetPrototypeOf:ae}=oe(9061),{EventEmitter:ce}=oe(7187);function s(re){ce.call(this,re)}function a(re,ie,oe){if("function"==typeof re.prependListener)return re.prependListener(ie,oe);re._events&&re._events[ie]?se(re._events[ie])?re._events[ie].unshift(oe):re._events[ie]=[oe,re._events[ie]]:re.on(ie,oe)}ae(s.prototype,ce.prototype),ae(s,ce),s.prototype.pipe=function(re,ie){const oe=this;function n(ie){re.writable&&!1===re.write(ie)&&oe.pause&&oe.pause()}function i(){oe.readable&&oe.resume&&oe.resume()}oe.on("data",n),re.on("drain",i),re._isStdio||ie&&!1===ie.end||(oe.on("end",l),oe.on("close",u));let se=!1;function l(){se||(se=!0,re.end())}function u(){se||(se=!0,"function"==typeof re.destroy&&re.destroy())}function c(re){f(),0===ce.listenerCount(this,"error")&&this.emit("error",re)}function f(){oe.removeListener("data",n),re.removeListener("drain",i),oe.removeListener("end",l),oe.removeListener("close",u),oe.removeListener("error",c),re.removeListener("error",c),oe.removeListener("end",f),oe.removeListener("close",f),re.removeListener("close",f)}return a(oe,"error",c),a(re,"error",c),oe.on("end",f),oe.on("close",f),re.on("close",f),re.emit("pipe",oe),re},re.exports={Stream:s,prependListener:a}},4382:(re,ie,oe)=>{"use strict";const se=globalThis.AbortController||oe(8599).AbortController,{codes:{ERR_INVALID_ARG_VALUE:ae,ERR_INVALID_ARG_TYPE:ce,ERR_MISSING_ARGS:ue,ERR_OUT_OF_RANGE:le},AbortError:fe}=oe(4381),{validateAbortSignal:de,validateInteger:pe,validateObject:he}=oe(6547),Ae=oe(9061).Symbol("kWeak"),{finished:ge}=oe(8610),me=oe(299),{addAbortSignalNoValidate:ye}=oe(196),{isWritable:ve,isNodeStream:be}=oe(5874),{ArrayPrototypePush:we,MathFloor:_e,Number:Ee,NumberIsNaN:Ce,Promise:Ie,PromiseReject:Se,PromisePrototypeThen:Be,Symbol:xe}=oe(9061),ke=xe("kEmpty"),Oe=xe("kEof");function B(re,ie){if("function"!=typeof re)throw new ce("fn",["Function","AsyncFunction"],re);null!=ie&&he(ie,"options"),null!=(null==ie?void 0:ie.signal)&&de(ie.signal,"options.signal");let oe=1;return null!=(null==ie?void 0:ie.concurrency)&&(oe=_e(ie.concurrency)),pe(oe,"concurrency",1),async function*(){var ae,ce;const ue=new se,le=this,de=[],pe=ue.signal,he={signal:pe},h=()=>ue.abort();let Ae,ge;null!=ie&&null!==(ae=ie.signal)&&void 0!==ae&&ae.aborted&&h(),null==ie||null===(ce=ie.signal)||void 0===ce||ce.addEventListener("abort",h);let me=!1;function y(){me=!0}!async function(){try{for await(let ie of le){var se;if(me)return;if(pe.aborted)throw new fe;try{ie=re(ie,he)}catch(re){ie=Se(re)}ie!==ke&&("function"==typeof(null===(se=ie)||void 0===se?void 0:se.catch)&&ie.catch(y),de.push(ie),Ae&&(Ae(),Ae=null),!me&&de.length&&de.length>=oe&&await new Ie((re=>{ge=re})))}de.push(Oe)}catch(re){const ie=Se(re);Be(ie,void 0,y),de.push(ie)}finally{var ae;me=!0,Ae&&(Ae(),Ae=null),null==ie||null===(ae=ie.signal)||void 0===ae||ae.removeEventListener("abort",h)}}();try{for(;;){for(;de.length>0;){const re=await de[0];if(re===Oe)return;if(pe.aborted)throw new fe;re!==ke&&(yield re),de.shift(),ge&&(ge(),ge=null)}await new Ie((re=>{Ae=re}))}}finally{ue.abort(),me=!0,ge&&(ge(),ge=null)}}.call(this)}async function N(re,ie=void 0){for await(const oe of L.call(this,re,ie))return!0;return!1}function L(re,ie){if("function"!=typeof re)throw new ce("fn",["Function","AsyncFunction"],re);return B.call(this,(async function(ie,oe){return await re(ie,oe)?ie:ke}),ie)}class U extends ue{constructor(){super("reduce"),this.message="Reduce of an empty stream requires an initial value"}}function O(re){if(re=Ee(re),Ce(re))return 0;if(re<0)throw new le("number",">= 0",re);return re}re.exports.streamReturningOperators={asIndexedPairs:function(re=void 0){return null!=re&&he(re,"options"),null!=(null==re?void 0:re.signal)&&de(re.signal,"options.signal"),async function*(){let ie=0;for await(const se of this){var oe;if(null!=re&&null!==(oe=re.signal)&&void 0!==oe&&oe.aborted)throw new fe({cause:re.signal.reason});yield[ie++,se]}}.call(this)},drop:function(re,ie=void 0){return null!=ie&&he(ie,"options"),null!=(null==ie?void 0:ie.signal)&&de(ie.signal,"options.signal"),re=O(re),async function*(){var oe;if(null!=ie&&null!==(oe=ie.signal)&&void 0!==oe&&oe.aborted)throw new fe;for await(const oe of this){var se;if(null!=ie&&null!==(se=ie.signal)&&void 0!==se&&se.aborted)throw new fe;re--<=0&&(yield oe)}}.call(this)},filter:L,flatMap:function(re,ie){const oe=B.call(this,re,ie);return async function*(){for await(const re of oe)yield*re}.call(this)},map:B,take:function(re,ie=void 0){return null!=ie&&he(ie,"options"),null!=(null==ie?void 0:ie.signal)&&de(ie.signal,"options.signal"),re=O(re),async function*(){var oe;if(null!=ie&&null!==(oe=ie.signal)&&void 0!==oe&&oe.aborted)throw new fe;for await(const oe of this){var se;if(null!=ie&&null!==(se=ie.signal)&&void 0!==se&&se.aborted)throw new fe;if(!(re-- >0))return;yield oe}}.call(this)},compose:function(re,ie){if(null!=ie&&he(ie,"options"),null!=(null==ie?void 0:ie.signal)&&de(ie.signal,"options.signal"),be(re)&&!ve(re))throw new ae("stream",re,"must be writable");const oe=me(this,re);return null!=ie&&ie.signal&&ye(ie.signal,oe),oe}},re.exports.promiseReturningOperators={every:async function(re,ie=void 0){if("function"!=typeof re)throw new ce("fn",["Function","AsyncFunction"],re);return!await N.call(this,(async(...ie)=>!await re(...ie)),ie)},forEach:async function(re,ie){if("function"!=typeof re)throw new ce("fn",["Function","AsyncFunction"],re);for await(const oe of B.call(this,(async function(ie,oe){return await re(ie,oe),ke}),ie));},reduce:async function(re,ie,oe){var ae;if("function"!=typeof re)throw new ce("reducer",["Function","AsyncFunction"],re);null!=oe&&he(oe,"options"),null!=(null==oe?void 0:oe.signal)&&de(oe.signal,"options.signal");let ue=arguments.length>1;if(null!=oe&&null!==(ae=oe.signal)&&void 0!==ae&&ae.aborted){const re=new fe(void 0,{cause:oe.signal.reason});throw this.once("error",(()=>{})),await ge(this.destroy(re)),re}const le=new se,pe=le.signal;if(null!=oe&&oe.signal){const re={once:!0,[Ae]:this};oe.signal.addEventListener("abort",(()=>le.abort()),re)}let me=!1;try{for await(const se of this){var ye;if(me=!0,null!=oe&&null!==(ye=oe.signal)&&void 0!==ye&&ye.aborted)throw new fe;ue?ie=await re(ie,se,{signal:pe}):(ie=se,ue=!0)}if(!me&&!ue)throw new U}finally{le.abort()}return ie},toArray:async function(re){null!=re&&he(re,"options"),null!=(null==re?void 0:re.signal)&&de(re.signal,"options.signal");const ie=[];for await(const se of this){var oe;if(null!=re&&null!==(oe=re.signal)&&void 0!==oe&&oe.aborted)throw new fe(void 0,{cause:re.signal.reason});we(ie,se)}return ie},some:N,find:async function(re,ie){for await(const oe of L.call(this,re,ie))return oe}}},917:(re,ie,oe)=>{"use strict";const{ObjectSetPrototypeOf:se}=oe(9061);re.exports=o;const ae=oe(1161);function o(re){if(!(this instanceof o))return new o(re);ae.call(this,re)}se(o.prototype,ae.prototype),se(o,ae),o.prototype._transform=function(re,ie,oe){oe(null,re)}},9946:(re,ie,oe)=>{const se=oe(4155),{ArrayIsArray:ae,Promise:ce,SymbolAsyncIterator:ue}=oe(9061),le=oe(8610),{once:fe}=oe(6087),de=oe(1195),pe=oe(8672),{aggregateTwoErrors:he,codes:{ERR_INVALID_ARG_TYPE:Ae,ERR_INVALID_RETURN_VALUE:ge,ERR_MISSING_ARGS:me,ERR_STREAM_DESTROYED:ye,ERR_STREAM_PREMATURE_CLOSE:ve},AbortError:be}=oe(4381),{validateFunction:we,validateAbortSignal:_e}=oe(6547),{isIterable:Ee,isReadable:Ce,isReadableNodeStream:Ie,isNodeStream:Se,isTransformStream:Be,isWebStream:xe,isReadableStream:ke,isReadableEnded:Oe}=oe(5874),De=globalThis.AbortController||oe(8599).AbortController;let Pe,Te;function U(re,ie,oe){let se=!1;return re.on("close",(()=>{se=!0})),{destroy:ie=>{se||(se=!0,de.destroyer(re,ie||new ye("pipe")))},cleanup:le(re,{readable:ie,writable:oe},(re=>{se=!re}))}}function O(re){if(Ee(re))return re;if(Ie(re))return async function*(re){Te||(Te=oe(911)),yield*Te.prototype[ue].call(re)}(re);throw new Ae("val",["Readable","Iterable","AsyncIterable"],re)}async function M(re,ie,oe,{end:se}){let ae,ue=null;const l=re=>{if(re&&(ae=re),ue){const re=ue;ue=null,re()}},u=()=>new ce(((re,ie)=>{ae?ie(ae):ue=()=>{ae?ie(ae):re()}}));ie.on("drain",l);const fe=le(ie,{readable:!1},l);try{ie.writableNeedDrain&&await u();for await(const oe of re)ie.write(oe)||await u();se&&ie.end(),await u(),oe()}catch(re){oe(ae!==re?he(ae,re):re)}finally{fe(),ie.off("drain",l)}}async function x(re,ie,oe,{end:se}){Be(ie)&&(ie=ie.writable);const ae=ie.getWriter();try{for await(const ie of re)await ae.ready,ae.write(ie).catch((()=>{}));await ae.ready,se&&await ae.close(),oe()}catch(re){try{await ae.abort(re),oe(re)}catch(re){oe(re)}}}function k(re,ie,ce){if(1===re.length&&ae(re[0])&&(re=re[0]),re.length<2)throw new me("streams");const ue=new De,le=ue.signal,fe=null==ce?void 0:ce.signal,de=[];function f(){j(new be)}let he,ye;_e(fe,"options.signal"),null==fe||fe.addEventListener("abort",f);const ve=[];let we,Oe=0;function k(re){j(re,0==--Oe)}function j(re,oe){if(!re||he&&"ERR_STREAM_PREMATURE_CLOSE"!==he.code||(he=re),he||oe){for(;ve.length;)ve.shift()(he);null==fe||fe.removeEventListener("abort",f),ue.abort(),oe&&(he||de.forEach((re=>re())),se.nextTick(ie,he,ye))}}for(let ie=0;ie0,he=ue||!1!==(null==ce?void 0:ce.end),me=ie===re.length-1;if(Se(ae)){if(he){const{destroy:re,cleanup:ie}=U(ae,ue,fe);ve.push(re),Ce(ae)&&me&&de.push(ie)}function F(re){re&&"AbortError"!==re.name&&"ERR_STREAM_PREMATURE_CLOSE"!==re.code&&k(re)}ae.on("error",F),Ce(ae)&&me&&de.push((()=>{ae.removeListener("error",F)}))}if(0===ie)if("function"==typeof ae){if(we=ae({signal:le}),!Ee(we))throw new ge("Iterable, AsyncIterable or Stream","source",we)}else we=Ee(ae)||Ie(ae)||Be(ae)?ae:pe.from(ae);else if("function"==typeof ae){var Te;if(we=Be(we)?O(null===(Te=we)||void 0===Te?void 0:Te.readable):O(we),we=ae(we,{signal:le}),ue){if(!Ee(we,!0))throw new ge("AsyncIterable",`transform[${ie-1}]`,we)}else{var Qe;Pe||(Pe=oe(917));const re=new Pe({objectMode:!0}),ie=null===(Qe=we)||void 0===Qe?void 0:Qe.then;if("function"==typeof ie)Oe++,ie.call(we,(ie=>{ye=ie,null!=ie&&re.write(ie),he&&re.end(),se.nextTick(k)}),(ie=>{re.destroy(ie),se.nextTick(k,ie)}));else if(Ee(we,!0))Oe++,M(we,re,k,{end:he});else{if(!ke(we)&&!Be(we))throw new ge("AsyncIterable or Promise","destination",we);{const ie=we.readable||we;Oe++,M(ie,re,k,{end:he})}}we=re;const{destroy:ae,cleanup:ce}=U(we,!1,!0);ve.push(ae),me&&de.push(ce)}}else if(Se(ae)){if(Ie(we)){Oe+=2;const re=P(we,ae,k,{end:he});Ce(ae)&&me&&de.push(re)}else if(Be(we)||ke(we)){const re=we.readable||we;Oe++,M(re,ae,k,{end:he})}else{if(!Ee(we))throw new Ae("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],we);Oe++,M(we,ae,k,{end:he})}we=ae}else if(xe(ae)){if(Ie(we))Oe++,x(O(we),ae,k,{end:he});else if(ke(we)||Ee(we))Oe++,x(we,ae,k,{end:he});else{if(!Be(we))throw new Ae("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],we);Oe++,x(we.readable,ae,k,{end:he})}we=ae}else we=pe.from(ae)}return(null!=le&&le.aborted||null!=fe&&fe.aborted)&&se.nextTick(f),we}function P(re,ie,oe,{end:ae}){let ce=!1;if(ie.on("close",(()=>{ce||oe(new ve)})),re.pipe(ie,{end:!1}),ae){function s(){ce=!0,ie.end()}Oe(re)?se.nextTick(s):re.once("end",s)}else oe();return le(re,{readable:!0,writable:!1},(ie=>{const se=re._readableState;ie&&"ERR_STREAM_PREMATURE_CLOSE"===ie.code&&se&&se.ended&&!se.errored&&!se.errorEmitted?re.once("end",oe).once("error",oe):oe(ie)})),le(ie,{readable:!1,writable:!0},oe)}re.exports={pipelineImpl:k,pipeline:function(...re){return k(re,fe(function(re){return we(re[re.length-1],"streams[stream.length - 1]"),re.pop()}(re)))}}},911:(re,ie,oe)=>{const se=oe(4155),{ArrayPrototypeIndexOf:ae,NumberIsInteger:ce,NumberIsNaN:ue,NumberParseInt:le,ObjectDefineProperties:fe,ObjectKeys:de,ObjectSetPrototypeOf:pe,Promise:he,SafeSet:Ae,SymbolAsyncIterator:ge,Symbol:me}=oe(9061);re.exports=D,D.ReadableState=F;const{EventEmitter:ye}=oe(7187),{Stream:ve,prependListener:be}=oe(4870),{Buffer:we}=oe(8764),{addAbortSignal:_e}=oe(196),Ee=oe(8610);let Ce=oe(6087).debuglog("stream",(re=>{Ce=re}));const Ie=oe(7327),Se=oe(1195),{getHighWaterMark:Be,getDefaultHighWaterMark:xe}=oe(2457),{aggregateTwoErrors:ke,codes:{ERR_INVALID_ARG_TYPE:Oe,ERR_METHOD_NOT_IMPLEMENTED:De,ERR_OUT_OF_RANGE:Pe,ERR_STREAM_PUSH_AFTER_EOF:Te,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:Qe}}=oe(4381),{validateObject:Re}=oe(6547),Me=me("kPaused"),{StringDecoder:Ne}=oe(2553),je=oe(6307);pe(D.prototype,ve.prototype),pe(D,ve);const P=()=>{},{errorOrDestroy:Le}=Se;function F(re,ie,se){"boolean"!=typeof se&&(se=ie instanceof oe(8672)),this.objectMode=!(!re||!re.objectMode),se&&(this.objectMode=this.objectMode||!(!re||!re.readableObjectMode)),this.highWaterMark=re?Be(this,re,"readableHighWaterMark",se):xe(!1),this.buffer=new Ie,this.length=0,this.pipes=[],this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.constructed=!0,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this[Me]=null,this.errorEmitted=!1,this.emitClose=!re||!1!==re.emitClose,this.autoDestroy=!re||!1!==re.autoDestroy,this.destroyed=!1,this.errored=null,this.closed=!1,this.closeEmitted=!1,this.defaultEncoding=re&&re.defaultEncoding||"utf8",this.awaitDrainWriters=null,this.multiAwaitDrain=!1,this.readingMore=!1,this.dataEmitted=!1,this.decoder=null,this.encoding=null,re&&re.encoding&&(this.decoder=new Ne(re.encoding),this.encoding=re.encoding)}function D(re){if(!(this instanceof D))return new D(re);const ie=this instanceof oe(8672);this._readableState=new F(re,this,ie),re&&("function"==typeof re.read&&(this._read=re.read),"function"==typeof re.destroy&&(this._destroy=re.destroy),"function"==typeof re.construct&&(this._construct=re.construct),re.signal&&!ie&&_e(re.signal,this)),ve.call(this,re),Se.construct(this,(()=>{this._readableState.needReadable&&H(this,this._readableState)}))}function C(re,ie,oe,se){Ce("readableAddChunk",ie);const ae=re._readableState;let ce;if(ae.objectMode||("string"==typeof ie?(oe=oe||ae.defaultEncoding,ae.encoding!==oe&&(se&&ae.encoding?ie=we.from(ie,oe).toString(ae.encoding):(ie=we.from(ie,oe),oe=""))):ie instanceof we?oe="":ve._isUint8Array(ie)?(ie=ve._uint8ArrayToBuffer(ie),oe=""):null!=ie&&(ce=new Oe("chunk",["string","Buffer","Uint8Array"],ie))),ce)Le(re,ce);else if(null===ie)ae.reading=!1,function(re,ie){if(Ce("onEofChunk"),!ie.ended){if(ie.decoder){const re=ie.decoder.end();re&&re.length&&(ie.buffer.push(re),ie.length+=ie.objectMode?1:re.length)}ie.ended=!0,ie.sync?G(re):(ie.needReadable=!1,ie.emittedReadable=!0,Y(re))}}(re,ae);else if(ae.objectMode||ie&&ie.length>0)if(se)if(ae.endEmitted)Le(re,new Qe);else{if(ae.destroyed||ae.errored)return!1;$(re,ae,ie,!0)}else if(ae.ended)Le(re,new Te);else{if(ae.destroyed||ae.errored)return!1;ae.reading=!1,ae.decoder&&!oe?(ie=ae.decoder.write(ie),ae.objectMode||0!==ie.length?$(re,ae,ie,!1):H(re,ae)):$(re,ae,ie,!1)}else se||(ae.reading=!1,H(re,ae));return!ae.ended&&(ae.length0?(ie.multiAwaitDrain?ie.awaitDrainWriters.clear():ie.awaitDrainWriters=null,ie.dataEmitted=!0,re.emit("data",oe)):(ie.length+=ie.objectMode?1:oe.length,se?ie.buffer.unshift(oe):ie.buffer.push(oe),ie.needReadable&&G(re)),H(re,ie)}function W(re,ie){return re<=0||0===ie.length&&ie.ended?0:ie.objectMode?1:ue(re)?ie.flowing&&ie.length?ie.buffer.first().length:ie.length:re<=ie.length?re:ie.ended?ie.length:0}function G(re){const ie=re._readableState;Ce("emitReadable",ie.needReadable,ie.emittedReadable),ie.needReadable=!1,ie.emittedReadable||(Ce("emitReadable",ie.flowing),ie.emittedReadable=!0,se.nextTick(Y,re))}function Y(re){const ie=re._readableState;Ce("emitReadable_",ie.destroyed,ie.length,ie.ended),ie.destroyed||ie.errored||!ie.length&&!ie.ended||(re.emit("readable"),ie.emittedReadable=!1),ie.needReadable=!ie.flowing&&!ie.ended&&ie.length<=ie.highWaterMark,X(re)}function H(re,ie){!ie.readingMore&&ie.constructed&&(ie.readingMore=!0,se.nextTick(V,re,ie))}function V(re,ie){for(;!ie.reading&&!ie.ended&&(ie.length0,ie.resumeScheduled&&!1===ie[Me]?ie.flowing=!0:re.listenerCount("data")>0?re.resume():ie.readableListening||(ie.flowing=null)}function q(re){Ce("readable nexttick read 0"),re.read(0)}function z(re,ie){Ce("resume",ie.reading),ie.reading||re.read(0),ie.resumeScheduled=!1,re.emit("resume"),X(re),ie.flowing&&!ie.reading&&re.read(0)}function X(re){const ie=re._readableState;for(Ce("flow",ie.flowing);ie.flowing&&null!==re.read(););}function J(re,ie){"function"!=typeof re.read&&(re=D.wrap(re,{objectMode:!0}));const oe=async function*(re,ie){let oe,se=P;function i(ie){this===re?(se(),se=P):se=ie}re.on("readable",i);const ae=Ee(re,{writable:!1},(re=>{oe=re?ke(oe,re):null,se(),se=P}));try{for(;;){const ie=re.destroyed?null:re.read();if(null!==ie)yield ie;else{if(oe)throw oe;if(null===oe)return;await new he(i)}}}catch(re){throw oe=ke(oe,re),oe}finally{!oe&&!1===(null==ie?void 0:ie.destroyOnReturn)||void 0!==oe&&!re._readableState.autoDestroy?(re.off("readable",i),ae()):Se.destroyer(re,null)}}(re,ie);return oe.stream=re,oe}function Z(re,ie){if(0===ie.length)return null;let oe;return ie.objectMode?oe=ie.buffer.shift():!re||re>=ie.length?(oe=ie.decoder?ie.buffer.join(""):1===ie.buffer.length?ie.buffer.first():ie.buffer.concat(ie.length),ie.buffer.clear()):oe=ie.buffer.consume(re,ie.decoder),oe}function Q(re){const ie=re._readableState;Ce("endReadable",ie.endEmitted),ie.endEmitted||(ie.ended=!0,se.nextTick(ee,ie,re))}function ee(re,ie){if(Ce("endReadableNT",re.endEmitted,re.length),!re.errored&&!re.closeEmitted&&!re.endEmitted&&0===re.length)if(re.endEmitted=!0,ie.emit("end"),ie.writable&&!1===ie.allowHalfOpen)se.nextTick(te,ie);else if(re.autoDestroy){const re=ie._writableState;(!re||re.autoDestroy&&(re.finished||!1===re.writable))&&ie.destroy()}}function te(re){re.writable&&!re.writableEnded&&!re.destroyed&&re.end()}let Fe;function ne(){return void 0===Fe&&(Fe={}),Fe}D.prototype.destroy=Se.destroy,D.prototype._undestroy=Se.undestroy,D.prototype._destroy=function(re,ie){ie(re)},D.prototype[ye.captureRejectionSymbol]=function(re){this.destroy(re)},D.prototype.push=function(re,ie){return C(this,re,ie,!1)},D.prototype.unshift=function(re,ie){return C(this,re,ie,!0)},D.prototype.isPaused=function(){const re=this._readableState;return!0===re[Me]||!1===re.flowing},D.prototype.setEncoding=function(re){const ie=new Ne(re);this._readableState.decoder=ie,this._readableState.encoding=this._readableState.decoder.encoding;const oe=this._readableState.buffer;let se="";for(const re of oe)se+=ie.write(re);return oe.clear(),""!==se&&oe.push(se),this._readableState.length=se.length,this},D.prototype.read=function(re){Ce("read",re),void 0===re?re=NaN:ce(re)||(re=le(re,10));const ie=this._readableState,oe=re;if(re>ie.highWaterMark&&(ie.highWaterMark=function(re){if(re>1073741824)throw new Pe("size","<= 1GiB",re);return re--,re|=re>>>1,re|=re>>>2,re|=re>>>4,re|=re>>>8,re|=re>>>16,++re}(re)),0!==re&&(ie.emittedReadable=!1),0===re&&ie.needReadable&&((0!==ie.highWaterMark?ie.length>=ie.highWaterMark:ie.length>0)||ie.ended))return Ce("read: emitReadable",ie.length,ie.ended),0===ie.length&&ie.ended?Q(this):G(this),null;if(0===(re=W(re,ie))&&ie.ended)return 0===ie.length&&Q(this),null;let se,ae=ie.needReadable;if(Ce("need readable",ae),(0===ie.length||ie.length-re0?Z(re,ie):null,null===se?(ie.needReadable=ie.length<=ie.highWaterMark,re=0):(ie.length-=re,ie.multiAwaitDrain?ie.awaitDrainWriters.clear():ie.awaitDrainWriters=null),0===ie.length&&(ie.ended||(ie.needReadable=!0),oe!==re&&ie.ended&&Q(this)),null===se||ie.errorEmitted||ie.closeEmitted||(ie.dataEmitted=!0,this.emit("data",se)),se},D.prototype._read=function(re){throw new De("_read()")},D.prototype.pipe=function(re,ie){const oe=this,ae=this._readableState;1===ae.pipes.length&&(ae.multiAwaitDrain||(ae.multiAwaitDrain=!0,ae.awaitDrainWriters=new Ae(ae.awaitDrainWriters?[ae.awaitDrainWriters]:[]))),ae.pipes.push(re),Ce("pipe count=%d opts=%j",ae.pipes.length,ie);const ce=ie&&!1===ie.end||re===se.stdout||re===se.stderr?b:s;function s(){Ce("onend"),re.end()}let ue;ae.endEmitted?se.nextTick(ce):oe.once("end",ce),re.on("unpipe",(function t(ie,se){Ce("onunpipe"),ie===oe&&se&&!1===se.hasUnpiped&&(se.hasUnpiped=!0,Ce("cleanup"),re.removeListener("close",d),re.removeListener("finish",p),ue&&re.removeListener("drain",ue),re.removeListener("error",f),re.removeListener("unpipe",t),oe.removeListener("end",s),oe.removeListener("end",b),oe.removeListener("data",c),le=!0,ue&&ae.awaitDrainWriters&&(!re._writableState||re._writableState.needDrain)&&ue())}));let le=!1;function u(){le||(1===ae.pipes.length&&ae.pipes[0]===re?(Ce("false write response, pause",0),ae.awaitDrainWriters=re,ae.multiAwaitDrain=!1):ae.pipes.length>1&&ae.pipes.includes(re)&&(Ce("false write response, pause",ae.awaitDrainWriters.size),ae.awaitDrainWriters.add(re)),oe.pause()),ue||(ue=function(re,ie){return function(){const oe=re._readableState;oe.awaitDrainWriters===ie?(Ce("pipeOnDrain",1),oe.awaitDrainWriters=null):oe.multiAwaitDrain&&(Ce("pipeOnDrain",oe.awaitDrainWriters.size),oe.awaitDrainWriters.delete(ie)),oe.awaitDrainWriters&&0!==oe.awaitDrainWriters.size||!re.listenerCount("data")||re.resume()}}(oe,re),re.on("drain",ue))}function c(ie){Ce("ondata");const oe=re.write(ie);Ce("dest.write",oe),!1===oe&&u()}function f(ie){if(Ce("onerror",ie),b(),re.removeListener("error",f),0===re.listenerCount("error")){const oe=re._writableState||re._readableState;oe&&!oe.errorEmitted?Le(re,ie):re.emit("error",ie)}}function d(){re.removeListener("finish",p),b()}function p(){Ce("onfinish"),re.removeListener("close",d),b()}function b(){Ce("unpipe"),oe.unpipe(re)}return oe.on("data",c),be(re,"error",f),re.once("close",d),re.once("finish",p),re.emit("pipe",oe),!0===re.writableNeedDrain?ae.flowing&&u():ae.flowing||(Ce("pipe resume"),oe.resume()),re},D.prototype.unpipe=function(re){const ie=this._readableState;if(0===ie.pipes.length)return this;if(!re){const re=ie.pipes;ie.pipes=[],this.pause();for(let ie=0;ie0,!1!==ae.flowing&&this.resume()):"readable"===re&&(ae.endEmitted||ae.readableListening||(ae.readableListening=ae.needReadable=!0,ae.flowing=!1,ae.emittedReadable=!1,Ce("on readable",ae.length,ae.reading),ae.length?G(this):ae.reading||se.nextTick(q,this))),oe},D.prototype.addListener=D.prototype.on,D.prototype.removeListener=function(re,ie){const oe=ve.prototype.removeListener.call(this,re,ie);return"readable"===re&&se.nextTick(K,this),oe},D.prototype.off=D.prototype.removeListener,D.prototype.removeAllListeners=function(re){const ie=ve.prototype.removeAllListeners.apply(this,arguments);return"readable"!==re&&void 0!==re||se.nextTick(K,this),ie},D.prototype.resume=function(){const re=this._readableState;return re.flowing||(Ce("resume"),re.flowing=!re.readableListening,function(re,ie){ie.resumeScheduled||(ie.resumeScheduled=!0,se.nextTick(z,re,ie))}(this,re)),re[Me]=!1,this},D.prototype.pause=function(){return Ce("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(Ce("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState[Me]=!0,this},D.prototype.wrap=function(re){let ie=!1;re.on("data",(oe=>{!this.push(oe)&&re.pause&&(ie=!0,re.pause())})),re.on("end",(()=>{this.push(null)})),re.on("error",(re=>{Le(this,re)})),re.on("close",(()=>{this.destroy()})),re.on("destroy",(()=>{this.destroy()})),this._read=()=>{ie&&re.resume&&(ie=!1,re.resume())};const oe=de(re);for(let ie=1;ie{"use strict";const{MathFloor:se,NumberIsInteger:ae}=oe(9061),{ERR_INVALID_ARG_VALUE:ce}=oe(4381).codes;function s(re){return re?16:16384}re.exports={getHighWaterMark:function(re,ie,oe,ue){const le=function(re,ie,oe){return null!=re.highWaterMark?re.highWaterMark:ie?re[oe]:null}(ie,ue,oe);if(null!=le){if(!ae(le)||le<0)throw new ce(ue?`options.${oe}`:"options.highWaterMark",le);return se(le)}return s(re.objectMode)},getDefaultHighWaterMark:s}},1161:(re,ie,oe)=>{"use strict";const{ObjectSetPrototypeOf:se,Symbol:ae}=oe(9061);re.exports=u;const{ERR_METHOD_NOT_IMPLEMENTED:ce}=oe(4381).codes,ue=oe(8672),{getHighWaterMark:le}=oe(2457);se(u.prototype,ue.prototype),se(u,ue);const fe=ae("kCallback");function u(re){if(!(this instanceof u))return new u(re);const ie=re?le(this,re,"readableHighWaterMark",!0):null;0===ie&&(re={...re,highWaterMark:null,readableHighWaterMark:ie,writableHighWaterMark:re.writableHighWaterMark||0}),ue.call(this,re),this._readableState.sync=!1,this[fe]=null,re&&("function"==typeof re.transform&&(this._transform=re.transform),"function"==typeof re.flush&&(this._flush=re.flush)),this.on("prefinish",f)}function c(re){"function"!=typeof this._flush||this.destroyed?(this.push(null),re&&re()):this._flush(((ie,oe)=>{ie?re?re(ie):this.destroy(ie):(null!=oe&&this.push(oe),this.push(null),re&&re())}))}function f(){this._final!==c&&c.call(this)}u.prototype._final=c,u.prototype._transform=function(re,ie,oe){throw new ce("_transform()")},u.prototype._write=function(re,ie,oe){const se=this._readableState,ae=this._writableState,ce=se.length;this._transform(re,ie,((re,ie)=>{re?oe(re):(null!=ie&&this.push(ie),ae.ended||ce===se.length||se.length{"use strict";const{Symbol:se,SymbolAsyncIterator:ae,SymbolIterator:ce,SymbolFor:ue}=oe(9061),le=se("kDestroyed"),fe=se("kIsErrored"),de=se("kIsReadable"),pe=se("kIsDisturbed"),he=ue("nodejs.webstream.isClosedPromise"),Ae=ue("nodejs.webstream.controllerErrorFunction");function d(re,ie=!1){var oe;return!(!re||"function"!=typeof re.pipe||"function"!=typeof re.on||ie&&("function"!=typeof re.pause||"function"!=typeof re.resume)||re._writableState&&!1===(null===(oe=re._readableState)||void 0===oe?void 0:oe.readable)||re._writableState&&!re._readableState)}function p(re){var ie;return!(!re||"function"!=typeof re.write||"function"!=typeof re.on||re._readableState&&!1===(null===(ie=re._writableState)||void 0===ie?void 0:ie.writable))}function b(re){return re&&(re._readableState||re._writableState||"function"==typeof re.write&&"function"==typeof re.on||"function"==typeof re.pipe&&"function"==typeof re.on)}function y(re){return!(!re||b(re)||"function"!=typeof re.pipeThrough||"function"!=typeof re.getReader||"function"!=typeof re.cancel)}function g(re){return!(!re||b(re)||"function"!=typeof re.getWriter||"function"!=typeof re.abort)}function w(re){return!(!re||b(re)||"object"!=typeof re.readable||"object"!=typeof re.writable)}function _(re){if(!b(re))return null;const ie=re._writableState,oe=re._readableState,se=ie||oe;return!!(re.destroyed||re[le]||null!=se&&se.destroyed)}function m(re){if(!p(re))return null;if(!0===re.writableEnded)return!0;const ie=re._writableState;return(null==ie||!ie.errored)&&("boolean"!=typeof(null==ie?void 0:ie.ended)?null:ie.ended)}function E(re,ie){if(!d(re))return null;const oe=re._readableState;return(null==oe||!oe.errored)&&("boolean"!=typeof(null==oe?void 0:oe.endEmitted)?null:!!(oe.endEmitted||!1===ie&&!0===oe.ended&&0===oe.length))}function S(re){return re&&null!=re[de]?re[de]:"boolean"!=typeof(null==re?void 0:re.readable)?null:!_(re)&&d(re)&&re.readable&&!E(re)}function v(re){return"boolean"!=typeof(null==re?void 0:re.writable)?null:!_(re)&&p(re)&&re.writable&&!m(re)}function A(re){return"boolean"==typeof re._closed&&"boolean"==typeof re._defaultKeepAlive&&"boolean"==typeof re._removedConnection&&"boolean"==typeof re._removedContLen}function I(re){return"boolean"==typeof re._sent100&&A(re)}re.exports={kDestroyed:le,isDisturbed:function(re){var ie;return!(!re||!(null!==(ie=re[pe])&&void 0!==ie?ie:re.readableDidRead||re.readableAborted))},kIsDisturbed:pe,isErrored:function(re){var ie,oe,se,ae,ce,ue,le,de,pe,he;return!(!re||!(null!==(ie=null!==(oe=null!==(se=null!==(ae=null!==(ce=null!==(ue=re[fe])&&void 0!==ue?ue:re.readableErrored)&&void 0!==ce?ce:re.writableErrored)&&void 0!==ae?ae:null===(le=re._readableState)||void 0===le?void 0:le.errorEmitted)&&void 0!==se?se:null===(de=re._writableState)||void 0===de?void 0:de.errorEmitted)&&void 0!==oe?oe:null===(pe=re._readableState)||void 0===pe?void 0:pe.errored)&&void 0!==ie?ie:null===(he=re._writableState)||void 0===he?void 0:he.errored))},kIsErrored:fe,isReadable:S,kIsReadable:de,kIsClosedPromise:he,kControllerErrorFunction:Ae,isClosed:function(re){if(!b(re))return null;if("boolean"==typeof re.closed)return re.closed;const ie=re._writableState,oe=re._readableState;return"boolean"==typeof(null==ie?void 0:ie.closed)||"boolean"==typeof(null==oe?void 0:oe.closed)?(null==ie?void 0:ie.closed)||(null==oe?void 0:oe.closed):"boolean"==typeof re._closed&&A(re)?re._closed:null},isDestroyed:_,isDuplexNodeStream:function(re){return!(!re||"function"!=typeof re.pipe||!re._readableState||"function"!=typeof re.on||"function"!=typeof re.write)},isFinished:function(re,ie){return b(re)?!(!_(re)&&(!1!==(null==ie?void 0:ie.readable)&&S(re)||!1!==(null==ie?void 0:ie.writable)&&v(re))):null},isIterable:function(re,ie){return null!=re&&(!0===ie?"function"==typeof re[ae]:!1===ie?"function"==typeof re[ce]:"function"==typeof re[ae]||"function"==typeof re[ce])},isReadableNodeStream:d,isReadableStream:y,isReadableEnded:function(re){if(!d(re))return null;if(!0===re.readableEnded)return!0;const ie=re._readableState;return!(!ie||ie.errored)&&("boolean"!=typeof(null==ie?void 0:ie.ended)?null:ie.ended)},isReadableFinished:E,isReadableErrored:function(re){var ie,oe;return b(re)?re.readableErrored?re.readableErrored:null!==(ie=null===(oe=re._readableState)||void 0===oe?void 0:oe.errored)&&void 0!==ie?ie:null:null},isNodeStream:b,isWebStream:function(re){return y(re)||g(re)||w(re)},isWritable:v,isWritableNodeStream:p,isWritableStream:g,isWritableEnded:m,isWritableFinished:function(re,ie){if(!p(re))return null;if(!0===re.writableFinished)return!0;const oe=re._writableState;return(null==oe||!oe.errored)&&("boolean"!=typeof(null==oe?void 0:oe.finished)?null:!!(oe.finished||!1===ie&&!0===oe.ended&&0===oe.length))},isWritableErrored:function(re){var ie,oe;return b(re)?re.writableErrored?re.writableErrored:null!==(ie=null===(oe=re._writableState)||void 0===oe?void 0:oe.errored)&&void 0!==ie?ie:null:null},isServerRequest:function(re){var ie;return"boolean"==typeof re._consuming&&"boolean"==typeof re._dumped&&void 0===(null===(ie=re.req)||void 0===ie?void 0:ie.upgradeOrConnect)},isServerResponse:I,willEmitClose:function(re){if(!b(re))return null;const ie=re._writableState,oe=re._readableState,se=ie||oe;return!se&&I(re)||!!(se&&se.autoDestroy&&se.emitClose&&!1===se.closed)},isTransformStream:w}},6304:(re,ie,oe)=>{const se=oe(4155),{ArrayPrototypeSlice:ae,Error:ce,FunctionPrototypeSymbolHasInstance:ue,ObjectDefineProperty:le,ObjectDefineProperties:fe,ObjectSetPrototypeOf:de,StringPrototypeToLowerCase:pe,Symbol:he,SymbolHasInstance:Ae}=oe(9061);re.exports=x,x.WritableState=O;const{EventEmitter:ge}=oe(7187),me=oe(4870).Stream,{Buffer:ye}=oe(8764),ve=oe(1195),{addAbortSignal:be}=oe(196),{getHighWaterMark:we,getDefaultHighWaterMark:_e}=oe(2457),{ERR_INVALID_ARG_TYPE:Ee,ERR_METHOD_NOT_IMPLEMENTED:Ce,ERR_MULTIPLE_CALLBACK:Ie,ERR_STREAM_CANNOT_PIPE:Se,ERR_STREAM_DESTROYED:Be,ERR_STREAM_ALREADY_FINISHED:xe,ERR_STREAM_NULL_VALUES:ke,ERR_STREAM_WRITE_AFTER_END:Oe,ERR_UNKNOWN_ENCODING:De}=oe(4381).codes,{errorOrDestroy:Pe}=ve;function L(){}de(x.prototype,me.prototype),de(x,me);const Te=he("kOnFinished");function O(re,ie,se){"boolean"!=typeof se&&(se=ie instanceof oe(8672)),this.objectMode=!(!re||!re.objectMode),se&&(this.objectMode=this.objectMode||!(!re||!re.writableObjectMode)),this.highWaterMark=re?we(this,re,"writableHighWaterMark",se):_e(!1),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;const ae=!(!re||!1!==re.decodeStrings);this.decodeStrings=!ae,this.defaultEncoding=re&&re.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=F.bind(void 0,ie),this.writecb=null,this.writelen=0,this.afterWriteTickInfo=null,M(this),this.pendingcb=0,this.constructed=!0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!re||!1!==re.emitClose,this.autoDestroy=!re||!1!==re.autoDestroy,this.errored=null,this.closed=!1,this.closeEmitted=!1,this[Te]=[]}function M(re){re.buffered=[],re.bufferedIndex=0,re.allBuffers=!0,re.allNoop=!0}function x(re){const ie=this instanceof oe(8672);if(!ie&&!ue(x,this))return new x(re);this._writableState=new O(re,this,ie),re&&("function"==typeof re.write&&(this._write=re.write),"function"==typeof re.writev&&(this._writev=re.writev),"function"==typeof re.destroy&&(this._destroy=re.destroy),"function"==typeof re.final&&(this._final=re.final),"function"==typeof re.construct&&(this._construct=re.construct),re.signal&&be(re.signal,this)),me.call(this,re),ve.construct(this,(()=>{const re=this._writableState;re.writing||W(this,re),Y(this,re)}))}function k(re,ie,oe,ae){const ce=re._writableState;if("function"==typeof oe)ae=oe,oe=ce.defaultEncoding;else{if(oe){if("buffer"!==oe&&!ye.isEncoding(oe))throw new De(oe)}else oe=ce.defaultEncoding;"function"!=typeof ae&&(ae=L)}if(null===ie)throw new ke;if(!ce.objectMode)if("string"==typeof ie)!1!==ce.decodeStrings&&(ie=ye.from(ie,oe),oe="buffer");else if(ie instanceof ye)oe="buffer";else{if(!me._isUint8Array(ie))throw new Ee("chunk",["string","Buffer","Uint8Array"],ie);ie=me._uint8ArrayToBuffer(ie),oe="buffer"}let ue;return ce.ending?ue=new Oe:ce.destroyed&&(ue=new Be("write")),ue?(se.nextTick(ae,ue),Pe(re,ue,!0),ue):(ce.pendingcb++,function(re,ie,oe,se,ae){const ce=ie.objectMode?1:oe.length;ie.length+=ce;const ue=ie.lengthoe.bufferedIndex&&W(re,oe),ae?null!==oe.afterWriteTickInfo&&oe.afterWriteTickInfo.cb===ce?oe.afterWriteTickInfo.count++:(oe.afterWriteTickInfo={count:1,cb:ce,stream:re,state:oe},se.nextTick(D,oe.afterWriteTickInfo)):C(re,oe,1,ce))):Pe(re,new Ie)}function D({stream:re,state:ie,count:oe,cb:se}){return ie.afterWriteTickInfo=null,C(re,ie,oe,se)}function C(re,ie,oe,se){for(!ie.ending&&!re.destroyed&&0===ie.length&&ie.needDrain&&(ie.needDrain=!1,re.emit("drain"));oe-- >0;)ie.pendingcb--,se();ie.destroyed&&$(ie),Y(re,ie)}function $(re){if(re.writing)return;for(let oe=re.bufferedIndex;oe1&&re._writev){ie.pendingcb-=ue-1;const se=ie.allNoop?L:re=>{for(let ie=le;ie256?(oe.splice(0,le),ie.bufferedIndex=0):ie.bufferedIndex=le}ie.bufferProcessing=!1}function G(re){return re.ending&&!re.destroyed&&re.constructed&&0===re.length&&!re.errored&&0===re.buffered.length&&!re.finished&&!re.writing&&!re.errorEmitted&&!re.closeEmitted}function Y(re,ie,oe){G(ie)&&(function(re,ie){ie.prefinished||ie.finalCalled||("function"!=typeof re._final||ie.destroyed?(ie.prefinished=!0,re.emit("prefinish")):(ie.finalCalled=!0,function(re,ie){let oe=!1;function i(ae){if(oe)Pe(re,null!=ae?ae:Ie());else if(oe=!0,ie.pendingcb--,ae){const oe=ie[Te].splice(0);for(let re=0;re{G(ie)?H(re,ie):ie.pendingcb--}),re,ie)):G(ie)&&(ie.pendingcb++,H(re,ie))))}function H(re,ie){ie.pendingcb--,ie.finished=!0;const oe=ie[Te].splice(0);for(let re=0;re{"use strict";const{ArrayIsArray:se,ArrayPrototypeIncludes:ae,ArrayPrototypeJoin:ce,ArrayPrototypeMap:ue,NumberIsInteger:le,NumberIsNaN:fe,NumberMAX_SAFE_INTEGER:de,NumberMIN_SAFE_INTEGER:pe,NumberParseInt:he,ObjectPrototypeHasOwnProperty:Ae,RegExpPrototypeExec:ge,String:me,StringPrototypeToUpperCase:ye,StringPrototypeTrim:ve}=oe(9061),{hideStackFrames:be,codes:{ERR_SOCKET_BAD_PORT:we,ERR_INVALID_ARG_TYPE:_e,ERR_INVALID_ARG_VALUE:Ee,ERR_OUT_OF_RANGE:Ce,ERR_UNKNOWN_SIGNAL:Ie}}=oe(4381),{normalizeEncoding:Se}=oe(6087),{isAsyncFunction:Be,isArrayBufferView:xe}=oe(6087).types,ke={},Oe=/^[0-7]+$/,De=be(((re,ie,oe=pe,se=de)=>{if("number"!=typeof re)throw new _e(ie,"number",re);if(!le(re))throw new Ce(ie,"an integer",re);if(rese)throw new Ce(ie,`>= ${oe} && <= ${se}`,re)})),Pe=be(((re,ie,oe=-2147483648,se=2147483647)=>{if("number"!=typeof re)throw new _e(ie,"number",re);if(!le(re))throw new Ce(ie,"an integer",re);if(rese)throw new Ce(ie,`>= ${oe} && <= ${se}`,re)})),Te=be(((re,ie,oe=!1)=>{if("number"!=typeof re)throw new _e(ie,"number",re);if(!le(re))throw new Ce(ie,"an integer",re);const se=oe?1:0,ae=4294967295;if(reae)throw new Ce(ie,`>= ${se} && <= ${ae}`,re)}));function U(re,ie){if("string"!=typeof re)throw new _e(ie,"string",re)}const Qe=be(((re,ie,oe)=>{if(!ae(oe,re)){const se=ce(ue(oe,(re=>"string"==typeof re?`'${re}'`:me(re))),", ");throw new Ee(ie,re,"must be one of: "+se)}}));function M(re,ie){if("boolean"!=typeof re)throw new _e(ie,"boolean",re)}function x(re,ie,oe){return null!=re&&Ae(re,ie)?re[ie]:oe}const Re=be(((re,ie,oe=null)=>{const ae=x(oe,"allowArray",!1),ce=x(oe,"allowFunction",!1);if(!x(oe,"nullable",!1)&&null===re||!ae&&se(re)||"object"!=typeof re&&(!ce||"function"!=typeof re))throw new _e(ie,"Object",re)})),Me=be(((re,ie)=>{if(null!=re&&"object"!=typeof re&&"function"!=typeof re)throw new _e(ie,"a dictionary",re)})),Ne=be(((re,ie,oe=0)=>{if(!se(re))throw new _e(ie,"Array",re);if(re.length{if(!xe(re))throw new _e(ie,["Buffer","TypedArray","DataView"],re)})),Le=be(((re,ie)=>{if(void 0!==re&&(null===re||"object"!=typeof re||!("aborted"in re)))throw new _e(ie,"AbortSignal",re)})),Fe=be(((re,ie)=>{if("function"!=typeof re)throw new _e(ie,"Function",re)})),Ue=be(((re,ie)=>{if("function"!=typeof re||Be(re))throw new _e(ie,"Function",re)})),He=be(((re,ie)=>{if(void 0!==re)throw new _e(ie,"undefined",re)})),qe=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function Y(re,ie){if(void 0===re||!ge(qe,re))throw new Ee(ie,re,'must be an array or string of format "; rel=preload; as=style"')}re.exports={isInt32:function(re){return re===(0|re)},isUint32:function(re){return re===re>>>0},parseFileMode:function(re,ie,oe){if(void 0===re&&(re=oe),"string"==typeof re){if(null===ge(Oe,re))throw new Ee(ie,re,"must be a 32-bit unsigned integer or an octal string");re=he(re,8)}return Te(re,ie),re},validateArray:Ne,validateStringArray:function(re,ie){Ne(re,ie);for(let oe=0;oese||(null!=oe||null!=se)&&fe(re))throw new Ce(ie,`${null!=oe?`>= ${oe}`:""}${null!=oe&&null!=se?" && ":""}${null!=se?`<= ${se}`:""}`,re)},validateObject:Re,validateOneOf:Qe,validatePlainFunction:Ue,validatePort:function(re,ie="Port",oe=!0){if("number"!=typeof re&&"string"!=typeof re||"string"==typeof re&&0===ve(re).length||+re!=+re>>>0||re>65535||0===re&&!oe)throw new we(ie,re,oe);return 0|re},validateSignalName:function(re,ie="signal"){if(U(re,ie),void 0===ke[re]){if(void 0!==ke[ye(re)])throw new Ie(re+" (signals must use all capital letters)");throw new Ie(re)}},validateString:U,validateUint32:Te,validateUndefined:He,validateUnion:function(re,ie,oe){if(!ae(oe,re))throw new _e(ie,`('${ce(oe,"|")}')`,re)},validateAbortSignal:Le,validateLinkHeaderValue:function(re){if("string"==typeof re)return Y(re,"hints"),re;if(se(re)){const ie=re.length;let oe="";if(0===ie)return oe;for(let se=0;se; rel=preload; as=style"')}}},4381:(re,ie,oe)=>{"use strict";const{format:se,inspect:ae,AggregateError:ce}=oe(6087),ue=globalThis.AggregateError||ce,le=Symbol("kIsNodeError"),fe=["string","function","number","object","Function","Object","boolean","bigint","symbol"],de=/^([A-Z][a-z0-9]*)+$/,pe={};function f(re,ie){if(!re)throw new pe.ERR_INTERNAL_ASSERTION(ie)}function h(re){let ie="",oe=re.length;const se="-"===re[0]?1:0;for(;oe>=se+4;oe-=3)ie=`_${re.slice(oe-3,oe)}${ie}`;return`${re.slice(0,oe)}${ie}`}function d(re,ie,oe){oe||(oe=Error);class i extends oe{constructor(...oe){super(function(re,ie,oe){if("function"==typeof ie)return f(ie.length<=oe.length,`Code: ${re}; The provided arguments length (${oe.length}) does not match the required ones (${ie.length}).`),ie(...oe);const ae=(ie.match(/%[dfijoOs]/g)||[]).length;return f(ae===oe.length,`Code: ${re}; The provided arguments length (${oe.length}) does not match the required ones (${ae}).`),0===oe.length?ie:se(ie,...oe)}(re,ie,oe))}toString(){return`${this.name} [${re}]: ${this.message}`}}Object.defineProperties(i.prototype,{name:{value:oe.name,writable:!0,enumerable:!1,configurable:!0},toString:{value(){return`${this.name} [${re}]: ${this.message}`},writable:!0,enumerable:!1,configurable:!0}}),i.prototype.code=re,i.prototype[le]=!0,pe[re]=i}function p(re){const ie="__node_internal_"+re.name;return Object.defineProperty(re,"name",{value:ie}),re}class b extends Error{constructor(re="The operation was aborted",ie=void 0){if(void 0!==ie&&"object"!=typeof ie)throw new pe.ERR_INVALID_ARG_TYPE("options","Object",ie);super(re,ie),this.code="ABORT_ERR",this.name="AbortError"}}d("ERR_ASSERTION","%s",Error),d("ERR_INVALID_ARG_TYPE",((re,ie,oe)=>{f("string"==typeof re,"'name' must be a string"),Array.isArray(ie)||(ie=[ie]);let se="The ";re.endsWith(" argument")?se+=`${re} `:se+=`"${re}" ${re.includes(".")?"property":"argument"} `,se+="must be ";const ce=[],ue=[],le=[];for(const re of ie)f("string"==typeof re,"All expected entries have to be of type string"),fe.includes(re)?ce.push(re.toLowerCase()):de.test(re)?ue.push(re):(f("object"!==re,'The value "object" should be written as "Object"'),le.push(re));if(ue.length>0){const re=ce.indexOf("object");-1!==re&&(ce.splice(ce,re,1),ue.push("Object"))}if(ce.length>0){switch(ce.length){case 1:se+=`of type ${ce[0]}`;break;case 2:se+=`one of type ${ce[0]} or ${ce[1]}`;break;default:{const re=ce.pop();se+=`one of type ${ce.join(", ")}, or ${re}`}}(ue.length>0||le.length>0)&&(se+=" or ")}if(ue.length>0){switch(ue.length){case 1:se+=`an instance of ${ue[0]}`;break;case 2:se+=`an instance of ${ue[0]} or ${ue[1]}`;break;default:{const re=ue.pop();se+=`an instance of ${ue.join(", ")}, or ${re}`}}le.length>0&&(se+=" or ")}switch(le.length){case 0:break;case 1:le[0].toLowerCase()!==le[0]&&(se+="an "),se+=`${le[0]}`;break;case 2:se+=`one of ${le[0]} or ${le[1]}`;break;default:{const re=le.pop();se+=`one of ${le.join(", ")}, or ${re}`}}if(null==oe)se+=`. Received ${oe}`;else if("function"==typeof oe&&oe.name)se+=`. Received function ${oe.name}`;else if("object"==typeof oe){var pe;null!==(pe=oe.constructor)&&void 0!==pe&&pe.name?se+=`. Received an instance of ${oe.constructor.name}`:se+=`. Received ${ae(oe,{depth:-1})}`}else{let re=ae(oe,{colors:!1});re.length>25&&(re=`${re.slice(0,25)}...`),se+=`. Received type ${typeof oe} (${re})`}return se}),TypeError),d("ERR_INVALID_ARG_VALUE",((re,ie,oe="is invalid")=>{let se=ae(ie);return se.length>128&&(se=se.slice(0,128)+"..."),`The ${re.includes(".")?"property":"argument"} '${re}' ${oe}. Received ${se}`}),TypeError),d("ERR_INVALID_RETURN_VALUE",((re,ie,oe)=>{var se;return`Expected ${re} to be returned from the "${ie}" function but got ${null!=oe&&null!==(se=oe.constructor)&&void 0!==se&&se.name?`instance of ${oe.constructor.name}`:"type "+typeof oe}.`}),TypeError),d("ERR_MISSING_ARGS",((...re)=>{let ie;f(re.length>0,"At least one arg needs to be specified");const oe=re.length;switch(re=(Array.isArray(re)?re:[re]).map((re=>`"${re}"`)).join(" or "),oe){case 1:ie+=`The ${re[0]} argument`;break;case 2:ie+=`The ${re[0]} and ${re[1]} arguments`;break;default:{const oe=re.pop();ie+=`The ${re.join(", ")}, and ${oe} arguments`}}return`${ie} must be specified`}),TypeError),d("ERR_OUT_OF_RANGE",((re,ie,oe)=>{let se;return f(ie,'Missing "range" argument'),Number.isInteger(oe)&&Math.abs(oe)>2**32?se=h(String(oe)):"bigint"==typeof oe?(se=String(oe),(oe>2n**32n||oe<-(2n**32n))&&(se=h(se)),se+="n"):se=ae(oe),`The value of "${re}" is out of range. It must be ${ie}. Received ${se}`}),RangeError),d("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error),d("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error),d("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error),d("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error),d("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error),d("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),d("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error),d("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error),d("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error),d("ERR_STREAM_WRITE_AFTER_END","write after end",Error),d("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError),re.exports={AbortError:b,aggregateTwoErrors:p((function(re,ie){if(re&&ie&&re!==ie){if(Array.isArray(ie.errors))return ie.errors.push(re),ie;const oe=new ue([ie,re],ie.message);return oe.code=ie.code,oe}return re||ie})),hideStackFrames:p,codes:pe}},9061:re=>{"use strict";re.exports={ArrayIsArray:re=>Array.isArray(re),ArrayPrototypeIncludes:(re,ie)=>re.includes(ie),ArrayPrototypeIndexOf:(re,ie)=>re.indexOf(ie),ArrayPrototypeJoin:(re,ie)=>re.join(ie),ArrayPrototypeMap:(re,ie)=>re.map(ie),ArrayPrototypePop:(re,ie)=>re.pop(ie),ArrayPrototypePush:(re,ie)=>re.push(ie),ArrayPrototypeSlice:(re,ie,oe)=>re.slice(ie,oe),Error:Error,FunctionPrototypeCall:(re,ie,...oe)=>re.call(ie,...oe),FunctionPrototypeSymbolHasInstance:(re,ie)=>Function.prototype[Symbol.hasInstance].call(re,ie),MathFloor:Math.floor,Number:Number,NumberIsInteger:Number.isInteger,NumberIsNaN:Number.isNaN,NumberMAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER,NumberMIN_SAFE_INTEGER:Number.MIN_SAFE_INTEGER,NumberParseInt:Number.parseInt,ObjectDefineProperties:(re,ie)=>Object.defineProperties(re,ie),ObjectDefineProperty:(re,ie,oe)=>Object.defineProperty(re,ie,oe),ObjectGetOwnPropertyDescriptor:(re,ie)=>Object.getOwnPropertyDescriptor(re,ie),ObjectKeys:re=>Object.keys(re),ObjectSetPrototypeOf:(re,ie)=>Object.setPrototypeOf(re,ie),Promise:Promise,PromisePrototypeCatch:(re,ie)=>re.catch(ie),PromisePrototypeThen:(re,ie,oe)=>re.then(ie,oe),PromiseReject:re=>Promise.reject(re),ReflectApply:Reflect.apply,RegExpPrototypeTest:(re,ie)=>re.test(ie),SafeSet:Set,String:String,StringPrototypeSlice:(re,ie,oe)=>re.slice(ie,oe),StringPrototypeToLowerCase:re=>re.toLowerCase(),StringPrototypeToUpperCase:re=>re.toUpperCase(),StringPrototypeTrim:re=>re.trim(),Symbol:Symbol,SymbolFor:Symbol.for,SymbolAsyncIterator:Symbol.asyncIterator,SymbolHasInstance:Symbol.hasInstance,SymbolIterator:Symbol.iterator,TypedArrayPrototypeSet:(re,ie,oe)=>re.set(ie,oe),Uint8Array:Uint8Array}},6087:(re,ie,oe)=>{"use strict";const se=oe(8764),ae=Object.getPrototypeOf((async function(){})).constructor,ce=globalThis.Blob||se.Blob,ue=void 0!==ce?function(re){return re instanceof ce}:function(re){return!1};class a extends Error{constructor(re){if(!Array.isArray(re))throw new TypeError("Expected input to be an Array, got "+typeof re);let ie="";for(let oe=0;oe{re=oe,ie=se})),resolve:re,reject:ie}},promisify:re=>new Promise(((ie,oe)=>{re(((re,...se)=>re?oe(re):ie(...se)))})),debuglog:()=>function(){},format:(re,...ie)=>re.replace(/%([sdifj])/g,(function(...[re,oe]){const se=ie.shift();return"f"===oe?se.toFixed(6):"j"===oe?JSON.stringify(se):"s"===oe&&"object"==typeof se?`${se.constructor!==Object?se.constructor.name:""} {}`.trim():se.toString()})),inspect(re){switch(typeof re){case"string":if(re.includes("'")){if(!re.includes('"'))return`"${re}"`;if(!re.includes("`")&&!re.includes("${"))return`\`${re}\``}return`'${re}'`;case"number":return isNaN(re)?"NaN":Object.is(re,-0)?String(re):re;case"bigint":return`${String(re)}n`;case"boolean":case"undefined":return String(re);case"object":return"{}"}},types:{isAsyncFunction:re=>re instanceof ae,isArrayBufferView:re=>ArrayBuffer.isView(re)},isBlob:ue},re.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")},5099:(re,ie,oe)=>{const{Buffer:se}=oe(8764),{ObjectDefineProperty:ae,ObjectKeys:ce,ReflectApply:ue}=oe(9061),{promisify:{custom:le}}=oe(6087),{streamReturningOperators:fe,promiseReturningOperators:de}=oe(4382),{codes:{ERR_ILLEGAL_CONSTRUCTOR:pe}}=oe(4381),he=oe(299),{pipeline:Ae}=oe(9946),{destroyer:ge}=oe(1195),me=oe(8610),ye=oe(7854),ve=oe(5874),be=re.exports=oe(4870).Stream;be.isDisturbed=ve.isDisturbed,be.isErrored=ve.isErrored,be.isReadable=ve.isReadable,be.Readable=oe(911);for(const re of ce(fe)){const ie=fe[re];function w(...re){if(new.target)throw pe();return be.Readable.from(ue(ie,this,re))}ae(w,"name",{__proto__:null,value:ie.name}),ae(w,"length",{__proto__:null,value:ie.length}),ae(be.Readable.prototype,re,{__proto__:null,value:w,enumerable:!1,configurable:!0,writable:!0})}for(const re of ce(de)){const ie=de[re];function w(...re){if(new.target)throw pe();return ue(ie,this,re)}ae(w,"name",{__proto__:null,value:ie.name}),ae(w,"length",{__proto__:null,value:ie.length}),ae(be.Readable.prototype,re,{__proto__:null,value:w,enumerable:!1,configurable:!0,writable:!0})}be.Writable=oe(6304),be.Duplex=oe(8672),be.Transform=oe(1161),be.PassThrough=oe(917),be.pipeline=Ae;const{addAbortSignal:we}=oe(196);be.addAbortSignal=we,be.finished=me,be.destroy=ge,be.compose=he,ae(be,"promises",{__proto__:null,configurable:!0,enumerable:!0,get:()=>ye}),ae(Ae,le,{__proto__:null,enumerable:!0,get:()=>ye.pipeline}),ae(me,le,{__proto__:null,enumerable:!0,get:()=>ye.finished}),be.Stream=be,be._isUint8Array=function(re){return re instanceof Uint8Array},be._uint8ArrayToBuffer=function(re){return se.from(re.buffer,re.byteOffset,re.byteLength)}},7854:(re,ie,oe)=>{"use strict";const{ArrayPrototypePop:se,Promise:ae}=oe(9061),{isIterable:ce,isNodeStream:ue,isWebStream:le}=oe(5874),{pipelineImpl:fe}=oe(9946),{finished:de}=oe(8610);oe(2830),re.exports={finished:de,pipeline:function(...re){return new ae(((ie,oe)=>{let ae,de;const pe=re[re.length-1];if(pe&&"object"==typeof pe&&!ue(pe)&&!ce(pe)&&!le(pe)){const ie=se(re);ae=ie.signal,de=ie.end}fe(re,((re,se)=>{re?oe(re):ie(se)}),{signal:ae,end:de})}))}}},9509:(re,ie,oe)=>{var se=oe(8764),ae=se.Buffer;function o(re,ie){for(var oe in re)ie[oe]=re[oe]}function s(re,ie,oe){return ae(re,ie,oe)}ae.from&&ae.alloc&&ae.allocUnsafe&&ae.allocUnsafeSlow?re.exports=se:(o(se,ie),ie.Buffer=s),s.prototype=Object.create(ae.prototype),o(ae,s),s.from=function(re,ie,oe){if("number"==typeof re)throw new TypeError("Argument must not be a number");return ae(re,ie,oe)},s.alloc=function(re,ie,oe){if("number"!=typeof re)throw new TypeError("Argument must be a number");var se=ae(re);return void 0!==ie?"string"==typeof oe?se.fill(ie,oe):se.fill(ie):se.fill(0),se},s.allocUnsafe=function(re){if("number"!=typeof re)throw new TypeError("Argument must be a number");return ae(re)},s.allocUnsafeSlow=function(re){if("number"!=typeof re)throw new TypeError("Argument must be a number");return se.SlowBuffer(re)}},2830:(re,ie,oe)=>{re.exports=i;var se=oe(7187).EventEmitter;function i(){se.call(this)}oe(5717)(i,se),i.Readable=oe(9481),i.Writable=oe(4229),i.Duplex=oe(6753),i.Transform=oe(4605),i.PassThrough=oe(2725),i.finished=oe(8610),i.pipeline=oe(9946),i.Stream=i,i.prototype.pipe=function(re,ie){var oe=this;function i(ie){re.writable&&!1===re.write(ie)&&oe.pause&&oe.pause()}function o(){oe.readable&&oe.resume&&oe.resume()}oe.on("data",i),re.on("drain",o),re._isStdio||ie&&!1===ie.end||(oe.on("end",a),oe.on("close",l));var ae=!1;function a(){ae||(ae=!0,re.end())}function l(){ae||(ae=!0,"function"==typeof re.destroy&&re.destroy())}function u(re){if(c(),0===se.listenerCount(this,"error"))throw re}function c(){oe.removeListener("data",i),re.removeListener("drain",o),oe.removeListener("end",a),oe.removeListener("close",l),oe.removeListener("error",u),re.removeListener("error",u),oe.removeListener("end",c),oe.removeListener("close",c),re.removeListener("close",c)}return oe.on("error",u),re.on("error",u),oe.on("end",c),oe.on("close",c),re.on("close",c),re.emit("pipe",oe),re}},2553:(re,ie,oe)=>{"use strict";var se=oe(9509).Buffer,ae=se.isEncoding||function(re){switch((re=""+re)&&re.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(re){var ie;switch(this.encoding=function(re){var ie=function(re){if(!re)return"utf8";for(var ie;;)switch(re){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return re;default:if(ie)return;re=(""+re).toLowerCase(),ie=!0}}(re);if("string"!=typeof ie&&(se.isEncoding===ae||!ae(re)))throw new Error("Unknown encoding: "+re);return ie||re}(re),this.encoding){case"utf16le":this.text=l,this.end=u,ie=4;break;case"utf8":this.fillLast=a,ie=4;break;case"base64":this.text=c,this.end=f,ie=3;break;default:return this.write=h,void(this.end=d)}this.lastNeed=0,this.lastTotal=0,this.lastChar=se.allocUnsafe(ie)}function s(re){return re<=127?0:re>>5==6?2:re>>4==14?3:re>>3==30?4:re>>6==2?-1:-2}function a(re){var ie=this.lastTotal-this.lastNeed,oe=function(re,ie,oe){if(128!=(192&ie[0]))return re.lastNeed=0,"�";if(re.lastNeed>1&&ie.length>1){if(128!=(192&ie[1]))return re.lastNeed=1,"�";if(re.lastNeed>2&&ie.length>2&&128!=(192&ie[2]))return re.lastNeed=2,"�"}}(this,re);return void 0!==oe?oe:this.lastNeed<=re.length?(re.copy(this.lastChar,ie,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(re.copy(this.lastChar,ie,0,re.length),void(this.lastNeed-=re.length))}function l(re,ie){if((re.length-ie)%2==0){var oe=re.toString("utf16le",ie);if(oe){var se=oe.charCodeAt(oe.length-1);if(se>=55296&&se<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=re[re.length-2],this.lastChar[1]=re[re.length-1],oe.slice(0,-1)}return oe}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=re[re.length-1],re.toString("utf16le",ie,re.length-1)}function u(re){var ie=re&&re.length?this.write(re):"";if(this.lastNeed){var oe=this.lastTotal-this.lastNeed;return ie+this.lastChar.toString("utf16le",0,oe)}return ie}function c(re,ie){var oe=(re.length-ie)%3;return 0===oe?re.toString("base64",ie):(this.lastNeed=3-oe,this.lastTotal=3,1===oe?this.lastChar[0]=re[re.length-1]:(this.lastChar[0]=re[re.length-2],this.lastChar[1]=re[re.length-1]),re.toString("base64",ie,re.length-oe))}function f(re){var ie=re&&re.length?this.write(re):"";return this.lastNeed?ie+this.lastChar.toString("base64",0,3-this.lastNeed):ie}function h(re){return re.toString(this.encoding)}function d(re){return re&&re.length?this.write(re):""}ie.StringDecoder=o,o.prototype.write=function(re){if(0===re.length)return"";var ie,oe;if(this.lastNeed){if(void 0===(ie=this.fillLast(re)))return"";oe=this.lastNeed,this.lastNeed=0}else oe=0;return oe=0?(ae>0&&(re.lastNeed=ae-1),ae):--se=0?(ae>0&&(re.lastNeed=ae-2),ae):--se=0?(ae>0&&(2===ae?ae=0:re.lastNeed=ae-3),ae):0}(this,re,ie);if(!this.lastNeed)return re.toString("utf8",ie);this.lastTotal=oe;var se=re.length-(oe-this.lastNeed);return re.copy(this.lastChar,0,se),re.toString("utf8",ie,se)},o.prototype.fillLast=function(re){if(this.lastNeed<=re.length)return re.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);re.copy(this.lastChar,this.lastTotal-this.lastNeed,0,re.length),this.lastNeed-=re.length}}},ie={};function r(oe){var se=ie[oe];if(void 0!==se)return se.exports;var ae=ie[oe]={exports:{}};return re[oe](ae,ae.exports,r),ae.exports}r.n=re=>{var ie=re&&re.__esModule?()=>re.default:()=>re;return r.d(ie,{a:ie}),ie},r.d=(re,ie)=>{for(var oe in ie)r.o(ie,oe)&&!r.o(re,oe)&&Object.defineProperty(re,oe,{enumerable:!0,get:ie[oe]})},r.o=(re,ie)=>Object.prototype.hasOwnProperty.call(re,ie),r.r=re=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(re,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(re,"__esModule",{value:!0})};var oe={};return(()=>{"use strict";r.r(oe);var re=r(2141),ie={};for(const oe in re)"default"!==oe&&(ie[oe]=()=>re[oe]);r.d(oe,ie)})(),oe})()))},32940:(re,ie,oe)=>{"use strict";ie.Commented=oe(27017);ie.Diagnose=oe(17296);ie.Decoder=oe(88494);ie.Encoder=oe(86606);ie.Simple=oe(28184);ie.Tagged=oe(67034);ie.Map=oe(33123);ie.comment=ie.Commented.comment;ie.decodeAll=ie.Decoder.decodeAll;ie.decodeFirst=ie.Decoder.decodeFirst;ie.decodeAllSync=ie.Decoder.decodeAllSync;ie.decodeFirstSync=ie.Decoder.decodeFirstSync;ie.diagnose=ie.Diagnose.diagnose;ie.encode=ie.Encoder.encode;ie.encodeCanonical=ie.Encoder.encodeCanonical;ie.encodeOne=ie.Encoder.encodeOne;ie.encodeAsync=ie.Encoder.encodeAsync;ie.decode=ie.Decoder.decodeFirstSync;ie.leveldb={decode:ie.Decoder.decodeFirstSync,encode:ie.Encoder.encode,buffer:true,name:"cbor"};ie.reset=function reset(){ie.Encoder.reset();ie.Tagged.reset()}},27017:(re,ie,oe)=>{"use strict";const se=oe(12781);const ae=oe(90103);const ce=oe(88494);const ue=oe(75070);const{MT:le,NUMBYTES:fe,SYMS:de}=oe(41346);const{Buffer:pe}=oe(14300);function plural(re){if(re>1){return"s"}return""}function normalizeOptions(re,ie){switch(typeof re){case"function":return{options:{},cb:re};case"string":return{options:{encoding:re},cb:ie};case"number":return{options:{max_depth:re},cb:ie};case"object":return{options:re||{},cb:ie};default:throw new TypeError("Unknown option type")}}class Commented extends se.Transform{constructor(re={}){const{depth:ie=1,max_depth:oe=10,no_summary:se=false,tags:ae={},preferWeb:le,encoding:fe,...de}=re;super({...de,readableObjectMode:false,writableObjectMode:false});this.depth=ie;this.max_depth=oe;this.all=new ue;if(!ae[24]){ae[24]=this._tag_24.bind(this)}this.parser=new ce({tags:ae,max_depth:oe,preferWeb:le,encoding:fe});this.parser.on("value",this._on_value.bind(this));this.parser.on("start",this._on_start.bind(this));this.parser.on("start-string",this._on_start_string.bind(this));this.parser.on("stop",this._on_stop.bind(this));this.parser.on("more-bytes",this._on_more.bind(this));this.parser.on("error",this._on_error.bind(this));if(!se){this.parser.on("data",this._on_data.bind(this))}this.parser.bs.on("read",this._on_read.bind(this))}_tag_24(re){const ie=new Commented({depth:this.depth+1,no_summary:true});ie.on("data",(re=>this.push(re)));ie.on("error",(re=>this.emit("error",re)));ie.end(re)}_transform(re,ie,oe){this.parser.write(re,ie,oe)}_flush(re){return this.parser._flush(re)}static comment(re,ie={},oe=null){if(re==null){throw new Error("input required")}({options:ie,cb:oe}=normalizeOptions(ie,oe));const se=new ue;const{encoding:ce="hex",...le}=ie;const fe=new Commented(le);let de=null;if(typeof oe==="function"){fe.on("end",(()=>{oe(null,se.toString("utf8"))}));fe.on("error",oe)}else{de=new Promise(((re,ie)=>{fe.on("end",(()=>{re(se.toString("utf8"))}));fe.on("error",ie)}))}fe.pipe(se);ae.guessEncoding(re,ce).pipe(fe);return de}_on_error(re){this.push("ERROR: ");this.push(re.toString());this.push("\n")}_on_read(re){this.all.write(re);const ie=re.toString("hex");this.push(new Array(this.depth+1).join(" "));this.push(ie);let oe=(this.max_depth-this.depth)*2-ie.length;if(oe<1){oe=1}this.push(new Array(oe+1).join(" "));this.push("-- ")}_on_more(re,ie,oe,se){let ae="";this.depth++;switch(re){case le.POS_INT:ae="Positive number,";break;case le.NEG_INT:ae="Negative number,";break;case le.ARRAY:ae="Array, length";break;case le.MAP:ae="Map, count";break;case le.BYTE_STRING:ae="Bytes, length";break;case le.UTF8_STRING:ae="String, length";break;case le.SIMPLE_FLOAT:if(ie===1){ae="Simple value,"}else{ae="Float,"}break}this.push(`${ae} next ${ie} byte${plural(ie)}\n`)}_on_start_string(re,ie,oe,se){let ae="";this.depth++;switch(re){case le.BYTE_STRING:ae=`Bytes, length: ${ie}`;break;case le.UTF8_STRING:ae=`String, length: ${ie.toString()}`;break}this.push(`${ae}\n`)}_on_start(re,ie,oe,se){this.depth++;switch(oe){case le.ARRAY:this.push(`[${se}], `);break;case le.MAP:if(se%2){this.push(`{Val:${Math.floor(se/2)}}, `)}else{this.push(`{Key:${Math.floor(se/2)}}, `)}break}switch(re){case le.TAG:this.push(`Tag #${ie}`);if(ie===24){this.push(" Encoded CBOR data item")}break;case le.ARRAY:if(ie===de.STREAM){this.push("Array (streaming)")}else{this.push(`Array, ${ie} item${plural(ie)}`)}break;case le.MAP:if(ie===de.STREAM){this.push("Map (streaming)")}else{this.push(`Map, ${ie} pair${plural(ie)}`)}break;case le.BYTE_STRING:this.push("Bytes (streaming)");break;case le.UTF8_STRING:this.push("String (streaming)");break}this.push("\n")}_on_stop(re){this.depth--}_on_value(re,ie,oe,se){if(re!==de.BREAK){switch(ie){case le.ARRAY:this.push(`[${oe}], `);break;case le.MAP:if(oe%2){this.push(`{Val:${Math.floor(oe/2)}}, `)}else{this.push(`{Key:${Math.floor(oe/2)}}, `)}break}}const ce=ae.cborValueToString(re,-Infinity);if(typeof re==="string"||pe.isBuffer(re)){if(re.length>0){this.push(ce);this.push("\n")}this.depth--}else{this.push(ce);this.push("\n")}switch(se){case fe.ONE:case fe.TWO:case fe.FOUR:case fe.EIGHT:this.depth--}}_on_data(){this.push("0x");this.push(this.all.read().toString("hex"));this.push("\n")}}re.exports=Commented},41346:(re,ie)=>{"use strict";ie.MT={POS_INT:0,NEG_INT:1,BYTE_STRING:2,UTF8_STRING:3,ARRAY:4,MAP:5,TAG:6,SIMPLE_FLOAT:7};ie.TAG={DATE_STRING:0,DATE_EPOCH:1,POS_BIGINT:2,NEG_BIGINT:3,DECIMAL_FRAC:4,BIGFLOAT:5,BASE64URL_EXPECTED:21,BASE64_EXPECTED:22,BASE16_EXPECTED:23,CBOR:24,URI:32,BASE64URL:33,BASE64:34,REGEXP:35,MIME:36,SET:258};ie.NUMBYTES={ZERO:0,ONE:24,TWO:25,FOUR:26,EIGHT:27,INDEFINITE:31};ie.SIMPLE={FALSE:20,TRUE:21,NULL:22,UNDEFINED:23};ie.SYMS={NULL:Symbol.for("github.com/hildjj/node-cbor/null"),UNDEFINED:Symbol.for("github.com/hildjj/node-cbor/undef"),PARENT:Symbol.for("github.com/hildjj/node-cbor/parent"),BREAK:Symbol.for("github.com/hildjj/node-cbor/break"),STREAM:Symbol.for("github.com/hildjj/node-cbor/stream")};ie.SHIFT32=4294967296;ie.BI={MINUS_ONE:BigInt(-1),NEG_MAX:BigInt(-1)-BigInt(Number.MAX_SAFE_INTEGER),MAXINT32:BigInt("0xffffffff"),MAXINT64:BigInt("0xffffffffffffffff"),SHIFT32:BigInt(ie.SHIFT32)}},88494:(re,ie,oe)=>{"use strict";const se=oe(36992);const ae=oe(67034);const ce=oe(28184);const ue=oe(90103);const le=oe(75070);const fe=oe(12781);const de=oe(41346);const{MT:pe,NUMBYTES:he,SYMS:Ae,BI:ge}=de;const{Buffer:me}=oe(14300);const ye=Symbol("count");const ve=Symbol("major type");const be=Symbol("error");const we=Symbol("not found");function parentArray(re,ie,oe){const se=[];se[ye]=oe;se[Ae.PARENT]=re;se[ve]=ie;return se}function parentBufferStream(re,ie){const oe=new le;oe[ye]=-1;oe[Ae.PARENT]=re;oe[ve]=ie;return oe}class UnexpectedDataError extends Error{constructor(re,ie){super(`Unexpected data: 0x${re.toString(16)}`);this.name="UnexpectedDataError";this.byte=re;this.value=ie}}function normalizeOptions(re,ie){switch(typeof re){case"function":return{options:{},cb:re};case"string":return{options:{encoding:re},cb:ie};case"object":return{options:re||{},cb:ie};default:throw new TypeError("Unknown option type")}}class Decoder extends se{constructor(re={}){const{tags:ie={},max_depth:oe=-1,preferWeb:se=false,required:ae=false,encoding:ce="hex",extendedResults:ue=false,preventDuplicateKeys:fe=false,...de}=re;super({defaultEncoding:ce,...de});this.running=true;this.max_depth=oe;this.tags=ie;this.preferWeb=se;this.extendedResults=ue;this.required=ae;this.preventDuplicateKeys=fe;if(ue){this.bs.on("read",this._onRead.bind(this));this.valueBytes=new le}}static nullcheck(re){switch(re){case Ae.NULL:return null;case Ae.UNDEFINED:return undefined;case we:throw new Error("Value not found");default:return re}}static decodeFirstSync(re,ie={}){if(re==null){throw new TypeError("input required")}({options:ie}=normalizeOptions(ie));const{encoding:oe="hex",...se}=ie;const ae=new Decoder(se);const ce=ue.guessEncoding(re,oe);const le=ae._parse();let fe=le.next();while(!fe.done){const re=ce.read(fe.value);if(re==null||re.length!==fe.value){throw new Error("Insufficient data")}if(ae.extendedResults){ae.valueBytes.write(re)}fe=le.next(re)}let de=null;if(ae.extendedResults){de=fe.value;de.unused=ce.read()}else{de=Decoder.nullcheck(fe.value);if(ce.length>0){const re=ce.read(1);ce.unshift(re);throw new UnexpectedDataError(re[0],de)}}return de}static decodeAllSync(re,ie={}){if(re==null){throw new TypeError("input required")}({options:ie}=normalizeOptions(ie));const{encoding:oe="hex",...se}=ie;const ae=new Decoder(se);const ce=ue.guessEncoding(re,oe);const le=[];while(ce.length>0){const re=ae._parse();let ie=re.next();while(!ie.done){const oe=ce.read(ie.value);if(oe==null||oe.length!==ie.value){throw new Error("Insufficient data")}if(ae.extendedResults){ae.valueBytes.write(oe)}ie=re.next(oe)}le.push(Decoder.nullcheck(ie.value))}return le}static decodeFirst(re,ie={},oe=null){if(re==null){throw new TypeError("input required")}({options:ie,cb:oe}=normalizeOptions(ie,oe));const{encoding:se="hex",required:ae=false,...ce}=ie;const le=new Decoder(ce);let fe=we;const de=ue.guessEncoding(re,se);const pe=new Promise(((re,ie)=>{le.on("data",(re=>{fe=Decoder.nullcheck(re);le.close()}));le.once("error",(oe=>{if(le.extendedResults&&oe instanceof UnexpectedDataError){fe.unused=le.bs.slice();return re(fe)}if(fe!==we){oe["value"]=fe}fe=be;le.close();return ie(oe)}));le.once("end",(()=>{switch(fe){case we:if(ae){return ie(new Error("No CBOR found"))}return re(fe);case be:return undefined;default:return re(fe)}}))}));if(typeof oe==="function"){pe.then((re=>oe(null,re)),oe)}de.pipe(le);return pe}static decodeAll(re,ie={},oe=null){if(re==null){throw new TypeError("input required")}({options:ie,cb:oe}=normalizeOptions(ie,oe));const{encoding:se="hex",...ae}=ie;const ce=new Decoder(ae);const le=[];ce.on("data",(re=>le.push(Decoder.nullcheck(re))));const fe=new Promise(((re,ie)=>{ce.on("error",ie);ce.on("end",(()=>re(le)))}));if(typeof oe==="function"){fe.then((re=>oe(undefined,re)),(re=>oe(re,undefined)))}ue.guessEncoding(re,se).pipe(ce);return fe}close(){this.running=false;this.__fresh=true}_onRead(re){this.valueBytes.write(re)}*_parse(){let re=null;let ie=0;let oe=null;while(true){if(this.max_depth>=0&&ie>this.max_depth){throw new Error(`Maximum depth ${this.max_depth} exceeded`)}const[se]=yield 1;if(!this.running){this.bs.unshift(me.from([se]));throw new UnexpectedDataError(se)}const fe=se>>5;const de=se&31;const be=re==null?undefined:re[ve];const we=re==null?undefined:re.length;switch(de){case he.ONE:this.emit("more-bytes",fe,1,be,we);[oe]=yield 1;break;case he.TWO:case he.FOUR:case he.EIGHT:{const re=1<{"use strict";const se=oe(12781);const ae=oe(88494);const ce=oe(90103);const ue=oe(75070);const{MT:le,SYMS:fe}=oe(41346);function normalizeOptions(re,ie){switch(typeof re){case"function":return{options:{},cb:re};case"string":return{options:{encoding:re},cb:ie};case"object":return{options:re||{},cb:ie};default:throw new TypeError("Unknown option type")}}class Diagnose extends se.Transform{constructor(re={}){const{separator:ie="\n",stream_errors:oe=false,tags:se,max_depth:ce,preferWeb:ue,encoding:le,...fe}=re;super({...fe,readableObjectMode:false,writableObjectMode:false});this.float_bytes=-1;this.separator=ie;this.stream_errors=oe;this.parser=new ae({tags:se,max_depth:ce,preferWeb:ue,encoding:le});this.parser.on("more-bytes",this._on_more.bind(this));this.parser.on("value",this._on_value.bind(this));this.parser.on("start",this._on_start.bind(this));this.parser.on("stop",this._on_stop.bind(this));this.parser.on("data",this._on_data.bind(this));this.parser.on("error",this._on_error.bind(this))}_transform(re,ie,oe){return this.parser.write(re,ie,oe)}_flush(re){return this.parser._flush((ie=>{if(this.stream_errors){if(ie){this._on_error(ie)}return re()}return re(ie)}))}static diagnose(re,ie={},oe=null){if(re==null){throw new TypeError("input required")}({options:ie,cb:oe}=normalizeOptions(ie,oe));const{encoding:se="hex",...ae}=ie;const le=new ue;const fe=new Diagnose(ae);let de=null;if(typeof oe==="function"){fe.on("end",(()=>oe(null,le.toString("utf8"))));fe.on("error",oe)}else{de=new Promise(((re,ie)=>{fe.on("end",(()=>re(le.toString("utf8"))));fe.on("error",ie)}))}fe.pipe(le);ce.guessEncoding(re,se).pipe(fe);return de}_on_error(re){if(this.stream_errors){this.push(re.toString())}else{this.emit("error",re)}}_on_more(re,ie,oe,se){if(re===le.SIMPLE_FLOAT){this.float_bytes={2:1,4:2,8:3}[ie]}}_fore(re,ie){switch(re){case le.BYTE_STRING:case le.UTF8_STRING:case le.ARRAY:if(ie>0){this.push(", ")}break;case le.MAP:if(ie>0){if(ie%2){this.push(": ")}else{this.push(", ")}}}}_on_value(re,ie,oe){if(re===fe.BREAK){return}this._fore(ie,oe);const se=this.float_bytes;this.float_bytes=-1;this.push(ce.cborValueToString(re,se))}_on_start(re,ie,oe,se){this._fore(oe,se);switch(re){case le.TAG:this.push(`${ie}(`);break;case le.ARRAY:this.push("[");break;case le.MAP:this.push("{");break;case le.BYTE_STRING:case le.UTF8_STRING:this.push("(");break}if(ie===fe.STREAM){this.push("_ ")}}_on_stop(re){switch(re){case le.TAG:this.push(")");break;case le.ARRAY:this.push("]");break;case le.MAP:this.push("}");break;case le.BYTE_STRING:case le.UTF8_STRING:this.push(")");break}}_on_data(){this.push(this.separator)}}re.exports=Diagnose},86606:(re,ie,oe)=>{"use strict";const se=oe(12781);const ae=oe(75070);const ce=oe(90103);const ue=oe(41346);const{MT:le,NUMBYTES:fe,SHIFT32:de,SIMPLE:pe,SYMS:he,TAG:Ae,BI:ge}=ue;const{Buffer:me}=oe(14300);const ye=le.SIMPLE_FLOAT<<5|fe.TWO;const ve=le.SIMPLE_FLOAT<<5|fe.FOUR;const be=le.SIMPLE_FLOAT<<5|fe.EIGHT;const we=le.SIMPLE_FLOAT<<5|pe.TRUE;const _e=le.SIMPLE_FLOAT<<5|pe.FALSE;const Ee=le.SIMPLE_FLOAT<<5|pe.UNDEFINED;const Ce=le.SIMPLE_FLOAT<<5|pe.NULL;const Ie=me.from([255]);const Se=me.from("f97e00","hex");const Be=me.from("f9fc00","hex");const xe=me.from("f97c00","hex");const ke=me.from("f98000","hex");const Oe={};let De={};function parseDateType(re){if(!re){return"number"}switch(re.toLowerCase()){case"number":return"number";case"float":return"float";case"int":case"integer":return"int";case"string":return"string"}throw new TypeError(`dateType invalid, got "${re}"`)}class Encoder extends se.Transform{constructor(re={}){const{canonical:ie=false,encodeUndefined:oe,disallowUndefinedKeys:se=false,dateType:ae="number",collapseBigIntegers:ce=false,detectLoops:ue=false,omitUndefinedProperties:le=false,genTypes:fe=[],...de}=re;super({...de,readableObjectMode:false,writableObjectMode:true});this.canonical=ie;this.encodeUndefined=oe;this.disallowUndefinedKeys=se;this.dateType=parseDateType(ae);this.collapseBigIntegers=this.canonical?true:ce;this.detectLoops=undefined;if(typeof ue==="boolean"){if(ue){this.detectLoops=new WeakSet}}else if(ue instanceof WeakSet){this.detectLoops=ue}else{throw new TypeError("detectLoops must be boolean or WeakSet")}this.omitUndefinedProperties=le;this.semanticTypes={...Encoder.SEMANTIC_TYPES};if(Array.isArray(fe)){for(let re=0,ie=fe.length;re{const oe=typeof re[ie];return oe!=="function"&&(!this.omitUndefinedProperties||oe!=="undefined")}));const se={};if(this.canonical){oe.sort(((re,ie)=>{const oe=se[re]||(se[re]=Encoder.encode(re));const ae=se[ie]||(se[ie]=Encoder.encode(ie));return oe.compare(ae)}))}if(ie.indefinite){if(!this._pushUInt8(le.MAP<<5|fe.INDEFINITE)){return false}}else if(!this._pushInt(oe.length,le.MAP)){return false}let ae=null;for(let ie=0,ce=oe.length;ieie!==undefined))}if(oe.indefinite){if(!re._pushUInt8(le.MAP<<5|fe.INDEFINITE)){return false}}else if(!re._pushInt(se.length,le.MAP)){return false}if(re.canonical){const ie=new Encoder({genTypes:re.semanticTypes,canonical:re.canonical,detectLoops:Boolean(re.detectLoops),dateType:re.dateType,disallowUndefinedKeys:re.disallowUndefinedKeys,collapseBigIntegers:re.collapseBigIntegers});const oe=new ae({highWaterMark:re.readableHighWaterMark});ie.pipe(oe);se.sort((([re],[se])=>{ie.pushAny(re);const ae=oe.read();ie.pushAny(se);const ce=oe.read();return ae.compare(ce)}));for(const[ie,oe]of se){if(re.disallowUndefinedKeys&&typeof ie==="undefined"){throw new Error("Invalid Map key: undefined")}if(!(re.pushAny(ie)&&re.pushAny(oe))){return false}}}else{for(const[ie,oe]of se){if(re.disallowUndefinedKeys&&typeof ie==="undefined"){throw new Error("Invalid Map key: undefined")}if(!(re.pushAny(ie)&&re.pushAny(oe))){return false}}}if(oe.indefinite){if(!re.push(Ie)){return false}}return true}static _pushTypedArray(re,ie){let oe=64;let se=ie.BYTES_PER_ELEMENT;const{name:ae}=ie.constructor;if(ae.startsWith("Float")){oe|=16;se/=2}else if(!ae.includes("U")){oe|=8}if(ae.includes("Clamped")||se!==1&&!ce.isBigEndian()){oe|=4}oe|={1:0,2:1,4:2,8:3}[se];if(!re._pushTag(oe)){return false}return Encoder._pushBuffer(re,me.from(ie.buffer,ie.byteOffset,ie.byteLength))}static _pushArrayBuffer(re,ie){return Encoder._pushBuffer(re,me.from(ie))}static encodeIndefinite(re,ie,oe={}){if(ie==null){if(this==null){throw new Error("No object to encode")}ie=this}const{chunkSize:se=4096}=oe;let ae=true;const ue=typeof ie;let de=null;if(ue==="string"){ae=ae&&re._pushUInt8(le.UTF8_STRING<<5|fe.INDEFINITE);let oe=0;while(oe{const ae=[];const ce=new Encoder(ie);ce.on("data",(re=>ae.push(re)));ce.on("error",se);ce.on("finish",(()=>oe(me.concat(ae))));ce.pushAny(re);ce.end()}))}static get SEMANTIC_TYPES(){return De}static set SEMANTIC_TYPES(re){De=re}static reset(){Encoder.SEMANTIC_TYPES={...Oe}}}Object.assign(Oe,{Array:Encoder.pushArray,Date:Encoder._pushDate,Buffer:Encoder._pushBuffer,[me.name]:Encoder._pushBuffer,Map:Encoder._pushMap,NoFilter:Encoder._pushNoFilter,[ae.name]:Encoder._pushNoFilter,RegExp:Encoder._pushRegexp,Set:Encoder._pushSet,ArrayBuffer:Encoder._pushArrayBuffer,Uint8ClampedArray:Encoder._pushTypedArray,Uint8Array:Encoder._pushTypedArray,Uint16Array:Encoder._pushTypedArray,Uint32Array:Encoder._pushTypedArray,Int8Array:Encoder._pushTypedArray,Int16Array:Encoder._pushTypedArray,Int32Array:Encoder._pushTypedArray,Float32Array:Encoder._pushTypedArray,Float64Array:Encoder._pushTypedArray,URL:Encoder._pushURL,Boolean:Encoder._pushBoxed,Number:Encoder._pushBoxed,String:Encoder._pushBoxed});if(typeof BigUint64Array!=="undefined"){Oe[BigUint64Array.name]=Encoder._pushTypedArray}if(typeof BigInt64Array!=="undefined"){Oe[BigInt64Array.name]=Encoder._pushTypedArray}Encoder.reset();re.exports=Encoder},33123:(re,ie,oe)=>{"use strict";const{Buffer:se}=oe(14300);const ae=oe(86606);const ce=oe(88494);const{MT:ue}=oe(41346);class CborMap extends Map{constructor(re){super(re)}static _encode(re){return ae.encodeCanonical(re).toString("base64")}static _decode(re){return ce.decodeFirstSync(re,"base64")}get(re){return super.get(CborMap._encode(re))}set(re,ie){return super.set(CborMap._encode(re),ie)}delete(re){return super.delete(CborMap._encode(re))}has(re){return super.has(CborMap._encode(re))}*keys(){for(const re of super.keys()){yield CborMap._decode(re)}}*entries(){for(const re of super.entries()){yield[CborMap._decode(re[0]),re[1]]}}[Symbol.iterator](){return this.entries()}forEach(re,ie){if(typeof re!=="function"){throw new TypeError("Must be function")}for(const ie of super.entries()){re.call(this,ie[1],CborMap._decode(ie[0]),this)}}encodeCBOR(re){if(!re._pushInt(this.size,ue.MAP)){return false}if(re.canonical){const ie=Array.from(super.entries()).map((re=>[se.from(re[0],"base64"),re[1]]));ie.sort(((re,ie)=>re[0].compare(ie[0])));for(const oe of ie){if(!(re.push(oe[0])&&re.pushAny(oe[1]))){return false}}}else{for(const ie of super.entries()){if(!(re.push(se.from(ie[0],"base64"))&&re.pushAny(ie[1]))){return false}}}return true}}re.exports=CborMap},28184:(re,ie,oe)=>{"use strict";const{MT:se,SIMPLE:ae,SYMS:ce}=oe(41346);class Simple{constructor(re){if(typeof re!=="number"){throw new Error(`Invalid Simple type: ${typeof re}`)}if(re<0||re>255||(re|0)!==re){throw new Error(`value must be a small positive integer: ${re}`)}this.value=re}toString(){return`simple(${this.value})`}[Symbol.for("nodejs.util.inspect.custom")](re,ie){return`simple(${this.value})`}encodeCBOR(re){return re._pushInt(this.value,se.SIMPLE_FLOAT)}static isSimple(re){return re instanceof Simple}static decode(re,ie=true,oe=false){switch(re){case ae.FALSE:return false;case ae.TRUE:return true;case ae.NULL:if(ie){return null}return ce.NULL;case ae.UNDEFINED:if(ie){return undefined}return ce.UNDEFINED;case-1:if(!ie||!oe){throw new Error("Invalid BREAK")}return ce.BREAK;default:return new Simple(re)}}}re.exports=Simple},67034:(re,ie,oe)=>{"use strict";const se=oe(41346);const ae=oe(90103);const ce=Symbol("INTERNAL_JSON");function setBuffersToJSON(re,ie){if(ae.isBufferish(re)){re.toJSON=ie}else if(Array.isArray(re)){for(const oe of re){setBuffersToJSON(oe,ie)}}else if(re&&typeof re==="object"){if(!(re instanceof Tagged)||re.tag<21||re.tag>23){for(const oe of Object.values(re)){setBuffersToJSON(oe,ie)}}}}function b64this(){return ae.base64(this)}function b64urlThis(){return ae.base64url(this)}function hexThis(){return this.toString("hex")}function swapEndian(re,ie,oe,se){const ae=new DataView(re);const[ce,ue]={2:[ae.getUint16,ae.setUint16],4:[ae.getUint32,ae.setUint32],8:[ae.getBigUint64,ae.setBigUint64]}[ie];const le=oe+se;for(let re=oe;renew Date(re),1:re=>new Date(re*1e3),2:re=>ae.bufferToBigInt(re),3:re=>se.BI.MINUS_ONE-ae.bufferToBigInt(re),21:(re,ie)=>{if(ae.isBufferish(re)){ie[ce]=b64urlThis}else{setBuffersToJSON(re,b64urlThis)}return ie},22:(re,ie)=>{if(ae.isBufferish(re)){ie[ce]=b64this}else{setBuffersToJSON(re,b64this)}return ie},23:(re,ie)=>{if(ae.isBufferish(re)){ie[ce]=hexThis}else{setBuffersToJSON(re,hexThis)}return ie},32:re=>new URL(re),33:(re,ie)=>{if(!re.match(/^[a-zA-Z0-9_-]+$/)){throw new Error("Invalid base64url characters")}const oe=re.length%4;if(oe===1){throw new Error("Invalid base64url length")}if(oe===2){if("AQgw".indexOf(re[re.length-1])===-1){throw new Error("Invalid base64 padding")}}else if(oe===3){if("AEIMQUYcgkosw048".indexOf(re[re.length-1])===-1){throw new Error("Invalid base64 padding")}}return ie},34:(re,ie)=>{const oe=re.match(/^[a-zA-Z0-9+/]+(?={0,2})$/);if(!oe){throw new Error("Invalid base64 characters")}if(re.length%4!==0){throw new Error("Invalid base64 length")}if(oe.groups.padding==="="){if("AQgw".indexOf(re[re.length-2])===-1){throw new Error("Invalid base64 padding")}}else if(oe.groups.padding==="=="){if("AEIMQUYcgkosw048".indexOf(re[re.length-3])===-1){throw new Error("Invalid base64 padding")}}return ie},35:re=>new RegExp(re),258:re=>new Set(re)};const le={64:Uint8Array,65:Uint16Array,66:Uint32Array,68:Uint8ClampedArray,69:Uint16Array,70:Uint32Array,72:Int8Array,73:Int16Array,74:Int32Array,77:Int16Array,78:Int32Array,81:Float32Array,82:Float64Array,85:Float32Array,86:Float64Array};if(typeof BigUint64Array!=="undefined"){le[67]=BigUint64Array;le[71]=BigUint64Array}if(typeof BigInt64Array!=="undefined"){le[75]=BigInt64Array;le[79]=BigInt64Array}function _toTypedArray(re,ie){if(!ae.isBufferish(re)){throw new TypeError("val not a buffer")}const{tag:oe}=ie;const se=le[oe];if(!se){throw new Error(`Invalid typed array tag: ${oe}`)}const ce=oe&4;const ue=(oe&16)>>4;const fe=2**(ue+(oe&3));if(!ce!==ae.isBigEndian()&&fe>1){swapEndian(re.buffer,fe,re.byteOffset,re.byteLength)}const de=re.buffer.slice(re.byteOffset,re.byteOffset+re.byteLength);return new se(de)}for(const re of Object.keys(le)){ue[re]=_toTypedArray}let fe={};class Tagged{constructor(re,ie,oe){this.tag=re;this.value=ie;this.err=oe;if(typeof this.tag!=="number"){throw new Error(`Invalid tag type (${typeof this.tag})`)}if(this.tag<0||(this.tag|0)!==this.tag){throw new Error(`Tag must be a positive integer: ${this.tag}`)}}toJSON(){if(this[ce]){return this[ce].call(this.value)}const re={tag:this.tag,value:this.value};if(this.err){re.err=this.err}return re}toString(){return`${this.tag}(${JSON.stringify(this.value)})`}encodeCBOR(re){re._pushTag(this.tag);return re.pushAny(this.value)}convert(re){let ie=re==null?undefined:re[this.tag];if(typeof ie!=="function"){ie=Tagged.TAGS[this.tag];if(typeof ie!=="function"){return this}}try{return ie.call(this,this.value,this)}catch(re){if(re&&re.message&&re.message.length>0){this.err=re.message}else{this.err=re}return this}}static get TAGS(){return fe}static set TAGS(re){fe=re}static reset(){Tagged.TAGS={...ue}}}Tagged.INTERNAL_JSON=ce;Tagged.reset();re.exports=Tagged},90103:(re,ie,oe)=>{"use strict";const{Buffer:se}=oe(14300);const ae=oe(75070);const ce=oe(12781);const ue=oe(41346);const{NUMBYTES:le,SHIFT32:fe,BI:de,SYMS:pe}=ue;const he=2097151;const Ae=new TextDecoder("utf8",{fatal:true,ignoreBOM:true});ie.utf8=re=>Ae.decode(re);ie.utf8.checksUTF8=true;function isReadable(re){if(re instanceof ce.Readable){return true}return["read","on","pipe"].every((ie=>typeof re[ie]==="function"))}ie.isBufferish=function isBufferish(re){return re&&typeof re==="object"&&(se.isBuffer(re)||re instanceof Uint8Array||re instanceof Uint8ClampedArray||re instanceof ArrayBuffer||re instanceof DataView)};ie.bufferishToBuffer=function bufferishToBuffer(re){if(se.isBuffer(re)){return re}else if(ArrayBuffer.isView(re)){return se.from(re.buffer,re.byteOffset,re.byteLength)}else if(re instanceof ArrayBuffer){return se.from(re)}return null};ie.parseCBORint=function parseCBORint(re,ie){switch(re){case le.ONE:return ie.readUInt8(0);case le.TWO:return ie.readUInt16BE(0);case le.FOUR:return ie.readUInt32BE(0);case le.EIGHT:{const re=ie.readUInt32BE(0);const oe=ie.readUInt32BE(4);if(re>he){return BigInt(re)*de.SHIFT32+BigInt(oe)}return re*fe+oe}default:throw new Error(`Invalid additional info for int: ${re}`)}};ie.writeHalf=function writeHalf(re,ie){const oe=se.allocUnsafe(4);oe.writeFloatBE(ie,0);const ae=oe.readUInt32BE(0);if((ae&8191)!==0){return false}let ce=ae>>16&32768;const ue=ae>>23&255;const le=ae&8388607;if(ue>=113&&ue<=142){ce+=(ue-112<<10)+(le>>13)}else if(ue>=103&&ue<113){if(le&(1<<126-ue)-1){return false}ce+=le+8388608>>126-ue}else{return false}re.writeUInt16BE(ce);return true};ie.parseHalf=function parseHalf(re){const ie=re[0]&128?-1:1;const oe=(re[0]&124)>>2;const se=(re[0]&3)<<8|re[1];if(!oe){return ie*5.960464477539063e-8*se}else if(oe===31){return ie*(se?NaN:Infinity)}return ie*2**(oe-25)*(1024+se)};ie.parseCBORfloat=function parseCBORfloat(re){switch(re.length){case 2:return ie.parseHalf(re);case 4:return re.readFloatBE(0);case 8:return re.readDoubleBE(0);default:throw new Error(`Invalid float size: ${re.length}`)}};ie.hex=function hex(re){return se.from(re.replace(/^0x/,""),"hex")};ie.bin=function bin(re){re=re.replace(/\s/g,"");let ie=0;let oe=re.length%8||8;const ae=[];while(oe<=re.length){ae.push(parseInt(re.slice(ie,oe),2));ie=oe;oe+=8}return se.from(ae)};ie.arrayEqual=function arrayEqual(re,ie){if(re==null&&ie==null){return true}if(re==null||ie==null){return false}return re.length===ie.length&&re.every(((re,oe)=>re===ie[oe]))};ie.bufferToBigInt=function bufferToBigInt(re){return BigInt(`0x${re.toString("hex")}`)};ie.cborValueToString=function cborValueToString(re,oe=-1){switch(typeof re){case"symbol":{switch(re){case pe.NULL:return"null";case pe.UNDEFINED:return"undefined";case pe.BREAK:return"BREAK"}if(re.description){return re.description}const ie=re.toString();const oe=ie.match(/^Symbol\((?.*)\)/);if(oe&&oe.groups.name){return oe.groups.name}return"Symbol"}case"string":return JSON.stringify(re);case"bigint":return re.toString();case"number":{const ie=Object.is(re,-0)?"-0":String(re);return oe>0?`${ie}_${oe}`:ie}case"object":{const se=ie.bufferishToBuffer(re);if(se){const re=se.toString("hex");return oe===-Infinity?re:`h'${re}'`}if(typeof re[Symbol.for("nodejs.util.inspect.custom")]==="function"){return re[Symbol.for("nodejs.util.inspect.custom")]()}if(Array.isArray(re)){return"[]"}return"{}"}}return String(re)};ie.guessEncoding=function guessEncoding(re,oe){if(typeof re==="string"){return new ae(re,oe==null?"hex":oe)}const se=ie.bufferishToBuffer(re);if(se){return new ae(se)}if(isReadable(re)){return re}throw new Error("Unknown input type")};const ge={"=":"","+":"-","/":"_"};ie.base64url=function base64url(re){return ie.bufferishToBuffer(re).toString("base64").replace(/[=+/]/g,(re=>ge[re]))};ie.base64=function base64(re){return ie.bufferishToBuffer(re).toString("base64")};ie.isBigEndian=function isBigEndian(){const re=new Uint8Array(4);const ie=new Uint32Array(re.buffer);return!((ie[0]=1)&re[0])}},36992:(re,ie,oe)=>{"use strict";const se=oe(12781);const ae=oe(75070);class BinaryParseStream extends se.Transform{constructor(re){super(re);this["_writableState"].objectMode=false;this["_readableState"].objectMode=true;this.bs=new ae;this.__restart()}_transform(re,ie,oe){this.bs.write(re);while(this.bs.length>=this.__needed){let re=null;const ie=this.__needed===null?undefined:this.bs.read(this.__needed);try{re=this.__parser.next(ie)}catch(re){return oe(re)}if(this.__needed){this.__fresh=false}if(re.done){this.push(re.value);this.__restart()}else{this.__needed=re.value||Infinity}}return oe()}*_parse(){throw new Error("Must be implemented in subclass")}__restart(){this.__needed=null;this.__parser=this._parse();this.__fresh=true}_flush(re){re(this.__fresh?null:new Error("unexpected end of input"))}}re.exports=BinaryParseStream},97391:(re,ie,oe)=>{const se=oe(78510);const ae={};for(const re of Object.keys(se)){ae[se[re]]=re}const ce={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};re.exports=ce;for(const re of Object.keys(ce)){if(!("channels"in ce[re])){throw new Error("missing channels property: "+re)}if(!("labels"in ce[re])){throw new Error("missing channel labels property: "+re)}if(ce[re].labels.length!==ce[re].channels){throw new Error("channel and label counts mismatch: "+re)}const{channels:ie,labels:oe}=ce[re];delete ce[re].channels;delete ce[re].labels;Object.defineProperty(ce[re],"channels",{value:ie});Object.defineProperty(ce[re],"labels",{value:oe})}ce.rgb.hsl=function(re){const ie=re[0]/255;const oe=re[1]/255;const se=re[2]/255;const ae=Math.min(ie,oe,se);const ce=Math.max(ie,oe,se);const ue=ce-ae;let le;let fe;if(ce===ae){le=0}else if(ie===ce){le=(oe-se)/ue}else if(oe===ce){le=2+(se-ie)/ue}else if(se===ce){le=4+(ie-oe)/ue}le=Math.min(le*60,360);if(le<0){le+=360}const de=(ae+ce)/2;if(ce===ae){fe=0}else if(de<=.5){fe=ue/(ce+ae)}else{fe=ue/(2-ce-ae)}return[le,fe*100,de*100]};ce.rgb.hsv=function(re){let ie;let oe;let se;let ae;let ce;const ue=re[0]/255;const le=re[1]/255;const fe=re[2]/255;const de=Math.max(ue,le,fe);const pe=de-Math.min(ue,le,fe);const diffc=function(re){return(de-re)/6/pe+1/2};if(pe===0){ae=0;ce=0}else{ce=pe/de;ie=diffc(ue);oe=diffc(le);se=diffc(fe);if(ue===de){ae=se-oe}else if(le===de){ae=1/3+ie-se}else if(fe===de){ae=2/3+oe-ie}if(ae<0){ae+=1}else if(ae>1){ae-=1}}return[ae*360,ce*100,de*100]};ce.rgb.hwb=function(re){const ie=re[0];const oe=re[1];let se=re[2];const ae=ce.rgb.hsl(re)[0];const ue=1/255*Math.min(ie,Math.min(oe,se));se=1-1/255*Math.max(ie,Math.max(oe,se));return[ae,ue*100,se*100]};ce.rgb.cmyk=function(re){const ie=re[0]/255;const oe=re[1]/255;const se=re[2]/255;const ae=Math.min(1-ie,1-oe,1-se);const ce=(1-ie-ae)/(1-ae)||0;const ue=(1-oe-ae)/(1-ae)||0;const le=(1-se-ae)/(1-ae)||0;return[ce*100,ue*100,le*100,ae*100]};function comparativeDistance(re,ie){return(re[0]-ie[0])**2+(re[1]-ie[1])**2+(re[2]-ie[2])**2}ce.rgb.keyword=function(re){const ie=ae[re];if(ie){return ie}let oe=Infinity;let ce;for(const ie of Object.keys(se)){const ae=se[ie];const ue=comparativeDistance(re,ae);if(ue.04045?((ie+.055)/1.055)**2.4:ie/12.92;oe=oe>.04045?((oe+.055)/1.055)**2.4:oe/12.92;se=se>.04045?((se+.055)/1.055)**2.4:se/12.92;const ae=ie*.4124+oe*.3576+se*.1805;const ce=ie*.2126+oe*.7152+se*.0722;const ue=ie*.0193+oe*.1192+se*.9505;return[ae*100,ce*100,ue*100]};ce.rgb.lab=function(re){const ie=ce.rgb.xyz(re);let oe=ie[0];let se=ie[1];let ae=ie[2];oe/=95.047;se/=100;ae/=108.883;oe=oe>.008856?oe**(1/3):7.787*oe+16/116;se=se>.008856?se**(1/3):7.787*se+16/116;ae=ae>.008856?ae**(1/3):7.787*ae+16/116;const ue=116*se-16;const le=500*(oe-se);const fe=200*(se-ae);return[ue,le,fe]};ce.hsl.rgb=function(re){const ie=re[0]/360;const oe=re[1]/100;const se=re[2]/100;let ae;let ce;let ue;if(oe===0){ue=se*255;return[ue,ue,ue]}if(se<.5){ae=se*(1+oe)}else{ae=se+oe-se*oe}const le=2*se-ae;const fe=[0,0,0];for(let re=0;re<3;re++){ce=ie+1/3*-(re-1);if(ce<0){ce++}if(ce>1){ce--}if(6*ce<1){ue=le+(ae-le)*6*ce}else if(2*ce<1){ue=ae}else if(3*ce<2){ue=le+(ae-le)*(2/3-ce)*6}else{ue=le}fe[re]=ue*255}return fe};ce.hsl.hsv=function(re){const ie=re[0];let oe=re[1]/100;let se=re[2]/100;let ae=oe;const ce=Math.max(se,.01);se*=2;oe*=se<=1?se:2-se;ae*=ce<=1?ce:2-ce;const ue=(se+oe)/2;const le=se===0?2*ae/(ce+ae):2*oe/(se+oe);return[ie,le*100,ue*100]};ce.hsv.rgb=function(re){const ie=re[0]/60;const oe=re[1]/100;let se=re[2]/100;const ae=Math.floor(ie)%6;const ce=ie-Math.floor(ie);const ue=255*se*(1-oe);const le=255*se*(1-oe*ce);const fe=255*se*(1-oe*(1-ce));se*=255;switch(ae){case 0:return[se,fe,ue];case 1:return[le,se,ue];case 2:return[ue,se,fe];case 3:return[ue,le,se];case 4:return[fe,ue,se];case 5:return[se,ue,le]}};ce.hsv.hsl=function(re){const ie=re[0];const oe=re[1]/100;const se=re[2]/100;const ae=Math.max(se,.01);let ce;let ue;ue=(2-oe)*se;const le=(2-oe)*ae;ce=oe*ae;ce/=le<=1?le:2-le;ce=ce||0;ue/=2;return[ie,ce*100,ue*100]};ce.hwb.rgb=function(re){const ie=re[0]/360;let oe=re[1]/100;let se=re[2]/100;const ae=oe+se;let ce;if(ae>1){oe/=ae;se/=ae}const ue=Math.floor(6*ie);const le=1-se;ce=6*ie-ue;if((ue&1)!==0){ce=1-ce}const fe=oe+ce*(le-oe);let de;let pe;let he;switch(ue){default:case 6:case 0:de=le;pe=fe;he=oe;break;case 1:de=fe;pe=le;he=oe;break;case 2:de=oe;pe=le;he=fe;break;case 3:de=oe;pe=fe;he=le;break;case 4:de=fe;pe=oe;he=le;break;case 5:de=le;pe=oe;he=fe;break}return[de*255,pe*255,he*255]};ce.cmyk.rgb=function(re){const ie=re[0]/100;const oe=re[1]/100;const se=re[2]/100;const ae=re[3]/100;const ce=1-Math.min(1,ie*(1-ae)+ae);const ue=1-Math.min(1,oe*(1-ae)+ae);const le=1-Math.min(1,se*(1-ae)+ae);return[ce*255,ue*255,le*255]};ce.xyz.rgb=function(re){const ie=re[0]/100;const oe=re[1]/100;const se=re[2]/100;let ae;let ce;let ue;ae=ie*3.2406+oe*-1.5372+se*-.4986;ce=ie*-.9689+oe*1.8758+se*.0415;ue=ie*.0557+oe*-.204+se*1.057;ae=ae>.0031308?1.055*ae**(1/2.4)-.055:ae*12.92;ce=ce>.0031308?1.055*ce**(1/2.4)-.055:ce*12.92;ue=ue>.0031308?1.055*ue**(1/2.4)-.055:ue*12.92;ae=Math.min(Math.max(0,ae),1);ce=Math.min(Math.max(0,ce),1);ue=Math.min(Math.max(0,ue),1);return[ae*255,ce*255,ue*255]};ce.xyz.lab=function(re){let ie=re[0];let oe=re[1];let se=re[2];ie/=95.047;oe/=100;se/=108.883;ie=ie>.008856?ie**(1/3):7.787*ie+16/116;oe=oe>.008856?oe**(1/3):7.787*oe+16/116;se=se>.008856?se**(1/3):7.787*se+16/116;const ae=116*oe-16;const ce=500*(ie-oe);const ue=200*(oe-se);return[ae,ce,ue]};ce.lab.xyz=function(re){const ie=re[0];const oe=re[1];const se=re[2];let ae;let ce;let ue;ce=(ie+16)/116;ae=oe/500+ce;ue=ce-se/200;const le=ce**3;const fe=ae**3;const de=ue**3;ce=le>.008856?le:(ce-16/116)/7.787;ae=fe>.008856?fe:(ae-16/116)/7.787;ue=de>.008856?de:(ue-16/116)/7.787;ae*=95.047;ce*=100;ue*=108.883;return[ae,ce,ue]};ce.lab.lch=function(re){const ie=re[0];const oe=re[1];const se=re[2];let ae;const ce=Math.atan2(se,oe);ae=ce*360/2/Math.PI;if(ae<0){ae+=360}const ue=Math.sqrt(oe*oe+se*se);return[ie,ue,ae]};ce.lch.lab=function(re){const ie=re[0];const oe=re[1];const se=re[2];const ae=se/360*2*Math.PI;const ce=oe*Math.cos(ae);const ue=oe*Math.sin(ae);return[ie,ce,ue]};ce.rgb.ansi16=function(re,ie=null){const[oe,se,ae]=re;let ue=ie===null?ce.rgb.hsv(re)[2]:ie;ue=Math.round(ue/50);if(ue===0){return 30}let le=30+(Math.round(ae/255)<<2|Math.round(se/255)<<1|Math.round(oe/255));if(ue===2){le+=60}return le};ce.hsv.ansi16=function(re){return ce.rgb.ansi16(ce.hsv.rgb(re),re[2])};ce.rgb.ansi256=function(re){const ie=re[0];const oe=re[1];const se=re[2];if(ie===oe&&oe===se){if(ie<8){return 16}if(ie>248){return 231}return Math.round((ie-8)/247*24)+232}const ae=16+36*Math.round(ie/255*5)+6*Math.round(oe/255*5)+Math.round(se/255*5);return ae};ce.ansi16.rgb=function(re){let ie=re%10;if(ie===0||ie===7){if(re>50){ie+=3.5}ie=ie/10.5*255;return[ie,ie,ie]}const oe=(~~(re>50)+1)*.5;const se=(ie&1)*oe*255;const ae=(ie>>1&1)*oe*255;const ce=(ie>>2&1)*oe*255;return[se,ae,ce]};ce.ansi256.rgb=function(re){if(re>=232){const ie=(re-232)*10+8;return[ie,ie,ie]}re-=16;let ie;const oe=Math.floor(re/36)/5*255;const se=Math.floor((ie=re%36)/6)/5*255;const ae=ie%6/5*255;return[oe,se,ae]};ce.rgb.hex=function(re){const ie=((Math.round(re[0])&255)<<16)+((Math.round(re[1])&255)<<8)+(Math.round(re[2])&255);const oe=ie.toString(16).toUpperCase();return"000000".substring(oe.length)+oe};ce.hex.rgb=function(re){const ie=re.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!ie){return[0,0,0]}let oe=ie[0];if(ie[0].length===3){oe=oe.split("").map((re=>re+re)).join("")}const se=parseInt(oe,16);const ae=se>>16&255;const ce=se>>8&255;const ue=se&255;return[ae,ce,ue]};ce.rgb.hcg=function(re){const ie=re[0]/255;const oe=re[1]/255;const se=re[2]/255;const ae=Math.max(Math.max(ie,oe),se);const ce=Math.min(Math.min(ie,oe),se);const ue=ae-ce;let le;let fe;if(ue<1){le=ce/(1-ue)}else{le=0}if(ue<=0){fe=0}else if(ae===ie){fe=(oe-se)/ue%6}else if(ae===oe){fe=2+(se-ie)/ue}else{fe=4+(ie-oe)/ue}fe/=6;fe%=1;return[fe*360,ue*100,le*100]};ce.hsl.hcg=function(re){const ie=re[1]/100;const oe=re[2]/100;const se=oe<.5?2*ie*oe:2*ie*(1-oe);let ae=0;if(se<1){ae=(oe-.5*se)/(1-se)}return[re[0],se*100,ae*100]};ce.hsv.hcg=function(re){const ie=re[1]/100;const oe=re[2]/100;const se=ie*oe;let ae=0;if(se<1){ae=(oe-se)/(1-se)}return[re[0],se*100,ae*100]};ce.hcg.rgb=function(re){const ie=re[0]/360;const oe=re[1]/100;const se=re[2]/100;if(oe===0){return[se*255,se*255,se*255]}const ae=[0,0,0];const ce=ie%1*6;const ue=ce%1;const le=1-ue;let fe=0;switch(Math.floor(ce)){case 0:ae[0]=1;ae[1]=ue;ae[2]=0;break;case 1:ae[0]=le;ae[1]=1;ae[2]=0;break;case 2:ae[0]=0;ae[1]=1;ae[2]=ue;break;case 3:ae[0]=0;ae[1]=le;ae[2]=1;break;case 4:ae[0]=ue;ae[1]=0;ae[2]=1;break;default:ae[0]=1;ae[1]=0;ae[2]=le}fe=(1-oe)*se;return[(oe*ae[0]+fe)*255,(oe*ae[1]+fe)*255,(oe*ae[2]+fe)*255]};ce.hcg.hsv=function(re){const ie=re[1]/100;const oe=re[2]/100;const se=ie+oe*(1-ie);let ae=0;if(se>0){ae=ie/se}return[re[0],ae*100,se*100]};ce.hcg.hsl=function(re){const ie=re[1]/100;const oe=re[2]/100;const se=oe*(1-ie)+.5*ie;let ae=0;if(se>0&&se<.5){ae=ie/(2*se)}else if(se>=.5&&se<1){ae=ie/(2*(1-se))}return[re[0],ae*100,se*100]};ce.hcg.hwb=function(re){const ie=re[1]/100;const oe=re[2]/100;const se=ie+oe*(1-ie);return[re[0],(se-ie)*100,(1-se)*100]};ce.hwb.hcg=function(re){const ie=re[1]/100;const oe=re[2]/100;const se=1-oe;const ae=se-ie;let ce=0;if(ae<1){ce=(se-ae)/(1-ae)}return[re[0],ae*100,ce*100]};ce.apple.rgb=function(re){return[re[0]/65535*255,re[1]/65535*255,re[2]/65535*255]};ce.rgb.apple=function(re){return[re[0]/255*65535,re[1]/255*65535,re[2]/255*65535]};ce.gray.rgb=function(re){return[re[0]/100*255,re[0]/100*255,re[0]/100*255]};ce.gray.hsl=function(re){return[0,0,re[0]]};ce.gray.hsv=ce.gray.hsl;ce.gray.hwb=function(re){return[0,100,re[0]]};ce.gray.cmyk=function(re){return[0,0,0,re[0]]};ce.gray.lab=function(re){return[re[0],0,0]};ce.gray.hex=function(re){const ie=Math.round(re[0]/100*255)&255;const oe=(ie<<16)+(ie<<8)+ie;const se=oe.toString(16).toUpperCase();return"000000".substring(se.length)+se};ce.rgb.gray=function(re){const ie=(re[0]+re[1]+re[2])/3;return[ie/255*100]}},86931:(re,ie,oe)=>{const se=oe(97391);const ae=oe(30880);const ce={};const ue=Object.keys(se);function wrapRaw(re){const wrappedFn=function(...ie){const oe=ie[0];if(oe===undefined||oe===null){return oe}if(oe.length>1){ie=oe}return re(ie)};if("conversion"in re){wrappedFn.conversion=re.conversion}return wrappedFn}function wrapRounded(re){const wrappedFn=function(...ie){const oe=ie[0];if(oe===undefined||oe===null){return oe}if(oe.length>1){ie=oe}const se=re(ie);if(typeof se==="object"){for(let re=se.length,ie=0;ie{ce[re]={};Object.defineProperty(ce[re],"channels",{value:se[re].channels});Object.defineProperty(ce[re],"labels",{value:se[re].labels});const ie=ae(re);const oe=Object.keys(ie);oe.forEach((oe=>{const se=ie[oe];ce[re][oe]=wrapRounded(se);ce[re][oe].raw=wrapRaw(se)}))}));re.exports=ce},30880:(re,ie,oe)=>{const se=oe(97391);function buildGraph(){const re={};const ie=Object.keys(se);for(let oe=ie.length,se=0;se{"use strict";re.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},85443:(re,ie,oe)=>{var se=oe(73837);var ae=oe(12781).Stream;var ce=oe(18611);re.exports=CombinedStream;function CombinedStream(){this.writable=false;this.readable=true;this.dataSize=0;this.maxDataSize=2*1024*1024;this.pauseStreams=true;this._released=false;this._streams=[];this._currentStream=null;this._insideLoop=false;this._pendingNext=false}se.inherits(CombinedStream,ae);CombinedStream.create=function(re){var ie=new this;re=re||{};for(var oe in re){ie[oe]=re[oe]}return ie};CombinedStream.isStreamLike=function(re){return typeof re!=="function"&&typeof re!=="string"&&typeof re!=="boolean"&&typeof re!=="number"&&!Buffer.isBuffer(re)};CombinedStream.prototype.append=function(re){var ie=CombinedStream.isStreamLike(re);if(ie){if(!(re instanceof ce)){var oe=ce.create(re,{maxDataSize:Infinity,pauseStream:this.pauseStreams});re.on("data",this._checkDataSize.bind(this));re=oe}this._handleErrors(re);if(this.pauseStreams){re.pause()}}this._streams.push(re);return this};CombinedStream.prototype.pipe=function(re,ie){ae.prototype.pipe.call(this,re,ie);this.resume();return re};CombinedStream.prototype._getNext=function(){this._currentStream=null;if(this._insideLoop){this._pendingNext=true;return}this._insideLoop=true;try{do{this._pendingNext=false;this._realGetNext()}while(this._pendingNext)}finally{this._insideLoop=false}};CombinedStream.prototype._realGetNext=function(){var re=this._streams.shift();if(typeof re=="undefined"){this.end();return}if(typeof re!=="function"){this._pipeNext(re);return}var ie=re;ie(function(re){var ie=CombinedStream.isStreamLike(re);if(ie){re.on("data",this._checkDataSize.bind(this));this._handleErrors(re)}this._pipeNext(re)}.bind(this))};CombinedStream.prototype._pipeNext=function(re){this._currentStream=re;var ie=CombinedStream.isStreamLike(re);if(ie){re.on("end",this._getNext.bind(this));re.pipe(this,{end:false});return}var oe=re;this.write(oe);this._getNext()};CombinedStream.prototype._handleErrors=function(re){var ie=this;re.on("error",(function(re){ie._emitError(re)}))};CombinedStream.prototype.write=function(re){this.emit("data",re)};CombinedStream.prototype.pause=function(){if(!this.pauseStreams){return}if(this.pauseStreams&&this._currentStream&&typeof this._currentStream.pause=="function")this._currentStream.pause();this.emit("pause")};CombinedStream.prototype.resume=function(){if(!this._released){this._released=true;this.writable=true;this._getNext()}if(this.pauseStreams&&this._currentStream&&typeof this._currentStream.resume=="function")this._currentStream.resume();this.emit("resume")};CombinedStream.prototype.end=function(){this._reset();this.emit("end")};CombinedStream.prototype.destroy=function(){this._reset();this.emit("close")};CombinedStream.prototype._reset=function(){this.writable=false;this._streams=[];this._currentStream=null};CombinedStream.prototype._checkDataSize=function(){this._updateDataSize();if(this.dataSize<=this.maxDataSize){return}var re="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(re))};CombinedStream.prototype._updateDataSize=function(){this.dataSize=0;var re=this;this._streams.forEach((function(ie){if(!ie.dataSize){return}re.dataSize+=ie.dataSize}));if(this._currentStream&&this._currentStream.dataSize){this.dataSize+=this._currentStream.dataSize}};CombinedStream.prototype._emitError=function(re){this._reset();this.emit("error",re)}},37684:(re,ie)=>{"use strict";const oe={PS512:-39,PS384:-38,PS256:-37,RS512:-259,RS384:-258,RS256:-257,"ECDH-SS-512":-28,"ECDH-SS":-27,"ECDH-ES-512":-26,"ECDH-ES":-25,ES256:-7,ES384:-35,ES512:-36,direct:-6,A128GCM:1,A192GCM:2,A256GCM:3,"SHA-256_64":4,"SHA-256-64":4,"HS256/64":4,"SHA-256":5,HS256:5,"SHA-384":6,HS384:6,"SHA-512":7,HS512:7,"AES-CCM-16-64-128":10,"AES-CCM-16-128/64":10,"AES-CCM-16-64-256":11,"AES-CCM-16-256/64":11,"AES-CCM-64-64-128":12,"AES-CCM-64-128/64":12,"AES-CCM-64-64-256":13,"AES-CCM-64-256/64":13,"AES-MAC-128/64":14,"AES-MAC-256/64":15,"AES-MAC-128/128":25,"AES-MAC-256/128":26,"AES-CCM-16-128-128":30,"AES-CCM-16-128/128":30,"AES-CCM-16-128-256":31,"AES-CCM-16-256/128":31,"AES-CCM-64-128-128":32,"AES-CCM-64-128/128":32,"AES-CCM-64-128-256":33,"AES-CCM-64-256/128":33};const se={kid:re=>Buffer.from(re,"utf8"),alg:re=>{if(!oe[re]){throw new Error("Unknown 'alg' parameter, "+re)}return oe[re]}};const ae={partyUNonce:-22,static_key_id:-3,static_key:-2,ephemeral_key:-1,alg:1,crit:2,content_type:3,ctyp:3,kid:4,IV:5,Partial_IV:6,counter_signature:7};ie.EMPTY_BUFFER=Buffer.alloc(0);ie.TranslateHeaders=function(re){const ie=new Map;for(const oe in re){if(!ae[oe]){throw new Error("Unknown parameter, '"+oe+"'")}let ce=re[oe];if(se[oe]){ce=se[oe](re[oe])}if(ce!==undefined&&ce!==null){ie.set(ae[oe],ce)}}return ie};const ce={crv:-1,k:-1,x:-2,y:-3,d:-4,kty:1};const ue={OKP:1,EC2:2,RSA:3,Symmetric:4};const le={"P-256":1,"P-384":2,"P-521":3,X25519:4,X448:5,Ed25519:6,Ed448:7};const fe={kty:re=>{if(!ue[re]){throw new Error("Unknown 'kty' parameter, "+re)}return ue[re]},crv:re=>{if(!le[re]){throw new Error("Unknown 'crv' parameter, "+re)}return le[re]}};ie.TranslateKey=function(re){const ie=new Map;for(const oe in re){if(!ce[oe]){throw new Error("Unknown parameter, '"+oe+"'")}let se=re[oe];if(fe[oe]){se=fe[oe](se)}ie.set(ce[oe],se)}return ie};re.exports.xor=function(re,ie){const oe=Buffer.alloc(Math.max(re.length,ie.length));for(let se=1;se<=oe.length;++se){const ae=re.length-se<0?0:re[re.length-se];const ce=ie.length-se<0?0:ie[ie.length-se];oe[oe.length-se]=ae^ce}return oe};ie.HeaderParameters=ae;ie.runningInNode=function(){return Object.prototype.toString.call(global.process)==="[object process]"}},79830:(re,ie,oe)=>{"use strict";const se=oe(32940);const ae=oe(6113);const ce=oe(55768);const ue=oe(37684);const le=oe(7846);const fe=se.Tagged;const de=ue.EMPTY_BUFFER;const pe=ie.EncryptTag=96;const he=ie.Encrypt0Tag=16;const Ae=ue.runningInNode;const ge={1:"A128GCM",2:"A192GCM",3:"A256GCM",10:"AES-CCM-16-64-128",11:"AES-CCM-16-64-256",12:"AES-CCM-64-64-128",13:"AES-CCM-64-64-256",30:"AES-CCM-16-128-128",31:"AES-CCM-16-128-256",32:"AES-CCM-64-128-128",33:"AES-CCM-64-128-256"};const me={A128GCM:"aes-128-gcm",A192GCM:"aes-192-gcm",A256GCM:"aes-256-gcm","AES-CCM-16-64-128":"aes-128-ccm","AES-CCM-16-64-256":"aes-256-ccm","AES-CCM-64-64-128":"aes-128-ccm","AES-CCM-64-64-256":"aes-256-ccm","AES-CCM-16-128-128":"aes-128-ccm","AES-CCM-16-128-256":"aes-256-ccm","AES-CCM-64-128-128":"aes-128-ccm","AES-CCM-64-128-256":"aes-256-ccm"};const ye={1:true,2:true,3:true};const ve={10:true,11:true,12:true,13:true,30:true,31:true,32:true,33:true};const be={1:16,2:16,3:16,10:8,11:8,12:8,13:8,30:16,31:16,32:16,33:16};const we={1:12,2:12,3:12,10:13,11:13,12:7,13:7,30:13,31:13,32:7,33:7};const _e={1:16,2:24,3:32,10:16,11:32,12:16,13:32,30:16,31:32,32:16,33:32,"P-521":66,"P-256":32};const Ee={"ECDH-ES":"sha256","ECDH-ES-512":"sha512","ECDH-SS":"sha256","ECDH-SS-512":"sha512"};const Ce={"P-521":"secp521r1","P-256":"prime256v1"};function createAAD(re,ie,oe){re=!re.size?de:se.encode(re);const ae=[ie,re,oe];return se.encode(ae)}function _randomSource(re){return ae.randomBytes(re)}function nodeEncrypt(re,ie,oe,se,ce,ue=false){const le=me[ge[oe]];const fe=ue?{authTagLength:be[oe]}:null;const de=ue?{plaintextLength:Buffer.byteLength(re)}:null;const pe=ae.createCipheriv(le,ie,se,fe);pe.setAAD(ce,de);return Buffer.concat([pe.update(re),pe.final(),pe.getAuthTag()])}function createContext(re,ie,oe){return se.encode([ie,[null,oe||null,null],[null,null,null],[_e[ie]*8,re]])}ie.create=function(re,ie,oe,ge){return new ce(((ce,me)=>{ge=ge||{};const be=ge.externalAAD||de;const Ie=ge.randomSource||_randomSource;let Se=re.u||{};let Be=re.p||{};Be=ue.TranslateHeaders(Be);Se=ue.TranslateHeaders(Se);const xe=Be.get(ue.HeaderParameters.alg)||Se.get(ue.HeaderParameters.alg);if(!xe){throw new Error("Missing mandatory parameter 'alg'")}if(Array.isArray(oe)){if(oe.length===0){throw new Error("There has to be at least one recipent")}if(oe.length>1){throw new Error("Encrypting with multiple recipents is not implemented")}let re;if(ge.contextIv){const ie=Ie(2);re=ue.xor(ie,ge.contextIv);Se.set(ue.HeaderParameters.Partial_IV,ie)}else{re=Ie(we[xe]);Se.set(ue.HeaderParameters.IV,re)}const he=createAAD(Be,"Encrypt",be);let me;let ke;if(oe[0]&&oe[0].p&&(oe[0].p.alg==="ECDH-ES"||oe[0].p.alg==="ECDH-ES-512"||oe[0].p.alg==="ECDH-SS"||oe[0].p.alg==="ECDH-SS-512")){const re=ae.createECDH(Ce[oe[0].key.crv]);const ie=ae.createECDH(Ce[oe[0].key.crv]);re.setPrivateKey(oe[0].key.d);let ce=Ie(_e[oe[0].key.crv]);if(oe[0].p.alg==="ECDH-ES"||oe[0].p.alg==="ECDH-ES-512"){ce=Ie(_e[oe[0].key.crv]);ce[0]=oe[0].key.crv!=="P-521"||ce[0]===1?ce[0]:0}else{ce=oe[0].sender.d}ie.setPrivateKey(ce);const fe=ie.getPublicKey();const pe=Buffer.concat([Buffer.from("04","hex"),oe[0].key.x,oe[0].key.y]);const he=ue.TranslateKey({crv:oe[0].key.crv,x:fe.slice(1,_e[oe[0].key.crv]+1),y:fe.slice(_e[oe[0].key.crv]+1),kty:"EC2"});const Ae=se.encode(ue.TranslateHeaders(oe[0].p));const ge=ie.computeSecret(pe);let ye=null;if(oe[0].p.alg==="ECDH-SS"||oe[0].p.alg==="ECDH-SS-512"){ye=Ie(64)}const ve=createContext(Ae,xe,ye);const be=_e[xe];const we=new le(Ee[oe[0].p.alg],undefined,ge);me=we.derive(ve,be);let Se=oe[0].u;if(oe[0].p.alg==="ECDH-ES"||oe[0].p.alg==="ECDH-ES-512"){Se.ephemeral_key=he}else{Se.static_key=he}Se.partyUNonce=ye;Se=ue.TranslateHeaders(Se);ke=[[Ae,Se,de]]}else{me=oe[0].key;const re=ue.TranslateHeaders(oe[0].u);ke=[[de,re,de]]}let Oe;if(ye[xe]){Oe=nodeEncrypt(ie,me,xe,re,he)}else if(ve[xe]&&Ae()){Oe=nodeEncrypt(ie,me,xe,re,he,true)}else{throw new Error("No implementation for algorithm, "+xe)}if(Be.size===0&&ge.encodep==="empty"){Be=de}else{Be=se.encode(Be)}const De=[Be,Se,Oe,ke];ce(se.encode(ge.excludetag?De:new fe(pe,De)))}else{let re;if(ge.contextIv){const ie=Ie(2);re=ue.xor(ie,ge.contextIv);Se.set(ue.HeaderParameters.Partial_IV,ie)}else{re=Ie(we[xe]);Se.set(ue.HeaderParameters.IV,re)}const ae=oe.key;const le=createAAD(Be,"Encrypt0",be);let pe;if(ye[xe]){pe=nodeEncrypt(ie,ae,xe,re,le)}else if(ve[xe]&&Ae()){pe=nodeEncrypt(ie,ae,xe,re,le,true)}else{throw new Error("No implementation for algorithm, "+xe)}if(Be.size===0&&ge.encodep==="empty"){Be=de}else{Be=se.encode(Be)}const me=[Be,Se,pe];ce(se.encode(ge.excludetag?me:new fe(he,me)))}}))};function nodeDecrypt(re,ie,oe,se,ce,ue,le=false){const fe=me[ge[oe]];const de=le?{authTagLength:be[oe]}:null;const pe=le?{plaintextLength:Buffer.byteLength(re)}:null;const he=ae.createDecipheriv(fe,ie,se,de);he.setAuthTag(ce);he.setAAD(ue,pe);return Buffer.concat([he.update(re),he.final()])}ie.read=async function(re,ie,oe){oe=oe||{};const ae=oe.externalAAD||de;let ce=await se.decodeFirst(re);let le=oe.defaultType?oe.defaultType:pe;if(ce instanceof fe){if(ce.tag!==pe&&ce.tag!==he){throw new Error("Unknown tag, "+ce.tag)}le=ce.tag;ce=ce.value}if(!Array.isArray(ce)){throw new Error("Expecting Array")}if(le===pe&&ce.length!==4){throw new Error("Expecting Array of lenght 4 for COSE Encrypt message")}if(le===he&&ce.length!==3){throw new Error("Expecting Array of lenght 4 for COSE Encrypt0 message")}let[me,we,_e]=ce;me=me.length===0?de:se.decodeFirstSync(me);me=!me.size?de:me;we=!we.size?de:we;const Ee=me!==de?me.get(ue.HeaderParameters.alg):we!==de?we.get(ue.HeaderParameters.alg):undefined;if(!ge[Ee]){throw new Error("Unknown or unsupported algorithm "+Ee)}let Ce=we.get(ue.HeaderParameters.IV);const Ie=we.get(ue.HeaderParameters.Partial_IV);if(Ce&&Ie){throw new Error("IV and Partial IV parameters MUST NOT both be present in the same security layer")}if(Ie&&!oe.contextIv){throw new Error("Context IV must be provided when Partial IV is used")}if(Ie&&oe.contextIv){Ce=ue.xor(Ie,oe.contextIv)}const Se=be[Ee];const Be=_e.slice(_e.length-Se,_e.length);_e=_e.slice(0,_e.length-Se);const xe=createAAD(me,le===pe?"Encrypt":"Encrypt0",ae);if(ye[Ee]){return nodeDecrypt(_e,ie,Ee,Ce,Be,xe)}else if(ve[Ee]&&Ae()){return nodeDecrypt(_e,ie,Ee,Ce,Be,xe,true)}else{throw new Error("No implementation for algorithm, "+Ee)}}},99602:(re,ie,oe)=>{"use strict";ie.common=oe(37684);ie.mac=oe(2121);ie.sign=oe(34404);ie.encrypt=oe(79830)},2121:(re,ie,oe)=>{"use strict";const se=oe(32940);const ae=oe(28660);const ce=oe(6113);const ue=oe(55768);const le=oe(37684);const fe=se.Tagged;const de=le.EMPTY_BUFFER;const pe=ie.MAC0Tag=17;const he=ie.MACTag=97;const Ae={4:"SHA-256_64",5:"SHA-256",6:"SHA-384",7:"SHA-512",14:"AES-MAC-128/64",15:"AES-MAC-256/64",25:"AES-MAC-128/128",26:"AES-MAC-256/128"};const ge={"SHA-256_64":"sha256","SHA-256":"sha256",HS256:"sha256","SHA-384":"sha384","SHA-512":"sha512","AES-MAC-128/64":"aes-cbc-mac-64","AES-MAC-128/128":"aes-cbc-mac-128","AES-MAC-256/64":"aes-cbc-mac-64","AES-MAC-256/128":"aes-cbc-mac-128"};const me={4:8,5:32,6:48,7:64};const ye={};ye[pe]="MAC0";ye[he]="MAC";function doMac(re,ie,oe,le,fe,de){return new ue(((ue,pe)=>{const he=[re,ie,oe,le];const Ae=se.encode(he);if(fe==="aes-cbc-mac-64"){const re=ae.create(de,Ae,8);ue(re)}else if(fe==="aes-cbc-mac-128"){const re=ae.create(de,Ae,16);ue(re)}else{const re=ce.createHmac(fe,de);re.end(Ae,(function(){ue(re.read())}))}}))}ie.create=async function(re,ie,oe,ae,ce){ce=ce||{};ae=ae||de;let ue=re.u||{};let ye=re.p||{};ye=le.TranslateHeaders(ye);ue=le.TranslateHeaders(ue);const ve=ye.get(le.HeaderParameters.alg)||ue.get(le.HeaderParameters.alg);if(!ve){throw new Error("Missing mandatory parameter 'alg'")}if(oe.length===0){throw new Error("There has to be at least one recipent")}const be=!ye.size?de:se.encode(ye);if(ye.size===0&&ce.encodep==="empty"){ye=de}else{ye=se.encode(ye)}if(Array.isArray(oe)){if(oe.length>1){throw new Error("MACing with multiple recipents is not implemented")}const re=oe[0];let pe=await doMac("MAC",be,ae,ie,ge[Ae[ve]],re.key);pe=pe.slice(0,me[ve]);const we=le.TranslateHeaders(re.u);const _e=de;const Ee=[ye,ue,ie,pe,[[_e,we,de]]];return se.encode(ce.excludetag?Ee:new fe(he,Ee))}else{let re=await doMac("MAC0",be,ae,ie,ge[Ae[ve]],oe.key);re=re.slice(0,me[ve]);const le=[ye,ue,ie,re];return se.encode(ce.excludetag?le:new fe(pe,le))}};ie.read=async function(re,ie,oe,ae){ae=ae||{};oe=oe||de;let ce=await se.decodeFirst(re);let ue=ae.defaultType?ae.defaultType:pe;if(ce instanceof fe){if(ce.tag!==pe&&ce.tag!==he){throw new Error("Unexpected cbor tag, '"+ce.tag+"'")}ue=ce.tag;ce=ce.value}if(!Array.isArray(ce)){throw new Error("Expecting Array")}if(ue===pe&&ce.length!==4){throw new Error("Expecting Array of lenght 4")}if(ue===he&&ce.length!==5){throw new Error("Expecting Array of lenght 5")}let[ve,be,we,_e]=ce;ve=!ve.length?de:se.decode(ve);ve=!ve.size?de:ve;be=!be.size?de:be;const Ee=ve!==de?ve.get(le.HeaderParameters.alg):be!==de?be.get(le.HeaderParameters.alg):undefined;ve=!ve.size?de:se.encode(ve);if(!Ae[Ee]){throw new Error("Unknown algorithm, "+Ee)}if(!ge[Ae[Ee]]){throw new Error("Unsupported algorithm, "+Ae[Ee])}let Ce=await doMac(ye[ue],ve,oe,we,ge[Ae[Ee]],ie);Ce=Ce.slice(0,me[Ee]);if(_e.toString("hex")!==Ce.toString("hex")){throw new Error("Tag mismatch")}return we}},34404:(re,ie,oe)=>{"use strict";const se=oe(32940);const ae=oe(29485).ec;const ce=oe(6113);const ue=oe(26922);const le=oe(37684);const fe=le.EMPTY_BUFFER;const de=se.Tagged;const pe=ie.SignTag=98;const he=ie.Sign1Tag=18;const Ae={};Ae[-7]={sign:"ES256",digest:"SHA-256"};Ae[-35]={sign:"ES384",digest:"SHA-384"};Ae[-36]={sign:"ES512",digest:"SHA-512"};Ae[-37]={sign:"PS256",digest:"SHA-256"};Ae[-38]={sign:"PS384",digest:"SHA-384"};Ae[-39]={sign:"PS512",digest:"SHA-512"};Ae[-257]={sign:"RS256",digest:"SHA-256"};Ae[-258]={sign:"RS384",digest:"SHA-384"};Ae[-259]={sign:"RS512",digest:"SHA-512"};const ge={ES256:{sign:"p256",digest:"sha256"},ES384:{sign:"p384",digest:"sha384"},ES512:{sign:"p521",digest:"sha512"},RS256:{sign:"RSA-SHA256"},RS384:{sign:"RSA-SHA384"},RS512:{sign:"RSA-SHA512"},PS256:{alg:"pss-sha256",saltLen:32},PS384:{alg:"pss-sha384",saltLen:48},PS512:{alg:"pss-sha512",saltLen:64}};function doSign(re,ie,oe){if(!Ae[oe]){throw new Error("Unknown algorithm, "+oe)}if(!ge[Ae[oe].sign]){throw new Error("Unsupported algorithm, "+Ae[oe].sign)}let le=se.encode(re);let fe;if(Ae[oe].sign.startsWith("ES")){const re=ce.createHash(ge[Ae[oe].sign].digest);re.update(le);le=re.digest();const se=new ae(ge[Ae[oe].sign].sign);const ue=se.keyFromPrivate(ie.key.d);const de=ue.sign(le);const pe=Math.ceil(se.curve._bitLength/8);fe=Buffer.concat([de.r.toArrayLike(Buffer,undefined,pe),de.s.toArrayLike(Buffer,undefined,pe)])}else if(Ae[oe].sign.startsWith("PS")){ie.key.dmp1=ie.key.dp;ie.key.dmq1=ie.key.dq;ie.key.coeff=ie.key.qi;const re=(new ue).importKey(ie.key,"components-private");re.setOptions({signingScheme:{scheme:ge[Ae[oe].sign].alg.split("-")[0],hash:ge[Ae[oe].sign].alg.split("-")[1],saltLength:ge[Ae[oe].sign].saltLen}});fe=re.sign(le)}else{const re=ce.createSign(ge[Ae[oe].sign].sign);re.update(le);re.end();fe=re.sign(ie.key)}return fe}ie.create=function(re,ie,oe,ae){ae=ae||{};let ce=re.u||{};let ue=re.p||{};ue=le.TranslateHeaders(ue);ce=le.TranslateHeaders(ce);let Ae=ue||{};Ae=Ae.size===0?fe:se.encode(Ae);if(Array.isArray(oe)){if(oe.length===0){throw new Error("There has to be at least one signer")}if(oe.length>1){throw new Error("Only one signer is supported")}const re=oe[0];const he=re.externalAAD||fe;let ge=re.p||{};let me=re.u||{};ge=le.TranslateHeaders(ge);me=le.TranslateHeaders(me);const ye=ge.get(le.HeaderParameters.alg);ge=ge.size===0?fe:se.encode(ge);const ve=["Signature",Ae,ge,he,ie];const be=doSign(ve,re,ye);if(ue.size===0&&ae.encodep==="empty"){ue=fe}else{ue=se.encode(ue)}const we=[ue,ce,ie,[[ge,me,be]]];return se.encodeAsync(ae.excludetag?we:new de(pe,we))}else{const re=oe;const pe=re.externalAAD||fe;const ge=ue.get(le.HeaderParameters.alg)||ce.get(le.HeaderParameters.alg);const me=["Signature1",Ae,pe,ie];const ye=doSign(me,re,ge);if(ue.size===0&&ae.encodep==="empty"){ue=fe}else{ue=se.encode(ue)}const ve=[ue,ce,ie,ye];return se.encodeAsync(ae.excludetag?ve:new de(he,ve),{canonical:true})}};function doVerify(re,ie,oe,le){if(!Ae[oe]){throw new Error("Unknown algorithm, "+oe)}const fe=ge[Ae[oe].sign];if(!fe){throw new Error("Unsupported algorithm, "+Ae[oe].sign)}const de=se.encode(re);if(Ae[oe].sign.startsWith("ES")){const re=ce.createHash(fe.digest);re.update(de);const oe=re.digest();const se={x:ie.key.x,y:ie.key.y};const ue=new ae(fe.sign);const pe=ue.keyFromPublic(se);le={r:le.slice(0,le.length/2),s:le.slice(le.length/2)};if(!pe.verify(oe,le)){throw new Error("Signature missmatch")}}else if(Ae[oe].sign.startsWith("PS")){const re=(new ue).importKey(ie.key,"components-public");re.setOptions({signingScheme:{scheme:ge[Ae[oe].sign].alg.split("-")[0],hash:ge[Ae[oe].sign].alg.split("-")[1],saltLength:ge[Ae[oe].sign].saltLen}});if(!re.verify(de,le,"buffer","buffer")){throw new Error("Signature missmatch")}}else{const re=ce.createVerify(fe.sign);re.update(de);if(!re.verify(ie.key,le)){throw new Error("Signature missmatch")}}}function getSigner(re,ie){for(let oe=0;oe{ie.formatArgs=formatArgs;ie.save=save;ie.load=load;ie.useColors=useColors;ie.storage=localstorage();ie.destroy=(()=>{let re=false;return()=>{if(!re){re=true;console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}}})();ie.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function useColors(){if(typeof window!=="undefined"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)){return true}if(typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)){return false}return typeof document!=="undefined"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window!=="undefined"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function formatArgs(ie){ie[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+ie[0]+(this.useColors?"%c ":" ")+"+"+re.exports.humanize(this.diff);if(!this.useColors){return}const oe="color: "+this.color;ie.splice(1,0,oe,"color: inherit");let se=0;let ae=0;ie[0].replace(/%[a-zA-Z%]/g,(re=>{if(re==="%%"){return}se++;if(re==="%c"){ae=se}}));ie.splice(ae,0,oe)}ie.log=console.debug||console.log||(()=>{});function save(re){try{if(re){ie.storage.setItem("debug",re)}else{ie.storage.removeItem("debug")}}catch(re){}}function load(){let re;try{re=ie.storage.getItem("debug")}catch(re){}if(!re&&typeof process!=="undefined"&&"env"in process){re=process.env.DEBUG}return re}function localstorage(){try{return localStorage}catch(re){}}re.exports=oe(46243)(ie);const{formatters:se}=re.exports;se.j=function(re){try{return JSON.stringify(re)}catch(re){return"[UnexpectedJSONParseError]: "+re.message}}},46243:(re,ie,oe)=>{function setup(re){createDebug.debug=createDebug;createDebug.default=createDebug;createDebug.coerce=coerce;createDebug.disable=disable;createDebug.enable=enable;createDebug.enabled=enabled;createDebug.humanize=oe(80900);createDebug.destroy=destroy;Object.keys(re).forEach((ie=>{createDebug[ie]=re[ie]}));createDebug.names=[];createDebug.skips=[];createDebug.formatters={};function selectColor(re){let ie=0;for(let oe=0;oe{if(ie==="%%"){return"%"}ce++;const ae=createDebug.formatters[se];if(typeof ae==="function"){const se=re[ce];ie=ae.call(oe,se);re.splice(ce,1);ce--}return ie}));createDebug.formatArgs.call(oe,re);const ue=oe.log||createDebug.log;ue.apply(oe,re)}debug.namespace=re;debug.useColors=createDebug.useColors();debug.color=createDebug.selectColor(re);debug.extend=extend;debug.destroy=createDebug.destroy;Object.defineProperty(debug,"enabled",{enumerable:true,configurable:false,get:()=>{if(oe!==null){return oe}if(se!==createDebug.namespaces){se=createDebug.namespaces;ae=createDebug.enabled(re)}return ae},set:re=>{oe=re}});if(typeof createDebug.init==="function"){createDebug.init(debug)}return debug}function extend(re,ie){const oe=createDebug(this.namespace+(typeof ie==="undefined"?":":ie)+re);oe.log=this.log;return oe}function enable(re){createDebug.save(re);createDebug.namespaces=re;createDebug.names=[];createDebug.skips=[];let ie;const oe=(typeof re==="string"?re:"").split(/[\s,]+/);const se=oe.length;for(ie=0;ie"-"+re))].join(",");createDebug.enable("");return re}function enabled(re){if(re[re.length-1]==="*"){return true}let ie;let oe;for(ie=0,oe=createDebug.skips.length;ie{if(typeof process==="undefined"||process.type==="renderer"||process.browser===true||process.__nwjs){re.exports=oe(28222)}else{re.exports=oe(35332)}},35332:(re,ie,oe)=>{const se=oe(76224);const ae=oe(73837);ie.init=init;ie.log=log;ie.formatArgs=formatArgs;ie.save=save;ie.load=load;ie.useColors=useColors;ie.destroy=ae.deprecate((()=>{}),"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");ie.colors=[6,2,3,4,5,1];try{const re=oe(59318);if(re&&(re.stderr||re).level>=2){ie.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221]}}catch(re){}ie.inspectOpts=Object.keys(process.env).filter((re=>/^debug_/i.test(re))).reduce(((re,ie)=>{const oe=ie.substring(6).toLowerCase().replace(/_([a-z])/g,((re,ie)=>ie.toUpperCase()));let se=process.env[ie];if(/^(yes|on|true|enabled)$/i.test(se)){se=true}else if(/^(no|off|false|disabled)$/i.test(se)){se=false}else if(se==="null"){se=null}else{se=Number(se)}re[oe]=se;return re}),{});function useColors(){return"colors"in ie.inspectOpts?Boolean(ie.inspectOpts.colors):se.isatty(process.stderr.fd)}function formatArgs(ie){const{namespace:oe,useColors:se}=this;if(se){const se=this.color;const ae="[3"+(se<8?se:"8;5;"+se);const ce=` ${ae};1m${oe} `;ie[0]=ce+ie[0].split("\n").join("\n"+ce);ie.push(ae+"m+"+re.exports.humanize(this.diff)+"")}else{ie[0]=getDate()+oe+" "+ie[0]}}function getDate(){if(ie.inspectOpts.hideDate){return""}return(new Date).toISOString()+" "}function log(...re){return process.stderr.write(ae.format(...re)+"\n")}function save(re){if(re){process.env.DEBUG=re}else{delete process.env.DEBUG}}function load(){return process.env.DEBUG}function init(re){re.inspectOpts={};const oe=Object.keys(ie.inspectOpts);for(let se=0;sere.trim())).join(" ")};ce.O=function(re){this.inspectOpts.colors=this.useColors;return ae.inspect(re,this.inspectOpts)}},18611:(re,ie,oe)=>{var se=oe(12781).Stream;var ae=oe(73837);re.exports=DelayedStream;function DelayedStream(){this.source=null;this.dataSize=0;this.maxDataSize=1024*1024;this.pauseStream=true;this._maxDataSizeExceeded=false;this._released=false;this._bufferedEvents=[]}ae.inherits(DelayedStream,se);DelayedStream.create=function(re,ie){var oe=new this;ie=ie||{};for(var se in ie){oe[se]=ie[se]}oe.source=re;var ae=re.emit;re.emit=function(){oe._handleEmit(arguments);return ae.apply(re,arguments)};re.on("error",(function(){}));if(oe.pauseStream){re.pause()}return oe};Object.defineProperty(DelayedStream.prototype,"readable",{configurable:true,enumerable:true,get:function(){return this.source.readable}});DelayedStream.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)};DelayedStream.prototype.resume=function(){if(!this._released){this.release()}this.source.resume()};DelayedStream.prototype.pause=function(){this.source.pause()};DelayedStream.prototype.release=function(){this._released=true;this._bufferedEvents.forEach(function(re){this.emit.apply(this,re)}.bind(this));this._bufferedEvents=[]};DelayedStream.prototype.pipe=function(){var re=se.prototype.pipe.apply(this,arguments);this.resume();return re};DelayedStream.prototype._handleEmit=function(re){if(this._released){this.emit.apply(this,re);return}if(re[0]==="data"){this.dataSize+=re[1].length;this._checkIfMaxDataSizeExceeded()}this._bufferedEvents.push(re)};DelayedStream.prototype._checkIfMaxDataSizeExceeded=function(){if(this._maxDataSizeExceeded){return}if(this.dataSize<=this.maxDataSize){return}this._maxDataSizeExceeded=true;var re="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",new Error(re))}},12437:(re,ie,oe)=>{const se=oe(57147);const ae=oe(71017);function log(re){console.log(`[dotenv][DEBUG] ${re}`)}const ce="\n";const ue=/^\s*([\w.-]+)\s*=\s*(.*)?\s*$/;const le=/\\n/g;const fe=/\n|\r|\r\n/;function parse(re,ie){const oe=Boolean(ie&&ie.debug);const se={};re.toString().split(fe).forEach((function(re,ie){const ae=re.match(ue);if(ae!=null){const re=ae[1];let ie=ae[2]||"";const oe=ie.length-1;const ue=ie[0]==='"'&&ie[oe]==='"';const fe=ie[0]==="'"&&ie[oe]==="'";if(fe||ue){ie=ie.substring(1,oe);if(ue){ie=ie.replace(le,ce)}}else{ie=ie.trim()}se[re]=ie}else if(oe){log(`did not match key and value when parsing line ${ie+1}: ${re}`)}}));return se}function config(re){let ie=ae.resolve(process.cwd(),".env");let oe="utf8";let ce=false;if(re){if(re.path!=null){ie=re.path}if(re.encoding!=null){oe=re.encoding}if(re.debug!=null){ce=true}}try{const re=parse(se.readFileSync(ie,{encoding:oe}),{debug:ce});Object.keys(re).forEach((function(ie){if(!Object.prototype.hasOwnProperty.call(process.env,ie)){process.env[ie]=re[ie]}else if(ce){log(`"${ie}" is already defined in \`process.env\` and will not be overwritten`)}}));return{parsed:re}}catch(re){return{error:re}}}re.exports.config=config;re.exports.parse=parse},29485:(re,ie,oe)=>{"use strict";var se=ie;se.version=oe(18597).i8;se.utils=oe(69274);se.rand=oe(39266);se.curve=oe(69356);se.curves=oe(78315);se.ec=oe(38505);se.eddsa=oe(62612)},59331:(re,ie,oe)=>{"use strict";var se=oe(6641);var ae=oe(69274);var ce=ae.getNAF;var ue=ae.getJSF;var le=ae.assert;function BaseCurve(re,ie){this.type=re;this.p=new se(ie.p,16);this.red=ie.prime?se.red(ie.prime):se.mont(this.p);this.zero=new se(0).toRed(this.red);this.one=new se(1).toRed(this.red);this.two=new se(2).toRed(this.red);this.n=ie.n&&new se(ie.n,16);this.g=ie.g&&this.pointFromJSON(ie.g,ie.gRed);this._wnafT1=new Array(4);this._wnafT2=new Array(4);this._wnafT3=new Array(4);this._wnafT4=new Array(4);this._bitLength=this.n?this.n.bitLength():0;var oe=this.n&&this.p.div(this.n);if(!oe||oe.cmpn(100)>0){this.redN=null}else{this._maxwellTrick=true;this.redN=this.n.toRed(this.red)}}re.exports=BaseCurve;BaseCurve.prototype.point=function point(){throw new Error("Not implemented")};BaseCurve.prototype.validate=function validate(){throw new Error("Not implemented")};BaseCurve.prototype._fixedNafMul=function _fixedNafMul(re,ie){le(re.precomputed);var oe=re._getDoubles();var se=ce(ie,1,this._bitLength);var ae=(1<=fe;pe--)de=(de<<1)+se[pe];ue.push(de)}var he=this.jpoint(null,null,null);var Ae=this.jpoint(null,null,null);for(var ge=ae;ge>0;ge--){for(fe=0;fe=0;de--){for(var pe=0;de>=0&&ue[de]===0;de--)pe++;if(de>=0)pe++;fe=fe.dblp(pe);if(de<0)break;var he=ue[de];le(he!==0);if(re.type==="affine"){if(he>0)fe=fe.mixedAdd(ae[he-1>>1]);else fe=fe.mixedAdd(ae[-he-1>>1].neg())}else{if(he>0)fe=fe.add(ae[he-1>>1]);else fe=fe.add(ae[-he-1>>1].neg())}}return re.type==="affine"?fe.toP():fe};BaseCurve.prototype._wnafMulAdd=function _wnafMulAdd(re,ie,oe,se,ae){var le=this._wnafT1;var fe=this._wnafT2;var de=this._wnafT3;var pe=0;var he;var Ae;var ge;for(he=0;he=1;he-=2){var ye=he-1;var ve=he;if(le[ye]!==1||le[ve]!==1){de[ye]=ce(oe[ye],le[ye],this._bitLength);de[ve]=ce(oe[ve],le[ve],this._bitLength);pe=Math.max(de[ye].length,pe);pe=Math.max(de[ve].length,pe);continue}var be=[ie[ye],null,null,ie[ve]];if(ie[ye].y.cmp(ie[ve].y)===0){be[1]=ie[ye].add(ie[ve]);be[2]=ie[ye].toJ().mixedAdd(ie[ve].neg())}else if(ie[ye].y.cmp(ie[ve].y.redNeg())===0){be[1]=ie[ye].toJ().mixedAdd(ie[ve]);be[2]=ie[ye].add(ie[ve].neg())}else{be[1]=ie[ye].toJ().mixedAdd(ie[ve]);be[2]=ie[ye].toJ().mixedAdd(ie[ve].neg())}var we=[-3,-1,-5,-7,0,7,5,1,3];var _e=ue(oe[ye],oe[ve]);pe=Math.max(_e[0].length,pe);de[ye]=new Array(pe);de[ve]=new Array(pe);for(Ae=0;Ae=0;he--){var Be=0;while(he>=0){var xe=true;for(Ae=0;Ae=0)Be++;Ie=Ie.dblp(Be);if(he<0)break;for(Ae=0;Ae0)ge=fe[Ae][ke-1>>1];else if(ke<0)ge=fe[Ae][-ke-1>>1].neg();if(ge.type==="affine")Ie=Ie.mixedAdd(ge);else Ie=Ie.add(ge)}}for(he=0;he=Math.ceil((re.bitLength()+1)/ie.step)};BasePoint.prototype._getDoubles=function _getDoubles(re,ie){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;var oe=[this];var se=this;for(var ae=0;ae{"use strict";var se=oe(69274);var ae=oe(6641);var ce=oe(44124);var ue=oe(59331);var le=se.assert;function EdwardsCurve(re){this.twisted=(re.a|0)!==1;this.mOneA=this.twisted&&(re.a|0)===-1;this.extended=this.mOneA;ue.call(this,"edwards",re);this.a=new ae(re.a,16).umod(this.red.m);this.a=this.a.toRed(this.red);this.c=new ae(re.c,16).toRed(this.red);this.c2=this.c.redSqr();this.d=new ae(re.d,16).toRed(this.red);this.dd=this.d.redAdd(this.d);le(!this.twisted||this.c.fromRed().cmpn(1)===0);this.oneC=(re.c|0)===1}ce(EdwardsCurve,ue);re.exports=EdwardsCurve;EdwardsCurve.prototype._mulA=function _mulA(re){if(this.mOneA)return re.redNeg();else return this.a.redMul(re)};EdwardsCurve.prototype._mulC=function _mulC(re){if(this.oneC)return re;else return this.c.redMul(re)};EdwardsCurve.prototype.jpoint=function jpoint(re,ie,oe,se){return this.point(re,ie,oe,se)};EdwardsCurve.prototype.pointFromX=function pointFromX(re,ie){re=new ae(re,16);if(!re.red)re=re.toRed(this.red);var oe=re.redSqr();var se=this.c2.redSub(this.a.redMul(oe));var ce=this.one.redSub(this.c2.redMul(this.d).redMul(oe));var ue=se.redMul(ce.redInvm());var le=ue.redSqrt();if(le.redSqr().redSub(ue).cmp(this.zero)!==0)throw new Error("invalid point");var fe=le.fromRed().isOdd();if(ie&&!fe||!ie&&fe)le=le.redNeg();return this.point(re,le)};EdwardsCurve.prototype.pointFromY=function pointFromY(re,ie){re=new ae(re,16);if(!re.red)re=re.toRed(this.red);var oe=re.redSqr();var se=oe.redSub(this.c2);var ce=oe.redMul(this.d).redMul(this.c2).redSub(this.a);var ue=se.redMul(ce.redInvm());if(ue.cmp(this.zero)===0){if(ie)throw new Error("invalid point");else return this.point(this.zero,re)}var le=ue.redSqrt();if(le.redSqr().redSub(ue).cmp(this.zero)!==0)throw new Error("invalid point");if(le.fromRed().isOdd()!==ie)le=le.redNeg();return this.point(le,re)};EdwardsCurve.prototype.validate=function validate(re){if(re.isInfinity())return true;re.normalize();var ie=re.x.redSqr();var oe=re.y.redSqr();var se=ie.redMul(this.a).redAdd(oe);var ae=this.c2.redMul(this.one.redAdd(this.d.redMul(ie).redMul(oe)));return se.cmp(ae)===0};function Point(re,ie,oe,se,ce){ue.BasePoint.call(this,re,"projective");if(ie===null&&oe===null&&se===null){this.x=this.curve.zero;this.y=this.curve.one;this.z=this.curve.one;this.t=this.curve.zero;this.zOne=true}else{this.x=new ae(ie,16);this.y=new ae(oe,16);this.z=se?new ae(se,16):this.curve.one;this.t=ce&&new ae(ce,16);if(!this.x.red)this.x=this.x.toRed(this.curve.red);if(!this.y.red)this.y=this.y.toRed(this.curve.red);if(!this.z.red)this.z=this.z.toRed(this.curve.red);if(this.t&&!this.t.red)this.t=this.t.toRed(this.curve.red);this.zOne=this.z===this.curve.one;if(this.curve.extended&&!this.t){this.t=this.x.redMul(this.y);if(!this.zOne)this.t=this.t.redMul(this.z.redInvm())}}}ce(Point,ue.BasePoint);EdwardsCurve.prototype.pointFromJSON=function pointFromJSON(re){return Point.fromJSON(this,re)};EdwardsCurve.prototype.point=function point(re,ie,oe,se){return new Point(this,re,ie,oe,se)};Point.fromJSON=function fromJSON(re,ie){return new Point(re,ie[0],ie[1],ie[2])};Point.prototype.inspect=function inspect(){if(this.isInfinity())return"";return""};Point.prototype.isInfinity=function isInfinity(){return this.x.cmpn(0)===0&&(this.y.cmp(this.z)===0||this.zOne&&this.y.cmp(this.curve.c)===0)};Point.prototype._extDbl=function _extDbl(){var re=this.x.redSqr();var ie=this.y.redSqr();var oe=this.z.redSqr();oe=oe.redIAdd(oe);var se=this.curve._mulA(re);var ae=this.x.redAdd(this.y).redSqr().redISub(re).redISub(ie);var ce=se.redAdd(ie);var ue=ce.redSub(oe);var le=se.redSub(ie);var fe=ae.redMul(ue);var de=ce.redMul(le);var pe=ae.redMul(le);var he=ue.redMul(ce);return this.curve.point(fe,de,he,pe)};Point.prototype._projDbl=function _projDbl(){var re=this.x.redAdd(this.y).redSqr();var ie=this.x.redSqr();var oe=this.y.redSqr();var se;var ae;var ce;var ue;var le;var fe;if(this.curve.twisted){ue=this.curve._mulA(ie);var de=ue.redAdd(oe);if(this.zOne){se=re.redSub(ie).redSub(oe).redMul(de.redSub(this.curve.two));ae=de.redMul(ue.redSub(oe));ce=de.redSqr().redSub(de).redSub(de)}else{le=this.z.redSqr();fe=de.redSub(le).redISub(le);se=re.redSub(ie).redISub(oe).redMul(fe);ae=de.redMul(ue.redSub(oe));ce=de.redMul(fe)}}else{ue=ie.redAdd(oe);le=this.curve._mulC(this.z).redSqr();fe=ue.redSub(le).redSub(le);se=this.curve._mulC(re.redISub(ue)).redMul(fe);ae=this.curve._mulC(ue).redMul(ie.redISub(oe));ce=ue.redMul(fe)}return this.curve.point(se,ae,ce)};Point.prototype.dbl=function dbl(){if(this.isInfinity())return this;if(this.curve.extended)return this._extDbl();else return this._projDbl()};Point.prototype._extAdd=function _extAdd(re){var ie=this.y.redSub(this.x).redMul(re.y.redSub(re.x));var oe=this.y.redAdd(this.x).redMul(re.y.redAdd(re.x));var se=this.t.redMul(this.curve.dd).redMul(re.t);var ae=this.z.redMul(re.z.redAdd(re.z));var ce=oe.redSub(ie);var ue=ae.redSub(se);var le=ae.redAdd(se);var fe=oe.redAdd(ie);var de=ce.redMul(ue);var pe=le.redMul(fe);var he=ce.redMul(fe);var Ae=ue.redMul(le);return this.curve.point(de,pe,Ae,he)};Point.prototype._projAdd=function _projAdd(re){var ie=this.z.redMul(re.z);var oe=ie.redSqr();var se=this.x.redMul(re.x);var ae=this.y.redMul(re.y);var ce=this.curve.d.redMul(se).redMul(ae);var ue=oe.redSub(ce);var le=oe.redAdd(ce);var fe=this.x.redAdd(this.y).redMul(re.x.redAdd(re.y)).redISub(se).redISub(ae);var de=ie.redMul(ue).redMul(fe);var pe;var he;if(this.curve.twisted){pe=ie.redMul(le).redMul(ae.redSub(this.curve._mulA(se)));he=ue.redMul(le)}else{pe=ie.redMul(le).redMul(ae.redSub(se));he=this.curve._mulC(ue).redMul(le)}return this.curve.point(de,pe,he)};Point.prototype.add=function add(re){if(this.isInfinity())return re;if(re.isInfinity())return this;if(this.curve.extended)return this._extAdd(re);else return this._projAdd(re)};Point.prototype.mul=function mul(re){if(this._hasDoubles(re))return this.curve._fixedNafMul(this,re);else return this.curve._wnafMul(this,re)};Point.prototype.mulAdd=function mulAdd(re,ie,oe){return this.curve._wnafMulAdd(1,[this,ie],[re,oe],2,false)};Point.prototype.jmulAdd=function jmulAdd(re,ie,oe){return this.curve._wnafMulAdd(1,[this,ie],[re,oe],2,true)};Point.prototype.normalize=function normalize(){if(this.zOne)return this;var re=this.z.redInvm();this.x=this.x.redMul(re);this.y=this.y.redMul(re);if(this.t)this.t=this.t.redMul(re);this.z=this.curve.one;this.zOne=true;return this};Point.prototype.neg=function neg(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())};Point.prototype.getX=function getX(){this.normalize();return this.x.fromRed()};Point.prototype.getY=function getY(){this.normalize();return this.y.fromRed()};Point.prototype.eq=function eq(re){return this===re||this.getX().cmp(re.getX())===0&&this.getY().cmp(re.getY())===0};Point.prototype.eqXToP=function eqXToP(re){var ie=re.toRed(this.curve.red).redMul(this.z);if(this.x.cmp(ie)===0)return true;var oe=re.clone();var se=this.curve.redN.redMul(this.z);for(;;){oe.iadd(this.curve.n);if(oe.cmp(this.curve.p)>=0)return false;ie.redIAdd(se);if(this.x.cmp(ie)===0)return true}};Point.prototype.toP=Point.prototype.normalize;Point.prototype.mixedAdd=Point.prototype.add},69356:(re,ie,oe)=>{"use strict";var se=ie;se.base=oe(59331);se.short=oe(39345);se.mont=oe(86820);se.edwards=oe(29837)},86820:(re,ie,oe)=>{"use strict";var se=oe(6641);var ae=oe(44124);var ce=oe(59331);var ue=oe(69274);function MontCurve(re){ce.call(this,"mont",re);this.a=new se(re.a,16).toRed(this.red);this.b=new se(re.b,16).toRed(this.red);this.i4=new se(4).toRed(this.red).redInvm();this.two=new se(2).toRed(this.red);this.a24=this.i4.redMul(this.a.redAdd(this.two))}ae(MontCurve,ce);re.exports=MontCurve;MontCurve.prototype.validate=function validate(re){var ie=re.normalize().x;var oe=ie.redSqr();var se=oe.redMul(ie).redAdd(oe.redMul(this.a)).redAdd(ie);var ae=se.redSqrt();return ae.redSqr().cmp(se)===0};function Point(re,ie,oe){ce.BasePoint.call(this,re,"projective");if(ie===null&&oe===null){this.x=this.curve.one;this.z=this.curve.zero}else{this.x=new se(ie,16);this.z=new se(oe,16);if(!this.x.red)this.x=this.x.toRed(this.curve.red);if(!this.z.red)this.z=this.z.toRed(this.curve.red)}}ae(Point,ce.BasePoint);MontCurve.prototype.decodePoint=function decodePoint(re,ie){return this.point(ue.toArray(re,ie),1)};MontCurve.prototype.point=function point(re,ie){return new Point(this,re,ie)};MontCurve.prototype.pointFromJSON=function pointFromJSON(re){return Point.fromJSON(this,re)};Point.prototype.precompute=function precompute(){};Point.prototype._encode=function _encode(){return this.getX().toArray("be",this.curve.p.byteLength())};Point.fromJSON=function fromJSON(re,ie){return new Point(re,ie[0],ie[1]||re.one)};Point.prototype.inspect=function inspect(){if(this.isInfinity())return"";return""};Point.prototype.isInfinity=function isInfinity(){return this.z.cmpn(0)===0};Point.prototype.dbl=function dbl(){var re=this.x.redAdd(this.z);var ie=re.redSqr();var oe=this.x.redSub(this.z);var se=oe.redSqr();var ae=ie.redSub(se);var ce=ie.redMul(se);var ue=ae.redMul(se.redAdd(this.curve.a24.redMul(ae)));return this.curve.point(ce,ue)};Point.prototype.add=function add(){throw new Error("Not supported on Montgomery curve")};Point.prototype.diffAdd=function diffAdd(re,ie){var oe=this.x.redAdd(this.z);var se=this.x.redSub(this.z);var ae=re.x.redAdd(re.z);var ce=re.x.redSub(re.z);var ue=ce.redMul(oe);var le=ae.redMul(se);var fe=ie.z.redMul(ue.redAdd(le).redSqr());var de=ie.x.redMul(ue.redISub(le).redSqr());return this.curve.point(fe,de)};Point.prototype.mul=function mul(re){var ie=re.clone();var oe=this;var se=this.curve.point(null,null);var ae=this;for(var ce=[];ie.cmpn(0)!==0;ie.iushrn(1))ce.push(ie.andln(1));for(var ue=ce.length-1;ue>=0;ue--){if(ce[ue]===0){oe=oe.diffAdd(se,ae);se=se.dbl()}else{se=oe.diffAdd(se,ae);oe=oe.dbl()}}return se};Point.prototype.mulAdd=function mulAdd(){throw new Error("Not supported on Montgomery curve")};Point.prototype.jumlAdd=function jumlAdd(){throw new Error("Not supported on Montgomery curve")};Point.prototype.eq=function eq(re){return this.getX().cmp(re.getX())===0};Point.prototype.normalize=function normalize(){this.x=this.x.redMul(this.z.redInvm());this.z=this.curve.one;return this};Point.prototype.getX=function getX(){this.normalize();return this.x.fromRed()}},39345:(re,ie,oe)=>{"use strict";var se=oe(69274);var ae=oe(6641);var ce=oe(44124);var ue=oe(59331);var le=se.assert;function ShortCurve(re){ue.call(this,"short",re);this.a=new ae(re.a,16).toRed(this.red);this.b=new ae(re.b,16).toRed(this.red);this.tinv=this.two.redInvm();this.zeroA=this.a.fromRed().cmpn(0)===0;this.threeA=this.a.fromRed().sub(this.p).cmpn(-3)===0;this.endo=this._getEndomorphism(re);this._endoWnafT1=new Array(4);this._endoWnafT2=new Array(4)}ce(ShortCurve,ue);re.exports=ShortCurve;ShortCurve.prototype._getEndomorphism=function _getEndomorphism(re){if(!this.zeroA||!this.g||!this.n||this.p.modn(3)!==1)return;var ie;var oe;if(re.beta){ie=new ae(re.beta,16).toRed(this.red)}else{var se=this._getEndoRoots(this.p);ie=se[0].cmp(se[1])<0?se[0]:se[1];ie=ie.toRed(this.red)}if(re.lambda){oe=new ae(re.lambda,16)}else{var ce=this._getEndoRoots(this.n);if(this.g.mul(ce[0]).x.cmp(this.g.x.redMul(ie))===0){oe=ce[0]}else{oe=ce[1];le(this.g.mul(oe).x.cmp(this.g.x.redMul(ie))===0)}}var ue;if(re.basis){ue=re.basis.map((function(re){return{a:new ae(re.a,16),b:new ae(re.b,16)}}))}else{ue=this._getEndoBasis(oe)}return{beta:ie,lambda:oe,basis:ue}};ShortCurve.prototype._getEndoRoots=function _getEndoRoots(re){var ie=re===this.p?this.red:ae.mont(re);var oe=new ae(2).toRed(ie).redInvm();var se=oe.redNeg();var ce=new ae(3).toRed(ie).redNeg().redSqrt().redMul(oe);var ue=se.redAdd(ce).fromRed();var le=se.redSub(ce).fromRed();return[ue,le]};ShortCurve.prototype._getEndoBasis=function _getEndoBasis(re){var ie=this.n.ushrn(Math.floor(this.n.bitLength()/2));var oe=re;var se=this.n.clone();var ce=new ae(1);var ue=new ae(0);var le=new ae(0);var fe=new ae(1);var de;var pe;var he;var Ae;var ge;var me;var ye;var ve=0;var be;var we;while(oe.cmpn(0)!==0){var _e=se.div(oe);be=se.sub(_e.mul(oe));we=le.sub(_e.mul(ce));var Ee=fe.sub(_e.mul(ue));if(!he&&be.cmp(ie)<0){de=ye.neg();pe=ce;he=be.neg();Ae=we}else if(he&&++ve===2){break}ye=be;se=oe;oe=be;le=ce;ce=we;fe=ue;ue=Ee}ge=be.neg();me=we;var Ce=he.sqr().add(Ae.sqr());var Ie=ge.sqr().add(me.sqr());if(Ie.cmp(Ce)>=0){ge=de;me=pe}if(he.negative){he=he.neg();Ae=Ae.neg()}if(ge.negative){ge=ge.neg();me=me.neg()}return[{a:he,b:Ae},{a:ge,b:me}]};ShortCurve.prototype._endoSplit=function _endoSplit(re){var ie=this.endo.basis;var oe=ie[0];var se=ie[1];var ae=se.b.mul(re).divRound(this.n);var ce=oe.b.neg().mul(re).divRound(this.n);var ue=ae.mul(oe.a);var le=ce.mul(se.a);var fe=ae.mul(oe.b);var de=ce.mul(se.b);var pe=re.sub(ue).sub(le);var he=fe.add(de).neg();return{k1:pe,k2:he}};ShortCurve.prototype.pointFromX=function pointFromX(re,ie){re=new ae(re,16);if(!re.red)re=re.toRed(this.red);var oe=re.redSqr().redMul(re).redIAdd(re.redMul(this.a)).redIAdd(this.b);var se=oe.redSqrt();if(se.redSqr().redSub(oe).cmp(this.zero)!==0)throw new Error("invalid point");var ce=se.fromRed().isOdd();if(ie&&!ce||!ie&&ce)se=se.redNeg();return this.point(re,se)};ShortCurve.prototype.validate=function validate(re){if(re.inf)return true;var ie=re.x;var oe=re.y;var se=this.a.redMul(ie);var ae=ie.redSqr().redMul(ie).redIAdd(se).redIAdd(this.b);return oe.redSqr().redISub(ae).cmpn(0)===0};ShortCurve.prototype._endoWnafMulAdd=function _endoWnafMulAdd(re,ie,oe){var se=this._endoWnafT1;var ae=this._endoWnafT2;for(var ce=0;ce";return""};Point.prototype.isInfinity=function isInfinity(){return this.inf};Point.prototype.add=function add(re){if(this.inf)return re;if(re.inf)return this;if(this.eq(re))return this.dbl();if(this.neg().eq(re))return this.curve.point(null,null);if(this.x.cmp(re.x)===0)return this.curve.point(null,null);var ie=this.y.redSub(re.y);if(ie.cmpn(0)!==0)ie=ie.redMul(this.x.redSub(re.x).redInvm());var oe=ie.redSqr().redISub(this.x).redISub(re.x);var se=ie.redMul(this.x.redSub(oe)).redISub(this.y);return this.curve.point(oe,se)};Point.prototype.dbl=function dbl(){if(this.inf)return this;var re=this.y.redAdd(this.y);if(re.cmpn(0)===0)return this.curve.point(null,null);var ie=this.curve.a;var oe=this.x.redSqr();var se=re.redInvm();var ae=oe.redAdd(oe).redIAdd(oe).redIAdd(ie).redMul(se);var ce=ae.redSqr().redISub(this.x.redAdd(this.x));var ue=ae.redMul(this.x.redSub(ce)).redISub(this.y);return this.curve.point(ce,ue)};Point.prototype.getX=function getX(){return this.x.fromRed()};Point.prototype.getY=function getY(){return this.y.fromRed()};Point.prototype.mul=function mul(re){re=new ae(re,16);if(this.isInfinity())return this;else if(this._hasDoubles(re))return this.curve._fixedNafMul(this,re);else if(this.curve.endo)return this.curve._endoWnafMulAdd([this],[re]);else return this.curve._wnafMul(this,re)};Point.prototype.mulAdd=function mulAdd(re,ie,oe){var se=[this,ie];var ae=[re,oe];if(this.curve.endo)return this.curve._endoWnafMulAdd(se,ae);else return this.curve._wnafMulAdd(1,se,ae,2)};Point.prototype.jmulAdd=function jmulAdd(re,ie,oe){var se=[this,ie];var ae=[re,oe];if(this.curve.endo)return this.curve._endoWnafMulAdd(se,ae,true);else return this.curve._wnafMulAdd(1,se,ae,2,true)};Point.prototype.eq=function eq(re){return this===re||this.inf===re.inf&&(this.inf||this.x.cmp(re.x)===0&&this.y.cmp(re.y)===0)};Point.prototype.neg=function neg(re){if(this.inf)return this;var ie=this.curve.point(this.x,this.y.redNeg());if(re&&this.precomputed){var oe=this.precomputed;var negate=function(re){return re.neg()};ie.precomputed={naf:oe.naf&&{wnd:oe.naf.wnd,points:oe.naf.points.map(negate)},doubles:oe.doubles&&{step:oe.doubles.step,points:oe.doubles.points.map(negate)}}}return ie};Point.prototype.toJ=function toJ(){if(this.inf)return this.curve.jpoint(null,null,null);var re=this.curve.jpoint(this.x,this.y,this.curve.one);return re};function JPoint(re,ie,oe,se){ue.BasePoint.call(this,re,"jacobian");if(ie===null&&oe===null&&se===null){this.x=this.curve.one;this.y=this.curve.one;this.z=new ae(0)}else{this.x=new ae(ie,16);this.y=new ae(oe,16);this.z=new ae(se,16)}if(!this.x.red)this.x=this.x.toRed(this.curve.red);if(!this.y.red)this.y=this.y.toRed(this.curve.red);if(!this.z.red)this.z=this.z.toRed(this.curve.red);this.zOne=this.z===this.curve.one}ce(JPoint,ue.BasePoint);ShortCurve.prototype.jpoint=function jpoint(re,ie,oe){return new JPoint(this,re,ie,oe)};JPoint.prototype.toP=function toP(){if(this.isInfinity())return this.curve.point(null,null);var re=this.z.redInvm();var ie=re.redSqr();var oe=this.x.redMul(ie);var se=this.y.redMul(ie).redMul(re);return this.curve.point(oe,se)};JPoint.prototype.neg=function neg(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)};JPoint.prototype.add=function add(re){if(this.isInfinity())return re;if(re.isInfinity())return this;var ie=re.z.redSqr();var oe=this.z.redSqr();var se=this.x.redMul(ie);var ae=re.x.redMul(oe);var ce=this.y.redMul(ie.redMul(re.z));var ue=re.y.redMul(oe.redMul(this.z));var le=se.redSub(ae);var fe=ce.redSub(ue);if(le.cmpn(0)===0){if(fe.cmpn(0)!==0)return this.curve.jpoint(null,null,null);else return this.dbl()}var de=le.redSqr();var pe=de.redMul(le);var he=se.redMul(de);var Ae=fe.redSqr().redIAdd(pe).redISub(he).redISub(he);var ge=fe.redMul(he.redISub(Ae)).redISub(ce.redMul(pe));var me=this.z.redMul(re.z).redMul(le);return this.curve.jpoint(Ae,ge,me)};JPoint.prototype.mixedAdd=function mixedAdd(re){if(this.isInfinity())return re.toJ();if(re.isInfinity())return this;var ie=this.z.redSqr();var oe=this.x;var se=re.x.redMul(ie);var ae=this.y;var ce=re.y.redMul(ie).redMul(this.z);var ue=oe.redSub(se);var le=ae.redSub(ce);if(ue.cmpn(0)===0){if(le.cmpn(0)!==0)return this.curve.jpoint(null,null,null);else return this.dbl()}var fe=ue.redSqr();var de=fe.redMul(ue);var pe=oe.redMul(fe);var he=le.redSqr().redIAdd(de).redISub(pe).redISub(pe);var Ae=le.redMul(pe.redISub(he)).redISub(ae.redMul(de));var ge=this.z.redMul(ue);return this.curve.jpoint(he,Ae,ge)};JPoint.prototype.dblp=function dblp(re){if(re===0)return this;if(this.isInfinity())return this;if(!re)return this.dbl();var ie;if(this.curve.zeroA||this.curve.threeA){var oe=this;for(ie=0;ie=0)return false;oe.redIAdd(ae);if(this.x.cmp(oe)===0)return true}};JPoint.prototype.inspect=function inspect(){if(this.isInfinity())return"";return""};JPoint.prototype.isInfinity=function isInfinity(){return this.z.cmpn(0)===0}},78315:(re,ie,oe)=>{"use strict";var se=ie;var ae=oe(95591);var ce=oe(69356);var ue=oe(69274);var le=ue.assert;function PresetCurve(re){if(re.type==="short")this.curve=new ce.short(re);else if(re.type==="edwards")this.curve=new ce.edwards(re);else this.curve=new ce.mont(re);this.g=this.curve.g;this.n=this.curve.n;this.hash=re.hash;le(this.g.validate(),"Invalid curve");le(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}se.PresetCurve=PresetCurve;function defineCurve(re,ie){Object.defineProperty(se,re,{configurable:true,enumerable:true,get:function(){var oe=new PresetCurve(ie);Object.defineProperty(se,re,{configurable:true,enumerable:true,value:oe});return oe}})}defineCurve("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:ae.sha256,gRed:false,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]});defineCurve("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:ae.sha256,gRed:false,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]});defineCurve("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:ae.sha256,gRed:false,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]});defineCurve("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff "+"fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff "+"fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f "+"5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 "+"f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:ae.sha384,gRed:false,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 "+"5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 "+"0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]});defineCurve("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff "+"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff "+"ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff "+"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff "+"ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b "+"99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd "+"3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff "+"ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 "+"f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:ae.sha512,gRed:false,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 "+"053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 "+"a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 "+"579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 "+"3fad0761 353c7086 a272c240 88be9476 9fd16650"]});defineCurve("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:ae.sha256,gRed:false,g:["9"]});defineCurve("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:ae.sha256,gRed:false,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});var fe;try{fe=oe(50806)}catch(re){fe=undefined}defineCurve("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:ae.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:false,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",fe]})},38505:(re,ie,oe)=>{"use strict";var se=oe(6641);var ae=oe(64909);var ce=oe(69274);var ue=oe(78315);var le=oe(39266);var fe=ce.assert;var de=oe(1663);var pe=oe(70173);function EC(re){if(!(this instanceof EC))return new EC(re);if(typeof re==="string"){fe(Object.prototype.hasOwnProperty.call(ue,re),"Unknown curve "+re);re=ue[re]}if(re instanceof ue.PresetCurve)re={curve:re};this.curve=re.curve.curve;this.n=this.curve.n;this.nh=this.n.ushrn(1);this.g=this.curve.g;this.g=re.curve.g;this.g.precompute(re.curve.n.bitLength()+1);this.hash=re.hash||re.curve.hash}re.exports=EC;EC.prototype.keyPair=function keyPair(re){return new de(this,re)};EC.prototype.keyFromPrivate=function keyFromPrivate(re,ie){return de.fromPrivate(this,re,ie)};EC.prototype.keyFromPublic=function keyFromPublic(re,ie){return de.fromPublic(this,re,ie)};EC.prototype.genKeyPair=function genKeyPair(re){if(!re)re={};var ie=new ae({hash:this.hash,pers:re.pers,persEnc:re.persEnc||"utf8",entropy:re.entropy||le(this.hash.hmacStrength),entropyEnc:re.entropy&&re.entropyEnc||"utf8",nonce:this.n.toArray()});var oe=this.n.byteLength();var ce=this.n.sub(new se(2));for(;;){var ue=new se(ie.generate(oe));if(ue.cmp(ce)>0)continue;ue.iaddn(1);return this.keyFromPrivate(ue)}};EC.prototype._truncateToN=function _truncateToN(re,ie){var oe=re.byteLength()*8-this.n.bitLength();if(oe>0)re=re.ushrn(oe);if(!ie&&re.cmp(this.n)>=0)return re.sub(this.n);else return re};EC.prototype.sign=function sign(re,ie,oe,ce){if(typeof oe==="object"){ce=oe;oe=null}if(!ce)ce={};ie=this.keyFromPrivate(ie,oe);re=this._truncateToN(new se(re,16));var ue=this.n.byteLength();var le=ie.getPrivate().toArray("be",ue);var fe=re.toArray("be",ue);var de=new ae({hash:this.hash,entropy:le,nonce:fe,pers:ce.pers,persEnc:ce.persEnc||"utf8"});var he=this.n.sub(new se(1));for(var Ae=0;;Ae++){var ge=ce.k?ce.k(Ae):new se(de.generate(this.n.byteLength()));ge=this._truncateToN(ge,true);if(ge.cmpn(1)<=0||ge.cmp(he)>=0)continue;var me=this.g.mul(ge);if(me.isInfinity())continue;var ye=me.getX();var ve=ye.umod(this.n);if(ve.cmpn(0)===0)continue;var be=ge.invm(this.n).mul(ve.mul(ie.getPrivate()).iadd(re));be=be.umod(this.n);if(be.cmpn(0)===0)continue;var we=(me.getY().isOdd()?1:0)|(ye.cmp(ve)!==0?2:0);if(ce.canonical&&be.cmp(this.nh)>0){be=this.n.sub(be);we^=1}return new pe({r:ve,s:be,recoveryParam:we})}};EC.prototype.verify=function verify(re,ie,oe,ae){re=this._truncateToN(new se(re,16));oe=this.keyFromPublic(oe,ae);ie=new pe(ie,"hex");var ce=ie.r;var ue=ie.s;if(ce.cmpn(1)<0||ce.cmp(this.n)>=0)return false;if(ue.cmpn(1)<0||ue.cmp(this.n)>=0)return false;var le=ue.invm(this.n);var fe=le.mul(re).umod(this.n);var de=le.mul(ce).umod(this.n);var he;if(!this.curve._maxwellTrick){he=this.g.mulAdd(fe,oe.getPublic(),de);if(he.isInfinity())return false;return he.getX().umod(this.n).cmp(ce)===0}he=this.g.jmulAdd(fe,oe.getPublic(),de);if(he.isInfinity())return false;return he.eqXToP(ce)};EC.prototype.recoverPubKey=function(re,ie,oe,ae){fe((3&oe)===oe,"The recovery param is more than two bits");ie=new pe(ie,ae);var ce=this.n;var ue=new se(re);var le=ie.r;var de=ie.s;var he=oe&1;var Ae=oe>>1;if(le.cmp(this.curve.p.umod(this.curve.n))>=0&&Ae)throw new Error("Unable to find sencond key candinate");if(Ae)le=this.curve.pointFromX(le.add(this.curve.n),he);else le=this.curve.pointFromX(le,he);var ge=ie.r.invm(ce);var me=ce.sub(ue).mul(ge).umod(ce);var ye=de.mul(ge).umod(ce);return this.g.mulAdd(me,le,ye)};EC.prototype.getKeyRecoveryParam=function(re,ie,oe,se){ie=new pe(ie,se);if(ie.recoveryParam!==null)return ie.recoveryParam;for(var ae=0;ae<4;ae++){var ce;try{ce=this.recoverPubKey(re,ie,ae)}catch(re){continue}if(ce.eq(oe))return ae}throw new Error("Unable to find valid recovery factor")}},1663:(re,ie,oe)=>{"use strict";var se=oe(6641);var ae=oe(69274);var ce=ae.assert;function KeyPair(re,ie){this.ec=re;this.priv=null;this.pub=null;if(ie.priv)this._importPrivate(ie.priv,ie.privEnc);if(ie.pub)this._importPublic(ie.pub,ie.pubEnc)}re.exports=KeyPair;KeyPair.fromPublic=function fromPublic(re,ie,oe){if(ie instanceof KeyPair)return ie;return new KeyPair(re,{pub:ie,pubEnc:oe})};KeyPair.fromPrivate=function fromPrivate(re,ie,oe){if(ie instanceof KeyPair)return ie;return new KeyPair(re,{priv:ie,privEnc:oe})};KeyPair.prototype.validate=function validate(){var re=this.getPublic();if(re.isInfinity())return{result:false,reason:"Invalid public key"};if(!re.validate())return{result:false,reason:"Public key is not a point"};if(!re.mul(this.ec.curve.n).isInfinity())return{result:false,reason:"Public key * N != O"};return{result:true,reason:null}};KeyPair.prototype.getPublic=function getPublic(re,ie){if(typeof re==="string"){ie=re;re=null}if(!this.pub)this.pub=this.ec.g.mul(this.priv);if(!ie)return this.pub;return this.pub.encode(ie,re)};KeyPair.prototype.getPrivate=function getPrivate(re){if(re==="hex")return this.priv.toString(16,2);else return this.priv};KeyPair.prototype._importPrivate=function _importPrivate(re,ie){this.priv=new se(re,ie||16);this.priv=this.priv.umod(this.ec.curve.n)};KeyPair.prototype._importPublic=function _importPublic(re,ie){if(re.x||re.y){if(this.ec.curve.type==="mont"){ce(re.x,"Need x coordinate")}else if(this.ec.curve.type==="short"||this.ec.curve.type==="edwards"){ce(re.x&&re.y,"Need both x and y coordinate")}this.pub=this.ec.curve.point(re.x,re.y);return}this.pub=this.ec.curve.decodePoint(re,ie)};KeyPair.prototype.derive=function derive(re){if(!re.validate()){ce(re.validate(),"public point not validated")}return re.mul(this.priv).getX()};KeyPair.prototype.sign=function sign(re,ie,oe){return this.ec.sign(re,this,ie,oe)};KeyPair.prototype.verify=function verify(re,ie){return this.ec.verify(re,ie,this)};KeyPair.prototype.inspect=function inspect(){return""}},70173:(re,ie,oe)=>{"use strict";var se=oe(6641);var ae=oe(69274);var ce=ae.assert;function Signature(re,ie){if(re instanceof Signature)return re;if(this._importDER(re,ie))return;ce(re.r&&re.s,"Signature without r or s");this.r=new se(re.r,16);this.s=new se(re.s,16);if(re.recoveryParam===undefined)this.recoveryParam=null;else this.recoveryParam=re.recoveryParam}re.exports=Signature;function Position(){this.place=0}function getLength(re,ie){var oe=re[ie.place++];if(!(oe&128)){return oe}var se=oe&15;if(se===0||se>4){return false}var ae=0;for(var ce=0,ue=ie.place;ce>>=0}if(ae<=127){return false}ie.place=ue;return ae}function rmPadding(re){var ie=0;var oe=re.length-1;while(!re[ie]&&!(re[ie+1]&128)&&ie>>3);re.push(oe|128);while(--oe){re.push(ie>>>(oe<<3)&255)}re.push(ie)}Signature.prototype.toDER=function toDER(re){var ie=this.r.toArray();var oe=this.s.toArray();if(ie[0]&128)ie=[0].concat(ie);if(oe[0]&128)oe=[0].concat(oe);ie=rmPadding(ie);oe=rmPadding(oe);while(!oe[0]&&!(oe[1]&128)){oe=oe.slice(1)}var se=[2];constructLength(se,ie.length);se=se.concat(ie);se.push(2);constructLength(se,oe.length);var ce=se.concat(oe);var ue=[48];constructLength(ue,ce.length);ue=ue.concat(ce);return ae.encode(ue,re)}},62612:(re,ie,oe)=>{"use strict";var se=oe(95591);var ae=oe(78315);var ce=oe(69274);var ue=ce.assert;var le=ce.parseBytes;var fe=oe(7247);var de=oe(51087);function EDDSA(re){ue(re==="ed25519","only tested with ed25519 so far");if(!(this instanceof EDDSA))return new EDDSA(re);re=ae[re].curve;this.curve=re;this.g=re.g;this.g.precompute(re.n.bitLength()+1);this.pointClass=re.point().constructor;this.encodingLength=Math.ceil(re.n.bitLength()/8);this.hash=se.sha512}re.exports=EDDSA;EDDSA.prototype.sign=function sign(re,ie){re=le(re);var oe=this.keyFromSecret(ie);var se=this.hashInt(oe.messagePrefix(),re);var ae=this.g.mul(se);var ce=this.encodePoint(ae);var ue=this.hashInt(ce,oe.pubBytes(),re).mul(oe.priv());var fe=se.add(ue).umod(this.curve.n);return this.makeSignature({R:ae,S:fe,Rencoded:ce})};EDDSA.prototype.verify=function verify(re,ie,oe){re=le(re);ie=this.makeSignature(ie);var se=this.keyFromPublic(oe);var ae=this.hashInt(ie.Rencoded(),se.pubBytes(),re);var ce=this.g.mul(ie.S());var ue=ie.R().add(se.pub().mul(ae));return ue.eq(ce)};EDDSA.prototype.hashInt=function hashInt(){var re=this.hash();for(var ie=0;ie{"use strict";var se=oe(69274);var ae=se.assert;var ce=se.parseBytes;var ue=se.cachedProperty;function KeyPair(re,ie){this.eddsa=re;this._secret=ce(ie.secret);if(re.isPoint(ie.pub))this._pub=ie.pub;else this._pubBytes=ce(ie.pub)}KeyPair.fromPublic=function fromPublic(re,ie){if(ie instanceof KeyPair)return ie;return new KeyPair(re,{pub:ie})};KeyPair.fromSecret=function fromSecret(re,ie){if(ie instanceof KeyPair)return ie;return new KeyPair(re,{secret:ie})};KeyPair.prototype.secret=function secret(){return this._secret};ue(KeyPair,"pubBytes",(function pubBytes(){return this.eddsa.encodePoint(this.pub())}));ue(KeyPair,"pub",(function pub(){if(this._pubBytes)return this.eddsa.decodePoint(this._pubBytes);return this.eddsa.g.mul(this.priv())}));ue(KeyPair,"privBytes",(function privBytes(){var re=this.eddsa;var ie=this.hash();var oe=re.encodingLength-1;var se=ie.slice(0,re.encodingLength);se[0]&=248;se[oe]&=127;se[oe]|=64;return se}));ue(KeyPair,"priv",(function priv(){return this.eddsa.decodeInt(this.privBytes())}));ue(KeyPair,"hash",(function hash(){return this.eddsa.hash().update(this.secret()).digest()}));ue(KeyPair,"messagePrefix",(function messagePrefix(){return this.hash().slice(this.eddsa.encodingLength)}));KeyPair.prototype.sign=function sign(re){ae(this._secret,"KeyPair can only verify");return this.eddsa.sign(re,this)};KeyPair.prototype.verify=function verify(re,ie){return this.eddsa.verify(re,ie,this)};KeyPair.prototype.getSecret=function getSecret(re){ae(this._secret,"KeyPair is public only");return se.encode(this.secret(),re)};KeyPair.prototype.getPublic=function getPublic(re){return se.encode(this.pubBytes(),re)};re.exports=KeyPair},51087:(re,ie,oe)=>{"use strict";var se=oe(6641);var ae=oe(69274);var ce=ae.assert;var ue=ae.cachedProperty;var le=ae.parseBytes;function Signature(re,ie){this.eddsa=re;if(typeof ie!=="object")ie=le(ie);if(Array.isArray(ie)){ie={R:ie.slice(0,re.encodingLength),S:ie.slice(re.encodingLength)}}ce(ie.R&&ie.S,"Signature without R or S");if(re.isPoint(ie.R))this._R=ie.R;if(ie.S instanceof se)this._S=ie.S;this._Rencoded=Array.isArray(ie.R)?ie.R:ie.Rencoded;this._Sencoded=Array.isArray(ie.S)?ie.S:ie.Sencoded}ue(Signature,"S",(function S(){return this.eddsa.decodeInt(this.Sencoded())}));ue(Signature,"R",(function R(){return this.eddsa.decodePoint(this.Rencoded())}));ue(Signature,"Rencoded",(function Rencoded(){return this.eddsa.encodePoint(this.R())}));ue(Signature,"Sencoded",(function Sencoded(){return this.eddsa.encodeInt(this.S())}));Signature.prototype.toBytes=function toBytes(){return this.Rencoded().concat(this.Sencoded())};Signature.prototype.toHex=function toHex(){return ae.encode(this.toBytes(),"hex").toUpperCase()};re.exports=Signature},50806:re=>{re.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},69274:(re,ie,oe)=>{"use strict";var se=ie;var ae=oe(6641);var ce=oe(90910);var ue=oe(8165);se.assert=ce;se.toArray=ue.toArray;se.zero2=ue.zero2;se.toHex=ue.toHex;se.encode=ue.encode;function getNAF(re,ie,oe){var se=new Array(Math.max(re.bitLength(),oe)+1);se.fill(0);var ae=1<(ae>>1)-1)le=(ae>>1)-fe;else le=fe;ce.isubn(le)}else{le=0}se[ue]=le;ce.iushrn(1)}return se}se.getNAF=getNAF;function getJSF(re,ie){var oe=[[],[]];re=re.clone();ie=ie.clone();var se=0;var ae=0;var ce;while(re.cmpn(-se)>0||ie.cmpn(-ae)>0){var ue=re.andln(3)+se&3;var le=ie.andln(3)+ae&3;if(ue===3)ue=-1;if(le===3)le=-1;var fe;if((ue&1)===0){fe=0}else{ce=re.andln(7)+se&7;if((ce===3||ce===5)&&le===2)fe=-ue;else fe=ue}oe[0].push(fe);var de;if((le&1)===0){de=0}else{ce=ie.andln(7)+ae&7;if((ce===3||ce===5)&&ue===2)de=-le;else de=le}oe[1].push(de);if(2*se===fe+1)se=1-se;if(2*ae===de+1)ae=1-ae;re.iushrn(1);ie.iushrn(1)}return oe}se.getJSF=getJSF;function cachedProperty(re,ie,oe){var se="_"+ie;re.prototype[ie]=function cachedProperty(){return this[se]!==undefined?this[se]:this[se]=oe.call(this)}}se.cachedProperty=cachedProperty;function parseBytes(re){return typeof re==="string"?se.toArray(re,"hex"):re}se.parseBytes=parseBytes;function intFromLE(re){return new ae(re,"hex","le")}se.intFromLE=intFromLE},18212:re=>{"use strict";re.exports=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F|\uD83D\uDC68(?:\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFB|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83D[\uDC66\uDC67]|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708])\uFE0F|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C[\uDFFB-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)\uD83C\uDFFB|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB\uDFFC])|\uD83D\uDC69(?:\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB-\uDFFD])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83C\uDFF4\u200D\u2620)\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDF6\uD83C\uDDE6|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDB5\uDDB6\uDDBB\uDDD2-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5\uDEEB\uDEEC\uDEF4-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g}},82644:(re,ie,oe)=>{const{dirname:se,resolve:ae}=oe(71017);const{readdirSync:ce,statSync:ue}=oe(57147);re.exports=function(re,ie){let oe=ae(".",re);let le,fe=ue(oe);if(!fe.isDirectory()){oe=se(oe)}while(true){le=ie(oe,ce(oe));if(le)return ae(oe,le);oe=se(le=oe);if(le===oe)break}}},28206:re=>{"use strict";re.exports=function equal(re,ie){if(re===ie)return true;if(re&&ie&&typeof re=="object"&&typeof ie=="object"){if(re.constructor!==ie.constructor)return false;var oe,se,ae;if(Array.isArray(re)){oe=re.length;if(oe!=ie.length)return false;for(se=oe;se--!==0;)if(!equal(re[se],ie[se]))return false;return true}if(re.constructor===RegExp)return re.source===ie.source&&re.flags===ie.flags;if(re.valueOf!==Object.prototype.valueOf)return re.valueOf()===ie.valueOf();if(re.toString!==Object.prototype.toString)return re.toString()===ie.toString();ae=Object.keys(re);oe=ae.length;if(oe!==Object.keys(ie).length)return false;for(se=oe;se--!==0;)if(!Object.prototype.hasOwnProperty.call(ie,ae[se]))return false;for(se=oe;se--!==0;){var ce=ae[se];if(!equal(re[ce],ie[ce]))return false}return true}return re!==re&&ie!==ie}},31133:(re,ie,oe)=>{var se;re.exports=function(){if(!se){try{se=oe(38237)("follow-redirects")}catch(re){}if(typeof se!=="function"){se=function(){}}}se.apply(null,arguments)}},67707:(re,ie,oe)=>{var se=oe(57310);var ae=se.URL;var ce=oe(13685);var ue=oe(95687);var le=oe(12781).Writable;var fe=oe(39491);var de=oe(31133);var pe=["abort","aborted","connect","error","socket","timeout"];var he=Object.create(null);pe.forEach((function(re){he[re]=function(ie,oe,se){this._redirectable.emit(re,ie,oe,se)}}));var Ae=createErrorType("ERR_INVALID_URL","Invalid URL",TypeError);var ge=createErrorType("ERR_FR_REDIRECTION_FAILURE","Redirected request failed");var me=createErrorType("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded");var ye=createErrorType("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit");var ve=createErrorType("ERR_STREAM_WRITE_AFTER_END","write after end");function RedirectableRequest(re,ie){le.call(this);this._sanitizeOptions(re);this._options=re;this._ended=false;this._ending=false;this._redirectCount=0;this._redirects=[];this._requestBodyLength=0;this._requestBodyBuffers=[];if(ie){this.on("response",ie)}var oe=this;this._onNativeResponse=function(re){oe._processResponse(re)};this._performRequest()}RedirectableRequest.prototype=Object.create(le.prototype);RedirectableRequest.prototype.abort=function(){abortRequest(this._currentRequest);this.emit("abort")};RedirectableRequest.prototype.write=function(re,ie,oe){if(this._ending){throw new ve}if(!isString(re)&&!isBuffer(re)){throw new TypeError("data should be a string, Buffer or Uint8Array")}if(isFunction(ie)){oe=ie;ie=null}if(re.length===0){if(oe){oe()}return}if(this._requestBodyLength+re.length<=this._options.maxBodyLength){this._requestBodyLength+=re.length;this._requestBodyBuffers.push({data:re,encoding:ie});this._currentRequest.write(re,ie,oe)}else{this.emit("error",new ye);this.abort()}};RedirectableRequest.prototype.end=function(re,ie,oe){if(isFunction(re)){oe=re;re=ie=null}else if(isFunction(ie)){oe=ie;ie=null}if(!re){this._ended=this._ending=true;this._currentRequest.end(null,null,oe)}else{var se=this;var ae=this._currentRequest;this.write(re,ie,(function(){se._ended=true;ae.end(null,null,oe)}));this._ending=true}};RedirectableRequest.prototype.setHeader=function(re,ie){this._options.headers[re]=ie;this._currentRequest.setHeader(re,ie)};RedirectableRequest.prototype.removeHeader=function(re){delete this._options.headers[re];this._currentRequest.removeHeader(re)};RedirectableRequest.prototype.setTimeout=function(re,ie){var oe=this;function destroyOnTimeout(ie){ie.setTimeout(re);ie.removeListener("timeout",ie.destroy);ie.addListener("timeout",ie.destroy)}function startTimer(ie){if(oe._timeout){clearTimeout(oe._timeout)}oe._timeout=setTimeout((function(){oe.emit("timeout");clearTimer()}),re);destroyOnTimeout(ie)}function clearTimer(){if(oe._timeout){clearTimeout(oe._timeout);oe._timeout=null}oe.removeListener("abort",clearTimer);oe.removeListener("error",clearTimer);oe.removeListener("response",clearTimer);if(ie){oe.removeListener("timeout",ie)}if(!oe.socket){oe._currentRequest.removeListener("socket",startTimer)}}if(ie){this.on("timeout",ie)}if(this.socket){startTimer(this.socket)}else{this._currentRequest.once("socket",startTimer)}this.on("socket",destroyOnTimeout);this.on("abort",clearTimer);this.on("error",clearTimer);this.on("response",clearTimer);return this};["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach((function(re){RedirectableRequest.prototype[re]=function(ie,oe){return this._currentRequest[re](ie,oe)}}));["aborted","connection","socket"].forEach((function(re){Object.defineProperty(RedirectableRequest.prototype,re,{get:function(){return this._currentRequest[re]}})}));RedirectableRequest.prototype._sanitizeOptions=function(re){if(!re.headers){re.headers={}}if(re.host){if(!re.hostname){re.hostname=re.host}delete re.host}if(!re.pathname&&re.path){var ie=re.path.indexOf("?");if(ie<0){re.pathname=re.path}else{re.pathname=re.path.substring(0,ie);re.search=re.path.substring(ie)}}};RedirectableRequest.prototype._performRequest=function(){var re=this._options.protocol;var ie=this._options.nativeProtocols[re];if(!ie){this.emit("error",new TypeError("Unsupported protocol "+re));return}if(this._options.agents){var oe=re.slice(0,-1);this._options.agent=this._options.agents[oe]}var ae=this._currentRequest=ie.request(this._options,this._onNativeResponse);ae._redirectable=this;for(var ce of pe){ae.on(ce,he[ce])}this._currentUrl=/^\//.test(this._options.path)?se.format(this._options):this._options.path;if(this._isRedirect){var ue=0;var le=this;var fe=this._requestBodyBuffers;(function writeNext(re){if(ae===le._currentRequest){if(re){le.emit("error",re)}else if(ue=400){re.responseUrl=this._currentUrl;re.redirects=this._redirects;this.emit("response",re);this._requestBodyBuffers=[];return}abortRequest(this._currentRequest);re.destroy();if(++this._redirectCount>this._options.maxRedirects){this.emit("error",new me);return}var ae;var ce=this._options.beforeRedirect;if(ce){ae=Object.assign({Host:re.req.getHeader("host")},this._options.headers)}var ue=this._options.method;if((ie===301||ie===302)&&this._options.method==="POST"||ie===303&&!/^(?:GET|HEAD)$/.test(this._options.method)){this._options.method="GET";this._requestBodyBuffers=[];removeMatchingHeaders(/^content-/i,this._options.headers)}var le=removeMatchingHeaders(/^host$/i,this._options.headers);var fe=se.parse(this._currentUrl);var pe=le||fe.host;var he=/^\w+:/.test(oe)?this._currentUrl:se.format(Object.assign(fe,{host:pe}));var Ae;try{Ae=se.resolve(he,oe)}catch(re){this.emit("error",new ge({cause:re}));return}de("redirecting to",Ae);this._isRedirect=true;var ye=se.parse(Ae);Object.assign(this._options,ye);if(ye.protocol!==fe.protocol&&ye.protocol!=="https:"||ye.host!==pe&&!isSubdomain(ye.host,pe)){removeMatchingHeaders(/^(?:authorization|cookie)$/i,this._options.headers)}if(isFunction(ce)){var ve={headers:re.headers,statusCode:ie};var be={url:he,method:ue,headers:ae};try{ce(this._options,ve,be)}catch(re){this.emit("error",re);return}this._sanitizeOptions(this._options)}try{this._performRequest()}catch(re){this.emit("error",new ge({cause:re}))}};function wrap(re){var ie={maxRedirects:21,maxBodyLength:10*1024*1024};var oe={};Object.keys(re).forEach((function(ce){var ue=ce+":";var le=oe[ue]=re[ce];var pe=ie[ce]=Object.create(le);function request(re,ce,le){if(isString(re)){var pe;try{pe=urlToOptions(new ae(re))}catch(ie){pe=se.parse(re)}if(!isString(pe.protocol)){throw new Ae({input:re})}re=pe}else if(ae&&re instanceof ae){re=urlToOptions(re)}else{le=ce;ce=re;re={protocol:ue}}if(isFunction(ce)){le=ce;ce=null}ce=Object.assign({maxRedirects:ie.maxRedirects,maxBodyLength:ie.maxBodyLength},re,ce);ce.nativeProtocols=oe;if(!isString(ce.host)&&!isString(ce.hostname)){ce.hostname="::1"}fe.equal(ce.protocol,ue,"protocol mismatch");de("options",ce);return new RedirectableRequest(ce,le)}function get(re,ie,oe){var se=pe.request(re,ie,oe);se.end();return se}Object.defineProperties(pe,{request:{value:request,configurable:true,enumerable:true,writable:true},get:{value:get,configurable:true,enumerable:true,writable:true}})}));return ie}function noop(){}function urlToOptions(re){var ie={protocol:re.protocol,hostname:re.hostname.startsWith("[")?re.hostname.slice(1,-1):re.hostname,hash:re.hash,search:re.search,pathname:re.pathname,path:re.pathname+re.search,href:re.href};if(re.port!==""){ie.port=Number(re.port)}return ie}function removeMatchingHeaders(re,ie){var oe;for(var se in ie){if(re.test(se)){oe=ie[se];delete ie[se]}}return oe===null||typeof oe==="undefined"?undefined:String(oe).trim()}function createErrorType(re,ie,oe){function CustomError(oe){Error.captureStackTrace(this,this.constructor);Object.assign(this,oe||{});this.code=re;this.message=this.cause?ie+": "+this.cause.message:ie}CustomError.prototype=new(oe||Error);CustomError.prototype.constructor=CustomError;CustomError.prototype.name="Error ["+re+"]";return CustomError}function abortRequest(re){for(var ie of pe){re.removeListener(ie,he[ie])}re.on("error",noop);re.abort()}function isSubdomain(re,ie){fe(isString(re)&&isString(ie));var oe=re.length-ie.length-1;return oe>0&&re[oe]==="."&&re.endsWith(ie)}function isString(re){return typeof re==="string"||re instanceof String}function isFunction(re){return typeof re==="function"}function isBuffer(re){return typeof re==="object"&&"length"in re}re.exports=wrap({http:ce,https:ue});re.exports.wrap=wrap},83083:re=>{var ie=Object.prototype.hasOwnProperty;var oe=Object.prototype.toString;re.exports=function forEach(re,se,ae){if(oe.call(se)!=="[object Function]"){throw new TypeError("iterator must be a function")}var ce=re.length;if(ce===+ce){for(var ue=0;ue{var se=oe(85443);var ae=oe(73837);var ce=oe(71017);var ue=oe(13685);var le=oe(95687);var fe=oe(57310).parse;var de=oe(57147);var pe=oe(12781).Stream;var he=oe(43583);var Ae=oe(14812);var ge=oe(17142);re.exports=FormData;ae.inherits(FormData,se);function FormData(re){if(!(this instanceof FormData)){return new FormData(re)}this._overheadLength=0;this._valueLength=0;this._valuesToMeasure=[];se.call(this);re=re||{};for(var ie in re){this[ie]=re[ie]}}FormData.LINE_BREAK="\r\n";FormData.DEFAULT_CONTENT_TYPE="application/octet-stream";FormData.prototype.append=function(re,ie,oe){oe=oe||{};if(typeof oe=="string"){oe={filename:oe}}var ce=se.prototype.append.bind(this);if(typeof ie=="number"){ie=""+ie}if(ae.isArray(ie)){this._error(new Error("Arrays are not supported."));return}var ue=this._multiPartHeader(re,ie,oe);var le=this._multiPartFooter();ce(ue);ce(ie);ce(le);this._trackLength(ue,ie,oe)};FormData.prototype._trackLength=function(re,ie,oe){var se=0;if(oe.knownLength!=null){se+=+oe.knownLength}else if(Buffer.isBuffer(ie)){se=ie.length}else if(typeof ie==="string"){se=Buffer.byteLength(ie)}this._valueLength+=se;this._overheadLength+=Buffer.byteLength(re)+FormData.LINE_BREAK.length;if(!ie||!ie.path&&!(ie.readable&&ie.hasOwnProperty("httpVersion"))&&!(ie instanceof pe)){return}if(!oe.knownLength){this._valuesToMeasure.push(ie)}};FormData.prototype._lengthRetriever=function(re,ie){if(re.hasOwnProperty("fd")){if(re.end!=undefined&&re.end!=Infinity&&re.start!=undefined){ie(null,re.end+1-(re.start?re.start:0))}else{de.stat(re.path,(function(oe,se){var ae;if(oe){ie(oe);return}ae=se.size-(re.start?re.start:0);ie(null,ae)}))}}else if(re.hasOwnProperty("httpVersion")){ie(null,+re.headers["content-length"])}else if(re.hasOwnProperty("httpModule")){re.on("response",(function(oe){re.pause();ie(null,+oe.headers["content-length"])}));re.resume()}else{ie("Unknown stream")}};FormData.prototype._multiPartHeader=function(re,ie,oe){if(typeof oe.header=="string"){return oe.header}var se=this._getContentDisposition(ie,oe);var ae=this._getContentType(ie,oe);var ce="";var ue={"Content-Disposition":["form-data",'name="'+re+'"'].concat(se||[]),"Content-Type":[].concat(ae||[])};if(typeof oe.header=="object"){ge(ue,oe.header)}var le;for(var fe in ue){if(!ue.hasOwnProperty(fe))continue;le=ue[fe];if(le==null){continue}if(!Array.isArray(le)){le=[le]}if(le.length){ce+=fe+": "+le.join("; ")+FormData.LINE_BREAK}}return"--"+this.getBoundary()+FormData.LINE_BREAK+ce+FormData.LINE_BREAK};FormData.prototype._getContentDisposition=function(re,ie){var oe,se;if(typeof ie.filepath==="string"){oe=ce.normalize(ie.filepath).replace(/\\/g,"/")}else if(ie.filename||re.name||re.path){oe=ce.basename(ie.filename||re.name||re.path)}else if(re.readable&&re.hasOwnProperty("httpVersion")){oe=ce.basename(re.client._httpMessage.path||"")}if(oe){se='filename="'+oe+'"'}return se};FormData.prototype._getContentType=function(re,ie){var oe=ie.contentType;if(!oe&&re.name){oe=he.lookup(re.name)}if(!oe&&re.path){oe=he.lookup(re.path)}if(!oe&&re.readable&&re.hasOwnProperty("httpVersion")){oe=re.headers["content-type"]}if(!oe&&(ie.filepath||ie.filename)){oe=he.lookup(ie.filepath||ie.filename)}if(!oe&&typeof re=="object"){oe=FormData.DEFAULT_CONTENT_TYPE}return oe};FormData.prototype._multiPartFooter=function(){return function(re){var ie=FormData.LINE_BREAK;var oe=this._streams.length===0;if(oe){ie+=this._lastBoundary()}re(ie)}.bind(this)};FormData.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+FormData.LINE_BREAK};FormData.prototype.getHeaders=function(re){var ie;var oe={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(ie in re){if(re.hasOwnProperty(ie)){oe[ie.toLowerCase()]=re[ie]}}return oe};FormData.prototype.setBoundary=function(re){this._boundary=re};FormData.prototype.getBoundary=function(){if(!this._boundary){this._generateBoundary()}return this._boundary};FormData.prototype.getBuffer=function(){var re=new Buffer.alloc(0);var ie=this.getBoundary();for(var oe=0,se=this._streams.length;oe{re.exports=function(re,ie){Object.keys(ie).forEach((function(oe){re[oe]=re[oe]||ie[oe]}));return re}},70351:re=>{"use strict";re.exports=function getCallerFile(re){if(re===void 0){re=2}if(re>=Error.stackTraceLimit){throw new TypeError("getCallerFile(position) requires position be less then Error.stackTraceLimit but position was: `"+re+"` and Error.stackTraceLimit was: `"+Error.stackTraceLimit+"`")}var ie=Error.prepareStackTrace;Error.prepareStackTrace=function(re,ie){return ie};var oe=(new Error).stack;Error.prepareStackTrace=ie;if(oe!==null&&typeof oe==="object"){return oe[re]?oe[re].getFileName():undefined}}},31621:re=>{"use strict";re.exports=(re,ie=process.argv)=>{const oe=re.startsWith("-")?"":re.length===1?"-":"--";const se=ie.indexOf(oe+re);const ae=ie.indexOf("--");return se!==-1&&(ae===-1||se{var se=ie;se.utils=oe(4844);se.common=oe(7511);se.sha=oe(41183);se.ripemd=oe(84502);se.hmac=oe(11084);se.sha1=se.sha.sha1;se.sha256=se.sha.sha256;se.sha224=se.sha.sha224;se.sha384=se.sha.sha384;se.sha512=se.sha.sha512;se.ripemd160=se.ripemd.ripemd160},7511:(re,ie,oe)=>{"use strict";var se=oe(4844);var ae=oe(90910);function BlockHash(){this.pending=null;this.pendingTotal=0;this.blockSize=this.constructor.blockSize;this.outSize=this.constructor.outSize;this.hmacStrength=this.constructor.hmacStrength;this.padLength=this.constructor.padLength/8;this.endian="big";this._delta8=this.blockSize/8;this._delta32=this.blockSize/32}ie.BlockHash=BlockHash;BlockHash.prototype.update=function update(re,ie){re=se.toArray(re,ie);if(!this.pending)this.pending=re;else this.pending=this.pending.concat(re);this.pendingTotal+=re.length;if(this.pending.length>=this._delta8){re=this.pending;var oe=re.length%this._delta8;this.pending=re.slice(re.length-oe,re.length);if(this.pending.length===0)this.pending=null;re=se.join32(re,0,re.length-oe,this.endian);for(var ae=0;ae>>24&255;se[ae++]=re>>>16&255;se[ae++]=re>>>8&255;se[ae++]=re&255}else{se[ae++]=re&255;se[ae++]=re>>>8&255;se[ae++]=re>>>16&255;se[ae++]=re>>>24&255;se[ae++]=0;se[ae++]=0;se[ae++]=0;se[ae++]=0;for(ce=8;ce{"use strict";var se=oe(4844);var ae=oe(90910);function Hmac(re,ie,oe){if(!(this instanceof Hmac))return new Hmac(re,ie,oe);this.Hash=re;this.blockSize=re.blockSize/8;this.outSize=re.outSize/8;this.inner=null;this.outer=null;this._init(se.toArray(ie,oe))}re.exports=Hmac;Hmac.prototype._init=function init(re){if(re.length>this.blockSize)re=(new this.Hash).update(re).digest();ae(re.length<=this.blockSize);for(var ie=re.length;ie{"use strict";var se=oe(4844);var ae=oe(7511);var ce=se.rotl32;var ue=se.sum32;var le=se.sum32_3;var fe=se.sum32_4;var de=ae.BlockHash;function RIPEMD160(){if(!(this instanceof RIPEMD160))return new RIPEMD160;de.call(this);this.h=[1732584193,4023233417,2562383102,271733878,3285377520];this.endian="little"}se.inherits(RIPEMD160,de);ie.ripemd160=RIPEMD160;RIPEMD160.blockSize=512;RIPEMD160.outSize=160;RIPEMD160.hmacStrength=192;RIPEMD160.padLength=64;RIPEMD160.prototype._update=function update(re,ie){var oe=this.h[0];var se=this.h[1];var ae=this.h[2];var de=this.h[3];var me=this.h[4];var ye=oe;var ve=se;var be=ae;var we=de;var _e=me;for(var Ee=0;Ee<80;Ee++){var Ce=ue(ce(fe(oe,f(Ee,se,ae,de),re[pe[Ee]+ie],K(Ee)),Ae[Ee]),me);oe=me;me=de;de=ce(ae,10);ae=se;se=Ce;Ce=ue(ce(fe(ye,f(79-Ee,ve,be,we),re[he[Ee]+ie],Kh(Ee)),ge[Ee]),_e);ye=_e;_e=we;we=ce(be,10);be=ve;ve=Ce}Ce=le(this.h[1],ae,we);this.h[1]=le(this.h[2],de,_e);this.h[2]=le(this.h[3],me,ye);this.h[3]=le(this.h[4],oe,ve);this.h[4]=le(this.h[0],se,be);this.h[0]=Ce};RIPEMD160.prototype._digest=function digest(re){if(re==="hex")return se.toHex32(this.h,"little");else return se.split32(this.h,"little")};function f(re,ie,oe,se){if(re<=15)return ie^oe^se;else if(re<=31)return ie&oe|~ie&se;else if(re<=47)return(ie|~oe)^se;else if(re<=63)return ie&se|oe&~se;else return ie^(oe|~se)}function K(re){if(re<=15)return 0;else if(re<=31)return 1518500249;else if(re<=47)return 1859775393;else if(re<=63)return 2400959708;else return 2840853838}function Kh(re){if(re<=15)return 1352829926;else if(re<=31)return 1548603684;else if(re<=47)return 1836072691;else if(re<=63)return 2053994217;else return 0}var pe=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13];var he=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11];var Ae=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6];var ge=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},41183:(re,ie,oe)=>{"use strict";ie.sha1=oe(99918);ie.sha224=oe(52847);ie.sha256=oe(76996);ie.sha384=oe(24752);ie.sha512=oe(23433)},99918:(re,ie,oe)=>{"use strict";var se=oe(4844);var ae=oe(7511);var ce=oe(950);var ue=se.rotl32;var le=se.sum32;var fe=se.sum32_5;var de=ce.ft_1;var pe=ae.BlockHash;var he=[1518500249,1859775393,2400959708,3395469782];function SHA1(){if(!(this instanceof SHA1))return new SHA1;pe.call(this);this.h=[1732584193,4023233417,2562383102,271733878,3285377520];this.W=new Array(80)}se.inherits(SHA1,pe);re.exports=SHA1;SHA1.blockSize=512;SHA1.outSize=160;SHA1.hmacStrength=80;SHA1.padLength=64;SHA1.prototype._update=function _update(re,ie){var oe=this.W;for(var se=0;se<16;se++)oe[se]=re[ie+se];for(;se{"use strict";var se=oe(4844);var ae=oe(76996);function SHA224(){if(!(this instanceof SHA224))return new SHA224;ae.call(this);this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}se.inherits(SHA224,ae);re.exports=SHA224;SHA224.blockSize=512;SHA224.outSize=224;SHA224.hmacStrength=192;SHA224.padLength=64;SHA224.prototype._digest=function digest(re){if(re==="hex")return se.toHex32(this.h.slice(0,7),"big");else return se.split32(this.h.slice(0,7),"big")}},76996:(re,ie,oe)=>{"use strict";var se=oe(4844);var ae=oe(7511);var ce=oe(950);var ue=oe(90910);var le=se.sum32;var fe=se.sum32_4;var de=se.sum32_5;var pe=ce.ch32;var he=ce.maj32;var Ae=ce.s0_256;var ge=ce.s1_256;var me=ce.g0_256;var ye=ce.g1_256;var ve=ae.BlockHash;var be=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function SHA256(){if(!(this instanceof SHA256))return new SHA256;ve.call(this);this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225];this.k=be;this.W=new Array(64)}se.inherits(SHA256,ve);re.exports=SHA256;SHA256.blockSize=512;SHA256.outSize=256;SHA256.hmacStrength=192;SHA256.padLength=64;SHA256.prototype._update=function _update(re,ie){var oe=this.W;for(var se=0;se<16;se++)oe[se]=re[ie+se];for(;se{"use strict";var se=oe(4844);var ae=oe(23433);function SHA384(){if(!(this instanceof SHA384))return new SHA384;ae.call(this);this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}se.inherits(SHA384,ae);re.exports=SHA384;SHA384.blockSize=1024;SHA384.outSize=384;SHA384.hmacStrength=192;SHA384.padLength=128;SHA384.prototype._digest=function digest(re){if(re==="hex")return se.toHex32(this.h.slice(0,12),"big");else return se.split32(this.h.slice(0,12),"big")}},23433:(re,ie,oe)=>{"use strict";var se=oe(4844);var ae=oe(7511);var ce=oe(90910);var ue=se.rotr64_hi;var le=se.rotr64_lo;var fe=se.shr64_hi;var de=se.shr64_lo;var pe=se.sum64;var he=se.sum64_hi;var Ae=se.sum64_lo;var ge=se.sum64_4_hi;var me=se.sum64_4_lo;var ye=se.sum64_5_hi;var ve=se.sum64_5_lo;var be=ae.BlockHash;var we=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function SHA512(){if(!(this instanceof SHA512))return new SHA512;be.call(this);this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209];this.k=we;this.W=new Array(160)}se.inherits(SHA512,be);re.exports=SHA512;SHA512.blockSize=1024;SHA512.outSize=512;SHA512.hmacStrength=192;SHA512.padLength=128;SHA512.prototype._prepareBlock=function _prepareBlock(re,ie){var oe=this.W;for(var se=0;se<32;se++)oe[se]=re[ie+se];for(;se{"use strict";var se=oe(4844);var ae=se.rotr32;function ft_1(re,ie,oe,se){if(re===0)return ch32(ie,oe,se);if(re===1||re===3)return p32(ie,oe,se);if(re===2)return maj32(ie,oe,se)}ie.ft_1=ft_1;function ch32(re,ie,oe){return re&ie^~re&oe}ie.ch32=ch32;function maj32(re,ie,oe){return re&ie^re&oe^ie&oe}ie.maj32=maj32;function p32(re,ie,oe){return re^ie^oe}ie.p32=p32;function s0_256(re){return ae(re,2)^ae(re,13)^ae(re,22)}ie.s0_256=s0_256;function s1_256(re){return ae(re,6)^ae(re,11)^ae(re,25)}ie.s1_256=s1_256;function g0_256(re){return ae(re,7)^ae(re,18)^re>>>3}ie.g0_256=g0_256;function g1_256(re){return ae(re,17)^ae(re,19)^re>>>10}ie.g1_256=g1_256},4844:(re,ie,oe)=>{"use strict";var se=oe(90910);var ae=oe(44124);ie.inherits=ae;function isSurrogatePair(re,ie){if((re.charCodeAt(ie)&64512)!==55296){return false}if(ie<0||ie+1>=re.length){return false}return(re.charCodeAt(ie+1)&64512)===56320}function toArray(re,ie){if(Array.isArray(re))return re.slice();if(!re)return[];var oe=[];if(typeof re==="string"){if(!ie){var se=0;for(var ae=0;ae>6|192;oe[se++]=ce&63|128}else if(isSurrogatePair(re,ae)){ce=65536+((ce&1023)<<10)+(re.charCodeAt(++ae)&1023);oe[se++]=ce>>18|240;oe[se++]=ce>>12&63|128;oe[se++]=ce>>6&63|128;oe[se++]=ce&63|128}else{oe[se++]=ce>>12|224;oe[se++]=ce>>6&63|128;oe[se++]=ce&63|128}}}else if(ie==="hex"){re=re.replace(/[^a-z0-9]+/gi,"");if(re.length%2!==0)re="0"+re;for(ae=0;ae>>24|re>>>8&65280|re<<8&16711680|(re&255)<<24;return ie>>>0}ie.htonl=htonl;function toHex32(re,ie){var oe="";for(var se=0;se>>0}return ue}ie.join32=join32;function split32(re,ie){var oe=new Array(re.length*4);for(var se=0,ae=0;se>>24;oe[ae+1]=ce>>>16&255;oe[ae+2]=ce>>>8&255;oe[ae+3]=ce&255}else{oe[ae+3]=ce>>>24;oe[ae+2]=ce>>>16&255;oe[ae+1]=ce>>>8&255;oe[ae]=ce&255}}return oe}ie.split32=split32;function rotr32(re,ie){return re>>>ie|re<<32-ie}ie.rotr32=rotr32;function rotl32(re,ie){return re<>>32-ie}ie.rotl32=rotl32;function sum32(re,ie){return re+ie>>>0}ie.sum32=sum32;function sum32_3(re,ie,oe){return re+ie+oe>>>0}ie.sum32_3=sum32_3;function sum32_4(re,ie,oe,se){return re+ie+oe+se>>>0}ie.sum32_4=sum32_4;function sum32_5(re,ie,oe,se,ae){return re+ie+oe+se+ae>>>0}ie.sum32_5=sum32_5;function sum64(re,ie,oe,se){var ae=re[ie];var ce=re[ie+1];var ue=se+ce>>>0;var le=(ue>>0;re[ie+1]=ue}ie.sum64=sum64;function sum64_hi(re,ie,oe,se){var ae=ie+se>>>0;var ce=(ae>>0}ie.sum64_hi=sum64_hi;function sum64_lo(re,ie,oe,se){var ae=ie+se;return ae>>>0}ie.sum64_lo=sum64_lo;function sum64_4_hi(re,ie,oe,se,ae,ce,ue,le){var fe=0;var de=ie;de=de+se>>>0;fe+=de>>0;fe+=de>>0;fe+=de>>0}ie.sum64_4_hi=sum64_4_hi;function sum64_4_lo(re,ie,oe,se,ae,ce,ue,le){var fe=ie+se+ce+le;return fe>>>0}ie.sum64_4_lo=sum64_4_lo;function sum64_5_hi(re,ie,oe,se,ae,ce,ue,le,fe,de){var pe=0;var he=ie;he=he+se>>>0;pe+=he>>0;pe+=he>>0;pe+=he>>0;pe+=he>>0}ie.sum64_5_hi=sum64_5_hi;function sum64_5_lo(re,ie,oe,se,ae,ce,ue,le,fe,de){var pe=ie+se+ce+le+de;return pe>>>0}ie.sum64_5_lo=sum64_5_lo;function rotr64_hi(re,ie,oe){var se=ie<<32-oe|re>>>oe;return se>>>0}ie.rotr64_hi=rotr64_hi;function rotr64_lo(re,ie,oe){var se=re<<32-oe|ie>>>oe;return se>>>0}ie.rotr64_lo=rotr64_lo;function shr64_hi(re,ie,oe){return re>>>oe}ie.shr64_hi=shr64_hi;function shr64_lo(re,ie,oe){var se=re<<32-oe|ie>>>oe;return se>>>0}ie.shr64_lo=shr64_lo},64909:(re,ie,oe)=>{"use strict";var se=oe(95591);var ae=oe(8165);var ce=oe(90910);function HmacDRBG(re){if(!(this instanceof HmacDRBG))return new HmacDRBG(re);this.hash=re.hash;this.predResist=!!re.predResist;this.outLen=this.hash.outSize;this.minEntropy=re.minEntropy||this.hash.hmacStrength;this._reseed=null;this.reseedInterval=null;this.K=null;this.V=null;var ie=ae.toArray(re.entropy,re.entropyEnc||"hex");var oe=ae.toArray(re.nonce,re.nonceEnc||"hex");var se=ae.toArray(re.pers,re.persEnc||"hex");ce(ie.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits");this._init(ie,oe,se)}re.exports=HmacDRBG;HmacDRBG.prototype._init=function init(re,ie,oe){var se=re.concat(ie).concat(oe);this.K=new Array(this.outLen/8);this.V=new Array(this.outLen/8);for(var ae=0;ae=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits");this._update(re.concat(oe||[]));this._reseed=1};HmacDRBG.prototype.generate=function generate(re,ie,oe,se){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");if(typeof ie!=="string"){se=oe;oe=ie;ie=null}if(oe){oe=ae.toArray(oe,se||"hex");this._update(oe)}var ce=[];while(ce.length{try{var se=oe(73837);if(typeof se.inherits!=="function")throw"";re.exports=se.inherits}catch(ie){re.exports=oe(8544)}},8544:re=>{if(typeof Object.create==="function"){re.exports=function inherits(re,ie){if(ie){re.super_=ie;re.prototype=Object.create(ie.prototype,{constructor:{value:re,enumerable:false,writable:true,configurable:true}})}}}else{re.exports=function inherits(re,ie){if(ie){re.super_=ie;var TempCtor=function(){};TempCtor.prototype=ie.prototype;re.prototype=new TempCtor;re.prototype.constructor=re}}}},37263:function(re){(function(ie){"use strict";const oe="(0?\\d+|0x[a-f0-9]+)";const se={fourOctet:new RegExp(`^${oe}\\.${oe}\\.${oe}\\.${oe}$`,"i"),threeOctet:new RegExp(`^${oe}\\.${oe}\\.${oe}$`,"i"),twoOctet:new RegExp(`^${oe}\\.${oe}$`,"i"),longValue:new RegExp(`^${oe}$`,"i")};const ae=new RegExp(`^0[0-7]+$`,"i");const ce=new RegExp(`^0x[a-f0-9]+$`,"i");const ue="%[0-9a-z]{1,}";const le="(?:[0-9a-f]+::?)+";const fe={zoneIndex:new RegExp(ue,"i"),native:new RegExp(`^(::)?(${le})?([0-9a-f]+)?(::)?(${ue})?$`,"i"),deprecatedTransitional:new RegExp(`^(?:::)(${oe}\\.${oe}\\.${oe}\\.${oe}(${ue})?)$`,"i"),transitional:new RegExp(`^((?:${le})|(?:::)(?:${le})?)${oe}\\.${oe}\\.${oe}\\.${oe}(${ue})?$`,"i")};function expandIPv6(re,ie){if(re.indexOf("::")!==re.lastIndexOf("::")){return null}let oe=0;let se=-1;let ae=(re.match(fe.zoneIndex)||[])[0];let ce,ue;if(ae){ae=ae.substring(1);re=re.replace(/%.+$/,"")}while((se=re.indexOf(":",se+1))>=0){oe++}if(re.substr(0,2)==="::"){oe--}if(re.substr(-2,2)==="::"){oe--}if(oe>ie){return null}ue=ie-oe;ce=":";while(ue--){ce+="0:"}re=re.replace("::",ce);if(re[0]===":"){re=re.slice(1)}if(re[re.length-1]===":"){re=re.slice(0,-1)}ie=function(){const ie=re.split(":");const oe=[];for(let re=0;re0){ce=oe-se;if(ce<0){ce=0}if(re[ae]>>ce!==ie[ae]>>ce){return false}se-=oe;ae+=1}return true}function parseIntAuto(re){if(ce.test(re)){return parseInt(re,16)}if(re[0]==="0"&&!isNaN(parseInt(re[1],10))){if(ae.test(re)){return parseInt(re,8)}throw new Error(`ipaddr: cannot parse ${re} as octal`)}return parseInt(re,10)}function padPart(re,ie){while(re.length=0;se-=1){ae=this.octets[se];if(ae in oe){ce=oe[ae];if(ie&&ce!==0){return null}if(ce!==8){ie=true}re+=ce}else{return null}}return 32-re};IPv4.prototype.range=function(){return de.subnetMatch(this,this.SpecialRanges)};IPv4.prototype.toByteArray=function(){return this.octets.slice(0)};IPv4.prototype.toIPv4MappedAddress=function(){return de.IPv6.parse(`::ffff:${this.toString()}`)};IPv4.prototype.toNormalizedString=function(){return this.toString()};IPv4.prototype.toString=function(){return this.octets.join(".")};return IPv4}();de.IPv4.broadcastAddressFromCIDR=function(re){try{const ie=this.parseCIDR(re);const oe=ie[0].toByteArray();const se=this.subnetMaskFromPrefixLength(ie[1]).toByteArray();const ae=[];let ce=0;while(ce<4){ae.push(parseInt(oe[ce],10)|parseInt(se[ce],10)^255);ce++}return new this(ae)}catch(re){throw new Error("ipaddr: the address does not have IPv4 CIDR format")}};de.IPv4.isIPv4=function(re){return this.parser(re)!==null};de.IPv4.isValid=function(re){try{new this(this.parser(re));return true}catch(re){return false}};de.IPv4.isValidCIDR=function(re){try{this.parseCIDR(re);return true}catch(re){return false}};de.IPv4.isValidFourPartDecimal=function(re){if(de.IPv4.isValid(re)&&re.match(/^(0|[1-9]\d*)(\.(0|[1-9]\d*)){3}$/)){return true}else{return false}};de.IPv4.networkAddressFromCIDR=function(re){let ie,oe,se,ae,ce;try{ie=this.parseCIDR(re);se=ie[0].toByteArray();ce=this.subnetMaskFromPrefixLength(ie[1]).toByteArray();ae=[];oe=0;while(oe<4){ae.push(parseInt(se[oe],10)&parseInt(ce[oe],10));oe++}return new this(ae)}catch(re){throw new Error("ipaddr: the address does not have IPv4 CIDR format")}};de.IPv4.parse=function(re){const ie=this.parser(re);if(ie===null){throw new Error("ipaddr: string is not formatted like an IPv4 Address")}return new this(ie)};de.IPv4.parseCIDR=function(re){let ie;if(ie=re.match(/^(.+)\/(\d+)$/)){const re=parseInt(ie[2]);if(re>=0&&re<=32){const oe=[this.parse(ie[1]),re];Object.defineProperty(oe,"toString",{value:function(){return this.join("/")}});return oe}}throw new Error("ipaddr: string is not formatted like an IPv4 CIDR range")};de.IPv4.parser=function(re){let ie,oe,ae;if(ie=re.match(se.fourOctet)){return function(){const re=ie.slice(1,6);const se=[];for(let ie=0;ie4294967295||ae<0){throw new Error("ipaddr: address outside defined range")}return function(){const re=[];let ie;for(ie=0;ie<=24;ie+=8){re.push(ae>>ie&255)}return re}().reverse()}else if(ie=re.match(se.twoOctet)){return function(){const re=ie.slice(1,4);const oe=[];ae=parseIntAuto(re[1]);if(ae>16777215||ae<0){throw new Error("ipaddr: address outside defined range")}oe.push(parseIntAuto(re[0]));oe.push(ae>>16&255);oe.push(ae>>8&255);oe.push(ae&255);return oe}()}else if(ie=re.match(se.threeOctet)){return function(){const re=ie.slice(1,5);const oe=[];ae=parseIntAuto(re[2]);if(ae>65535||ae<0){throw new Error("ipaddr: address outside defined range")}oe.push(parseIntAuto(re[0]));oe.push(parseIntAuto(re[1]));oe.push(ae>>8&255);oe.push(ae&255);return oe}()}else{return null}};de.IPv4.subnetMaskFromPrefixLength=function(re){re=parseInt(re);if(re<0||re>32){throw new Error("ipaddr: invalid IPv4 prefix length")}const ie=[0,0,0,0];let oe=0;const se=Math.floor(re/8);while(oe=0;ce-=1){se=this.parts[ce];if(se in oe){ae=oe[se];if(ie&&ae!==0){return null}if(ae!==16){ie=true}re+=ae}else{return null}}return 128-re};IPv6.prototype.range=function(){return de.subnetMatch(this,this.SpecialRanges)};IPv6.prototype.toByteArray=function(){let re;const ie=[];const oe=this.parts;for(let se=0;se>8);ie.push(re&255)}return ie};IPv6.prototype.toFixedLengthString=function(){const re=function(){const re=[];for(let ie=0;ie>8,ie&255,oe>>8,oe&255])};IPv6.prototype.toNormalizedString=function(){const re=function(){const re=[];for(let ie=0;iese){oe=ae.index;se=ae[0].length}}if(se<0){return ie}return`${ie.substring(0,oe)}::${ie.substring(oe+se)}`};IPv6.prototype.toString=function(){return this.toRFC5952String()};return IPv6}();de.IPv6.broadcastAddressFromCIDR=function(re){try{const ie=this.parseCIDR(re);const oe=ie[0].toByteArray();const se=this.subnetMaskFromPrefixLength(ie[1]).toByteArray();const ae=[];let ce=0;while(ce<16){ae.push(parseInt(oe[ce],10)|parseInt(se[ce],10)^255);ce++}return new this(ae)}catch(re){throw new Error(`ipaddr: the address does not have IPv6 CIDR format (${re})`)}};de.IPv6.isIPv6=function(re){return this.parser(re)!==null};de.IPv6.isValid=function(re){if(typeof re==="string"&&re.indexOf(":")===-1){return false}try{const ie=this.parser(re);new this(ie.parts,ie.zoneId);return true}catch(re){return false}};de.IPv6.isValidCIDR=function(re){if(typeof re==="string"&&re.indexOf(":")===-1){return false}try{this.parseCIDR(re);return true}catch(re){return false}};de.IPv6.networkAddressFromCIDR=function(re){let ie,oe,se,ae,ce;try{ie=this.parseCIDR(re);se=ie[0].toByteArray();ce=this.subnetMaskFromPrefixLength(ie[1]).toByteArray();ae=[];oe=0;while(oe<16){ae.push(parseInt(se[oe],10)&parseInt(ce[oe],10));oe++}return new this(ae)}catch(re){throw new Error(`ipaddr: the address does not have IPv6 CIDR format (${re})`)}};de.IPv6.parse=function(re){const ie=this.parser(re);if(ie.parts===null){throw new Error("ipaddr: string is not formatted like an IPv6 Address")}return new this(ie.parts,ie.zoneId)};de.IPv6.parseCIDR=function(re){let ie,oe,se;if(oe=re.match(/^(.+)\/(\d+)$/)){ie=parseInt(oe[2]);if(ie>=0&&ie<=128){se=[this.parse(oe[1]),ie];Object.defineProperty(se,"toString",{value:function(){return this.join("/")}});return se}}throw new Error("ipaddr: string is not formatted like an IPv6 CIDR range")};de.IPv6.parser=function(re){let ie,oe,se,ae,ce,ue;if(se=re.match(fe.deprecatedTransitional)){return this.parser(`::ffff:${se[1]}`)}if(fe.native.test(re)){return expandIPv6(re,8)}if(se=re.match(fe.transitional)){ue=se[6]||"";ie=se[1];if(!se[1].endsWith("::")){ie=ie.slice(0,-1)}ie=expandIPv6(ie+ue,6);if(ie.parts){ce=[parseInt(se[2]),parseInt(se[3]),parseInt(se[4]),parseInt(se[5])];for(oe=0;oe128){throw new Error("ipaddr: invalid IPv6 prefix length")}const ie=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];let oe=0;const se=Math.floor(re/8);while(oe{"use strict";const isFullwidthCodePoint=re=>{if(Number.isNaN(re)){return false}if(re>=4352&&(re<=4447||re===9001||re===9002||11904<=re&&re<=12871&&re!==12351||12880<=re&&re<=19903||19968<=re&&re<=42182||43360<=re&&re<=43388||44032<=re&&re<=55203||63744<=re&&re<=64255||65040<=re&&re<=65049||65072<=re&&re<=65131||65281<=re&&re<=65376||65504<=re&&re<=65510||110592<=re&&re<=110593||127488<=re&&re<=127569||131072<=re&&re<=262141)){return true}return false};re.exports=isFullwidthCodePoint;re.exports["default"]=isFullwidthCodePoint},34061:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.base64url=ie.generateSecret=ie.generateKeyPair=ie.errors=ie.decodeJwt=ie.decodeProtectedHeader=ie.importJWK=ie.importX509=ie.importPKCS8=ie.importSPKI=ie.exportJWK=ie.exportSPKI=ie.exportPKCS8=ie.UnsecuredJWT=ie.createRemoteJWKSet=ie.createLocalJWKSet=ie.EmbeddedJWK=ie.calculateJwkThumbprintUri=ie.calculateJwkThumbprint=ie.EncryptJWT=ie.SignJWT=ie.GeneralSign=ie.FlattenedSign=ie.CompactSign=ie.FlattenedEncrypt=ie.CompactEncrypt=ie.jwtDecrypt=ie.jwtVerify=ie.generalVerify=ie.flattenedVerify=ie.compactVerify=ie.GeneralEncrypt=ie.generalDecrypt=ie.flattenedDecrypt=ie.compactDecrypt=void 0;var se=oe(27651);Object.defineProperty(ie,"compactDecrypt",{enumerable:true,get:function(){return se.compactDecrypt}});var ae=oe(7566);Object.defineProperty(ie,"flattenedDecrypt",{enumerable:true,get:function(){return ae.flattenedDecrypt}});var ce=oe(85684);Object.defineProperty(ie,"generalDecrypt",{enumerable:true,get:function(){return ce.generalDecrypt}});var ue=oe(43992);Object.defineProperty(ie,"GeneralEncrypt",{enumerable:true,get:function(){return ue.GeneralEncrypt}});var le=oe(15212);Object.defineProperty(ie,"compactVerify",{enumerable:true,get:function(){return le.compactVerify}});var fe=oe(32095);Object.defineProperty(ie,"flattenedVerify",{enumerable:true,get:function(){return fe.flattenedVerify}});var de=oe(34975);Object.defineProperty(ie,"generalVerify",{enumerable:true,get:function(){return de.generalVerify}});var pe=oe(99887);Object.defineProperty(ie,"jwtVerify",{enumerable:true,get:function(){return pe.jwtVerify}});var he=oe(53378);Object.defineProperty(ie,"jwtDecrypt",{enumerable:true,get:function(){return he.jwtDecrypt}});var Ae=oe(86203);Object.defineProperty(ie,"CompactEncrypt",{enumerable:true,get:function(){return Ae.CompactEncrypt}});var ge=oe(81555);Object.defineProperty(ie,"FlattenedEncrypt",{enumerable:true,get:function(){return ge.FlattenedEncrypt}});var me=oe(48257);Object.defineProperty(ie,"CompactSign",{enumerable:true,get:function(){return me.CompactSign}});var ye=oe(84825);Object.defineProperty(ie,"FlattenedSign",{enumerable:true,get:function(){return ye.FlattenedSign}});var ve=oe(64268);Object.defineProperty(ie,"GeneralSign",{enumerable:true,get:function(){return ve.GeneralSign}});var be=oe(25356);Object.defineProperty(ie,"SignJWT",{enumerable:true,get:function(){return be.SignJWT}});var we=oe(10960);Object.defineProperty(ie,"EncryptJWT",{enumerable:true,get:function(){return we.EncryptJWT}});var _e=oe(3494);Object.defineProperty(ie,"calculateJwkThumbprint",{enumerable:true,get:function(){return _e.calculateJwkThumbprint}});Object.defineProperty(ie,"calculateJwkThumbprintUri",{enumerable:true,get:function(){return _e.calculateJwkThumbprintUri}});var Ee=oe(1751);Object.defineProperty(ie,"EmbeddedJWK",{enumerable:true,get:function(){return Ee.EmbeddedJWK}});var Ce=oe(29970);Object.defineProperty(ie,"createLocalJWKSet",{enumerable:true,get:function(){return Ce.createLocalJWKSet}});var Ie=oe(79035);Object.defineProperty(ie,"createRemoteJWKSet",{enumerable:true,get:function(){return Ie.createRemoteJWKSet}});var Se=oe(88568);Object.defineProperty(ie,"UnsecuredJWT",{enumerable:true,get:function(){return Se.UnsecuredJWT}});var Be=oe(70465);Object.defineProperty(ie,"exportPKCS8",{enumerable:true,get:function(){return Be.exportPKCS8}});Object.defineProperty(ie,"exportSPKI",{enumerable:true,get:function(){return Be.exportSPKI}});Object.defineProperty(ie,"exportJWK",{enumerable:true,get:function(){return Be.exportJWK}});var xe=oe(74230);Object.defineProperty(ie,"importSPKI",{enumerable:true,get:function(){return xe.importSPKI}});Object.defineProperty(ie,"importPKCS8",{enumerable:true,get:function(){return xe.importPKCS8}});Object.defineProperty(ie,"importX509",{enumerable:true,get:function(){return xe.importX509}});Object.defineProperty(ie,"importJWK",{enumerable:true,get:function(){return xe.importJWK}});var ke=oe(33991);Object.defineProperty(ie,"decodeProtectedHeader",{enumerable:true,get:function(){return ke.decodeProtectedHeader}});var Oe=oe(65611);Object.defineProperty(ie,"decodeJwt",{enumerable:true,get:function(){return Oe.decodeJwt}});ie.errors=oe(94419);var De=oe(51036);Object.defineProperty(ie,"generateKeyPair",{enumerable:true,get:function(){return De.generateKeyPair}});var Pe=oe(76617);Object.defineProperty(ie,"generateSecret",{enumerable:true,get:function(){return Pe.generateSecret}});ie.base64url=oe(63238)},27651:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.compactDecrypt=void 0;const se=oe(7566);const ae=oe(94419);const ce=oe(1691);async function compactDecrypt(re,ie,oe){if(re instanceof Uint8Array){re=ce.decoder.decode(re)}if(typeof re!=="string"){throw new ae.JWEInvalid("Compact JWE must be a string or Uint8Array")}const{0:ue,1:le,2:fe,3:de,4:pe,length:he}=re.split(".");if(he!==5){throw new ae.JWEInvalid("Invalid Compact JWE")}const Ae=await(0,se.flattenedDecrypt)({ciphertext:de,iv:fe||undefined,protected:ue||undefined,tag:pe||undefined,encrypted_key:le||undefined},ie,oe);const ge={plaintext:Ae.plaintext,protectedHeader:Ae.protectedHeader};if(typeof ie==="function"){return{...ge,key:Ae.key}}return ge}ie.compactDecrypt=compactDecrypt},86203:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.CompactEncrypt=void 0;const se=oe(81555);class CompactEncrypt{constructor(re){this._flattened=new se.FlattenedEncrypt(re)}setContentEncryptionKey(re){this._flattened.setContentEncryptionKey(re);return this}setInitializationVector(re){this._flattened.setInitializationVector(re);return this}setProtectedHeader(re){this._flattened.setProtectedHeader(re);return this}setKeyManagementParameters(re){this._flattened.setKeyManagementParameters(re);return this}async encrypt(re,ie){const oe=await this._flattened.encrypt(re,ie);return[oe.protected,oe.encrypted_key,oe.iv,oe.ciphertext,oe.tag].join(".")}}ie.CompactEncrypt=CompactEncrypt},7566:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.flattenedDecrypt=void 0;const se=oe(80518);const ae=oe(66137);const ce=oe(7022);const ue=oe(94419);const le=oe(6063);const fe=oe(39127);const de=oe(26127);const pe=oe(1691);const he=oe(43987);const Ae=oe(50863);const ge=oe(55148);async function flattenedDecrypt(re,ie,oe){var me;if(!(0,fe.default)(re)){throw new ue.JWEInvalid("Flattened JWE must be an object")}if(re.protected===undefined&&re.header===undefined&&re.unprotected===undefined){throw new ue.JWEInvalid("JOSE Header missing")}if(typeof re.iv!=="string"){throw new ue.JWEInvalid("JWE Initialization Vector missing or incorrect type")}if(typeof re.ciphertext!=="string"){throw new ue.JWEInvalid("JWE Ciphertext missing or incorrect type")}if(typeof re.tag!=="string"){throw new ue.JWEInvalid("JWE Authentication Tag missing or incorrect type")}if(re.protected!==undefined&&typeof re.protected!=="string"){throw new ue.JWEInvalid("JWE Protected Header incorrect type")}if(re.encrypted_key!==undefined&&typeof re.encrypted_key!=="string"){throw new ue.JWEInvalid("JWE Encrypted Key incorrect type")}if(re.aad!==undefined&&typeof re.aad!=="string"){throw new ue.JWEInvalid("JWE AAD incorrect type")}if(re.header!==undefined&&!(0,fe.default)(re.header)){throw new ue.JWEInvalid("JWE Shared Unprotected Header incorrect type")}if(re.unprotected!==undefined&&!(0,fe.default)(re.unprotected)){throw new ue.JWEInvalid("JWE Per-Recipient Unprotected Header incorrect type")}let ye;if(re.protected){try{const ie=(0,se.decode)(re.protected);ye=JSON.parse(pe.decoder.decode(ie))}catch{throw new ue.JWEInvalid("JWE Protected Header is invalid")}}if(!(0,le.default)(ye,re.header,re.unprotected)){throw new ue.JWEInvalid("JWE Protected, JWE Unprotected Header, and JWE Per-Recipient Unprotected Header Parameter names must be disjoint")}const ve={...ye,...re.header,...re.unprotected};(0,Ae.default)(ue.JWEInvalid,new Map,oe===null||oe===void 0?void 0:oe.crit,ye,ve);if(ve.zip!==undefined){if(!ye||!ye.zip){throw new ue.JWEInvalid('JWE "zip" (Compression Algorithm) Header MUST be integrity protected')}if(ve.zip!=="DEF"){throw new ue.JOSENotSupported('Unsupported JWE "zip" (Compression Algorithm) Header Parameter value')}}const{alg:be,enc:we}=ve;if(typeof be!=="string"||!be){throw new ue.JWEInvalid("missing JWE Algorithm (alg) in JWE Header")}if(typeof we!=="string"||!we){throw new ue.JWEInvalid("missing JWE Encryption Algorithm (enc) in JWE Header")}const _e=oe&&(0,ge.default)("keyManagementAlgorithms",oe.keyManagementAlgorithms);const Ee=oe&&(0,ge.default)("contentEncryptionAlgorithms",oe.contentEncryptionAlgorithms);if(_e&&!_e.has(be)){throw new ue.JOSEAlgNotAllowed('"alg" (Algorithm) Header Parameter not allowed')}if(Ee&&!Ee.has(we)){throw new ue.JOSEAlgNotAllowed('"enc" (Encryption Algorithm) Header Parameter not allowed')}let Ce;if(re.encrypted_key!==undefined){Ce=(0,se.decode)(re.encrypted_key)}let Ie=false;if(typeof ie==="function"){ie=await ie(ye,re);Ie=true}let Se;try{Se=await(0,de.default)(be,ie,Ce,ve,oe)}catch(re){if(re instanceof TypeError||re instanceof ue.JWEInvalid||re instanceof ue.JOSENotSupported){throw re}Se=(0,he.default)(we)}const Be=(0,se.decode)(re.iv);const xe=(0,se.decode)(re.tag);const ke=pe.encoder.encode((me=re.protected)!==null&&me!==void 0?me:"");let Oe;if(re.aad!==undefined){Oe=(0,pe.concat)(ke,pe.encoder.encode("."),pe.encoder.encode(re.aad))}else{Oe=ke}let De=await(0,ae.default)(we,Se,(0,se.decode)(re.ciphertext),Be,xe,Oe);if(ve.zip==="DEF"){De=await((oe===null||oe===void 0?void 0:oe.inflateRaw)||ce.inflate)(De)}const Pe={plaintext:De};if(re.protected!==undefined){Pe.protectedHeader=ye}if(re.aad!==undefined){Pe.additionalAuthenticatedData=(0,se.decode)(re.aad)}if(re.unprotected!==undefined){Pe.sharedUnprotectedHeader=re.unprotected}if(re.header!==undefined){Pe.unprotectedHeader=re.header}if(Ie){return{...Pe,key:ie}}return Pe}ie.flattenedDecrypt=flattenedDecrypt},81555:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.FlattenedEncrypt=ie.unprotected=void 0;const se=oe(80518);const ae=oe(76476);const ce=oe(7022);const ue=oe(84630);const le=oe(33286);const fe=oe(94419);const de=oe(6063);const pe=oe(1691);const he=oe(50863);ie.unprotected=Symbol();class FlattenedEncrypt{constructor(re){if(!(re instanceof Uint8Array)){throw new TypeError("plaintext must be an instance of Uint8Array")}this._plaintext=re}setKeyManagementParameters(re){if(this._keyManagementParameters){throw new TypeError("setKeyManagementParameters can only be called once")}this._keyManagementParameters=re;return this}setProtectedHeader(re){if(this._protectedHeader){throw new TypeError("setProtectedHeader can only be called once")}this._protectedHeader=re;return this}setSharedUnprotectedHeader(re){if(this._sharedUnprotectedHeader){throw new TypeError("setSharedUnprotectedHeader can only be called once")}this._sharedUnprotectedHeader=re;return this}setUnprotectedHeader(re){if(this._unprotectedHeader){throw new TypeError("setUnprotectedHeader can only be called once")}this._unprotectedHeader=re;return this}setAdditionalAuthenticatedData(re){this._aad=re;return this}setContentEncryptionKey(re){if(this._cek){throw new TypeError("setContentEncryptionKey can only be called once")}this._cek=re;return this}setInitializationVector(re){if(this._iv){throw new TypeError("setInitializationVector can only be called once")}this._iv=re;return this}async encrypt(re,oe){if(!this._protectedHeader&&!this._unprotectedHeader&&!this._sharedUnprotectedHeader){throw new fe.JWEInvalid("either setProtectedHeader, setUnprotectedHeader, or sharedUnprotectedHeader must be called before #encrypt()")}if(!(0,de.default)(this._protectedHeader,this._unprotectedHeader,this._sharedUnprotectedHeader)){throw new fe.JWEInvalid("JWE Protected, JWE Shared Unprotected and JWE Per-Recipient Header Parameter names must be disjoint")}const Ae={...this._protectedHeader,...this._unprotectedHeader,...this._sharedUnprotectedHeader};(0,he.default)(fe.JWEInvalid,new Map,oe===null||oe===void 0?void 0:oe.crit,this._protectedHeader,Ae);if(Ae.zip!==undefined){if(!this._protectedHeader||!this._protectedHeader.zip){throw new fe.JWEInvalid('JWE "zip" (Compression Algorithm) Header MUST be integrity protected')}if(Ae.zip!=="DEF"){throw new fe.JOSENotSupported('Unsupported JWE "zip" (Compression Algorithm) Header Parameter value')}}const{alg:ge,enc:me}=Ae;if(typeof ge!=="string"||!ge){throw new fe.JWEInvalid('JWE "alg" (Algorithm) Header Parameter missing or invalid')}if(typeof me!=="string"||!me){throw new fe.JWEInvalid('JWE "enc" (Encryption Algorithm) Header Parameter missing or invalid')}let ye;if(ge==="dir"){if(this._cek){throw new TypeError("setContentEncryptionKey cannot be called when using Direct Encryption")}}else if(ge==="ECDH-ES"){if(this._cek){throw new TypeError("setContentEncryptionKey cannot be called when using Direct Key Agreement")}}let ve;{let se;({cek:ve,encryptedKey:ye,parameters:se}=await(0,le.default)(ge,me,re,this._cek,this._keyManagementParameters));if(se){if(oe&&ie.unprotected in oe){if(!this._unprotectedHeader){this.setUnprotectedHeader(se)}else{this._unprotectedHeader={...this._unprotectedHeader,...se}}}else{if(!this._protectedHeader){this.setProtectedHeader(se)}else{this._protectedHeader={...this._protectedHeader,...se}}}}}this._iv||(this._iv=(0,ue.default)(me));let be;let we;let _e;if(this._protectedHeader){we=pe.encoder.encode((0,se.encode)(JSON.stringify(this._protectedHeader)))}else{we=pe.encoder.encode("")}if(this._aad){_e=(0,se.encode)(this._aad);be=(0,pe.concat)(we,pe.encoder.encode("."),pe.encoder.encode(_e))}else{be=we}let Ee;let Ce;if(Ae.zip==="DEF"){const re=await((oe===null||oe===void 0?void 0:oe.deflateRaw)||ce.deflate)(this._plaintext);({ciphertext:Ee,tag:Ce}=await(0,ae.default)(me,re,ve,this._iv,be))}else{({ciphertext:Ee,tag:Ce}=await(0,ae.default)(me,this._plaintext,ve,this._iv,be))}const Ie={ciphertext:(0,se.encode)(Ee),iv:(0,se.encode)(this._iv),tag:(0,se.encode)(Ce)};if(ye){Ie.encrypted_key=(0,se.encode)(ye)}if(_e){Ie.aad=_e}if(this._protectedHeader){Ie.protected=pe.decoder.decode(we)}if(this._sharedUnprotectedHeader){Ie.unprotected=this._sharedUnprotectedHeader}if(this._unprotectedHeader){Ie.header=this._unprotectedHeader}return Ie}}ie.FlattenedEncrypt=FlattenedEncrypt},85684:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.generalDecrypt=void 0;const se=oe(7566);const ae=oe(94419);const ce=oe(39127);async function generalDecrypt(re,ie,oe){if(!(0,ce.default)(re)){throw new ae.JWEInvalid("General JWE must be an object")}if(!Array.isArray(re.recipients)||!re.recipients.every(ce.default)){throw new ae.JWEInvalid("JWE Recipients missing or incorrect type")}if(!re.recipients.length){throw new ae.JWEInvalid("JWE Recipients has no members")}for(const ae of re.recipients){try{return await(0,se.flattenedDecrypt)({aad:re.aad,ciphertext:re.ciphertext,encrypted_key:ae.encrypted_key,header:ae.header,iv:re.iv,protected:re.protected,tag:re.tag,unprotected:re.unprotected},ie,oe)}catch{}}throw new ae.JWEDecryptionFailed}ie.generalDecrypt=generalDecrypt},43992:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.GeneralEncrypt=void 0;const se=oe(81555);const ae=oe(94419);const ce=oe(43987);const ue=oe(6063);const le=oe(33286);const fe=oe(80518);const de=oe(50863);class IndividualRecipient{constructor(re,ie,oe){this.parent=re;this.key=ie;this.options=oe}setUnprotectedHeader(re){if(this.unprotectedHeader){throw new TypeError("setUnprotectedHeader can only be called once")}this.unprotectedHeader=re;return this}addRecipient(...re){return this.parent.addRecipient(...re)}encrypt(...re){return this.parent.encrypt(...re)}done(){return this.parent}}class GeneralEncrypt{constructor(re){this._recipients=[];this._plaintext=re}addRecipient(re,ie){const oe=new IndividualRecipient(this,re,{crit:ie===null||ie===void 0?void 0:ie.crit});this._recipients.push(oe);return oe}setProtectedHeader(re){if(this._protectedHeader){throw new TypeError("setProtectedHeader can only be called once")}this._protectedHeader=re;return this}setSharedUnprotectedHeader(re){if(this._unprotectedHeader){throw new TypeError("setSharedUnprotectedHeader can only be called once")}this._unprotectedHeader=re;return this}setAdditionalAuthenticatedData(re){this._aad=re;return this}async encrypt(re){var ie,oe,pe;if(!this._recipients.length){throw new ae.JWEInvalid("at least one recipient must be added")}re={deflateRaw:re===null||re===void 0?void 0:re.deflateRaw};if(this._recipients.length===1){const[ie]=this._recipients;const oe=await new se.FlattenedEncrypt(this._plaintext).setAdditionalAuthenticatedData(this._aad).setProtectedHeader(this._protectedHeader).setSharedUnprotectedHeader(this._unprotectedHeader).setUnprotectedHeader(ie.unprotectedHeader).encrypt(ie.key,{...ie.options,...re});let ae={ciphertext:oe.ciphertext,iv:oe.iv,recipients:[{}],tag:oe.tag};if(oe.aad)ae.aad=oe.aad;if(oe.protected)ae.protected=oe.protected;if(oe.unprotected)ae.unprotected=oe.unprotected;if(oe.encrypted_key)ae.recipients[0].encrypted_key=oe.encrypted_key;if(oe.header)ae.recipients[0].header=oe.header;return ae}let he;for(let re=0;re{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.EmbeddedJWK=void 0;const se=oe(74230);const ae=oe(39127);const ce=oe(94419);async function EmbeddedJWK(re,ie){const oe={...re,...ie===null||ie===void 0?void 0:ie.header};if(!(0,ae.default)(oe.jwk)){throw new ce.JWSInvalid('"jwk" (JSON Web Key) Header Parameter must be a JSON object')}const ue=await(0,se.importJWK)({...oe.jwk,ext:true},oe.alg,true);if(ue instanceof Uint8Array||ue.type!=="public"){throw new ce.JWSInvalid('"jwk" (JSON Web Key) Header Parameter must be a public key')}return ue}ie.EmbeddedJWK=EmbeddedJWK},3494:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.calculateJwkThumbprintUri=ie.calculateJwkThumbprint=void 0;const se=oe(52355);const ae=oe(80518);const ce=oe(94419);const ue=oe(1691);const le=oe(39127);const check=(re,ie)=>{if(typeof re!=="string"||!re){throw new ce.JWKInvalid(`${ie} missing or invalid`)}};async function calculateJwkThumbprint(re,ie){if(!(0,le.default)(re)){throw new TypeError("JWK must be an object")}ie!==null&&ie!==void 0?ie:ie="sha256";if(ie!=="sha256"&&ie!=="sha384"&&ie!=="sha512"){throw new TypeError('digestAlgorithm must one of "sha256", "sha384", or "sha512"')}let oe;switch(re.kty){case"EC":check(re.crv,'"crv" (Curve) Parameter');check(re.x,'"x" (X Coordinate) Parameter');check(re.y,'"y" (Y Coordinate) Parameter');oe={crv:re.crv,kty:re.kty,x:re.x,y:re.y};break;case"OKP":check(re.crv,'"crv" (Subtype of Key Pair) Parameter');check(re.x,'"x" (Public Key) Parameter');oe={crv:re.crv,kty:re.kty,x:re.x};break;case"RSA":check(re.e,'"e" (Exponent) Parameter');check(re.n,'"n" (Modulus) Parameter');oe={e:re.e,kty:re.kty,n:re.n};break;case"oct":check(re.k,'"k" (Key Value) Parameter');oe={k:re.k,kty:re.kty};break;default:throw new ce.JOSENotSupported('"kty" (Key Type) Parameter missing or unsupported')}const fe=ue.encoder.encode(JSON.stringify(oe));return(0,ae.encode)(await(0,se.default)(ie,fe))}ie.calculateJwkThumbprint=calculateJwkThumbprint;async function calculateJwkThumbprintUri(re,ie){ie!==null&&ie!==void 0?ie:ie="sha256";const oe=await calculateJwkThumbprint(re,ie);return`urn:ietf:params:oauth:jwk-thumbprint:sha-${ie.slice(-3)}:${oe}`}ie.calculateJwkThumbprintUri=calculateJwkThumbprintUri},29970:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.createLocalJWKSet=ie.LocalJWKSet=ie.isJWKSLike=void 0;const se=oe(74230);const ae=oe(94419);const ce=oe(39127);function getKtyFromAlg(re){switch(typeof re==="string"&&re.slice(0,2)){case"RS":case"PS":return"RSA";case"ES":return"EC";case"Ed":return"OKP";default:throw new ae.JOSENotSupported('Unsupported "alg" value for a JSON Web Key Set')}}function isJWKSLike(re){return re&&typeof re==="object"&&Array.isArray(re.keys)&&re.keys.every(isJWKLike)}ie.isJWKSLike=isJWKSLike;function isJWKLike(re){return(0,ce.default)(re)}function clone(re){if(typeof structuredClone==="function"){return structuredClone(re)}return JSON.parse(JSON.stringify(re))}class LocalJWKSet{constructor(re){this._cached=new WeakMap;if(!isJWKSLike(re)){throw new ae.JWKSInvalid("JSON Web Key Set malformed")}this._jwks=clone(re)}async getKey(re,ie){const{alg:oe,kid:se}={...re,...ie===null||ie===void 0?void 0:ie.header};const ce=getKtyFromAlg(oe);const ue=this._jwks.keys.filter((re=>{let ie=ce===re.kty;if(ie&&typeof se==="string"){ie=se===re.kid}if(ie&&typeof re.alg==="string"){ie=oe===re.alg}if(ie&&typeof re.use==="string"){ie=re.use==="sig"}if(ie&&Array.isArray(re.key_ops)){ie=re.key_ops.includes("verify")}if(ie&&oe==="EdDSA"){ie=re.crv==="Ed25519"||re.crv==="Ed448"}if(ie){switch(oe){case"ES256":ie=re.crv==="P-256";break;case"ES256K":ie=re.crv==="secp256k1";break;case"ES384":ie=re.crv==="P-384";break;case"ES512":ie=re.crv==="P-521";break}}return ie}));const{0:le,length:fe}=ue;if(fe===0){throw new ae.JWKSNoMatchingKey}else if(fe!==1){const re=new ae.JWKSMultipleMatchingKeys;const{_cached:ie}=this;re[Symbol.asyncIterator]=async function*(){for(const re of ue){try{yield await importWithAlgCache(ie,re,oe)}catch{continue}}};throw re}return importWithAlgCache(this._cached,le,oe)}}ie.LocalJWKSet=LocalJWKSet;async function importWithAlgCache(re,ie,oe){const ce=re.get(ie)||re.set(ie,{}).get(ie);if(ce[oe]===undefined){const re=await(0,se.importJWK)({...ie,ext:true},oe);if(re instanceof Uint8Array||re.type!=="public"){throw new ae.JWKSInvalid("JSON Web Key Set members must be public keys")}ce[oe]=re}return ce[oe]}function createLocalJWKSet(re){const ie=new LocalJWKSet(re);return async function(re,oe){return ie.getKey(re,oe)}}ie.createLocalJWKSet=createLocalJWKSet},79035:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.createRemoteJWKSet=void 0;const se=oe(43650);const ae=oe(94419);const ce=oe(29970);function isCloudflareWorkers(){return typeof WebSocketPair!=="undefined"||typeof navigator!=="undefined"&&navigator.userAgent==="Cloudflare-Workers"||typeof EdgeRuntime!=="undefined"&&EdgeRuntime==="vercel"}class RemoteJWKSet extends ce.LocalJWKSet{constructor(re,ie){super({keys:[]});this._jwks=undefined;if(!(re instanceof URL)){throw new TypeError("url must be an instance of URL")}this._url=new URL(re.href);this._options={agent:ie===null||ie===void 0?void 0:ie.agent,headers:ie===null||ie===void 0?void 0:ie.headers};this._timeoutDuration=typeof(ie===null||ie===void 0?void 0:ie.timeoutDuration)==="number"?ie===null||ie===void 0?void 0:ie.timeoutDuration:5e3;this._cooldownDuration=typeof(ie===null||ie===void 0?void 0:ie.cooldownDuration)==="number"?ie===null||ie===void 0?void 0:ie.cooldownDuration:3e4;this._cacheMaxAge=typeof(ie===null||ie===void 0?void 0:ie.cacheMaxAge)==="number"?ie===null||ie===void 0?void 0:ie.cacheMaxAge:6e5}coolingDown(){return typeof this._jwksTimestamp==="number"?Date.now(){if(!(0,ce.isJWKSLike)(re)){throw new ae.JWKSInvalid("JSON Web Key Set malformed")}this._jwks={keys:re.keys};this._jwksTimestamp=Date.now();this._pendingFetch=undefined})).catch((re=>{this._pendingFetch=undefined;throw re})));await this._pendingFetch}}function createRemoteJWKSet(re,ie){const oe=new RemoteJWKSet(re,ie);return async function(re,ie){return oe.getKey(re,ie)}}ie.createRemoteJWKSet=createRemoteJWKSet},48257:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.CompactSign=void 0;const se=oe(84825);class CompactSign{constructor(re){this._flattened=new se.FlattenedSign(re)}setProtectedHeader(re){this._flattened.setProtectedHeader(re);return this}async sign(re,ie){const oe=await this._flattened.sign(re,ie);if(oe.payload===undefined){throw new TypeError("use the flattened module for creating JWS with b64: false")}return`${oe.protected}.${oe.payload}.${oe.signature}`}}ie.CompactSign=CompactSign},15212:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.compactVerify=void 0;const se=oe(32095);const ae=oe(94419);const ce=oe(1691);async function compactVerify(re,ie,oe){if(re instanceof Uint8Array){re=ce.decoder.decode(re)}if(typeof re!=="string"){throw new ae.JWSInvalid("Compact JWS must be a string or Uint8Array")}const{0:ue,1:le,2:fe,length:de}=re.split(".");if(de!==3){throw new ae.JWSInvalid("Invalid Compact JWS")}const pe=await(0,se.flattenedVerify)({payload:le,protected:ue,signature:fe},ie,oe);const he={payload:pe.payload,protectedHeader:pe.protectedHeader};if(typeof ie==="function"){return{...he,key:pe.key}}return he}ie.compactVerify=compactVerify},84825:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.FlattenedSign=void 0;const se=oe(80518);const ae=oe(69935);const ce=oe(6063);const ue=oe(94419);const le=oe(1691);const fe=oe(56241);const de=oe(50863);class FlattenedSign{constructor(re){if(!(re instanceof Uint8Array)){throw new TypeError("payload must be an instance of Uint8Array")}this._payload=re}setProtectedHeader(re){if(this._protectedHeader){throw new TypeError("setProtectedHeader can only be called once")}this._protectedHeader=re;return this}setUnprotectedHeader(re){if(this._unprotectedHeader){throw new TypeError("setUnprotectedHeader can only be called once")}this._unprotectedHeader=re;return this}async sign(re,ie){if(!this._protectedHeader&&!this._unprotectedHeader){throw new ue.JWSInvalid("either setProtectedHeader or setUnprotectedHeader must be called before #sign()")}if(!(0,ce.default)(this._protectedHeader,this._unprotectedHeader)){throw new ue.JWSInvalid("JWS Protected and JWS Unprotected Header Parameter names must be disjoint")}const oe={...this._protectedHeader,...this._unprotectedHeader};const pe=(0,de.default)(ue.JWSInvalid,new Map([["b64",true]]),ie===null||ie===void 0?void 0:ie.crit,this._protectedHeader,oe);let he=true;if(pe.has("b64")){he=this._protectedHeader.b64;if(typeof he!=="boolean"){throw new ue.JWSInvalid('The "b64" (base64url-encode payload) Header Parameter must be a boolean')}}const{alg:Ae}=oe;if(typeof Ae!=="string"||!Ae){throw new ue.JWSInvalid('JWS "alg" (Algorithm) Header Parameter missing or invalid')}(0,fe.default)(Ae,re,"sign");let ge=this._payload;if(he){ge=le.encoder.encode((0,se.encode)(ge))}let me;if(this._protectedHeader){me=le.encoder.encode((0,se.encode)(JSON.stringify(this._protectedHeader)))}else{me=le.encoder.encode("")}const ye=(0,le.concat)(me,le.encoder.encode("."),ge);const ve=await(0,ae.default)(Ae,re,ye);const be={signature:(0,se.encode)(ve),payload:""};if(he){be.payload=le.decoder.decode(ge)}if(this._unprotectedHeader){be.header=this._unprotectedHeader}if(this._protectedHeader){be.protected=le.decoder.decode(me)}return be}}ie.FlattenedSign=FlattenedSign},32095:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.flattenedVerify=void 0;const se=oe(80518);const ae=oe(3569);const ce=oe(94419);const ue=oe(1691);const le=oe(6063);const fe=oe(39127);const de=oe(56241);const pe=oe(50863);const he=oe(55148);async function flattenedVerify(re,ie,oe){var Ae;if(!(0,fe.default)(re)){throw new ce.JWSInvalid("Flattened JWS must be an object")}if(re.protected===undefined&&re.header===undefined){throw new ce.JWSInvalid('Flattened JWS must have either of the "protected" or "header" members')}if(re.protected!==undefined&&typeof re.protected!=="string"){throw new ce.JWSInvalid("JWS Protected Header incorrect type")}if(re.payload===undefined){throw new ce.JWSInvalid("JWS Payload missing")}if(typeof re.signature!=="string"){throw new ce.JWSInvalid("JWS Signature missing or incorrect type")}if(re.header!==undefined&&!(0,fe.default)(re.header)){throw new ce.JWSInvalid("JWS Unprotected Header incorrect type")}let ge={};if(re.protected){try{const ie=(0,se.decode)(re.protected);ge=JSON.parse(ue.decoder.decode(ie))}catch{throw new ce.JWSInvalid("JWS Protected Header is invalid")}}if(!(0,le.default)(ge,re.header)){throw new ce.JWSInvalid("JWS Protected and JWS Unprotected Header Parameter names must be disjoint")}const me={...ge,...re.header};const ye=(0,pe.default)(ce.JWSInvalid,new Map([["b64",true]]),oe===null||oe===void 0?void 0:oe.crit,ge,me);let ve=true;if(ye.has("b64")){ve=ge.b64;if(typeof ve!=="boolean"){throw new ce.JWSInvalid('The "b64" (base64url-encode payload) Header Parameter must be a boolean')}}const{alg:be}=me;if(typeof be!=="string"||!be){throw new ce.JWSInvalid('JWS "alg" (Algorithm) Header Parameter missing or invalid')}const we=oe&&(0,he.default)("algorithms",oe.algorithms);if(we&&!we.has(be)){throw new ce.JOSEAlgNotAllowed('"alg" (Algorithm) Header Parameter not allowed')}if(ve){if(typeof re.payload!=="string"){throw new ce.JWSInvalid("JWS Payload must be a string")}}else if(typeof re.payload!=="string"&&!(re.payload instanceof Uint8Array)){throw new ce.JWSInvalid("JWS Payload must be a string or an Uint8Array instance")}let _e=false;if(typeof ie==="function"){ie=await ie(ge,re);_e=true}(0,de.default)(be,ie,"verify");const Ee=(0,ue.concat)(ue.encoder.encode((Ae=re.protected)!==null&&Ae!==void 0?Ae:""),ue.encoder.encode("."),typeof re.payload==="string"?ue.encoder.encode(re.payload):re.payload);const Ce=(0,se.decode)(re.signature);const Ie=await(0,ae.default)(be,ie,Ce,Ee);if(!Ie){throw new ce.JWSSignatureVerificationFailed}let Se;if(ve){Se=(0,se.decode)(re.payload)}else if(typeof re.payload==="string"){Se=ue.encoder.encode(re.payload)}else{Se=re.payload}const Be={payload:Se};if(re.protected!==undefined){Be.protectedHeader=ge}if(re.header!==undefined){Be.unprotectedHeader=re.header}if(_e){return{...Be,key:ie}}return Be}ie.flattenedVerify=flattenedVerify},64268:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.GeneralSign=void 0;const se=oe(84825);const ae=oe(94419);class IndividualSignature{constructor(re,ie,oe){this.parent=re;this.key=ie;this.options=oe}setProtectedHeader(re){if(this.protectedHeader){throw new TypeError("setProtectedHeader can only be called once")}this.protectedHeader=re;return this}setUnprotectedHeader(re){if(this.unprotectedHeader){throw new TypeError("setUnprotectedHeader can only be called once")}this.unprotectedHeader=re;return this}addSignature(...re){return this.parent.addSignature(...re)}sign(...re){return this.parent.sign(...re)}done(){return this.parent}}class GeneralSign{constructor(re){this._signatures=[];this._payload=re}addSignature(re,ie){const oe=new IndividualSignature(this,re,ie);this._signatures.push(oe);return oe}async sign(){if(!this._signatures.length){throw new ae.JWSInvalid("at least one signature must be added")}const re={signatures:[],payload:""};for(let ie=0;ie{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.generalVerify=void 0;const se=oe(32095);const ae=oe(94419);const ce=oe(39127);async function generalVerify(re,ie,oe){if(!(0,ce.default)(re)){throw new ae.JWSInvalid("General JWS must be an object")}if(!Array.isArray(re.signatures)||!re.signatures.every(ce.default)){throw new ae.JWSInvalid("JWS Signatures missing or incorrect type")}for(const ae of re.signatures){try{return await(0,se.flattenedVerify)({header:ae.header,payload:re.payload,protected:ae.protected,signature:ae.signature},ie,oe)}catch{}}throw new ae.JWSSignatureVerificationFailed}ie.generalVerify=generalVerify},53378:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.jwtDecrypt=void 0;const se=oe(27651);const ae=oe(7274);const ce=oe(94419);async function jwtDecrypt(re,ie,oe){const ue=await(0,se.compactDecrypt)(re,ie,oe);const le=(0,ae.default)(ue.protectedHeader,ue.plaintext,oe);const{protectedHeader:fe}=ue;if(fe.iss!==undefined&&fe.iss!==le.iss){throw new ce.JWTClaimValidationFailed('replicated "iss" claim header parameter mismatch',"iss","mismatch")}if(fe.sub!==undefined&&fe.sub!==le.sub){throw new ce.JWTClaimValidationFailed('replicated "sub" claim header parameter mismatch',"sub","mismatch")}if(fe.aud!==undefined&&JSON.stringify(fe.aud)!==JSON.stringify(le.aud)){throw new ce.JWTClaimValidationFailed('replicated "aud" claim header parameter mismatch',"aud","mismatch")}const de={payload:le,protectedHeader:fe};if(typeof ie==="function"){return{...de,key:ue.key}}return de}ie.jwtDecrypt=jwtDecrypt},10960:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.EncryptJWT=void 0;const se=oe(86203);const ae=oe(1691);const ce=oe(21908);class EncryptJWT extends ce.ProduceJWT{setProtectedHeader(re){if(this._protectedHeader){throw new TypeError("setProtectedHeader can only be called once")}this._protectedHeader=re;return this}setKeyManagementParameters(re){if(this._keyManagementParameters){throw new TypeError("setKeyManagementParameters can only be called once")}this._keyManagementParameters=re;return this}setContentEncryptionKey(re){if(this._cek){throw new TypeError("setContentEncryptionKey can only be called once")}this._cek=re;return this}setInitializationVector(re){if(this._iv){throw new TypeError("setInitializationVector can only be called once")}this._iv=re;return this}replicateIssuerAsHeader(){this._replicateIssuerAsHeader=true;return this}replicateSubjectAsHeader(){this._replicateSubjectAsHeader=true;return this}replicateAudienceAsHeader(){this._replicateAudienceAsHeader=true;return this}async encrypt(re,ie){const oe=new se.CompactEncrypt(ae.encoder.encode(JSON.stringify(this._payload)));if(this._replicateIssuerAsHeader){this._protectedHeader={...this._protectedHeader,iss:this._payload.iss}}if(this._replicateSubjectAsHeader){this._protectedHeader={...this._protectedHeader,sub:this._payload.sub}}if(this._replicateAudienceAsHeader){this._protectedHeader={...this._protectedHeader,aud:this._payload.aud}}oe.setProtectedHeader(this._protectedHeader);if(this._iv){oe.setInitializationVector(this._iv)}if(this._cek){oe.setContentEncryptionKey(this._cek)}if(this._keyManagementParameters){oe.setKeyManagementParameters(this._keyManagementParameters)}return oe.encrypt(re,ie)}}ie.EncryptJWT=EncryptJWT},21908:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.ProduceJWT=void 0;const se=oe(74476);const ae=oe(39127);const ce=oe(37810);class ProduceJWT{constructor(re){if(!(0,ae.default)(re)){throw new TypeError("JWT Claims Set MUST be an object")}this._payload=re}setIssuer(re){this._payload={...this._payload,iss:re};return this}setSubject(re){this._payload={...this._payload,sub:re};return this}setAudience(re){this._payload={...this._payload,aud:re};return this}setJti(re){this._payload={...this._payload,jti:re};return this}setNotBefore(re){if(typeof re==="number"){this._payload={...this._payload,nbf:re}}else{this._payload={...this._payload,nbf:(0,se.default)(new Date)+(0,ce.default)(re)}}return this}setExpirationTime(re){if(typeof re==="number"){this._payload={...this._payload,exp:re}}else{this._payload={...this._payload,exp:(0,se.default)(new Date)+(0,ce.default)(re)}}return this}setIssuedAt(re){if(typeof re==="undefined"){this._payload={...this._payload,iat:(0,se.default)(new Date)}}else{this._payload={...this._payload,iat:re}}return this}}ie.ProduceJWT=ProduceJWT},25356:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.SignJWT=void 0;const se=oe(48257);const ae=oe(94419);const ce=oe(1691);const ue=oe(21908);class SignJWT extends ue.ProduceJWT{setProtectedHeader(re){this._protectedHeader=re;return this}async sign(re,ie){var oe;const ue=new se.CompactSign(ce.encoder.encode(JSON.stringify(this._payload)));ue.setProtectedHeader(this._protectedHeader);if(Array.isArray((oe=this._protectedHeader)===null||oe===void 0?void 0:oe.crit)&&this._protectedHeader.crit.includes("b64")&&this._protectedHeader.b64===false){throw new ae.JWTInvalid("JWTs MUST NOT use unencoded payload")}return ue.sign(re,ie)}}ie.SignJWT=SignJWT},88568:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.UnsecuredJWT=void 0;const se=oe(80518);const ae=oe(1691);const ce=oe(94419);const ue=oe(7274);const le=oe(21908);class UnsecuredJWT extends le.ProduceJWT{encode(){const re=se.encode(JSON.stringify({alg:"none"}));const ie=se.encode(JSON.stringify(this._payload));return`${re}.${ie}.`}static decode(re,ie){if(typeof re!=="string"){throw new ce.JWTInvalid("Unsecured JWT must be a string")}const{0:oe,1:le,2:fe,length:de}=re.split(".");if(de!==3||fe!==""){throw new ce.JWTInvalid("Invalid Unsecured JWT")}let pe;try{pe=JSON.parse(ae.decoder.decode(se.decode(oe)));if(pe.alg!=="none")throw new Error}catch{throw new ce.JWTInvalid("Invalid Unsecured JWT")}const he=(0,ue.default)(pe,se.decode(le),ie);return{payload:he,header:pe}}}ie.UnsecuredJWT=UnsecuredJWT},99887:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.jwtVerify=void 0;const se=oe(15212);const ae=oe(7274);const ce=oe(94419);async function jwtVerify(re,ie,oe){var ue;const le=await(0,se.compactVerify)(re,ie,oe);if(((ue=le.protectedHeader.crit)===null||ue===void 0?void 0:ue.includes("b64"))&&le.protectedHeader.b64===false){throw new ce.JWTInvalid("JWTs MUST NOT use unencoded payload")}const fe=(0,ae.default)(le.protectedHeader,le.payload,oe);const de={payload:fe,protectedHeader:le.protectedHeader};if(typeof ie==="function"){return{...de,key:le.key}}return de}ie.jwtVerify=jwtVerify},70465:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.exportJWK=ie.exportPKCS8=ie.exportSPKI=void 0;const se=oe(70858);const ae=oe(70858);const ce=oe(40997);async function exportSPKI(re){return(0,se.toSPKI)(re)}ie.exportSPKI=exportSPKI;async function exportPKCS8(re){return(0,ae.toPKCS8)(re)}ie.exportPKCS8=exportPKCS8;async function exportJWK(re){return(0,ce.default)(re)}ie.exportJWK=exportJWK},51036:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.generateKeyPair=void 0;const se=oe(29378);async function generateKeyPair(re,ie){return(0,se.generateKeyPair)(re,ie)}ie.generateKeyPair=generateKeyPair},76617:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.generateSecret=void 0;const se=oe(29378);async function generateSecret(re,ie){return(0,se.generateSecret)(re,ie)}ie.generateSecret=generateSecret},74230:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.importJWK=ie.importPKCS8=ie.importX509=ie.importSPKI=void 0;const se=oe(80518);const ae=oe(70858);const ce=oe(42659);const ue=oe(94419);const le=oe(39127);async function importSPKI(re,ie,oe){if(typeof re!=="string"||re.indexOf("-----BEGIN PUBLIC KEY-----")!==0){throw new TypeError('"spki" must be SPKI formatted string')}return(0,ae.fromSPKI)(re,ie,oe)}ie.importSPKI=importSPKI;async function importX509(re,ie,oe){if(typeof re!=="string"||re.indexOf("-----BEGIN CERTIFICATE-----")!==0){throw new TypeError('"x509" must be X.509 formatted string')}return(0,ae.fromX509)(re,ie,oe)}ie.importX509=importX509;async function importPKCS8(re,ie,oe){if(typeof re!=="string"||re.indexOf("-----BEGIN PRIVATE KEY-----")!==0){throw new TypeError('"pkcs8" must be PKCS#8 formatted string')}return(0,ae.fromPKCS8)(re,ie,oe)}ie.importPKCS8=importPKCS8;async function importJWK(re,ie,oe){var ae;if(!(0,le.default)(re)){throw new TypeError("JWK must be an object")}ie||(ie=re.alg);switch(re.kty){case"oct":if(typeof re.k!=="string"||!re.k){throw new TypeError('missing "k" (Key Value) Parameter value')}oe!==null&&oe!==void 0?oe:oe=re.ext!==true;if(oe){return(0,ce.default)({...re,alg:ie,ext:(ae=re.ext)!==null&&ae!==void 0?ae:false})}return(0,se.decode)(re.k);case"RSA":if(re.oth!==undefined){throw new ue.JOSENotSupported('RSA JWK "oth" (Other Primes Info) Parameter value is not supported')}case"EC":case"OKP":return(0,ce.default)({...re,alg:ie});default:throw new ue.JOSENotSupported('Unsupported "kty" (Key Type) Parameter value')}}ie.importJWK=importJWK},10233:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.unwrap=ie.wrap=void 0;const se=oe(76476);const ae=oe(66137);const ce=oe(84630);const ue=oe(80518);async function wrap(re,ie,oe,ae){const le=re.slice(0,7);ae||(ae=(0,ce.default)(le));const{ciphertext:fe,tag:de}=await(0,se.default)(le,oe,ie,ae,new Uint8Array(0));return{encryptedKey:fe,iv:(0,ue.encode)(ae),tag:(0,ue.encode)(de)}}ie.wrap=wrap;async function unwrap(re,ie,oe,se,ce){const ue=re.slice(0,7);return(0,ae.default)(ue,ie,oe,se,ce,new Uint8Array(0))}ie.unwrap=unwrap},1691:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.concatKdf=ie.lengthAndInput=ie.uint32be=ie.uint64be=ie.p2s=ie.concat=ie.decoder=ie.encoder=void 0;const se=oe(52355);ie.encoder=new TextEncoder;ie.decoder=new TextDecoder;const ae=2**32;function concat(...re){const ie=re.reduce(((re,{length:ie})=>re+ie),0);const oe=new Uint8Array(ie);let se=0;re.forEach((re=>{oe.set(re,se);se+=re.length}));return oe}ie.concat=concat;function p2s(re,oe){return concat(ie.encoder.encode(re),new Uint8Array([0]),oe)}ie.p2s=p2s;function writeUInt32BE(re,ie,oe){if(ie<0||ie>=ae){throw new RangeError(`value must be >= 0 and <= ${ae-1}. Received ${ie}`)}re.set([ie>>>24,ie>>>16,ie>>>8,ie&255],oe)}function uint64be(re){const ie=Math.floor(re/ae);const oe=re%ae;const se=new Uint8Array(8);writeUInt32BE(se,ie,0);writeUInt32BE(se,oe,4);return se}ie.uint64be=uint64be;function uint32be(re){const ie=new Uint8Array(4);writeUInt32BE(ie,re);return ie}ie.uint32be=uint32be;function lengthAndInput(re){return concat(uint32be(re.length),re)}ie.lengthAndInput=lengthAndInput;async function concatKdf(re,ie,oe){const ae=Math.ceil((ie>>3)/32);const ce=new Uint8Array(ae*32);for(let ie=0;ie>3)}ie.concatKdf=concatKdf},43987:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.bitLength=void 0;const se=oe(94419);const ae=oe(75770);function bitLength(re){switch(re){case"A128GCM":return 128;case"A192GCM":return 192;case"A256GCM":case"A128CBC-HS256":return 256;case"A192CBC-HS384":return 384;case"A256CBC-HS512":return 512;default:throw new se.JOSENotSupported(`Unsupported JWE Algorithm: ${re}`)}}ie.bitLength=bitLength;ie["default"]=re=>(0,ae.default)(new Uint8Array(bitLength(re)>>3))},41120:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(94419);const ae=oe(84630);const checkIvLength=(re,ie)=>{if(ie.length<<3!==(0,ae.bitLength)(re)){throw new se.JWEInvalid("Invalid Initialization Vector length")}};ie["default"]=checkIvLength},56241:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(1146);const ae=oe(17947);const symmetricTypeCheck=(re,ie)=>{if(ie instanceof Uint8Array)return;if(!(0,ae.default)(ie)){throw new TypeError((0,se.withAlg)(re,ie,...ae.types,"Uint8Array"))}if(ie.type!=="secret"){throw new TypeError(`${ae.types.join(" or ")} instances for symmetric algorithms must be of type "secret"`)}};const asymmetricTypeCheck=(re,ie,oe)=>{if(!(0,ae.default)(ie)){throw new TypeError((0,se.withAlg)(re,ie,...ae.types))}if(ie.type==="secret"){throw new TypeError(`${ae.types.join(" or ")} instances for asymmetric algorithms must not be of type "secret"`)}if(oe==="sign"&&ie.type==="public"){throw new TypeError(`${ae.types.join(" or ")} instances for asymmetric algorithm signing must be of type "private"`)}if(oe==="decrypt"&&ie.type==="public"){throw new TypeError(`${ae.types.join(" or ")} instances for asymmetric algorithm decryption must be of type "private"`)}if(ie.algorithm&&oe==="verify"&&ie.type==="private"){throw new TypeError(`${ae.types.join(" or ")} instances for asymmetric algorithm verifying must be of type "public"`)}if(ie.algorithm&&oe==="encrypt"&&ie.type==="private"){throw new TypeError(`${ae.types.join(" or ")} instances for asymmetric algorithm encryption must be of type "public"`)}};const checkKeyType=(re,ie,oe)=>{const se=re.startsWith("HS")||re==="dir"||re.startsWith("PBES2")||/^A\d{3}(?:GCM)?KW$/.test(re);if(se){symmetricTypeCheck(re,ie)}else{asymmetricTypeCheck(re,ie,oe)}};ie["default"]=checkKeyType},83499:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(94419);function checkP2s(re){if(!(re instanceof Uint8Array)||re.length<8){throw new se.JWEInvalid("PBES2 Salt Input must be 8 or more octets")}}ie["default"]=checkP2s},73386:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.checkEncCryptoKey=ie.checkSigCryptoKey=void 0;function unusable(re,ie="algorithm.name"){return new TypeError(`CryptoKey does not support this operation, its ${ie} must be ${re}`)}function isAlgorithm(re,ie){return re.name===ie}function getHashLength(re){return parseInt(re.name.slice(4),10)}function getNamedCurve(re){switch(re){case"ES256":return"P-256";case"ES384":return"P-384";case"ES512":return"P-521";default:throw new Error("unreachable")}}function checkUsage(re,ie){if(ie.length&&!ie.some((ie=>re.usages.includes(ie)))){let re="CryptoKey does not support this operation, its usages must include ";if(ie.length>2){const oe=ie.pop();re+=`one of ${ie.join(", ")}, or ${oe}.`}else if(ie.length===2){re+=`one of ${ie[0]} or ${ie[1]}.`}else{re+=`${ie[0]}.`}throw new TypeError(re)}}function checkSigCryptoKey(re,ie,...oe){switch(ie){case"HS256":case"HS384":case"HS512":{if(!isAlgorithm(re.algorithm,"HMAC"))throw unusable("HMAC");const oe=parseInt(ie.slice(2),10);const se=getHashLength(re.algorithm.hash);if(se!==oe)throw unusable(`SHA-${oe}`,"algorithm.hash");break}case"RS256":case"RS384":case"RS512":{if(!isAlgorithm(re.algorithm,"RSASSA-PKCS1-v1_5"))throw unusable("RSASSA-PKCS1-v1_5");const oe=parseInt(ie.slice(2),10);const se=getHashLength(re.algorithm.hash);if(se!==oe)throw unusable(`SHA-${oe}`,"algorithm.hash");break}case"PS256":case"PS384":case"PS512":{if(!isAlgorithm(re.algorithm,"RSA-PSS"))throw unusable("RSA-PSS");const oe=parseInt(ie.slice(2),10);const se=getHashLength(re.algorithm.hash);if(se!==oe)throw unusable(`SHA-${oe}`,"algorithm.hash");break}case"EdDSA":{if(re.algorithm.name!=="Ed25519"&&re.algorithm.name!=="Ed448"){throw unusable("Ed25519 or Ed448")}break}case"ES256":case"ES384":case"ES512":{if(!isAlgorithm(re.algorithm,"ECDSA"))throw unusable("ECDSA");const oe=getNamedCurve(ie);const se=re.algorithm.namedCurve;if(se!==oe)throw unusable(oe,"algorithm.namedCurve");break}default:throw new TypeError("CryptoKey does not support this operation")}checkUsage(re,oe)}ie.checkSigCryptoKey=checkSigCryptoKey;function checkEncCryptoKey(re,ie,...oe){switch(ie){case"A128GCM":case"A192GCM":case"A256GCM":{if(!isAlgorithm(re.algorithm,"AES-GCM"))throw unusable("AES-GCM");const oe=parseInt(ie.slice(1,4),10);const se=re.algorithm.length;if(se!==oe)throw unusable(oe,"algorithm.length");break}case"A128KW":case"A192KW":case"A256KW":{if(!isAlgorithm(re.algorithm,"AES-KW"))throw unusable("AES-KW");const oe=parseInt(ie.slice(1,4),10);const se=re.algorithm.length;if(se!==oe)throw unusable(oe,"algorithm.length");break}case"ECDH":{switch(re.algorithm.name){case"ECDH":case"X25519":case"X448":break;default:throw unusable("ECDH, X25519, or X448")}break}case"PBES2-HS256+A128KW":case"PBES2-HS384+A192KW":case"PBES2-HS512+A256KW":if(!isAlgorithm(re.algorithm,"PBKDF2"))throw unusable("PBKDF2");break;case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":{if(!isAlgorithm(re.algorithm,"RSA-OAEP"))throw unusable("RSA-OAEP");const oe=parseInt(ie.slice(9),10)||1;const se=getHashLength(re.algorithm.hash);if(se!==oe)throw unusable(`SHA-${oe}`,"algorithm.hash");break}default:throw new TypeError("CryptoKey does not support this operation")}checkUsage(re,oe)}ie.checkEncCryptoKey=checkEncCryptoKey},26127:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(56083);const ae=oe(33706);const ce=oe(66898);const ue=oe(89526);const le=oe(80518);const fe=oe(94419);const de=oe(43987);const pe=oe(74230);const he=oe(56241);const Ae=oe(39127);const ge=oe(10233);async function decryptKeyManagement(re,ie,oe,me,ye){(0,he.default)(re,ie,"decrypt");switch(re){case"dir":{if(oe!==undefined)throw new fe.JWEInvalid("Encountered unexpected JWE Encrypted Key");return ie}case"ECDH-ES":if(oe!==undefined)throw new fe.JWEInvalid("Encountered unexpected JWE Encrypted Key");case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":{if(!(0,Ae.default)(me.epk))throw new fe.JWEInvalid(`JOSE Header "epk" (Ephemeral Public Key) missing or invalid`);if(!ae.ecdhAllowed(ie))throw new fe.JOSENotSupported("ECDH with the provided key is not allowed or not supported by your javascript runtime");const ce=await(0,pe.importJWK)(me.epk,re);let ue;let he;if(me.apu!==undefined){if(typeof me.apu!=="string")throw new fe.JWEInvalid(`JOSE Header "apu" (Agreement PartyUInfo) invalid`);ue=(0,le.decode)(me.apu)}if(me.apv!==undefined){if(typeof me.apv!=="string")throw new fe.JWEInvalid(`JOSE Header "apv" (Agreement PartyVInfo) invalid`);he=(0,le.decode)(me.apv)}const ge=await ae.deriveKey(ce,ie,re==="ECDH-ES"?me.enc:re,re==="ECDH-ES"?(0,de.bitLength)(me.enc):parseInt(re.slice(-5,-2),10),ue,he);if(re==="ECDH-ES")return ge;if(oe===undefined)throw new fe.JWEInvalid("JWE Encrypted Key missing");return(0,se.unwrap)(re.slice(-6),ge,oe)}case"RSA1_5":case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":{if(oe===undefined)throw new fe.JWEInvalid("JWE Encrypted Key missing");return(0,ue.decrypt)(re,ie,oe)}case"PBES2-HS256+A128KW":case"PBES2-HS384+A192KW":case"PBES2-HS512+A256KW":{if(oe===undefined)throw new fe.JWEInvalid("JWE Encrypted Key missing");if(typeof me.p2c!=="number")throw new fe.JWEInvalid(`JOSE Header "p2c" (PBES2 Count) missing or invalid`);const se=(ye===null||ye===void 0?void 0:ye.maxPBES2Count)||1e4;if(me.p2c>se)throw new fe.JWEInvalid(`JOSE Header "p2c" (PBES2 Count) out is of acceptable bounds`);if(typeof me.p2s!=="string")throw new fe.JWEInvalid(`JOSE Header "p2s" (PBES2 Salt) missing or invalid`);return(0,ce.decrypt)(re,ie,oe,me.p2c,(0,le.decode)(me.p2s))}case"A128KW":case"A192KW":case"A256KW":{if(oe===undefined)throw new fe.JWEInvalid("JWE Encrypted Key missing");return(0,se.unwrap)(re,ie,oe)}case"A128GCMKW":case"A192GCMKW":case"A256GCMKW":{if(oe===undefined)throw new fe.JWEInvalid("JWE Encrypted Key missing");if(typeof me.iv!=="string")throw new fe.JWEInvalid(`JOSE Header "iv" (Initialization Vector) missing or invalid`);if(typeof me.tag!=="string")throw new fe.JWEInvalid(`JOSE Header "tag" (Authentication Tag) missing or invalid`);const se=(0,le.decode)(me.iv);const ae=(0,le.decode)(me.tag);return(0,ge.unwrap)(re,ie,oe,se,ae)}default:{throw new fe.JOSENotSupported('Invalid or unsupported "alg" (JWE Algorithm) header value')}}}ie["default"]=decryptKeyManagement},33286:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(56083);const ae=oe(33706);const ce=oe(66898);const ue=oe(89526);const le=oe(80518);const fe=oe(43987);const de=oe(94419);const pe=oe(70465);const he=oe(56241);const Ae=oe(10233);async function encryptKeyManagement(re,ie,oe,ge,me={}){let ye;let ve;let be;(0,he.default)(re,oe,"encrypt");switch(re){case"dir":{be=oe;break}case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":{if(!ae.ecdhAllowed(oe)){throw new de.JOSENotSupported("ECDH with the provided key is not allowed or not supported by your javascript runtime")}const{apu:ce,apv:ue}=me;let{epk:he}=me;he||(he=(await ae.generateEpk(oe)).privateKey);const{x:Ae,y:we,crv:_e,kty:Ee}=await(0,pe.exportJWK)(he);const Ce=await ae.deriveKey(oe,he,re==="ECDH-ES"?ie:re,re==="ECDH-ES"?(0,fe.bitLength)(ie):parseInt(re.slice(-5,-2),10),ce,ue);ve={epk:{x:Ae,crv:_e,kty:Ee}};if(Ee==="EC")ve.epk.y=we;if(ce)ve.apu=(0,le.encode)(ce);if(ue)ve.apv=(0,le.encode)(ue);if(re==="ECDH-ES"){be=Ce;break}be=ge||(0,fe.default)(ie);const Ie=re.slice(-6);ye=await(0,se.wrap)(Ie,Ce,be);break}case"RSA1_5":case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":{be=ge||(0,fe.default)(ie);ye=await(0,ue.encrypt)(re,oe,be);break}case"PBES2-HS256+A128KW":case"PBES2-HS384+A192KW":case"PBES2-HS512+A256KW":{be=ge||(0,fe.default)(ie);const{p2c:se,p2s:ae}=me;({encryptedKey:ye,...ve}=await(0,ce.encrypt)(re,oe,be,se,ae));break}case"A128KW":case"A192KW":case"A256KW":{be=ge||(0,fe.default)(ie);ye=await(0,se.wrap)(re,oe,be);break}case"A128GCMKW":case"A192GCMKW":case"A256GCMKW":{be=ge||(0,fe.default)(ie);const{iv:se}=me;({encryptedKey:ye,...ve}=await(0,Ae.wrap)(re,oe,be,se));break}default:{throw new de.JOSENotSupported('Invalid or unsupported "alg" (JWE Algorithm) header value')}}return{cek:be,encryptedKey:ye,parameters:ve}}ie["default"]=encryptKeyManagement},74476:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie["default"]=re=>Math.floor(re.getTime()/1e3)},1146:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.withAlg=void 0;function message(re,ie,...oe){if(oe.length>2){const ie=oe.pop();re+=`one of type ${oe.join(", ")}, or ${ie}.`}else if(oe.length===2){re+=`one of type ${oe[0]} or ${oe[1]}.`}else{re+=`of type ${oe[0]}.`}if(ie==null){re+=` Received ${ie}`}else if(typeof ie==="function"&&ie.name){re+=` Received function ${ie.name}`}else if(typeof ie==="object"&&ie!=null){if(ie.constructor&&ie.constructor.name){re+=` Received an instance of ${ie.constructor.name}`}}return re}ie["default"]=(re,...ie)=>message("Key must be ",re,...ie);function withAlg(re,ie,...oe){return message(`Key for the ${re} algorithm must be `,ie,...oe)}ie.withAlg=withAlg},6063:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const isDisjoint=(...re)=>{const ie=re.filter(Boolean);if(ie.length===0||ie.length===1){return true}let oe;for(const re of ie){const ie=Object.keys(re);if(!oe||oe.size===0){oe=new Set(ie);continue}for(const re of ie){if(oe.has(re)){return false}oe.add(re)}}return true};ie["default"]=isDisjoint},39127:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});function isObjectLike(re){return typeof re==="object"&&re!==null}function isObject(re){if(!isObjectLike(re)||Object.prototype.toString.call(re)!=="[object Object]"){return false}if(Object.getPrototypeOf(re)===null){return true}let ie=re;while(Object.getPrototypeOf(ie)!==null){ie=Object.getPrototypeOf(ie)}return Object.getPrototypeOf(re)===ie}ie["default"]=isObject},84630:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.bitLength=void 0;const se=oe(94419);const ae=oe(75770);function bitLength(re){switch(re){case"A128GCM":case"A128GCMKW":case"A192GCM":case"A192GCMKW":case"A256GCM":case"A256GCMKW":return 96;case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":return 128;default:throw new se.JOSENotSupported(`Unsupported JWE Algorithm: ${re}`)}}ie.bitLength=bitLength;ie["default"]=re=>(0,ae.default)(new Uint8Array(bitLength(re)>>3))},7274:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(94419);const ae=oe(1691);const ce=oe(74476);const ue=oe(37810);const le=oe(39127);const normalizeTyp=re=>re.toLowerCase().replace(/^application\//,"");const checkAudiencePresence=(re,ie)=>{if(typeof re==="string"){return ie.includes(re)}if(Array.isArray(re)){return ie.some(Set.prototype.has.bind(new Set(re)))}return false};ie["default"]=(re,ie,oe={})=>{const{typ:fe}=oe;if(fe&&(typeof re.typ!=="string"||normalizeTyp(re.typ)!==normalizeTyp(fe))){throw new se.JWTClaimValidationFailed('unexpected "typ" JWT header value',"typ","check_failed")}let de;try{de=JSON.parse(ae.decoder.decode(ie))}catch{}if(!(0,le.default)(de)){throw new se.JWTInvalid("JWT Claims Set must be a top-level JSON object")}const{requiredClaims:pe=[],issuer:he,subject:Ae,audience:ge,maxTokenAge:me}=oe;if(me!==undefined)pe.push("iat");if(ge!==undefined)pe.push("aud");if(Ae!==undefined)pe.push("sub");if(he!==undefined)pe.push("iss");for(const re of new Set(pe.reverse())){if(!(re in de)){throw new se.JWTClaimValidationFailed(`missing required "${re}" claim`,re,"missing")}}if(he&&!(Array.isArray(he)?he:[he]).includes(de.iss)){throw new se.JWTClaimValidationFailed('unexpected "iss" claim value',"iss","check_failed")}if(Ae&&de.sub!==Ae){throw new se.JWTClaimValidationFailed('unexpected "sub" claim value',"sub","check_failed")}if(ge&&!checkAudiencePresence(de.aud,typeof ge==="string"?[ge]:ge)){throw new se.JWTClaimValidationFailed('unexpected "aud" claim value',"aud","check_failed")}let ye;switch(typeof oe.clockTolerance){case"string":ye=(0,ue.default)(oe.clockTolerance);break;case"number":ye=oe.clockTolerance;break;case"undefined":ye=0;break;default:throw new TypeError("Invalid clockTolerance option type")}const{currentDate:ve}=oe;const be=(0,ce.default)(ve||new Date);if((de.iat!==undefined||me)&&typeof de.iat!=="number"){throw new se.JWTClaimValidationFailed('"iat" claim must be a number',"iat","invalid")}if(de.nbf!==undefined){if(typeof de.nbf!=="number"){throw new se.JWTClaimValidationFailed('"nbf" claim must be a number',"nbf","invalid")}if(de.nbf>be+ye){throw new se.JWTClaimValidationFailed('"nbf" claim timestamp check failed',"nbf","check_failed")}}if(de.exp!==undefined){if(typeof de.exp!=="number"){throw new se.JWTClaimValidationFailed('"exp" claim must be a number',"exp","invalid")}if(de.exp<=be-ye){throw new se.JWTExpired('"exp" claim timestamp check failed',"exp","check_failed")}}if(me){const re=be-de.iat;const ie=typeof me==="number"?me:(0,ue.default)(me);if(re-ye>ie){throw new se.JWTExpired('"iat" claim timestamp check failed (too far in the past)',"iat","check_failed")}if(re<0-ye){throw new se.JWTClaimValidationFailed('"iat" claim timestamp check failed (it should be in the past)',"iat","check_failed")}}return de}},37810:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const oe=60;const se=oe*60;const ae=se*24;const ce=ae*7;const ue=ae*365.25;const le=/^(\d+|\d+\.\d+) ?(seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)$/i;ie["default"]=re=>{const ie=le.exec(re);if(!ie){throw new TypeError("Invalid time period format")}const fe=parseFloat(ie[1]);const de=ie[2].toLowerCase();switch(de){case"sec":case"secs":case"second":case"seconds":case"s":return Math.round(fe);case"minute":case"minutes":case"min":case"mins":case"m":return Math.round(fe*oe);case"hour":case"hours":case"hr":case"hrs":case"h":return Math.round(fe*se);case"day":case"days":case"d":return Math.round(fe*ae);case"week":case"weeks":case"w":return Math.round(fe*ce);default:return Math.round(fe*ue)}}},55148:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const validateAlgorithms=(re,ie)=>{if(ie!==undefined&&(!Array.isArray(ie)||ie.some((re=>typeof re!=="string")))){throw new TypeError(`"${re}" option must be an array of strings`)}if(!ie){return undefined}return new Set(ie)};ie["default"]=validateAlgorithms},50863:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(94419);function validateCrit(re,ie,oe,ae,ce){if(ce.crit!==undefined&&ae.crit===undefined){throw new re('"crit" (Critical) Header Parameter MUST be integrity protected')}if(!ae||ae.crit===undefined){return new Set}if(!Array.isArray(ae.crit)||ae.crit.length===0||ae.crit.some((re=>typeof re!=="string"||re.length===0))){throw new re('"crit" (Critical) Header Parameter MUST be an array of non-empty strings when present')}let ue;if(oe!==undefined){ue=new Map([...Object.entries(oe),...ie.entries()])}else{ue=ie}for(const ie of ae.crit){if(!ue.has(ie)){throw new se.JOSENotSupported(`Extension Header Parameter "${ie}" is not recognized`)}if(ce[ie]===undefined){throw new re(`Extension Header Parameter "${ie}" is missing`)}else if(ue.get(ie)&&ae[ie]===undefined){throw new re(`Extension Header Parameter "${ie}" MUST be integrity protected`)}}return new Set(ae.crit)}ie["default"]=validateCrit},56083:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.unwrap=ie.wrap=void 0;const se=oe(14300);const ae=oe(6113);const ce=oe(94419);const ue=oe(1691);const le=oe(86852);const fe=oe(73386);const de=oe(62768);const pe=oe(1146);const he=oe(14618);const Ae=oe(17947);function checkKeySize(re,ie){if(re.symmetricKeySize<<3!==parseInt(ie.slice(1,4),10)){throw new TypeError(`Invalid key size for alg: ${ie}`)}}function ensureKeyObject(re,ie,oe){if((0,de.default)(re)){return re}if(re instanceof Uint8Array){return(0,ae.createSecretKey)(re)}if((0,le.isCryptoKey)(re)){(0,fe.checkEncCryptoKey)(re,ie,oe);return ae.KeyObject.from(re)}throw new TypeError((0,pe.default)(re,...Ae.types,"Uint8Array"))}const wrap=(re,ie,oe)=>{const le=parseInt(re.slice(1,4),10);const fe=`aes${le}-wrap`;if(!(0,he.default)(fe)){throw new ce.JOSENotSupported(`alg ${re} is not supported either by JOSE or your javascript runtime`)}const de=ensureKeyObject(ie,re,"wrapKey");checkKeySize(de,re);const pe=(0,ae.createCipheriv)(fe,de,se.Buffer.alloc(8,166));return(0,ue.concat)(pe.update(oe),pe.final())};ie.wrap=wrap;const unwrap=(re,ie,oe)=>{const le=parseInt(re.slice(1,4),10);const fe=`aes${le}-wrap`;if(!(0,he.default)(fe)){throw new ce.JOSENotSupported(`alg ${re} is not supported either by JOSE or your javascript runtime`)}const de=ensureKeyObject(ie,re,"unwrapKey");checkKeySize(de,re);const pe=(0,ae.createDecipheriv)(fe,de,se.Buffer.alloc(8,166));return(0,ue.concat)(pe.update(oe),pe.final())};ie.unwrap=unwrap},70858:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.fromX509=ie.fromSPKI=ie.fromPKCS8=ie.toPKCS8=ie.toSPKI=void 0;const se=oe(6113);const ae=oe(14300);const ce=oe(86852);const ue=oe(62768);const le=oe(1146);const fe=oe(17947);const genericExport=(re,ie,oe)=>{let ae;if((0,ce.isCryptoKey)(oe)){if(!oe.extractable){throw new TypeError("CryptoKey is not extractable")}ae=se.KeyObject.from(oe)}else if((0,ue.default)(oe)){ae=oe}else{throw new TypeError((0,le.default)(oe,...fe.types))}if(ae.type!==re){throw new TypeError(`key is not a ${re} key`)}return ae.export({format:"pem",type:ie})};const toSPKI=re=>genericExport("public","spki",re);ie.toSPKI=toSPKI;const toPKCS8=re=>genericExport("private","pkcs8",re);ie.toPKCS8=toPKCS8;const fromPKCS8=re=>(0,se.createPrivateKey)({key:ae.Buffer.from(re.replace(/(?:-----(?:BEGIN|END) PRIVATE KEY-----|\s)/g,""),"base64"),type:"pkcs8",format:"der"});ie.fromPKCS8=fromPKCS8;const fromSPKI=re=>(0,se.createPublicKey)({key:ae.Buffer.from(re.replace(/(?:-----(?:BEGIN|END) PUBLIC KEY-----|\s)/g,""),"base64"),type:"spki",format:"der"});ie.fromSPKI=fromSPKI;const fromX509=re=>(0,se.createPublicKey)({key:re,type:"spki",format:"pem"});ie.fromX509=fromX509},77351:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const oe=2;const se=48;class Asn1SequenceDecoder{constructor(re){if(re[0]!==se){throw new TypeError}this.buffer=re;this.offset=1;const ie=this.decodeLength();if(ie!==re.length-this.offset){throw new TypeError}}decodeLength(){let re=this.buffer[this.offset++];if(re&128){const ie=re&~128;re=0;for(let oe=0;oe{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(14300);const ae=oe(94419);const ce=2;const ue=3;const le=4;const fe=48;const de=se.Buffer.from([0]);const pe=se.Buffer.from([ce]);const he=se.Buffer.from([ue]);const Ae=se.Buffer.from([fe]);const ge=se.Buffer.from([le]);const encodeLength=re=>{if(re<128)return se.Buffer.from([re]);const ie=se.Buffer.alloc(5);ie.writeUInt32BE(re,1);let oe=1;while(ie[oe]===0)oe++;ie[oe-1]=128|5-oe;return ie.slice(oe-1)};const me=new Map([["P-256",se.Buffer.from("06 08 2A 86 48 CE 3D 03 01 07".replace(/ /g,""),"hex")],["secp256k1",se.Buffer.from("06 05 2B 81 04 00 0A".replace(/ /g,""),"hex")],["P-384",se.Buffer.from("06 05 2B 81 04 00 22".replace(/ /g,""),"hex")],["P-521",se.Buffer.from("06 05 2B 81 04 00 23".replace(/ /g,""),"hex")],["ecPublicKey",se.Buffer.from("06 07 2A 86 48 CE 3D 02 01".replace(/ /g,""),"hex")],["X25519",se.Buffer.from("06 03 2B 65 6E".replace(/ /g,""),"hex")],["X448",se.Buffer.from("06 03 2B 65 6F".replace(/ /g,""),"hex")],["Ed25519",se.Buffer.from("06 03 2B 65 70".replace(/ /g,""),"hex")],["Ed448",se.Buffer.from("06 03 2B 65 71".replace(/ /g,""),"hex")]]);class DumbAsn1Encoder{constructor(){this.length=0;this.elements=[]}oidFor(re){const ie=me.get(re);if(!ie){throw new ae.JOSENotSupported("Invalid or unsupported OID")}this.elements.push(ie);this.length+=ie.length}zero(){this.elements.push(pe,se.Buffer.from([1]),de);this.length+=3}one(){this.elements.push(pe,se.Buffer.from([1]),se.Buffer.from([1]));this.length+=3}unsignedInteger(re){if(re[0]&128){const ie=encodeLength(re.length+1);this.elements.push(pe,ie,de,re);this.length+=2+ie.length+re.length}else{let ie=0;while(re[ie]===0&&(re[ie+1]&128)===0)ie++;const oe=encodeLength(re.length-ie);this.elements.push(pe,encodeLength(re.length-ie),re.slice(ie));this.length+=1+oe.length+re.length-ie}}octStr(re){const ie=encodeLength(re.length);this.elements.push(ge,encodeLength(re.length),re);this.length+=1+ie.length+re.length}bitStr(re){const ie=encodeLength(re.length+1);this.elements.push(he,encodeLength(re.length+1),de,re);this.length+=1+ie.length+re.length+1}add(re){this.elements.push(re);this.length+=re.length}end(re=Ae){const ie=encodeLength(this.length);return se.Buffer.concat([re,ie,...this.elements],1+ie.length+this.length)}}ie["default"]=DumbAsn1Encoder},80518:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.decode=ie.encode=ie.encodeBase64=ie.decodeBase64=void 0;const se=oe(14300);const ae=oe(1691);let ce;ie.encode=ce;function normalize(re){let ie=re;if(ie instanceof Uint8Array){ie=ae.decoder.decode(ie)}return ie}if(se.Buffer.isEncoding("base64url")){ie.encode=ce=re=>se.Buffer.from(re).toString("base64url")}else{ie.encode=ce=re=>se.Buffer.from(re).toString("base64").replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}const decodeBase64=re=>se.Buffer.from(re,"base64");ie.decodeBase64=decodeBase64;const encodeBase64=re=>se.Buffer.from(re).toString("base64");ie.encodeBase64=encodeBase64;const decode=re=>se.Buffer.from(normalize(re),"base64");ie.decode=decode},93357:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(6113);const ae=oe(1691);function cbcTag(re,ie,oe,ce,ue,le){const fe=(0,ae.concat)(re,ie,oe,(0,ae.uint64be)(re.length<<3));const de=(0,se.createHmac)(`sha${ce}`,ue);de.update(fe);return de.digest().slice(0,le>>3)}ie["default"]=cbcTag},4047:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(94419);const ae=oe(62768);const checkCekLength=(re,ie)=>{let oe;switch(re){case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":oe=parseInt(re.slice(-3),10);break;case"A128GCM":case"A192GCM":case"A256GCM":oe=parseInt(re.slice(1,4),10);break;default:throw new se.JOSENotSupported(`Content Encryption Algorithm ${re} is not supported either by JOSE or your javascript runtime`)}if(ie instanceof Uint8Array){const re=ie.byteLength<<3;if(re!==oe){throw new se.JWEInvalid(`Invalid Content Encryption Key length. Expected ${oe} bits, got ${re} bits`)}return}if((0,ae.default)(ie)&&ie.type==="secret"){const re=ie.symmetricKeySize<<3;if(re!==oe){throw new se.JWEInvalid(`Invalid Content Encryption Key length. Expected ${oe} bits, got ${re} bits`)}return}throw new TypeError("Invalid Content Encryption Key type")};ie["default"]=checkCekLength},10122:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.setModulusLength=ie.weakMap=void 0;ie.weakMap=new WeakMap;const getLength=(re,ie)=>{let oe=re.readUInt8(1);if((oe&128)===0){if(ie===0){return oe}return getLength(re.subarray(2+oe),ie-1)}const se=oe&127;oe=0;for(let ie=0;ie{const oe=re.readUInt8(1);if((oe&128)===0){return getLength(re.subarray(2),ie)}const se=oe&127;return getLength(re.subarray(2+se),ie)};const getModulusLength=re=>{var oe,se;if(ie.weakMap.has(re)){return ie.weakMap.get(re)}const ae=(se=(oe=re.asymmetricKeyDetails)===null||oe===void 0?void 0:oe.modulusLength)!==null&&se!==void 0?se:getLengthOfSeqIndex(re.export({format:"der",type:"pkcs1"}),re.type==="private"?1:0)-1<<3;ie.weakMap.set(re,ae);return ae};const setModulusLength=(re,oe)=>{ie.weakMap.set(re,oe)};ie.setModulusLength=setModulusLength;ie["default"]=(re,ie)=>{if(getModulusLength(re)<2048){throw new TypeError(`${ie} requires key modulusLength to be 2048 bits or larger`)}}},14618:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(6113);let ae;ie["default"]=re=>{ae||(ae=new Set((0,se.getCiphers)()));return ae.has(re)}},66137:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(6113);const ae=oe(41120);const ce=oe(4047);const ue=oe(1691);const le=oe(94419);const fe=oe(45390);const de=oe(93357);const pe=oe(86852);const he=oe(73386);const Ae=oe(62768);const ge=oe(1146);const me=oe(14618);const ye=oe(17947);function cbcDecrypt(re,ie,oe,ae,ce,pe){const he=parseInt(re.slice(1,4),10);if((0,Ae.default)(ie)){ie=ie.export()}const ge=ie.subarray(he>>3);const ye=ie.subarray(0,he>>3);const ve=parseInt(re.slice(-3),10);const be=`aes-${he}-cbc`;if(!(0,me.default)(be)){throw new le.JOSENotSupported(`alg ${re} is not supported by your javascript runtime`)}const we=(0,de.default)(pe,ae,oe,ve,ye,he);let _e;try{_e=(0,fe.default)(ce,we)}catch{}if(!_e){throw new le.JWEDecryptionFailed}let Ee;try{const re=(0,se.createDecipheriv)(be,ge,ae);Ee=(0,ue.concat)(re.update(oe),re.final())}catch{}if(!Ee){throw new le.JWEDecryptionFailed}return Ee}function gcmDecrypt(re,ie,oe,ae,ce,ue){const fe=parseInt(re.slice(1,4),10);const de=`aes-${fe}-gcm`;if(!(0,me.default)(de)){throw new le.JOSENotSupported(`alg ${re} is not supported by your javascript runtime`)}try{const re=(0,se.createDecipheriv)(de,ie,ae,{authTagLength:16});re.setAuthTag(ce);if(ue.byteLength){re.setAAD(ue,{plaintextLength:oe.length})}const le=re.update(oe);re.final();return le}catch{throw new le.JWEDecryptionFailed}}const decrypt=(re,ie,oe,ue,fe,de)=>{let me;if((0,pe.isCryptoKey)(ie)){(0,he.checkEncCryptoKey)(ie,re,"decrypt");me=se.KeyObject.from(ie)}else if(ie instanceof Uint8Array||(0,Ae.default)(ie)){me=ie}else{throw new TypeError((0,ge.default)(ie,...ye.types,"Uint8Array"))}(0,ce.default)(re,me);(0,ae.default)(re,ue);switch(re){case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":return cbcDecrypt(re,me,oe,ue,fe,de);case"A128GCM":case"A192GCM":case"A256GCM":return gcmDecrypt(re,me,oe,ue,fe,de);default:throw new le.JOSENotSupported("Unsupported JWE Content Encryption Algorithm")}};ie["default"]=decrypt},52355:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(6113);const digest=(re,ie)=>(0,se.createHash)(re).update(ie).digest();ie["default"]=digest},54965:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(94419);function dsaDigest(re){switch(re){case"PS256":case"RS256":case"ES256":case"ES256K":return"sha256";case"PS384":case"RS384":case"ES384":return"sha384";case"PS512":case"RS512":case"ES512":return"sha512";case"EdDSA":return undefined;default:throw new se.JOSENotSupported(`alg ${re} is not supported either by JOSE or your javascript runtime`)}}ie["default"]=dsaDigest},33706:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.ecdhAllowed=ie.generateEpk=ie.deriveKey=void 0;const se=oe(6113);const ae=oe(73837);const ce=oe(99302);const ue=oe(1691);const le=oe(94419);const fe=oe(86852);const de=oe(73386);const pe=oe(62768);const he=oe(1146);const Ae=oe(17947);const ge=(0,ae.promisify)(se.generateKeyPair);async function deriveKey(re,ie,oe,ae,ce=new Uint8Array(0),le=new Uint8Array(0)){let ge;if((0,fe.isCryptoKey)(re)){(0,de.checkEncCryptoKey)(re,"ECDH");ge=se.KeyObject.from(re)}else if((0,pe.default)(re)){ge=re}else{throw new TypeError((0,he.default)(re,...Ae.types))}let me;if((0,fe.isCryptoKey)(ie)){(0,de.checkEncCryptoKey)(ie,"ECDH","deriveBits");me=se.KeyObject.from(ie)}else if((0,pe.default)(ie)){me=ie}else{throw new TypeError((0,he.default)(ie,...Ae.types))}const ye=(0,ue.concat)((0,ue.lengthAndInput)(ue.encoder.encode(oe)),(0,ue.lengthAndInput)(ce),(0,ue.lengthAndInput)(le),(0,ue.uint32be)(ae));const ve=(0,se.diffieHellman)({privateKey:me,publicKey:ge});return(0,ue.concatKdf)(ve,ae,ye)}ie.deriveKey=deriveKey;async function generateEpk(re){let ie;if((0,fe.isCryptoKey)(re)){ie=se.KeyObject.from(re)}else if((0,pe.default)(re)){ie=re}else{throw new TypeError((0,he.default)(re,...Ae.types))}switch(ie.asymmetricKeyType){case"x25519":return ge("x25519");case"x448":{return ge("x448")}case"ec":{const re=(0,ce.default)(ie);return ge("ec",{namedCurve:re})}default:throw new le.JOSENotSupported("Invalid or unsupported EPK")}}ie.generateEpk=generateEpk;const ecdhAllowed=re=>["P-256","P-384","P-521","X25519","X448"].includes((0,ce.default)(re));ie.ecdhAllowed=ecdhAllowed},76476:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(6113);const ae=oe(41120);const ce=oe(4047);const ue=oe(1691);const le=oe(93357);const fe=oe(86852);const de=oe(73386);const pe=oe(62768);const he=oe(1146);const Ae=oe(94419);const ge=oe(14618);const me=oe(17947);function cbcEncrypt(re,ie,oe,ae,ce){const fe=parseInt(re.slice(1,4),10);if((0,pe.default)(oe)){oe=oe.export()}const de=oe.subarray(fe>>3);const he=oe.subarray(0,fe>>3);const me=`aes-${fe}-cbc`;if(!(0,ge.default)(me)){throw new Ae.JOSENotSupported(`alg ${re} is not supported by your javascript runtime`)}const ye=(0,se.createCipheriv)(me,de,ae);const ve=(0,ue.concat)(ye.update(ie),ye.final());const be=parseInt(re.slice(-3),10);const we=(0,le.default)(ce,ae,ve,be,he,fe);return{ciphertext:ve,tag:we}}function gcmEncrypt(re,ie,oe,ae,ce){const ue=parseInt(re.slice(1,4),10);const le=`aes-${ue}-gcm`;if(!(0,ge.default)(le)){throw new Ae.JOSENotSupported(`alg ${re} is not supported by your javascript runtime`)}const fe=(0,se.createCipheriv)(le,oe,ae,{authTagLength:16});if(ce.byteLength){fe.setAAD(ce,{plaintextLength:ie.length})}const de=fe.update(ie);fe.final();const pe=fe.getAuthTag();return{ciphertext:de,tag:pe}}const encrypt=(re,ie,oe,ue,le)=>{let ge;if((0,fe.isCryptoKey)(oe)){(0,de.checkEncCryptoKey)(oe,re,"encrypt");ge=se.KeyObject.from(oe)}else if(oe instanceof Uint8Array||(0,pe.default)(oe)){ge=oe}else{throw new TypeError((0,he.default)(oe,...me.types,"Uint8Array"))}(0,ce.default)(re,ge);(0,ae.default)(re,ue);switch(re){case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":return cbcEncrypt(re,ie,ge,ue,le);case"A128GCM":case"A192GCM":case"A256GCM":return gcmEncrypt(re,ie,ge,ue,le);default:throw new Ae.JOSENotSupported("Unsupported JWE Content Encryption Algorithm")}};ie["default"]=encrypt},43650:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(13685);const ae=oe(95687);const ce=oe(82361);const ue=oe(94419);const le=oe(1691);const fetchJwks=async(re,ie,oe)=>{let fe;switch(re.protocol){case"https:":fe=ae.get;break;case"http:":fe=se.get;break;default:throw new TypeError("Unsupported URL protocol.")}const{agent:de,headers:pe}=oe;const he=fe(re.href,{agent:de,timeout:ie,headers:pe});const[Ae]=await Promise.race([(0,ce.once)(he,"response"),(0,ce.once)(he,"timeout")]);if(!Ae){he.destroy();throw new ue.JWKSTimeout}if(Ae.statusCode!==200){throw new ue.JOSEError("Expected 200 OK from the JSON Web Key Set HTTP response")}const ge=[];for await(const re of Ae){ge.push(re)}try{return JSON.parse(le.decoder.decode((0,le.concat)(...ge)))}catch{throw new ue.JOSEError("Failed to parse the JSON Web Key Set HTTP response as JSON")}};ie["default"]=fetchJwks},39737:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.jwkImport=ie.jwkExport=ie.rsaPssParams=ie.oneShotCallback=void 0;const[oe,se]=process.versions.node.split(".").map((re=>parseInt(re,10)));ie.oneShotCallback=oe>=16||oe===15&&se>=13;ie.rsaPssParams=!("electron"in process.versions)&&(oe>=17||oe===16&&se>=9);ie.jwkExport=oe>=16||oe===15&&se>=9;ie.jwkImport=oe>=16||oe===15&&se>=12},29378:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.generateKeyPair=ie.generateSecret=void 0;const se=oe(6113);const ae=oe(73837);const ce=oe(75770);const ue=oe(10122);const le=oe(94419);const fe=(0,ae.promisify)(se.generateKeyPair);async function generateSecret(re,ie){let oe;switch(re){case"HS256":case"HS384":case"HS512":case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":oe=parseInt(re.slice(-3),10);break;case"A128KW":case"A192KW":case"A256KW":case"A128GCMKW":case"A192GCMKW":case"A256GCMKW":case"A128GCM":case"A192GCM":case"A256GCM":oe=parseInt(re.slice(1,4),10);break;default:throw new le.JOSENotSupported('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}return(0,se.createSecretKey)((0,ce.default)(new Uint8Array(oe>>3)))}ie.generateSecret=generateSecret;async function generateKeyPair(re,ie){var oe,se;switch(re){case"RS256":case"RS384":case"RS512":case"PS256":case"PS384":case"PS512":case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":case"RSA1_5":{const re=(oe=ie===null||ie===void 0?void 0:ie.modulusLength)!==null&&oe!==void 0?oe:2048;if(typeof re!=="number"||re<2048){throw new le.JOSENotSupported("Invalid or unsupported modulusLength option provided, 2048 bits or larger keys must be used")}const se=await fe("rsa",{modulusLength:re,publicExponent:65537});(0,ue.setModulusLength)(se.privateKey,re);(0,ue.setModulusLength)(se.publicKey,re);return se}case"ES256":return fe("ec",{namedCurve:"P-256"});case"ES256K":return fe("ec",{namedCurve:"secp256k1"});case"ES384":return fe("ec",{namedCurve:"P-384"});case"ES512":return fe("ec",{namedCurve:"P-521"});case"EdDSA":{switch(ie===null||ie===void 0?void 0:ie.crv){case undefined:case"Ed25519":return fe("ed25519");case"Ed448":return fe("ed448");default:throw new le.JOSENotSupported("Invalid or unsupported crv option provided, supported values are Ed25519 and Ed448")}}case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":const re=(se=ie===null||ie===void 0?void 0:ie.crv)!==null&&se!==void 0?se:"P-256";switch(re){case undefined:case"P-256":case"P-384":case"P-521":return fe("ec",{namedCurve:re});case"X25519":return fe("x25519");case"X448":return fe("x448");default:throw new le.JOSENotSupported("Invalid or unsupported crv option provided, supported values are P-256, P-384, P-521, X25519, and X448")}default:throw new le.JOSENotSupported('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}}ie.generateKeyPair=generateKeyPair},99302:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.setCurve=ie.weakMap=void 0;const se=oe(14300);const ae=oe(6113);const ce=oe(94419);const ue=oe(86852);const le=oe(62768);const fe=oe(1146);const de=oe(17947);const pe=se.Buffer.from([42,134,72,206,61,3,1,7]);const he=se.Buffer.from([43,129,4,0,34]);const Ae=se.Buffer.from([43,129,4,0,35]);const ge=se.Buffer.from([43,129,4,0,10]);ie.weakMap=new WeakMap;const namedCurveToJOSE=re=>{switch(re){case"prime256v1":return"P-256";case"secp384r1":return"P-384";case"secp521r1":return"P-521";case"secp256k1":return"secp256k1";default:throw new ce.JOSENotSupported("Unsupported key curve for this operation")}};const getNamedCurve=(re,oe)=>{var se;let me;if((0,ue.isCryptoKey)(re)){me=ae.KeyObject.from(re)}else if((0,le.default)(re)){me=re}else{throw new TypeError((0,fe.default)(re,...de.types))}if(me.type==="secret"){throw new TypeError('only "private" or "public" type keys can be used for this operation')}switch(me.asymmetricKeyType){case"ed25519":case"ed448":return`Ed${me.asymmetricKeyType.slice(2)}`;case"x25519":case"x448":return`X${me.asymmetricKeyType.slice(1)}`;case"ec":{if(ie.weakMap.has(me)){return ie.weakMap.get(me)}let re=(se=me.asymmetricKeyDetails)===null||se===void 0?void 0:se.namedCurve;if(!re&&me.type==="private"){re=getNamedCurve((0,ae.createPublicKey)(me),true)}else if(!re){const ie=me.export({format:"der",type:"spki"});const oe=ie[1]<128?14:15;const se=ie[oe];const ae=ie.slice(oe+1,oe+1+se);if(ae.equals(pe)){re="prime256v1"}else if(ae.equals(he)){re="secp384r1"}else if(ae.equals(Ae)){re="secp521r1"}else if(ae.equals(ge)){re="secp256k1"}else{throw new ce.JOSENotSupported("Unsupported key curve for this operation")}}if(oe)return re;const ue=namedCurveToJOSE(re);ie.weakMap.set(me,ue);return ue}default:throw new TypeError("Invalid asymmetric key type for this operation")}};function setCurve(re,oe){ie.weakMap.set(re,oe)}ie.setCurve=setCurve;ie["default"]=getNamedCurve},53170:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(6113);const ae=oe(86852);const ce=oe(73386);const ue=oe(1146);const le=oe(17947);function getSignVerifyKey(re,ie,oe){if(ie instanceof Uint8Array){if(!re.startsWith("HS")){throw new TypeError((0,ue.default)(ie,...le.types))}return(0,se.createSecretKey)(ie)}if(ie instanceof se.KeyObject){return ie}if((0,ae.isCryptoKey)(ie)){(0,ce.checkSigCryptoKey)(ie,re,oe);return se.KeyObject.from(ie)}throw new TypeError((0,ue.default)(ie,...le.types,"Uint8Array"))}ie["default"]=getSignVerifyKey},13811:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(94419);function hmacDigest(re){switch(re){case"HS256":return"sha256";case"HS384":return"sha384";case"HS512":return"sha512";default:throw new se.JOSENotSupported(`alg ${re} is not supported either by JOSE or your javascript runtime`)}}ie["default"]=hmacDigest},17947:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.types=void 0;const se=oe(86852);const ae=oe(62768);ie["default"]=re=>(0,ae.default)(re)||(0,se.isCryptoKey)(re);const ce=["KeyObject"];ie.types=ce;if(globalThis.CryptoKey||(se.default===null||se.default===void 0?void 0:se.default.CryptoKey)){ce.push("CryptoKey")}},62768:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(6113);const ae=oe(73837);ie["default"]=ae.types.isKeyObject?re=>ae.types.isKeyObject(re):re=>re!=null&&re instanceof se.KeyObject},42659:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(14300);const ae=oe(6113);const ce=oe(80518);const ue=oe(94419);const le=oe(99302);const fe=oe(10122);const de=oe(63341);const pe=oe(39737);const parse=re=>{if(pe.jwkImport&&re.kty!=="oct"){return re.d?(0,ae.createPrivateKey)({format:"jwk",key:re}):(0,ae.createPublicKey)({format:"jwk",key:re})}switch(re.kty){case"oct":{return(0,ae.createSecretKey)((0,ce.decode)(re.k))}case"RSA":{const ie=new de.default;const oe=re.d!==undefined;const ce=se.Buffer.from(re.n,"base64");const ue=se.Buffer.from(re.e,"base64");if(oe){ie.zero();ie.unsignedInteger(ce);ie.unsignedInteger(ue);ie.unsignedInteger(se.Buffer.from(re.d,"base64"));ie.unsignedInteger(se.Buffer.from(re.p,"base64"));ie.unsignedInteger(se.Buffer.from(re.q,"base64"));ie.unsignedInteger(se.Buffer.from(re.dp,"base64"));ie.unsignedInteger(se.Buffer.from(re.dq,"base64"));ie.unsignedInteger(se.Buffer.from(re.qi,"base64"))}else{ie.unsignedInteger(ce);ie.unsignedInteger(ue)}const le=ie.end();const pe={key:le,format:"der",type:"pkcs1"};const he=oe?(0,ae.createPrivateKey)(pe):(0,ae.createPublicKey)(pe);(0,fe.setModulusLength)(he,ce.length<<3);return he}case"EC":{const ie=new de.default;const oe=re.d!==undefined;const ce=se.Buffer.concat([se.Buffer.alloc(1,4),se.Buffer.from(re.x,"base64"),se.Buffer.from(re.y,"base64")]);if(oe){ie.zero();const oe=new de.default;oe.oidFor("ecPublicKey");oe.oidFor(re.crv);ie.add(oe.end());const ue=new de.default;ue.one();ue.octStr(se.Buffer.from(re.d,"base64"));const fe=new de.default;fe.bitStr(ce);const pe=fe.end(se.Buffer.from([161]));ue.add(pe);const he=ue.end();const Ae=new de.default;Ae.add(he);const ge=Ae.end(se.Buffer.from([4]));ie.add(ge);const me=ie.end();const ye=(0,ae.createPrivateKey)({key:me,format:"der",type:"pkcs8"});(0,le.setCurve)(ye,re.crv);return ye}const ue=new de.default;ue.oidFor("ecPublicKey");ue.oidFor(re.crv);ie.add(ue.end());ie.bitStr(ce);const fe=ie.end();const pe=(0,ae.createPublicKey)({key:fe,format:"der",type:"spki"});(0,le.setCurve)(pe,re.crv);return pe}case"OKP":{const ie=new de.default;const oe=re.d!==undefined;if(oe){ie.zero();const oe=new de.default;oe.oidFor(re.crv);ie.add(oe.end());const ce=new de.default;ce.octStr(se.Buffer.from(re.d,"base64"));const ue=ce.end(se.Buffer.from([4]));ie.add(ue);const le=ie.end();return(0,ae.createPrivateKey)({key:le,format:"der",type:"pkcs8"})}const ce=new de.default;ce.oidFor(re.crv);ie.add(ce.end());ie.bitStr(se.Buffer.from(re.x,"base64"));const ue=ie.end();return(0,ae.createPublicKey)({key:ue,format:"der",type:"spki"})}default:throw new ue.JOSENotSupported('Invalid or unsupported JWK "kty" (Key Type) Parameter value')}};ie["default"]=parse},40997:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(6113);const ae=oe(80518);const ce=oe(77351);const ue=oe(94419);const le=oe(99302);const fe=oe(86852);const de=oe(62768);const pe=oe(1146);const he=oe(17947);const Ae=oe(39737);const keyToJWK=re=>{let ie;if((0,fe.isCryptoKey)(re)){if(!re.extractable){throw new TypeError("CryptoKey is not extractable")}ie=se.KeyObject.from(re)}else if((0,de.default)(re)){ie=re}else if(re instanceof Uint8Array){return{kty:"oct",k:(0,ae.encode)(re)}}else{throw new TypeError((0,pe.default)(re,...he.types,"Uint8Array"))}if(Ae.jwkExport){if(ie.type!=="secret"&&!["rsa","ec","ed25519","x25519","ed448","x448"].includes(ie.asymmetricKeyType)){throw new ue.JOSENotSupported("Unsupported key asymmetricKeyType")}return ie.export({format:"jwk"})}switch(ie.type){case"secret":return{kty:"oct",k:(0,ae.encode)(ie.export())};case"private":case"public":{switch(ie.asymmetricKeyType){case"rsa":{const re=ie.export({format:"der",type:"pkcs1"});const oe=new ce.default(re);if(ie.type==="private"){oe.unsignedInteger()}const se=(0,ae.encode)(oe.unsignedInteger());const ue=(0,ae.encode)(oe.unsignedInteger());let le;if(ie.type==="private"){le={d:(0,ae.encode)(oe.unsignedInteger()),p:(0,ae.encode)(oe.unsignedInteger()),q:(0,ae.encode)(oe.unsignedInteger()),dp:(0,ae.encode)(oe.unsignedInteger()),dq:(0,ae.encode)(oe.unsignedInteger()),qi:(0,ae.encode)(oe.unsignedInteger())}}oe.end();return{kty:"RSA",n:se,e:ue,...le}}case"ec":{const re=(0,le.default)(ie);let oe;let ce;let fe;switch(re){case"secp256k1":oe=64;ce=31+2;fe=-1;break;case"P-256":oe=64;ce=34+2;fe=-1;break;case"P-384":oe=96;ce=33+2;fe=-3;break;case"P-521":oe=132;ce=33+2;fe=-3;break;default:throw new ue.JOSENotSupported("Unsupported curve")}if(ie.type==="public"){const se=ie.export({type:"spki",format:"der"});return{kty:"EC",crv:re,x:(0,ae.encode)(se.subarray(-oe,-oe/2)),y:(0,ae.encode)(se.subarray(-oe/2))}}const de=ie.export({type:"pkcs8",format:"der"});if(de.length<100){ce+=fe}return{...keyToJWK((0,se.createPublicKey)(ie)),d:(0,ae.encode)(de.subarray(ce,ce+oe/2))}}case"ed25519":case"x25519":{const re=(0,le.default)(ie);if(ie.type==="public"){const oe=ie.export({type:"spki",format:"der"});return{kty:"OKP",crv:re,x:(0,ae.encode)(oe.subarray(-32))}}const oe=ie.export({type:"pkcs8",format:"der"});return{...keyToJWK((0,se.createPublicKey)(ie)),d:(0,ae.encode)(oe.subarray(-32))}}case"ed448":case"x448":{const re=(0,le.default)(ie);if(ie.type==="public"){const oe=ie.export({type:"spki",format:"der"});return{kty:"OKP",crv:re,x:(0,ae.encode)(oe.subarray(re==="Ed448"?-57:-56))}}const oe=ie.export({type:"pkcs8",format:"der"});return{...keyToJWK((0,se.createPublicKey)(ie)),d:(0,ae.encode)(oe.subarray(re==="Ed448"?-57:-56))}}default:throw new ue.JOSENotSupported("Unsupported key asymmetricKeyType")}}default:throw new ue.JOSENotSupported("Unsupported key type")}};ie["default"]=keyToJWK},52413:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(6113);const ae=oe(99302);const ce=oe(94419);const ue=oe(10122);const le=oe(39737);const fe={padding:se.constants.RSA_PKCS1_PSS_PADDING,saltLength:se.constants.RSA_PSS_SALTLEN_DIGEST};const de=new Map([["ES256","P-256"],["ES256K","secp256k1"],["ES384","P-384"],["ES512","P-521"]]);function keyForCrypto(re,ie){switch(re){case"EdDSA":if(!["ed25519","ed448"].includes(ie.asymmetricKeyType)){throw new TypeError("Invalid key for this operation, its asymmetricKeyType must be ed25519 or ed448")}return ie;case"RS256":case"RS384":case"RS512":if(ie.asymmetricKeyType!=="rsa"){throw new TypeError("Invalid key for this operation, its asymmetricKeyType must be rsa")}(0,ue.default)(ie,re);return ie;case le.rsaPssParams&&"PS256":case le.rsaPssParams&&"PS384":case le.rsaPssParams&&"PS512":if(ie.asymmetricKeyType==="rsa-pss"){const{hashAlgorithm:oe,mgf1HashAlgorithm:se,saltLength:ae}=ie.asymmetricKeyDetails;const ce=parseInt(re.slice(-3),10);if(oe!==undefined&&(oe!==`sha${ce}`||se!==oe)){throw new TypeError(`Invalid key for this operation, its RSA-PSS parameters do not meet the requirements of "alg" ${re}`)}if(ae!==undefined&&ae>ce>>3){throw new TypeError(`Invalid key for this operation, its RSA-PSS parameter saltLength does not meet the requirements of "alg" ${re}`)}}else if(ie.asymmetricKeyType!=="rsa"){throw new TypeError("Invalid key for this operation, its asymmetricKeyType must be rsa or rsa-pss")}(0,ue.default)(ie,re);return{key:ie,...fe};case!le.rsaPssParams&&"PS256":case!le.rsaPssParams&&"PS384":case!le.rsaPssParams&&"PS512":if(ie.asymmetricKeyType!=="rsa"){throw new TypeError("Invalid key for this operation, its asymmetricKeyType must be rsa")}(0,ue.default)(ie,re);return{key:ie,...fe};case"ES256":case"ES256K":case"ES384":case"ES512":{if(ie.asymmetricKeyType!=="ec"){throw new TypeError("Invalid key for this operation, its asymmetricKeyType must be ec")}const oe=(0,ae.default)(ie);const se=de.get(re);if(oe!==se){throw new TypeError(`Invalid key curve for the algorithm, its curve must be ${se}, got ${oe}`)}return{dsaEncoding:"ieee-p1363",key:ie}}default:throw new ce.JOSENotSupported(`alg ${re} is not supported either by JOSE or your javascript runtime`)}}ie["default"]=keyForCrypto},66898:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.decrypt=ie.encrypt=void 0;const se=oe(73837);const ae=oe(6113);const ce=oe(75770);const ue=oe(1691);const le=oe(80518);const fe=oe(56083);const de=oe(83499);const pe=oe(86852);const he=oe(73386);const Ae=oe(62768);const ge=oe(1146);const me=oe(17947);const ye=(0,se.promisify)(ae.pbkdf2);function getPassword(re,ie){if((0,Ae.default)(re)){return re.export()}if(re instanceof Uint8Array){return re}if((0,pe.isCryptoKey)(re)){(0,he.checkEncCryptoKey)(re,ie,"deriveBits","deriveKey");return ae.KeyObject.from(re).export()}throw new TypeError((0,ge.default)(re,...me.types,"Uint8Array"))}const encrypt=async(re,ie,oe,se=2048,ae=(0,ce.default)(new Uint8Array(16)))=>{(0,de.default)(ae);const pe=(0,ue.p2s)(re,ae);const he=parseInt(re.slice(13,16),10)>>3;const Ae=getPassword(ie,re);const ge=await ye(Ae,pe,se,he,`sha${re.slice(8,11)}`);const me=await(0,fe.wrap)(re.slice(-6),ge,oe);return{encryptedKey:me,p2c:se,p2s:(0,le.encode)(ae)}};ie.encrypt=encrypt;const decrypt=async(re,ie,oe,se,ae)=>{(0,de.default)(ae);const ce=(0,ue.p2s)(re,ae);const le=parseInt(re.slice(13,16),10)>>3;const pe=getPassword(ie,re);const he=await ye(pe,ce,se,le,`sha${re.slice(8,11)}`);return(0,fe.unwrap)(re.slice(-6),he,oe)};ie.decrypt=decrypt},75770:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie["default"]=void 0;var se=oe(6113);Object.defineProperty(ie,"default",{enumerable:true,get:function(){return se.randomFillSync}})},89526:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.decrypt=ie.encrypt=void 0;const se=oe(6113);const ae=oe(10122);const ce=oe(86852);const ue=oe(73386);const le=oe(62768);const fe=oe(1146);const de=oe(17947);const checkKey=(re,ie)=>{if(re.asymmetricKeyType!=="rsa"){throw new TypeError("Invalid key for this operation, its asymmetricKeyType must be rsa")}(0,ae.default)(re,ie)};const resolvePadding=re=>{switch(re){case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":return se.constants.RSA_PKCS1_OAEP_PADDING;case"RSA1_5":return se.constants.RSA_PKCS1_PADDING;default:return undefined}};const resolveOaepHash=re=>{switch(re){case"RSA-OAEP":return"sha1";case"RSA-OAEP-256":return"sha256";case"RSA-OAEP-384":return"sha384";case"RSA-OAEP-512":return"sha512";default:return undefined}};function ensureKeyObject(re,ie,...oe){if((0,le.default)(re)){return re}if((0,ce.isCryptoKey)(re)){(0,ue.checkEncCryptoKey)(re,ie,...oe);return se.KeyObject.from(re)}throw new TypeError((0,fe.default)(re,...de.types))}const encrypt=(re,ie,oe)=>{const ae=resolvePadding(re);const ce=resolveOaepHash(re);const ue=ensureKeyObject(ie,re,"wrapKey","encrypt");checkKey(ue,re);return(0,se.publicEncrypt)({key:ue,oaepHash:ce,padding:ae},oe)};ie.encrypt=encrypt;const decrypt=(re,ie,oe)=>{const ae=resolvePadding(re);const ce=resolveOaepHash(re);const ue=ensureKeyObject(ie,re,"unwrapKey","decrypt");checkKey(ue,re);return(0,se.privateDecrypt)({key:ue,oaepHash:ce,padding:ae},oe)};ie.decrypt=decrypt},69935:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(6113);const ae=oe(73837);const ce=oe(54965);const ue=oe(13811);const le=oe(52413);const fe=oe(53170);let de;if(se.sign.length>3){de=(0,ae.promisify)(se.sign)}else{de=se.sign}const sign=async(re,ie,oe)=>{const ae=(0,fe.default)(re,ie,"sign");if(re.startsWith("HS")){const ie=se.createHmac((0,ue.default)(re),ae);ie.update(oe);return ie.digest()}return de((0,ce.default)(re),oe,(0,le.default)(re,ae))};ie["default"]=sign},45390:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(6113);const ae=se.timingSafeEqual;ie["default"]=ae},3569:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(6113);const ae=oe(73837);const ce=oe(54965);const ue=oe(52413);const le=oe(69935);const fe=oe(53170);const de=oe(39737);let pe;if(se.verify.length>4&&de.oneShotCallback){pe=(0,ae.promisify)(se.verify)}else{pe=se.verify}const verify=async(re,ie,oe,ae)=>{const de=(0,fe.default)(re,ie,"verify");if(re.startsWith("HS")){const ie=await(0,le.default)(re,de,ae);const ce=oe;try{return se.timingSafeEqual(ce,ie)}catch{return false}}const he=(0,ce.default)(re);const Ae=(0,ue.default)(re,de);try{return await pe(he,ae,Ae,oe)}catch{return false}};ie["default"]=verify},86852:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.isCryptoKey=void 0;const se=oe(6113);const ae=oe(73837);const ce=se.webcrypto;ie["default"]=ce;ie.isCryptoKey=ae.types.isCryptoKey?re=>ae.types.isCryptoKey(re):re=>false},7022:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.deflate=ie.inflate=void 0;const se=oe(73837);const ae=oe(59796);const ce=(0,se.promisify)(ae.inflateRaw);const ue=(0,se.promisify)(ae.deflateRaw);const inflate=re=>ce(re);ie.inflate=inflate;const deflate=re=>ue(re);ie.deflate=deflate},63238:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.decode=ie.encode=void 0;const se=oe(80518);ie.encode=se.encode;ie.decode=se.decode},65611:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.decodeJwt=void 0;const se=oe(63238);const ae=oe(1691);const ce=oe(39127);const ue=oe(94419);function decodeJwt(re){if(typeof re!=="string")throw new ue.JWTInvalid("JWTs must use Compact JWS serialization, JWT must be a string");const{1:ie,length:oe}=re.split(".");if(oe===5)throw new ue.JWTInvalid("Only JWTs using Compact JWS serialization can be decoded");if(oe!==3)throw new ue.JWTInvalid("Invalid JWT");if(!ie)throw new ue.JWTInvalid("JWTs must contain a payload");let le;try{le=(0,se.decode)(ie)}catch{throw new ue.JWTInvalid("Failed to parse the base64url encoded payload")}let fe;try{fe=JSON.parse(ae.decoder.decode(le))}catch{throw new ue.JWTInvalid("Failed to parse the decoded payload as JSON")}if(!(0,ce.default)(fe))throw new ue.JWTInvalid("Invalid JWT Claims Set");return fe}ie.decodeJwt=decodeJwt},33991:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.decodeProtectedHeader=void 0;const se=oe(63238);const ae=oe(1691);const ce=oe(39127);function decodeProtectedHeader(re){let ie;if(typeof re==="string"){const oe=re.split(".");if(oe.length===3||oe.length===5){[ie]=oe}}else if(typeof re==="object"&&re){if("protected"in re){ie=re.protected}else{throw new TypeError("Token does not contain a Protected Header")}}try{if(typeof ie!=="string"||!ie){throw new Error}const re=JSON.parse(ae.decoder.decode((0,se.decode)(ie)));if(!(0,ce.default)(re)){throw new Error}return re}catch{throw new TypeError("Invalid Token or Protected Header formatting")}}ie.decodeProtectedHeader=decodeProtectedHeader},94419:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.JWSSignatureVerificationFailed=ie.JWKSTimeout=ie.JWKSMultipleMatchingKeys=ie.JWKSNoMatchingKey=ie.JWKSInvalid=ie.JWKInvalid=ie.JWTInvalid=ie.JWSInvalid=ie.JWEInvalid=ie.JWEDecryptionFailed=ie.JOSENotSupported=ie.JOSEAlgNotAllowed=ie.JWTExpired=ie.JWTClaimValidationFailed=ie.JOSEError=void 0;class JOSEError extends Error{static get code(){return"ERR_JOSE_GENERIC"}constructor(re){var ie;super(re);this.code="ERR_JOSE_GENERIC";this.name=this.constructor.name;(ie=Error.captureStackTrace)===null||ie===void 0?void 0:ie.call(Error,this,this.constructor)}}ie.JOSEError=JOSEError;class JWTClaimValidationFailed extends JOSEError{static get code(){return"ERR_JWT_CLAIM_VALIDATION_FAILED"}constructor(re,ie="unspecified",oe="unspecified"){super(re);this.code="ERR_JWT_CLAIM_VALIDATION_FAILED";this.claim=ie;this.reason=oe}}ie.JWTClaimValidationFailed=JWTClaimValidationFailed;class JWTExpired extends JOSEError{static get code(){return"ERR_JWT_EXPIRED"}constructor(re,ie="unspecified",oe="unspecified"){super(re);this.code="ERR_JWT_EXPIRED";this.claim=ie;this.reason=oe}}ie.JWTExpired=JWTExpired;class JOSEAlgNotAllowed extends JOSEError{constructor(){super(...arguments);this.code="ERR_JOSE_ALG_NOT_ALLOWED"}static get code(){return"ERR_JOSE_ALG_NOT_ALLOWED"}}ie.JOSEAlgNotAllowed=JOSEAlgNotAllowed;class JOSENotSupported extends JOSEError{constructor(){super(...arguments);this.code="ERR_JOSE_NOT_SUPPORTED"}static get code(){return"ERR_JOSE_NOT_SUPPORTED"}}ie.JOSENotSupported=JOSENotSupported;class JWEDecryptionFailed extends JOSEError{constructor(){super(...arguments);this.code="ERR_JWE_DECRYPTION_FAILED";this.message="decryption operation failed"}static get code(){return"ERR_JWE_DECRYPTION_FAILED"}}ie.JWEDecryptionFailed=JWEDecryptionFailed;class JWEInvalid extends JOSEError{constructor(){super(...arguments);this.code="ERR_JWE_INVALID"}static get code(){return"ERR_JWE_INVALID"}}ie.JWEInvalid=JWEInvalid;class JWSInvalid extends JOSEError{constructor(){super(...arguments);this.code="ERR_JWS_INVALID"}static get code(){return"ERR_JWS_INVALID"}}ie.JWSInvalid=JWSInvalid;class JWTInvalid extends JOSEError{constructor(){super(...arguments);this.code="ERR_JWT_INVALID"}static get code(){return"ERR_JWT_INVALID"}}ie.JWTInvalid=JWTInvalid;class JWKInvalid extends JOSEError{constructor(){super(...arguments);this.code="ERR_JWK_INVALID"}static get code(){return"ERR_JWK_INVALID"}}ie.JWKInvalid=JWKInvalid;class JWKSInvalid extends JOSEError{constructor(){super(...arguments);this.code="ERR_JWKS_INVALID"}static get code(){return"ERR_JWKS_INVALID"}}ie.JWKSInvalid=JWKSInvalid;class JWKSNoMatchingKey extends JOSEError{constructor(){super(...arguments);this.code="ERR_JWKS_NO_MATCHING_KEY";this.message="no applicable key found in the JSON Web Key Set"}static get code(){return"ERR_JWKS_NO_MATCHING_KEY"}}ie.JWKSNoMatchingKey=JWKSNoMatchingKey;class JWKSMultipleMatchingKeys extends JOSEError{constructor(){super(...arguments);this.code="ERR_JWKS_MULTIPLE_MATCHING_KEYS";this.message="multiple matching keys found in the JSON Web Key Set"}static get code(){return"ERR_JWKS_MULTIPLE_MATCHING_KEYS"}}ie.JWKSMultipleMatchingKeys=JWKSMultipleMatchingKeys;Symbol.asyncIterator;class JWKSTimeout extends JOSEError{constructor(){super(...arguments);this.code="ERR_JWKS_TIMEOUT";this.message="request timed out"}static get code(){return"ERR_JWKS_TIMEOUT"}}ie.JWKSTimeout=JWKSTimeout;class JWSSignatureVerificationFailed extends JOSEError{constructor(){super(...arguments);this.code="ERR_JWS_SIGNATURE_VERIFICATION_FAILED";this.message="signature verification failed"}static get code(){return"ERR_JWS_SIGNATURE_VERIFICATION_FAILED"}}ie.JWSSignatureVerificationFailed=JWSSignatureVerificationFailed},11017:(re,ie,oe)=>{"use strict";var se=oe(83083);re.exports=api;function api(re,ie,oe){if(arguments.length===3){return api.set(re,ie,oe)}if(arguments.length===2){return api.get(re,ie)}var se=api.bind(api,re);for(var ae in api){if(api.hasOwnProperty(ae)){se[ae]=api[ae].bind(se,re)}}return se}api.get=function get(re,ie){var oe=Array.isArray(ie)?ie:api.parse(ie);for(var se=0;se{"use strict";const{isArray:se,isObject:ae,isString:ce}=oe(86891);const{asArray:ue}=oe(69450);const{prependBase:le}=oe(40651);const fe=oe(11625);const de=oe(7446);const pe=10;re.exports=class ContextResolver{constructor({sharedCache:re}){this.perOpCache=new Map;this.sharedCache=re}async resolve({activeCtx:re,context:ie,documentLoader:oe,base:le,cycles:fe=new Set}){if(ie&&ae(ie)&&ie["@context"]){ie=ie["@context"]}ie=ue(ie);const pe=[];for(const ue of ie){if(ce(ue)){let ie=this._get(ue);if(!ie){ie=await this._resolveRemoteContext({activeCtx:re,url:ue,documentLoader:oe,base:le,cycles:fe})}if(se(ie)){pe.push(...ie)}else{pe.push(ie)}continue}if(ue===null){pe.push(new de({document:null}));continue}if(!ae(ue)){_throwInvalidLocalContext(ie)}const he=JSON.stringify(ue);let Ae=this._get(he);if(!Ae){Ae=new de({document:ue});this._cacheResolvedContext({key:he,resolved:Ae,tag:"static"})}pe.push(Ae)}return pe}_get(re){let ie=this.perOpCache.get(re);if(!ie){const oe=this.sharedCache.get(re);if(oe){ie=oe.get("static");if(ie){this.perOpCache.set(re,ie)}}}return ie}_cacheResolvedContext({key:re,resolved:ie,tag:oe}){this.perOpCache.set(re,ie);if(oe!==undefined){let se=this.sharedCache.get(re);if(!se){se=new Map;this.sharedCache.set(re,se)}se.set(oe,ie)}return ie}async _resolveRemoteContext({activeCtx:re,url:ie,documentLoader:oe,base:se,cycles:ae}){ie=le(se,ie);const{context:ce,remoteDoc:ue}=await this._fetchContext({activeCtx:re,url:ie,documentLoader:oe,cycles:ae});se=ue.documentUrl||ie;_resolveContextUrls({context:ce,base:se});const fe=await this.resolve({activeCtx:re,context:ce,documentLoader:oe,base:se,cycles:ae});this._cacheResolvedContext({key:ie,resolved:fe,tag:ue.tag});return fe}async _fetchContext({activeCtx:re,url:ie,documentLoader:oe,cycles:ue}){if(ue.size>pe){throw new fe("Maximum number of @context URLs exceeded.","jsonld.ContextUrlError",{code:re.processingMode==="json-ld-1.0"?"loading remote context failed":"context overflow",max:pe})}if(ue.has(ie)){throw new fe("Cyclical @context URLs detected.","jsonld.ContextUrlError",{code:re.processingMode==="json-ld-1.0"?"recursive context inclusion":"context overflow",url:ie})}ue.add(ie);let le;let de;try{de=await oe(ie);le=de.document||null;if(ce(le)){le=JSON.parse(le)}}catch(re){throw new fe("Dereferencing a URL did not result in a valid JSON-LD object. "+"Possible causes are an inaccessible URL perhaps due to "+"a same-origin policy (ensure the server uses CORS if you are "+"using client-side JavaScript), too many redirects, a "+"non-JSON response, or more than one HTTP Link Header was "+"provided for a remote context.","jsonld.InvalidUrl",{code:"loading remote context failed",url:ie,cause:re})}if(!ae(le)){throw new fe("Dereferencing a URL did not result in a JSON object. The "+"response was valid JSON, but it was not a JSON object.","jsonld.InvalidUrl",{code:"invalid remote context",url:ie})}if(!("@context"in le)){le={"@context":{}}}else{le={"@context":le["@context"]}}if(de.contextUrl){if(!se(le["@context"])){le["@context"]=[le["@context"]]}le["@context"].push(de.contextUrl)}return{context:le,remoteDoc:de}}};function _throwInvalidLocalContext(re){throw new fe("Invalid JSON-LD syntax; @context must be an object.","jsonld.SyntaxError",{code:"invalid local context",context:re})}function _resolveContextUrls({context:re,base:ie}){if(!re){return}const oe=re["@context"];if(ce(oe)){re["@context"]=le(ie,oe);return}if(se(oe)){for(let re=0;re{"use strict";re.exports=class JsonLdError extends Error{constructor(re="An unspecified JSON-LD error occurred.",ie="jsonld.Error",oe={}){super(re);this.name=ie;this.message=re;this.details=oe}}},21677:re=>{"use strict";re.exports=re=>{class JsonLdProcessor{toString(){return"[object JsonLdProcessor]"}}Object.defineProperty(JsonLdProcessor,"prototype",{writable:false,enumerable:false});Object.defineProperty(JsonLdProcessor.prototype,"constructor",{writable:true,enumerable:false,configurable:true,value:JsonLdProcessor});JsonLdProcessor.compact=function(ie,oe){if(arguments.length<2){return Promise.reject(new TypeError("Could not compact, too few arguments."))}return re.compact(ie,oe)};JsonLdProcessor.expand=function(ie){if(arguments.length<1){return Promise.reject(new TypeError("Could not expand, too few arguments."))}return re.expand(ie)};JsonLdProcessor.flatten=function(ie){if(arguments.length<1){return Promise.reject(new TypeError("Could not flatten, too few arguments."))}return re.flatten(ie)};return JsonLdProcessor}},13611:(re,ie,oe)=>{"use strict";re.exports=oe(43).NQuads},99241:re=>{"use strict";re.exports=class RequestQueue{constructor(){this._requests={}}wrapLoader(re){const ie=this;ie._loader=re;return function(){return ie.add.apply(ie,arguments)}}async add(re){let ie=this._requests[re];if(ie){return Promise.resolve(ie)}ie=this._requests[re]=this._loader(re);try{return await ie}finally{delete this._requests[re]}}}},7446:(re,ie,oe)=>{"use strict";const se=oe(51370);const ae=10;re.exports=class ResolvedContext{constructor({document:re}){this.document=re;this.cache=new se({max:ae})}getProcessed(re){return this.cache.get(re)}setProcessed(re,ie){this.cache.set(re,ie)}}},63073:(re,ie,oe)=>{"use strict";const se=oe(11625);const{isArray:ae,isObject:ce,isString:ue,isUndefined:le}=oe(86891);const{isList:fe,isValue:de,isGraph:pe,isSimpleGraph:he,isSubjectReference:Ae}=oe(13631);const{expandIri:ge,getContextValue:me,isKeyword:ye,process:ve,processingMode:be}=oe(41866);const{removeBase:we,prependBase:_e}=oe(40651);const{REGEX_KEYWORD:Ee,addValue:Ce,asArray:Ie,compareShortestLeast:Se}=oe(69450);const Be={};re.exports=Be;Be.compact=async({activeCtx:re,activeProperty:ie=null,element:oe,options:ge={}})=>{if(ae(oe)){let se=[];for(let ae=0;ae1){xe=Array.from(xe).sort()}const ke=re;for(const ie of xe){const oe=Be.compactIri({activeCtx:ke,iri:ie,relativeTo:{vocab:true}});const se=me(Ee,oe,"@context");if(!le(se)){re=await ve({activeCtx:re,localCtx:se,options:ge,propagate:false})}}const Oe=Object.keys(oe).sort();for(const le of Oe){const Ae=oe[le];if(le==="@id"){let ie=Ie(Ae).map((ie=>Be.compactIri({activeCtx:re,iri:ie,relativeTo:{vocab:false},base:ge.base})));if(ie.length===1){ie=ie[0]}const oe=Be.compactIri({activeCtx:re,iri:"@id",relativeTo:{vocab:true}});_e[oe]=ie;continue}if(le==="@type"){let ie=Ie(Ae).map((re=>Be.compactIri({activeCtx:Ee,iri:re,relativeTo:{vocab:true}})));if(ie.length===1){ie=ie[0]}const oe=Be.compactIri({activeCtx:re,iri:"@type",relativeTo:{vocab:true}});const se=me(re,oe,"@container")||[];const ce=se.includes("@set")&&be(re,1.1);const ue=ce||ae(ie)&&Ae.length===0;Ce(_e,oe,ie,{propertyIsArray:ue});continue}if(le==="@reverse"){const ie=await Be.compact({activeCtx:re,activeProperty:"@reverse",element:Ae,options:ge});for(const oe in ie){if(re.mappings.has(oe)&&re.mappings.get(oe).reverse){const se=ie[oe];const ae=me(re,oe,"@container")||[];const ce=ae.includes("@set")||!ge.compactArrays;Ce(_e,oe,se,{propertyIsArray:ce});delete ie[oe]}}if(Object.keys(ie).length>0){const oe=Be.compactIri({activeCtx:re,iri:le,relativeTo:{vocab:true}});Ce(_e,oe,ie)}continue}if(le==="@preserve"){const oe=await Be.compact({activeCtx:re,activeProperty:ie,element:Ae,options:ge});if(!(ae(oe)&&oe.length===0)){Ce(_e,le,oe)}continue}if(le==="@index"){const oe=me(re,ie,"@container")||[];if(oe.includes("@index")){continue}const se=Be.compactIri({activeCtx:re,iri:le,relativeTo:{vocab:true}});Ce(_e,se,Ae);continue}if(le!=="@graph"&&le!=="@list"&&le!=="@included"&&ye(le)){const ie=Be.compactIri({activeCtx:re,iri:le,relativeTo:{vocab:true}});Ce(_e,ie,Ae);continue}if(!ae(Ae)){throw new se("JSON-LD expansion error; expanded value must be an array.","jsonld.SyntaxError")}if(Ae.length===0){const ie=Be.compactIri({activeCtx:re,iri:le,value:Ae,relativeTo:{vocab:true},reverse:we});const oe=re.mappings.has(ie)?re.mappings.get(ie)["@nest"]:null;let se=_e;if(oe){_checkNestProperty(re,oe,ge);if(!ce(_e[oe])){_e[oe]={}}se=_e[oe]}Ce(se,ie,Ae,{propertyIsArray:true})}for(const ie of Ae){const oe=Be.compactIri({activeCtx:re,iri:le,value:ie,relativeTo:{vocab:true},reverse:we});const se=re.mappings.has(oe)?re.mappings.get(oe)["@nest"]:null;let Ae=_e;if(se){_checkNestProperty(re,se,ge);if(!ce(_e[se])){_e[se]={}}Ae=_e[se]}const ye=me(re,oe,"@container")||[];const ve=pe(ie);const be=fe(ie);let Ee;if(be){Ee=ie["@list"]}else if(ve){Ee=ie["@graph"]}let Se=await Be.compact({activeCtx:re,activeProperty:oe,element:be||ve?Ee:ie,options:ge});if(be){if(!ae(Se)){Se=[Se]}if(!ye.includes("@list")){Se={[Be.compactIri({activeCtx:re,iri:"@list",relativeTo:{vocab:true}})]:Se};if("@index"in ie){Se[Be.compactIri({activeCtx:re,iri:"@index",relativeTo:{vocab:true}})]=ie["@index"]}}else{Ce(Ae,oe,Se,{valueIsArray:true,allowDuplicate:true});continue}}if(ve){if(ye.includes("@graph")&&(ye.includes("@id")||ye.includes("@index")&&he(ie))){let se;if(Ae.hasOwnProperty(oe)){se=Ae[oe]}else{Ae[oe]=se={}}const ae=(ye.includes("@id")?ie["@id"]:ie["@index"])||Be.compactIri({activeCtx:re,iri:"@none",relativeTo:{vocab:true}});Ce(se,ae,Se,{propertyIsArray:!ge.compactArrays||ye.includes("@set")})}else if(ye.includes("@graph")&&he(ie)){if(ae(Se)&&Se.length>1){Se={"@included":Se}}Ce(Ae,oe,Se,{propertyIsArray:!ge.compactArrays||ye.includes("@set")})}else{if(ae(Se)&&Se.length===1&&ge.compactArrays){Se=Se[0]}Se={[Be.compactIri({activeCtx:re,iri:"@graph",relativeTo:{vocab:true}})]:Se};if("@id"in ie){Se[Be.compactIri({activeCtx:re,iri:"@id",relativeTo:{vocab:true}})]=ie["@id"]}if("@index"in ie){Se[Be.compactIri({activeCtx:re,iri:"@index",relativeTo:{vocab:true}})]=ie["@index"]}Ce(Ae,oe,Se,{propertyIsArray:!ge.compactArrays||ye.includes("@set")})}}else if(ye.includes("@language")||ye.includes("@index")||ye.includes("@id")||ye.includes("@type")){let se;if(Ae.hasOwnProperty(oe)){se=Ae[oe]}else{Ae[oe]=se={}}let ae;if(ye.includes("@language")){if(de(Se)){Se=Se["@value"]}ae=ie["@language"]}else if(ye.includes("@index")){const se=me(re,oe,"@index")||"@index";const ce=Be.compactIri({activeCtx:re,iri:se,relativeTo:{vocab:true}});if(se==="@index"){ae=ie["@index"];delete Se[ce]}else{let re;[ae,...re]=Ie(Se[se]||[]);if(!ue(ae)){ae=null}else{switch(re.length){case 0:delete Se[se];break;case 1:Se[se]=re[0];break;default:Se[se]=re;break}}}}else if(ye.includes("@id")){const ie=Be.compactIri({activeCtx:re,iri:"@id",relativeTo:{vocab:true}});ae=Se[ie];delete Se[ie]}else if(ye.includes("@type")){const se=Be.compactIri({activeCtx:re,iri:"@type",relativeTo:{vocab:true}});let ce;[ae,...ce]=Ie(Se[se]||[]);switch(ce.length){case 0:delete Se[se];break;case 1:Se[se]=ce[0];break;default:Se[se]=ce;break}if(Object.keys(Se).length===1&&"@id"in ie){Se=await Be.compact({activeCtx:re,activeProperty:oe,element:{"@id":ie["@id"]},options:ge})}}if(!ae){ae=Be.compactIri({activeCtx:re,iri:"@none",relativeTo:{vocab:true}})}Ce(se,ae,Se,{propertyIsArray:ye.includes("@set")})}else{const re=!ge.compactArrays||ye.includes("@set")||ye.includes("@list")||ae(Se)&&Se.length===0||le==="@list"||le==="@graph";Ce(Ae,oe,Se,{propertyIsArray:re})}}}return _e}return oe};Be.compactIri=({activeCtx:re,iri:ie,value:oe=null,relativeTo:ae={vocab:false},reverse:ue=false,base:le=null})=>{if(ie===null){return ie}if(re.isPropertyTermScoped&&re.previousContext){re=re.previousContext}const he=re.getInverse();if(ye(ie)&&ie in he&&"@none"in he[ie]&&"@type"in he[ie]["@none"]&&"@none"in he[ie]["@none"]["@type"]){return he[ie]["@none"]["@type"]["@none"]}if(ae.vocab&&ie in he){const se=re["@language"]||"@none";const ae=[];if(ce(oe)&&"@index"in oe&&!("@graph"in oe)){ae.push("@index","@index@set")}if(ce(oe)&&"@preserve"in oe){oe=oe["@preserve"][0]}if(pe(oe)){if("@index"in oe){ae.push("@graph@index","@graph@index@set","@index","@index@set")}if("@id"in oe){ae.push("@graph@id","@graph@id@set")}ae.push("@graph","@graph@set","@set");if(!("@index"in oe)){ae.push("@graph@index","@graph@index@set","@index","@index@set")}if(!("@id"in oe)){ae.push("@graph@id","@graph@id@set")}}else if(ce(oe)&&!de(oe)){ae.push("@id","@id@set","@type","@set@type")}let le="@language";let he="@null";if(ue){le="@type";he="@reverse";ae.push("@set")}else if(fe(oe)){if(!("@index"in oe)){ae.push("@list")}const re=oe["@list"];if(re.length===0){le="@any";he="@none"}else{let ie=re.length===0?se:null;let oe=null;for(let se=0;se=0;--se){const ae=ge[se];const ce=ae.terms;for(const se of ce){const ce=se+":"+ie.substr(ae.iri.length);const ue=re.mappings.get(se)._prefix&&(!re.mappings.has(ce)||oe===null&&re.mappings.get(ce)["@id"]===ie);if(ue&&(Ae===null||Se(ce,Ae)<0)){Ae=ce}}}if(Ae!==null){return Ae}for(const[oe,ae]of re.mappings){if(ae&&ae._prefix&&ie.startsWith(oe+":")){throw new se(`Absolute IRI "${ie}" confused with prefix "${oe}".`,"jsonld.SyntaxError",{code:"IRI confused with prefix",context:re})}}if(!ae.vocab){if("@base"in re){if(!re["@base"]){return ie}else{const oe=we(_e(le,re["@base"]),ie);return Ee.test(oe)?`./${oe}`:oe}}else{return we(le,ie)}}return ie};Be.compactValue=({activeCtx:re,activeProperty:ie,value:oe,options:se})=>{if(de(oe)){const se=me(re,ie,"@type");const ae=me(re,ie,"@language");const ce=me(re,ie,"@direction");const le=me(re,ie,"@container")||[];const fe="@index"in oe&&!le.includes("@index");if(!fe&&se!=="@none"){if(oe["@type"]===se){return oe["@value"]}if("@language"in oe&&oe["@language"]===ae&&"@direction"in oe&&oe["@direction"]===ce){return oe["@value"]}if("@language"in oe&&oe["@language"]===ae){return oe["@value"]}if("@direction"in oe&&oe["@direction"]===ce){return oe["@value"]}}const de=Object.keys(oe).length;const pe=de===1||de===2&&"@index"in oe&&!fe;const he="@language"in re;const Ae=ue(oe["@value"]);const ge=re.mappings.has(ie)&&re.mappings.get(ie)["@language"]===null;if(pe&&se!=="@none"&&(!he||!Ae||ge)){return oe["@value"]}const ye={};if(fe){ye[Be.compactIri({activeCtx:re,iri:"@index",relativeTo:{vocab:true}})]=oe["@index"]}if("@type"in oe){ye[Be.compactIri({activeCtx:re,iri:"@type",relativeTo:{vocab:true}})]=Be.compactIri({activeCtx:re,iri:oe["@type"],relativeTo:{vocab:true}})}else if("@language"in oe){ye[Be.compactIri({activeCtx:re,iri:"@language",relativeTo:{vocab:true}})]=oe["@language"]}if("@direction"in oe){ye[Be.compactIri({activeCtx:re,iri:"@direction",relativeTo:{vocab:true}})]=oe["@direction"]}ye[Be.compactIri({activeCtx:re,iri:"@value",relativeTo:{vocab:true}})]=oe["@value"];return ye}const ae=ge(re,ie,{vocab:true},se);const ce=me(re,ie,"@type");const le=Be.compactIri({activeCtx:re,iri:oe["@id"],relativeTo:{vocab:ce==="@vocab"},base:se.base});if(ce==="@id"||ce==="@vocab"||ae==="@graph"){return le}return{[Be.compactIri({activeCtx:re,iri:"@id",relativeTo:{vocab:true}})]:le}};function _selectTerm(re,ie,oe,se,ae,ue){if(ue===null){ue="@null"}const le=[];if((ue==="@id"||ue==="@reverse")&&ce(oe)&&"@id"in oe){if(ue==="@reverse"){le.push("@reverse")}const ie=Be.compactIri({activeCtx:re,iri:oe["@id"],relativeTo:{vocab:true}});if(re.mappings.has(ie)&&re.mappings.get(ie)&&re.mappings.get(ie)["@id"]===oe["@id"]){le.push.apply(le,["@vocab","@id"])}else{le.push.apply(le,["@id","@vocab"])}}else{le.push(ue);const re=le.find((re=>re.includes("_")));if(re){le.push(re.replace(/^[^_]+_/,"_"))}}le.push("@none");const fe=re.inverse[ie];for(const re of se){if(!(re in fe)){continue}const ie=fe[re][ae];for(const re of le){if(!(re in ie)){continue}return ie[re]}}return null}function _checkNestProperty(re,ie,oe){if(ge(re,ie,{vocab:true},oe)!=="@nest"){throw new se("JSON-LD compact error; nested property must have an @nest value "+"resolving to @nest.","jsonld.SyntaxError",{code:"invalid @nest value"})}}},18441:re=>{"use strict";const ie="http://www.w3.org/1999/02/22-rdf-syntax-ns#";const oe="http://www.w3.org/2001/XMLSchema#";re.exports={LINK_HEADER_REL:"http://www.w3.org/ns/json-ld#context",LINK_HEADER_CONTEXT:"http://www.w3.org/ns/json-ld#context",RDF:ie,RDF_LIST:ie+"List",RDF_FIRST:ie+"first",RDF_REST:ie+"rest",RDF_NIL:ie+"nil",RDF_TYPE:ie+"type",RDF_PLAIN_LITERAL:ie+"PlainLiteral",RDF_XML_LITERAL:ie+"XMLLiteral",RDF_JSON_LITERAL:ie+"JSON",RDF_OBJECT:ie+"object",RDF_LANGSTRING:ie+"langString",XSD:oe,XSD_BOOLEAN:oe+"boolean",XSD_DOUBLE:oe+"double",XSD_INTEGER:oe+"integer",XSD_STRING:oe+"string"}},41866:(re,ie,oe)=>{"use strict";const se=oe(69450);const ae=oe(11625);const{isArray:ce,isObject:ue,isString:le,isUndefined:fe}=oe(86891);const{isAbsolute:de,isRelative:pe,prependBase:he}=oe(40651);const{handleEvent:Ae}=oe(75836);const{REGEX_BCP47:ge,REGEX_KEYWORD:me,asArray:ye,compareShortestLeast:ve}=oe(69450);const be=new Map;const we=1e4;const _e={};re.exports=_e;_e.process=async({activeCtx:re,localCtx:ie,options:oe,propagate:se=true,overrideProtected:fe=false,cycles:me=new Set})=>{if(ue(ie)&&"@context"in ie&&ce(ie["@context"])){ie=ie["@context"]}const ve=ye(ie);if(ve.length===0){return re}const be=[];const we=[({event:re,next:ie})=>{be.push(re);ie()}];if(oe.eventHandler){we.push(oe.eventHandler)}const Ee=oe;oe={...oe,eventHandler:we};const Ce=await oe.contextResolver.resolve({activeCtx:re,context:ie,documentLoader:oe.documentLoader,base:oe.base});if(ue(Ce[0].document)&&typeof Ce[0].document["@propagate"]==="boolean"){se=Ce[0].document["@propagate"]}let Ie=re;if(!se&&!Ie.previousContext){Ie=Ie.clone();Ie.previousContext=re}for(const se of Ce){let{document:ce}=se;re=Ie;if(ce===null){if(!fe&&Object.keys(re.protected).length!==0){throw new ae("Tried to nullify a context with protected terms outside of "+"a term definition.","jsonld.SyntaxError",{code:"invalid context nullification"})}Ie=re=_e.getInitialContext(oe).clone();continue}const ye=se.getProcessed(re);if(ye){if(Ee.eventHandler){for(const re of ye.events){Ae({event:re,options:Ee})}}Ie=re=ye.context;continue}if(ue(ce)&&"@context"in ce){ce=ce["@context"]}if(!ue(ce)){throw new ae("Invalid JSON-LD syntax; @context must be an object.","jsonld.SyntaxError",{code:"invalid local context",context:ce})}Ie=Ie.clone();const ve=new Map;if("@version"in ce){if(ce["@version"]!==1.1){throw new ae("Unsupported JSON-LD version: "+ce["@version"],"jsonld.UnsupportedVersion",{code:"invalid @version value",context:ce})}if(re.processingMode&&re.processingMode==="json-ld-1.0"){throw new ae("@version: "+ce["@version"]+" not compatible with "+re.processingMode,"jsonld.ProcessingModeConflict",{code:"processing mode conflict",context:ce})}Ie.processingMode="json-ld-1.1";Ie["@version"]=ce["@version"];ve.set("@version",true)}Ie.processingMode=Ie.processingMode||re.processingMode;if("@base"in ce){let re=ce["@base"];if(re===null||de(re)){}else if(pe(re)){re=he(Ie["@base"],re)}else{throw new ae('Invalid JSON-LD syntax; the value of "@base" in a '+"@context must be an absolute IRI, a relative IRI, or null.","jsonld.SyntaxError",{code:"invalid base IRI",context:ce})}Ie["@base"]=re;ve.set("@base",true)}if("@vocab"in ce){const re=ce["@vocab"];if(re===null){delete Ie["@vocab"]}else if(!le(re)){throw new ae('Invalid JSON-LD syntax; the value of "@vocab" in a '+"@context must be a string or null.","jsonld.SyntaxError",{code:"invalid vocab mapping",context:ce})}else if(!de(re)&&_e.processingMode(Ie,1)){throw new ae('Invalid JSON-LD syntax; the value of "@vocab" in a '+"@context must be an absolute IRI.","jsonld.SyntaxError",{code:"invalid vocab mapping",context:ce})}else{const ie=_expandIri(Ie,re,{vocab:true,base:true},undefined,undefined,oe);if(!de(ie)){if(oe.eventHandler){Ae({event:{type:["JsonLdEvent"],code:"relative @vocab reference",level:"warning",message:"Relative @vocab reference found.",details:{vocab:ie}},options:oe})}}Ie["@vocab"]=ie}ve.set("@vocab",true)}if("@language"in ce){const re=ce["@language"];if(re===null){delete Ie["@language"]}else if(!le(re)){throw new ae('Invalid JSON-LD syntax; the value of "@language" in a '+"@context must be a string or null.","jsonld.SyntaxError",{code:"invalid default language",context:ce})}else{if(!re.match(ge)){if(oe.eventHandler){Ae({event:{type:["JsonLdEvent"],code:"invalid @language value",level:"warning",message:"@language value must be valid BCP47.",details:{language:re}},options:oe})}}Ie["@language"]=re.toLowerCase()}ve.set("@language",true)}if("@direction"in ce){const ie=ce["@direction"];if(re.processingMode==="json-ld-1.0"){throw new ae("Invalid JSON-LD syntax; @direction not compatible with "+re.processingMode,"jsonld.SyntaxError",{code:"invalid context member",context:ce})}if(ie===null){delete Ie["@direction"]}else if(ie!=="ltr"&&ie!=="rtl"){throw new ae('Invalid JSON-LD syntax; the value of "@direction" in a '+'@context must be null, "ltr", or "rtl".',"jsonld.SyntaxError",{code:"invalid base direction",context:ce})}else{Ie["@direction"]=ie}ve.set("@direction",true)}if("@propagate"in ce){const oe=ce["@propagate"];if(re.processingMode==="json-ld-1.0"){throw new ae("Invalid JSON-LD syntax; @propagate not compatible with "+re.processingMode,"jsonld.SyntaxError",{code:"invalid context entry",context:ce})}if(typeof oe!=="boolean"){throw new ae("Invalid JSON-LD syntax; @propagate value must be a boolean.","jsonld.SyntaxError",{code:"invalid @propagate value",context:ie})}ve.set("@propagate",true)}if("@import"in ce){const se=ce["@import"];if(re.processingMode==="json-ld-1.0"){throw new ae("Invalid JSON-LD syntax; @import not compatible with "+re.processingMode,"jsonld.SyntaxError",{code:"invalid context entry",context:ce})}if(!le(se)){throw new ae("Invalid JSON-LD syntax; @import must be a string.","jsonld.SyntaxError",{code:"invalid @import value",context:ie})}const ue=await oe.contextResolver.resolve({activeCtx:re,context:se,documentLoader:oe.documentLoader,base:oe.base});if(ue.length!==1){throw new ae("Invalid JSON-LD syntax; @import must reference a single context.","jsonld.SyntaxError",{code:"invalid remote context",context:ie})}const fe=ue[0].getProcessed(re);if(fe){ce=fe}else{const oe=ue[0].document;if("@import"in oe){throw new ae("Invalid JSON-LD syntax: "+"imported context must not include @import.","jsonld.SyntaxError",{code:"invalid context entry",context:ie})}for(const re in oe){if(!ce.hasOwnProperty(re)){ce[re]=oe[re]}}ue[0].setProcessed(re,ce)}ve.set("@import",true)}ve.set("@protected",ce["@protected"]||false);for(const re in ce){_e.createTermDefinition({activeCtx:Ie,localCtx:ce,term:re,defined:ve,options:oe,overrideProtected:fe});if(ue(ce[re])&&"@context"in ce[re]){const ie=ce[re]["@context"];let se=true;if(le(ie)){const re=he(oe.base,ie);if(me.has(re)){se=false}else{me.add(re)}}if(se){try{await _e.process({activeCtx:Ie.clone(),localCtx:ce[re]["@context"],overrideProtected:true,options:oe,cycles:me})}catch(ie){throw new ae("Invalid JSON-LD syntax; invalid scoped context.","jsonld.SyntaxError",{code:"invalid scoped context",context:ce[re]["@context"],term:re})}}}}se.setProcessed(re,{context:Ie,events:be})}return Ie};_e.createTermDefinition=({activeCtx:re,localCtx:ie,term:oe,defined:se,options:fe,overrideProtected:pe=false})=>{if(se.has(oe)){if(se.get(oe)){return}throw new ae("Cyclical context definition detected.","jsonld.CyclicalContext",{code:"cyclic IRI mapping",context:ie,term:oe})}se.set(oe,false);let he;if(ie.hasOwnProperty(oe)){he=ie[oe]}if(oe==="@type"&&ue(he)&&(he["@container"]||"@set")==="@set"&&_e.processingMode(re,1.1)){const re=["@container","@id","@protected"];const se=Object.keys(he);if(se.length===0||se.some((ie=>!re.includes(ie)))){throw new ae("Invalid JSON-LD syntax; keywords cannot be overridden.","jsonld.SyntaxError",{code:"keyword redefinition",context:ie,term:oe})}}else if(_e.isKeyword(oe)){throw new ae("Invalid JSON-LD syntax; keywords cannot be overridden.","jsonld.SyntaxError",{code:"keyword redefinition",context:ie,term:oe})}else if(oe.match(me)){if(fe.eventHandler){Ae({event:{type:["JsonLdEvent"],code:"reserved term",level:"warning",message:'Terms beginning with "@" are '+"reserved for future use and dropped.",details:{term:oe}},options:fe})}return}else if(oe===""){throw new ae("Invalid JSON-LD syntax; a term cannot be an empty string.","jsonld.SyntaxError",{code:"invalid term definition",context:ie})}const ge=re.mappings.get(oe);if(re.mappings.has(oe)){re.mappings.delete(oe)}let ye=false;if(le(he)||he===null){ye=true;he={"@id":he}}if(!ue(he)){throw new ae("Invalid JSON-LD syntax; @context term values must be "+"strings or objects.","jsonld.SyntaxError",{code:"invalid term definition",context:ie})}const ve={};re.mappings.set(oe,ve);ve.reverse=false;const be=["@container","@id","@language","@reverse","@type"];if(_e.processingMode(re,1.1)){be.push("@context","@direction","@index","@nest","@prefix","@protected")}for(const re in he){if(!be.includes(re)){throw new ae("Invalid JSON-LD syntax; a term definition must not contain "+re,"jsonld.SyntaxError",{code:"invalid term definition",context:ie})}}const we=oe.indexOf(":");ve._termHasColon=we>0;if("@reverse"in he){if("@id"in he){throw new ae("Invalid JSON-LD syntax; a @reverse term definition must not "+"contain @id.","jsonld.SyntaxError",{code:"invalid reverse property",context:ie})}if("@nest"in he){throw new ae("Invalid JSON-LD syntax; a @reverse term definition must not "+"contain @nest.","jsonld.SyntaxError",{code:"invalid reverse property",context:ie})}const ce=he["@reverse"];if(!le(ce)){throw new ae("Invalid JSON-LD syntax; a @context @reverse value must be a string.","jsonld.SyntaxError",{code:"invalid IRI mapping",context:ie})}if(ce.match(me)){if(fe.eventHandler){Ae({event:{type:["JsonLdEvent"],code:"reserved @reverse value",level:"warning",message:'@reverse values beginning with "@" are '+"reserved for future use and dropped.",details:{reverse:ce}},options:fe})}if(ge){re.mappings.set(oe,ge)}else{re.mappings.delete(oe)}return}const ue=_expandIri(re,ce,{vocab:true,base:false},ie,se,fe);if(!de(ue)){throw new ae("Invalid JSON-LD syntax; a @context @reverse value must be an "+"absolute IRI or a blank node identifier.","jsonld.SyntaxError",{code:"invalid IRI mapping",context:ie})}ve["@id"]=ue;ve.reverse=true}else if("@id"in he){let ce=he["@id"];if(ce&&!le(ce)){throw new ae("Invalid JSON-LD syntax; a @context @id value must be an array "+"of strings or a string.","jsonld.SyntaxError",{code:"invalid IRI mapping",context:ie})}if(ce===null){ve["@id"]=null}else if(!_e.isKeyword(ce)&&ce.match(me)){if(fe.eventHandler){Ae({event:{type:["JsonLdEvent"],code:"reserved @id value",level:"warning",message:'@id values beginning with "@" are '+"reserved for future use and dropped.",details:{id:ce}},options:fe})}if(ge){re.mappings.set(oe,ge)}else{re.mappings.delete(oe)}return}else if(ce!==oe){ce=_expandIri(re,ce,{vocab:true,base:false},ie,se,fe);if(!de(ce)&&!_e.isKeyword(ce)){throw new ae("Invalid JSON-LD syntax; a @context @id value must be an "+"absolute IRI, a blank node identifier, or a keyword.","jsonld.SyntaxError",{code:"invalid IRI mapping",context:ie})}if(oe.match(/(?::[^:])|\//)){const ue=new Map(se).set(oe,true);const le=_expandIri(re,oe,{vocab:true,base:false},ie,ue,fe);if(le!==ce){throw new ae("Invalid JSON-LD syntax; term in form of IRI must "+"expand to definition.","jsonld.SyntaxError",{code:"invalid IRI mapping",context:ie})}}ve["@id"]=ce;ve._prefix=ye&&!ve._termHasColon&&ce.match(/[:\/\?#\[\]@]$/)}}if(!("@id"in ve)){if(ve._termHasColon){const ae=oe.substr(0,we);if(ie.hasOwnProperty(ae)){_e.createTermDefinition({activeCtx:re,localCtx:ie,term:ae,defined:se,options:fe})}if(re.mappings.has(ae)){const ie=oe.substr(we+1);ve["@id"]=re.mappings.get(ae)["@id"]+ie}else{ve["@id"]=oe}}else if(oe==="@type"){ve["@id"]=oe}else{if(!("@vocab"in re)){throw new ae("Invalid JSON-LD syntax; @context terms must define an @id.","jsonld.SyntaxError",{code:"invalid IRI mapping",context:ie,term:oe})}ve["@id"]=re["@vocab"]+oe}}if(he["@protected"]===true||se.get("@protected")===true&&he["@protected"]!==false){re.protected[oe]=true;ve.protected=true}se.set(oe,true);if("@type"in he){let oe=he["@type"];if(!le(oe)){throw new ae("Invalid JSON-LD syntax; an @context @type value must be a string.","jsonld.SyntaxError",{code:"invalid type mapping",context:ie})}if(oe==="@json"||oe==="@none"){if(_e.processingMode(re,1)){throw new ae("Invalid JSON-LD syntax; an @context @type value must not be "+`"${oe}" in JSON-LD 1.0 mode.`,"jsonld.SyntaxError",{code:"invalid type mapping",context:ie})}}else if(oe!=="@id"&&oe!=="@vocab"){oe=_expandIri(re,oe,{vocab:true,base:false},ie,se,fe);if(!de(oe)){throw new ae("Invalid JSON-LD syntax; an @context @type value must be an "+"absolute IRI.","jsonld.SyntaxError",{code:"invalid type mapping",context:ie})}if(oe.indexOf("_:")===0){throw new ae("Invalid JSON-LD syntax; an @context @type value must be an IRI, "+"not a blank node identifier.","jsonld.SyntaxError",{code:"invalid type mapping",context:ie})}}ve["@type"]=oe}if("@container"in he){const oe=le(he["@container"])?[he["@container"]]:he["@container"]||[];const se=["@list","@set","@index","@language"];let ue=true;const fe=oe.includes("@set");if(_e.processingMode(re,1.1)){se.push("@graph","@id","@type");if(oe.includes("@list")){if(oe.length!==1){throw new ae("Invalid JSON-LD syntax; @context @container with @list must "+"have no other values","jsonld.SyntaxError",{code:"invalid container mapping",context:ie})}}else if(oe.includes("@graph")){if(oe.some((re=>re!=="@graph"&&re!=="@id"&&re!=="@index"&&re!=="@set"))){throw new ae("Invalid JSON-LD syntax; @context @container with @graph must "+"have no other values other than @id, @index, and @set","jsonld.SyntaxError",{code:"invalid container mapping",context:ie})}}else{ue&=oe.length<=(fe?2:1)}if(oe.includes("@type")){ve["@type"]=ve["@type"]||"@id";if(!["@id","@vocab"].includes(ve["@type"])){throw new ae("Invalid JSON-LD syntax; container: @type requires @type to be "+"@id or @vocab.","jsonld.SyntaxError",{code:"invalid type mapping",context:ie})}}}else{ue&=!ce(he["@container"]);ue&=oe.length<=1}ue&=oe.every((re=>se.includes(re)));ue&=!(fe&&oe.includes("@list"));if(!ue){throw new ae("Invalid JSON-LD syntax; @context @container value must be "+"one of the following: "+se.join(", "),"jsonld.SyntaxError",{code:"invalid container mapping",context:ie})}if(ve.reverse&&!oe.every((re=>["@index","@set"].includes(re)))){throw new ae("Invalid JSON-LD syntax; @context @container value for a @reverse "+"type definition must be @index or @set.","jsonld.SyntaxError",{code:"invalid reverse property",context:ie})}ve["@container"]=oe}if("@index"in he){if(!("@container"in he)||!ve["@container"].includes("@index")){throw new ae("Invalid JSON-LD syntax; @index without @index in @container: "+`"${he["@index"]}" on term "${oe}".`,"jsonld.SyntaxError",{code:"invalid term definition",context:ie})}if(!le(he["@index"])||he["@index"].indexOf("@")===0){throw new ae("Invalid JSON-LD syntax; @index must expand to an IRI: "+`"${he["@index"]}" on term "${oe}".`,"jsonld.SyntaxError",{code:"invalid term definition",context:ie})}ve["@index"]=he["@index"]}if("@context"in he){ve["@context"]=he["@context"]}if("@language"in he&&!("@type"in he)){let re=he["@language"];if(re!==null&&!le(re)){throw new ae("Invalid JSON-LD syntax; @context @language value must be "+"a string or null.","jsonld.SyntaxError",{code:"invalid language mapping",context:ie})}if(re!==null){re=re.toLowerCase()}ve["@language"]=re}if("@prefix"in he){if(oe.match(/:|\//)){throw new ae("Invalid JSON-LD syntax; @context @prefix used on a compact IRI term","jsonld.SyntaxError",{code:"invalid term definition",context:ie})}if(_e.isKeyword(ve["@id"])){throw new ae("Invalid JSON-LD syntax; keywords may not be used as prefixes","jsonld.SyntaxError",{code:"invalid term definition",context:ie})}if(typeof he["@prefix"]==="boolean"){ve._prefix=he["@prefix"]===true}else{throw new ae("Invalid JSON-LD syntax; @context value for @prefix must be boolean","jsonld.SyntaxError",{code:"invalid @prefix value",context:ie})}}if("@direction"in he){const re=he["@direction"];if(re!==null&&re!=="ltr"&&re!=="rtl"){throw new ae("Invalid JSON-LD syntax; @direction value must be "+'null, "ltr", or "rtl".',"jsonld.SyntaxError",{code:"invalid base direction",context:ie})}ve["@direction"]=re}if("@nest"in he){const re=he["@nest"];if(!le(re)||re!=="@nest"&&re.indexOf("@")===0){throw new ae("Invalid JSON-LD syntax; @context @nest value must be "+"a string which is not a keyword other than @nest.","jsonld.SyntaxError",{code:"invalid @nest value",context:ie})}ve["@nest"]=re} +!function(pe,Ae){true?R.exports=Ae():0}(this,(()=>(()=>{var R={8599:R=>{"use strict";const{AbortController:pe,AbortSignal:Ae}="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0;R.exports=pe,R.exports.AbortSignal=Ae,R.exports.default=pe},9742:(R,pe)=>{"use strict";pe.byteLength=function(R){var pe=a(R),Ae=pe[0],he=pe[1];return 3*(Ae+he)/4-he},pe.toByteArray=function(R){var pe,Ae,me=a(R),ye=me[0],ve=me[1],be=new ge(function(R,pe,Ae){return 3*(pe+Ae)/4-Ae}(0,ye,ve)),Ee=0,Ce=ve>0?ye-4:ye;for(Ae=0;Ae>16&255,be[Ee++]=pe>>8&255,be[Ee++]=255&pe;return 2===ve&&(pe=he[R.charCodeAt(Ae)]<<2|he[R.charCodeAt(Ae+1)]>>4,be[Ee++]=255&pe),1===ve&&(pe=he[R.charCodeAt(Ae)]<<10|he[R.charCodeAt(Ae+1)]<<4|he[R.charCodeAt(Ae+2)]>>2,be[Ee++]=pe>>8&255,be[Ee++]=255&pe),be},pe.fromByteArray=function(R){for(var pe,he=R.length,ge=he%3,me=[],ye=16383,ve=0,be=he-ge;vebe?be:ve+ye));return 1===ge?(pe=R[he-1],me.push(Ae[pe>>2]+Ae[pe<<4&63]+"==")):2===ge&&(pe=(R[he-2]<<8)+R[he-1],me.push(Ae[pe>>10]+Ae[pe>>4&63]+Ae[pe<<2&63]+"=")),me.join("")};for(var Ae=[],he=[],ge="undefined"!=typeof Uint8Array?Uint8Array:Array,me="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ye=0;ye<64;++ye)Ae[ye]=me[ye],he[me.charCodeAt(ye)]=ye;function a(R){var pe=R.length;if(pe%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var Ae=R.indexOf("=");return-1===Ae&&(Ae=pe),[Ae,Ae===pe?0:4-Ae%4]}function l(R,pe,he){for(var ge,me,ye=[],ve=pe;ve>18&63]+Ae[me>>12&63]+Ae[me>>6&63]+Ae[63&me]);return ye.join("")}he["-".charCodeAt(0)]=62,he["_".charCodeAt(0)]=63},8764:(R,pe,Ae)=>{"use strict";const he=Ae(9742),ge=Ae(645),me="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;pe.Buffer=l,pe.SlowBuffer=function(R){return+R!=R&&(R=0),l.alloc(+R)},pe.INSPECT_MAX_BYTES=50;const ye=2147483647;function a(R){if(R>ye)throw new RangeError('The value "'+R+'" is invalid for option "size"');const pe=new Uint8Array(R);return Object.setPrototypeOf(pe,l.prototype),pe}function l(R,pe,Ae){if("number"==typeof R){if("string"==typeof pe)throw new TypeError('The "string" argument must be of type string. Received type number');return f(R)}return u(R,pe,Ae)}function u(R,pe,Ae){if("string"==typeof R)return function(R,pe){if("string"==typeof pe&&""!==pe||(pe="utf8"),!l.isEncoding(pe))throw new TypeError("Unknown encoding: "+pe);const Ae=0|b(R,pe);let he=a(Ae);const ge=he.write(R,pe);return ge!==Ae&&(he=he.slice(0,ge)),he}(R,pe);if(ArrayBuffer.isView(R))return function(R){if(z(R,Uint8Array)){const pe=new Uint8Array(R);return d(pe.buffer,pe.byteOffset,pe.byteLength)}return h(R)}(R);if(null==R)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof R);if(z(R,ArrayBuffer)||R&&z(R.buffer,ArrayBuffer))return d(R,pe,Ae);if("undefined"!=typeof SharedArrayBuffer&&(z(R,SharedArrayBuffer)||R&&z(R.buffer,SharedArrayBuffer)))return d(R,pe,Ae);if("number"==typeof R)throw new TypeError('The "value" argument must not be of type number. Received type number');const he=R.valueOf&&R.valueOf();if(null!=he&&he!==R)return l.from(he,pe,Ae);const ge=function(R){if(l.isBuffer(R)){const pe=0|p(R.length),Ae=a(pe);return 0===Ae.length||R.copy(Ae,0,0,pe),Ae}return void 0!==R.length?"number"!=typeof R.length||X(R.length)?a(0):h(R):"Buffer"===R.type&&Array.isArray(R.data)?h(R.data):void 0}(R);if(ge)return ge;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof R[Symbol.toPrimitive])return l.from(R[Symbol.toPrimitive]("string"),pe,Ae);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof R)}function c(R){if("number"!=typeof R)throw new TypeError('"size" argument must be of type number');if(R<0)throw new RangeError('The value "'+R+'" is invalid for option "size"')}function f(R){return c(R),a(R<0?0:0|p(R))}function h(R){const pe=R.length<0?0:0|p(R.length),Ae=a(pe);for(let he=0;he=ye)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ye.toString(16)+" bytes");return 0|R}function b(R,pe){if(l.isBuffer(R))return R.length;if(ArrayBuffer.isView(R)||z(R,ArrayBuffer))return R.byteLength;if("string"!=typeof R)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof R);const Ae=R.length,he=arguments.length>2&&!0===arguments[2];if(!he&&0===Ae)return 0;let ge=!1;for(;;)switch(pe){case"ascii":case"latin1":case"binary":return Ae;case"utf8":case"utf-8":return V(R).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*Ae;case"hex":return Ae>>>1;case"base64":return K(R).length;default:if(ge)return he?-1:V(R).length;pe=(""+pe).toLowerCase(),ge=!0}}function y(R,pe,Ae){let he=!1;if((void 0===pe||pe<0)&&(pe=0),pe>this.length)return"";if((void 0===Ae||Ae>this.length)&&(Ae=this.length),Ae<=0)return"";if((Ae>>>=0)<=(pe>>>=0))return"";for(R||(R="utf8");;)switch(R){case"hex":return L(this,pe,Ae);case"utf8":case"utf-8":return T(this,pe,Ae);case"ascii":return B(this,pe,Ae);case"latin1":case"binary":return N(this,pe,Ae);case"base64":return I(this,pe,Ae);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return U(this,pe,Ae);default:if(he)throw new TypeError("Unknown encoding: "+R);R=(R+"").toLowerCase(),he=!0}}function g(R,pe,Ae){const he=R[pe];R[pe]=R[Ae],R[Ae]=he}function w(R,pe,Ae,he,ge){if(0===R.length)return-1;if("string"==typeof Ae?(he=Ae,Ae=0):Ae>2147483647?Ae=2147483647:Ae<-2147483648&&(Ae=-2147483648),X(Ae=+Ae)&&(Ae=ge?0:R.length-1),Ae<0&&(Ae=R.length+Ae),Ae>=R.length){if(ge)return-1;Ae=R.length-1}else if(Ae<0){if(!ge)return-1;Ae=0}if("string"==typeof pe&&(pe=l.from(pe,he)),l.isBuffer(pe))return 0===pe.length?-1:_(R,pe,Ae,he,ge);if("number"==typeof pe)return pe&=255,"function"==typeof Uint8Array.prototype.indexOf?ge?Uint8Array.prototype.indexOf.call(R,pe,Ae):Uint8Array.prototype.lastIndexOf.call(R,pe,Ae):_(R,[pe],Ae,he,ge);throw new TypeError("val must be string, number or Buffer")}function _(R,pe,Ae,he,ge){let me,ye=1,ve=R.length,be=pe.length;if(void 0!==he&&("ucs2"===(he=String(he).toLowerCase())||"ucs-2"===he||"utf16le"===he||"utf-16le"===he)){if(R.length<2||pe.length<2)return-1;ye=2,ve/=2,be/=2,Ae/=2}function u(R,pe){return 1===ye?R[pe]:R.readUInt16BE(pe*ye)}if(ge){let he=-1;for(me=Ae;meve&&(Ae=ve-be),me=Ae;me>=0;me--){let Ae=!0;for(let he=0;hege&&(he=ge):he=ge;const me=pe.length;let ye;for(he>me/2&&(he=me/2),ye=0;ye>8,ge=Ae%256,me.push(ge),me.push(he);return me}(pe,R.length-Ae),R,Ae,he)}function I(R,pe,Ae){return 0===pe&&Ae===R.length?he.fromByteArray(R):he.fromByteArray(R.slice(pe,Ae))}function T(R,pe,Ae){Ae=Math.min(R.length,Ae);const he=[];let ge=pe;for(;ge239?4:pe>223?3:pe>191?2:1;if(ge+ye<=Ae){let Ae,he,ve,be;switch(ye){case 1:pe<128&&(me=pe);break;case 2:Ae=R[ge+1],128==(192&Ae)&&(be=(31&pe)<<6|63&Ae,be>127&&(me=be));break;case 3:Ae=R[ge+1],he=R[ge+2],128==(192&Ae)&&128==(192&he)&&(be=(15&pe)<<12|(63&Ae)<<6|63&he,be>2047&&(be<55296||be>57343)&&(me=be));break;case 4:Ae=R[ge+1],he=R[ge+2],ve=R[ge+3],128==(192&Ae)&&128==(192&he)&&128==(192&ve)&&(be=(15&pe)<<18|(63&Ae)<<12|(63&he)<<6|63&ve,be>65535&&be<1114112&&(me=be))}}null===me?(me=65533,ye=1):me>65535&&(me-=65536,he.push(me>>>10&1023|55296),me=56320|1023&me),he.push(me),ge+=ye}return function(R){const pe=R.length;if(pe<=ve)return String.fromCharCode.apply(String,R);let Ae="",he=0;for(;hehe.length?(l.isBuffer(pe)||(pe=l.from(pe)),pe.copy(he,ge)):Uint8Array.prototype.set.call(he,pe,ge);else{if(!l.isBuffer(pe))throw new TypeError('"list" argument must be an Array of Buffers');pe.copy(he,ge)}ge+=pe.length}return he},l.byteLength=b,l.prototype._isBuffer=!0,l.prototype.swap16=function(){const R=this.length;if(R%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let pe=0;peAe&&(R+=" ... "),""},me&&(l.prototype[me]=l.prototype.inspect),l.prototype.compare=function(R,pe,Ae,he,ge){if(z(R,Uint8Array)&&(R=l.from(R,R.offset,R.byteLength)),!l.isBuffer(R))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof R);if(void 0===pe&&(pe=0),void 0===Ae&&(Ae=R?R.length:0),void 0===he&&(he=0),void 0===ge&&(ge=this.length),pe<0||Ae>R.length||he<0||ge>this.length)throw new RangeError("out of range index");if(he>=ge&&pe>=Ae)return 0;if(he>=ge)return-1;if(pe>=Ae)return 1;if(this===R)return 0;let me=(ge>>>=0)-(he>>>=0),ye=(Ae>>>=0)-(pe>>>=0);const ve=Math.min(me,ye),be=this.slice(he,ge),Ee=R.slice(pe,Ae);for(let R=0;R>>=0,isFinite(Ae)?(Ae>>>=0,void 0===he&&(he="utf8")):(he=Ae,Ae=void 0)}const ge=this.length-pe;if((void 0===Ae||Ae>ge)&&(Ae=ge),R.length>0&&(Ae<0||pe<0)||pe>this.length)throw new RangeError("Attempt to write outside buffer bounds");he||(he="utf8");let me=!1;for(;;)switch(he){case"hex":return m(this,R,pe,Ae);case"utf8":case"utf-8":return E(this,R,pe,Ae);case"ascii":case"latin1":case"binary":return S(this,R,pe,Ae);case"base64":return v(this,R,pe,Ae);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return A(this,R,pe,Ae);default:if(me)throw new TypeError("Unknown encoding: "+he);he=(""+he).toLowerCase(),me=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const ve=4096;function B(R,pe,Ae){let he="";Ae=Math.min(R.length,Ae);for(let ge=pe;gehe)&&(Ae=he);let ge="";for(let he=pe;heAe)throw new RangeError("Trying to access beyond buffer length")}function O(R,pe,Ae,he,ge,me){if(!l.isBuffer(R))throw new TypeError('"buffer" argument must be a Buffer instance');if(pe>ge||peR.length)throw new RangeError("Index out of range")}function x(R,pe,Ae,he,ge){W(pe,he,ge,R,Ae,7);let me=Number(pe&BigInt(4294967295));R[Ae++]=me,me>>=8,R[Ae++]=me,me>>=8,R[Ae++]=me,me>>=8,R[Ae++]=me;let ye=Number(pe>>BigInt(32)&BigInt(4294967295));return R[Ae++]=ye,ye>>=8,R[Ae++]=ye,ye>>=8,R[Ae++]=ye,ye>>=8,R[Ae++]=ye,Ae}function k(R,pe,Ae,he,ge){W(pe,he,ge,R,Ae,7);let me=Number(pe&BigInt(4294967295));R[Ae+7]=me,me>>=8,R[Ae+6]=me,me>>=8,R[Ae+5]=me,me>>=8,R[Ae+4]=me;let ye=Number(pe>>BigInt(32)&BigInt(4294967295));return R[Ae+3]=ye,ye>>=8,R[Ae+2]=ye,ye>>=8,R[Ae+1]=ye,ye>>=8,R[Ae]=ye,Ae+8}function P(R,pe,Ae,he,ge,me){if(Ae+he>R.length)throw new RangeError("Index out of range");if(Ae<0)throw new RangeError("Index out of range")}function j(R,pe,Ae,he,me){return pe=+pe,Ae>>>=0,me||P(R,0,Ae,4),ge.write(R,pe,Ae,he,23,4),Ae+4}function D(R,pe,Ae,he,me){return pe=+pe,Ae>>>=0,me||P(R,0,Ae,8),ge.write(R,pe,Ae,he,52,8),Ae+8}l.prototype.slice=function(R,pe){const Ae=this.length;(R=~~R)<0?(R+=Ae)<0&&(R=0):R>Ae&&(R=Ae),(pe=void 0===pe?Ae:~~pe)<0?(pe+=Ae)<0&&(pe=0):pe>Ae&&(pe=Ae),pe>>=0,pe>>>=0,Ae||M(R,pe,this.length);let he=this[R],ge=1,me=0;for(;++me>>=0,pe>>>=0,Ae||M(R,pe,this.length);let he=this[R+--pe],ge=1;for(;pe>0&&(ge*=256);)he+=this[R+--pe]*ge;return he},l.prototype.readUint8=l.prototype.readUInt8=function(R,pe){return R>>>=0,pe||M(R,1,this.length),this[R]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(R,pe){return R>>>=0,pe||M(R,2,this.length),this[R]|this[R+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(R,pe){return R>>>=0,pe||M(R,2,this.length),this[R]<<8|this[R+1]},l.prototype.readUint32LE=l.prototype.readUInt32LE=function(R,pe){return R>>>=0,pe||M(R,4,this.length),(this[R]|this[R+1]<<8|this[R+2]<<16)+16777216*this[R+3]},l.prototype.readUint32BE=l.prototype.readUInt32BE=function(R,pe){return R>>>=0,pe||M(R,4,this.length),16777216*this[R]+(this[R+1]<<16|this[R+2]<<8|this[R+3])},l.prototype.readBigUInt64LE=Z((function(R){G(R>>>=0,"offset");const pe=this[R],Ae=this[R+7];void 0!==pe&&void 0!==Ae||Y(R,this.length-8);const he=pe+256*this[++R]+65536*this[++R]+this[++R]*2**24,ge=this[++R]+256*this[++R]+65536*this[++R]+Ae*2**24;return BigInt(he)+(BigInt(ge)<>>=0,"offset");const pe=this[R],Ae=this[R+7];void 0!==pe&&void 0!==Ae||Y(R,this.length-8);const he=pe*2**24+65536*this[++R]+256*this[++R]+this[++R],ge=this[++R]*2**24+65536*this[++R]+256*this[++R]+Ae;return(BigInt(he)<>>=0,pe>>>=0,Ae||M(R,pe,this.length);let he=this[R],ge=1,me=0;for(;++me=ge&&(he-=Math.pow(2,8*pe)),he},l.prototype.readIntBE=function(R,pe,Ae){R>>>=0,pe>>>=0,Ae||M(R,pe,this.length);let he=pe,ge=1,me=this[R+--he];for(;he>0&&(ge*=256);)me+=this[R+--he]*ge;return ge*=128,me>=ge&&(me-=Math.pow(2,8*pe)),me},l.prototype.readInt8=function(R,pe){return R>>>=0,pe||M(R,1,this.length),128&this[R]?-1*(255-this[R]+1):this[R]},l.prototype.readInt16LE=function(R,pe){R>>>=0,pe||M(R,2,this.length);const Ae=this[R]|this[R+1]<<8;return 32768&Ae?4294901760|Ae:Ae},l.prototype.readInt16BE=function(R,pe){R>>>=0,pe||M(R,2,this.length);const Ae=this[R+1]|this[R]<<8;return 32768&Ae?4294901760|Ae:Ae},l.prototype.readInt32LE=function(R,pe){return R>>>=0,pe||M(R,4,this.length),this[R]|this[R+1]<<8|this[R+2]<<16|this[R+3]<<24},l.prototype.readInt32BE=function(R,pe){return R>>>=0,pe||M(R,4,this.length),this[R]<<24|this[R+1]<<16|this[R+2]<<8|this[R+3]},l.prototype.readBigInt64LE=Z((function(R){G(R>>>=0,"offset");const pe=this[R],Ae=this[R+7];void 0!==pe&&void 0!==Ae||Y(R,this.length-8);const he=this[R+4]+256*this[R+5]+65536*this[R+6]+(Ae<<24);return(BigInt(he)<>>=0,"offset");const pe=this[R],Ae=this[R+7];void 0!==pe&&void 0!==Ae||Y(R,this.length-8);const he=(pe<<24)+65536*this[++R]+256*this[++R]+this[++R];return(BigInt(he)<>>=0,pe||M(R,4,this.length),ge.read(this,R,!0,23,4)},l.prototype.readFloatBE=function(R,pe){return R>>>=0,pe||M(R,4,this.length),ge.read(this,R,!1,23,4)},l.prototype.readDoubleLE=function(R,pe){return R>>>=0,pe||M(R,8,this.length),ge.read(this,R,!0,52,8)},l.prototype.readDoubleBE=function(R,pe){return R>>>=0,pe||M(R,8,this.length),ge.read(this,R,!1,52,8)},l.prototype.writeUintLE=l.prototype.writeUIntLE=function(R,pe,Ae,he){R=+R,pe>>>=0,Ae>>>=0,he||O(this,R,pe,Ae,Math.pow(2,8*Ae)-1,0);let ge=1,me=0;for(this[pe]=255&R;++me>>=0,Ae>>>=0,he||O(this,R,pe,Ae,Math.pow(2,8*Ae)-1,0);let ge=Ae-1,me=1;for(this[pe+ge]=255&R;--ge>=0&&(me*=256);)this[pe+ge]=R/me&255;return pe+Ae},l.prototype.writeUint8=l.prototype.writeUInt8=function(R,pe,Ae){return R=+R,pe>>>=0,Ae||O(this,R,pe,1,255,0),this[pe]=255&R,pe+1},l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(R,pe,Ae){return R=+R,pe>>>=0,Ae||O(this,R,pe,2,65535,0),this[pe]=255&R,this[pe+1]=R>>>8,pe+2},l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(R,pe,Ae){return R=+R,pe>>>=0,Ae||O(this,R,pe,2,65535,0),this[pe]=R>>>8,this[pe+1]=255&R,pe+2},l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(R,pe,Ae){return R=+R,pe>>>=0,Ae||O(this,R,pe,4,4294967295,0),this[pe+3]=R>>>24,this[pe+2]=R>>>16,this[pe+1]=R>>>8,this[pe]=255&R,pe+4},l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(R,pe,Ae){return R=+R,pe>>>=0,Ae||O(this,R,pe,4,4294967295,0),this[pe]=R>>>24,this[pe+1]=R>>>16,this[pe+2]=R>>>8,this[pe+3]=255&R,pe+4},l.prototype.writeBigUInt64LE=Z((function(R,pe=0){return x(this,R,pe,BigInt(0),BigInt("0xffffffffffffffff"))})),l.prototype.writeBigUInt64BE=Z((function(R,pe=0){return k(this,R,pe,BigInt(0),BigInt("0xffffffffffffffff"))})),l.prototype.writeIntLE=function(R,pe,Ae,he){if(R=+R,pe>>>=0,!he){const he=Math.pow(2,8*Ae-1);O(this,R,pe,Ae,he-1,-he)}let ge=0,me=1,ye=0;for(this[pe]=255&R;++ge>0)-ye&255;return pe+Ae},l.prototype.writeIntBE=function(R,pe,Ae,he){if(R=+R,pe>>>=0,!he){const he=Math.pow(2,8*Ae-1);O(this,R,pe,Ae,he-1,-he)}let ge=Ae-1,me=1,ye=0;for(this[pe+ge]=255&R;--ge>=0&&(me*=256);)R<0&&0===ye&&0!==this[pe+ge+1]&&(ye=1),this[pe+ge]=(R/me>>0)-ye&255;return pe+Ae},l.prototype.writeInt8=function(R,pe,Ae){return R=+R,pe>>>=0,Ae||O(this,R,pe,1,127,-128),R<0&&(R=255+R+1),this[pe]=255&R,pe+1},l.prototype.writeInt16LE=function(R,pe,Ae){return R=+R,pe>>>=0,Ae||O(this,R,pe,2,32767,-32768),this[pe]=255&R,this[pe+1]=R>>>8,pe+2},l.prototype.writeInt16BE=function(R,pe,Ae){return R=+R,pe>>>=0,Ae||O(this,R,pe,2,32767,-32768),this[pe]=R>>>8,this[pe+1]=255&R,pe+2},l.prototype.writeInt32LE=function(R,pe,Ae){return R=+R,pe>>>=0,Ae||O(this,R,pe,4,2147483647,-2147483648),this[pe]=255&R,this[pe+1]=R>>>8,this[pe+2]=R>>>16,this[pe+3]=R>>>24,pe+4},l.prototype.writeInt32BE=function(R,pe,Ae){return R=+R,pe>>>=0,Ae||O(this,R,pe,4,2147483647,-2147483648),R<0&&(R=4294967295+R+1),this[pe]=R>>>24,this[pe+1]=R>>>16,this[pe+2]=R>>>8,this[pe+3]=255&R,pe+4},l.prototype.writeBigInt64LE=Z((function(R,pe=0){return x(this,R,pe,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),l.prototype.writeBigInt64BE=Z((function(R,pe=0){return k(this,R,pe,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),l.prototype.writeFloatLE=function(R,pe,Ae){return j(this,R,pe,!0,Ae)},l.prototype.writeFloatBE=function(R,pe,Ae){return j(this,R,pe,!1,Ae)},l.prototype.writeDoubleLE=function(R,pe,Ae){return D(this,R,pe,!0,Ae)},l.prototype.writeDoubleBE=function(R,pe,Ae){return D(this,R,pe,!1,Ae)},l.prototype.copy=function(R,pe,Ae,he){if(!l.isBuffer(R))throw new TypeError("argument should be a Buffer");if(Ae||(Ae=0),he||0===he||(he=this.length),pe>=R.length&&(pe=R.length),pe||(pe=0),he>0&&he=this.length)throw new RangeError("Index out of range");if(he<0)throw new RangeError("sourceEnd out of bounds");he>this.length&&(he=this.length),R.length-pe>>=0,Ae=void 0===Ae?this.length:Ae>>>0,R||(R=0),"number"==typeof R)for(ge=pe;ge=he+4;Ae-=3)pe=`_${R.slice(Ae-3,Ae)}${pe}`;return`${R.slice(0,Ae)}${pe}`}function W(R,pe,Ae,he,ge,me){if(R>Ae||R3?0===pe||pe===BigInt(0)?`>= 0${he} and < 2${he} ** ${8*(me+1)}${he}`:`>= -(2${he} ** ${8*(me+1)-1}${he}) and < 2 ** ${8*(me+1)-1}${he}`:`>= ${pe}${he} and <= ${Ae}${he}`,new be.ERR_OUT_OF_RANGE("value",ge,R)}!function(R,pe,Ae){G(pe,"offset"),void 0!==R[pe]&&void 0!==R[pe+Ae]||Y(pe,R.length-(Ae+1))}(he,ge,me)}function G(R,pe){if("number"!=typeof R)throw new be.ERR_INVALID_ARG_TYPE(pe,"number",R)}function Y(R,pe,Ae){if(Math.floor(R)!==R)throw G(R,Ae),new be.ERR_OUT_OF_RANGE(Ae||"offset","an integer",R);if(pe<0)throw new be.ERR_BUFFER_OUT_OF_BOUNDS;throw new be.ERR_OUT_OF_RANGE(Ae||"offset",`>= ${Ae?1:0} and <= ${pe}`,R)}C("ERR_BUFFER_OUT_OF_BOUNDS",(function(R){return R?`${R} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),C("ERR_INVALID_ARG_TYPE",(function(R,pe){return`The "${R}" argument must be of type number. Received type ${typeof pe}`}),TypeError),C("ERR_OUT_OF_RANGE",(function(R,pe,Ae){let he=`The value of "${R}" is out of range.`,ge=Ae;return Number.isInteger(Ae)&&Math.abs(Ae)>2**32?ge=$(String(Ae)):"bigint"==typeof Ae&&(ge=String(Ae),(Ae>BigInt(2)**BigInt(32)||Ae<-(BigInt(2)**BigInt(32)))&&(ge=$(ge)),ge+="n"),he+=` It must be ${pe}. Received ${ge}`,he}),RangeError);const Ee=/[^+/0-9A-Za-z-_]/g;function V(R,pe){let Ae;pe=pe||1/0;const he=R.length;let ge=null;const me=[];for(let ye=0;ye55295&&Ae<57344){if(!ge){if(Ae>56319){(pe-=3)>-1&&me.push(239,191,189);continue}if(ye+1===he){(pe-=3)>-1&&me.push(239,191,189);continue}ge=Ae;continue}if(Ae<56320){(pe-=3)>-1&&me.push(239,191,189),ge=Ae;continue}Ae=65536+(ge-55296<<10|Ae-56320)}else ge&&(pe-=3)>-1&&me.push(239,191,189);if(ge=null,Ae<128){if((pe-=1)<0)break;me.push(Ae)}else if(Ae<2048){if((pe-=2)<0)break;me.push(Ae>>6|192,63&Ae|128)}else if(Ae<65536){if((pe-=3)<0)break;me.push(Ae>>12|224,Ae>>6&63|128,63&Ae|128)}else{if(!(Ae<1114112))throw new Error("Invalid code point");if((pe-=4)<0)break;me.push(Ae>>18|240,Ae>>12&63|128,Ae>>6&63|128,63&Ae|128)}}return me}function K(R){return he.toByteArray(function(R){if((R=(R=R.split("=")[0]).trim().replace(Ee,"")).length<2)return"";for(;R.length%4!=0;)R+="=";return R}(R))}function q(R,pe,Ae,he){let ge;for(ge=0;ge=pe.length||ge>=R.length);++ge)pe[ge+Ae]=R[ge];return ge}function z(R,pe){return R instanceof pe||null!=R&&null!=R.constructor&&null!=R.constructor.name&&R.constructor.name===pe.name}function X(R){return R!=R}const Ce=function(){const R="0123456789abcdef",pe=new Array(256);for(let Ae=0;Ae<16;++Ae){const he=16*Ae;for(let ge=0;ge<16;++ge)pe[he+ge]=R[Ae]+R[ge]}return pe}();function Z(R){return"undefined"==typeof BigInt?Q:R}function Q(){throw new Error("BigInt not supported")}},2141:(R,pe,Ae)=>{"use strict";const he=Ae(2020),ge=Ae(4694),me=Ae(6774),ye=Ae(4666),ve=Ae(9032),be=Ae(4785),Ee=Ae(3070),Ce=Ae(8112);R.exports={Commented:he,Diagnose:ge,Decoder:me,Encoder:ye,Simple:ve,Tagged:be,Map:Ee,SharedValueEncoder:Ce,comment:he.comment,decodeAll:me.decodeAll,decodeFirst:me.decodeFirst,decodeAllSync:me.decodeAllSync,decodeFirstSync:me.decodeFirstSync,diagnose:ge.diagnose,encode:ye.encode,encodeCanonical:ye.encodeCanonical,encodeOne:ye.encodeOne,encodeAsync:ye.encodeAsync,decode:me.decodeFirstSync,leveldb:{decode:me.decodeFirstSync,encode:ye.encode,buffer:!0,name:"cbor"},reset(){ye.reset(),be.reset()}}},2020:(R,pe,Ae)=>{"use strict";const he=Ae(2830),ge=Ae(9873),me=Ae(6774),ye=Ae(4202),{MT:ve,NUMBYTES:be,SYMS:Ee}=Ae(9066),{Buffer:Ce}=Ae(8764);function f(R){return R>1?"s":""}class h extends he.Transform{constructor(R={}){const{depth:pe=1,max_depth:Ae=10,no_summary:he=!1,tags:ge={},preferWeb:ve,encoding:be,...Ee}=R;super({...Ee,readableObjectMode:!1,writableObjectMode:!1}),this.depth=pe,this.max_depth=Ae,this.all=new ye,ge[24]||(ge[24]=this._tag_24.bind(this)),this.parser=new me({tags:ge,max_depth:Ae,preferWeb:ve,encoding:be}),this.parser.on("value",this._on_value.bind(this)),this.parser.on("start",this._on_start.bind(this)),this.parser.on("start-string",this._on_start_string.bind(this)),this.parser.on("stop",this._on_stop.bind(this)),this.parser.on("more-bytes",this._on_more.bind(this)),this.parser.on("error",this._on_error.bind(this)),he||this.parser.on("data",this._on_data.bind(this)),this.parser.bs.on("read",this._on_read.bind(this))}_tag_24(R){const pe=new h({depth:this.depth+1,no_summary:!0});pe.on("data",(R=>this.push(R))),pe.on("error",(R=>this.emit("error",R))),pe.end(R)}_transform(R,pe,Ae){this.parser.write(R,pe,Ae)}_flush(R){return this.parser._flush(R)}static comment(R,pe={},Ae=null){if(null==R)throw new Error("input required");({options:pe,cb:Ae}=function(R,pe){switch(typeof R){case"function":return{options:{},cb:R};case"string":return{options:{encoding:R},cb:pe};case"number":return{options:{max_depth:R},cb:pe};case"object":return{options:R||{},cb:pe};default:throw new TypeError("Unknown option type")}}(pe,Ae));const he=new ye,{encoding:me="hex",...ve}=pe,be=new h(ve);let Ee=null;return"function"==typeof Ae?(be.on("end",(()=>{Ae(null,he.toString("utf8"))})),be.on("error",Ae)):Ee=new Promise(((R,pe)=>{be.on("end",(()=>{R(he.toString("utf8"))})),be.on("error",pe)})),be.pipe(he),ge.guessEncoding(R,me).pipe(be),Ee}_on_error(R){this.push("ERROR: "),this.push(R.toString()),this.push("\n")}_on_read(R){this.all.write(R);const pe=R.toString("hex");this.push(new Array(this.depth+1).join(" ")),this.push(pe);let Ae=2*(this.max_depth-this.depth)-pe.length;Ae<1&&(Ae=1),this.push(new Array(Ae+1).join(" ")),this.push("-- ")}_on_more(R,pe,Ae,he){let ge="";switch(this.depth++,R){case ve.POS_INT:ge="Positive number,";break;case ve.NEG_INT:ge="Negative number,";break;case ve.ARRAY:ge="Array, length";break;case ve.MAP:ge="Map, count";break;case ve.BYTE_STRING:ge="Bytes, length";break;case ve.UTF8_STRING:ge="String, length";break;case ve.SIMPLE_FLOAT:ge=1===pe?"Simple value,":"Float,"}this.push(`${ge} next ${pe} byte${f(pe)}\n`)}_on_start_string(R,pe,Ae,he){let ge="";switch(this.depth++,R){case ve.BYTE_STRING:ge=`Bytes, length: ${pe}`;break;case ve.UTF8_STRING:ge=`String, length: ${pe.toString()}`}this.push(`${ge}\n`)}_on_start(R,pe,Ae,he){switch(this.depth++,Ae){case ve.ARRAY:this.push(`[${he}], `);break;case ve.MAP:he%2?this.push(`{Val:${Math.floor(he/2)}}, `):this.push(`{Key:${Math.floor(he/2)}}, `)}switch(R){case ve.TAG:this.push(`Tag #${pe}`),24===pe&&this.push(" Encoded CBOR data item");break;case ve.ARRAY:pe===Ee.STREAM?this.push("Array (streaming)"):this.push(`Array, ${pe} item${f(pe)}`);break;case ve.MAP:pe===Ee.STREAM?this.push("Map (streaming)"):this.push(`Map, ${pe} pair${f(pe)}`);break;case ve.BYTE_STRING:this.push("Bytes (streaming)");break;case ve.UTF8_STRING:this.push("String (streaming)")}this.push("\n")}_on_stop(R){this.depth--}_on_value(R,pe,Ae,he){if(R!==Ee.BREAK)switch(pe){case ve.ARRAY:this.push(`[${Ae}], `);break;case ve.MAP:Ae%2?this.push(`{Val:${Math.floor(Ae/2)}}, `):this.push(`{Key:${Math.floor(Ae/2)}}, `)}const me=ge.cborValueToString(R,-1/0);switch("string"==typeof R||Ce.isBuffer(R)?(R.length>0&&(this.push(me),this.push("\n")),this.depth--):(this.push(me),this.push("\n")),he){case be.ONE:case be.TWO:case be.FOUR:case be.EIGHT:this.depth--}}_on_data(){this.push("0x"),this.push(this.all.read().toString("hex")),this.push("\n")}}R.exports=h},9066:(R,pe)=>{"use strict";pe.MT={POS_INT:0,NEG_INT:1,BYTE_STRING:2,UTF8_STRING:3,ARRAY:4,MAP:5,TAG:6,SIMPLE_FLOAT:7},pe.TAG={DATE_STRING:0,DATE_EPOCH:1,POS_BIGINT:2,NEG_BIGINT:3,DECIMAL_FRAC:4,BIGFLOAT:5,BASE64URL_EXPECTED:21,BASE64_EXPECTED:22,BASE16_EXPECTED:23,CBOR:24,URI:32,BASE64URL:33,BASE64:34,REGEXP:35,MIME:36,SET:258},pe.NUMBYTES={ZERO:0,ONE:24,TWO:25,FOUR:26,EIGHT:27,INDEFINITE:31},pe.SIMPLE={FALSE:20,TRUE:21,NULL:22,UNDEFINED:23},pe.SYMS={NULL:Symbol.for("github.com/hildjj/node-cbor/null"),UNDEFINED:Symbol.for("github.com/hildjj/node-cbor/undef"),PARENT:Symbol.for("github.com/hildjj/node-cbor/parent"),BREAK:Symbol.for("github.com/hildjj/node-cbor/break"),STREAM:Symbol.for("github.com/hildjj/node-cbor/stream")},pe.SHIFT32=4294967296,pe.BI={MINUS_ONE:BigInt(-1),NEG_MAX:BigInt(-1)-BigInt(Number.MAX_SAFE_INTEGER),MAXINT32:BigInt("0xffffffff"),MAXINT64:BigInt("0xffffffffffffffff"),SHIFT32:BigInt(pe.SHIFT32)}},6774:(R,pe,Ae)=>{"use strict";const he=Ae(71),ge=Ae(4785),me=Ae(9032),ye=Ae(9873),ve=Ae(4202),be=(Ae(2830),Ae(9066)),{MT:Ee,NUMBYTES:Ce,SYMS:we,BI:Ie}=be,{Buffer:_e}=Ae(8764),Be=Symbol("count"),Se=Symbol("major type"),Qe=Symbol("error"),xe=Symbol("not found");function w(R,pe,Ae){const he=[];return he[Be]=Ae,he[we.PARENT]=R,he[Se]=pe,he}function _(R,pe){const Ae=new ve;return Ae[Be]=-1,Ae[we.PARENT]=R,Ae[Se]=pe,Ae}class m extends Error{constructor(R,pe){super(`Unexpected data: 0x${R.toString(16)}`),this.name="UnexpectedDataError",this.byte=R,this.value=pe}}function E(R,pe){switch(typeof R){case"function":return{options:{},cb:R};case"string":return{options:{encoding:R},cb:pe};case"object":return{options:R||{},cb:pe};default:throw new TypeError("Unknown option type")}}class S extends he{constructor(R={}){const{tags:pe={},max_depth:Ae=-1,preferMap:he=!1,preferWeb:ge=!1,required:me=!1,encoding:ye="hex",extendedResults:be=!1,preventDuplicateKeys:Ee=!1,...Ce}=R;super({defaultEncoding:ye,...Ce}),this.running=!0,this.max_depth=Ae,this.tags=pe,this.preferMap=he,this.preferWeb=ge,this.extendedResults=be,this.required=me,this.preventDuplicateKeys=Ee,be&&(this.bs.on("read",this._onRead.bind(this)),this.valueBytes=new ve)}static nullcheck(R){switch(R){case we.NULL:return null;case we.UNDEFINED:return;case xe:throw new Error("Value not found");default:return R}}static decodeFirstSync(R,pe={}){if(null==R)throw new TypeError("input required");({options:pe}=E(pe));const{encoding:Ae="hex",...he}=pe,ge=new S(he),me=ye.guessEncoding(R,Ae),ve=ge._parse();let be=ve.next();for(;!be.done;){const R=me.read(be.value);if(null==R||R.length!==be.value)throw new Error("Insufficient data");ge.extendedResults&&ge.valueBytes.write(R),be=ve.next(R)}let Ee=null;if(ge.extendedResults)Ee=be.value,Ee.unused=me.read();else if(Ee=S.nullcheck(be.value),me.length>0){const R=me.read(1);throw me.unshift(R),new m(R[0],Ee)}return Ee}static decodeAllSync(R,pe={}){if(null==R)throw new TypeError("input required");({options:pe}=E(pe));const{encoding:Ae="hex",...he}=pe,ge=new S(he),me=ye.guessEncoding(R,Ae),ve=[];for(;me.length>0;){const R=ge._parse();let pe=R.next();for(;!pe.done;){const Ae=me.read(pe.value);if(null==Ae||Ae.length!==pe.value)throw new Error("Insufficient data");ge.extendedResults&&ge.valueBytes.write(Ae),pe=R.next(Ae)}ve.push(S.nullcheck(pe.value))}return ve}static decodeFirst(R,pe={},Ae=null){if(null==R)throw new TypeError("input required");({options:pe,cb:Ae}=E(pe,Ae));const{encoding:he="hex",required:ge=!1,...me}=pe,ve=new S(me);let be=xe;const Ee=ye.guessEncoding(R,he),Ce=new Promise(((R,pe)=>{ve.on("data",(R=>{be=S.nullcheck(R),ve.close()})),ve.once("error",(Ae=>ve.extendedResults&&Ae instanceof m?(be.unused=ve.bs.slice(),R(be)):(be!==xe&&(Ae.value=be),be=Qe,ve.close(),pe(Ae)))),ve.once("end",(()=>{switch(be){case xe:return ge?pe(new Error("No CBOR found")):R(be);case Qe:return;default:return R(be)}}))}));return"function"==typeof Ae&&Ce.then((R=>Ae(null,R)),Ae),Ee.pipe(ve),Ce}static decodeAll(R,pe={},Ae=null){if(null==R)throw new TypeError("input required");({options:pe,cb:Ae}=E(pe,Ae));const{encoding:he="hex",...ge}=pe,me=new S(ge),ve=[];me.on("data",(R=>ve.push(S.nullcheck(R))));const be=new Promise(((R,pe)=>{me.on("error",pe),me.on("end",(()=>R(ve)))}));return"function"==typeof Ae&&be.then((R=>Ae(void 0,R)),(R=>Ae(R,void 0))),ye.guessEncoding(R,he).pipe(me),be}close(){this.running=!1,this.__fresh=!0}_onRead(R){this.valueBytes.write(R)}*_parse(){let R=null,pe=0,Ae=null;for(;;){if(this.max_depth>=0&&pe>this.max_depth)throw new Error(`Maximum depth ${this.max_depth} exceeded`);const[he]=yield 1;if(!this.running)throw this.bs.unshift(_e.from([he])),new m(he);const be=he>>5,Qe=31&he,xe=null==R?void 0:R[Se],De=null==R?void 0:R.length;switch(Qe){case Ce.ONE:this.emit("more-bytes",be,1,xe,De),[Ae]=yield 1;break;case Ce.TWO:case Ce.FOUR:case Ce.EIGHT:{const R=1<{"use strict";const he=Ae(2830),ge=Ae(6774),me=Ae(9873),ye=Ae(4202),{MT:ve,SYMS:be}=Ae(9066);class u extends he.Transform{constructor(R={}){const{separator:pe="\n",stream_errors:Ae=!1,tags:he,max_depth:me,preferWeb:ye,encoding:ve,...be}=R;super({...be,readableObjectMode:!1,writableObjectMode:!1}),this.float_bytes=-1,this.separator=pe,this.stream_errors=Ae,this.parser=new ge({tags:he,max_depth:me,preferWeb:ye,encoding:ve}),this.parser.on("more-bytes",this._on_more.bind(this)),this.parser.on("value",this._on_value.bind(this)),this.parser.on("start",this._on_start.bind(this)),this.parser.on("stop",this._on_stop.bind(this)),this.parser.on("data",this._on_data.bind(this)),this.parser.on("error",this._on_error.bind(this))}_transform(R,pe,Ae){this.parser.write(R,pe,Ae)}_flush(R){this.parser._flush((pe=>this.stream_errors?(pe&&this._on_error(pe),R()):R(pe)))}static diagnose(R,pe={},Ae=null){if(null==R)throw new TypeError("input required");({options:pe,cb:Ae}=function(R,pe){switch(typeof R){case"function":return{options:{},cb:R};case"string":return{options:{encoding:R},cb:pe};case"object":return{options:R||{},cb:pe};default:throw new TypeError("Unknown option type")}}(pe,Ae));const{encoding:he="hex",...ge}=pe,ve=new ye,be=new u(ge);let Ee=null;return"function"==typeof Ae?(be.on("end",(()=>Ae(null,ve.toString("utf8")))),be.on("error",Ae)):Ee=new Promise(((R,pe)=>{be.on("end",(()=>R(ve.toString("utf8")))),be.on("error",pe)})),be.pipe(ve),me.guessEncoding(R,he).pipe(be),Ee}_on_error(R){this.stream_errors?this.push(R.toString()):this.emit("error",R)}_on_more(R,pe,Ae,he){R===ve.SIMPLE_FLOAT&&(this.float_bytes={2:1,4:2,8:3}[pe])}_fore(R,pe){switch(R){case ve.BYTE_STRING:case ve.UTF8_STRING:case ve.ARRAY:pe>0&&this.push(", ");break;case ve.MAP:pe>0&&(pe%2?this.push(": "):this.push(", "))}}_on_value(R,pe,Ae){if(R===be.BREAK)return;this._fore(pe,Ae);const he=this.float_bytes;this.float_bytes=-1,this.push(me.cborValueToString(R,he))}_on_start(R,pe,Ae,he){switch(this._fore(Ae,he),R){case ve.TAG:this.push(`${pe}(`);break;case ve.ARRAY:this.push("[");break;case ve.MAP:this.push("{");break;case ve.BYTE_STRING:case ve.UTF8_STRING:this.push("(")}pe===be.STREAM&&this.push("_ ")}_on_stop(R){switch(R){case ve.TAG:this.push(")");break;case ve.ARRAY:this.push("]");break;case ve.MAP:this.push("}");break;case ve.BYTE_STRING:case ve.UTF8_STRING:this.push(")")}}_on_data(){this.push(this.separator)}}R.exports=u},4666:(R,pe,Ae)=>{"use strict";const he=Ae(2830),ge=Ae(4202),me=Ae(9873),ye=Ae(9066),{MT:ve,NUMBYTES:be,SHIFT32:Ee,SIMPLE:Ce,SYMS:we,TAG:Ie,BI:_e}=ye,{Buffer:Be}=Ae(8764),Se=ve.SIMPLE_FLOAT<<5|be.TWO,Qe=ve.SIMPLE_FLOAT<<5|be.FOUR,xe=ve.SIMPLE_FLOAT<<5|be.EIGHT,De=ve.SIMPLE_FLOAT<<5|Ce.TRUE,ke=ve.SIMPLE_FLOAT<<5|Ce.FALSE,Oe=ve.SIMPLE_FLOAT<<5|Ce.UNDEFINED,Re=ve.SIMPLE_FLOAT<<5|Ce.NULL,Pe=Be.from([255]),Te=Be.from("f97e00","hex"),Ne=Be.from("f9fc00","hex"),Me=Be.from("f97c00","hex"),Fe=Be.from("f98000","hex"),je={};let Le={};class N extends he.Transform{constructor(R={}){const{canonical:pe=!1,encodeUndefined:Ae,disallowUndefinedKeys:he=!1,dateType:ge="number",collapseBigIntegers:me=!1,detectLoops:ye=!1,omitUndefinedProperties:ve=!1,genTypes:be=[],...Ee}=R;if(super({...Ee,readableObjectMode:!1,writableObjectMode:!0}),this.canonical=pe,this.encodeUndefined=Ae,this.disallowUndefinedKeys=he,this.dateType=function(R){if(!R)return"number";switch(R.toLowerCase()){case"number":return"number";case"float":return"float";case"int":case"integer":return"int";case"string":return"string"}throw new TypeError(`dateType invalid, got "${R}"`)}(ge),this.collapseBigIntegers=!!this.canonical||me,this.detectLoops=void 0,"boolean"==typeof ye)ye&&(this.detectLoops=new WeakSet);else{if(!(ye instanceof WeakSet))throw new TypeError("detectLoops must be boolean or WeakSet");this.detectLoops=ye}if(this.omitUndefinedProperties=ve,this.semanticTypes={...N.SEMANTIC_TYPES},Array.isArray(be))for(let R=0,pe=be.length;R{const Ae=typeof R[pe];return"function"!==Ae&&(!this.omitUndefinedProperties||"undefined"!==Ae)})),he={};if(this.canonical&&Ae.sort(((R,pe)=>{const Ae=he[R]||(he[R]=N.encode(R)),ge=he[pe]||(he[pe]=N.encode(pe));return Ae.compare(ge)})),pe.indefinite){if(!this._pushUInt8(ve.MAP<<5|be.INDEFINITE))return!1}else if(!this._pushInt(Ae.length,ve.MAP))return!1;let ge=null;for(let pe=0,me=Ae.length;pevoid 0!==pe))),Ae.indefinite){if(!R._pushUInt8(ve.MAP<<5|be.INDEFINITE))return!1}else if(!R._pushInt(he.length,ve.MAP))return!1;if(R.canonical){const pe=new N({genTypes:R.semanticTypes,canonical:R.canonical,detectLoops:Boolean(R.detectLoops),dateType:R.dateType,disallowUndefinedKeys:R.disallowUndefinedKeys,collapseBigIntegers:R.collapseBigIntegers}),Ae=new ge({highWaterMark:R.readableHighWaterMark});pe.pipe(Ae),he.sort((([R],[he])=>{pe.pushAny(R);const ge=Ae.read();pe.pushAny(he);const me=Ae.read();return ge.compare(me)}));for(const[pe,Ae]of he){if(R.disallowUndefinedKeys&&void 0===pe)throw new Error("Invalid Map key: undefined");if(!R.pushAny(pe)||!R.pushAny(Ae))return!1}}else for(const[pe,Ae]of he){if(R.disallowUndefinedKeys&&void 0===pe)throw new Error("Invalid Map key: undefined");if(!R.pushAny(pe)||!R.pushAny(Ae))return!1}return!(Ae.indefinite&&!R.push(Pe))}static _pushTypedArray(R,pe){let Ae=64,he=pe.BYTES_PER_ELEMENT;const{name:ge}=pe.constructor;return ge.startsWith("Float")?(Ae|=16,he/=2):ge.includes("U")||(Ae|=8),(ge.includes("Clamped")||1!==he&&!me.isBigEndian())&&(Ae|=4),Ae|={1:0,2:1,4:2,8:3}[he],!!R._pushTag(Ae)&&N._pushBuffer(R,Be.from(pe.buffer,pe.byteOffset,pe.byteLength))}static _pushArrayBuffer(R,pe){return N._pushBuffer(R,Be.from(pe))}static encodeIndefinite(R,pe,Ae={}){if(null==pe){if(null==this)throw new Error("No object to encode");pe=this}const{chunkSize:he=4096}=Ae;let ge=!0;const ye=typeof pe;let Ee=null;if("string"===ye){ge=ge&&R._pushUInt8(ve.UTF8_STRING<<5|be.INDEFINITE);let Ae=0;for(;Ae{const ge=[],me=new N(pe);me.on("data",(R=>ge.push(R))),me.on("error",he),me.on("finish",(()=>Ae(Be.concat(ge)))),me.pushAny(R),me.end()}))}static get SEMANTIC_TYPES(){return Le}static set SEMANTIC_TYPES(R){Le=R}static reset(){N.SEMANTIC_TYPES={...je}}}Object.assign(je,{Array:N.pushArray,Date:N._pushDate,Buffer:N._pushBuffer,[Be.name]:N._pushBuffer,Map:N._pushMap,NoFilter:N._pushNoFilter,[ge.name]:N._pushNoFilter,RegExp:N._pushRegexp,Set:N._pushSet,ArrayBuffer:N._pushArrayBuffer,Uint8ClampedArray:N._pushTypedArray,Uint8Array:N._pushTypedArray,Uint16Array:N._pushTypedArray,Uint32Array:N._pushTypedArray,Int8Array:N._pushTypedArray,Int16Array:N._pushTypedArray,Int32Array:N._pushTypedArray,Float32Array:N._pushTypedArray,Float64Array:N._pushTypedArray,URL:N._pushURL,Boolean:N._pushBoxed,Number:N._pushBoxed,String:N._pushBoxed}),"undefined"!=typeof BigUint64Array&&(je[BigUint64Array.name]=N._pushTypedArray),"undefined"!=typeof BigInt64Array&&(je[BigInt64Array.name]=N._pushTypedArray),N.reset(),R.exports=N},3070:(R,pe,Ae)=>{"use strict";const{Buffer:he}=Ae(8764),ge=Ae(4666),me=Ae(6774),{MT:ye}=Ae(9066);class a extends Map{constructor(R){super(R)}static _encode(R){return ge.encodeCanonical(R).toString("base64")}static _decode(R){return me.decodeFirstSync(R,"base64")}get(R){return super.get(a._encode(R))}set(R,pe){return super.set(a._encode(R),pe)}delete(R){return super.delete(a._encode(R))}has(R){return super.has(a._encode(R))}*keys(){for(const R of super.keys())yield a._decode(R)}*entries(){for(const R of super.entries())yield[a._decode(R[0]),R[1]]}[Symbol.iterator](){return this.entries()}forEach(R,pe){if("function"!=typeof R)throw new TypeError("Must be function");for(const pe of super.entries())R.call(this,pe[1],a._decode(pe[0]),this)}encodeCBOR(R){if(!R._pushInt(this.size,ye.MAP))return!1;if(R.canonical){const pe=Array.from(super.entries()).map((R=>[he.from(R[0],"base64"),R[1]]));pe.sort(((R,pe)=>R[0].compare(pe[0])));for(const Ae of pe)if(!R.push(Ae[0])||!R.pushAny(Ae[1]))return!1}else for(const pe of super.entries())if(!R.push(he.from(pe[0],"base64"))||!R.pushAny(pe[1]))return!1;return!0}}R.exports=a},1226:R=>{"use strict";class t{constructor(){this.clear()}clear(){this.map=new WeakMap,this.count=0,this.recording=!0}stop(){this.recording=!1}check(R){const pe=this.map.get(R);if(pe)return pe.length>1?pe[0]||this.recording?pe[1]:(pe[0]=!0,t.FIRST):this.recording?(pe.push(this.count++),pe[1]):t.NEVER;if(!this.recording)throw new Error("New object detected when not recording");return this.map.set(R,[!1]),t.NEVER}}t.NEVER=-1,t.FIRST=-2,R.exports=t},8112:(R,pe,Ae)=>{"use strict";const he=Ae(4666),ge=Ae(1226),{Buffer:me}=Ae(8764);class s extends he{constructor(R){super(R),this.valueSharing=new ge}_pushObject(R,pe){if(null!==R){const pe=this.valueSharing.check(R);switch(pe){case ge.FIRST:this._pushTag(28);break;case ge.NEVER:break;default:return this._pushTag(29)&&this._pushIntNum(pe)}}return super._pushObject(R,pe)}stopRecording(){this.valueSharing.stop()}clearRecording(){this.valueSharing.clear()}static encode(...R){const pe=new s;pe.on("data",(()=>{}));for(const Ae of R)pe.pushAny(Ae);return pe.stopRecording(),pe.removeAllListeners("data"),pe._encodeAll(R)}static encodeCanonical(...R){throw new Error("Cannot encode canonically in a SharedValueEncoder, which serializes objects multiple times.")}static encodeOne(R,pe){const Ae=new s(pe);return Ae.on("data",(()=>{})),Ae.pushAny(R),Ae.stopRecording(),Ae.removeAllListeners("data"),Ae._encodeAll([R])}static encodeAsync(R,pe){return new Promise(((Ae,he)=>{const ge=[],ye=new s(pe);ye.on("data",(()=>{})),ye.on("error",he),ye.on("finish",(()=>Ae(me.concat(ge)))),ye.pushAny(R),ye.stopRecording(),ye.removeAllListeners("data"),ye.on("data",(R=>ge.push(R))),ye.pushAny(R),ye.end()}))}}R.exports=s},9032:(R,pe,Ae)=>{"use strict";const{MT:he,SIMPLE:ge,SYMS:me}=Ae(9066);class s{constructor(R){if("number"!=typeof R)throw new Error("Invalid Simple type: "+typeof R);if(R<0||R>255||(0|R)!==R)throw new Error(`value must be a small positive integer: ${R}`);this.value=R}toString(){return`simple(${this.value})`}[Symbol.for("nodejs.util.inspect.custom")](R,pe){return`simple(${this.value})`}encodeCBOR(R){return R._pushInt(this.value,he.SIMPLE_FLOAT)}static isSimple(R){return R instanceof s}static decode(R,pe=!0,Ae=!1){switch(R){case ge.FALSE:return!1;case ge.TRUE:return!0;case ge.NULL:return pe?null:me.NULL;case ge.UNDEFINED:if(pe)return;return me.UNDEFINED;case-1:if(!pe||!Ae)throw new Error("Invalid BREAK");return me.BREAK;default:return new s(R)}}}R.exports=s},4785:(R,pe,Ae)=>{"use strict";const he=Ae(9066),ge=Ae(9873),me=Symbol("INTERNAL_JSON");function s(R,pe){if(ge.isBufferish(R))R.toJSON=pe;else if(Array.isArray(R))for(const Ae of R)s(Ae,pe);else if(R&&"object"==typeof R&&(!(R instanceof p)||R.tag<21||R.tag>23))for(const Ae of Object.values(R))s(Ae,pe)}function a(){return ge.base64(this)}function l(){return ge.base64url(this)}function u(){return this.toString("hex")}const ye={0:R=>new Date(R),1:R=>new Date(1e3*R),2:R=>ge.bufferToBigInt(R),3:R=>he.BI.MINUS_ONE-ge.bufferToBigInt(R),21:(R,pe)=>(ge.isBufferish(R)?pe[me]=l:s(R,l),pe),22:(R,pe)=>(ge.isBufferish(R)?pe[me]=a:s(R,a),pe),23:(R,pe)=>(ge.isBufferish(R)?pe[me]=u:s(R,u),pe),32:R=>new URL(R),33:(R,pe)=>{if(!R.match(/^[a-zA-Z0-9_-]+$/))throw new Error("Invalid base64url characters");const Ae=R.length%4;if(1===Ae)throw new Error("Invalid base64url length");if(2===Ae){if(-1==="AQgw".indexOf(R[R.length-1]))throw new Error("Invalid base64 padding")}else if(3===Ae&&-1==="AEIMQUYcgkosw048".indexOf(R[R.length-1]))throw new Error("Invalid base64 padding");return pe},34:(R,pe)=>{const Ae=R.match(/^[a-zA-Z0-9+/]+(?={0,2})$/);if(!Ae)throw new Error("Invalid base64 characters");if(R.length%4!=0)throw new Error("Invalid base64 length");if("="===Ae.groups.padding){if(-1==="AQgw".indexOf(R[R.length-2]))throw new Error("Invalid base64 padding")}else if("=="===Ae.groups.padding&&-1==="AEIMQUYcgkosw048".indexOf(R[R.length-3]))throw new Error("Invalid base64 padding");return pe},35:R=>new RegExp(R),258:R=>new Set(R)},ve={64:Uint8Array,65:Uint16Array,66:Uint32Array,68:Uint8ClampedArray,69:Uint16Array,70:Uint32Array,72:Int8Array,73:Int16Array,74:Int32Array,77:Int16Array,78:Int32Array,81:Float32Array,82:Float64Array,85:Float32Array,86:Float64Array};function h(R,pe){if(!ge.isBufferish(R))throw new TypeError("val not a buffer");const{tag:Ae}=pe,he=ve[Ae];if(!he)throw new Error(`Invalid typed array tag: ${Ae}`);const me=2**(((16&Ae)>>4)+(3&Ae));return!(4&Ae)!==ge.isBigEndian()&&me>1&&function(R,pe,Ae,he){const ge=new DataView(R),[me,ye]={2:[ge.getUint16,ge.setUint16],4:[ge.getUint32,ge.setUint32],8:[ge.getBigUint64,ge.setBigUint64]}[pe],ve=Ae+he;for(let R=Ae;R0?this.err=R.message:this.err=R,this}}static get TAGS(){return be}static set TAGS(R){be=R}static reset(){p.TAGS={...ye}}}p.INTERNAL_JSON=me,p.reset(),R.exports=p},9873:(R,pe,Ae)=>{"use strict";const{Buffer:he}=Ae(8764),ge=Ae(4202),me=Ae(2830),ye=Ae(9066),{NUMBYTES:ve,SHIFT32:be,BI:Ee,SYMS:Ce}=ye,we=new TextDecoder("utf8",{fatal:!0,ignoreBOM:!0});pe.utf8=R=>we.decode(R),pe.utf8.checksUTF8=!0,pe.isBufferish=function(R){return R&&"object"==typeof R&&(he.isBuffer(R)||R instanceof Uint8Array||R instanceof Uint8ClampedArray||R instanceof ArrayBuffer||R instanceof DataView)},pe.bufferishToBuffer=function(R){return he.isBuffer(R)?R:ArrayBuffer.isView(R)?he.from(R.buffer,R.byteOffset,R.byteLength):R instanceof ArrayBuffer?he.from(R):null},pe.parseCBORint=function(R,pe){switch(R){case ve.ONE:return pe.readUInt8(0);case ve.TWO:return pe.readUInt16BE(0);case ve.FOUR:return pe.readUInt32BE(0);case ve.EIGHT:{const R=pe.readUInt32BE(0),Ae=pe.readUInt32BE(4);return R>2097151?BigInt(R)*Ee.SHIFT32+BigInt(Ae):R*be+Ae}default:throw new Error(`Invalid additional info for int: ${R}`)}},pe.writeHalf=function(R,pe){const Ae=he.allocUnsafe(4);Ae.writeFloatBE(pe,0);const ge=Ae.readUInt32BE(0);if(0!=(8191&ge))return!1;let me=ge>>16&32768;const ye=ge>>23&255,ve=8388607≥if(ye>=113&&ye<=142)me+=(ye-112<<10)+(ve>>13);else{if(!(ye>=103&&ye<113))return!1;if(ve&(1<<126-ye)-1)return!1;me+=ve+8388608>>126-ye}return R.writeUInt16BE(me),!0},pe.parseHalf=function(R){const pe=128&R[0]?-1:1,Ae=(124&R[0])>>2,he=(3&R[0])<<8|R[1];return Ae?31===Ae?pe*(he?NaN:1/0):pe*2**(Ae-25)*(1024+he):5.960464477539063e-8*pe*he},pe.parseCBORfloat=function(R){switch(R.length){case 2:return pe.parseHalf(R);case 4:return R.readFloatBE(0);case 8:return R.readDoubleBE(0);default:throw new Error(`Invalid float size: ${R.length}`)}},pe.hex=function(R){return he.from(R.replace(/^0x/,""),"hex")},pe.bin=function(R){let pe=0,Ae=(R=R.replace(/\s/g,"")).length%8||8;const ge=[];for(;Ae<=R.length;)ge.push(parseInt(R.slice(pe,Ae),2)),pe=Ae,Ae+=8;return he.from(ge)},pe.arrayEqual=function(R,pe){return null==R&&null==pe||null!=R&&null!=pe&&R.length===pe.length&&R.every(((R,Ae)=>R===pe[Ae]))},pe.bufferToBigInt=function(R){return BigInt(`0x${R.toString("hex")}`)},pe.cborValueToString=function(R,Ae=-1){switch(typeof R){case"symbol":{switch(R){case Ce.NULL:return"null";case Ce.UNDEFINED:return"undefined";case Ce.BREAK:return"BREAK"}if(R.description)return R.description;const pe=R.toString().match(/^Symbol\((?.*)\)/);return pe&&pe.groups.name?pe.groups.name:"Symbol"}case"string":return JSON.stringify(R);case"bigint":return R.toString();case"number":{const pe=Object.is(R,-0)?"-0":String(R);return Ae>0?`${pe}_${Ae}`:pe}case"object":{if(!R)return"null";const he=pe.bufferishToBuffer(R);if(he){const R=he.toString("hex");return Ae===-1/0?R:`h'${R}'`}return R&&"function"==typeof R[Symbol.for("nodejs.util.inspect.custom")]?R[Symbol.for("nodejs.util.inspect.custom")]():Array.isArray(R)?"[]":"{}"}}return String(R)},pe.guessEncoding=function(R,Ae){if("string"==typeof R)return new ge(R,null==Ae?"hex":Ae);const he=pe.bufferishToBuffer(R);if(he)return new ge(he);if((ye=R)instanceof me.Readable||["read","on","pipe"].every((R=>"function"==typeof ye[R])))return R;var ye;throw new Error("Unknown input type")};const Ie={"=":"","+":"-","/":"_"};pe.base64url=function(R){return pe.bufferishToBuffer(R).toString("base64").replace(/[=+/]/g,(R=>Ie[R]))},pe.base64=function(R){return pe.bufferishToBuffer(R).toString("base64")},pe.isBigEndian=function(){const R=new Uint8Array(4);return!((new Uint32Array(R.buffer)[0]=1)&R[0])}},4202:(R,pe,Ae)=>{"use strict";const he=Ae(2830),{Buffer:ge}=Ae(8764),me=new TextDecoder("utf8",{fatal:!0,ignoreBOM:!0});class s extends he.Transform{constructor(R,pe,Ae={}){let he=null,me=null;switch(typeof R){case"object":ge.isBuffer(R)?he=R:R&&(Ae=R);break;case"string":he=R;break;case"undefined":break;default:throw new TypeError("Invalid input")}switch(typeof pe){case"object":pe&&(Ae=pe);break;case"string":me=pe;break;case"undefined":break;default:throw new TypeError("Invalid inputEncoding")}if(!Ae||"object"!=typeof Ae)throw new TypeError("Invalid options");null==he&&(he=Ae.input),null==me&&(me=Ae.inputEncoding),delete Ae.input,delete Ae.inputEncoding;const ye=null==Ae.watchPipe||Ae.watchPipe;delete Ae.watchPipe;const ve=Boolean(Ae.readError);delete Ae.readError,super(Ae),this.readError=ve,ye&&this.on("pipe",(R=>{const pe=R._readableState.objectMode;if(this.length>0&&pe!==this._readableState.objectMode)throw new Error("Do not switch objectMode in the middle of the stream");this._readableState.objectMode=pe,this._writableState.objectMode=pe})),null!=he&&this.end(he,me)}static isNoFilter(R){return R instanceof this}static compare(R,pe){if(!(R instanceof this))throw new TypeError("Arguments must be NoFilters");return R===pe?0:R.compare(pe)}static concat(R,pe){if(!Array.isArray(R))throw new TypeError("list argument must be an Array of NoFilters");if(0===R.length||0===pe)return ge.alloc(0);null==pe&&(pe=R.reduce(((R,pe)=>{if(!(pe instanceof s))throw new TypeError("list argument must be an Array of NoFilters");return R+pe.length}),0));let Ae=!0,he=!0;const me=R.map((R=>{if(!(R instanceof s))throw new TypeError("list argument must be an Array of NoFilters");const pe=R.slice();return ge.isBuffer(pe)?he=!1:Ae=!1,pe}));if(Ae)return ge.concat(me,pe);if(he)return[].concat(...me).slice(0,pe);throw new Error("Concatenating mixed object and byte streams not supported")}_transform(R,pe,Ae){this._readableState.objectMode||ge.isBuffer(R)||(R=ge.from(R,pe)),this.push(R),Ae()}_bufArray(){let R=this._readableState.buffer;if(!Array.isArray(R)){let pe=R.head;for(R=[];null!=pe;)R.push(pe.data),pe=pe.next}return R}read(R){const pe=super.read(R);if(null!=pe){if(this.emit("read",pe),this.readError&&pe.length{this.length>=R?ge(this.read(R)):this.writableFinished?me(new Error(`Stream finished before ${R} bytes were available`)):(pe=pe=>{this.length>=R&&ge(this.read(R))},Ae=()=>{me(new Error(`Stream finished before ${R} bytes were available`))},he=me,this.on("readable",pe),this.on("error",he),this.on("finish",Ae))})).finally((()=>{pe&&(this.removeListener("readable",pe),this.removeListener("error",he),this.removeListener("finish",Ae))}))}promise(R){let pe=!1;return new Promise(((Ae,he)=>{this.on("finish",(()=>{const he=this.read();null==R||pe||(pe=!0,R(null,he)),Ae(he)})),this.on("error",(Ae=>{null==R||pe||(pe=!0,R(Ae)),he(Ae)}))}))}compare(R){if(!(R instanceof s))throw new TypeError("Arguments must be NoFilters");if(this===R)return 0;const pe=this.slice(),Ae=R.slice();if(ge.isBuffer(pe)&&ge.isBuffer(Ae))return pe.compare(Ae);throw new Error("Cannot compare streams in object mode")}equals(R){return 0===this.compare(R)}slice(R,pe){if(this._readableState.objectMode)return this._bufArray().slice(R,pe);const Ae=this._bufArray();switch(Ae.length){case 0:return ge.alloc(0);case 1:return Ae[0].slice(R,pe);default:return ge.concat(Ae).slice(R,pe)}}get(R){return this.slice()[R]}toJSON(){const R=this.slice();return ge.isBuffer(R)?R.toJSON():R}toString(R,pe,Ae){const he=this.slice(pe,Ae);return ge.isBuffer(he)?R&&"utf8"!==R?he.toString(R):me.decode(he):JSON.stringify(he)}[Symbol.for("nodejs.util.inspect.custom")](R,pe){const Ae=this._bufArray().map((R=>ge.isBuffer(R)?pe.stylize(R.toString("hex"),"string"):JSON.stringify(R))).join(", ");return`${this.constructor.name} [${Ae}]`}get length(){return this._readableState.length}writeBigInt(R){let pe=R.toString(16);if(R<0){const Ae=BigInt(Math.floor(pe.length/2));pe=(R=(BigInt(1)<{"use strict";const he=Ae(2830),ge=Ae(4202);class o extends he.Transform{constructor(R){super(R),this._writableState.objectMode=!1,this._readableState.objectMode=!0,this.bs=new ge,this.__restart()}_transform(R,pe,Ae){for(this.bs.write(R);this.bs.length>=this.__needed;){let pe=null;const he=null===this.__needed?void 0:this.bs.read(this.__needed);try{pe=this.__parser.next(he)}catch(R){return Ae(R)}this.__needed&&(this.__fresh=!1),pe.done?(this.push(pe.value),this.__restart()):this.__needed=pe.value||1/0}return Ae()}*_parse(){throw new Error("Must be implemented in subclass")}__restart(){this.__needed=null,this.__parser=this._parse(),this.__fresh=!0}_flush(R){R(this.__fresh?null:new Error("unexpected end of input"))}}R.exports=o},7187:R=>{"use strict";var pe,Ae="object"==typeof Reflect?Reflect:null,he=Ae&&"function"==typeof Ae.apply?Ae.apply:function(R,pe,Ae){return Function.prototype.apply.call(R,pe,Ae)};pe=Ae&&"function"==typeof Ae.ownKeys?Ae.ownKeys:Object.getOwnPropertySymbols?function(R){return Object.getOwnPropertyNames(R).concat(Object.getOwnPropertySymbols(R))}:function(R){return Object.getOwnPropertyNames(R)};var ge=Number.isNaN||function(R){return R!=R};function o(){o.init.call(this)}R.exports=o,R.exports.once=function(R,pe){return new Promise((function(Ae,he){function i(Ae){R.removeListener(pe,o),he(Ae)}function o(){"function"==typeof R.removeListener&&R.removeListener("error",i),Ae([].slice.call(arguments))}b(R,pe,o,{once:!0}),"error"!==pe&&function(R,pe,Ae){"function"==typeof R.on&&b(R,"error",pe,{once:!0})}(R,i)}))},o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var me=10;function a(R){if("function"!=typeof R)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof R)}function l(R){return void 0===R._maxListeners?o.defaultMaxListeners:R._maxListeners}function u(R,pe,Ae,he){var ge,me,ye,ve;if(a(Ae),void 0===(me=R._events)?(me=R._events=Object.create(null),R._eventsCount=0):(void 0!==me.newListener&&(R.emit("newListener",pe,Ae.listener?Ae.listener:Ae),me=R._events),ye=me[pe]),void 0===ye)ye=me[pe]=Ae,++R._eventsCount;else if("function"==typeof ye?ye=me[pe]=he?[Ae,ye]:[ye,Ae]:he?ye.unshift(Ae):ye.push(Ae),(ge=l(R))>0&&ye.length>ge&&!ye.warned){ye.warned=!0;var be=new Error("Possible EventEmitter memory leak detected. "+ye.length+" "+String(pe)+" listeners added. Use emitter.setMaxListeners() to increase limit");be.name="MaxListenersExceededWarning",be.emitter=R,be.type=pe,be.count=ye.length,ve=be,console&&console.warn&&console.warn(ve)}return R}function c(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function f(R,pe,Ae){var he={fired:!1,wrapFn:void 0,target:R,type:pe,listener:Ae},ge=c.bind(he);return ge.listener=Ae,he.wrapFn=ge,ge}function h(R,pe,Ae){var he=R._events;if(void 0===he)return[];var ge=he[pe];return void 0===ge?[]:"function"==typeof ge?Ae?[ge.listener||ge]:[ge]:Ae?function(R){for(var pe=new Array(R.length),Ae=0;Ae0&&(ye=pe[0]),ye instanceof Error)throw ye;var ve=new Error("Unhandled error."+(ye?" ("+ye.message+")":""));throw ve.context=ye,ve}var be=me[R];if(void 0===be)return!1;if("function"==typeof be)he(be,this,pe);else{var Ee=be.length,Ce=p(be,Ee);for(Ae=0;Ae=0;me--)if(Ae[me]===pe||Ae[me].listener===pe){ye=Ae[me].listener,ge=me;break}if(ge<0)return this;0===ge?Ae.shift():function(R,pe){for(;pe+1=0;he--)this.removeListener(R,pe[he]);return this},o.prototype.listeners=function(R){return h(this,R,!0)},o.prototype.rawListeners=function(R){return h(this,R,!1)},o.listenerCount=function(R,pe){return"function"==typeof R.listenerCount?R.listenerCount(pe):d.call(R,pe)},o.prototype.listenerCount=d,o.prototype.eventNames=function(){return this._eventsCount>0?pe(this._events):[]}},645:(R,pe)=>{pe.read=function(R,pe,Ae,he,ge){var me,ye,ve=8*ge-he-1,be=(1<>1,Ce=-7,we=Ae?ge-1:0,Ie=Ae?-1:1,_e=R[pe+we];for(we+=Ie,me=_e&(1<<-Ce)-1,_e>>=-Ce,Ce+=ve;Ce>0;me=256*me+R[pe+we],we+=Ie,Ce-=8);for(ye=me&(1<<-Ce)-1,me>>=-Ce,Ce+=he;Ce>0;ye=256*ye+R[pe+we],we+=Ie,Ce-=8);if(0===me)me=1-Ee;else{if(me===be)return ye?NaN:1/0*(_e?-1:1);ye+=Math.pow(2,he),me-=Ee}return(_e?-1:1)*ye*Math.pow(2,me-he)},pe.write=function(R,pe,Ae,he,ge,me){var ye,ve,be,Ee=8*me-ge-1,Ce=(1<>1,Ie=23===ge?Math.pow(2,-24)-Math.pow(2,-77):0,_e=he?0:me-1,Be=he?1:-1,Se=pe<0||0===pe&&1/pe<0?1:0;for(pe=Math.abs(pe),isNaN(pe)||pe===1/0?(ve=isNaN(pe)?1:0,ye=Ce):(ye=Math.floor(Math.log(pe)/Math.LN2),pe*(be=Math.pow(2,-ye))<1&&(ye--,be*=2),(pe+=ye+we>=1?Ie/be:Ie*Math.pow(2,1-we))*be>=2&&(ye++,be/=2),ye+we>=Ce?(ve=0,ye=Ce):ye+we>=1?(ve=(pe*be-1)*Math.pow(2,ge),ye+=we):(ve=pe*Math.pow(2,we-1)*Math.pow(2,ge),ye=0));ge>=8;R[Ae+_e]=255&ve,_e+=Be,ve/=256,ge-=8);for(ye=ye<0;R[Ae+_e]=255&ye,_e+=Be,ye/=256,Ee-=8);R[Ae+_e-Be]|=128*Se}},5717:R=>{"function"==typeof Object.create?R.exports=function(R,pe){pe&&(R.super_=pe,R.prototype=Object.create(pe.prototype,{constructor:{value:R,enumerable:!1,writable:!0,configurable:!0}}))}:R.exports=function(R,pe){if(pe){R.super_=pe;var r=function(){};r.prototype=pe.prototype,R.prototype=new r,R.prototype.constructor=R}}},4155:R=>{var pe,Ae,he=R.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function s(R){if(pe===setTimeout)return setTimeout(R,0);if((pe===i||!pe)&&setTimeout)return pe=setTimeout,setTimeout(R,0);try{return pe(R,0)}catch(Ae){try{return pe.call(null,R,0)}catch(Ae){return pe.call(this,R,0)}}}!function(){try{pe="function"==typeof setTimeout?setTimeout:i}catch(R){pe=i}try{Ae="function"==typeof clearTimeout?clearTimeout:o}catch(R){Ae=o}}();var ge,me=[],ye=!1,ve=-1;function f(){ye&&ge&&(ye=!1,ge.length?me=ge.concat(me):ve=-1,me.length&&h())}function h(){if(!ye){var R=s(f);ye=!0;for(var pe=me.length;pe;){for(ge=me,me=[];++ve1)for(var Ae=1;Ae{"use strict";R.exports=Ae(5099).Duplex},2725:(R,pe,Ae)=>{"use strict";R.exports=Ae(5099).PassThrough},9481:(R,pe,Ae)=>{"use strict";R.exports=Ae(5099).Readable},4605:(R,pe,Ae)=>{"use strict";R.exports=Ae(5099).Transform},4229:(R,pe,Ae)=>{"use strict";R.exports=Ae(5099).Writable},196:(R,pe,Ae)=>{"use strict";const{SymbolDispose:he}=Ae(9061),{AbortError:ge,codes:me}=Ae(4381),{isNodeStream:ye,isWebStream:ve,kControllerErrorFunction:be}=Ae(5874),Ee=Ae(8610),{ERR_INVALID_ARG_TYPE:Ce}=me;let we;R.exports.addAbortSignal=function(pe,Ae){if(((R,pe)=>{if("object"!=typeof R||!("aborted"in R))throw new Ce("signal","AbortSignal",R)})(pe),!ye(Ae)&&!ve(Ae))throw new Ce("stream",["ReadableStream","WritableStream","Stream"],Ae);return R.exports.addAbortSignalNoValidate(pe,Ae)},R.exports.addAbortSignalNoValidate=function(R,pe){if("object"!=typeof R||!("aborted"in R))return pe;const me=ye(pe)?()=>{pe.destroy(new ge(void 0,{cause:R.reason}))}:()=>{pe[be](new ge(void 0,{cause:R.reason}))};if(R.aborted)me();else{we=we||Ae(6087).addAbortListener;const ge=we(R,me);Ee(pe,ge[he])}return pe}},7327:(R,pe,Ae)=>{"use strict";const{StringPrototypeSlice:he,SymbolIterator:ge,TypedArrayPrototypeSet:me,Uint8Array:ye}=Ae(9061),{Buffer:ve}=Ae(8764),{inspect:be}=Ae(6087);R.exports=class{constructor(){this.head=null,this.tail=null,this.length=0}push(R){const pe={data:R,next:null};this.length>0?this.tail.next=pe:this.head=pe,this.tail=pe,++this.length}unshift(R){const pe={data:R,next:this.head};0===this.length&&(this.tail=pe),this.head=pe,++this.length}shift(){if(0===this.length)return;const R=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,R}clear(){this.head=this.tail=null,this.length=0}join(R){if(0===this.length)return"";let pe=this.head,Ae=""+pe.data;for(;null!==(pe=pe.next);)Ae+=R+pe.data;return Ae}concat(R){if(0===this.length)return ve.alloc(0);const pe=ve.allocUnsafe(R>>>0);let Ae=this.head,he=0;for(;Ae;)me(pe,Ae.data,he),he+=Ae.data.length,Ae=Ae.next;return pe}consume(R,pe){const Ae=this.head.data;if(Rme.length)){R===me.length?(pe+=me,++ge,Ae.next?this.head=Ae.next:this.head=this.tail=null):(pe+=he(me,0,R),this.head=Ae,Ae.data=he(me,R));break}pe+=me,R-=me.length,++ge}while(null!==(Ae=Ae.next));return this.length-=ge,pe}_getBuffer(R){const pe=ve.allocUnsafe(R),Ae=R;let he=this.head,ge=0;do{const ve=he.data;if(!(R>ve.length)){R===ve.length?(me(pe,ve,Ae-R),++ge,he.next?this.head=he.next:this.head=this.tail=null):(me(pe,new ye(ve.buffer,ve.byteOffset,R),Ae-R),this.head=he,he.data=ve.slice(R));break}me(pe,ve,Ae-R),R-=ve.length,++ge}while(null!==(he=he.next));return this.length-=ge,pe}[Symbol.for("nodejs.util.inspect.custom")](R,pe){return be(this,{...pe,depth:0,customInspect:!1})}}},299:(R,pe,Ae)=>{"use strict";const{pipeline:he}=Ae(9946),ge=Ae(8672),{destroyer:me}=Ae(1195),{isNodeStream:ye,isReadable:ve,isWritable:be,isWebStream:Ee,isTransformStream:Ce,isWritableStream:we,isReadableStream:Ie}=Ae(5874),{AbortError:_e,codes:{ERR_INVALID_ARG_VALUE:Be,ERR_MISSING_ARGS:Se}}=Ae(4381),Qe=Ae(8610);R.exports=function(...R){if(0===R.length)throw new Se("streams");if(1===R.length)return ge.from(R[0]);const pe=[...R];if("function"==typeof R[0]&&(R[0]=ge.from(R[0])),"function"==typeof R[R.length-1]){const pe=R.length-1;R[pe]=ge.from(R[pe])}for(let Ae=0;Ae0&&!(be(R[Ae])||we(R[Ae])||Ce(R[Ae])))throw new Be(`streams[${Ae}]`,pe[Ae],"must be writable")}let Ae,xe,De,ke,Oe;const Re=R[0],Pe=he(R,(function(R){const pe=ke;ke=null,pe?pe(R):R?Oe.destroy(R):Ne||Te||Oe.destroy()})),Te=!!(be(Re)||we(Re)||Ce(Re)),Ne=!!(ve(Pe)||Ie(Pe)||Ce(Pe));if(Oe=new ge({writableObjectMode:!(null==Re||!Re.writableObjectMode),readableObjectMode:!(null==Pe||!Pe.readableObjectMode),writable:Te,readable:Ne}),Te){if(ye(Re))Oe._write=function(R,pe,he){Re.write(R,pe)?he():Ae=he},Oe._final=function(R){Re.end(),xe=R},Re.on("drain",(function(){if(Ae){const R=Ae;Ae=null,R()}}));else if(Ee(Re)){const R=(Ce(Re)?Re.writable:Re).getWriter();Oe._write=async function(pe,Ae,he){try{await R.ready,R.write(pe).catch((()=>{})),he()}catch(R){he(R)}},Oe._final=async function(pe){try{await R.ready,R.close().catch((()=>{})),xe=pe}catch(R){pe(R)}}}const R=Ce(Pe)?Pe.readable:Pe;Qe(R,(()=>{if(xe){const R=xe;xe=null,R()}}))}if(Ne)if(ye(Pe))Pe.on("readable",(function(){if(De){const R=De;De=null,R()}})),Pe.on("end",(function(){Oe.push(null)})),Oe._read=function(){for(;;){const R=Pe.read();if(null===R)return void(De=Oe._read);if(!Oe.push(R))return}};else if(Ee(Pe)){const R=(Ce(Pe)?Pe.readable:Pe).getReader();Oe._read=async function(){for(;;)try{const{value:pe,done:Ae}=await R.read();if(!Oe.push(pe))return;if(Ae)return void Oe.push(null)}catch{return}}}return Oe._destroy=function(R,pe){R||null===ke||(R=new _e),De=null,Ae=null,xe=null,null===ke?pe(R):(ke=pe,ye(Pe)&&me(Pe,R))},Oe}},1195:(R,pe,Ae)=>{"use strict";const he=Ae(4155),{aggregateTwoErrors:ge,codes:{ERR_MULTIPLE_CALLBACK:me},AbortError:ye}=Ae(4381),{Symbol:ve}=Ae(9061),{kIsDestroyed:be,isDestroyed:Ee,isFinished:Ce,isServerRequest:we}=Ae(5874),Ie=ve("kDestroy"),_e=ve("kConstruct");function p(R,pe,Ae){R&&(R.stack,pe&&!pe.errored&&(pe.errored=R),Ae&&!Ae.errored&&(Ae.errored=R))}function b(R,pe,Ae){let ge=!1;function o(pe){if(ge)return;ge=!0;const me=R._readableState,ye=R._writableState;p(pe,ye,me),ye&&(ye.closed=!0),me&&(me.closed=!0),"function"==typeof Ae&&Ae(pe),pe?he.nextTick(y,R,pe):he.nextTick(g,R)}try{R._destroy(pe||null,o)}catch(pe){o(pe)}}function y(R,pe){w(R,pe),g(R)}function g(R){const pe=R._readableState,Ae=R._writableState;Ae&&(Ae.closeEmitted=!0),pe&&(pe.closeEmitted=!0),(null!=Ae&&Ae.emitClose||null!=pe&&pe.emitClose)&&R.emit("close")}function w(R,pe){const Ae=R._readableState,he=R._writableState;null!=he&&he.errorEmitted||null!=Ae&&Ae.errorEmitted||(he&&(he.errorEmitted=!0),Ae&&(Ae.errorEmitted=!0),R.emit("error",pe))}function _(R,pe,Ae){const ge=R._readableState,me=R._writableState;if(null!=me&&me.destroyed||null!=ge&&ge.destroyed)return this;null!=ge&&ge.autoDestroy||null!=me&&me.autoDestroy?R.destroy(pe):pe&&(pe.stack,me&&!me.errored&&(me.errored=pe),ge&&!ge.errored&&(ge.errored=pe),Ae?he.nextTick(w,R,pe):w(R,pe))}function m(R){let pe=!1;function r(Ae){if(pe)return void _(R,null!=Ae?Ae:new me);pe=!0;const ge=R._readableState,ye=R._writableState,ve=ye||ge;ge&&(ge.constructed=!0),ye&&(ye.constructed=!0),ve.destroyed?R.emit(Ie,Ae):Ae?_(R,Ae,!0):he.nextTick(E,R)}try{R._construct((R=>{he.nextTick(r,R)}))}catch(R){he.nextTick(r,R)}}function E(R){R.emit(_e)}function S(R){return(null==R?void 0:R.setHeader)&&"function"==typeof R.abort}function v(R){R.emit("close")}function A(R,pe){R.emit("error",pe),he.nextTick(v,R)}R.exports={construct:function(R,pe){if("function"!=typeof R._construct)return;const Ae=R._readableState,ge=R._writableState;Ae&&(Ae.constructed=!1),ge&&(ge.constructed=!1),R.once(_e,pe),R.listenerCount(_e)>1||he.nextTick(m,R)},destroyer:function(R,pe){R&&!Ee(R)&&(pe||Ce(R)||(pe=new ye),we(R)?(R.socket=null,R.destroy(pe)):S(R)?R.abort():S(R.req)?R.req.abort():"function"==typeof R.destroy?R.destroy(pe):"function"==typeof R.close?R.close():pe?he.nextTick(A,R,pe):he.nextTick(v,R),R.destroyed||(R[be]=!0))},destroy:function(R,pe){const Ae=this._readableState,he=this._writableState,me=he||Ae;return null!=he&&he.destroyed||null!=Ae&&Ae.destroyed?("function"==typeof pe&&pe(),this):(p(R,he,Ae),he&&(he.destroyed=!0),Ae&&(Ae.destroyed=!0),me.constructed?b(this,R,pe):this.once(Ie,(function(Ae){b(this,ge(Ae,R),pe)})),this)},undestroy:function(){const R=this._readableState,pe=this._writableState;R&&(R.constructed=!0,R.closed=!1,R.closeEmitted=!1,R.destroyed=!1,R.errored=null,R.errorEmitted=!1,R.reading=!1,R.ended=!1===R.readable,R.endEmitted=!1===R.readable),pe&&(pe.constructed=!0,pe.destroyed=!1,pe.closed=!1,pe.closeEmitted=!1,pe.errored=null,pe.errorEmitted=!1,pe.finalCalled=!1,pe.prefinished=!1,pe.ended=!1===pe.writable,pe.ending=!1===pe.writable,pe.finished=!1===pe.writable)},errorOrDestroy:_}},8672:(R,pe,Ae)=>{"use strict";const{ObjectDefineProperties:he,ObjectGetOwnPropertyDescriptor:ge,ObjectKeys:me,ObjectSetPrototypeOf:ye}=Ae(9061);R.exports=u;const ve=Ae(911),be=Ae(6304);ye(u.prototype,ve.prototype),ye(u,ve);{const R=me(be.prototype);for(let pe=0;pe{const he=Ae(4155),ge=Ae(8764),{isReadable:me,isWritable:ye,isIterable:ve,isNodeStream:be,isReadableNodeStream:Ee,isWritableNodeStream:Ce,isDuplexNodeStream:we,isReadableStream:Ie,isWritableStream:_e}=Ae(5874),Be=Ae(8610),{AbortError:Se,codes:{ERR_INVALID_ARG_TYPE:Qe,ERR_INVALID_RETURN_VALUE:xe}}=Ae(4381),{destroyer:De}=Ae(1195),ke=Ae(8672),Oe=Ae(911),Re=Ae(6304),{createDeferredPromise:Pe}=Ae(6087),Te=Ae(6307),Ne=globalThis.Blob||ge.Blob,Me=void 0!==Ne?function(R){return R instanceof Ne}:function(R){return!1},Fe=globalThis.AbortController||Ae(8599).AbortController,{FunctionPrototypeCall:je}=Ae(9061);class B extends ke{constructor(R){super(R),!1===(null==R?void 0:R.readable)&&(this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0),!1===(null==R?void 0:R.writable)&&(this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0)}}function N(R){const pe=R.readable&&"function"!=typeof R.readable.read?Oe.wrap(R.readable):R.readable,Ae=R.writable;let he,ge,ve,be,Ee,Ce=!!me(pe),we=!!ye(Ae);function h(R){const pe=be;be=null,pe?pe(R):R&&Ee.destroy(R)}return Ee=new B({readableObjectMode:!(null==pe||!pe.readableObjectMode),writableObjectMode:!(null==Ae||!Ae.writableObjectMode),readable:Ce,writable:we}),we&&(Be(Ae,(R=>{we=!1,R&&De(pe,R),h(R)})),Ee._write=function(R,pe,ge){Ae.write(R,pe)?ge():he=ge},Ee._final=function(R){Ae.end(),ge=R},Ae.on("drain",(function(){if(he){const R=he;he=null,R()}})),Ae.on("finish",(function(){if(ge){const R=ge;ge=null,R()}}))),Ce&&(Be(pe,(R=>{Ce=!1,R&&De(pe,R),h(R)})),pe.on("readable",(function(){if(ve){const R=ve;ve=null,R()}})),pe.on("end",(function(){Ee.push(null)})),Ee._read=function(){for(;;){const R=pe.read();if(null===R)return void(ve=Ee._read);if(!Ee.push(R))return}}),Ee._destroy=function(R,me){R||null===be||(R=new Se),ve=null,he=null,ge=null,null===be?me(R):(be=me,De(Ae,R),De(pe,R))},Ee}R.exports=function e(R,pe){if(we(R))return R;if(Ee(R))return N({readable:R});if(Ce(R))return N({writable:R});if(be(R))return N({writable:!1,readable:!1});if(Ie(R))return N({readable:Oe.fromWeb(R)});if(_e(R))return N({writable:Re.fromWeb(R)});if("function"==typeof R){const{value:Ae,write:ge,final:me,destroy:ye}=function(R){let{promise:pe,resolve:Ae}=Pe();const ge=new Fe,me=ge.signal;return{value:R(async function*(){for(;;){const R=pe;pe=null;const{chunk:ge,done:ye,cb:ve}=await R;if(he.nextTick(ve),ye)return;if(me.aborted)throw new Se(void 0,{cause:me.reason});({promise:pe,resolve:Ae}=Pe()),yield ge}}(),{signal:me}),write(R,pe,he){const ge=Ae;Ae=null,ge({chunk:R,done:!1,cb:he})},final(R){const pe=Ae;Ae=null,pe({done:!0,cb:R})},destroy(R,pe){ge.abort(),pe(R)}}}(R);if(ve(Ae))return Te(B,Ae,{objectMode:!0,write:ge,final:me,destroy:ye});const be=null==Ae?void 0:Ae.then;if("function"==typeof be){let R;const pe=je(be,Ae,(R=>{if(null!=R)throw new xe("nully","body",R)}),(pe=>{De(R,pe)}));return R=new B({objectMode:!0,readable:!1,write:ge,final(R){me((async()=>{try{await pe,he.nextTick(R,null)}catch(pe){he.nextTick(R,pe)}}))},destroy:ye})}throw new xe("Iterable, AsyncIterable or AsyncFunction",pe,Ae)}if(Me(R))return e(R.arrayBuffer());if(ve(R))return Te(B,R,{objectMode:!0,writable:!1});if(Ie(null==R?void 0:R.readable)&&_e(null==R?void 0:R.writable))return B.fromWeb(R);if("object"==typeof(null==R?void 0:R.writable)||"object"==typeof(null==R?void 0:R.readable))return N({readable:null!=R&&R.readable?Ee(null==R?void 0:R.readable)?null==R?void 0:R.readable:e(R.readable):void 0,writable:null!=R&&R.writable?Ce(null==R?void 0:R.writable)?null==R?void 0:R.writable:e(R.writable):void 0});const Ae=null==R?void 0:R.then;if("function"==typeof Ae){let pe;return je(Ae,R,(R=>{null!=R&&pe.push(R),pe.push(null)}),(R=>{De(pe,R)})),pe=new B({objectMode:!0,writable:!1,read(){}})}throw new Qe(pe,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],R)}},8610:(R,pe,Ae)=>{const he=Ae(4155),{AbortError:ge,codes:me}=Ae(4381),{ERR_INVALID_ARG_TYPE:ye,ERR_STREAM_PREMATURE_CLOSE:ve}=me,{kEmptyObject:be,once:Ee}=Ae(6087),{validateAbortSignal:Ce,validateFunction:we,validateObject:Ie,validateBoolean:_e}=Ae(6547),{Promise:Be,PromisePrototypeThen:Se,SymbolDispose:Qe}=Ae(9061),{isClosed:xe,isReadable:De,isReadableNodeStream:ke,isReadableStream:Oe,isReadableFinished:Re,isReadableErrored:Pe,isWritable:Te,isWritableNodeStream:Ne,isWritableStream:Me,isWritableFinished:Fe,isWritableErrored:je,isNodeStream:Le,willEmitClose:Ue,kIsClosedPromise:He}=Ae(5874);let Ve;const M=()=>{};function O(R,pe,me){var _e,Be;if(2===arguments.length?(me=pe,pe=be):null==pe?pe=be:Ie(pe,"options"),we(me,"callback"),Ce(pe.signal,"options.signal"),me=Ee(me),Oe(R)||Me(R))return function(R,pe,me){let ye=!1,ve=M;if(pe.signal)if(ve=()=>{ye=!0,me.call(R,new ge(void 0,{cause:pe.signal.reason}))},pe.signal.aborted)he.nextTick(ve);else{Ve=Ve||Ae(6087).addAbortListener;const he=Ve(pe.signal,ve),ge=me;me=Ee(((...pe)=>{he[Qe](),ge.apply(R,pe)}))}const l=(...pe)=>{ye||he.nextTick((()=>me.apply(R,pe)))};return Se(R[He].promise,l,l),M}(R,pe,me);if(!Le(R))throw new ye("stream",["ReadableStream","WritableStream","Stream"],R);const We=null!==(_e=pe.readable)&&void 0!==_e?_e:ke(R),Je=null!==(Be=pe.writable)&&void 0!==Be?Be:Ne(R),Ge=R._writableState,qe=R._readableState,j=()=>{R.writable||C()};let Ye=Ue(R)&&ke(R)===We&&Ne(R)===Je,Ke=Fe(R,!1);const C=()=>{Ke=!0,R.destroyed&&(Ye=!1),(!Ye||R.readable&&!We)&&(We&&!ze||me.call(R))};let ze=Re(R,!1);const W=()=>{ze=!0,R.destroyed&&(Ye=!1),(!Ye||R.writable&&!Je)&&(Je&&!Ke||me.call(R))},G=pe=>{me.call(R,pe)};let $e=xe(R);const H=()=>{$e=!0;const pe=je(R)||Pe(R);return pe&&"boolean"!=typeof pe?me.call(R,pe):We&&!ze&&ke(R,!0)&&!Re(R,!1)?me.call(R,new ve):!Je||Ke||Fe(R,!1)?void me.call(R):me.call(R,new ve)},V=()=>{$e=!0;const pe=je(R)||Pe(R);if(pe&&"boolean"!=typeof pe)return me.call(R,pe);me.call(R)},K=()=>{R.req.on("finish",C)};!function(R){return R.setHeader&&"function"==typeof R.abort}(R)?Je&&!Ge&&(R.on("end",j),R.on("close",j)):(R.on("complete",C),Ye||R.on("abort",H),R.req?K():R.on("request",K)),Ye||"boolean"!=typeof R.aborted||R.on("aborted",H),R.on("end",W),R.on("finish",C),!1!==pe.error&&R.on("error",G),R.on("close",H),$e?he.nextTick(H):null!=Ge&&Ge.errorEmitted||null!=qe&&qe.errorEmitted?Ye||he.nextTick(V):(We||Ye&&!De(R)||!Ke&&!1!==Te(R))&&(Je||Ye&&!Te(R)||!ze&&!1!==De(R))?qe&&R.req&&R.aborted&&he.nextTick(V):he.nextTick(V);const q=()=>{me=M,R.removeListener("aborted",H),R.removeListener("complete",C),R.removeListener("abort",H),R.removeListener("request",K),R.req&&R.req.removeListener("finish",C),R.removeListener("end",j),R.removeListener("close",j),R.removeListener("finish",C),R.removeListener("end",W),R.removeListener("error",G),R.removeListener("close",H)};if(pe.signal&&!$e){const s=()=>{const Ae=me;q(),Ae.call(R,new ge(void 0,{cause:pe.signal.reason}))};if(pe.signal.aborted)he.nextTick(s);else{Ve=Ve||Ae(6087).addAbortListener;const he=Ve(pe.signal,s),ge=me;me=Ee(((...pe)=>{he[Qe](),ge.apply(R,pe)}))}}return q}R.exports=O,R.exports.finished=function(R,pe){var Ae;let he=!1;return null===pe&&(pe=be),null!==(Ae=pe)&&void 0!==Ae&&Ae.cleanup&&(_e(pe.cleanup,"cleanup"),he=pe.cleanup),new Be(((Ae,ge)=>{const me=O(R,pe,(R=>{he&&me(),R?ge(R):Ae()}))}))}},6307:(R,pe,Ae)=>{"use strict";const he=Ae(4155),{PromisePrototypeThen:ge,SymbolAsyncIterator:me,SymbolIterator:ye}=Ae(9061),{Buffer:ve}=Ae(8764),{ERR_INVALID_ARG_TYPE:be,ERR_STREAM_NULL_VALUES:Ee}=Ae(4381).codes;R.exports=function(R,pe,Ae){let Ce,we;if("string"==typeof pe||pe instanceof ve)return new R({objectMode:!0,...Ae,read(){this.push(pe),this.push(null)}});if(pe&&pe[me])we=!0,Ce=pe[me]();else{if(!pe||!pe[ye])throw new be("iterable",["Iterable"],pe);we=!1,Ce=pe[ye]()}const Ie=new R({objectMode:!0,highWaterMark:1,...Ae});let _e=!1;return Ie._read=function(){_e||(_e=!0,async function(){for(;;){try{const{value:R,done:pe}=we?await Ce.next():Ce.next();if(pe)Ie.push(null);else{const pe=R&&"function"==typeof R.then?await R:R;if(null===pe)throw _e=!1,new Ee;if(Ie.push(pe))continue;_e=!1}}catch(R){Ie.destroy(R)}break}}())},Ie._destroy=function(R,pe){ge(async function(R){const pe=null!=R,Ae="function"==typeof Ce.throw;if(pe&&Ae){const{value:pe,done:Ae}=await Ce.throw(R);if(await pe,Ae)return}if("function"==typeof Ce.return){const{value:R}=await Ce.return();await R}}(R),(()=>he.nextTick(pe,R)),(Ae=>he.nextTick(pe,Ae||R)))},Ie}},4870:(R,pe,Ae)=>{"use strict";const{ArrayIsArray:he,ObjectSetPrototypeOf:ge}=Ae(9061),{EventEmitter:me}=Ae(7187);function s(R){me.call(this,R)}function a(R,pe,Ae){if("function"==typeof R.prependListener)return R.prependListener(pe,Ae);R._events&&R._events[pe]?he(R._events[pe])?R._events[pe].unshift(Ae):R._events[pe]=[Ae,R._events[pe]]:R.on(pe,Ae)}ge(s.prototype,me.prototype),ge(s,me),s.prototype.pipe=function(R,pe){const Ae=this;function n(pe){R.writable&&!1===R.write(pe)&&Ae.pause&&Ae.pause()}function i(){Ae.readable&&Ae.resume&&Ae.resume()}Ae.on("data",n),R.on("drain",i),R._isStdio||pe&&!1===pe.end||(Ae.on("end",l),Ae.on("close",u));let he=!1;function l(){he||(he=!0,R.end())}function u(){he||(he=!0,"function"==typeof R.destroy&&R.destroy())}function c(R){f(),0===me.listenerCount(this,"error")&&this.emit("error",R)}function f(){Ae.removeListener("data",n),R.removeListener("drain",i),Ae.removeListener("end",l),Ae.removeListener("close",u),Ae.removeListener("error",c),R.removeListener("error",c),Ae.removeListener("end",f),Ae.removeListener("close",f),R.removeListener("close",f)}return a(Ae,"error",c),a(R,"error",c),Ae.on("end",f),Ae.on("close",f),R.on("close",f),R.emit("pipe",Ae),R},R.exports={Stream:s,prependListener:a}},4382:(R,pe,Ae)=>{"use strict";const he=globalThis.AbortController||Ae(8599).AbortController,{codes:{ERR_INVALID_ARG_VALUE:ge,ERR_INVALID_ARG_TYPE:me,ERR_MISSING_ARGS:ye,ERR_OUT_OF_RANGE:ve},AbortError:be}=Ae(4381),{validateAbortSignal:Ee,validateInteger:Ce,validateObject:we}=Ae(6547),Ie=Ae(9061).Symbol("kWeak"),_e=Ae(9061).Symbol("kResistStopPropagation"),{finished:Be}=Ae(8610),Se=Ae(299),{addAbortSignalNoValidate:Qe}=Ae(196),{isWritable:xe,isNodeStream:De}=Ae(5874),{deprecate:ke}=Ae(6087),{ArrayPrototypePush:Oe,Boolean:Re,MathFloor:Pe,Number:Te,NumberIsNaN:Ne,Promise:Me,PromiseReject:Fe,PromiseResolve:je,PromisePrototypeThen:Le,Symbol:Ue}=Ae(9061),He=Ue("kEmpty"),Ve=Ue("kEof");function M(R,pe){if("function"!=typeof R)throw new me("fn",["Function","AsyncFunction"],R);null!=pe&&we(pe,"options"),null!=(null==pe?void 0:pe.signal)&&Ee(pe.signal,"options.signal");let he=1;null!=(null==pe?void 0:pe.concurrency)&&(he=Pe(pe.concurrency));let ge=he-1;return null!=(null==pe?void 0:pe.highWaterMark)&&(ge=Pe(pe.highWaterMark)),Ce(he,"options.concurrency",1),Ce(ge,"options.highWaterMark",0),ge+=he,async function*(){const me=Ae(6087).AbortSignalAny([null==pe?void 0:pe.signal].filter(Re)),ye=this,ve=[],Ee={signal:me};let Ce,we,Ie=!1,_e=0;function p(){Ie=!0,b()}function b(){_e-=1,y()}function y(){we&&!Ie&&_e=ge||_e>=he)&&await new Me((R=>{we=R}))}ve.push(Ve)}catch(R){const pe=Fe(R);Le(pe,b,p),ve.push(pe)}finally{Ie=!0,Ce&&(Ce(),Ce=null)}}();try{for(;;){for(;ve.length>0;){const R=await ve[0];if(R===Ve)return;if(me.aborted)throw new be;R!==He&&(yield R),ve.shift(),y()}await new Me((R=>{Ce=R}))}}finally{Ie=!0,we&&(we(),we=null)}}.call(this)}async function O(R,pe=void 0){for await(const Ae of x.call(this,R,pe))return!0;return!1}function x(R,pe){if("function"!=typeof R)throw new me("fn",["Function","AsyncFunction"],R);return M.call(this,(async function(pe,Ae){return await R(pe,Ae)?pe:He}),pe)}class k extends ye{constructor(){super("reduce"),this.message="Reduce of an empty stream requires an initial value"}}function P(R){if(R=Te(R),Ne(R))return 0;if(R<0)throw new ve("number",">= 0",R);return R}R.exports.streamReturningOperators={asIndexedPairs:ke((function(R=void 0){return null!=R&&we(R,"options"),null!=(null==R?void 0:R.signal)&&Ee(R.signal,"options.signal"),async function*(){let pe=0;for await(const he of this){var Ae;if(null!=R&&null!==(Ae=R.signal)&&void 0!==Ae&&Ae.aborted)throw new be({cause:R.signal.reason});yield[pe++,he]}}.call(this)}),"readable.asIndexedPairs will be removed in a future version."),drop:function(R,pe=void 0){return null!=pe&&we(pe,"options"),null!=(null==pe?void 0:pe.signal)&&Ee(pe.signal,"options.signal"),R=P(R),async function*(){var Ae;if(null!=pe&&null!==(Ae=pe.signal)&&void 0!==Ae&&Ae.aborted)throw new be;for await(const Ae of this){var he;if(null!=pe&&null!==(he=pe.signal)&&void 0!==he&&he.aborted)throw new be;R--<=0&&(yield Ae)}}.call(this)},filter:x,flatMap:function(R,pe){const Ae=M.call(this,R,pe);return async function*(){for await(const R of Ae)yield*R}.call(this)},map:M,take:function(R,pe=void 0){return null!=pe&&we(pe,"options"),null!=(null==pe?void 0:pe.signal)&&Ee(pe.signal,"options.signal"),R=P(R),async function*(){var Ae;if(null!=pe&&null!==(Ae=pe.signal)&&void 0!==Ae&&Ae.aborted)throw new be;for await(const Ae of this){var he;if(null!=pe&&null!==(he=pe.signal)&&void 0!==he&&he.aborted)throw new be;if(R-- >0&&(yield Ae),R<=0)return}}.call(this)},compose:function(R,pe){if(null!=pe&&we(pe,"options"),null!=(null==pe?void 0:pe.signal)&&Ee(pe.signal,"options.signal"),De(R)&&!xe(R))throw new ge("stream",R,"must be writable");const Ae=Se(this,R);return null!=pe&&pe.signal&&Qe(pe.signal,Ae),Ae}},R.exports.promiseReturningOperators={every:async function(R,pe=void 0){if("function"!=typeof R)throw new me("fn",["Function","AsyncFunction"],R);return!await O.call(this,(async(...pe)=>!await R(...pe)),pe)},forEach:async function(R,pe){if("function"!=typeof R)throw new me("fn",["Function","AsyncFunction"],R);for await(const Ae of M.call(this,(async function(pe,Ae){return await R(pe,Ae),He}),pe));},reduce:async function(R,pe,Ae){var ge;if("function"!=typeof R)throw new me("reducer",["Function","AsyncFunction"],R);null!=Ae&&we(Ae,"options"),null!=(null==Ae?void 0:Ae.signal)&&Ee(Ae.signal,"options.signal");let ye=arguments.length>1;if(null!=Ae&&null!==(ge=Ae.signal)&&void 0!==ge&&ge.aborted){const R=new be(void 0,{cause:Ae.signal.reason});throw this.once("error",(()=>{})),await Be(this.destroy(R)),R}const ve=new he,Ce=ve.signal;if(null!=Ae&&Ae.signal){const R={once:!0,[Ie]:this,[_e]:!0};Ae.signal.addEventListener("abort",(()=>ve.abort()),R)}let Se=!1;try{for await(const he of this){var Qe;if(Se=!0,null!=Ae&&null!==(Qe=Ae.signal)&&void 0!==Qe&&Qe.aborted)throw new be;ye?pe=await R(pe,he,{signal:Ce}):(pe=he,ye=!0)}if(!Se&&!ye)throw new k}finally{ve.abort()}return pe},toArray:async function(R){null!=R&&we(R,"options"),null!=(null==R?void 0:R.signal)&&Ee(R.signal,"options.signal");const pe=[];for await(const he of this){var Ae;if(null!=R&&null!==(Ae=R.signal)&&void 0!==Ae&&Ae.aborted)throw new be(void 0,{cause:R.signal.reason});Oe(pe,he)}return pe},some:O,find:async function(R,pe){for await(const Ae of x.call(this,R,pe))return Ae}}},917:(R,pe,Ae)=>{"use strict";const{ObjectSetPrototypeOf:he}=Ae(9061);R.exports=o;const ge=Ae(1161);function o(R){if(!(this instanceof o))return new o(R);ge.call(this,R)}he(o.prototype,ge.prototype),he(o,ge),o.prototype._transform=function(R,pe,Ae){Ae(null,R)}},9946:(R,pe,Ae)=>{const he=Ae(4155),{ArrayIsArray:ge,Promise:me,SymbolAsyncIterator:ye,SymbolDispose:ve}=Ae(9061),be=Ae(8610),{once:Ee}=Ae(6087),Ce=Ae(1195),we=Ae(8672),{aggregateTwoErrors:Ie,codes:{ERR_INVALID_ARG_TYPE:_e,ERR_INVALID_RETURN_VALUE:Be,ERR_MISSING_ARGS:Se,ERR_STREAM_DESTROYED:Qe,ERR_STREAM_PREMATURE_CLOSE:xe},AbortError:De}=Ae(4381),{validateFunction:ke,validateAbortSignal:Oe}=Ae(6547),{isIterable:Re,isReadable:Pe,isReadableNodeStream:Te,isNodeStream:Ne,isTransformStream:Me,isWebStream:Fe,isReadableStream:je,isReadableFinished:Le}=Ae(5874),Ue=globalThis.AbortController||Ae(8599).AbortController;let He,Ve,We;function O(R,pe,Ae){let he=!1;return R.on("close",(()=>{he=!0})),{destroy:pe=>{he||(he=!0,Ce.destroyer(R,pe||new Qe("pipe")))},cleanup:be(R,{readable:pe,writable:Ae},(R=>{he=!R}))}}function x(R){if(Re(R))return R;if(Te(R))return async function*(R){Ve||(Ve=Ae(911)),yield*Ve.prototype[ye].call(R)}(R);throw new _e("val",["Readable","Iterable","AsyncIterable"],R)}async function k(R,pe,Ae,{end:he}){let ge,ye=null;const a=R=>{if(R&&(ge=R),ye){const R=ye;ye=null,R()}},u=()=>new me(((R,pe)=>{ge?pe(ge):ye=()=>{ge?pe(ge):R()}}));pe.on("drain",a);const ve=be(pe,{readable:!1},a);try{pe.writableNeedDrain&&await u();for await(const Ae of R)pe.write(Ae)||await u();he&&(pe.end(),await u()),Ae()}catch(R){Ae(ge!==R?Ie(ge,R):R)}finally{ve(),pe.off("drain",a)}}async function P(R,pe,Ae,{end:he}){Me(pe)&&(pe=pe.writable);const ge=pe.getWriter();try{for await(const pe of R)await ge.ready,ge.write(pe).catch((()=>{}));await ge.ready,he&&await ge.close(),Ae()}catch(R){try{await ge.abort(R),Ae(R)}catch(R){Ae(R)}}}function j(R,pe,me){if(1===R.length&&ge(R[0])&&(R=R[0]),R.length<2)throw new Se("streams");const ye=new Ue,be=ye.signal,Ee=null==me?void 0:me.signal,Ce=[];function h(){C(new De)}let Ie,Qe,xe;Oe(Ee,"options.signal"),We=We||Ae(6087).addAbortListener,Ee&&(Ie=We(Ee,h));const ke=[];let Le,Ve=0;function F(R){C(R,0==--Ve)}function C(R,Ae){var ge;if(!R||Qe&&"ERR_STREAM_PREMATURE_CLOSE"!==Qe.code||(Qe=R),Qe||Ae){for(;ke.length;)ke.shift()(Qe);null===(ge=Ie)||void 0===ge||ge[ve](),ye.abort(),Ae&&(Qe||Ce.forEach((R=>R())),he.nextTick(pe,Qe,xe))}}for(let pe=0;pe0,Ee=ye||!1!==(null==me?void 0:me.end),Ie=pe===R.length-1;if(Ne(ge)){if(Ee){const{destroy:R,cleanup:pe}=O(ge,ye,ve);ke.push(R),Pe(ge)&&Ie&&Ce.push(pe)}function $(R){R&&"AbortError"!==R.name&&"ERR_STREAM_PREMATURE_CLOSE"!==R.code&&F(R)}ge.on("error",$),Pe(ge)&&Ie&&Ce.push((()=>{ge.removeListener("error",$)}))}if(0===pe)if("function"==typeof ge){if(Le=ge({signal:be}),!Re(Le))throw new Be("Iterable, AsyncIterable or Stream","source",Le)}else Le=Re(ge)||Te(ge)||Me(ge)?ge:we.from(ge);else if("function"==typeof ge){var Je;if(Le=Me(Le)?x(null===(Je=Le)||void 0===Je?void 0:Je.readable):x(Le),Le=ge(Le,{signal:be}),ye){if(!Re(Le,!0))throw new Be("AsyncIterable",`transform[${pe-1}]`,Le)}else{var Ge;He||(He=Ae(917));const R=new He({objectMode:!0}),pe=null===(Ge=Le)||void 0===Ge?void 0:Ge.then;if("function"==typeof pe)Ve++,pe.call(Le,(pe=>{xe=pe,null!=pe&&R.write(pe),Ee&&R.end(),he.nextTick(F)}),(pe=>{R.destroy(pe),he.nextTick(F,pe)}));else if(Re(Le,!0))Ve++,k(Le,R,F,{end:Ee});else{if(!je(Le)&&!Me(Le))throw new Be("AsyncIterable or Promise","destination",Le);{const pe=Le.readable||Le;Ve++,k(pe,R,F,{end:Ee})}}Le=R;const{destroy:ge,cleanup:me}=O(Le,!1,!0);ke.push(ge),Ie&&Ce.push(me)}}else if(Ne(ge)){if(Te(Le)){Ve+=2;const R=D(Le,ge,F,{end:Ee});Pe(ge)&&Ie&&Ce.push(R)}else if(Me(Le)||je(Le)){const R=Le.readable||Le;Ve++,k(R,ge,F,{end:Ee})}else{if(!Re(Le))throw new _e("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],Le);Ve++,k(Le,ge,F,{end:Ee})}Le=ge}else if(Fe(ge)){if(Te(Le))Ve++,P(x(Le),ge,F,{end:Ee});else if(je(Le)||Re(Le))Ve++,P(Le,ge,F,{end:Ee});else{if(!Me(Le))throw new _e("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],Le);Ve++,P(Le.readable,ge,F,{end:Ee})}Le=ge}else Le=we.from(ge)}return(null!=be&&be.aborted||null!=Ee&&Ee.aborted)&&he.nextTick(h),Le}function D(R,pe,Ae,{end:ge}){let me=!1;if(pe.on("close",(()=>{me||Ae(new xe)})),R.pipe(pe,{end:!1}),ge){function s(){me=!0,pe.end()}Le(R)?he.nextTick(s):R.once("end",s)}else Ae();return be(R,{readable:!0,writable:!1},(pe=>{const he=R._readableState;pe&&"ERR_STREAM_PREMATURE_CLOSE"===pe.code&&he&&he.ended&&!he.errored&&!he.errorEmitted?R.once("end",Ae).once("error",Ae):Ae(pe)})),be(pe,{readable:!1,writable:!0},Ae)}R.exports={pipelineImpl:j,pipeline:function(...R){return j(R,Ee(function(R){return ke(R[R.length-1],"streams[stream.length - 1]"),R.pop()}(R)))}}},911:(R,pe,Ae)=>{const he=Ae(4155),{ArrayPrototypeIndexOf:ge,NumberIsInteger:me,NumberIsNaN:ye,NumberParseInt:ve,ObjectDefineProperties:be,ObjectKeys:Ee,ObjectSetPrototypeOf:Ce,Promise:we,SafeSet:Ie,SymbolAsyncDispose:_e,SymbolAsyncIterator:Be,Symbol:Se}=Ae(9061);R.exports=z,z.ReadableState=q;const{EventEmitter:Qe}=Ae(7187),{Stream:xe,prependListener:De}=Ae(4870),{Buffer:ke}=Ae(8764),{addAbortSignal:Oe}=Ae(196),Re=Ae(8610);let Pe=Ae(6087).debuglog("stream",(R=>{Pe=R}));const Te=Ae(7327),Ne=Ae(1195),{getHighWaterMark:Me,getDefaultHighWaterMark:Fe}=Ae(2457),{aggregateTwoErrors:je,codes:{ERR_INVALID_ARG_TYPE:Le,ERR_METHOD_NOT_IMPLEMENTED:Ue,ERR_OUT_OF_RANGE:He,ERR_STREAM_PUSH_AFTER_EOF:Ve,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:We},AbortError:Je}=Ae(4381),{validateObject:Ge}=Ae(6547),qe=Se("kPaused"),{StringDecoder:Ye}=Ae(2553),Ke=Ae(6307);Ce(z.prototype,xe.prototype),Ce(z,xe);const D=()=>{},{errorOrDestroy:ze}=Ne,$e=1,Ze=16,Xe=32,et=64,tt=2048,rt=4096,nt=65536;function K(R){return{enumerable:!1,get(){return 0!=(this.state&R)},set(pe){pe?this.state|=R:this.state&=~R}}}function q(R,pe,he){"boolean"!=typeof he&&(he=pe instanceof Ae(8672)),this.state=tt|rt|Ze|Xe,R&&R.objectMode&&(this.state|=$e),he&&R&&R.readableObjectMode&&(this.state|=$e),this.highWaterMark=R?Me(this,R,"readableHighWaterMark",he):Fe(!1),this.buffer=new Te,this.length=0,this.pipes=[],this.flowing=null,this[qe]=null,R&&!1===R.emitClose&&(this.state&=~tt),R&&!1===R.autoDestroy&&(this.state&=~rt),this.errored=null,this.defaultEncoding=R&&R.defaultEncoding||"utf8",this.awaitDrainWriters=null,this.decoder=null,this.encoding=null,R&&R.encoding&&(this.decoder=new Ye(R.encoding),this.encoding=R.encoding)}function z(R){if(!(this instanceof z))return new z(R);const pe=this instanceof Ae(8672);this._readableState=new q(R,this,pe),R&&("function"==typeof R.read&&(this._read=R.read),"function"==typeof R.destroy&&(this._destroy=R.destroy),"function"==typeof R.construct&&(this._construct=R.construct),R.signal&&!pe&&Oe(R.signal,this)),xe.call(this,R),Ne.construct(this,(()=>{this._readableState.needReadable&&te(this,this._readableState)}))}function X(R,pe,Ae,he){Pe("readableAddChunk",pe);const ge=R._readableState;let me;if(0==(ge.state&$e)&&("string"==typeof pe?(Ae=Ae||ge.defaultEncoding,ge.encoding!==Ae&&(he&&ge.encoding?pe=ke.from(pe,Ae).toString(ge.encoding):(pe=ke.from(pe,Ae),Ae=""))):pe instanceof ke?Ae="":xe._isUint8Array(pe)?(pe=xe._uint8ArrayToBuffer(pe),Ae=""):null!=pe&&(me=new Le("chunk",["string","Buffer","Uint8Array"],pe))),me)ze(R,me);else if(null===pe)ge.state&=-9,function(R,pe){if(Pe("onEofChunk"),!pe.ended){if(pe.decoder){const R=pe.decoder.end();R&&R.length&&(pe.buffer.push(R),pe.length+=pe.objectMode?1:R.length)}pe.ended=!0,pe.sync?Q(R):(pe.needReadable=!1,pe.emittedReadable=!0,ee(R))}}(R,ge);else if(0!=(ge.state&$e)||pe&&pe.length>0)if(he)if(0!=(4&ge.state))ze(R,new We);else{if(ge.destroyed||ge.errored)return!1;J(R,ge,pe,!0)}else if(ge.ended)ze(R,new Ve);else{if(ge.destroyed||ge.errored)return!1;ge.state&=-9,ge.decoder&&!Ae?(pe=ge.decoder.write(pe),ge.objectMode||0!==pe.length?J(R,ge,pe,!1):te(R,ge)):J(R,ge,pe,!1)}else he||(ge.state&=-9,te(R,ge));return!ge.ended&&(ge.length0?(0!=(pe.state&nt)?pe.awaitDrainWriters.clear():pe.awaitDrainWriters=null,pe.dataEmitted=!0,R.emit("data",Ae)):(pe.length+=pe.objectMode?1:Ae.length,he?pe.buffer.unshift(Ae):pe.buffer.push(Ae),0!=(pe.state&et)&&Q(R)),te(R,pe)}function Z(R,pe){return R<=0||0===pe.length&&pe.ended?0:0!=(pe.state&$e)?1:ye(R)?pe.flowing&&pe.length?pe.buffer.first().length:pe.length:R<=pe.length?R:pe.ended?pe.length:0}function Q(R){const pe=R._readableState;Pe("emitReadable",pe.needReadable,pe.emittedReadable),pe.needReadable=!1,pe.emittedReadable||(Pe("emitReadable",pe.flowing),pe.emittedReadable=!0,he.nextTick(ee,R))}function ee(R){const pe=R._readableState;Pe("emitReadable_",pe.destroyed,pe.length,pe.ended),pe.destroyed||pe.errored||!pe.length&&!pe.ended||(R.emit("readable"),pe.emittedReadable=!1),pe.needReadable=!pe.flowing&&!pe.ended&&pe.length<=pe.highWaterMark,se(R)}function te(R,pe){!pe.readingMore&&pe.constructed&&(pe.readingMore=!0,he.nextTick(re,R,pe))}function re(R,pe){for(;!pe.reading&&!pe.ended&&(pe.length0,pe.resumeScheduled&&!1===pe[qe]?pe.flowing=!0:R.listenerCount("data")>0?R.resume():pe.readableListening||(pe.flowing=null)}function ie(R){Pe("readable nexttick read 0"),R.read(0)}function oe(R,pe){Pe("resume",pe.reading),pe.reading||R.read(0),pe.resumeScheduled=!1,R.emit("resume"),se(R),pe.flowing&&!pe.reading&&R.read(0)}function se(R){const pe=R._readableState;for(Pe("flow",pe.flowing);pe.flowing&&null!==R.read(););}function ae(R,pe){"function"!=typeof R.read&&(R=z.wrap(R,{objectMode:!0}));const Ae=async function*(R,pe){let Ae,he=D;function i(pe){this===R?(he(),he=D):he=pe}R.on("readable",i);const ge=Re(R,{writable:!1},(R=>{Ae=R?je(Ae,R):null,he(),he=D}));try{for(;;){const pe=R.destroyed?null:R.read();if(null!==pe)yield pe;else{if(Ae)throw Ae;if(null===Ae)return;await new we(i)}}}catch(R){throw Ae=je(Ae,R),Ae}finally{!Ae&&!1===(null==pe?void 0:pe.destroyOnReturn)||void 0!==Ae&&!R._readableState.autoDestroy?(R.off("readable",i),ge()):Ne.destroyer(R,null)}}(R,pe);return Ae.stream=R,Ae}function le(R,pe){if(0===pe.length)return null;let Ae;return pe.objectMode?Ae=pe.buffer.shift():!R||R>=pe.length?(Ae=pe.decoder?pe.buffer.join(""):1===pe.buffer.length?pe.buffer.first():pe.buffer.concat(pe.length),pe.buffer.clear()):Ae=pe.buffer.consume(R,pe.decoder),Ae}function ue(R){const pe=R._readableState;Pe("endReadable",pe.endEmitted),pe.endEmitted||(pe.ended=!0,he.nextTick(ce,pe,R))}function ce(R,pe){if(Pe("endReadableNT",R.endEmitted,R.length),!R.errored&&!R.closeEmitted&&!R.endEmitted&&0===R.length)if(R.endEmitted=!0,pe.emit("end"),pe.writable&&!1===pe.allowHalfOpen)he.nextTick(fe,pe);else if(R.autoDestroy){const R=pe._writableState;(!R||R.autoDestroy&&(R.finished||!1===R.writable))&&pe.destroy()}}function fe(R){R.writable&&!R.writableEnded&&!R.destroyed&&R.end()}let it;function de(){return void 0===it&&(it={}),it}be(q.prototype,{objectMode:K($e),ended:K(2),endEmitted:K(4),reading:K(8),constructed:K(Ze),sync:K(Xe),needReadable:K(et),emittedReadable:K(128),readableListening:K(256),resumeScheduled:K(512),errorEmitted:K(1024),emitClose:K(tt),autoDestroy:K(rt),destroyed:K(8192),closed:K(16384),closeEmitted:K(32768),multiAwaitDrain:K(nt),readingMore:K(1<<17),dataEmitted:K(1<<18)}),z.prototype.destroy=Ne.destroy,z.prototype._undestroy=Ne.undestroy,z.prototype._destroy=function(R,pe){pe(R)},z.prototype[Qe.captureRejectionSymbol]=function(R){this.destroy(R)},z.prototype[_e]=function(){let R;return this.destroyed||(R=this.readableEnded?null:new Je,this.destroy(R)),new we(((pe,Ae)=>Re(this,(he=>he&&he!==R?Ae(he):pe(null)))))},z.prototype.push=function(R,pe){return X(this,R,pe,!1)},z.prototype.unshift=function(R,pe){return X(this,R,pe,!0)},z.prototype.isPaused=function(){const R=this._readableState;return!0===R[qe]||!1===R.flowing},z.prototype.setEncoding=function(R){const pe=new Ye(R);this._readableState.decoder=pe,this._readableState.encoding=this._readableState.decoder.encoding;const Ae=this._readableState.buffer;let he="";for(const R of Ae)he+=pe.write(R);return Ae.clear(),""!==he&&Ae.push(he),this._readableState.length=he.length,this},z.prototype.read=function(R){Pe("read",R),void 0===R?R=NaN:me(R)||(R=ve(R,10));const pe=this._readableState,Ae=R;if(R>pe.highWaterMark&&(pe.highWaterMark=function(R){if(R>1073741824)throw new He("size","<= 1GiB",R);return R--,R|=R>>>1,R|=R>>>2,R|=R>>>4,R|=R>>>8,R|=R>>>16,++R}(R)),0!==R&&(pe.state&=-129),0===R&&pe.needReadable&&((0!==pe.highWaterMark?pe.length>=pe.highWaterMark:pe.length>0)||pe.ended))return Pe("read: emitReadable",pe.length,pe.ended),0===pe.length&&pe.ended?ue(this):Q(this),null;if(0===(R=Z(R,pe))&&pe.ended)return 0===pe.length&&ue(this),null;let he,ge=0!=(pe.state&et);if(Pe("need readable",ge),(0===pe.length||pe.length-R0?le(R,pe):null,null===he?(pe.needReadable=pe.length<=pe.highWaterMark,R=0):(pe.length-=R,pe.multiAwaitDrain?pe.awaitDrainWriters.clear():pe.awaitDrainWriters=null),0===pe.length&&(pe.ended||(pe.needReadable=!0),Ae!==R&&pe.ended&&ue(this)),null===he||pe.errorEmitted||pe.closeEmitted||(pe.dataEmitted=!0,this.emit("data",he)),he},z.prototype._read=function(R){throw new Ue("_read()")},z.prototype.pipe=function(R,pe){const Ae=this,ge=this._readableState;1===ge.pipes.length&&(ge.multiAwaitDrain||(ge.multiAwaitDrain=!0,ge.awaitDrainWriters=new Ie(ge.awaitDrainWriters?[ge.awaitDrainWriters]:[]))),ge.pipes.push(R),Pe("pipe count=%d opts=%j",ge.pipes.length,pe);const me=pe&&!1===pe.end||R===he.stdout||R===he.stderr?b:s;function s(){Pe("onend"),R.end()}let ye;ge.endEmitted?he.nextTick(me):Ae.once("end",me),R.on("unpipe",(function t(pe,he){Pe("onunpipe"),pe===Ae&&he&&!1===he.hasUnpiped&&(he.hasUnpiped=!0,Pe("cleanup"),R.removeListener("close",d),R.removeListener("finish",p),ye&&R.removeListener("drain",ye),R.removeListener("error",f),R.removeListener("unpipe",t),Ae.removeListener("end",s),Ae.removeListener("end",b),Ae.removeListener("data",c),ve=!0,ye&&ge.awaitDrainWriters&&(!R._writableState||R._writableState.needDrain)&&ye())}));let ve=!1;function u(){ve||(1===ge.pipes.length&&ge.pipes[0]===R?(Pe("false write response, pause",0),ge.awaitDrainWriters=R,ge.multiAwaitDrain=!1):ge.pipes.length>1&&ge.pipes.includes(R)&&(Pe("false write response, pause",ge.awaitDrainWriters.size),ge.awaitDrainWriters.add(R)),Ae.pause()),ye||(ye=function(R,pe){return function(){const Ae=R._readableState;Ae.awaitDrainWriters===pe?(Pe("pipeOnDrain",1),Ae.awaitDrainWriters=null):Ae.multiAwaitDrain&&(Pe("pipeOnDrain",Ae.awaitDrainWriters.size),Ae.awaitDrainWriters.delete(pe)),Ae.awaitDrainWriters&&0!==Ae.awaitDrainWriters.size||!R.listenerCount("data")||R.resume()}}(Ae,R),R.on("drain",ye))}function c(pe){Pe("ondata");const Ae=R.write(pe);Pe("dest.write",Ae),!1===Ae&&u()}function f(pe){if(Pe("onerror",pe),b(),R.removeListener("error",f),0===R.listenerCount("error")){const Ae=R._writableState||R._readableState;Ae&&!Ae.errorEmitted?ze(R,pe):R.emit("error",pe)}}function d(){R.removeListener("finish",p),b()}function p(){Pe("onfinish"),R.removeListener("close",d),b()}function b(){Pe("unpipe"),Ae.unpipe(R)}return Ae.on("data",c),De(R,"error",f),R.once("close",d),R.once("finish",p),R.emit("pipe",Ae),!0===R.writableNeedDrain?u():ge.flowing||(Pe("pipe resume"),Ae.resume()),R},z.prototype.unpipe=function(R){const pe=this._readableState;if(0===pe.pipes.length)return this;if(!R){const R=pe.pipes;pe.pipes=[],this.pause();for(let pe=0;pe0,!1!==ge.flowing&&this.resume()):"readable"===R&&(ge.endEmitted||ge.readableListening||(ge.readableListening=ge.needReadable=!0,ge.flowing=!1,ge.emittedReadable=!1,Pe("on readable",ge.length,ge.reading),ge.length?Q(this):ge.reading||he.nextTick(ie,this))),Ae},z.prototype.addListener=z.prototype.on,z.prototype.removeListener=function(R,pe){const Ae=xe.prototype.removeListener.call(this,R,pe);return"readable"===R&&he.nextTick(ne,this),Ae},z.prototype.off=z.prototype.removeListener,z.prototype.removeAllListeners=function(R){const pe=xe.prototype.removeAllListeners.apply(this,arguments);return"readable"!==R&&void 0!==R||he.nextTick(ne,this),pe},z.prototype.resume=function(){const R=this._readableState;return R.flowing||(Pe("resume"),R.flowing=!R.readableListening,function(R,pe){pe.resumeScheduled||(pe.resumeScheduled=!0,he.nextTick(oe,R,pe))}(this,R)),R[qe]=!1,this},z.prototype.pause=function(){return Pe("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(Pe("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState[qe]=!0,this},z.prototype.wrap=function(R){let pe=!1;R.on("data",(Ae=>{!this.push(Ae)&&R.pause&&(pe=!0,R.pause())})),R.on("end",(()=>{this.push(null)})),R.on("error",(R=>{ze(this,R)})),R.on("close",(()=>{this.destroy()})),R.on("destroy",(()=>{this.destroy()})),this._read=()=>{pe&&R.resume&&(pe=!1,R.resume())};const Ae=Ee(R);for(let pe=1;pe{"use strict";const{MathFloor:he,NumberIsInteger:ge}=Ae(9061),{validateInteger:me}=Ae(6547),{ERR_INVALID_ARG_VALUE:ye}=Ae(4381).codes;let ve=16384,be=16;function u(R){return R?be:ve}R.exports={getHighWaterMark:function(R,pe,Ae,me){const ve=function(R,pe,Ae){return null!=R.highWaterMark?R.highWaterMark:pe?R[Ae]:null}(pe,me,Ae);if(null!=ve){if(!ge(ve)||ve<0)throw new ye(me?`options.${Ae}`:"options.highWaterMark",ve);return he(ve)}return u(R.objectMode)},getDefaultHighWaterMark:u,setDefaultHighWaterMark:function(R,pe){me(pe,"value",0),R?be=pe:ve=pe}}},1161:(R,pe,Ae)=>{"use strict";const{ObjectSetPrototypeOf:he,Symbol:ge}=Ae(9061);R.exports=u;const{ERR_METHOD_NOT_IMPLEMENTED:me}=Ae(4381).codes,ye=Ae(8672),{getHighWaterMark:ve}=Ae(2457);he(u.prototype,ye.prototype),he(u,ye);const be=ge("kCallback");function u(R){if(!(this instanceof u))return new u(R);const pe=R?ve(this,R,"readableHighWaterMark",!0):null;0===pe&&(R={...R,highWaterMark:null,readableHighWaterMark:pe,writableHighWaterMark:R.writableHighWaterMark||0}),ye.call(this,R),this._readableState.sync=!1,this[be]=null,R&&("function"==typeof R.transform&&(this._transform=R.transform),"function"==typeof R.flush&&(this._flush=R.flush)),this.on("prefinish",f)}function c(R){"function"!=typeof this._flush||this.destroyed?(this.push(null),R&&R()):this._flush(((pe,Ae)=>{pe?R?R(pe):this.destroy(pe):(null!=Ae&&this.push(Ae),this.push(null),R&&R())}))}function f(){this._final!==c&&c.call(this)}u.prototype._final=c,u.prototype._transform=function(R,pe,Ae){throw new me("_transform()")},u.prototype._write=function(R,pe,Ae){const he=this._readableState,ge=this._writableState,me=he.length;this._transform(R,pe,((R,pe)=>{R?Ae(R):(null!=pe&&this.push(pe),ge.ended||me===he.length||he.length{"use strict";const{SymbolAsyncIterator:he,SymbolIterator:ge,SymbolFor:me}=Ae(9061),ye=me("nodejs.stream.destroyed"),ve=me("nodejs.stream.errored"),be=me("nodejs.stream.readable"),Ee=me("nodejs.stream.writable"),Ce=me("nodejs.stream.disturbed"),we=me("nodejs.webstream.isClosedPromise"),Ie=me("nodejs.webstream.controllerErrorFunction");function d(R,pe=!1){var Ae;return!(!R||"function"!=typeof R.pipe||"function"!=typeof R.on||pe&&("function"!=typeof R.pause||"function"!=typeof R.resume)||R._writableState&&!1===(null===(Ae=R._readableState)||void 0===Ae?void 0:Ae.readable)||R._writableState&&!R._readableState)}function p(R){var pe;return!(!R||"function"!=typeof R.write||"function"!=typeof R.on||R._readableState&&!1===(null===(pe=R._writableState)||void 0===pe?void 0:pe.writable))}function b(R){return R&&(R._readableState||R._writableState||"function"==typeof R.write&&"function"==typeof R.on||"function"==typeof R.pipe&&"function"==typeof R.on)}function y(R){return!(!R||b(R)||"function"!=typeof R.pipeThrough||"function"!=typeof R.getReader||"function"!=typeof R.cancel)}function g(R){return!(!R||b(R)||"function"!=typeof R.getWriter||"function"!=typeof R.abort)}function w(R){return!(!R||b(R)||"object"!=typeof R.readable||"object"!=typeof R.writable)}function _(R){if(!b(R))return null;const pe=R._writableState,Ae=R._readableState,he=pe||Ae;return!!(R.destroyed||R[ye]||null!=he&&he.destroyed)}function m(R){if(!p(R))return null;if(!0===R.writableEnded)return!0;const pe=R._writableState;return(null==pe||!pe.errored)&&("boolean"!=typeof(null==pe?void 0:pe.ended)?null:pe.ended)}function E(R,pe){if(!d(R))return null;const Ae=R._readableState;return(null==Ae||!Ae.errored)&&("boolean"!=typeof(null==Ae?void 0:Ae.endEmitted)?null:!!(Ae.endEmitted||!1===pe&&!0===Ae.ended&&0===Ae.length))}function S(R){return R&&null!=R[be]?R[be]:"boolean"!=typeof(null==R?void 0:R.readable)?null:!_(R)&&d(R)&&R.readable&&!E(R)}function v(R){return R&&null!=R[Ee]?R[Ee]:"boolean"!=typeof(null==R?void 0:R.writable)?null:!_(R)&&p(R)&&R.writable&&!m(R)}function A(R){return"boolean"==typeof R._closed&&"boolean"==typeof R._defaultKeepAlive&&"boolean"==typeof R._removedConnection&&"boolean"==typeof R._removedContLen}function I(R){return"boolean"==typeof R._sent100&&A(R)}R.exports={isDestroyed:_,kIsDestroyed:ye,isDisturbed:function(R){var pe;return!(!R||!(null!==(pe=R[Ce])&&void 0!==pe?pe:R.readableDidRead||R.readableAborted))},kIsDisturbed:Ce,isErrored:function(R){var pe,Ae,he,ge,me,ye,be,Ee,Ce,we;return!(!R||!(null!==(pe=null!==(Ae=null!==(he=null!==(ge=null!==(me=null!==(ye=R[ve])&&void 0!==ye?ye:R.readableErrored)&&void 0!==me?me:R.writableErrored)&&void 0!==ge?ge:null===(be=R._readableState)||void 0===be?void 0:be.errorEmitted)&&void 0!==he?he:null===(Ee=R._writableState)||void 0===Ee?void 0:Ee.errorEmitted)&&void 0!==Ae?Ae:null===(Ce=R._readableState)||void 0===Ce?void 0:Ce.errored)&&void 0!==pe?pe:null===(we=R._writableState)||void 0===we?void 0:we.errored))},kIsErrored:ve,isReadable:S,kIsReadable:be,kIsClosedPromise:we,kControllerErrorFunction:Ie,kIsWritable:Ee,isClosed:function(R){if(!b(R))return null;if("boolean"==typeof R.closed)return R.closed;const pe=R._writableState,Ae=R._readableState;return"boolean"==typeof(null==pe?void 0:pe.closed)||"boolean"==typeof(null==Ae?void 0:Ae.closed)?(null==pe?void 0:pe.closed)||(null==Ae?void 0:Ae.closed):"boolean"==typeof R._closed&&A(R)?R._closed:null},isDuplexNodeStream:function(R){return!(!R||"function"!=typeof R.pipe||!R._readableState||"function"!=typeof R.on||"function"!=typeof R.write)},isFinished:function(R,pe){return b(R)?!(!_(R)&&(!1!==(null==pe?void 0:pe.readable)&&S(R)||!1!==(null==pe?void 0:pe.writable)&&v(R))):null},isIterable:function(R,pe){return null!=R&&(!0===pe?"function"==typeof R[he]:!1===pe?"function"==typeof R[ge]:"function"==typeof R[he]||"function"==typeof R[ge])},isReadableNodeStream:d,isReadableStream:y,isReadableEnded:function(R){if(!d(R))return null;if(!0===R.readableEnded)return!0;const pe=R._readableState;return!(!pe||pe.errored)&&("boolean"!=typeof(null==pe?void 0:pe.ended)?null:pe.ended)},isReadableFinished:E,isReadableErrored:function(R){var pe,Ae;return b(R)?R.readableErrored?R.readableErrored:null!==(pe=null===(Ae=R._readableState)||void 0===Ae?void 0:Ae.errored)&&void 0!==pe?pe:null:null},isNodeStream:b,isWebStream:function(R){return y(R)||g(R)||w(R)},isWritable:v,isWritableNodeStream:p,isWritableStream:g,isWritableEnded:m,isWritableFinished:function(R,pe){if(!p(R))return null;if(!0===R.writableFinished)return!0;const Ae=R._writableState;return(null==Ae||!Ae.errored)&&("boolean"!=typeof(null==Ae?void 0:Ae.finished)?null:!!(Ae.finished||!1===pe&&!0===Ae.ended&&0===Ae.length))},isWritableErrored:function(R){var pe,Ae;return b(R)?R.writableErrored?R.writableErrored:null!==(pe=null===(Ae=R._writableState)||void 0===Ae?void 0:Ae.errored)&&void 0!==pe?pe:null:null},isServerRequest:function(R){var pe;return"boolean"==typeof R._consuming&&"boolean"==typeof R._dumped&&void 0===(null===(pe=R.req)||void 0===pe?void 0:pe.upgradeOrConnect)},isServerResponse:I,willEmitClose:function(R){if(!b(R))return null;const pe=R._writableState,Ae=R._readableState,he=pe||Ae;return!he&&I(R)||!!(he&&he.autoDestroy&&he.emitClose&&!1===he.closed)},isTransformStream:w}},6304:(R,pe,Ae)=>{const he=Ae(4155),{ArrayPrototypeSlice:ge,Error:me,FunctionPrototypeSymbolHasInstance:ye,ObjectDefineProperty:ve,ObjectDefineProperties:be,ObjectSetPrototypeOf:Ee,StringPrototypeToLowerCase:Ce,Symbol:we,SymbolHasInstance:Ie}=Ae(9061);R.exports=x,x.WritableState=M;const{EventEmitter:_e}=Ae(7187),Be=Ae(4870).Stream,{Buffer:Se}=Ae(8764),Qe=Ae(1195),{addAbortSignal:xe}=Ae(196),{getHighWaterMark:De,getDefaultHighWaterMark:ke}=Ae(2457),{ERR_INVALID_ARG_TYPE:Oe,ERR_METHOD_NOT_IMPLEMENTED:Re,ERR_MULTIPLE_CALLBACK:Pe,ERR_STREAM_CANNOT_PIPE:Te,ERR_STREAM_DESTROYED:Ne,ERR_STREAM_ALREADY_FINISHED:Me,ERR_STREAM_NULL_VALUES:Fe,ERR_STREAM_WRITE_AFTER_END:je,ERR_UNKNOWN_ENCODING:Le}=Ae(4381).codes,{errorOrDestroy:Ue}=Qe;function L(){}Ee(x.prototype,Be.prototype),Ee(x,Be);const He=we("kOnFinished");function M(R,pe,he){"boolean"!=typeof he&&(he=pe instanceof Ae(8672)),this.objectMode=!(!R||!R.objectMode),he&&(this.objectMode=this.objectMode||!(!R||!R.writableObjectMode)),this.highWaterMark=R?De(this,R,"writableHighWaterMark",he):ke(!1),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;const ge=!(!R||!1!==R.decodeStrings);this.decodeStrings=!ge,this.defaultEncoding=R&&R.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=D.bind(void 0,pe),this.writecb=null,this.writelen=0,this.afterWriteTickInfo=null,O(this),this.pendingcb=0,this.constructed=!0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!R||!1!==R.emitClose,this.autoDestroy=!R||!1!==R.autoDestroy,this.errored=null,this.closed=!1,this.closeEmitted=!1,this[He]=[]}function O(R){R.buffered=[],R.bufferedIndex=0,R.allBuffers=!0,R.allNoop=!0}function x(R){const pe=this instanceof Ae(8672);if(!pe&&!ye(x,this))return new x(R);this._writableState=new M(R,this,pe),R&&("function"==typeof R.write&&(this._write=R.write),"function"==typeof R.writev&&(this._writev=R.writev),"function"==typeof R.destroy&&(this._destroy=R.destroy),"function"==typeof R.final&&(this._final=R.final),"function"==typeof R.construct&&(this._construct=R.construct),R.signal&&xe(R.signal,this)),Be.call(this,R),Qe.construct(this,(()=>{const R=this._writableState;R.writing||W(this,R),Y(this,R)}))}function k(R,pe,Ae,ge){const me=R._writableState;if("function"==typeof Ae)ge=Ae,Ae=me.defaultEncoding;else{if(Ae){if("buffer"!==Ae&&!Se.isEncoding(Ae))throw new Le(Ae)}else Ae=me.defaultEncoding;"function"!=typeof ge&&(ge=L)}if(null===pe)throw new Fe;if(!me.objectMode)if("string"==typeof pe)!1!==me.decodeStrings&&(pe=Se.from(pe,Ae),Ae="buffer");else if(pe instanceof Se)Ae="buffer";else{if(!Be._isUint8Array(pe))throw new Oe("chunk",["string","Buffer","Uint8Array"],pe);pe=Be._uint8ArrayToBuffer(pe),Ae="buffer"}let ye;return me.ending?ye=new je:me.destroyed&&(ye=new Ne("write")),ye?(he.nextTick(ge,ye),Ue(R,ye,!0),ye):(me.pendingcb++,function(R,pe,Ae,he,ge){const me=pe.objectMode?1:Ae.length;pe.length+=me;const ye=pe.lengthAe.bufferedIndex&&W(R,Ae),ge?null!==Ae.afterWriteTickInfo&&Ae.afterWriteTickInfo.cb===me?Ae.afterWriteTickInfo.count++:(Ae.afterWriteTickInfo={count:1,cb:me,stream:R,state:Ae},he.nextTick(F,Ae.afterWriteTickInfo)):C(R,Ae,1,me))):Ue(R,new Pe)}function F({stream:R,state:pe,count:Ae,cb:he}){return pe.afterWriteTickInfo=null,C(R,pe,Ae,he)}function C(R,pe,Ae,he){for(!pe.ending&&!R.destroyed&&0===pe.length&&pe.needDrain&&(pe.needDrain=!1,R.emit("drain"));Ae-- >0;)pe.pendingcb--,he();pe.destroyed&&$(pe),Y(R,pe)}function $(R){if(R.writing)return;for(let Ae=R.bufferedIndex;Ae1&&R._writev){pe.pendingcb-=ye-1;const he=pe.allNoop?L:R=>{for(let pe=ve;pe256?(Ae.splice(0,ve),pe.bufferedIndex=0):pe.bufferedIndex=ve}pe.bufferProcessing=!1}function G(R){return R.ending&&!R.destroyed&&R.constructed&&0===R.length&&!R.errored&&0===R.buffered.length&&!R.finished&&!R.writing&&!R.errorEmitted&&!R.closeEmitted}function Y(R,pe,Ae){G(pe)&&(function(R,pe){pe.prefinished||pe.finalCalled||("function"!=typeof R._final||pe.destroyed?(pe.prefinished=!0,R.emit("prefinish")):(pe.finalCalled=!0,function(R,pe){let Ae=!1;function i(ge){if(Ae)Ue(R,null!=ge?ge:Pe());else if(Ae=!0,pe.pendingcb--,ge){const Ae=pe[He].splice(0);for(let R=0;R{G(pe)?H(R,pe):pe.pendingcb--}),R,pe)):G(pe)&&(pe.pendingcb++,H(R,pe))))}function H(R,pe){pe.pendingcb--,pe.finished=!0;const Ae=pe[He].splice(0);for(let R=0;R{"use strict";const{ArrayIsArray:he,ArrayPrototypeIncludes:ge,ArrayPrototypeJoin:me,ArrayPrototypeMap:ye,NumberIsInteger:ve,NumberIsNaN:be,NumberMAX_SAFE_INTEGER:Ee,NumberMIN_SAFE_INTEGER:Ce,NumberParseInt:we,ObjectPrototypeHasOwnProperty:Ie,RegExpPrototypeExec:_e,String:Be,StringPrototypeToUpperCase:Se,StringPrototypeTrim:Qe}=Ae(9061),{hideStackFrames:xe,codes:{ERR_SOCKET_BAD_PORT:De,ERR_INVALID_ARG_TYPE:ke,ERR_INVALID_ARG_VALUE:Oe,ERR_OUT_OF_RANGE:Re,ERR_UNKNOWN_SIGNAL:Pe}}=Ae(4381),{normalizeEncoding:Te}=Ae(6087),{isAsyncFunction:Ne,isArrayBufferView:Me}=Ae(6087).types,Fe={},je=/^[0-7]+$/,Le=xe(((R,pe,Ae=Ce,he=Ee)=>{if("number"!=typeof R)throw new ke(pe,"number",R);if(!ve(R))throw new Re(pe,"an integer",R);if(Rhe)throw new Re(pe,`>= ${Ae} && <= ${he}`,R)})),Ue=xe(((R,pe,Ae=-2147483648,he=2147483647)=>{if("number"!=typeof R)throw new ke(pe,"number",R);if(!ve(R))throw new Re(pe,"an integer",R);if(Rhe)throw new Re(pe,`>= ${Ae} && <= ${he}`,R)})),He=xe(((R,pe,Ae=!1)=>{if("number"!=typeof R)throw new ke(pe,"number",R);if(!ve(R))throw new Re(pe,"an integer",R);const he=Ae?1:0,ge=4294967295;if(Rge)throw new Re(pe,`>= ${he} && <= ${ge}`,R)}));function U(R,pe){if("string"!=typeof R)throw new ke(pe,"string",R)}const Ve=xe(((R,pe,Ae)=>{if(!ge(Ae,R)){const he=me(ye(Ae,(R=>"string"==typeof R?`'${R}'`:Be(R))),", ");throw new Oe(pe,R,"must be one of: "+he)}}));function O(R,pe){if("boolean"!=typeof R)throw new ke(pe,"boolean",R)}function x(R,pe,Ae){return null!=R&&Ie(R,pe)?R[pe]:Ae}const We=xe(((R,pe,Ae=null)=>{const ge=x(Ae,"allowArray",!1),me=x(Ae,"allowFunction",!1);if(!x(Ae,"nullable",!1)&&null===R||!ge&&he(R)||"object"!=typeof R&&(!me||"function"!=typeof R))throw new ke(pe,"Object",R)})),Je=xe(((R,pe)=>{if(null!=R&&"object"!=typeof R&&"function"!=typeof R)throw new ke(pe,"a dictionary",R)})),Ge=xe(((R,pe,Ae=0)=>{if(!he(R))throw new ke(pe,"Array",R);if(R.length{if(!Me(R))throw new ke(pe,["Buffer","TypedArray","DataView"],R)})),Ye=xe(((R,pe)=>{if(void 0!==R&&(null===R||"object"!=typeof R||!("aborted"in R)))throw new ke(pe,"AbortSignal",R)})),Ke=xe(((R,pe)=>{if("function"!=typeof R)throw new ke(pe,"Function",R)})),ze=xe(((R,pe)=>{if("function"!=typeof R||Ne(R))throw new ke(pe,"Function",R)})),$e=xe(((R,pe)=>{if(void 0!==R)throw new ke(pe,"undefined",R)})),Ze=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function Y(R,pe){if(void 0===R||!_e(Ze,R))throw new Oe(pe,R,'must be an array or string of format "; rel=preload; as=style"')}R.exports={isInt32:function(R){return R===(0|R)},isUint32:function(R){return R===R>>>0},parseFileMode:function(R,pe,Ae){if(void 0===R&&(R=Ae),"string"==typeof R){if(null===_e(je,R))throw new Oe(pe,R,"must be a 32-bit unsigned integer or an octal string");R=we(R,8)}return He(R,pe),R},validateArray:Ge,validateStringArray:function(R,pe){Ge(R,pe);for(let Ae=0;Aehe||(null!=Ae||null!=he)&&be(R))throw new Re(pe,`${null!=Ae?`>= ${Ae}`:""}${null!=Ae&&null!=he?" && ":""}${null!=he?`<= ${he}`:""}`,R)},validateObject:We,validateOneOf:Ve,validatePlainFunction:ze,validatePort:function(R,pe="Port",Ae=!0){if("number"!=typeof R&&"string"!=typeof R||"string"==typeof R&&0===Qe(R).length||+R!=+R>>>0||R>65535||0===R&&!Ae)throw new De(pe,R,Ae);return 0|R},validateSignalName:function(R,pe="signal"){if(U(R,pe),void 0===Fe[R]){if(void 0!==Fe[Se(R)])throw new Pe(R+" (signals must use all capital letters)");throw new Pe(R)}},validateString:U,validateUint32:He,validateUndefined:$e,validateUnion:function(R,pe,Ae){if(!ge(Ae,R))throw new ke(pe,`('${me(Ae,"|")}')`,R)},validateAbortSignal:Ye,validateLinkHeaderValue:function(R){if("string"==typeof R)return Y(R,"hints"),R;if(he(R)){const pe=R.length;let Ae="";if(0===pe)return Ae;for(let he=0;he; rel=preload; as=style"')}}},4381:(R,pe,Ae)=>{"use strict";const{format:he,inspect:ge,AggregateError:me}=Ae(6087),ye=globalThis.AggregateError||me,ve=Symbol("kIsNodeError"),be=["string","function","number","object","Function","Object","boolean","bigint","symbol"],Ee=/^([A-Z][a-z0-9]*)+$/,Ce={};function f(R,pe){if(!R)throw new Ce.ERR_INTERNAL_ASSERTION(pe)}function h(R){let pe="",Ae=R.length;const he="-"===R[0]?1:0;for(;Ae>=he+4;Ae-=3)pe=`_${R.slice(Ae-3,Ae)}${pe}`;return`${R.slice(0,Ae)}${pe}`}function d(R,pe,Ae){Ae||(Ae=Error);class i extends Ae{constructor(...Ae){super(function(R,pe,Ae){if("function"==typeof pe)return f(pe.length<=Ae.length,`Code: ${R}; The provided arguments length (${Ae.length}) does not match the required ones (${pe.length}).`),pe(...Ae);const ge=(pe.match(/%[dfijoOs]/g)||[]).length;return f(ge===Ae.length,`Code: ${R}; The provided arguments length (${Ae.length}) does not match the required ones (${ge}).`),0===Ae.length?pe:he(pe,...Ae)}(R,pe,Ae))}toString(){return`${this.name} [${R}]: ${this.message}`}}Object.defineProperties(i.prototype,{name:{value:Ae.name,writable:!0,enumerable:!1,configurable:!0},toString:{value(){return`${this.name} [${R}]: ${this.message}`},writable:!0,enumerable:!1,configurable:!0}}),i.prototype.code=R,i.prototype[ve]=!0,Ce[R]=i}function p(R){const pe="__node_internal_"+R.name;return Object.defineProperty(R,"name",{value:pe}),R}class b extends Error{constructor(R="The operation was aborted",pe=void 0){if(void 0!==pe&&"object"!=typeof pe)throw new Ce.ERR_INVALID_ARG_TYPE("options","Object",pe);super(R,pe),this.code="ABORT_ERR",this.name="AbortError"}}d("ERR_ASSERTION","%s",Error),d("ERR_INVALID_ARG_TYPE",((R,pe,Ae)=>{f("string"==typeof R,"'name' must be a string"),Array.isArray(pe)||(pe=[pe]);let he="The ";R.endsWith(" argument")?he+=`${R} `:he+=`"${R}" ${R.includes(".")?"property":"argument"} `,he+="must be ";const me=[],ye=[],ve=[];for(const R of pe)f("string"==typeof R,"All expected entries have to be of type string"),be.includes(R)?me.push(R.toLowerCase()):Ee.test(R)?ye.push(R):(f("object"!==R,'The value "object" should be written as "Object"'),ve.push(R));if(ye.length>0){const R=me.indexOf("object");-1!==R&&(me.splice(me,R,1),ye.push("Object"))}if(me.length>0){switch(me.length){case 1:he+=`of type ${me[0]}`;break;case 2:he+=`one of type ${me[0]} or ${me[1]}`;break;default:{const R=me.pop();he+=`one of type ${me.join(", ")}, or ${R}`}}(ye.length>0||ve.length>0)&&(he+=" or ")}if(ye.length>0){switch(ye.length){case 1:he+=`an instance of ${ye[0]}`;break;case 2:he+=`an instance of ${ye[0]} or ${ye[1]}`;break;default:{const R=ye.pop();he+=`an instance of ${ye.join(", ")}, or ${R}`}}ve.length>0&&(he+=" or ")}switch(ve.length){case 0:break;case 1:ve[0].toLowerCase()!==ve[0]&&(he+="an "),he+=`${ve[0]}`;break;case 2:he+=`one of ${ve[0]} or ${ve[1]}`;break;default:{const R=ve.pop();he+=`one of ${ve.join(", ")}, or ${R}`}}if(null==Ae)he+=`. Received ${Ae}`;else if("function"==typeof Ae&&Ae.name)he+=`. Received function ${Ae.name}`;else if("object"==typeof Ae){var Ce;null!==(Ce=Ae.constructor)&&void 0!==Ce&&Ce.name?he+=`. Received an instance of ${Ae.constructor.name}`:he+=`. Received ${ge(Ae,{depth:-1})}`}else{let R=ge(Ae,{colors:!1});R.length>25&&(R=`${R.slice(0,25)}...`),he+=`. Received type ${typeof Ae} (${R})`}return he}),TypeError),d("ERR_INVALID_ARG_VALUE",((R,pe,Ae="is invalid")=>{let he=ge(pe);return he.length>128&&(he=he.slice(0,128)+"..."),`The ${R.includes(".")?"property":"argument"} '${R}' ${Ae}. Received ${he}`}),TypeError),d("ERR_INVALID_RETURN_VALUE",((R,pe,Ae)=>{var he;return`Expected ${R} to be returned from the "${pe}" function but got ${null!=Ae&&null!==(he=Ae.constructor)&&void 0!==he&&he.name?`instance of ${Ae.constructor.name}`:"type "+typeof Ae}.`}),TypeError),d("ERR_MISSING_ARGS",((...R)=>{let pe;f(R.length>0,"At least one arg needs to be specified");const Ae=R.length;switch(R=(Array.isArray(R)?R:[R]).map((R=>`"${R}"`)).join(" or "),Ae){case 1:pe+=`The ${R[0]} argument`;break;case 2:pe+=`The ${R[0]} and ${R[1]} arguments`;break;default:{const Ae=R.pop();pe+=`The ${R.join(", ")}, and ${Ae} arguments`}}return`${pe} must be specified`}),TypeError),d("ERR_OUT_OF_RANGE",((R,pe,Ae)=>{let he;return f(pe,'Missing "range" argument'),Number.isInteger(Ae)&&Math.abs(Ae)>2**32?he=h(String(Ae)):"bigint"==typeof Ae?(he=String(Ae),(Ae>2n**32n||Ae<-(2n**32n))&&(he=h(he)),he+="n"):he=ge(Ae),`The value of "${R}" is out of range. It must be ${pe}. Received ${he}`}),RangeError),d("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error),d("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error),d("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error),d("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error),d("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error),d("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),d("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error),d("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error),d("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error),d("ERR_STREAM_WRITE_AFTER_END","write after end",Error),d("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError),R.exports={AbortError:b,aggregateTwoErrors:p((function(R,pe){if(R&&pe&&R!==pe){if(Array.isArray(pe.errors))return pe.errors.push(R),pe;const Ae=new ye([pe,R],pe.message);return Ae.code=pe.code,Ae}return R||pe})),hideStackFrames:p,codes:Ce}},9061:R=>{"use strict";R.exports={ArrayIsArray:R=>Array.isArray(R),ArrayPrototypeIncludes:(R,pe)=>R.includes(pe),ArrayPrototypeIndexOf:(R,pe)=>R.indexOf(pe),ArrayPrototypeJoin:(R,pe)=>R.join(pe),ArrayPrototypeMap:(R,pe)=>R.map(pe),ArrayPrototypePop:(R,pe)=>R.pop(pe),ArrayPrototypePush:(R,pe)=>R.push(pe),ArrayPrototypeSlice:(R,pe,Ae)=>R.slice(pe,Ae),Error:Error,FunctionPrototypeCall:(R,pe,...Ae)=>R.call(pe,...Ae),FunctionPrototypeSymbolHasInstance:(R,pe)=>Function.prototype[Symbol.hasInstance].call(R,pe),MathFloor:Math.floor,Number:Number,NumberIsInteger:Number.isInteger,NumberIsNaN:Number.isNaN,NumberMAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER,NumberMIN_SAFE_INTEGER:Number.MIN_SAFE_INTEGER,NumberParseInt:Number.parseInt,ObjectDefineProperties:(R,pe)=>Object.defineProperties(R,pe),ObjectDefineProperty:(R,pe,Ae)=>Object.defineProperty(R,pe,Ae),ObjectGetOwnPropertyDescriptor:(R,pe)=>Object.getOwnPropertyDescriptor(R,pe),ObjectKeys:R=>Object.keys(R),ObjectSetPrototypeOf:(R,pe)=>Object.setPrototypeOf(R,pe),Promise:Promise,PromisePrototypeCatch:(R,pe)=>R.catch(pe),PromisePrototypeThen:(R,pe,Ae)=>R.then(pe,Ae),PromiseReject:R=>Promise.reject(R),PromiseResolve:R=>Promise.resolve(R),ReflectApply:Reflect.apply,RegExpPrototypeTest:(R,pe)=>R.test(pe),SafeSet:Set,String:String,StringPrototypeSlice:(R,pe,Ae)=>R.slice(pe,Ae),StringPrototypeToLowerCase:R=>R.toLowerCase(),StringPrototypeToUpperCase:R=>R.toUpperCase(),StringPrototypeTrim:R=>R.trim(),Symbol:Symbol,SymbolFor:Symbol.for,SymbolAsyncIterator:Symbol.asyncIterator,SymbolHasInstance:Symbol.hasInstance,SymbolIterator:Symbol.iterator,SymbolDispose:Symbol.dispose||Symbol("Symbol.dispose"),SymbolAsyncDispose:Symbol.asyncDispose||Symbol("Symbol.asyncDispose"),TypedArrayPrototypeSet:(R,pe,Ae)=>R.set(pe,Ae),Boolean:Boolean,Uint8Array:Uint8Array}},6087:(R,pe,Ae)=>{"use strict";const he=Ae(8764),{kResistStopPropagation:ge,SymbolDispose:me}=Ae(9061),ye=globalThis.AbortSignal||Ae(8599).AbortSignal,ve=globalThis.AbortController||Ae(8599).AbortController,be=Object.getPrototypeOf((async function(){})).constructor,Ee=globalThis.Blob||he.Blob,Ce=void 0!==Ee?function(R){return R instanceof Ee}:function(R){return!1},f=(R,pe)=>{if(void 0!==R&&(null===R||"object"!=typeof R||!("aborted"in R)))throw new ERR_INVALID_ARG_TYPE(pe,"AbortSignal",R)};class h extends Error{constructor(R){if(!Array.isArray(R))throw new TypeError("Expected input to be an Array, got "+typeof R);let pe="";for(let Ae=0;Ae{R=Ae,pe=he})),resolve:R,reject:pe}},promisify:R=>new Promise(((pe,Ae)=>{R(((R,...he)=>R?Ae(R):pe(...he)))})),debuglog:()=>function(){},format:(R,...pe)=>R.replace(/%([sdifj])/g,(function(...[R,Ae]){const he=pe.shift();return"f"===Ae?he.toFixed(6):"j"===Ae?JSON.stringify(he):"s"===Ae&&"object"==typeof he?`${he.constructor!==Object?he.constructor.name:""} {}`.trim():he.toString()})),inspect(R){switch(typeof R){case"string":if(R.includes("'")){if(!R.includes('"'))return`"${R}"`;if(!R.includes("`")&&!R.includes("${"))return`\`${R}\``}return`'${R}'`;case"number":return isNaN(R)?"NaN":Object.is(R,-0)?String(R):R;case"bigint":return`${String(R)}n`;case"boolean":case"undefined":return String(R);case"object":return"{}"}},types:{isAsyncFunction:R=>R instanceof be,isArrayBufferView:R=>ArrayBuffer.isView(R)},isBlob:Ce,deprecate:(R,pe)=>R,addAbortListener:Ae(7187).addAbortListener||function(R,pe){if(void 0===R)throw new ERR_INVALID_ARG_TYPE("signal","AbortSignal",R);let Ae;return f(R,"signal"),((R,pe)=>{if("function"!=typeof R)throw new ERR_INVALID_ARG_TYPE("listener","Function",R)})(pe),R.aborted?queueMicrotask((()=>pe())):(R.addEventListener("abort",pe,{__proto__:null,once:!0,[ge]:!0}),Ae=()=>{R.removeEventListener("abort",pe)}),{__proto__:null,[me](){var R;null===(R=Ae)||void 0===R||R()}}},AbortSignalAny:ye.any||function(R){if(1===R.length)return R[0];const pe=new ve,r=()=>pe.abort();return R.forEach((R=>{f(R,"signals"),R.addEventListener("abort",r,{once:!0})})),pe.signal.addEventListener("abort",(()=>{R.forEach((R=>R.removeEventListener("abort",r)))}),{once:!0}),pe.signal}},R.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")},5099:(R,pe,Ae)=>{const{Buffer:he}=Ae(8764),{ObjectDefineProperty:ge,ObjectKeys:me,ReflectApply:ye}=Ae(9061),{promisify:{custom:ve}}=Ae(6087),{streamReturningOperators:be,promiseReturningOperators:Ee}=Ae(4382),{codes:{ERR_ILLEGAL_CONSTRUCTOR:Ce}}=Ae(4381),we=Ae(299),{setDefaultHighWaterMark:Ie,getDefaultHighWaterMark:_e}=Ae(2457),{pipeline:Be}=Ae(9946),{destroyer:Se}=Ae(1195),Qe=Ae(8610),xe=Ae(7854),De=Ae(5874),ke=R.exports=Ae(4870).Stream;ke.isDestroyed=De.isDestroyed,ke.isDisturbed=De.isDisturbed,ke.isErrored=De.isErrored,ke.isReadable=De.isReadable,ke.isWritable=De.isWritable,ke.Readable=Ae(911);for(const R of me(be)){const pe=be[R];function m(...R){if(new.target)throw Ce();return ke.Readable.from(ye(pe,this,R))}ge(m,"name",{__proto__:null,value:pe.name}),ge(m,"length",{__proto__:null,value:pe.length}),ge(ke.Readable.prototype,R,{__proto__:null,value:m,enumerable:!1,configurable:!0,writable:!0})}for(const R of me(Ee)){const pe=Ee[R];function m(...R){if(new.target)throw Ce();return ye(pe,this,R)}ge(m,"name",{__proto__:null,value:pe.name}),ge(m,"length",{__proto__:null,value:pe.length}),ge(ke.Readable.prototype,R,{__proto__:null,value:m,enumerable:!1,configurable:!0,writable:!0})}ke.Writable=Ae(6304),ke.Duplex=Ae(8672),ke.Transform=Ae(1161),ke.PassThrough=Ae(917),ke.pipeline=Be;const{addAbortSignal:Oe}=Ae(196);ke.addAbortSignal=Oe,ke.finished=Qe,ke.destroy=Se,ke.compose=we,ke.setDefaultHighWaterMark=Ie,ke.getDefaultHighWaterMark=_e,ge(ke,"promises",{__proto__:null,configurable:!0,enumerable:!0,get:()=>xe}),ge(Be,ve,{__proto__:null,enumerable:!0,get:()=>xe.pipeline}),ge(Qe,ve,{__proto__:null,enumerable:!0,get:()=>xe.finished}),ke.Stream=ke,ke._isUint8Array=function(R){return R instanceof Uint8Array},ke._uint8ArrayToBuffer=function(R){return he.from(R.buffer,R.byteOffset,R.byteLength)}},7854:(R,pe,Ae)=>{"use strict";const{ArrayPrototypePop:he,Promise:ge}=Ae(9061),{isIterable:me,isNodeStream:ye,isWebStream:ve}=Ae(5874),{pipelineImpl:be}=Ae(9946),{finished:Ee}=Ae(8610);Ae(5099),R.exports={finished:Ee,pipeline:function(...R){return new ge(((pe,Ae)=>{let ge,Ee;const Ce=R[R.length-1];if(Ce&&"object"==typeof Ce&&!ye(Ce)&&!me(Ce)&&!ve(Ce)){const pe=he(R);ge=pe.signal,Ee=pe.end}be(R,((R,he)=>{R?Ae(R):pe(he)}),{signal:ge,end:Ee})}))}}},9509:(R,pe,Ae)=>{var he=Ae(8764),ge=he.Buffer;function o(R,pe){for(var Ae in R)pe[Ae]=R[Ae]}function s(R,pe,Ae){return ge(R,pe,Ae)}ge.from&&ge.alloc&&ge.allocUnsafe&&ge.allocUnsafeSlow?R.exports=he:(o(he,pe),pe.Buffer=s),s.prototype=Object.create(ge.prototype),o(ge,s),s.from=function(R,pe,Ae){if("number"==typeof R)throw new TypeError("Argument must not be a number");return ge(R,pe,Ae)},s.alloc=function(R,pe,Ae){if("number"!=typeof R)throw new TypeError("Argument must be a number");var he=ge(R);return void 0!==pe?"string"==typeof Ae?he.fill(pe,Ae):he.fill(pe):he.fill(0),he},s.allocUnsafe=function(R){if("number"!=typeof R)throw new TypeError("Argument must be a number");return ge(R)},s.allocUnsafeSlow=function(R){if("number"!=typeof R)throw new TypeError("Argument must be a number");return he.SlowBuffer(R)}},2830:(R,pe,Ae)=>{R.exports=i;var he=Ae(7187).EventEmitter;function i(){he.call(this)}Ae(5717)(i,he),i.Readable=Ae(9481),i.Writable=Ae(4229),i.Duplex=Ae(6753),i.Transform=Ae(4605),i.PassThrough=Ae(2725),i.finished=Ae(8610),i.pipeline=Ae(9946),i.Stream=i,i.prototype.pipe=function(R,pe){var Ae=this;function i(pe){R.writable&&!1===R.write(pe)&&Ae.pause&&Ae.pause()}function o(){Ae.readable&&Ae.resume&&Ae.resume()}Ae.on("data",i),R.on("drain",o),R._isStdio||pe&&!1===pe.end||(Ae.on("end",a),Ae.on("close",l));var ge=!1;function a(){ge||(ge=!0,R.end())}function l(){ge||(ge=!0,"function"==typeof R.destroy&&R.destroy())}function u(R){if(c(),0===he.listenerCount(this,"error"))throw R}function c(){Ae.removeListener("data",i),R.removeListener("drain",o),Ae.removeListener("end",a),Ae.removeListener("close",l),Ae.removeListener("error",u),R.removeListener("error",u),Ae.removeListener("end",c),Ae.removeListener("close",c),R.removeListener("close",c)}return Ae.on("error",u),R.on("error",u),Ae.on("end",c),Ae.on("close",c),R.on("close",c),R.emit("pipe",Ae),R}},2553:(R,pe,Ae)=>{"use strict";var he=Ae(9509).Buffer,ge=he.isEncoding||function(R){switch((R=""+R)&&R.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(R){var pe;switch(this.encoding=function(R){var pe=function(R){if(!R)return"utf8";for(var pe;;)switch(R){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return R;default:if(pe)return;R=(""+R).toLowerCase(),pe=!0}}(R);if("string"!=typeof pe&&(he.isEncoding===ge||!ge(R)))throw new Error("Unknown encoding: "+R);return pe||R}(R),this.encoding){case"utf16le":this.text=l,this.end=u,pe=4;break;case"utf8":this.fillLast=a,pe=4;break;case"base64":this.text=c,this.end=f,pe=3;break;default:return this.write=h,void(this.end=d)}this.lastNeed=0,this.lastTotal=0,this.lastChar=he.allocUnsafe(pe)}function s(R){return R<=127?0:R>>5==6?2:R>>4==14?3:R>>3==30?4:R>>6==2?-1:-2}function a(R){var pe=this.lastTotal-this.lastNeed,Ae=function(R,pe,Ae){if(128!=(192&pe[0]))return R.lastNeed=0,"�";if(R.lastNeed>1&&pe.length>1){if(128!=(192&pe[1]))return R.lastNeed=1,"�";if(R.lastNeed>2&&pe.length>2&&128!=(192&pe[2]))return R.lastNeed=2,"�"}}(this,R);return void 0!==Ae?Ae:this.lastNeed<=R.length?(R.copy(this.lastChar,pe,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(R.copy(this.lastChar,pe,0,R.length),void(this.lastNeed-=R.length))}function l(R,pe){if((R.length-pe)%2==0){var Ae=R.toString("utf16le",pe);if(Ae){var he=Ae.charCodeAt(Ae.length-1);if(he>=55296&&he<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=R[R.length-2],this.lastChar[1]=R[R.length-1],Ae.slice(0,-1)}return Ae}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=R[R.length-1],R.toString("utf16le",pe,R.length-1)}function u(R){var pe=R&&R.length?this.write(R):"";if(this.lastNeed){var Ae=this.lastTotal-this.lastNeed;return pe+this.lastChar.toString("utf16le",0,Ae)}return pe}function c(R,pe){var Ae=(R.length-pe)%3;return 0===Ae?R.toString("base64",pe):(this.lastNeed=3-Ae,this.lastTotal=3,1===Ae?this.lastChar[0]=R[R.length-1]:(this.lastChar[0]=R[R.length-2],this.lastChar[1]=R[R.length-1]),R.toString("base64",pe,R.length-Ae))}function f(R){var pe=R&&R.length?this.write(R):"";return this.lastNeed?pe+this.lastChar.toString("base64",0,3-this.lastNeed):pe}function h(R){return R.toString(this.encoding)}function d(R){return R&&R.length?this.write(R):""}pe.StringDecoder=o,o.prototype.write=function(R){if(0===R.length)return"";var pe,Ae;if(this.lastNeed){if(void 0===(pe=this.fillLast(R)))return"";Ae=this.lastNeed,this.lastNeed=0}else Ae=0;return Ae=0?(ge>0&&(R.lastNeed=ge-1),ge):--he=0?(ge>0&&(R.lastNeed=ge-2),ge):--he=0?(ge>0&&(2===ge?ge=0:R.lastNeed=ge-3),ge):0}(this,R,pe);if(!this.lastNeed)return R.toString("utf8",pe);this.lastTotal=Ae;var he=R.length-(Ae-this.lastNeed);return R.copy(this.lastChar,0,he),R.toString("utf8",pe,he)},o.prototype.fillLast=function(R){if(this.lastNeed<=R.length)return R.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);R.copy(this.lastChar,this.lastTotal-this.lastNeed,0,R.length),this.lastNeed-=R.length}}},pe={};function r(Ae){var he=pe[Ae];if(void 0!==he)return he.exports;var ge=pe[Ae]={exports:{}};return R[Ae](ge,ge.exports,r),ge.exports}r.n=R=>{var pe=R&&R.__esModule?()=>R.default:()=>R;return r.d(pe,{a:pe}),pe},r.d=(R,pe)=>{for(var Ae in pe)r.o(pe,Ae)&&!r.o(R,Ae)&&Object.defineProperty(R,Ae,{enumerable:!0,get:pe[Ae]})},r.o=(R,pe)=>Object.prototype.hasOwnProperty.call(R,pe),r.r=R=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(R,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(R,"__esModule",{value:!0})};var Ae={};return(()=>{"use strict";r.r(Ae);var R=r(2141),pe={};for(const Ae in R)"default"!==Ae&&(pe[Ae]=()=>R[Ae]);r.d(Ae,pe)})(),Ae})()))},97391:(R,pe,Ae)=>{const he=Ae(78510);const ge={};for(const R of Object.keys(he)){ge[he[R]]=R}const me={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};R.exports=me;for(const R of Object.keys(me)){if(!("channels"in me[R])){throw new Error("missing channels property: "+R)}if(!("labels"in me[R])){throw new Error("missing channel labels property: "+R)}if(me[R].labels.length!==me[R].channels){throw new Error("channel and label counts mismatch: "+R)}const{channels:pe,labels:Ae}=me[R];delete me[R].channels;delete me[R].labels;Object.defineProperty(me[R],"channels",{value:pe});Object.defineProperty(me[R],"labels",{value:Ae})}me.rgb.hsl=function(R){const pe=R[0]/255;const Ae=R[1]/255;const he=R[2]/255;const ge=Math.min(pe,Ae,he);const me=Math.max(pe,Ae,he);const ye=me-ge;let ve;let be;if(me===ge){ve=0}else if(pe===me){ve=(Ae-he)/ye}else if(Ae===me){ve=2+(he-pe)/ye}else if(he===me){ve=4+(pe-Ae)/ye}ve=Math.min(ve*60,360);if(ve<0){ve+=360}const Ee=(ge+me)/2;if(me===ge){be=0}else if(Ee<=.5){be=ye/(me+ge)}else{be=ye/(2-me-ge)}return[ve,be*100,Ee*100]};me.rgb.hsv=function(R){let pe;let Ae;let he;let ge;let me;const ye=R[0]/255;const ve=R[1]/255;const be=R[2]/255;const Ee=Math.max(ye,ve,be);const Ce=Ee-Math.min(ye,ve,be);const diffc=function(R){return(Ee-R)/6/Ce+1/2};if(Ce===0){ge=0;me=0}else{me=Ce/Ee;pe=diffc(ye);Ae=diffc(ve);he=diffc(be);if(ye===Ee){ge=he-Ae}else if(ve===Ee){ge=1/3+pe-he}else if(be===Ee){ge=2/3+Ae-pe}if(ge<0){ge+=1}else if(ge>1){ge-=1}}return[ge*360,me*100,Ee*100]};me.rgb.hwb=function(R){const pe=R[0];const Ae=R[1];let he=R[2];const ge=me.rgb.hsl(R)[0];const ye=1/255*Math.min(pe,Math.min(Ae,he));he=1-1/255*Math.max(pe,Math.max(Ae,he));return[ge,ye*100,he*100]};me.rgb.cmyk=function(R){const pe=R[0]/255;const Ae=R[1]/255;const he=R[2]/255;const ge=Math.min(1-pe,1-Ae,1-he);const me=(1-pe-ge)/(1-ge)||0;const ye=(1-Ae-ge)/(1-ge)||0;const ve=(1-he-ge)/(1-ge)||0;return[me*100,ye*100,ve*100,ge*100]};function comparativeDistance(R,pe){return(R[0]-pe[0])**2+(R[1]-pe[1])**2+(R[2]-pe[2])**2}me.rgb.keyword=function(R){const pe=ge[R];if(pe){return pe}let Ae=Infinity;let me;for(const pe of Object.keys(he)){const ge=he[pe];const ye=comparativeDistance(R,ge);if(ye.04045?((pe+.055)/1.055)**2.4:pe/12.92;Ae=Ae>.04045?((Ae+.055)/1.055)**2.4:Ae/12.92;he=he>.04045?((he+.055)/1.055)**2.4:he/12.92;const ge=pe*.4124+Ae*.3576+he*.1805;const me=pe*.2126+Ae*.7152+he*.0722;const ye=pe*.0193+Ae*.1192+he*.9505;return[ge*100,me*100,ye*100]};me.rgb.lab=function(R){const pe=me.rgb.xyz(R);let Ae=pe[0];let he=pe[1];let ge=pe[2];Ae/=95.047;he/=100;ge/=108.883;Ae=Ae>.008856?Ae**(1/3):7.787*Ae+16/116;he=he>.008856?he**(1/3):7.787*he+16/116;ge=ge>.008856?ge**(1/3):7.787*ge+16/116;const ye=116*he-16;const ve=500*(Ae-he);const be=200*(he-ge);return[ye,ve,be]};me.hsl.rgb=function(R){const pe=R[0]/360;const Ae=R[1]/100;const he=R[2]/100;let ge;let me;let ye;if(Ae===0){ye=he*255;return[ye,ye,ye]}if(he<.5){ge=he*(1+Ae)}else{ge=he+Ae-he*Ae}const ve=2*he-ge;const be=[0,0,0];for(let R=0;R<3;R++){me=pe+1/3*-(R-1);if(me<0){me++}if(me>1){me--}if(6*me<1){ye=ve+(ge-ve)*6*me}else if(2*me<1){ye=ge}else if(3*me<2){ye=ve+(ge-ve)*(2/3-me)*6}else{ye=ve}be[R]=ye*255}return be};me.hsl.hsv=function(R){const pe=R[0];let Ae=R[1]/100;let he=R[2]/100;let ge=Ae;const me=Math.max(he,.01);he*=2;Ae*=he<=1?he:2-he;ge*=me<=1?me:2-me;const ye=(he+Ae)/2;const ve=he===0?2*ge/(me+ge):2*Ae/(he+Ae);return[pe,ve*100,ye*100]};me.hsv.rgb=function(R){const pe=R[0]/60;const Ae=R[1]/100;let he=R[2]/100;const ge=Math.floor(pe)%6;const me=pe-Math.floor(pe);const ye=255*he*(1-Ae);const ve=255*he*(1-Ae*me);const be=255*he*(1-Ae*(1-me));he*=255;switch(ge){case 0:return[he,be,ye];case 1:return[ve,he,ye];case 2:return[ye,he,be];case 3:return[ye,ve,he];case 4:return[be,ye,he];case 5:return[he,ye,ve]}};me.hsv.hsl=function(R){const pe=R[0];const Ae=R[1]/100;const he=R[2]/100;const ge=Math.max(he,.01);let me;let ye;ye=(2-Ae)*he;const ve=(2-Ae)*ge;me=Ae*ge;me/=ve<=1?ve:2-ve;me=me||0;ye/=2;return[pe,me*100,ye*100]};me.hwb.rgb=function(R){const pe=R[0]/360;let Ae=R[1]/100;let he=R[2]/100;const ge=Ae+he;let me;if(ge>1){Ae/=ge;he/=ge}const ye=Math.floor(6*pe);const ve=1-he;me=6*pe-ye;if((ye&1)!==0){me=1-me}const be=Ae+me*(ve-Ae);let Ee;let Ce;let we;switch(ye){default:case 6:case 0:Ee=ve;Ce=be;we=Ae;break;case 1:Ee=be;Ce=ve;we=Ae;break;case 2:Ee=Ae;Ce=ve;we=be;break;case 3:Ee=Ae;Ce=be;we=ve;break;case 4:Ee=be;Ce=Ae;we=ve;break;case 5:Ee=ve;Ce=Ae;we=be;break}return[Ee*255,Ce*255,we*255]};me.cmyk.rgb=function(R){const pe=R[0]/100;const Ae=R[1]/100;const he=R[2]/100;const ge=R[3]/100;const me=1-Math.min(1,pe*(1-ge)+ge);const ye=1-Math.min(1,Ae*(1-ge)+ge);const ve=1-Math.min(1,he*(1-ge)+ge);return[me*255,ye*255,ve*255]};me.xyz.rgb=function(R){const pe=R[0]/100;const Ae=R[1]/100;const he=R[2]/100;let ge;let me;let ye;ge=pe*3.2406+Ae*-1.5372+he*-.4986;me=pe*-.9689+Ae*1.8758+he*.0415;ye=pe*.0557+Ae*-.204+he*1.057;ge=ge>.0031308?1.055*ge**(1/2.4)-.055:ge*12.92;me=me>.0031308?1.055*me**(1/2.4)-.055:me*12.92;ye=ye>.0031308?1.055*ye**(1/2.4)-.055:ye*12.92;ge=Math.min(Math.max(0,ge),1);me=Math.min(Math.max(0,me),1);ye=Math.min(Math.max(0,ye),1);return[ge*255,me*255,ye*255]};me.xyz.lab=function(R){let pe=R[0];let Ae=R[1];let he=R[2];pe/=95.047;Ae/=100;he/=108.883;pe=pe>.008856?pe**(1/3):7.787*pe+16/116;Ae=Ae>.008856?Ae**(1/3):7.787*Ae+16/116;he=he>.008856?he**(1/3):7.787*he+16/116;const ge=116*Ae-16;const me=500*(pe-Ae);const ye=200*(Ae-he);return[ge,me,ye]};me.lab.xyz=function(R){const pe=R[0];const Ae=R[1];const he=R[2];let ge;let me;let ye;me=(pe+16)/116;ge=Ae/500+me;ye=me-he/200;const ve=me**3;const be=ge**3;const Ee=ye**3;me=ve>.008856?ve:(me-16/116)/7.787;ge=be>.008856?be:(ge-16/116)/7.787;ye=Ee>.008856?Ee:(ye-16/116)/7.787;ge*=95.047;me*=100;ye*=108.883;return[ge,me,ye]};me.lab.lch=function(R){const pe=R[0];const Ae=R[1];const he=R[2];let ge;const me=Math.atan2(he,Ae);ge=me*360/2/Math.PI;if(ge<0){ge+=360}const ye=Math.sqrt(Ae*Ae+he*he);return[pe,ye,ge]};me.lch.lab=function(R){const pe=R[0];const Ae=R[1];const he=R[2];const ge=he/360*2*Math.PI;const me=Ae*Math.cos(ge);const ye=Ae*Math.sin(ge);return[pe,me,ye]};me.rgb.ansi16=function(R,pe=null){const[Ae,he,ge]=R;let ye=pe===null?me.rgb.hsv(R)[2]:pe;ye=Math.round(ye/50);if(ye===0){return 30}let ve=30+(Math.round(ge/255)<<2|Math.round(he/255)<<1|Math.round(Ae/255));if(ye===2){ve+=60}return ve};me.hsv.ansi16=function(R){return me.rgb.ansi16(me.hsv.rgb(R),R[2])};me.rgb.ansi256=function(R){const pe=R[0];const Ae=R[1];const he=R[2];if(pe===Ae&&Ae===he){if(pe<8){return 16}if(pe>248){return 231}return Math.round((pe-8)/247*24)+232}const ge=16+36*Math.round(pe/255*5)+6*Math.round(Ae/255*5)+Math.round(he/255*5);return ge};me.ansi16.rgb=function(R){let pe=R%10;if(pe===0||pe===7){if(R>50){pe+=3.5}pe=pe/10.5*255;return[pe,pe,pe]}const Ae=(~~(R>50)+1)*.5;const he=(pe&1)*Ae*255;const ge=(pe>>1&1)*Ae*255;const me=(pe>>2&1)*Ae*255;return[he,ge,me]};me.ansi256.rgb=function(R){if(R>=232){const pe=(R-232)*10+8;return[pe,pe,pe]}R-=16;let pe;const Ae=Math.floor(R/36)/5*255;const he=Math.floor((pe=R%36)/6)/5*255;const ge=pe%6/5*255;return[Ae,he,ge]};me.rgb.hex=function(R){const pe=((Math.round(R[0])&255)<<16)+((Math.round(R[1])&255)<<8)+(Math.round(R[2])&255);const Ae=pe.toString(16).toUpperCase();return"000000".substring(Ae.length)+Ae};me.hex.rgb=function(R){const pe=R.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!pe){return[0,0,0]}let Ae=pe[0];if(pe[0].length===3){Ae=Ae.split("").map((R=>R+R)).join("")}const he=parseInt(Ae,16);const ge=he>>16&255;const me=he>>8&255;const ye=he&255;return[ge,me,ye]};me.rgb.hcg=function(R){const pe=R[0]/255;const Ae=R[1]/255;const he=R[2]/255;const ge=Math.max(Math.max(pe,Ae),he);const me=Math.min(Math.min(pe,Ae),he);const ye=ge-me;let ve;let be;if(ye<1){ve=me/(1-ye)}else{ve=0}if(ye<=0){be=0}else if(ge===pe){be=(Ae-he)/ye%6}else if(ge===Ae){be=2+(he-pe)/ye}else{be=4+(pe-Ae)/ye}be/=6;be%=1;return[be*360,ye*100,ve*100]};me.hsl.hcg=function(R){const pe=R[1]/100;const Ae=R[2]/100;const he=Ae<.5?2*pe*Ae:2*pe*(1-Ae);let ge=0;if(he<1){ge=(Ae-.5*he)/(1-he)}return[R[0],he*100,ge*100]};me.hsv.hcg=function(R){const pe=R[1]/100;const Ae=R[2]/100;const he=pe*Ae;let ge=0;if(he<1){ge=(Ae-he)/(1-he)}return[R[0],he*100,ge*100]};me.hcg.rgb=function(R){const pe=R[0]/360;const Ae=R[1]/100;const he=R[2]/100;if(Ae===0){return[he*255,he*255,he*255]}const ge=[0,0,0];const me=pe%1*6;const ye=me%1;const ve=1-ye;let be=0;switch(Math.floor(me)){case 0:ge[0]=1;ge[1]=ye;ge[2]=0;break;case 1:ge[0]=ve;ge[1]=1;ge[2]=0;break;case 2:ge[0]=0;ge[1]=1;ge[2]=ye;break;case 3:ge[0]=0;ge[1]=ve;ge[2]=1;break;case 4:ge[0]=ye;ge[1]=0;ge[2]=1;break;default:ge[0]=1;ge[1]=0;ge[2]=ve}be=(1-Ae)*he;return[(Ae*ge[0]+be)*255,(Ae*ge[1]+be)*255,(Ae*ge[2]+be)*255]};me.hcg.hsv=function(R){const pe=R[1]/100;const Ae=R[2]/100;const he=pe+Ae*(1-pe);let ge=0;if(he>0){ge=pe/he}return[R[0],ge*100,he*100]};me.hcg.hsl=function(R){const pe=R[1]/100;const Ae=R[2]/100;const he=Ae*(1-pe)+.5*pe;let ge=0;if(he>0&&he<.5){ge=pe/(2*he)}else if(he>=.5&&he<1){ge=pe/(2*(1-he))}return[R[0],ge*100,he*100]};me.hcg.hwb=function(R){const pe=R[1]/100;const Ae=R[2]/100;const he=pe+Ae*(1-pe);return[R[0],(he-pe)*100,(1-he)*100]};me.hwb.hcg=function(R){const pe=R[1]/100;const Ae=R[2]/100;const he=1-Ae;const ge=he-pe;let me=0;if(ge<1){me=(he-ge)/(1-ge)}return[R[0],ge*100,me*100]};me.apple.rgb=function(R){return[R[0]/65535*255,R[1]/65535*255,R[2]/65535*255]};me.rgb.apple=function(R){return[R[0]/255*65535,R[1]/255*65535,R[2]/255*65535]};me.gray.rgb=function(R){return[R[0]/100*255,R[0]/100*255,R[0]/100*255]};me.gray.hsl=function(R){return[0,0,R[0]]};me.gray.hsv=me.gray.hsl;me.gray.hwb=function(R){return[0,100,R[0]]};me.gray.cmyk=function(R){return[0,0,0,R[0]]};me.gray.lab=function(R){return[R[0],0,0]};me.gray.hex=function(R){const pe=Math.round(R[0]/100*255)&255;const Ae=(pe<<16)+(pe<<8)+pe;const he=Ae.toString(16).toUpperCase();return"000000".substring(he.length)+he};me.rgb.gray=function(R){const pe=(R[0]+R[1]+R[2])/3;return[pe/255*100]}},86931:(R,pe,Ae)=>{const he=Ae(97391);const ge=Ae(30880);const me={};const ye=Object.keys(he);function wrapRaw(R){const wrappedFn=function(...pe){const Ae=pe[0];if(Ae===undefined||Ae===null){return Ae}if(Ae.length>1){pe=Ae}return R(pe)};if("conversion"in R){wrappedFn.conversion=R.conversion}return wrappedFn}function wrapRounded(R){const wrappedFn=function(...pe){const Ae=pe[0];if(Ae===undefined||Ae===null){return Ae}if(Ae.length>1){pe=Ae}const he=R(pe);if(typeof he==="object"){for(let R=he.length,pe=0;pe{me[R]={};Object.defineProperty(me[R],"channels",{value:he[R].channels});Object.defineProperty(me[R],"labels",{value:he[R].labels});const pe=ge(R);const Ae=Object.keys(pe);Ae.forEach((Ae=>{const he=pe[Ae];me[R][Ae]=wrapRounded(he);me[R][Ae].raw=wrapRaw(he)}))}));R.exports=me},30880:(R,pe,Ae)=>{const he=Ae(97391);function buildGraph(){const R={};const pe=Object.keys(he);for(let Ae=pe.length,he=0;he{"use strict";R.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},85443:(R,pe,Ae)=>{var he=Ae(73837);var ge=Ae(12781).Stream;var me=Ae(18611);R.exports=CombinedStream;function CombinedStream(){this.writable=false;this.readable=true;this.dataSize=0;this.maxDataSize=2*1024*1024;this.pauseStreams=true;this._released=false;this._streams=[];this._currentStream=null;this._insideLoop=false;this._pendingNext=false}he.inherits(CombinedStream,ge);CombinedStream.create=function(R){var pe=new this;R=R||{};for(var Ae in R){pe[Ae]=R[Ae]}return pe};CombinedStream.isStreamLike=function(R){return typeof R!=="function"&&typeof R!=="string"&&typeof R!=="boolean"&&typeof R!=="number"&&!Buffer.isBuffer(R)};CombinedStream.prototype.append=function(R){var pe=CombinedStream.isStreamLike(R);if(pe){if(!(R instanceof me)){var Ae=me.create(R,{maxDataSize:Infinity,pauseStream:this.pauseStreams});R.on("data",this._checkDataSize.bind(this));R=Ae}this._handleErrors(R);if(this.pauseStreams){R.pause()}}this._streams.push(R);return this};CombinedStream.prototype.pipe=function(R,pe){ge.prototype.pipe.call(this,R,pe);this.resume();return R};CombinedStream.prototype._getNext=function(){this._currentStream=null;if(this._insideLoop){this._pendingNext=true;return}this._insideLoop=true;try{do{this._pendingNext=false;this._realGetNext()}while(this._pendingNext)}finally{this._insideLoop=false}};CombinedStream.prototype._realGetNext=function(){var R=this._streams.shift();if(typeof R=="undefined"){this.end();return}if(typeof R!=="function"){this._pipeNext(R);return}var pe=R;pe(function(R){var pe=CombinedStream.isStreamLike(R);if(pe){R.on("data",this._checkDataSize.bind(this));this._handleErrors(R)}this._pipeNext(R)}.bind(this))};CombinedStream.prototype._pipeNext=function(R){this._currentStream=R;var pe=CombinedStream.isStreamLike(R);if(pe){R.on("end",this._getNext.bind(this));R.pipe(this,{end:false});return}var Ae=R;this.write(Ae);this._getNext()};CombinedStream.prototype._handleErrors=function(R){var pe=this;R.on("error",(function(R){pe._emitError(R)}))};CombinedStream.prototype.write=function(R){this.emit("data",R)};CombinedStream.prototype.pause=function(){if(!this.pauseStreams){return}if(this.pauseStreams&&this._currentStream&&typeof this._currentStream.pause=="function")this._currentStream.pause();this.emit("pause")};CombinedStream.prototype.resume=function(){if(!this._released){this._released=true;this.writable=true;this._getNext()}if(this.pauseStreams&&this._currentStream&&typeof this._currentStream.resume=="function")this._currentStream.resume();this.emit("resume")};CombinedStream.prototype.end=function(){this._reset();this.emit("end")};CombinedStream.prototype.destroy=function(){this._reset();this.emit("close")};CombinedStream.prototype._reset=function(){this.writable=false;this._streams=[];this._currentStream=null};CombinedStream.prototype._checkDataSize=function(){this._updateDataSize();if(this.dataSize<=this.maxDataSize){return}var R="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(R))};CombinedStream.prototype._updateDataSize=function(){this.dataSize=0;var R=this;this._streams.forEach((function(pe){if(!pe.dataSize){return}R.dataSize+=pe.dataSize}));if(this._currentStream&&this._currentStream.dataSize){this.dataSize+=this._currentStream.dataSize}};CombinedStream.prototype._emitError=function(R){this._reset();this.emit("error",R)}},28222:(R,pe,Ae)=>{pe.formatArgs=formatArgs;pe.save=save;pe.load=load;pe.useColors=useColors;pe.storage=localstorage();pe.destroy=(()=>{let R=false;return()=>{if(!R){R=true;console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}}})();pe.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function useColors(){if(typeof window!=="undefined"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)){return true}if(typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)){return false}let R;return typeof document!=="undefined"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window!=="undefined"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator!=="undefined"&&navigator.userAgent&&(R=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(R[1],10)>=31||typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function formatArgs(pe){pe[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+pe[0]+(this.useColors?"%c ":" ")+"+"+R.exports.humanize(this.diff);if(!this.useColors){return}const Ae="color: "+this.color;pe.splice(1,0,Ae,"color: inherit");let he=0;let ge=0;pe[0].replace(/%[a-zA-Z%]/g,(R=>{if(R==="%%"){return}he++;if(R==="%c"){ge=he}}));pe.splice(ge,0,Ae)}pe.log=console.debug||console.log||(()=>{});function save(R){try{if(R){pe.storage.setItem("debug",R)}else{pe.storage.removeItem("debug")}}catch(R){}}function load(){let R;try{R=pe.storage.getItem("debug")}catch(R){}if(!R&&typeof process!=="undefined"&&"env"in process){R=process.env.DEBUG}return R}function localstorage(){try{return localStorage}catch(R){}}R.exports=Ae(46243)(pe);const{formatters:he}=R.exports;he.j=function(R){try{return JSON.stringify(R)}catch(R){return"[UnexpectedJSONParseError]: "+R.message}}},46243:(R,pe,Ae)=>{function setup(R){createDebug.debug=createDebug;createDebug.default=createDebug;createDebug.coerce=coerce;createDebug.disable=disable;createDebug.enable=enable;createDebug.enabled=enabled;createDebug.humanize=Ae(80900);createDebug.destroy=destroy;Object.keys(R).forEach((pe=>{createDebug[pe]=R[pe]}));createDebug.names=[];createDebug.skips=[];createDebug.formatters={};function selectColor(R){let pe=0;for(let Ae=0;Ae{if(pe==="%%"){return"%"}me++;const ge=createDebug.formatters[he];if(typeof ge==="function"){const he=R[me];pe=ge.call(Ae,he);R.splice(me,1);me--}return pe}));createDebug.formatArgs.call(Ae,R);const ye=Ae.log||createDebug.log;ye.apply(Ae,R)}debug.namespace=R;debug.useColors=createDebug.useColors();debug.color=createDebug.selectColor(R);debug.extend=extend;debug.destroy=createDebug.destroy;Object.defineProperty(debug,"enabled",{enumerable:true,configurable:false,get:()=>{if(Ae!==null){return Ae}if(he!==createDebug.namespaces){he=createDebug.namespaces;ge=createDebug.enabled(R)}return ge},set:R=>{Ae=R}});if(typeof createDebug.init==="function"){createDebug.init(debug)}return debug}function extend(R,pe){const Ae=createDebug(this.namespace+(typeof pe==="undefined"?":":pe)+R);Ae.log=this.log;return Ae}function enable(R){createDebug.save(R);createDebug.namespaces=R;createDebug.names=[];createDebug.skips=[];let pe;const Ae=(typeof R==="string"?R:"").split(/[\s,]+/);const he=Ae.length;for(pe=0;pe"-"+R))].join(",");createDebug.enable("");return R}function enabled(R){if(R[R.length-1]==="*"){return true}let pe;let Ae;for(pe=0,Ae=createDebug.skips.length;pe{if(typeof process==="undefined"||process.type==="renderer"||process.browser===true||process.__nwjs){R.exports=Ae(28222)}else{R.exports=Ae(35332)}},35332:(R,pe,Ae)=>{const he=Ae(76224);const ge=Ae(73837);pe.init=init;pe.log=log;pe.formatArgs=formatArgs;pe.save=save;pe.load=load;pe.useColors=useColors;pe.destroy=ge.deprecate((()=>{}),"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");pe.colors=[6,2,3,4,5,1];try{const R=Ae(59318);if(R&&(R.stderr||R).level>=2){pe.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221]}}catch(R){}pe.inspectOpts=Object.keys(process.env).filter((R=>/^debug_/i.test(R))).reduce(((R,pe)=>{const Ae=pe.substring(6).toLowerCase().replace(/_([a-z])/g,((R,pe)=>pe.toUpperCase()));let he=process.env[pe];if(/^(yes|on|true|enabled)$/i.test(he)){he=true}else if(/^(no|off|false|disabled)$/i.test(he)){he=false}else if(he==="null"){he=null}else{he=Number(he)}R[Ae]=he;return R}),{});function useColors(){return"colors"in pe.inspectOpts?Boolean(pe.inspectOpts.colors):he.isatty(process.stderr.fd)}function formatArgs(pe){const{namespace:Ae,useColors:he}=this;if(he){const he=this.color;const ge="[3"+(he<8?he:"8;5;"+he);const me=` ${ge};1m${Ae} `;pe[0]=me+pe[0].split("\n").join("\n"+me);pe.push(ge+"m+"+R.exports.humanize(this.diff)+"")}else{pe[0]=getDate()+Ae+" "+pe[0]}}function getDate(){if(pe.inspectOpts.hideDate){return""}return(new Date).toISOString()+" "}function log(...R){return process.stderr.write(ge.formatWithOptions(pe.inspectOpts,...R)+"\n")}function save(R){if(R){process.env.DEBUG=R}else{delete process.env.DEBUG}}function load(){return process.env.DEBUG}function init(R){R.inspectOpts={};const Ae=Object.keys(pe.inspectOpts);for(let he=0;heR.trim())).join(" ")};me.O=function(R){this.inspectOpts.colors=this.useColors;return ge.inspect(R,this.inspectOpts)}},18611:(R,pe,Ae)=>{var he=Ae(12781).Stream;var ge=Ae(73837);R.exports=DelayedStream;function DelayedStream(){this.source=null;this.dataSize=0;this.maxDataSize=1024*1024;this.pauseStream=true;this._maxDataSizeExceeded=false;this._released=false;this._bufferedEvents=[]}ge.inherits(DelayedStream,he);DelayedStream.create=function(R,pe){var Ae=new this;pe=pe||{};for(var he in pe){Ae[he]=pe[he]}Ae.source=R;var ge=R.emit;R.emit=function(){Ae._handleEmit(arguments);return ge.apply(R,arguments)};R.on("error",(function(){}));if(Ae.pauseStream){R.pause()}return Ae};Object.defineProperty(DelayedStream.prototype,"readable",{configurable:true,enumerable:true,get:function(){return this.source.readable}});DelayedStream.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)};DelayedStream.prototype.resume=function(){if(!this._released){this.release()}this.source.resume()};DelayedStream.prototype.pause=function(){this.source.pause()};DelayedStream.prototype.release=function(){this._released=true;this._bufferedEvents.forEach(function(R){this.emit.apply(this,R)}.bind(this));this._bufferedEvents=[]};DelayedStream.prototype.pipe=function(){var R=he.prototype.pipe.apply(this,arguments);this.resume();return R};DelayedStream.prototype._handleEmit=function(R){if(this._released){this.emit.apply(this,R);return}if(R[0]==="data"){this.dataSize+=R[1].length;this._checkIfMaxDataSizeExceeded()}this._bufferedEvents.push(R)};DelayedStream.prototype._checkIfMaxDataSizeExceeded=function(){if(this._maxDataSizeExceeded){return}if(this.dataSize<=this.maxDataSize){return}this._maxDataSizeExceeded=true;var R="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",new Error(R))}},12437:(R,pe,Ae)=>{const he=Ae(57147);const ge=Ae(71017);function log(R){console.log(`[dotenv][DEBUG] ${R}`)}const me="\n";const ye=/^\s*([\w.-]+)\s*=\s*(.*)?\s*$/;const ve=/\\n/g;const be=/\n|\r|\r\n/;function parse(R,pe){const Ae=Boolean(pe&&pe.debug);const he={};R.toString().split(be).forEach((function(R,pe){const ge=R.match(ye);if(ge!=null){const R=ge[1];let pe=ge[2]||"";const Ae=pe.length-1;const ye=pe[0]==='"'&&pe[Ae]==='"';const be=pe[0]==="'"&&pe[Ae]==="'";if(be||ye){pe=pe.substring(1,Ae);if(ye){pe=pe.replace(ve,me)}}else{pe=pe.trim()}he[R]=pe}else if(Ae){log(`did not match key and value when parsing line ${pe+1}: ${R}`)}}));return he}function config(R){let pe=ge.resolve(process.cwd(),".env");let Ae="utf8";let me=false;if(R){if(R.path!=null){pe=R.path}if(R.encoding!=null){Ae=R.encoding}if(R.debug!=null){me=true}}try{const R=parse(he.readFileSync(pe,{encoding:Ae}),{debug:me});Object.keys(R).forEach((function(pe){if(!Object.prototype.hasOwnProperty.call(process.env,pe)){process.env[pe]=R[pe]}else if(me){log(`"${pe}" is already defined in \`process.env\` and will not be overwritten`)}}));return{parsed:R}}catch(R){return{error:R}}}R.exports.config=config;R.exports.parse=parse},18212:R=>{"use strict";R.exports=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F|\uD83D\uDC68(?:\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFB|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83D[\uDC66\uDC67]|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708])\uFE0F|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C[\uDFFB-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)\uD83C\uDFFB|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB\uDFFC])|\uD83D\uDC69(?:\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB-\uDFFD])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83C\uDFF4\u200D\u2620)\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDF6\uD83C\uDDE6|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDB5\uDDB6\uDDBB\uDDD2-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5\uDEEB\uDEEC\uDEF4-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g}},82644:(R,pe,Ae)=>{const{dirname:he,resolve:ge}=Ae(71017);const{readdirSync:me,statSync:ye}=Ae(57147);R.exports=function(R,pe){let Ae=ge(".",R);let ve,be=ye(Ae);if(!be.isDirectory()){Ae=he(Ae)}while(true){ve=pe(Ae,me(Ae));if(ve)return ge(Ae,ve);Ae=he(ve=Ae);if(ve===Ae)break}}},31133:(R,pe,Ae)=>{var he;R.exports=function(){if(!he){try{he=Ae(38237)("follow-redirects")}catch(R){}if(typeof he!=="function"){he=function(){}}}he.apply(null,arguments)}},67707:(R,pe,Ae)=>{var he=Ae(57310);var ge=he.URL;var me=Ae(13685);var ye=Ae(95687);var ve=Ae(12781).Writable;var be=Ae(39491);var Ee=Ae(31133);var Ce=false;try{be(new ge)}catch(R){Ce=R.code==="ERR_INVALID_URL"}var we=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"];var Ie=["abort","aborted","connect","error","socket","timeout"];var _e=Object.create(null);Ie.forEach((function(R){_e[R]=function(pe,Ae,he){this._redirectable.emit(R,pe,Ae,he)}}));var Be=createErrorType("ERR_INVALID_URL","Invalid URL",TypeError);var Se=createErrorType("ERR_FR_REDIRECTION_FAILURE","Redirected request failed");var Qe=createErrorType("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",Se);var xe=createErrorType("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit");var De=createErrorType("ERR_STREAM_WRITE_AFTER_END","write after end");var ke=ve.prototype.destroy||noop;function RedirectableRequest(R,pe){ve.call(this);this._sanitizeOptions(R);this._options=R;this._ended=false;this._ending=false;this._redirectCount=0;this._redirects=[];this._requestBodyLength=0;this._requestBodyBuffers=[];if(pe){this.on("response",pe)}var Ae=this;this._onNativeResponse=function(R){try{Ae._processResponse(R)}catch(R){Ae.emit("error",R instanceof Se?R:new Se({cause:R}))}};this._performRequest()}RedirectableRequest.prototype=Object.create(ve.prototype);RedirectableRequest.prototype.abort=function(){destroyRequest(this._currentRequest);this._currentRequest.abort();this.emit("abort")};RedirectableRequest.prototype.destroy=function(R){destroyRequest(this._currentRequest,R);ke.call(this,R);return this};RedirectableRequest.prototype.write=function(R,pe,Ae){if(this._ending){throw new De}if(!isString(R)&&!isBuffer(R)){throw new TypeError("data should be a string, Buffer or Uint8Array")}if(isFunction(pe)){Ae=pe;pe=null}if(R.length===0){if(Ae){Ae()}return}if(this._requestBodyLength+R.length<=this._options.maxBodyLength){this._requestBodyLength+=R.length;this._requestBodyBuffers.push({data:R,encoding:pe});this._currentRequest.write(R,pe,Ae)}else{this.emit("error",new xe);this.abort()}};RedirectableRequest.prototype.end=function(R,pe,Ae){if(isFunction(R)){Ae=R;R=pe=null}else if(isFunction(pe)){Ae=pe;pe=null}if(!R){this._ended=this._ending=true;this._currentRequest.end(null,null,Ae)}else{var he=this;var ge=this._currentRequest;this.write(R,pe,(function(){he._ended=true;ge.end(null,null,Ae)}));this._ending=true}};RedirectableRequest.prototype.setHeader=function(R,pe){this._options.headers[R]=pe;this._currentRequest.setHeader(R,pe)};RedirectableRequest.prototype.removeHeader=function(R){delete this._options.headers[R];this._currentRequest.removeHeader(R)};RedirectableRequest.prototype.setTimeout=function(R,pe){var Ae=this;function destroyOnTimeout(pe){pe.setTimeout(R);pe.removeListener("timeout",pe.destroy);pe.addListener("timeout",pe.destroy)}function startTimer(pe){if(Ae._timeout){clearTimeout(Ae._timeout)}Ae._timeout=setTimeout((function(){Ae.emit("timeout");clearTimer()}),R);destroyOnTimeout(pe)}function clearTimer(){if(Ae._timeout){clearTimeout(Ae._timeout);Ae._timeout=null}Ae.removeListener("abort",clearTimer);Ae.removeListener("error",clearTimer);Ae.removeListener("response",clearTimer);Ae.removeListener("close",clearTimer);if(pe){Ae.removeListener("timeout",pe)}if(!Ae.socket){Ae._currentRequest.removeListener("socket",startTimer)}}if(pe){this.on("timeout",pe)}if(this.socket){startTimer(this.socket)}else{this._currentRequest.once("socket",startTimer)}this.on("socket",destroyOnTimeout);this.on("abort",clearTimer);this.on("error",clearTimer);this.on("response",clearTimer);this.on("close",clearTimer);return this};["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach((function(R){RedirectableRequest.prototype[R]=function(pe,Ae){return this._currentRequest[R](pe,Ae)}}));["aborted","connection","socket"].forEach((function(R){Object.defineProperty(RedirectableRequest.prototype,R,{get:function(){return this._currentRequest[R]}})}));RedirectableRequest.prototype._sanitizeOptions=function(R){if(!R.headers){R.headers={}}if(R.host){if(!R.hostname){R.hostname=R.host}delete R.host}if(!R.pathname&&R.path){var pe=R.path.indexOf("?");if(pe<0){R.pathname=R.path}else{R.pathname=R.path.substring(0,pe);R.search=R.path.substring(pe)}}};RedirectableRequest.prototype._performRequest=function(){var R=this._options.protocol;var pe=this._options.nativeProtocols[R];if(!pe){throw new TypeError("Unsupported protocol "+R)}if(this._options.agents){var Ae=R.slice(0,-1);this._options.agent=this._options.agents[Ae]}var ge=this._currentRequest=pe.request(this._options,this._onNativeResponse);ge._redirectable=this;for(var me of Ie){ge.on(me,_e[me])}this._currentUrl=/^\//.test(this._options.path)?he.format(this._options):this._options.path;if(this._isRedirect){var ye=0;var ve=this;var be=this._requestBodyBuffers;(function writeNext(R){if(ge===ve._currentRequest){if(R){ve.emit("error",R)}else if(ye=400){R.responseUrl=this._currentUrl;R.redirects=this._redirects;this.emit("response",R);this._requestBodyBuffers=[];return}destroyRequest(this._currentRequest);R.destroy();if(++this._redirectCount>this._options.maxRedirects){throw new Qe}var ge;var me=this._options.beforeRedirect;if(me){ge=Object.assign({Host:R.req.getHeader("host")},this._options.headers)}var ye=this._options.method;if((pe===301||pe===302)&&this._options.method==="POST"||pe===303&&!/^(?:GET|HEAD)$/.test(this._options.method)){this._options.method="GET";this._requestBodyBuffers=[];removeMatchingHeaders(/^content-/i,this._options.headers)}var ve=removeMatchingHeaders(/^host$/i,this._options.headers);var be=parseUrl(this._currentUrl);var Ce=ve||be.host;var we=/^\w+:/.test(Ae)?this._currentUrl:he.format(Object.assign(be,{host:Ce}));var Ie=resolveUrl(Ae,we);Ee("redirecting to",Ie.href);this._isRedirect=true;spreadUrlObject(Ie,this._options);if(Ie.protocol!==be.protocol&&Ie.protocol!=="https:"||Ie.host!==Ce&&!isSubdomain(Ie.host,Ce)){removeMatchingHeaders(/^(?:(?:proxy-)?authorization|cookie)$/i,this._options.headers)}if(isFunction(me)){var _e={headers:R.headers,statusCode:pe};var Be={url:we,method:ye,headers:ge};me(this._options,_e,Be);this._sanitizeOptions(this._options)}this._performRequest()};function wrap(R){var pe={maxRedirects:21,maxBodyLength:10*1024*1024};var Ae={};Object.keys(R).forEach((function(he){var ge=he+":";var me=Ae[ge]=R[he];var ye=pe[he]=Object.create(me);function request(R,he,me){if(isURL(R)){R=spreadUrlObject(R)}else if(isString(R)){R=spreadUrlObject(parseUrl(R))}else{me=he;he=validateUrl(R);R={protocol:ge}}if(isFunction(he)){me=he;he=null}he=Object.assign({maxRedirects:pe.maxRedirects,maxBodyLength:pe.maxBodyLength},R,he);he.nativeProtocols=Ae;if(!isString(he.host)&&!isString(he.hostname)){he.hostname="::1"}be.equal(he.protocol,ge,"protocol mismatch");Ee("options",he);return new RedirectableRequest(he,me)}function get(R,pe,Ae){var he=ye.request(R,pe,Ae);he.end();return he}Object.defineProperties(ye,{request:{value:request,configurable:true,enumerable:true,writable:true},get:{value:get,configurable:true,enumerable:true,writable:true}})}));return pe}function noop(){}function parseUrl(R){var pe;if(Ce){pe=new ge(R)}else{pe=validateUrl(he.parse(R));if(!isString(pe.protocol)){throw new Be({input:R})}}return pe}function resolveUrl(R,pe){return Ce?new ge(R,pe):parseUrl(he.resolve(pe,R))}function validateUrl(R){if(/^\[/.test(R.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(R.hostname)){throw new Be({input:R.href||R})}if(/^\[/.test(R.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(R.host)){throw new Be({input:R.href||R})}return R}function spreadUrlObject(R,pe){var Ae=pe||{};for(var he of we){Ae[he]=R[he]}if(Ae.hostname.startsWith("[")){Ae.hostname=Ae.hostname.slice(1,-1)}if(Ae.port!==""){Ae.port=Number(Ae.port)}Ae.path=Ae.search?Ae.pathname+Ae.search:Ae.pathname;return Ae}function removeMatchingHeaders(R,pe){var Ae;for(var he in pe){if(R.test(he)){Ae=pe[he];delete pe[he]}}return Ae===null||typeof Ae==="undefined"?undefined:String(Ae).trim()}function createErrorType(R,pe,Ae){function CustomError(Ae){Error.captureStackTrace(this,this.constructor);Object.assign(this,Ae||{});this.code=R;this.message=this.cause?pe+": "+this.cause.message:pe}CustomError.prototype=new(Ae||Error);Object.defineProperties(CustomError.prototype,{constructor:{value:CustomError,enumerable:false},name:{value:"Error ["+R+"]",enumerable:false}});return CustomError}function destroyRequest(R,pe){for(var Ae of Ie){R.removeListener(Ae,_e[Ae])}R.on("error",noop);R.destroy(pe)}function isSubdomain(R,pe){be(isString(R)&&isString(pe));var Ae=R.length-pe.length-1;return Ae>0&&R[Ae]==="."&&R.endsWith(pe)}function isString(R){return typeof R==="string"||R instanceof String}function isFunction(R){return typeof R==="function"}function isBuffer(R){return typeof R==="object"&&"length"in R}function isURL(R){return ge&&R instanceof ge}R.exports=wrap({http:me,https:ye});R.exports.wrap=wrap},64334:(R,pe,Ae)=>{var he=Ae(85443);var ge=Ae(73837);var me=Ae(71017);var ye=Ae(13685);var ve=Ae(95687);var be=Ae(57310).parse;var Ee=Ae(57147);var Ce=Ae(12781).Stream;var we=Ae(43583);var Ie=Ae(14812);var _e=Ae(17142);R.exports=FormData;ge.inherits(FormData,he);function FormData(R){if(!(this instanceof FormData)){return new FormData(R)}this._overheadLength=0;this._valueLength=0;this._valuesToMeasure=[];he.call(this);R=R||{};for(var pe in R){this[pe]=R[pe]}}FormData.LINE_BREAK="\r\n";FormData.DEFAULT_CONTENT_TYPE="application/octet-stream";FormData.prototype.append=function(R,pe,Ae){Ae=Ae||{};if(typeof Ae=="string"){Ae={filename:Ae}}var me=he.prototype.append.bind(this);if(typeof pe=="number"){pe=""+pe}if(ge.isArray(pe)){this._error(new Error("Arrays are not supported."));return}var ye=this._multiPartHeader(R,pe,Ae);var ve=this._multiPartFooter();me(ye);me(pe);me(ve);this._trackLength(ye,pe,Ae)};FormData.prototype._trackLength=function(R,pe,Ae){var he=0;if(Ae.knownLength!=null){he+=+Ae.knownLength}else if(Buffer.isBuffer(pe)){he=pe.length}else if(typeof pe==="string"){he=Buffer.byteLength(pe)}this._valueLength+=he;this._overheadLength+=Buffer.byteLength(R)+FormData.LINE_BREAK.length;if(!pe||!pe.path&&!(pe.readable&&pe.hasOwnProperty("httpVersion"))&&!(pe instanceof Ce)){return}if(!Ae.knownLength){this._valuesToMeasure.push(pe)}};FormData.prototype._lengthRetriever=function(R,pe){if(R.hasOwnProperty("fd")){if(R.end!=undefined&&R.end!=Infinity&&R.start!=undefined){pe(null,R.end+1-(R.start?R.start:0))}else{Ee.stat(R.path,(function(Ae,he){var ge;if(Ae){pe(Ae);return}ge=he.size-(R.start?R.start:0);pe(null,ge)}))}}else if(R.hasOwnProperty("httpVersion")){pe(null,+R.headers["content-length"])}else if(R.hasOwnProperty("httpModule")){R.on("response",(function(Ae){R.pause();pe(null,+Ae.headers["content-length"])}));R.resume()}else{pe("Unknown stream")}};FormData.prototype._multiPartHeader=function(R,pe,Ae){if(typeof Ae.header=="string"){return Ae.header}var he=this._getContentDisposition(pe,Ae);var ge=this._getContentType(pe,Ae);var me="";var ye={"Content-Disposition":["form-data",'name="'+R+'"'].concat(he||[]),"Content-Type":[].concat(ge||[])};if(typeof Ae.header=="object"){_e(ye,Ae.header)}var ve;for(var be in ye){if(!ye.hasOwnProperty(be))continue;ve=ye[be];if(ve==null){continue}if(!Array.isArray(ve)){ve=[ve]}if(ve.length){me+=be+": "+ve.join("; ")+FormData.LINE_BREAK}}return"--"+this.getBoundary()+FormData.LINE_BREAK+me+FormData.LINE_BREAK};FormData.prototype._getContentDisposition=function(R,pe){var Ae,he;if(typeof pe.filepath==="string"){Ae=me.normalize(pe.filepath).replace(/\\/g,"/")}else if(pe.filename||R.name||R.path){Ae=me.basename(pe.filename||R.name||R.path)}else if(R.readable&&R.hasOwnProperty("httpVersion")){Ae=me.basename(R.client._httpMessage.path||"")}if(Ae){he='filename="'+Ae+'"'}return he};FormData.prototype._getContentType=function(R,pe){var Ae=pe.contentType;if(!Ae&&R.name){Ae=we.lookup(R.name)}if(!Ae&&R.path){Ae=we.lookup(R.path)}if(!Ae&&R.readable&&R.hasOwnProperty("httpVersion")){Ae=R.headers["content-type"]}if(!Ae&&(pe.filepath||pe.filename)){Ae=we.lookup(pe.filepath||pe.filename)}if(!Ae&&typeof R=="object"){Ae=FormData.DEFAULT_CONTENT_TYPE}return Ae};FormData.prototype._multiPartFooter=function(){return function(R){var pe=FormData.LINE_BREAK;var Ae=this._streams.length===0;if(Ae){pe+=this._lastBoundary()}R(pe)}.bind(this)};FormData.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+FormData.LINE_BREAK};FormData.prototype.getHeaders=function(R){var pe;var Ae={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(pe in R){if(R.hasOwnProperty(pe)){Ae[pe.toLowerCase()]=R[pe]}}return Ae};FormData.prototype.setBoundary=function(R){this._boundary=R};FormData.prototype.getBoundary=function(){if(!this._boundary){this._generateBoundary()}return this._boundary};FormData.prototype.getBuffer=function(){var R=new Buffer.alloc(0);var pe=this.getBoundary();for(var Ae=0,he=this._streams.length;Ae{R.exports=function(R,pe){Object.keys(pe).forEach((function(Ae){R[Ae]=R[Ae]||pe[Ae]}));return R}},70351:R=>{"use strict";R.exports=function getCallerFile(R){if(R===void 0){R=2}if(R>=Error.stackTraceLimit){throw new TypeError("getCallerFile(position) requires position be less then Error.stackTraceLimit but position was: `"+R+"` and Error.stackTraceLimit was: `"+Error.stackTraceLimit+"`")}var pe=Error.prepareStackTrace;Error.prepareStackTrace=function(R,pe){return pe};var Ae=(new Error).stack;Error.prepareStackTrace=pe;if(Ae!==null&&typeof Ae==="object"){return Ae[R]?Ae[R].getFileName():undefined}}},31621:R=>{"use strict";R.exports=(R,pe=process.argv)=>{const Ae=R.startsWith("-")?"":R.length===1?"-":"--";const he=pe.indexOf(Ae+R);const ge=pe.indexOf("--");return he!==-1&&(ge===-1||he=0){Ae++}if(R.substr(0,2)==="::"){Ae--}if(R.substr(-2,2)==="::"){Ae--}if(Ae>pe){return null}ye=pe-Ae;me=":";while(ye--){me+="0:"}R=R.replace("::",me);if(R[0]===":"){R=R.slice(1)}if(R[R.length-1]===":"){R=R.slice(0,-1)}pe=function(){const pe=R.split(":");const Ae=[];for(let R=0;R0){me=Ae-he;if(me<0){me=0}if(R[ge]>>me!==pe[ge]>>me){return false}he-=Ae;ge+=1}return true}function parseIntAuto(R){if(me.test(R)){return parseInt(R,16)}if(R[0]==="0"&&!isNaN(parseInt(R[1],10))){if(ge.test(R)){return parseInt(R,8)}throw new Error(`ipaddr: cannot parse ${R} as octal`)}return parseInt(R,10)}function padPart(R,pe){while(R.length=0;he-=1){ge=this.octets[he];if(ge in Ae){me=Ae[ge];if(pe&&me!==0){return null}if(me!==8){pe=true}R+=me}else{return null}}return 32-R};IPv4.prototype.range=function(){return Ee.subnetMatch(this,this.SpecialRanges)};IPv4.prototype.toByteArray=function(){return this.octets.slice(0)};IPv4.prototype.toIPv4MappedAddress=function(){return Ee.IPv6.parse(`::ffff:${this.toString()}`)};IPv4.prototype.toNormalizedString=function(){return this.toString()};IPv4.prototype.toString=function(){return this.octets.join(".")};return IPv4}();Ee.IPv4.broadcastAddressFromCIDR=function(R){try{const pe=this.parseCIDR(R);const Ae=pe[0].toByteArray();const he=this.subnetMaskFromPrefixLength(pe[1]).toByteArray();const ge=[];let me=0;while(me<4){ge.push(parseInt(Ae[me],10)|parseInt(he[me],10)^255);me++}return new this(ge)}catch(R){throw new Error("ipaddr: the address does not have IPv4 CIDR format")}};Ee.IPv4.isIPv4=function(R){return this.parser(R)!==null};Ee.IPv4.isValid=function(R){try{new this(this.parser(R));return true}catch(R){return false}};Ee.IPv4.isValidCIDR=function(R){try{this.parseCIDR(R);return true}catch(R){return false}};Ee.IPv4.isValidFourPartDecimal=function(R){if(Ee.IPv4.isValid(R)&&R.match(/^(0|[1-9]\d*)(\.(0|[1-9]\d*)){3}$/)){return true}else{return false}};Ee.IPv4.networkAddressFromCIDR=function(R){let pe,Ae,he,ge,me;try{pe=this.parseCIDR(R);he=pe[0].toByteArray();me=this.subnetMaskFromPrefixLength(pe[1]).toByteArray();ge=[];Ae=0;while(Ae<4){ge.push(parseInt(he[Ae],10)&parseInt(me[Ae],10));Ae++}return new this(ge)}catch(R){throw new Error("ipaddr: the address does not have IPv4 CIDR format")}};Ee.IPv4.parse=function(R){const pe=this.parser(R);if(pe===null){throw new Error("ipaddr: string is not formatted like an IPv4 Address")}return new this(pe)};Ee.IPv4.parseCIDR=function(R){let pe;if(pe=R.match(/^(.+)\/(\d+)$/)){const R=parseInt(pe[2]);if(R>=0&&R<=32){const Ae=[this.parse(pe[1]),R];Object.defineProperty(Ae,"toString",{value:function(){return this.join("/")}});return Ae}}throw new Error("ipaddr: string is not formatted like an IPv4 CIDR range")};Ee.IPv4.parser=function(R){let pe,Ae,ge;if(pe=R.match(he.fourOctet)){return function(){const R=pe.slice(1,6);const he=[];for(let pe=0;pe4294967295||ge<0){throw new Error("ipaddr: address outside defined range")}return function(){const R=[];let pe;for(pe=0;pe<=24;pe+=8){R.push(ge>>pe&255)}return R}().reverse()}else if(pe=R.match(he.twoOctet)){return function(){const R=pe.slice(1,4);const Ae=[];ge=parseIntAuto(R[1]);if(ge>16777215||ge<0){throw new Error("ipaddr: address outside defined range")}Ae.push(parseIntAuto(R[0]));Ae.push(ge>>16&255);Ae.push(ge>>8&255);Ae.push(ge&255);return Ae}()}else if(pe=R.match(he.threeOctet)){return function(){const R=pe.slice(1,5);const Ae=[];ge=parseIntAuto(R[2]);if(ge>65535||ge<0){throw new Error("ipaddr: address outside defined range")}Ae.push(parseIntAuto(R[0]));Ae.push(parseIntAuto(R[1]));Ae.push(ge>>8&255);Ae.push(ge&255);return Ae}()}else{return null}};Ee.IPv4.subnetMaskFromPrefixLength=function(R){R=parseInt(R);if(R<0||R>32){throw new Error("ipaddr: invalid IPv4 prefix length")}const pe=[0,0,0,0];let Ae=0;const he=Math.floor(R/8);while(Ae=0;me-=1){he=this.parts[me];if(he in Ae){ge=Ae[he];if(pe&&ge!==0){return null}if(ge!==16){pe=true}R+=ge}else{return null}}return 128-R};IPv6.prototype.range=function(){return Ee.subnetMatch(this,this.SpecialRanges)};IPv6.prototype.toByteArray=function(){let R;const pe=[];const Ae=this.parts;for(let he=0;he>8);pe.push(R&255)}return pe};IPv6.prototype.toFixedLengthString=function(){const R=function(){const R=[];for(let pe=0;pe>8,pe&255,Ae>>8,Ae&255])};IPv6.prototype.toNormalizedString=function(){const R=function(){const R=[];for(let pe=0;pehe){Ae=ge.index;he=ge[0].length}}if(he<0){return pe}return`${pe.substring(0,Ae)}::${pe.substring(Ae+he)}`};IPv6.prototype.toString=function(){return this.toRFC5952String()};return IPv6}();Ee.IPv6.broadcastAddressFromCIDR=function(R){try{const pe=this.parseCIDR(R);const Ae=pe[0].toByteArray();const he=this.subnetMaskFromPrefixLength(pe[1]).toByteArray();const ge=[];let me=0;while(me<16){ge.push(parseInt(Ae[me],10)|parseInt(he[me],10)^255);me++}return new this(ge)}catch(R){throw new Error(`ipaddr: the address does not have IPv6 CIDR format (${R})`)}};Ee.IPv6.isIPv6=function(R){return this.parser(R)!==null};Ee.IPv6.isValid=function(R){if(typeof R==="string"&&R.indexOf(":")===-1){return false}try{const pe=this.parser(R);new this(pe.parts,pe.zoneId);return true}catch(R){return false}};Ee.IPv6.isValidCIDR=function(R){if(typeof R==="string"&&R.indexOf(":")===-1){return false}try{this.parseCIDR(R);return true}catch(R){return false}};Ee.IPv6.networkAddressFromCIDR=function(R){let pe,Ae,he,ge,me;try{pe=this.parseCIDR(R);he=pe[0].toByteArray();me=this.subnetMaskFromPrefixLength(pe[1]).toByteArray();ge=[];Ae=0;while(Ae<16){ge.push(parseInt(he[Ae],10)&parseInt(me[Ae],10));Ae++}return new this(ge)}catch(R){throw new Error(`ipaddr: the address does not have IPv6 CIDR format (${R})`)}};Ee.IPv6.parse=function(R){const pe=this.parser(R);if(pe.parts===null){throw new Error("ipaddr: string is not formatted like an IPv6 Address")}return new this(pe.parts,pe.zoneId)};Ee.IPv6.parseCIDR=function(R){let pe,Ae,he;if(Ae=R.match(/^(.+)\/(\d+)$/)){pe=parseInt(Ae[2]);if(pe>=0&&pe<=128){he=[this.parse(Ae[1]),pe];Object.defineProperty(he,"toString",{value:function(){return this.join("/")}});return he}}throw new Error("ipaddr: string is not formatted like an IPv6 CIDR range")};Ee.IPv6.parser=function(R){let pe,Ae,he,ge,me,ye;if(he=R.match(be.deprecatedTransitional)){return this.parser(`::ffff:${he[1]}`)}if(be.native.test(R)){return expandIPv6(R,8)}if(he=R.match(be.transitional)){ye=he[6]||"";pe=he[1];if(!he[1].endsWith("::")){pe=pe.slice(0,-1)}pe=expandIPv6(pe+ye,6);if(pe.parts){me=[parseInt(he[2]),parseInt(he[3]),parseInt(he[4]),parseInt(he[5])];for(Ae=0;Ae128){throw new Error("ipaddr: invalid IPv6 prefix length")}const pe=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];let Ae=0;const he=Math.floor(R/8);while(Ae{"use strict";const isFullwidthCodePoint=R=>{if(Number.isNaN(R)){return false}if(R>=4352&&(R<=4447||R===9001||R===9002||11904<=R&&R<=12871&&R!==12351||12880<=R&&R<=19903||19968<=R&&R<=42182||43360<=R&&R<=43388||44032<=R&&R<=55203||63744<=R&&R<=64255||65040<=R&&R<=65049||65072<=R&&R<=65131||65281<=R&&R<=65376||65504<=R&&R<=65510||110592<=R&&R<=110593||127488<=R&&R<=127569||131072<=R&&R<=262141)){return true}return false};R.exports=isFullwidthCodePoint;R.exports["default"]=isFullwidthCodePoint},34061:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.cryptoRuntime=pe.base64url=pe.generateSecret=pe.generateKeyPair=pe.errors=pe.decodeJwt=pe.decodeProtectedHeader=pe.importJWK=pe.importX509=pe.importPKCS8=pe.importSPKI=pe.exportJWK=pe.exportSPKI=pe.exportPKCS8=pe.UnsecuredJWT=pe.createRemoteJWKSet=pe.createLocalJWKSet=pe.EmbeddedJWK=pe.calculateJwkThumbprintUri=pe.calculateJwkThumbprint=pe.EncryptJWT=pe.SignJWT=pe.GeneralSign=pe.FlattenedSign=pe.CompactSign=pe.FlattenedEncrypt=pe.CompactEncrypt=pe.jwtDecrypt=pe.jwtVerify=pe.generalVerify=pe.flattenedVerify=pe.compactVerify=pe.GeneralEncrypt=pe.generalDecrypt=pe.flattenedDecrypt=pe.compactDecrypt=void 0;var he=Ae(27651);Object.defineProperty(pe,"compactDecrypt",{enumerable:true,get:function(){return he.compactDecrypt}});var ge=Ae(7566);Object.defineProperty(pe,"flattenedDecrypt",{enumerable:true,get:function(){return ge.flattenedDecrypt}});var me=Ae(85684);Object.defineProperty(pe,"generalDecrypt",{enumerable:true,get:function(){return me.generalDecrypt}});var ye=Ae(43992);Object.defineProperty(pe,"GeneralEncrypt",{enumerable:true,get:function(){return ye.GeneralEncrypt}});var ve=Ae(15212);Object.defineProperty(pe,"compactVerify",{enumerable:true,get:function(){return ve.compactVerify}});var be=Ae(32095);Object.defineProperty(pe,"flattenedVerify",{enumerable:true,get:function(){return be.flattenedVerify}});var Ee=Ae(34975);Object.defineProperty(pe,"generalVerify",{enumerable:true,get:function(){return Ee.generalVerify}});var Ce=Ae(99887);Object.defineProperty(pe,"jwtVerify",{enumerable:true,get:function(){return Ce.jwtVerify}});var we=Ae(53378);Object.defineProperty(pe,"jwtDecrypt",{enumerable:true,get:function(){return we.jwtDecrypt}});var Ie=Ae(86203);Object.defineProperty(pe,"CompactEncrypt",{enumerable:true,get:function(){return Ie.CompactEncrypt}});var _e=Ae(81555);Object.defineProperty(pe,"FlattenedEncrypt",{enumerable:true,get:function(){return _e.FlattenedEncrypt}});var Be=Ae(48257);Object.defineProperty(pe,"CompactSign",{enumerable:true,get:function(){return Be.CompactSign}});var Se=Ae(84825);Object.defineProperty(pe,"FlattenedSign",{enumerable:true,get:function(){return Se.FlattenedSign}});var Qe=Ae(64268);Object.defineProperty(pe,"GeneralSign",{enumerable:true,get:function(){return Qe.GeneralSign}});var xe=Ae(25356);Object.defineProperty(pe,"SignJWT",{enumerable:true,get:function(){return xe.SignJWT}});var De=Ae(10960);Object.defineProperty(pe,"EncryptJWT",{enumerable:true,get:function(){return De.EncryptJWT}});var ke=Ae(3494);Object.defineProperty(pe,"calculateJwkThumbprint",{enumerable:true,get:function(){return ke.calculateJwkThumbprint}});Object.defineProperty(pe,"calculateJwkThumbprintUri",{enumerable:true,get:function(){return ke.calculateJwkThumbprintUri}});var Oe=Ae(1751);Object.defineProperty(pe,"EmbeddedJWK",{enumerable:true,get:function(){return Oe.EmbeddedJWK}});var Re=Ae(29970);Object.defineProperty(pe,"createLocalJWKSet",{enumerable:true,get:function(){return Re.createLocalJWKSet}});var Pe=Ae(79035);Object.defineProperty(pe,"createRemoteJWKSet",{enumerable:true,get:function(){return Pe.createRemoteJWKSet}});var Te=Ae(88568);Object.defineProperty(pe,"UnsecuredJWT",{enumerable:true,get:function(){return Te.UnsecuredJWT}});var Ne=Ae(70465);Object.defineProperty(pe,"exportPKCS8",{enumerable:true,get:function(){return Ne.exportPKCS8}});Object.defineProperty(pe,"exportSPKI",{enumerable:true,get:function(){return Ne.exportSPKI}});Object.defineProperty(pe,"exportJWK",{enumerable:true,get:function(){return Ne.exportJWK}});var Me=Ae(74230);Object.defineProperty(pe,"importSPKI",{enumerable:true,get:function(){return Me.importSPKI}});Object.defineProperty(pe,"importPKCS8",{enumerable:true,get:function(){return Me.importPKCS8}});Object.defineProperty(pe,"importX509",{enumerable:true,get:function(){return Me.importX509}});Object.defineProperty(pe,"importJWK",{enumerable:true,get:function(){return Me.importJWK}});var Fe=Ae(33991);Object.defineProperty(pe,"decodeProtectedHeader",{enumerable:true,get:function(){return Fe.decodeProtectedHeader}});var je=Ae(65611);Object.defineProperty(pe,"decodeJwt",{enumerable:true,get:function(){return je.decodeJwt}});pe.errors=Ae(94419);var Le=Ae(51036);Object.defineProperty(pe,"generateKeyPair",{enumerable:true,get:function(){return Le.generateKeyPair}});var Ue=Ae(76617);Object.defineProperty(pe,"generateSecret",{enumerable:true,get:function(){return Ue.generateSecret}});pe.base64url=Ae(63238);var He=Ae(31173);Object.defineProperty(pe,"cryptoRuntime",{enumerable:true,get:function(){return He.default}})},27651:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.compactDecrypt=void 0;const he=Ae(7566);const ge=Ae(94419);const me=Ae(1691);async function compactDecrypt(R,pe,Ae){if(R instanceof Uint8Array){R=me.decoder.decode(R)}if(typeof R!=="string"){throw new ge.JWEInvalid("Compact JWE must be a string or Uint8Array")}const{0:ye,1:ve,2:be,3:Ee,4:Ce,length:we}=R.split(".");if(we!==5){throw new ge.JWEInvalid("Invalid Compact JWE")}const Ie=await(0,he.flattenedDecrypt)({ciphertext:Ee,iv:be||undefined,protected:ye||undefined,tag:Ce||undefined,encrypted_key:ve||undefined},pe,Ae);const _e={plaintext:Ie.plaintext,protectedHeader:Ie.protectedHeader};if(typeof pe==="function"){return{..._e,key:Ie.key}}return _e}pe.compactDecrypt=compactDecrypt},86203:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.CompactEncrypt=void 0;const he=Ae(81555);class CompactEncrypt{constructor(R){this._flattened=new he.FlattenedEncrypt(R)}setContentEncryptionKey(R){this._flattened.setContentEncryptionKey(R);return this}setInitializationVector(R){this._flattened.setInitializationVector(R);return this}setProtectedHeader(R){this._flattened.setProtectedHeader(R);return this}setKeyManagementParameters(R){this._flattened.setKeyManagementParameters(R);return this}async encrypt(R,pe){const Ae=await this._flattened.encrypt(R,pe);return[Ae.protected,Ae.encrypted_key,Ae.iv,Ae.ciphertext,Ae.tag].join(".")}}pe.CompactEncrypt=CompactEncrypt},7566:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.flattenedDecrypt=void 0;const he=Ae(80518);const ge=Ae(66137);const me=Ae(7022);const ye=Ae(94419);const ve=Ae(6063);const be=Ae(39127);const Ee=Ae(26127);const Ce=Ae(1691);const we=Ae(43987);const Ie=Ae(50863);const _e=Ae(55148);async function flattenedDecrypt(R,pe,Ae){var Be;if(!(0,be.default)(R)){throw new ye.JWEInvalid("Flattened JWE must be an object")}if(R.protected===undefined&&R.header===undefined&&R.unprotected===undefined){throw new ye.JWEInvalid("JOSE Header missing")}if(typeof R.iv!=="string"){throw new ye.JWEInvalid("JWE Initialization Vector missing or incorrect type")}if(typeof R.ciphertext!=="string"){throw new ye.JWEInvalid("JWE Ciphertext missing or incorrect type")}if(typeof R.tag!=="string"){throw new ye.JWEInvalid("JWE Authentication Tag missing or incorrect type")}if(R.protected!==undefined&&typeof R.protected!=="string"){throw new ye.JWEInvalid("JWE Protected Header incorrect type")}if(R.encrypted_key!==undefined&&typeof R.encrypted_key!=="string"){throw new ye.JWEInvalid("JWE Encrypted Key incorrect type")}if(R.aad!==undefined&&typeof R.aad!=="string"){throw new ye.JWEInvalid("JWE AAD incorrect type")}if(R.header!==undefined&&!(0,be.default)(R.header)){throw new ye.JWEInvalid("JWE Shared Unprotected Header incorrect type")}if(R.unprotected!==undefined&&!(0,be.default)(R.unprotected)){throw new ye.JWEInvalid("JWE Per-Recipient Unprotected Header incorrect type")}let Se;if(R.protected){try{const pe=(0,he.decode)(R.protected);Se=JSON.parse(Ce.decoder.decode(pe))}catch{throw new ye.JWEInvalid("JWE Protected Header is invalid")}}if(!(0,ve.default)(Se,R.header,R.unprotected)){throw new ye.JWEInvalid("JWE Protected, JWE Unprotected Header, and JWE Per-Recipient Unprotected Header Parameter names must be disjoint")}const Qe={...Se,...R.header,...R.unprotected};(0,Ie.default)(ye.JWEInvalid,new Map,Ae===null||Ae===void 0?void 0:Ae.crit,Se,Qe);if(Qe.zip!==undefined){if(!Se||!Se.zip){throw new ye.JWEInvalid('JWE "zip" (Compression Algorithm) Header MUST be integrity protected')}if(Qe.zip!=="DEF"){throw new ye.JOSENotSupported('Unsupported JWE "zip" (Compression Algorithm) Header Parameter value')}}const{alg:xe,enc:De}=Qe;if(typeof xe!=="string"||!xe){throw new ye.JWEInvalid("missing JWE Algorithm (alg) in JWE Header")}if(typeof De!=="string"||!De){throw new ye.JWEInvalid("missing JWE Encryption Algorithm (enc) in JWE Header")}const ke=Ae&&(0,_e.default)("keyManagementAlgorithms",Ae.keyManagementAlgorithms);const Oe=Ae&&(0,_e.default)("contentEncryptionAlgorithms",Ae.contentEncryptionAlgorithms);if(ke&&!ke.has(xe)){throw new ye.JOSEAlgNotAllowed('"alg" (Algorithm) Header Parameter not allowed')}if(Oe&&!Oe.has(De)){throw new ye.JOSEAlgNotAllowed('"enc" (Encryption Algorithm) Header Parameter not allowed')}let Re;if(R.encrypted_key!==undefined){try{Re=(0,he.decode)(R.encrypted_key)}catch{throw new ye.JWEInvalid("Failed to base64url decode the encrypted_key")}}let Pe=false;if(typeof pe==="function"){pe=await pe(Se,R);Pe=true}let Te;try{Te=await(0,Ee.default)(xe,pe,Re,Qe,Ae)}catch(R){if(R instanceof TypeError||R instanceof ye.JWEInvalid||R instanceof ye.JOSENotSupported){throw R}Te=(0,we.default)(De)}let Ne;let Me;try{Ne=(0,he.decode)(R.iv)}catch{throw new ye.JWEInvalid("Failed to base64url decode the iv")}try{Me=(0,he.decode)(R.tag)}catch{throw new ye.JWEInvalid("Failed to base64url decode the tag")}const Fe=Ce.encoder.encode((Be=R.protected)!==null&&Be!==void 0?Be:"");let je;if(R.aad!==undefined){je=(0,Ce.concat)(Fe,Ce.encoder.encode("."),Ce.encoder.encode(R.aad))}else{je=Fe}let Le;try{Le=(0,he.decode)(R.ciphertext)}catch{throw new ye.JWEInvalid("Failed to base64url decode the ciphertext")}let Ue=await(0,ge.default)(De,Te,Le,Ne,Me,je);if(Qe.zip==="DEF"){Ue=await((Ae===null||Ae===void 0?void 0:Ae.inflateRaw)||me.inflate)(Ue)}const He={plaintext:Ue};if(R.protected!==undefined){He.protectedHeader=Se}if(R.aad!==undefined){try{He.additionalAuthenticatedData=(0,he.decode)(R.aad)}catch{throw new ye.JWEInvalid("Failed to base64url decode the aad")}}if(R.unprotected!==undefined){He.sharedUnprotectedHeader=R.unprotected}if(R.header!==undefined){He.unprotectedHeader=R.header}if(Pe){return{...He,key:pe}}return He}pe.flattenedDecrypt=flattenedDecrypt},81555:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.FlattenedEncrypt=pe.unprotected=void 0;const he=Ae(80518);const ge=Ae(76476);const me=Ae(7022);const ye=Ae(84630);const ve=Ae(33286);const be=Ae(94419);const Ee=Ae(6063);const Ce=Ae(1691);const we=Ae(50863);pe.unprotected=Symbol();class FlattenedEncrypt{constructor(R){if(!(R instanceof Uint8Array)){throw new TypeError("plaintext must be an instance of Uint8Array")}this._plaintext=R}setKeyManagementParameters(R){if(this._keyManagementParameters){throw new TypeError("setKeyManagementParameters can only be called once")}this._keyManagementParameters=R;return this}setProtectedHeader(R){if(this._protectedHeader){throw new TypeError("setProtectedHeader can only be called once")}this._protectedHeader=R;return this}setSharedUnprotectedHeader(R){if(this._sharedUnprotectedHeader){throw new TypeError("setSharedUnprotectedHeader can only be called once")}this._sharedUnprotectedHeader=R;return this}setUnprotectedHeader(R){if(this._unprotectedHeader){throw new TypeError("setUnprotectedHeader can only be called once")}this._unprotectedHeader=R;return this}setAdditionalAuthenticatedData(R){this._aad=R;return this}setContentEncryptionKey(R){if(this._cek){throw new TypeError("setContentEncryptionKey can only be called once")}this._cek=R;return this}setInitializationVector(R){if(this._iv){throw new TypeError("setInitializationVector can only be called once")}this._iv=R;return this}async encrypt(R,Ae){if(!this._protectedHeader&&!this._unprotectedHeader&&!this._sharedUnprotectedHeader){throw new be.JWEInvalid("either setProtectedHeader, setUnprotectedHeader, or sharedUnprotectedHeader must be called before #encrypt()")}if(!(0,Ee.default)(this._protectedHeader,this._unprotectedHeader,this._sharedUnprotectedHeader)){throw new be.JWEInvalid("JWE Protected, JWE Shared Unprotected and JWE Per-Recipient Header Parameter names must be disjoint")}const Ie={...this._protectedHeader,...this._unprotectedHeader,...this._sharedUnprotectedHeader};(0,we.default)(be.JWEInvalid,new Map,Ae===null||Ae===void 0?void 0:Ae.crit,this._protectedHeader,Ie);if(Ie.zip!==undefined){if(!this._protectedHeader||!this._protectedHeader.zip){throw new be.JWEInvalid('JWE "zip" (Compression Algorithm) Header MUST be integrity protected')}if(Ie.zip!=="DEF"){throw new be.JOSENotSupported('Unsupported JWE "zip" (Compression Algorithm) Header Parameter value')}}const{alg:_e,enc:Be}=Ie;if(typeof _e!=="string"||!_e){throw new be.JWEInvalid('JWE "alg" (Algorithm) Header Parameter missing or invalid')}if(typeof Be!=="string"||!Be){throw new be.JWEInvalid('JWE "enc" (Encryption Algorithm) Header Parameter missing or invalid')}let Se;if(_e==="dir"){if(this._cek){throw new TypeError("setContentEncryptionKey cannot be called when using Direct Encryption")}}else if(_e==="ECDH-ES"){if(this._cek){throw new TypeError("setContentEncryptionKey cannot be called when using Direct Key Agreement")}}let Qe;{let he;({cek:Qe,encryptedKey:Se,parameters:he}=await(0,ve.default)(_e,Be,R,this._cek,this._keyManagementParameters));if(he){if(Ae&&pe.unprotected in Ae){if(!this._unprotectedHeader){this.setUnprotectedHeader(he)}else{this._unprotectedHeader={...this._unprotectedHeader,...he}}}else{if(!this._protectedHeader){this.setProtectedHeader(he)}else{this._protectedHeader={...this._protectedHeader,...he}}}}}this._iv||(this._iv=(0,ye.default)(Be));let xe;let De;let ke;if(this._protectedHeader){De=Ce.encoder.encode((0,he.encode)(JSON.stringify(this._protectedHeader)))}else{De=Ce.encoder.encode("")}if(this._aad){ke=(0,he.encode)(this._aad);xe=(0,Ce.concat)(De,Ce.encoder.encode("."),Ce.encoder.encode(ke))}else{xe=De}let Oe;let Re;if(Ie.zip==="DEF"){const R=await((Ae===null||Ae===void 0?void 0:Ae.deflateRaw)||me.deflate)(this._plaintext);({ciphertext:Oe,tag:Re}=await(0,ge.default)(Be,R,Qe,this._iv,xe))}else{({ciphertext:Oe,tag:Re}=await(0,ge.default)(Be,this._plaintext,Qe,this._iv,xe))}const Pe={ciphertext:(0,he.encode)(Oe),iv:(0,he.encode)(this._iv),tag:(0,he.encode)(Re)};if(Se){Pe.encrypted_key=(0,he.encode)(Se)}if(ke){Pe.aad=ke}if(this._protectedHeader){Pe.protected=Ce.decoder.decode(De)}if(this._sharedUnprotectedHeader){Pe.unprotected=this._sharedUnprotectedHeader}if(this._unprotectedHeader){Pe.header=this._unprotectedHeader}return Pe}}pe.FlattenedEncrypt=FlattenedEncrypt},85684:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.generalDecrypt=void 0;const he=Ae(7566);const ge=Ae(94419);const me=Ae(39127);async function generalDecrypt(R,pe,Ae){if(!(0,me.default)(R)){throw new ge.JWEInvalid("General JWE must be an object")}if(!Array.isArray(R.recipients)||!R.recipients.every(me.default)){throw new ge.JWEInvalid("JWE Recipients missing or incorrect type")}if(!R.recipients.length){throw new ge.JWEInvalid("JWE Recipients has no members")}for(const ge of R.recipients){try{return await(0,he.flattenedDecrypt)({aad:R.aad,ciphertext:R.ciphertext,encrypted_key:ge.encrypted_key,header:ge.header,iv:R.iv,protected:R.protected,tag:R.tag,unprotected:R.unprotected},pe,Ae)}catch{}}throw new ge.JWEDecryptionFailed}pe.generalDecrypt=generalDecrypt},43992:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.GeneralEncrypt=void 0;const he=Ae(81555);const ge=Ae(94419);const me=Ae(43987);const ye=Ae(6063);const ve=Ae(33286);const be=Ae(80518);const Ee=Ae(50863);class IndividualRecipient{constructor(R,pe,Ae){this.parent=R;this.key=pe;this.options=Ae}setUnprotectedHeader(R){if(this.unprotectedHeader){throw new TypeError("setUnprotectedHeader can only be called once")}this.unprotectedHeader=R;return this}addRecipient(...R){return this.parent.addRecipient(...R)}encrypt(...R){return this.parent.encrypt(...R)}done(){return this.parent}}class GeneralEncrypt{constructor(R){this._recipients=[];this._plaintext=R}addRecipient(R,pe){const Ae=new IndividualRecipient(this,R,{crit:pe===null||pe===void 0?void 0:pe.crit});this._recipients.push(Ae);return Ae}setProtectedHeader(R){if(this._protectedHeader){throw new TypeError("setProtectedHeader can only be called once")}this._protectedHeader=R;return this}setSharedUnprotectedHeader(R){if(this._unprotectedHeader){throw new TypeError("setSharedUnprotectedHeader can only be called once")}this._unprotectedHeader=R;return this}setAdditionalAuthenticatedData(R){this._aad=R;return this}async encrypt(R){var pe,Ae,Ce;if(!this._recipients.length){throw new ge.JWEInvalid("at least one recipient must be added")}R={deflateRaw:R===null||R===void 0?void 0:R.deflateRaw};if(this._recipients.length===1){const[pe]=this._recipients;const Ae=await new he.FlattenedEncrypt(this._plaintext).setAdditionalAuthenticatedData(this._aad).setProtectedHeader(this._protectedHeader).setSharedUnprotectedHeader(this._unprotectedHeader).setUnprotectedHeader(pe.unprotectedHeader).encrypt(pe.key,{...pe.options,...R});let ge={ciphertext:Ae.ciphertext,iv:Ae.iv,recipients:[{}],tag:Ae.tag};if(Ae.aad)ge.aad=Ae.aad;if(Ae.protected)ge.protected=Ae.protected;if(Ae.unprotected)ge.unprotected=Ae.unprotected;if(Ae.encrypted_key)ge.recipients[0].encrypted_key=Ae.encrypted_key;if(Ae.header)ge.recipients[0].header=Ae.header;return ge}let we;for(let R=0;R{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.EmbeddedJWK=void 0;const he=Ae(74230);const ge=Ae(39127);const me=Ae(94419);async function EmbeddedJWK(R,pe){const Ae={...R,...pe===null||pe===void 0?void 0:pe.header};if(!(0,ge.default)(Ae.jwk)){throw new me.JWSInvalid('"jwk" (JSON Web Key) Header Parameter must be a JSON object')}const ye=await(0,he.importJWK)({...Ae.jwk,ext:true},Ae.alg,true);if(ye instanceof Uint8Array||ye.type!=="public"){throw new me.JWSInvalid('"jwk" (JSON Web Key) Header Parameter must be a public key')}return ye}pe.EmbeddedJWK=EmbeddedJWK},3494:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.calculateJwkThumbprintUri=pe.calculateJwkThumbprint=void 0;const he=Ae(52355);const ge=Ae(80518);const me=Ae(94419);const ye=Ae(1691);const ve=Ae(39127);const check=(R,pe)=>{if(typeof R!=="string"||!R){throw new me.JWKInvalid(`${pe} missing or invalid`)}};async function calculateJwkThumbprint(R,pe){if(!(0,ve.default)(R)){throw new TypeError("JWK must be an object")}pe!==null&&pe!==void 0?pe:pe="sha256";if(pe!=="sha256"&&pe!=="sha384"&&pe!=="sha512"){throw new TypeError('digestAlgorithm must one of "sha256", "sha384", or "sha512"')}let Ae;switch(R.kty){case"EC":check(R.crv,'"crv" (Curve) Parameter');check(R.x,'"x" (X Coordinate) Parameter');check(R.y,'"y" (Y Coordinate) Parameter');Ae={crv:R.crv,kty:R.kty,x:R.x,y:R.y};break;case"OKP":check(R.crv,'"crv" (Subtype of Key Pair) Parameter');check(R.x,'"x" (Public Key) Parameter');Ae={crv:R.crv,kty:R.kty,x:R.x};break;case"RSA":check(R.e,'"e" (Exponent) Parameter');check(R.n,'"n" (Modulus) Parameter');Ae={e:R.e,kty:R.kty,n:R.n};break;case"oct":check(R.k,'"k" (Key Value) Parameter');Ae={k:R.k,kty:R.kty};break;default:throw new me.JOSENotSupported('"kty" (Key Type) Parameter missing or unsupported')}const be=ye.encoder.encode(JSON.stringify(Ae));return(0,ge.encode)(await(0,he.default)(pe,be))}pe.calculateJwkThumbprint=calculateJwkThumbprint;async function calculateJwkThumbprintUri(R,pe){pe!==null&&pe!==void 0?pe:pe="sha256";const Ae=await calculateJwkThumbprint(R,pe);return`urn:ietf:params:oauth:jwk-thumbprint:sha-${pe.slice(-3)}:${Ae}`}pe.calculateJwkThumbprintUri=calculateJwkThumbprintUri},29970:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.createLocalJWKSet=pe.LocalJWKSet=pe.isJWKSLike=void 0;const he=Ae(74230);const ge=Ae(94419);const me=Ae(39127);function getKtyFromAlg(R){switch(typeof R==="string"&&R.slice(0,2)){case"RS":case"PS":return"RSA";case"ES":return"EC";case"Ed":return"OKP";default:throw new ge.JOSENotSupported('Unsupported "alg" value for a JSON Web Key Set')}}function isJWKSLike(R){return R&&typeof R==="object"&&Array.isArray(R.keys)&&R.keys.every(isJWKLike)}pe.isJWKSLike=isJWKSLike;function isJWKLike(R){return(0,me.default)(R)}function clone(R){if(typeof structuredClone==="function"){return structuredClone(R)}return JSON.parse(JSON.stringify(R))}class LocalJWKSet{constructor(R){this._cached=new WeakMap;if(!isJWKSLike(R)){throw new ge.JWKSInvalid("JSON Web Key Set malformed")}this._jwks=clone(R)}async getKey(R,pe){const{alg:Ae,kid:he}={...R,...pe===null||pe===void 0?void 0:pe.header};const me=getKtyFromAlg(Ae);const ye=this._jwks.keys.filter((R=>{let pe=me===R.kty;if(pe&&typeof he==="string"){pe=he===R.kid}if(pe&&typeof R.alg==="string"){pe=Ae===R.alg}if(pe&&typeof R.use==="string"){pe=R.use==="sig"}if(pe&&Array.isArray(R.key_ops)){pe=R.key_ops.includes("verify")}if(pe&&Ae==="EdDSA"){pe=R.crv==="Ed25519"||R.crv==="Ed448"}if(pe){switch(Ae){case"ES256":pe=R.crv==="P-256";break;case"ES256K":pe=R.crv==="secp256k1";break;case"ES384":pe=R.crv==="P-384";break;case"ES512":pe=R.crv==="P-521";break}}return pe}));const{0:ve,length:be}=ye;if(be===0){throw new ge.JWKSNoMatchingKey}else if(be!==1){const R=new ge.JWKSMultipleMatchingKeys;const{_cached:pe}=this;R[Symbol.asyncIterator]=async function*(){for(const R of ye){try{yield await importWithAlgCache(pe,R,Ae)}catch{continue}}};throw R}return importWithAlgCache(this._cached,ve,Ae)}}pe.LocalJWKSet=LocalJWKSet;async function importWithAlgCache(R,pe,Ae){const me=R.get(pe)||R.set(pe,{}).get(pe);if(me[Ae]===undefined){const R=await(0,he.importJWK)({...pe,ext:true},Ae);if(R instanceof Uint8Array||R.type!=="public"){throw new ge.JWKSInvalid("JSON Web Key Set members must be public keys")}me[Ae]=R}return me[Ae]}function createLocalJWKSet(R){const pe=new LocalJWKSet(R);return async function(R,Ae){return pe.getKey(R,Ae)}}pe.createLocalJWKSet=createLocalJWKSet},79035:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.createRemoteJWKSet=void 0;const he=Ae(43650);const ge=Ae(94419);const me=Ae(29970);function isCloudflareWorkers(){return typeof WebSocketPair!=="undefined"||typeof navigator!=="undefined"&&navigator.userAgent==="Cloudflare-Workers"||typeof EdgeRuntime!=="undefined"&&EdgeRuntime==="vercel"}class RemoteJWKSet extends me.LocalJWKSet{constructor(R,pe){super({keys:[]});this._jwks=undefined;if(!(R instanceof URL)){throw new TypeError("url must be an instance of URL")}this._url=new URL(R.href);this._options={agent:pe===null||pe===void 0?void 0:pe.agent,headers:pe===null||pe===void 0?void 0:pe.headers};this._timeoutDuration=typeof(pe===null||pe===void 0?void 0:pe.timeoutDuration)==="number"?pe===null||pe===void 0?void 0:pe.timeoutDuration:5e3;this._cooldownDuration=typeof(pe===null||pe===void 0?void 0:pe.cooldownDuration)==="number"?pe===null||pe===void 0?void 0:pe.cooldownDuration:3e4;this._cacheMaxAge=typeof(pe===null||pe===void 0?void 0:pe.cacheMaxAge)==="number"?pe===null||pe===void 0?void 0:pe.cacheMaxAge:6e5}coolingDown(){return typeof this._jwksTimestamp==="number"?Date.now(){if(!(0,me.isJWKSLike)(R)){throw new ge.JWKSInvalid("JSON Web Key Set malformed")}this._jwks={keys:R.keys};this._jwksTimestamp=Date.now();this._pendingFetch=undefined})).catch((R=>{this._pendingFetch=undefined;throw R})));await this._pendingFetch}}function createRemoteJWKSet(R,pe){const Ae=new RemoteJWKSet(R,pe);return async function(R,pe){return Ae.getKey(R,pe)}}pe.createRemoteJWKSet=createRemoteJWKSet},48257:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.CompactSign=void 0;const he=Ae(84825);class CompactSign{constructor(R){this._flattened=new he.FlattenedSign(R)}setProtectedHeader(R){this._flattened.setProtectedHeader(R);return this}async sign(R,pe){const Ae=await this._flattened.sign(R,pe);if(Ae.payload===undefined){throw new TypeError("use the flattened module for creating JWS with b64: false")}return`${Ae.protected}.${Ae.payload}.${Ae.signature}`}}pe.CompactSign=CompactSign},15212:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.compactVerify=void 0;const he=Ae(32095);const ge=Ae(94419);const me=Ae(1691);async function compactVerify(R,pe,Ae){if(R instanceof Uint8Array){R=me.decoder.decode(R)}if(typeof R!=="string"){throw new ge.JWSInvalid("Compact JWS must be a string or Uint8Array")}const{0:ye,1:ve,2:be,length:Ee}=R.split(".");if(Ee!==3){throw new ge.JWSInvalid("Invalid Compact JWS")}const Ce=await(0,he.flattenedVerify)({payload:ve,protected:ye,signature:be},pe,Ae);const we={payload:Ce.payload,protectedHeader:Ce.protectedHeader};if(typeof pe==="function"){return{...we,key:Ce.key}}return we}pe.compactVerify=compactVerify},84825:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.FlattenedSign=void 0;const he=Ae(80518);const ge=Ae(69935);const me=Ae(6063);const ye=Ae(94419);const ve=Ae(1691);const be=Ae(56241);const Ee=Ae(50863);class FlattenedSign{constructor(R){if(!(R instanceof Uint8Array)){throw new TypeError("payload must be an instance of Uint8Array")}this._payload=R}setProtectedHeader(R){if(this._protectedHeader){throw new TypeError("setProtectedHeader can only be called once")}this._protectedHeader=R;return this}setUnprotectedHeader(R){if(this._unprotectedHeader){throw new TypeError("setUnprotectedHeader can only be called once")}this._unprotectedHeader=R;return this}async sign(R,pe){if(!this._protectedHeader&&!this._unprotectedHeader){throw new ye.JWSInvalid("either setProtectedHeader or setUnprotectedHeader must be called before #sign()")}if(!(0,me.default)(this._protectedHeader,this._unprotectedHeader)){throw new ye.JWSInvalid("JWS Protected and JWS Unprotected Header Parameter names must be disjoint")}const Ae={...this._protectedHeader,...this._unprotectedHeader};const Ce=(0,Ee.default)(ye.JWSInvalid,new Map([["b64",true]]),pe===null||pe===void 0?void 0:pe.crit,this._protectedHeader,Ae);let we=true;if(Ce.has("b64")){we=this._protectedHeader.b64;if(typeof we!=="boolean"){throw new ye.JWSInvalid('The "b64" (base64url-encode payload) Header Parameter must be a boolean')}}const{alg:Ie}=Ae;if(typeof Ie!=="string"||!Ie){throw new ye.JWSInvalid('JWS "alg" (Algorithm) Header Parameter missing or invalid')}(0,be.default)(Ie,R,"sign");let _e=this._payload;if(we){_e=ve.encoder.encode((0,he.encode)(_e))}let Be;if(this._protectedHeader){Be=ve.encoder.encode((0,he.encode)(JSON.stringify(this._protectedHeader)))}else{Be=ve.encoder.encode("")}const Se=(0,ve.concat)(Be,ve.encoder.encode("."),_e);const Qe=await(0,ge.default)(Ie,R,Se);const xe={signature:(0,he.encode)(Qe),payload:""};if(we){xe.payload=ve.decoder.decode(_e)}if(this._unprotectedHeader){xe.header=this._unprotectedHeader}if(this._protectedHeader){xe.protected=ve.decoder.decode(Be)}return xe}}pe.FlattenedSign=FlattenedSign},32095:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.flattenedVerify=void 0;const he=Ae(80518);const ge=Ae(3569);const me=Ae(94419);const ye=Ae(1691);const ve=Ae(6063);const be=Ae(39127);const Ee=Ae(56241);const Ce=Ae(50863);const we=Ae(55148);async function flattenedVerify(R,pe,Ae){var Ie;if(!(0,be.default)(R)){throw new me.JWSInvalid("Flattened JWS must be an object")}if(R.protected===undefined&&R.header===undefined){throw new me.JWSInvalid('Flattened JWS must have either of the "protected" or "header" members')}if(R.protected!==undefined&&typeof R.protected!=="string"){throw new me.JWSInvalid("JWS Protected Header incorrect type")}if(R.payload===undefined){throw new me.JWSInvalid("JWS Payload missing")}if(typeof R.signature!=="string"){throw new me.JWSInvalid("JWS Signature missing or incorrect type")}if(R.header!==undefined&&!(0,be.default)(R.header)){throw new me.JWSInvalid("JWS Unprotected Header incorrect type")}let _e={};if(R.protected){try{const pe=(0,he.decode)(R.protected);_e=JSON.parse(ye.decoder.decode(pe))}catch{throw new me.JWSInvalid("JWS Protected Header is invalid")}}if(!(0,ve.default)(_e,R.header)){throw new me.JWSInvalid("JWS Protected and JWS Unprotected Header Parameter names must be disjoint")}const Be={..._e,...R.header};const Se=(0,Ce.default)(me.JWSInvalid,new Map([["b64",true]]),Ae===null||Ae===void 0?void 0:Ae.crit,_e,Be);let Qe=true;if(Se.has("b64")){Qe=_e.b64;if(typeof Qe!=="boolean"){throw new me.JWSInvalid('The "b64" (base64url-encode payload) Header Parameter must be a boolean')}}const{alg:xe}=Be;if(typeof xe!=="string"||!xe){throw new me.JWSInvalid('JWS "alg" (Algorithm) Header Parameter missing or invalid')}const De=Ae&&(0,we.default)("algorithms",Ae.algorithms);if(De&&!De.has(xe)){throw new me.JOSEAlgNotAllowed('"alg" (Algorithm) Header Parameter not allowed')}if(Qe){if(typeof R.payload!=="string"){throw new me.JWSInvalid("JWS Payload must be a string")}}else if(typeof R.payload!=="string"&&!(R.payload instanceof Uint8Array)){throw new me.JWSInvalid("JWS Payload must be a string or an Uint8Array instance")}let ke=false;if(typeof pe==="function"){pe=await pe(_e,R);ke=true}(0,Ee.default)(xe,pe,"verify");const Oe=(0,ye.concat)(ye.encoder.encode((Ie=R.protected)!==null&&Ie!==void 0?Ie:""),ye.encoder.encode("."),typeof R.payload==="string"?ye.encoder.encode(R.payload):R.payload);let Re;try{Re=(0,he.decode)(R.signature)}catch{throw new me.JWSInvalid("Failed to base64url decode the signature")}const Pe=await(0,ge.default)(xe,pe,Re,Oe);if(!Pe){throw new me.JWSSignatureVerificationFailed}let Te;if(Qe){try{Te=(0,he.decode)(R.payload)}catch{throw new me.JWSInvalid("Failed to base64url decode the payload")}}else if(typeof R.payload==="string"){Te=ye.encoder.encode(R.payload)}else{Te=R.payload}const Ne={payload:Te};if(R.protected!==undefined){Ne.protectedHeader=_e}if(R.header!==undefined){Ne.unprotectedHeader=R.header}if(ke){return{...Ne,key:pe}}return Ne}pe.flattenedVerify=flattenedVerify},64268:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.GeneralSign=void 0;const he=Ae(84825);const ge=Ae(94419);class IndividualSignature{constructor(R,pe,Ae){this.parent=R;this.key=pe;this.options=Ae}setProtectedHeader(R){if(this.protectedHeader){throw new TypeError("setProtectedHeader can only be called once")}this.protectedHeader=R;return this}setUnprotectedHeader(R){if(this.unprotectedHeader){throw new TypeError("setUnprotectedHeader can only be called once")}this.unprotectedHeader=R;return this}addSignature(...R){return this.parent.addSignature(...R)}sign(...R){return this.parent.sign(...R)}done(){return this.parent}}class GeneralSign{constructor(R){this._signatures=[];this._payload=R}addSignature(R,pe){const Ae=new IndividualSignature(this,R,pe);this._signatures.push(Ae);return Ae}async sign(){if(!this._signatures.length){throw new ge.JWSInvalid("at least one signature must be added")}const R={signatures:[],payload:""};for(let pe=0;pe{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.generalVerify=void 0;const he=Ae(32095);const ge=Ae(94419);const me=Ae(39127);async function generalVerify(R,pe,Ae){if(!(0,me.default)(R)){throw new ge.JWSInvalid("General JWS must be an object")}if(!Array.isArray(R.signatures)||!R.signatures.every(me.default)){throw new ge.JWSInvalid("JWS Signatures missing or incorrect type")}for(const ge of R.signatures){try{return await(0,he.flattenedVerify)({header:ge.header,payload:R.payload,protected:ge.protected,signature:ge.signature},pe,Ae)}catch{}}throw new ge.JWSSignatureVerificationFailed}pe.generalVerify=generalVerify},53378:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.jwtDecrypt=void 0;const he=Ae(27651);const ge=Ae(7274);const me=Ae(94419);async function jwtDecrypt(R,pe,Ae){const ye=await(0,he.compactDecrypt)(R,pe,Ae);const ve=(0,ge.default)(ye.protectedHeader,ye.plaintext,Ae);const{protectedHeader:be}=ye;if(be.iss!==undefined&&be.iss!==ve.iss){throw new me.JWTClaimValidationFailed('replicated "iss" claim header parameter mismatch',"iss","mismatch")}if(be.sub!==undefined&&be.sub!==ve.sub){throw new me.JWTClaimValidationFailed('replicated "sub" claim header parameter mismatch',"sub","mismatch")}if(be.aud!==undefined&&JSON.stringify(be.aud)!==JSON.stringify(ve.aud)){throw new me.JWTClaimValidationFailed('replicated "aud" claim header parameter mismatch',"aud","mismatch")}const Ee={payload:ve,protectedHeader:be};if(typeof pe==="function"){return{...Ee,key:ye.key}}return Ee}pe.jwtDecrypt=jwtDecrypt},10960:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.EncryptJWT=void 0;const he=Ae(86203);const ge=Ae(1691);const me=Ae(21908);class EncryptJWT extends me.ProduceJWT{setProtectedHeader(R){if(this._protectedHeader){throw new TypeError("setProtectedHeader can only be called once")}this._protectedHeader=R;return this}setKeyManagementParameters(R){if(this._keyManagementParameters){throw new TypeError("setKeyManagementParameters can only be called once")}this._keyManagementParameters=R;return this}setContentEncryptionKey(R){if(this._cek){throw new TypeError("setContentEncryptionKey can only be called once")}this._cek=R;return this}setInitializationVector(R){if(this._iv){throw new TypeError("setInitializationVector can only be called once")}this._iv=R;return this}replicateIssuerAsHeader(){this._replicateIssuerAsHeader=true;return this}replicateSubjectAsHeader(){this._replicateSubjectAsHeader=true;return this}replicateAudienceAsHeader(){this._replicateAudienceAsHeader=true;return this}async encrypt(R,pe){const Ae=new he.CompactEncrypt(ge.encoder.encode(JSON.stringify(this._payload)));if(this._replicateIssuerAsHeader){this._protectedHeader={...this._protectedHeader,iss:this._payload.iss}}if(this._replicateSubjectAsHeader){this._protectedHeader={...this._protectedHeader,sub:this._payload.sub}}if(this._replicateAudienceAsHeader){this._protectedHeader={...this._protectedHeader,aud:this._payload.aud}}Ae.setProtectedHeader(this._protectedHeader);if(this._iv){Ae.setInitializationVector(this._iv)}if(this._cek){Ae.setContentEncryptionKey(this._cek)}if(this._keyManagementParameters){Ae.setKeyManagementParameters(this._keyManagementParameters)}return Ae.encrypt(R,pe)}}pe.EncryptJWT=EncryptJWT},21908:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.ProduceJWT=void 0;const he=Ae(74476);const ge=Ae(39127);const me=Ae(37810);class ProduceJWT{constructor(R){if(!(0,ge.default)(R)){throw new TypeError("JWT Claims Set MUST be an object")}this._payload=R}setIssuer(R){this._payload={...this._payload,iss:R};return this}setSubject(R){this._payload={...this._payload,sub:R};return this}setAudience(R){this._payload={...this._payload,aud:R};return this}setJti(R){this._payload={...this._payload,jti:R};return this}setNotBefore(R){if(typeof R==="number"){this._payload={...this._payload,nbf:R}}else{this._payload={...this._payload,nbf:(0,he.default)(new Date)+(0,me.default)(R)}}return this}setExpirationTime(R){if(typeof R==="number"){this._payload={...this._payload,exp:R}}else{this._payload={...this._payload,exp:(0,he.default)(new Date)+(0,me.default)(R)}}return this}setIssuedAt(R){if(typeof R==="undefined"){this._payload={...this._payload,iat:(0,he.default)(new Date)}}else{this._payload={...this._payload,iat:R}}return this}}pe.ProduceJWT=ProduceJWT},25356:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.SignJWT=void 0;const he=Ae(48257);const ge=Ae(94419);const me=Ae(1691);const ye=Ae(21908);class SignJWT extends ye.ProduceJWT{setProtectedHeader(R){this._protectedHeader=R;return this}async sign(R,pe){var Ae;const ye=new he.CompactSign(me.encoder.encode(JSON.stringify(this._payload)));ye.setProtectedHeader(this._protectedHeader);if(Array.isArray((Ae=this._protectedHeader)===null||Ae===void 0?void 0:Ae.crit)&&this._protectedHeader.crit.includes("b64")&&this._protectedHeader.b64===false){throw new ge.JWTInvalid("JWTs MUST NOT use unencoded payload")}return ye.sign(R,pe)}}pe.SignJWT=SignJWT},88568:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.UnsecuredJWT=void 0;const he=Ae(80518);const ge=Ae(1691);const me=Ae(94419);const ye=Ae(7274);const ve=Ae(21908);class UnsecuredJWT extends ve.ProduceJWT{encode(){const R=he.encode(JSON.stringify({alg:"none"}));const pe=he.encode(JSON.stringify(this._payload));return`${R}.${pe}.`}static decode(R,pe){if(typeof R!=="string"){throw new me.JWTInvalid("Unsecured JWT must be a string")}const{0:Ae,1:ve,2:be,length:Ee}=R.split(".");if(Ee!==3||be!==""){throw new me.JWTInvalid("Invalid Unsecured JWT")}let Ce;try{Ce=JSON.parse(ge.decoder.decode(he.decode(Ae)));if(Ce.alg!=="none")throw new Error}catch{throw new me.JWTInvalid("Invalid Unsecured JWT")}const we=(0,ye.default)(Ce,he.decode(ve),pe);return{payload:we,header:Ce}}}pe.UnsecuredJWT=UnsecuredJWT},99887:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.jwtVerify=void 0;const he=Ae(15212);const ge=Ae(7274);const me=Ae(94419);async function jwtVerify(R,pe,Ae){var ye;const ve=await(0,he.compactVerify)(R,pe,Ae);if(((ye=ve.protectedHeader.crit)===null||ye===void 0?void 0:ye.includes("b64"))&&ve.protectedHeader.b64===false){throw new me.JWTInvalid("JWTs MUST NOT use unencoded payload")}const be=(0,ge.default)(ve.protectedHeader,ve.payload,Ae);const Ee={payload:be,protectedHeader:ve.protectedHeader};if(typeof pe==="function"){return{...Ee,key:ve.key}}return Ee}pe.jwtVerify=jwtVerify},70465:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.exportJWK=pe.exportPKCS8=pe.exportSPKI=void 0;const he=Ae(70858);const ge=Ae(70858);const me=Ae(40997);async function exportSPKI(R){return(0,he.toSPKI)(R)}pe.exportSPKI=exportSPKI;async function exportPKCS8(R){return(0,ge.toPKCS8)(R)}pe.exportPKCS8=exportPKCS8;async function exportJWK(R){return(0,me.default)(R)}pe.exportJWK=exportJWK},51036:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.generateKeyPair=void 0;const he=Ae(29378);async function generateKeyPair(R,pe){return(0,he.generateKeyPair)(R,pe)}pe.generateKeyPair=generateKeyPair},76617:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.generateSecret=void 0;const he=Ae(29378);async function generateSecret(R,pe){return(0,he.generateSecret)(R,pe)}pe.generateSecret=generateSecret},74230:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.importJWK=pe.importPKCS8=pe.importX509=pe.importSPKI=void 0;const he=Ae(80518);const ge=Ae(70858);const me=Ae(42659);const ye=Ae(94419);const ve=Ae(39127);async function importSPKI(R,pe,Ae){if(typeof R!=="string"||R.indexOf("-----BEGIN PUBLIC KEY-----")!==0){throw new TypeError('"spki" must be SPKI formatted string')}return(0,ge.fromSPKI)(R,pe,Ae)}pe.importSPKI=importSPKI;async function importX509(R,pe,Ae){if(typeof R!=="string"||R.indexOf("-----BEGIN CERTIFICATE-----")!==0){throw new TypeError('"x509" must be X.509 formatted string')}return(0,ge.fromX509)(R,pe,Ae)}pe.importX509=importX509;async function importPKCS8(R,pe,Ae){if(typeof R!=="string"||R.indexOf("-----BEGIN PRIVATE KEY-----")!==0){throw new TypeError('"pkcs8" must be PKCS#8 formatted string')}return(0,ge.fromPKCS8)(R,pe,Ae)}pe.importPKCS8=importPKCS8;async function importJWK(R,pe,Ae){var ge;if(!(0,ve.default)(R)){throw new TypeError("JWK must be an object")}pe||(pe=R.alg);switch(R.kty){case"oct":if(typeof R.k!=="string"||!R.k){throw new TypeError('missing "k" (Key Value) Parameter value')}Ae!==null&&Ae!==void 0?Ae:Ae=R.ext!==true;if(Ae){return(0,me.default)({...R,alg:pe,ext:(ge=R.ext)!==null&&ge!==void 0?ge:false})}return(0,he.decode)(R.k);case"RSA":if(R.oth!==undefined){throw new ye.JOSENotSupported('RSA JWK "oth" (Other Primes Info) Parameter value is not supported')}case"EC":case"OKP":return(0,me.default)({...R,alg:pe});default:throw new ye.JOSENotSupported('Unsupported "kty" (Key Type) Parameter value')}}pe.importJWK=importJWK},10233:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.unwrap=pe.wrap=void 0;const he=Ae(76476);const ge=Ae(66137);const me=Ae(84630);const ye=Ae(80518);async function wrap(R,pe,Ae,ge){const ve=R.slice(0,7);ge||(ge=(0,me.default)(ve));const{ciphertext:be,tag:Ee}=await(0,he.default)(ve,Ae,pe,ge,new Uint8Array(0));return{encryptedKey:be,iv:(0,ye.encode)(ge),tag:(0,ye.encode)(Ee)}}pe.wrap=wrap;async function unwrap(R,pe,Ae,he,me){const ye=R.slice(0,7);return(0,ge.default)(ye,pe,Ae,he,me,new Uint8Array(0))}pe.unwrap=unwrap},1691:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.concatKdf=pe.lengthAndInput=pe.uint32be=pe.uint64be=pe.p2s=pe.concat=pe.decoder=pe.encoder=void 0;const he=Ae(52355);pe.encoder=new TextEncoder;pe.decoder=new TextDecoder;const ge=2**32;function concat(...R){const pe=R.reduce(((R,{length:pe})=>R+pe),0);const Ae=new Uint8Array(pe);let he=0;R.forEach((R=>{Ae.set(R,he);he+=R.length}));return Ae}pe.concat=concat;function p2s(R,Ae){return concat(pe.encoder.encode(R),new Uint8Array([0]),Ae)}pe.p2s=p2s;function writeUInt32BE(R,pe,Ae){if(pe<0||pe>=ge){throw new RangeError(`value must be >= 0 and <= ${ge-1}. Received ${pe}`)}R.set([pe>>>24,pe>>>16,pe>>>8,pe&255],Ae)}function uint64be(R){const pe=Math.floor(R/ge);const Ae=R%ge;const he=new Uint8Array(8);writeUInt32BE(he,pe,0);writeUInt32BE(he,Ae,4);return he}pe.uint64be=uint64be;function uint32be(R){const pe=new Uint8Array(4);writeUInt32BE(pe,R);return pe}pe.uint32be=uint32be;function lengthAndInput(R){return concat(uint32be(R.length),R)}pe.lengthAndInput=lengthAndInput;async function concatKdf(R,pe,Ae){const ge=Math.ceil((pe>>3)/32);const me=new Uint8Array(ge*32);for(let pe=0;pe>3)}pe.concatKdf=concatKdf},43987:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.bitLength=void 0;const he=Ae(94419);const ge=Ae(75770);function bitLength(R){switch(R){case"A128GCM":return 128;case"A192GCM":return 192;case"A256GCM":case"A128CBC-HS256":return 256;case"A192CBC-HS384":return 384;case"A256CBC-HS512":return 512;default:throw new he.JOSENotSupported(`Unsupported JWE Algorithm: ${R}`)}}pe.bitLength=bitLength;pe["default"]=R=>(0,ge.default)(new Uint8Array(bitLength(R)>>3))},41120:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});const he=Ae(94419);const ge=Ae(84630);const checkIvLength=(R,pe)=>{if(pe.length<<3!==(0,ge.bitLength)(R)){throw new he.JWEInvalid("Invalid Initialization Vector length")}};pe["default"]=checkIvLength},56241:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});const he=Ae(1146);const ge=Ae(17947);const symmetricTypeCheck=(R,pe)=>{if(pe instanceof Uint8Array)return;if(!(0,ge.default)(pe)){throw new TypeError((0,he.withAlg)(R,pe,...ge.types,"Uint8Array"))}if(pe.type!=="secret"){throw new TypeError(`${ge.types.join(" or ")} instances for symmetric algorithms must be of type "secret"`)}};const asymmetricTypeCheck=(R,pe,Ae)=>{if(!(0,ge.default)(pe)){throw new TypeError((0,he.withAlg)(R,pe,...ge.types))}if(pe.type==="secret"){throw new TypeError(`${ge.types.join(" or ")} instances for asymmetric algorithms must not be of type "secret"`)}if(Ae==="sign"&&pe.type==="public"){throw new TypeError(`${ge.types.join(" or ")} instances for asymmetric algorithm signing must be of type "private"`)}if(Ae==="decrypt"&&pe.type==="public"){throw new TypeError(`${ge.types.join(" or ")} instances for asymmetric algorithm decryption must be of type "private"`)}if(pe.algorithm&&Ae==="verify"&&pe.type==="private"){throw new TypeError(`${ge.types.join(" or ")} instances for asymmetric algorithm verifying must be of type "public"`)}if(pe.algorithm&&Ae==="encrypt"&&pe.type==="private"){throw new TypeError(`${ge.types.join(" or ")} instances for asymmetric algorithm encryption must be of type "public"`)}};const checkKeyType=(R,pe,Ae)=>{const he=R.startsWith("HS")||R==="dir"||R.startsWith("PBES2")||/^A\d{3}(?:GCM)?KW$/.test(R);if(he){symmetricTypeCheck(R,pe)}else{asymmetricTypeCheck(R,pe,Ae)}};pe["default"]=checkKeyType},83499:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});const he=Ae(94419);function checkP2s(R){if(!(R instanceof Uint8Array)||R.length<8){throw new he.JWEInvalid("PBES2 Salt Input must be 8 or more octets")}}pe["default"]=checkP2s},73386:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.checkEncCryptoKey=pe.checkSigCryptoKey=void 0;function unusable(R,pe="algorithm.name"){return new TypeError(`CryptoKey does not support this operation, its ${pe} must be ${R}`)}function isAlgorithm(R,pe){return R.name===pe}function getHashLength(R){return parseInt(R.name.slice(4),10)}function getNamedCurve(R){switch(R){case"ES256":return"P-256";case"ES384":return"P-384";case"ES512":return"P-521";default:throw new Error("unreachable")}}function checkUsage(R,pe){if(pe.length&&!pe.some((pe=>R.usages.includes(pe)))){let R="CryptoKey does not support this operation, its usages must include ";if(pe.length>2){const Ae=pe.pop();R+=`one of ${pe.join(", ")}, or ${Ae}.`}else if(pe.length===2){R+=`one of ${pe[0]} or ${pe[1]}.`}else{R+=`${pe[0]}.`}throw new TypeError(R)}}function checkSigCryptoKey(R,pe,...Ae){switch(pe){case"HS256":case"HS384":case"HS512":{if(!isAlgorithm(R.algorithm,"HMAC"))throw unusable("HMAC");const Ae=parseInt(pe.slice(2),10);const he=getHashLength(R.algorithm.hash);if(he!==Ae)throw unusable(`SHA-${Ae}`,"algorithm.hash");break}case"RS256":case"RS384":case"RS512":{if(!isAlgorithm(R.algorithm,"RSASSA-PKCS1-v1_5"))throw unusable("RSASSA-PKCS1-v1_5");const Ae=parseInt(pe.slice(2),10);const he=getHashLength(R.algorithm.hash);if(he!==Ae)throw unusable(`SHA-${Ae}`,"algorithm.hash");break}case"PS256":case"PS384":case"PS512":{if(!isAlgorithm(R.algorithm,"RSA-PSS"))throw unusable("RSA-PSS");const Ae=parseInt(pe.slice(2),10);const he=getHashLength(R.algorithm.hash);if(he!==Ae)throw unusable(`SHA-${Ae}`,"algorithm.hash");break}case"EdDSA":{if(R.algorithm.name!=="Ed25519"&&R.algorithm.name!=="Ed448"){throw unusable("Ed25519 or Ed448")}break}case"ES256":case"ES384":case"ES512":{if(!isAlgorithm(R.algorithm,"ECDSA"))throw unusable("ECDSA");const Ae=getNamedCurve(pe);const he=R.algorithm.namedCurve;if(he!==Ae)throw unusable(Ae,"algorithm.namedCurve");break}default:throw new TypeError("CryptoKey does not support this operation")}checkUsage(R,Ae)}pe.checkSigCryptoKey=checkSigCryptoKey;function checkEncCryptoKey(R,pe,...Ae){switch(pe){case"A128GCM":case"A192GCM":case"A256GCM":{if(!isAlgorithm(R.algorithm,"AES-GCM"))throw unusable("AES-GCM");const Ae=parseInt(pe.slice(1,4),10);const he=R.algorithm.length;if(he!==Ae)throw unusable(Ae,"algorithm.length");break}case"A128KW":case"A192KW":case"A256KW":{if(!isAlgorithm(R.algorithm,"AES-KW"))throw unusable("AES-KW");const Ae=parseInt(pe.slice(1,4),10);const he=R.algorithm.length;if(he!==Ae)throw unusable(Ae,"algorithm.length");break}case"ECDH":{switch(R.algorithm.name){case"ECDH":case"X25519":case"X448":break;default:throw unusable("ECDH, X25519, or X448")}break}case"PBES2-HS256+A128KW":case"PBES2-HS384+A192KW":case"PBES2-HS512+A256KW":if(!isAlgorithm(R.algorithm,"PBKDF2"))throw unusable("PBKDF2");break;case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":{if(!isAlgorithm(R.algorithm,"RSA-OAEP"))throw unusable("RSA-OAEP");const Ae=parseInt(pe.slice(9),10)||1;const he=getHashLength(R.algorithm.hash);if(he!==Ae)throw unusable(`SHA-${Ae}`,"algorithm.hash");break}default:throw new TypeError("CryptoKey does not support this operation")}checkUsage(R,Ae)}pe.checkEncCryptoKey=checkEncCryptoKey},26127:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});const he=Ae(56083);const ge=Ae(33706);const me=Ae(66898);const ye=Ae(89526);const ve=Ae(80518);const be=Ae(94419);const Ee=Ae(43987);const Ce=Ae(74230);const we=Ae(56241);const Ie=Ae(39127);const _e=Ae(10233);async function decryptKeyManagement(R,pe,Ae,Be,Se){(0,we.default)(R,pe,"decrypt");switch(R){case"dir":{if(Ae!==undefined)throw new be.JWEInvalid("Encountered unexpected JWE Encrypted Key");return pe}case"ECDH-ES":if(Ae!==undefined)throw new be.JWEInvalid("Encountered unexpected JWE Encrypted Key");case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":{if(!(0,Ie.default)(Be.epk))throw new be.JWEInvalid(`JOSE Header "epk" (Ephemeral Public Key) missing or invalid`);if(!ge.ecdhAllowed(pe))throw new be.JOSENotSupported("ECDH with the provided key is not allowed or not supported by your javascript runtime");const me=await(0,Ce.importJWK)(Be.epk,R);let ye;let we;if(Be.apu!==undefined){if(typeof Be.apu!=="string")throw new be.JWEInvalid(`JOSE Header "apu" (Agreement PartyUInfo) invalid`);try{ye=(0,ve.decode)(Be.apu)}catch{throw new be.JWEInvalid("Failed to base64url decode the apu")}}if(Be.apv!==undefined){if(typeof Be.apv!=="string")throw new be.JWEInvalid(`JOSE Header "apv" (Agreement PartyVInfo) invalid`);try{we=(0,ve.decode)(Be.apv)}catch{throw new be.JWEInvalid("Failed to base64url decode the apv")}}const _e=await ge.deriveKey(me,pe,R==="ECDH-ES"?Be.enc:R,R==="ECDH-ES"?(0,Ee.bitLength)(Be.enc):parseInt(R.slice(-5,-2),10),ye,we);if(R==="ECDH-ES")return _e;if(Ae===undefined)throw new be.JWEInvalid("JWE Encrypted Key missing");return(0,he.unwrap)(R.slice(-6),_e,Ae)}case"RSA1_5":case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":{if(Ae===undefined)throw new be.JWEInvalid("JWE Encrypted Key missing");return(0,ye.decrypt)(R,pe,Ae)}case"PBES2-HS256+A128KW":case"PBES2-HS384+A192KW":case"PBES2-HS512+A256KW":{if(Ae===undefined)throw new be.JWEInvalid("JWE Encrypted Key missing");if(typeof Be.p2c!=="number")throw new be.JWEInvalid(`JOSE Header "p2c" (PBES2 Count) missing or invalid`);const he=(Se===null||Se===void 0?void 0:Se.maxPBES2Count)||1e4;if(Be.p2c>he)throw new be.JWEInvalid(`JOSE Header "p2c" (PBES2 Count) out is of acceptable bounds`);if(typeof Be.p2s!=="string")throw new be.JWEInvalid(`JOSE Header "p2s" (PBES2 Salt) missing or invalid`);let ge;try{ge=(0,ve.decode)(Be.p2s)}catch{throw new be.JWEInvalid("Failed to base64url decode the p2s")}return(0,me.decrypt)(R,pe,Ae,Be.p2c,ge)}case"A128KW":case"A192KW":case"A256KW":{if(Ae===undefined)throw new be.JWEInvalid("JWE Encrypted Key missing");return(0,he.unwrap)(R,pe,Ae)}case"A128GCMKW":case"A192GCMKW":case"A256GCMKW":{if(Ae===undefined)throw new be.JWEInvalid("JWE Encrypted Key missing");if(typeof Be.iv!=="string")throw new be.JWEInvalid(`JOSE Header "iv" (Initialization Vector) missing or invalid`);if(typeof Be.tag!=="string")throw new be.JWEInvalid(`JOSE Header "tag" (Authentication Tag) missing or invalid`);let he;try{he=(0,ve.decode)(Be.iv)}catch{throw new be.JWEInvalid("Failed to base64url decode the iv")}let ge;try{ge=(0,ve.decode)(Be.tag)}catch{throw new be.JWEInvalid("Failed to base64url decode the tag")}return(0,_e.unwrap)(R,pe,Ae,he,ge)}default:{throw new be.JOSENotSupported('Invalid or unsupported "alg" (JWE Algorithm) header value')}}}pe["default"]=decryptKeyManagement},33286:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});const he=Ae(56083);const ge=Ae(33706);const me=Ae(66898);const ye=Ae(89526);const ve=Ae(80518);const be=Ae(43987);const Ee=Ae(94419);const Ce=Ae(70465);const we=Ae(56241);const Ie=Ae(10233);async function encryptKeyManagement(R,pe,Ae,_e,Be={}){let Se;let Qe;let xe;(0,we.default)(R,Ae,"encrypt");switch(R){case"dir":{xe=Ae;break}case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":{if(!ge.ecdhAllowed(Ae)){throw new Ee.JOSENotSupported("ECDH with the provided key is not allowed or not supported by your javascript runtime")}const{apu:me,apv:ye}=Be;let{epk:we}=Be;we||(we=(await ge.generateEpk(Ae)).privateKey);const{x:Ie,y:De,crv:ke,kty:Oe}=await(0,Ce.exportJWK)(we);const Re=await ge.deriveKey(Ae,we,R==="ECDH-ES"?pe:R,R==="ECDH-ES"?(0,be.bitLength)(pe):parseInt(R.slice(-5,-2),10),me,ye);Qe={epk:{x:Ie,crv:ke,kty:Oe}};if(Oe==="EC")Qe.epk.y=De;if(me)Qe.apu=(0,ve.encode)(me);if(ye)Qe.apv=(0,ve.encode)(ye);if(R==="ECDH-ES"){xe=Re;break}xe=_e||(0,be.default)(pe);const Pe=R.slice(-6);Se=await(0,he.wrap)(Pe,Re,xe);break}case"RSA1_5":case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":{xe=_e||(0,be.default)(pe);Se=await(0,ye.encrypt)(R,Ae,xe);break}case"PBES2-HS256+A128KW":case"PBES2-HS384+A192KW":case"PBES2-HS512+A256KW":{xe=_e||(0,be.default)(pe);const{p2c:he,p2s:ge}=Be;({encryptedKey:Se,...Qe}=await(0,me.encrypt)(R,Ae,xe,he,ge));break}case"A128KW":case"A192KW":case"A256KW":{xe=_e||(0,be.default)(pe);Se=await(0,he.wrap)(R,Ae,xe);break}case"A128GCMKW":case"A192GCMKW":case"A256GCMKW":{xe=_e||(0,be.default)(pe);const{iv:he}=Be;({encryptedKey:Se,...Qe}=await(0,Ie.wrap)(R,Ae,xe,he));break}default:{throw new Ee.JOSENotSupported('Invalid or unsupported "alg" (JWE Algorithm) header value')}}return{cek:xe,encryptedKey:Se,parameters:Qe}}pe["default"]=encryptKeyManagement},74476:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe["default"]=R=>Math.floor(R.getTime()/1e3)},1146:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.withAlg=void 0;function message(R,pe,...Ae){if(Ae.length>2){const pe=Ae.pop();R+=`one of type ${Ae.join(", ")}, or ${pe}.`}else if(Ae.length===2){R+=`one of type ${Ae[0]} or ${Ae[1]}.`}else{R+=`of type ${Ae[0]}.`}if(pe==null){R+=` Received ${pe}`}else if(typeof pe==="function"&&pe.name){R+=` Received function ${pe.name}`}else if(typeof pe==="object"&&pe!=null){if(pe.constructor&&pe.constructor.name){R+=` Received an instance of ${pe.constructor.name}`}}return R}pe["default"]=(R,...pe)=>message("Key must be ",R,...pe);function withAlg(R,pe,...Ae){return message(`Key for the ${R} algorithm must be `,pe,...Ae)}pe.withAlg=withAlg},6063:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});const isDisjoint=(...R)=>{const pe=R.filter(Boolean);if(pe.length===0||pe.length===1){return true}let Ae;for(const R of pe){const pe=Object.keys(R);if(!Ae||Ae.size===0){Ae=new Set(pe);continue}for(const R of pe){if(Ae.has(R)){return false}Ae.add(R)}}return true};pe["default"]=isDisjoint},39127:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});function isObjectLike(R){return typeof R==="object"&&R!==null}function isObject(R){if(!isObjectLike(R)||Object.prototype.toString.call(R)!=="[object Object]"){return false}if(Object.getPrototypeOf(R)===null){return true}let pe=R;while(Object.getPrototypeOf(pe)!==null){pe=Object.getPrototypeOf(pe)}return Object.getPrototypeOf(R)===pe}pe["default"]=isObject},84630:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.bitLength=void 0;const he=Ae(94419);const ge=Ae(75770);function bitLength(R){switch(R){case"A128GCM":case"A128GCMKW":case"A192GCM":case"A192GCMKW":case"A256GCM":case"A256GCMKW":return 96;case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":return 128;default:throw new he.JOSENotSupported(`Unsupported JWE Algorithm: ${R}`)}}pe.bitLength=bitLength;pe["default"]=R=>(0,ge.default)(new Uint8Array(bitLength(R)>>3))},7274:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});const he=Ae(94419);const ge=Ae(1691);const me=Ae(74476);const ye=Ae(37810);const ve=Ae(39127);const normalizeTyp=R=>R.toLowerCase().replace(/^application\//,"");const checkAudiencePresence=(R,pe)=>{if(typeof R==="string"){return pe.includes(R)}if(Array.isArray(R)){return pe.some(Set.prototype.has.bind(new Set(R)))}return false};pe["default"]=(R,pe,Ae={})=>{const{typ:be}=Ae;if(be&&(typeof R.typ!=="string"||normalizeTyp(R.typ)!==normalizeTyp(be))){throw new he.JWTClaimValidationFailed('unexpected "typ" JWT header value',"typ","check_failed")}let Ee;try{Ee=JSON.parse(ge.decoder.decode(pe))}catch{}if(!(0,ve.default)(Ee)){throw new he.JWTInvalid("JWT Claims Set must be a top-level JSON object")}const{requiredClaims:Ce=[],issuer:we,subject:Ie,audience:_e,maxTokenAge:Be}=Ae;if(Be!==undefined)Ce.push("iat");if(_e!==undefined)Ce.push("aud");if(Ie!==undefined)Ce.push("sub");if(we!==undefined)Ce.push("iss");for(const R of new Set(Ce.reverse())){if(!(R in Ee)){throw new he.JWTClaimValidationFailed(`missing required "${R}" claim`,R,"missing")}}if(we&&!(Array.isArray(we)?we:[we]).includes(Ee.iss)){throw new he.JWTClaimValidationFailed('unexpected "iss" claim value',"iss","check_failed")}if(Ie&&Ee.sub!==Ie){throw new he.JWTClaimValidationFailed('unexpected "sub" claim value',"sub","check_failed")}if(_e&&!checkAudiencePresence(Ee.aud,typeof _e==="string"?[_e]:_e)){throw new he.JWTClaimValidationFailed('unexpected "aud" claim value',"aud","check_failed")}let Se;switch(typeof Ae.clockTolerance){case"string":Se=(0,ye.default)(Ae.clockTolerance);break;case"number":Se=Ae.clockTolerance;break;case"undefined":Se=0;break;default:throw new TypeError("Invalid clockTolerance option type")}const{currentDate:Qe}=Ae;const xe=(0,me.default)(Qe||new Date);if((Ee.iat!==undefined||Be)&&typeof Ee.iat!=="number"){throw new he.JWTClaimValidationFailed('"iat" claim must be a number',"iat","invalid")}if(Ee.nbf!==undefined){if(typeof Ee.nbf!=="number"){throw new he.JWTClaimValidationFailed('"nbf" claim must be a number',"nbf","invalid")}if(Ee.nbf>xe+Se){throw new he.JWTClaimValidationFailed('"nbf" claim timestamp check failed',"nbf","check_failed")}}if(Ee.exp!==undefined){if(typeof Ee.exp!=="number"){throw new he.JWTClaimValidationFailed('"exp" claim must be a number',"exp","invalid")}if(Ee.exp<=xe-Se){throw new he.JWTExpired('"exp" claim timestamp check failed',"exp","check_failed")}}if(Be){const R=xe-Ee.iat;const pe=typeof Be==="number"?Be:(0,ye.default)(Be);if(R-Se>pe){throw new he.JWTExpired('"iat" claim timestamp check failed (too far in the past)',"iat","check_failed")}if(R<0-Se){throw new he.JWTClaimValidationFailed('"iat" claim timestamp check failed (it should be in the past)',"iat","check_failed")}}return Ee}},37810:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});const Ae=60;const he=Ae*60;const ge=he*24;const me=ge*7;const ye=ge*365.25;const ve=/^(\d+|\d+\.\d+) ?(seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)$/i;pe["default"]=R=>{const pe=ve.exec(R);if(!pe){throw new TypeError("Invalid time period format")}const be=parseFloat(pe[1]);const Ee=pe[2].toLowerCase();switch(Ee){case"sec":case"secs":case"second":case"seconds":case"s":return Math.round(be);case"minute":case"minutes":case"min":case"mins":case"m":return Math.round(be*Ae);case"hour":case"hours":case"hr":case"hrs":case"h":return Math.round(be*he);case"day":case"days":case"d":return Math.round(be*ge);case"week":case"weeks":case"w":return Math.round(be*me);default:return Math.round(be*ye)}}},55148:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});const validateAlgorithms=(R,pe)=>{if(pe!==undefined&&(!Array.isArray(pe)||pe.some((R=>typeof R!=="string")))){throw new TypeError(`"${R}" option must be an array of strings`)}if(!pe){return undefined}return new Set(pe)};pe["default"]=validateAlgorithms},50863:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});const he=Ae(94419);function validateCrit(R,pe,Ae,ge,me){if(me.crit!==undefined&&ge.crit===undefined){throw new R('"crit" (Critical) Header Parameter MUST be integrity protected')}if(!ge||ge.crit===undefined){return new Set}if(!Array.isArray(ge.crit)||ge.crit.length===0||ge.crit.some((R=>typeof R!=="string"||R.length===0))){throw new R('"crit" (Critical) Header Parameter MUST be an array of non-empty strings when present')}let ye;if(Ae!==undefined){ye=new Map([...Object.entries(Ae),...pe.entries()])}else{ye=pe}for(const pe of ge.crit){if(!ye.has(pe)){throw new he.JOSENotSupported(`Extension Header Parameter "${pe}" is not recognized`)}if(me[pe]===undefined){throw new R(`Extension Header Parameter "${pe}" is missing`)}else if(ye.get(pe)&&ge[pe]===undefined){throw new R(`Extension Header Parameter "${pe}" MUST be integrity protected`)}}return new Set(ge.crit)}pe["default"]=validateCrit},56083:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.unwrap=pe.wrap=void 0;const he=Ae(14300);const ge=Ae(6113);const me=Ae(94419);const ye=Ae(1691);const ve=Ae(86852);const be=Ae(73386);const Ee=Ae(62768);const Ce=Ae(1146);const we=Ae(14618);const Ie=Ae(17947);function checkKeySize(R,pe){if(R.symmetricKeySize<<3!==parseInt(pe.slice(1,4),10)){throw new TypeError(`Invalid key size for alg: ${pe}`)}}function ensureKeyObject(R,pe,Ae){if((0,Ee.default)(R)){return R}if(R instanceof Uint8Array){return(0,ge.createSecretKey)(R)}if((0,ve.isCryptoKey)(R)){(0,be.checkEncCryptoKey)(R,pe,Ae);return ge.KeyObject.from(R)}throw new TypeError((0,Ce.default)(R,...Ie.types,"Uint8Array"))}const wrap=(R,pe,Ae)=>{const ve=parseInt(R.slice(1,4),10);const be=`aes${ve}-wrap`;if(!(0,we.default)(be)){throw new me.JOSENotSupported(`alg ${R} is not supported either by JOSE or your javascript runtime`)}const Ee=ensureKeyObject(pe,R,"wrapKey");checkKeySize(Ee,R);const Ce=(0,ge.createCipheriv)(be,Ee,he.Buffer.alloc(8,166));return(0,ye.concat)(Ce.update(Ae),Ce.final())};pe.wrap=wrap;const unwrap=(R,pe,Ae)=>{const ve=parseInt(R.slice(1,4),10);const be=`aes${ve}-wrap`;if(!(0,we.default)(be)){throw new me.JOSENotSupported(`alg ${R} is not supported either by JOSE or your javascript runtime`)}const Ee=ensureKeyObject(pe,R,"unwrapKey");checkKeySize(Ee,R);const Ce=(0,ge.createDecipheriv)(be,Ee,he.Buffer.alloc(8,166));return(0,ye.concat)(Ce.update(Ae),Ce.final())};pe.unwrap=unwrap},70858:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.fromX509=pe.fromSPKI=pe.fromPKCS8=pe.toPKCS8=pe.toSPKI=void 0;const he=Ae(6113);const ge=Ae(14300);const me=Ae(86852);const ye=Ae(62768);const ve=Ae(1146);const be=Ae(17947);const genericExport=(R,pe,Ae)=>{let ge;if((0,me.isCryptoKey)(Ae)){if(!Ae.extractable){throw new TypeError("CryptoKey is not extractable")}ge=he.KeyObject.from(Ae)}else if((0,ye.default)(Ae)){ge=Ae}else{throw new TypeError((0,ve.default)(Ae,...be.types))}if(ge.type!==R){throw new TypeError(`key is not a ${R} key`)}return ge.export({format:"pem",type:pe})};const toSPKI=R=>genericExport("public","spki",R);pe.toSPKI=toSPKI;const toPKCS8=R=>genericExport("private","pkcs8",R);pe.toPKCS8=toPKCS8;const fromPKCS8=R=>(0,he.createPrivateKey)({key:ge.Buffer.from(R.replace(/(?:-----(?:BEGIN|END) PRIVATE KEY-----|\s)/g,""),"base64"),type:"pkcs8",format:"der"});pe.fromPKCS8=fromPKCS8;const fromSPKI=R=>(0,he.createPublicKey)({key:ge.Buffer.from(R.replace(/(?:-----(?:BEGIN|END) PUBLIC KEY-----|\s)/g,""),"base64"),type:"spki",format:"der"});pe.fromSPKI=fromSPKI;const fromX509=R=>(0,he.createPublicKey)({key:R,type:"spki",format:"pem"});pe.fromX509=fromX509},77351:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});const Ae=2;const he=48;class Asn1SequenceDecoder{constructor(R){if(R[0]!==he){throw new TypeError}this.buffer=R;this.offset=1;const pe=this.decodeLength();if(pe!==R.length-this.offset){throw new TypeError}}decodeLength(){let R=this.buffer[this.offset++];if(R&128){const pe=R&~128;R=0;for(let Ae=0;Ae{"use strict";Object.defineProperty(pe,"__esModule",{value:true});const he=Ae(14300);const ge=Ae(94419);const me=2;const ye=3;const ve=4;const be=48;const Ee=he.Buffer.from([0]);const Ce=he.Buffer.from([me]);const we=he.Buffer.from([ye]);const Ie=he.Buffer.from([be]);const _e=he.Buffer.from([ve]);const encodeLength=R=>{if(R<128)return he.Buffer.from([R]);const pe=he.Buffer.alloc(5);pe.writeUInt32BE(R,1);let Ae=1;while(pe[Ae]===0)Ae++;pe[Ae-1]=128|5-Ae;return pe.slice(Ae-1)};const Be=new Map([["P-256",he.Buffer.from("06 08 2A 86 48 CE 3D 03 01 07".replace(/ /g,""),"hex")],["secp256k1",he.Buffer.from("06 05 2B 81 04 00 0A".replace(/ /g,""),"hex")],["P-384",he.Buffer.from("06 05 2B 81 04 00 22".replace(/ /g,""),"hex")],["P-521",he.Buffer.from("06 05 2B 81 04 00 23".replace(/ /g,""),"hex")],["ecPublicKey",he.Buffer.from("06 07 2A 86 48 CE 3D 02 01".replace(/ /g,""),"hex")],["X25519",he.Buffer.from("06 03 2B 65 6E".replace(/ /g,""),"hex")],["X448",he.Buffer.from("06 03 2B 65 6F".replace(/ /g,""),"hex")],["Ed25519",he.Buffer.from("06 03 2B 65 70".replace(/ /g,""),"hex")],["Ed448",he.Buffer.from("06 03 2B 65 71".replace(/ /g,""),"hex")]]);class DumbAsn1Encoder{constructor(){this.length=0;this.elements=[]}oidFor(R){const pe=Be.get(R);if(!pe){throw new ge.JOSENotSupported("Invalid or unsupported OID")}this.elements.push(pe);this.length+=pe.length}zero(){this.elements.push(Ce,he.Buffer.from([1]),Ee);this.length+=3}one(){this.elements.push(Ce,he.Buffer.from([1]),he.Buffer.from([1]));this.length+=3}unsignedInteger(R){if(R[0]&128){const pe=encodeLength(R.length+1);this.elements.push(Ce,pe,Ee,R);this.length+=2+pe.length+R.length}else{let pe=0;while(R[pe]===0&&(R[pe+1]&128)===0)pe++;const Ae=encodeLength(R.length-pe);this.elements.push(Ce,encodeLength(R.length-pe),R.slice(pe));this.length+=1+Ae.length+R.length-pe}}octStr(R){const pe=encodeLength(R.length);this.elements.push(_e,encodeLength(R.length),R);this.length+=1+pe.length+R.length}bitStr(R){const pe=encodeLength(R.length+1);this.elements.push(we,encodeLength(R.length+1),Ee,R);this.length+=1+pe.length+R.length+1}add(R){this.elements.push(R);this.length+=R.length}end(R=Ie){const pe=encodeLength(this.length);return he.Buffer.concat([R,pe,...this.elements],1+pe.length+this.length)}}pe["default"]=DumbAsn1Encoder},80518:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.decode=pe.encode=pe.encodeBase64=pe.decodeBase64=void 0;const he=Ae(14300);const ge=Ae(1691);let me;function normalize(R){let pe=R;if(pe instanceof Uint8Array){pe=ge.decoder.decode(pe)}return pe}if(he.Buffer.isEncoding("base64url")){pe.encode=me=R=>he.Buffer.from(R).toString("base64url")}else{pe.encode=me=R=>he.Buffer.from(R).toString("base64").replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}const decodeBase64=R=>he.Buffer.from(R,"base64");pe.decodeBase64=decodeBase64;const encodeBase64=R=>he.Buffer.from(R).toString("base64");pe.encodeBase64=encodeBase64;const decode=R=>he.Buffer.from(normalize(R),"base64");pe.decode=decode},93357:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});const he=Ae(6113);const ge=Ae(1691);function cbcTag(R,pe,Ae,me,ye,ve){const be=(0,ge.concat)(R,pe,Ae,(0,ge.uint64be)(R.length<<3));const Ee=(0,he.createHmac)(`sha${me}`,ye);Ee.update(be);return Ee.digest().slice(0,ve>>3)}pe["default"]=cbcTag},4047:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});const he=Ae(94419);const ge=Ae(62768);const checkCekLength=(R,pe)=>{let Ae;switch(R){case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":Ae=parseInt(R.slice(-3),10);break;case"A128GCM":case"A192GCM":case"A256GCM":Ae=parseInt(R.slice(1,4),10);break;default:throw new he.JOSENotSupported(`Content Encryption Algorithm ${R} is not supported either by JOSE or your javascript runtime`)}if(pe instanceof Uint8Array){const R=pe.byteLength<<3;if(R!==Ae){throw new he.JWEInvalid(`Invalid Content Encryption Key length. Expected ${Ae} bits, got ${R} bits`)}return}if((0,ge.default)(pe)&&pe.type==="secret"){const R=pe.symmetricKeySize<<3;if(R!==Ae){throw new he.JWEInvalid(`Invalid Content Encryption Key length. Expected ${Ae} bits, got ${R} bits`)}return}throw new TypeError("Invalid Content Encryption Key type")};pe["default"]=checkCekLength},10122:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.setModulusLength=pe.weakMap=void 0;pe.weakMap=new WeakMap;const getLength=(R,pe)=>{let Ae=R.readUInt8(1);if((Ae&128)===0){if(pe===0){return Ae}return getLength(R.subarray(2+Ae),pe-1)}const he=Ae&127;Ae=0;for(let pe=0;pe{const Ae=R.readUInt8(1);if((Ae&128)===0){return getLength(R.subarray(2),pe)}const he=Ae&127;return getLength(R.subarray(2+he),pe)};const getModulusLength=R=>{var Ae,he;if(pe.weakMap.has(R)){return pe.weakMap.get(R)}const ge=(he=(Ae=R.asymmetricKeyDetails)===null||Ae===void 0?void 0:Ae.modulusLength)!==null&&he!==void 0?he:getLengthOfSeqIndex(R.export({format:"der",type:"pkcs1"}),R.type==="private"?1:0)-1<<3;pe.weakMap.set(R,ge);return ge};const setModulusLength=(R,Ae)=>{pe.weakMap.set(R,Ae)};pe.setModulusLength=setModulusLength;pe["default"]=(R,pe)=>{if(getModulusLength(R)<2048){throw new TypeError(`${pe} requires key modulusLength to be 2048 bits or larger`)}}},14618:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});const he=Ae(6113);let ge;pe["default"]=R=>{ge||(ge=new Set((0,he.getCiphers)()));return ge.has(R)}},66137:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});const he=Ae(6113);const ge=Ae(41120);const me=Ae(4047);const ye=Ae(1691);const ve=Ae(94419);const be=Ae(45390);const Ee=Ae(93357);const Ce=Ae(86852);const we=Ae(73386);const Ie=Ae(62768);const _e=Ae(1146);const Be=Ae(14618);const Se=Ae(17947);function cbcDecrypt(R,pe,Ae,ge,me,Ce){const we=parseInt(R.slice(1,4),10);if((0,Ie.default)(pe)){pe=pe.export()}const _e=pe.subarray(we>>3);const Se=pe.subarray(0,we>>3);const Qe=parseInt(R.slice(-3),10);const xe=`aes-${we}-cbc`;if(!(0,Be.default)(xe)){throw new ve.JOSENotSupported(`alg ${R} is not supported by your javascript runtime`)}const De=(0,Ee.default)(Ce,ge,Ae,Qe,Se,we);let ke;try{ke=(0,be.default)(me,De)}catch{}if(!ke){throw new ve.JWEDecryptionFailed}let Oe;try{const R=(0,he.createDecipheriv)(xe,_e,ge);Oe=(0,ye.concat)(R.update(Ae),R.final())}catch{}if(!Oe){throw new ve.JWEDecryptionFailed}return Oe}function gcmDecrypt(R,pe,Ae,ge,me,ye){const be=parseInt(R.slice(1,4),10);const Ee=`aes-${be}-gcm`;if(!(0,Be.default)(Ee)){throw new ve.JOSENotSupported(`alg ${R} is not supported by your javascript runtime`)}try{const R=(0,he.createDecipheriv)(Ee,pe,ge,{authTagLength:16});R.setAuthTag(me);if(ye.byteLength){R.setAAD(ye,{plaintextLength:Ae.length})}const ve=R.update(Ae);R.final();return ve}catch{throw new ve.JWEDecryptionFailed}}const decrypt=(R,pe,Ae,ye,be,Ee)=>{let Be;if((0,Ce.isCryptoKey)(pe)){(0,we.checkEncCryptoKey)(pe,R,"decrypt");Be=he.KeyObject.from(pe)}else if(pe instanceof Uint8Array||(0,Ie.default)(pe)){Be=pe}else{throw new TypeError((0,_e.default)(pe,...Se.types,"Uint8Array"))}(0,me.default)(R,Be);(0,ge.default)(R,ye);switch(R){case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":return cbcDecrypt(R,Be,Ae,ye,be,Ee);case"A128GCM":case"A192GCM":case"A256GCM":return gcmDecrypt(R,Be,Ae,ye,be,Ee);default:throw new ve.JOSENotSupported("Unsupported JWE Content Encryption Algorithm")}};pe["default"]=decrypt},52355:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});const he=Ae(6113);const digest=(R,pe)=>(0,he.createHash)(R).update(pe).digest();pe["default"]=digest},54965:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});const he=Ae(94419);function dsaDigest(R){switch(R){case"PS256":case"RS256":case"ES256":case"ES256K":return"sha256";case"PS384":case"RS384":case"ES384":return"sha384";case"PS512":case"RS512":case"ES512":return"sha512";case"EdDSA":return undefined;default:throw new he.JOSENotSupported(`alg ${R} is not supported either by JOSE or your javascript runtime`)}}pe["default"]=dsaDigest},33706:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.ecdhAllowed=pe.generateEpk=pe.deriveKey=void 0;const he=Ae(6113);const ge=Ae(73837);const me=Ae(99302);const ye=Ae(1691);const ve=Ae(94419);const be=Ae(86852);const Ee=Ae(73386);const Ce=Ae(62768);const we=Ae(1146);const Ie=Ae(17947);const _e=(0,ge.promisify)(he.generateKeyPair);async function deriveKey(R,pe,Ae,ge,me=new Uint8Array(0),ve=new Uint8Array(0)){let _e;if((0,be.isCryptoKey)(R)){(0,Ee.checkEncCryptoKey)(R,"ECDH");_e=he.KeyObject.from(R)}else if((0,Ce.default)(R)){_e=R}else{throw new TypeError((0,we.default)(R,...Ie.types))}let Be;if((0,be.isCryptoKey)(pe)){(0,Ee.checkEncCryptoKey)(pe,"ECDH","deriveBits");Be=he.KeyObject.from(pe)}else if((0,Ce.default)(pe)){Be=pe}else{throw new TypeError((0,we.default)(pe,...Ie.types))}const Se=(0,ye.concat)((0,ye.lengthAndInput)(ye.encoder.encode(Ae)),(0,ye.lengthAndInput)(me),(0,ye.lengthAndInput)(ve),(0,ye.uint32be)(ge));const Qe=(0,he.diffieHellman)({privateKey:Be,publicKey:_e});return(0,ye.concatKdf)(Qe,ge,Se)}pe.deriveKey=deriveKey;async function generateEpk(R){let pe;if((0,be.isCryptoKey)(R)){pe=he.KeyObject.from(R)}else if((0,Ce.default)(R)){pe=R}else{throw new TypeError((0,we.default)(R,...Ie.types))}switch(pe.asymmetricKeyType){case"x25519":return _e("x25519");case"x448":{return _e("x448")}case"ec":{const R=(0,me.default)(pe);return _e("ec",{namedCurve:R})}default:throw new ve.JOSENotSupported("Invalid or unsupported EPK")}}pe.generateEpk=generateEpk;const ecdhAllowed=R=>["P-256","P-384","P-521","X25519","X448"].includes((0,me.default)(R));pe.ecdhAllowed=ecdhAllowed},76476:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});const he=Ae(6113);const ge=Ae(41120);const me=Ae(4047);const ye=Ae(1691);const ve=Ae(93357);const be=Ae(86852);const Ee=Ae(73386);const Ce=Ae(62768);const we=Ae(1146);const Ie=Ae(94419);const _e=Ae(14618);const Be=Ae(17947);function cbcEncrypt(R,pe,Ae,ge,me){const be=parseInt(R.slice(1,4),10);if((0,Ce.default)(Ae)){Ae=Ae.export()}const Ee=Ae.subarray(be>>3);const we=Ae.subarray(0,be>>3);const Be=`aes-${be}-cbc`;if(!(0,_e.default)(Be)){throw new Ie.JOSENotSupported(`alg ${R} is not supported by your javascript runtime`)}const Se=(0,he.createCipheriv)(Be,Ee,ge);const Qe=(0,ye.concat)(Se.update(pe),Se.final());const xe=parseInt(R.slice(-3),10);const De=(0,ve.default)(me,ge,Qe,xe,we,be);return{ciphertext:Qe,tag:De}}function gcmEncrypt(R,pe,Ae,ge,me){const ye=parseInt(R.slice(1,4),10);const ve=`aes-${ye}-gcm`;if(!(0,_e.default)(ve)){throw new Ie.JOSENotSupported(`alg ${R} is not supported by your javascript runtime`)}const be=(0,he.createCipheriv)(ve,Ae,ge,{authTagLength:16});if(me.byteLength){be.setAAD(me,{plaintextLength:pe.length})}const Ee=be.update(pe);be.final();const Ce=be.getAuthTag();return{ciphertext:Ee,tag:Ce}}const encrypt=(R,pe,Ae,ye,ve)=>{let _e;if((0,be.isCryptoKey)(Ae)){(0,Ee.checkEncCryptoKey)(Ae,R,"encrypt");_e=he.KeyObject.from(Ae)}else if(Ae instanceof Uint8Array||(0,Ce.default)(Ae)){_e=Ae}else{throw new TypeError((0,we.default)(Ae,...Be.types,"Uint8Array"))}(0,me.default)(R,_e);(0,ge.default)(R,ye);switch(R){case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":return cbcEncrypt(R,pe,_e,ye,ve);case"A128GCM":case"A192GCM":case"A256GCM":return gcmEncrypt(R,pe,_e,ye,ve);default:throw new Ie.JOSENotSupported("Unsupported JWE Content Encryption Algorithm")}};pe["default"]=encrypt},43650:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});const he=Ae(13685);const ge=Ae(95687);const me=Ae(82361);const ye=Ae(94419);const ve=Ae(1691);const fetchJwks=async(R,pe,Ae)=>{let be;switch(R.protocol){case"https:":be=ge.get;break;case"http:":be=he.get;break;default:throw new TypeError("Unsupported URL protocol.")}const{agent:Ee,headers:Ce}=Ae;const we=be(R.href,{agent:Ee,timeout:pe,headers:Ce});const[Ie]=await Promise.race([(0,me.once)(we,"response"),(0,me.once)(we,"timeout")]);if(!Ie){we.destroy();throw new ye.JWKSTimeout}if(Ie.statusCode!==200){throw new ye.JOSEError("Expected 200 OK from the JSON Web Key Set HTTP response")}const _e=[];for await(const R of Ie){_e.push(R)}try{return JSON.parse(ve.decoder.decode((0,ve.concat)(..._e)))}catch{throw new ye.JOSEError("Failed to parse the JSON Web Key Set HTTP response as JSON")}};pe["default"]=fetchJwks},39737:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.jwkImport=pe.jwkExport=pe.rsaPssParams=pe.oneShotCallback=void 0;const[Ae,he]=process.versions.node.split(".").map((R=>parseInt(R,10)));pe.oneShotCallback=Ae>=16||Ae===15&&he>=13;pe.rsaPssParams=!("electron"in process.versions)&&(Ae>=17||Ae===16&&he>=9);pe.jwkExport=Ae>=16||Ae===15&&he>=9;pe.jwkImport=Ae>=16||Ae===15&&he>=12},29378:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.generateKeyPair=pe.generateSecret=void 0;const he=Ae(6113);const ge=Ae(73837);const me=Ae(75770);const ye=Ae(10122);const ve=Ae(94419);const be=(0,ge.promisify)(he.generateKeyPair);async function generateSecret(R,pe){let Ae;switch(R){case"HS256":case"HS384":case"HS512":case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":Ae=parseInt(R.slice(-3),10);break;case"A128KW":case"A192KW":case"A256KW":case"A128GCMKW":case"A192GCMKW":case"A256GCMKW":case"A128GCM":case"A192GCM":case"A256GCM":Ae=parseInt(R.slice(1,4),10);break;default:throw new ve.JOSENotSupported('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}return(0,he.createSecretKey)((0,me.default)(new Uint8Array(Ae>>3)))}pe.generateSecret=generateSecret;async function generateKeyPair(R,pe){var Ae,he;switch(R){case"RS256":case"RS384":case"RS512":case"PS256":case"PS384":case"PS512":case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":case"RSA1_5":{const R=(Ae=pe===null||pe===void 0?void 0:pe.modulusLength)!==null&&Ae!==void 0?Ae:2048;if(typeof R!=="number"||R<2048){throw new ve.JOSENotSupported("Invalid or unsupported modulusLength option provided, 2048 bits or larger keys must be used")}const he=await be("rsa",{modulusLength:R,publicExponent:65537});(0,ye.setModulusLength)(he.privateKey,R);(0,ye.setModulusLength)(he.publicKey,R);return he}case"ES256":return be("ec",{namedCurve:"P-256"});case"ES256K":return be("ec",{namedCurve:"secp256k1"});case"ES384":return be("ec",{namedCurve:"P-384"});case"ES512":return be("ec",{namedCurve:"P-521"});case"EdDSA":{switch(pe===null||pe===void 0?void 0:pe.crv){case undefined:case"Ed25519":return be("ed25519");case"Ed448":return be("ed448");default:throw new ve.JOSENotSupported("Invalid or unsupported crv option provided, supported values are Ed25519 and Ed448")}}case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":const R=(he=pe===null||pe===void 0?void 0:pe.crv)!==null&&he!==void 0?he:"P-256";switch(R){case undefined:case"P-256":case"P-384":case"P-521":return be("ec",{namedCurve:R});case"X25519":return be("x25519");case"X448":return be("x448");default:throw new ve.JOSENotSupported("Invalid or unsupported crv option provided, supported values are P-256, P-384, P-521, X25519, and X448")}default:throw new ve.JOSENotSupported('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}}pe.generateKeyPair=generateKeyPair},99302:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.setCurve=pe.weakMap=void 0;const he=Ae(14300);const ge=Ae(6113);const me=Ae(94419);const ye=Ae(86852);const ve=Ae(62768);const be=Ae(1146);const Ee=Ae(17947);const Ce=he.Buffer.from([42,134,72,206,61,3,1,7]);const we=he.Buffer.from([43,129,4,0,34]);const Ie=he.Buffer.from([43,129,4,0,35]);const _e=he.Buffer.from([43,129,4,0,10]);pe.weakMap=new WeakMap;const namedCurveToJOSE=R=>{switch(R){case"prime256v1":return"P-256";case"secp384r1":return"P-384";case"secp521r1":return"P-521";case"secp256k1":return"secp256k1";default:throw new me.JOSENotSupported("Unsupported key curve for this operation")}};const getNamedCurve=(R,Ae)=>{var he;let Be;if((0,ye.isCryptoKey)(R)){Be=ge.KeyObject.from(R)}else if((0,ve.default)(R)){Be=R}else{throw new TypeError((0,be.default)(R,...Ee.types))}if(Be.type==="secret"){throw new TypeError('only "private" or "public" type keys can be used for this operation')}switch(Be.asymmetricKeyType){case"ed25519":case"ed448":return`Ed${Be.asymmetricKeyType.slice(2)}`;case"x25519":case"x448":return`X${Be.asymmetricKeyType.slice(1)}`;case"ec":{if(pe.weakMap.has(Be)){return pe.weakMap.get(Be)}let R=(he=Be.asymmetricKeyDetails)===null||he===void 0?void 0:he.namedCurve;if(!R&&Be.type==="private"){R=getNamedCurve((0,ge.createPublicKey)(Be),true)}else if(!R){const pe=Be.export({format:"der",type:"spki"});const Ae=pe[1]<128?14:15;const he=pe[Ae];const ge=pe.slice(Ae+1,Ae+1+he);if(ge.equals(Ce)){R="prime256v1"}else if(ge.equals(we)){R="secp384r1"}else if(ge.equals(Ie)){R="secp521r1"}else if(ge.equals(_e)){R="secp256k1"}else{throw new me.JOSENotSupported("Unsupported key curve for this operation")}}if(Ae)return R;const ye=namedCurveToJOSE(R);pe.weakMap.set(Be,ye);return ye}default:throw new TypeError("Invalid asymmetric key type for this operation")}};function setCurve(R,Ae){pe.weakMap.set(R,Ae)}pe.setCurve=setCurve;pe["default"]=getNamedCurve},53170:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});const he=Ae(6113);const ge=Ae(86852);const me=Ae(73386);const ye=Ae(1146);const ve=Ae(17947);function getSignVerifyKey(R,pe,Ae){if(pe instanceof Uint8Array){if(!R.startsWith("HS")){throw new TypeError((0,ye.default)(pe,...ve.types))}return(0,he.createSecretKey)(pe)}if(pe instanceof he.KeyObject){return pe}if((0,ge.isCryptoKey)(pe)){(0,me.checkSigCryptoKey)(pe,R,Ae);return he.KeyObject.from(pe)}throw new TypeError((0,ye.default)(pe,...ve.types,"Uint8Array"))}pe["default"]=getSignVerifyKey},13811:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});const he=Ae(94419);function hmacDigest(R){switch(R){case"HS256":return"sha256";case"HS384":return"sha384";case"HS512":return"sha512";default:throw new he.JOSENotSupported(`alg ${R} is not supported either by JOSE or your javascript runtime`)}}pe["default"]=hmacDigest},17947:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.types=void 0;const he=Ae(86852);const ge=Ae(62768);pe["default"]=R=>(0,ge.default)(R)||(0,he.isCryptoKey)(R);const me=["KeyObject"];pe.types=me;if(globalThis.CryptoKey||(he.default===null||he.default===void 0?void 0:he.default.CryptoKey)){me.push("CryptoKey")}},62768:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});const he=Ae(6113);const ge=Ae(73837);pe["default"]=ge.types.isKeyObject?R=>ge.types.isKeyObject(R):R=>R!=null&&R instanceof he.KeyObject},42659:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});const he=Ae(14300);const ge=Ae(6113);const me=Ae(80518);const ye=Ae(94419);const ve=Ae(99302);const be=Ae(10122);const Ee=Ae(63341);const Ce=Ae(39737);const parse=R=>{if(Ce.jwkImport&&R.kty!=="oct"){return R.d?(0,ge.createPrivateKey)({format:"jwk",key:R}):(0,ge.createPublicKey)({format:"jwk",key:R})}switch(R.kty){case"oct":{return(0,ge.createSecretKey)((0,me.decode)(R.k))}case"RSA":{const pe=new Ee.default;const Ae=R.d!==undefined;const me=he.Buffer.from(R.n,"base64");const ye=he.Buffer.from(R.e,"base64");if(Ae){pe.zero();pe.unsignedInteger(me);pe.unsignedInteger(ye);pe.unsignedInteger(he.Buffer.from(R.d,"base64"));pe.unsignedInteger(he.Buffer.from(R.p,"base64"));pe.unsignedInteger(he.Buffer.from(R.q,"base64"));pe.unsignedInteger(he.Buffer.from(R.dp,"base64"));pe.unsignedInteger(he.Buffer.from(R.dq,"base64"));pe.unsignedInteger(he.Buffer.from(R.qi,"base64"))}else{pe.unsignedInteger(me);pe.unsignedInteger(ye)}const ve=pe.end();const Ce={key:ve,format:"der",type:"pkcs1"};const we=Ae?(0,ge.createPrivateKey)(Ce):(0,ge.createPublicKey)(Ce);(0,be.setModulusLength)(we,me.length<<3);return we}case"EC":{const pe=new Ee.default;const Ae=R.d!==undefined;const me=he.Buffer.concat([he.Buffer.alloc(1,4),he.Buffer.from(R.x,"base64"),he.Buffer.from(R.y,"base64")]);if(Ae){pe.zero();const Ae=new Ee.default;Ae.oidFor("ecPublicKey");Ae.oidFor(R.crv);pe.add(Ae.end());const ye=new Ee.default;ye.one();ye.octStr(he.Buffer.from(R.d,"base64"));const be=new Ee.default;be.bitStr(me);const Ce=be.end(he.Buffer.from([161]));ye.add(Ce);const we=ye.end();const Ie=new Ee.default;Ie.add(we);const _e=Ie.end(he.Buffer.from([4]));pe.add(_e);const Be=pe.end();const Se=(0,ge.createPrivateKey)({key:Be,format:"der",type:"pkcs8"});(0,ve.setCurve)(Se,R.crv);return Se}const ye=new Ee.default;ye.oidFor("ecPublicKey");ye.oidFor(R.crv);pe.add(ye.end());pe.bitStr(me);const be=pe.end();const Ce=(0,ge.createPublicKey)({key:be,format:"der",type:"spki"});(0,ve.setCurve)(Ce,R.crv);return Ce}case"OKP":{const pe=new Ee.default;const Ae=R.d!==undefined;if(Ae){pe.zero();const Ae=new Ee.default;Ae.oidFor(R.crv);pe.add(Ae.end());const me=new Ee.default;me.octStr(he.Buffer.from(R.d,"base64"));const ye=me.end(he.Buffer.from([4]));pe.add(ye);const ve=pe.end();return(0,ge.createPrivateKey)({key:ve,format:"der",type:"pkcs8"})}const me=new Ee.default;me.oidFor(R.crv);pe.add(me.end());pe.bitStr(he.Buffer.from(R.x,"base64"));const ye=pe.end();return(0,ge.createPublicKey)({key:ye,format:"der",type:"spki"})}default:throw new ye.JOSENotSupported('Invalid or unsupported JWK "kty" (Key Type) Parameter value')}};pe["default"]=parse},40997:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});const he=Ae(6113);const ge=Ae(80518);const me=Ae(77351);const ye=Ae(94419);const ve=Ae(99302);const be=Ae(86852);const Ee=Ae(62768);const Ce=Ae(1146);const we=Ae(17947);const Ie=Ae(39737);const keyToJWK=R=>{let pe;if((0,be.isCryptoKey)(R)){if(!R.extractable){throw new TypeError("CryptoKey is not extractable")}pe=he.KeyObject.from(R)}else if((0,Ee.default)(R)){pe=R}else if(R instanceof Uint8Array){return{kty:"oct",k:(0,ge.encode)(R)}}else{throw new TypeError((0,Ce.default)(R,...we.types,"Uint8Array"))}if(Ie.jwkExport){if(pe.type!=="secret"&&!["rsa","ec","ed25519","x25519","ed448","x448"].includes(pe.asymmetricKeyType)){throw new ye.JOSENotSupported("Unsupported key asymmetricKeyType")}return pe.export({format:"jwk"})}switch(pe.type){case"secret":return{kty:"oct",k:(0,ge.encode)(pe.export())};case"private":case"public":{switch(pe.asymmetricKeyType){case"rsa":{const R=pe.export({format:"der",type:"pkcs1"});const Ae=new me.default(R);if(pe.type==="private"){Ae.unsignedInteger()}const he=(0,ge.encode)(Ae.unsignedInteger());const ye=(0,ge.encode)(Ae.unsignedInteger());let ve;if(pe.type==="private"){ve={d:(0,ge.encode)(Ae.unsignedInteger()),p:(0,ge.encode)(Ae.unsignedInteger()),q:(0,ge.encode)(Ae.unsignedInteger()),dp:(0,ge.encode)(Ae.unsignedInteger()),dq:(0,ge.encode)(Ae.unsignedInteger()),qi:(0,ge.encode)(Ae.unsignedInteger())}}Ae.end();return{kty:"RSA",n:he,e:ye,...ve}}case"ec":{const R=(0,ve.default)(pe);let Ae;let me;let be;switch(R){case"secp256k1":Ae=64;me=31+2;be=-1;break;case"P-256":Ae=64;me=34+2;be=-1;break;case"P-384":Ae=96;me=33+2;be=-3;break;case"P-521":Ae=132;me=33+2;be=-3;break;default:throw new ye.JOSENotSupported("Unsupported curve")}if(pe.type==="public"){const he=pe.export({type:"spki",format:"der"});return{kty:"EC",crv:R,x:(0,ge.encode)(he.subarray(-Ae,-Ae/2)),y:(0,ge.encode)(he.subarray(-Ae/2))}}const Ee=pe.export({type:"pkcs8",format:"der"});if(Ee.length<100){me+=be}return{...keyToJWK((0,he.createPublicKey)(pe)),d:(0,ge.encode)(Ee.subarray(me,me+Ae/2))}}case"ed25519":case"x25519":{const R=(0,ve.default)(pe);if(pe.type==="public"){const Ae=pe.export({type:"spki",format:"der"});return{kty:"OKP",crv:R,x:(0,ge.encode)(Ae.subarray(-32))}}const Ae=pe.export({type:"pkcs8",format:"der"});return{...keyToJWK((0,he.createPublicKey)(pe)),d:(0,ge.encode)(Ae.subarray(-32))}}case"ed448":case"x448":{const R=(0,ve.default)(pe);if(pe.type==="public"){const Ae=pe.export({type:"spki",format:"der"});return{kty:"OKP",crv:R,x:(0,ge.encode)(Ae.subarray(R==="Ed448"?-57:-56))}}const Ae=pe.export({type:"pkcs8",format:"der"});return{...keyToJWK((0,he.createPublicKey)(pe)),d:(0,ge.encode)(Ae.subarray(R==="Ed448"?-57:-56))}}default:throw new ye.JOSENotSupported("Unsupported key asymmetricKeyType")}}default:throw new ye.JOSENotSupported("Unsupported key type")}};pe["default"]=keyToJWK},52413:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});const he=Ae(6113);const ge=Ae(99302);const me=Ae(94419);const ye=Ae(10122);const ve=Ae(39737);const be={padding:he.constants.RSA_PKCS1_PSS_PADDING,saltLength:he.constants.RSA_PSS_SALTLEN_DIGEST};const Ee=new Map([["ES256","P-256"],["ES256K","secp256k1"],["ES384","P-384"],["ES512","P-521"]]);function keyForCrypto(R,pe){switch(R){case"EdDSA":if(!["ed25519","ed448"].includes(pe.asymmetricKeyType)){throw new TypeError("Invalid key for this operation, its asymmetricKeyType must be ed25519 or ed448")}return pe;case"RS256":case"RS384":case"RS512":if(pe.asymmetricKeyType!=="rsa"){throw new TypeError("Invalid key for this operation, its asymmetricKeyType must be rsa")}(0,ye.default)(pe,R);return pe;case ve.rsaPssParams&&"PS256":case ve.rsaPssParams&&"PS384":case ve.rsaPssParams&&"PS512":if(pe.asymmetricKeyType==="rsa-pss"){const{hashAlgorithm:Ae,mgf1HashAlgorithm:he,saltLength:ge}=pe.asymmetricKeyDetails;const me=parseInt(R.slice(-3),10);if(Ae!==undefined&&(Ae!==`sha${me}`||he!==Ae)){throw new TypeError(`Invalid key for this operation, its RSA-PSS parameters do not meet the requirements of "alg" ${R}`)}if(ge!==undefined&&ge>me>>3){throw new TypeError(`Invalid key for this operation, its RSA-PSS parameter saltLength does not meet the requirements of "alg" ${R}`)}}else if(pe.asymmetricKeyType!=="rsa"){throw new TypeError("Invalid key for this operation, its asymmetricKeyType must be rsa or rsa-pss")}(0,ye.default)(pe,R);return{key:pe,...be};case!ve.rsaPssParams&&"PS256":case!ve.rsaPssParams&&"PS384":case!ve.rsaPssParams&&"PS512":if(pe.asymmetricKeyType!=="rsa"){throw new TypeError("Invalid key for this operation, its asymmetricKeyType must be rsa")}(0,ye.default)(pe,R);return{key:pe,...be};case"ES256":case"ES256K":case"ES384":case"ES512":{if(pe.asymmetricKeyType!=="ec"){throw new TypeError("Invalid key for this operation, its asymmetricKeyType must be ec")}const Ae=(0,ge.default)(pe);const he=Ee.get(R);if(Ae!==he){throw new TypeError(`Invalid key curve for the algorithm, its curve must be ${he}, got ${Ae}`)}return{dsaEncoding:"ieee-p1363",key:pe}}default:throw new me.JOSENotSupported(`alg ${R} is not supported either by JOSE or your javascript runtime`)}}pe["default"]=keyForCrypto},66898:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.decrypt=pe.encrypt=void 0;const he=Ae(73837);const ge=Ae(6113);const me=Ae(75770);const ye=Ae(1691);const ve=Ae(80518);const be=Ae(56083);const Ee=Ae(83499);const Ce=Ae(86852);const we=Ae(73386);const Ie=Ae(62768);const _e=Ae(1146);const Be=Ae(17947);const Se=(0,he.promisify)(ge.pbkdf2);function getPassword(R,pe){if((0,Ie.default)(R)){return R.export()}if(R instanceof Uint8Array){return R}if((0,Ce.isCryptoKey)(R)){(0,we.checkEncCryptoKey)(R,pe,"deriveBits","deriveKey");return ge.KeyObject.from(R).export()}throw new TypeError((0,_e.default)(R,...Be.types,"Uint8Array"))}const encrypt=async(R,pe,Ae,he=2048,ge=(0,me.default)(new Uint8Array(16)))=>{(0,Ee.default)(ge);const Ce=(0,ye.p2s)(R,ge);const we=parseInt(R.slice(13,16),10)>>3;const Ie=getPassword(pe,R);const _e=await Se(Ie,Ce,he,we,`sha${R.slice(8,11)}`);const Be=await(0,be.wrap)(R.slice(-6),_e,Ae);return{encryptedKey:Be,p2c:he,p2s:(0,ve.encode)(ge)}};pe.encrypt=encrypt;const decrypt=async(R,pe,Ae,he,ge)=>{(0,Ee.default)(ge);const me=(0,ye.p2s)(R,ge);const ve=parseInt(R.slice(13,16),10)>>3;const Ce=getPassword(pe,R);const we=await Se(Ce,me,he,ve,`sha${R.slice(8,11)}`);return(0,be.unwrap)(R.slice(-6),we,Ae)};pe.decrypt=decrypt},75770:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe["default"]=void 0;var he=Ae(6113);Object.defineProperty(pe,"default",{enumerable:true,get:function(){return he.randomFillSync}})},89526:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.decrypt=pe.encrypt=void 0;const he=Ae(6113);const ge=Ae(10122);const me=Ae(86852);const ye=Ae(73386);const ve=Ae(62768);const be=Ae(1146);const Ee=Ae(17947);const checkKey=(R,pe)=>{if(R.asymmetricKeyType!=="rsa"){throw new TypeError("Invalid key for this operation, its asymmetricKeyType must be rsa")}(0,ge.default)(R,pe)};const resolvePadding=R=>{switch(R){case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":return he.constants.RSA_PKCS1_OAEP_PADDING;case"RSA1_5":return he.constants.RSA_PKCS1_PADDING;default:return undefined}};const resolveOaepHash=R=>{switch(R){case"RSA-OAEP":return"sha1";case"RSA-OAEP-256":return"sha256";case"RSA-OAEP-384":return"sha384";case"RSA-OAEP-512":return"sha512";default:return undefined}};function ensureKeyObject(R,pe,...Ae){if((0,ve.default)(R)){return R}if((0,me.isCryptoKey)(R)){(0,ye.checkEncCryptoKey)(R,pe,...Ae);return he.KeyObject.from(R)}throw new TypeError((0,be.default)(R,...Ee.types))}const encrypt=(R,pe,Ae)=>{const ge=resolvePadding(R);const me=resolveOaepHash(R);const ye=ensureKeyObject(pe,R,"wrapKey","encrypt");checkKey(ye,R);return(0,he.publicEncrypt)({key:ye,oaepHash:me,padding:ge},Ae)};pe.encrypt=encrypt;const decrypt=(R,pe,Ae)=>{const ge=resolvePadding(R);const me=resolveOaepHash(R);const ye=ensureKeyObject(pe,R,"unwrapKey","decrypt");checkKey(ye,R);return(0,he.privateDecrypt)({key:ye,oaepHash:me,padding:ge},Ae)};pe.decrypt=decrypt},41622:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe["default"]="node:crypto"},69935:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});const he=Ae(6113);const ge=Ae(73837);const me=Ae(54965);const ye=Ae(13811);const ve=Ae(52413);const be=Ae(53170);let Ee;if(he.sign.length>3){Ee=(0,ge.promisify)(he.sign)}else{Ee=he.sign}const sign=async(R,pe,Ae)=>{const ge=(0,be.default)(R,pe,"sign");if(R.startsWith("HS")){const pe=he.createHmac((0,ye.default)(R),ge);pe.update(Ae);return pe.digest()}return Ee((0,me.default)(R),Ae,(0,ve.default)(R,ge))};pe["default"]=sign},45390:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});const he=Ae(6113);const ge=he.timingSafeEqual;pe["default"]=ge},3569:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});const he=Ae(6113);const ge=Ae(73837);const me=Ae(54965);const ye=Ae(52413);const ve=Ae(69935);const be=Ae(53170);const Ee=Ae(39737);let Ce;if(he.verify.length>4&&Ee.oneShotCallback){Ce=(0,ge.promisify)(he.verify)}else{Ce=he.verify}const verify=async(R,pe,Ae,ge)=>{const Ee=(0,be.default)(R,pe,"verify");if(R.startsWith("HS")){const pe=await(0,ve.default)(R,Ee,ge);const me=Ae;try{return he.timingSafeEqual(me,pe)}catch{return false}}const we=(0,me.default)(R);const Ie=(0,ye.default)(R,Ee);try{return await Ce(we,ge,Ie,Ae)}catch{return false}};pe["default"]=verify},86852:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.isCryptoKey=void 0;const he=Ae(6113);const ge=Ae(73837);const me=he.webcrypto;pe["default"]=me;pe.isCryptoKey=ge.types.isCryptoKey?R=>ge.types.isCryptoKey(R):R=>false},7022:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.deflate=pe.inflate=void 0;const he=Ae(73837);const ge=Ae(59796);const me=Ae(94419);const ye=(0,he.promisify)(ge.inflateRaw);const ve=(0,he.promisify)(ge.deflateRaw);const inflate=R=>ye(R,{maxOutputLength:25e4}).catch((()=>{throw new me.JWEDecompressionFailed}));pe.inflate=inflate;const deflate=R=>ve(R);pe.deflate=deflate},63238:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.decode=pe.encode=void 0;const he=Ae(80518);pe.encode=he.encode;pe.decode=he.decode},65611:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.decodeJwt=void 0;const he=Ae(63238);const ge=Ae(1691);const me=Ae(39127);const ye=Ae(94419);function decodeJwt(R){if(typeof R!=="string")throw new ye.JWTInvalid("JWTs must use Compact JWS serialization, JWT must be a string");const{1:pe,length:Ae}=R.split(".");if(Ae===5)throw new ye.JWTInvalid("Only JWTs using Compact JWS serialization can be decoded");if(Ae!==3)throw new ye.JWTInvalid("Invalid JWT");if(!pe)throw new ye.JWTInvalid("JWTs must contain a payload");let ve;try{ve=(0,he.decode)(pe)}catch{throw new ye.JWTInvalid("Failed to base64url decode the payload")}let be;try{be=JSON.parse(ge.decoder.decode(ve))}catch{throw new ye.JWTInvalid("Failed to parse the decoded payload as JSON")}if(!(0,me.default)(be))throw new ye.JWTInvalid("Invalid JWT Claims Set");return be}pe.decodeJwt=decodeJwt},33991:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.decodeProtectedHeader=void 0;const he=Ae(63238);const ge=Ae(1691);const me=Ae(39127);function decodeProtectedHeader(R){let pe;if(typeof R==="string"){const Ae=R.split(".");if(Ae.length===3||Ae.length===5){[pe]=Ae}}else if(typeof R==="object"&&R){if("protected"in R){pe=R.protected}else{throw new TypeError("Token does not contain a Protected Header")}}try{if(typeof pe!=="string"||!pe){throw new Error}const R=JSON.parse(ge.decoder.decode((0,he.decode)(pe)));if(!(0,me.default)(R)){throw new Error}return R}catch{throw new TypeError("Invalid Token or Protected Header formatting")}}pe.decodeProtectedHeader=decodeProtectedHeader},94419:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.JWSSignatureVerificationFailed=pe.JWKSTimeout=pe.JWKSMultipleMatchingKeys=pe.JWKSNoMatchingKey=pe.JWKSInvalid=pe.JWKInvalid=pe.JWTInvalid=pe.JWSInvalid=pe.JWEInvalid=pe.JWEDecompressionFailed=pe.JWEDecryptionFailed=pe.JOSENotSupported=pe.JOSEAlgNotAllowed=pe.JWTExpired=pe.JWTClaimValidationFailed=pe.JOSEError=void 0;class JOSEError extends Error{static get code(){return"ERR_JOSE_GENERIC"}constructor(R){var pe;super(R);this.code="ERR_JOSE_GENERIC";this.name=this.constructor.name;(pe=Error.captureStackTrace)===null||pe===void 0?void 0:pe.call(Error,this,this.constructor)}}pe.JOSEError=JOSEError;class JWTClaimValidationFailed extends JOSEError{static get code(){return"ERR_JWT_CLAIM_VALIDATION_FAILED"}constructor(R,pe="unspecified",Ae="unspecified"){super(R);this.code="ERR_JWT_CLAIM_VALIDATION_FAILED";this.claim=pe;this.reason=Ae}}pe.JWTClaimValidationFailed=JWTClaimValidationFailed;class JWTExpired extends JOSEError{static get code(){return"ERR_JWT_EXPIRED"}constructor(R,pe="unspecified",Ae="unspecified"){super(R);this.code="ERR_JWT_EXPIRED";this.claim=pe;this.reason=Ae}}pe.JWTExpired=JWTExpired;class JOSEAlgNotAllowed extends JOSEError{constructor(){super(...arguments);this.code="ERR_JOSE_ALG_NOT_ALLOWED"}static get code(){return"ERR_JOSE_ALG_NOT_ALLOWED"}}pe.JOSEAlgNotAllowed=JOSEAlgNotAllowed;class JOSENotSupported extends JOSEError{constructor(){super(...arguments);this.code="ERR_JOSE_NOT_SUPPORTED"}static get code(){return"ERR_JOSE_NOT_SUPPORTED"}}pe.JOSENotSupported=JOSENotSupported;class JWEDecryptionFailed extends JOSEError{constructor(){super(...arguments);this.code="ERR_JWE_DECRYPTION_FAILED";this.message="decryption operation failed"}static get code(){return"ERR_JWE_DECRYPTION_FAILED"}}pe.JWEDecryptionFailed=JWEDecryptionFailed;class JWEDecompressionFailed extends JOSEError{constructor(){super(...arguments);this.code="ERR_JWE_DECOMPRESSION_FAILED";this.message="decompression operation failed"}static get code(){return"ERR_JWE_DECOMPRESSION_FAILED"}}pe.JWEDecompressionFailed=JWEDecompressionFailed;class JWEInvalid extends JOSEError{constructor(){super(...arguments);this.code="ERR_JWE_INVALID"}static get code(){return"ERR_JWE_INVALID"}}pe.JWEInvalid=JWEInvalid;class JWSInvalid extends JOSEError{constructor(){super(...arguments);this.code="ERR_JWS_INVALID"}static get code(){return"ERR_JWS_INVALID"}}pe.JWSInvalid=JWSInvalid;class JWTInvalid extends JOSEError{constructor(){super(...arguments);this.code="ERR_JWT_INVALID"}static get code(){return"ERR_JWT_INVALID"}}pe.JWTInvalid=JWTInvalid;class JWKInvalid extends JOSEError{constructor(){super(...arguments);this.code="ERR_JWK_INVALID"}static get code(){return"ERR_JWK_INVALID"}}pe.JWKInvalid=JWKInvalid;class JWKSInvalid extends JOSEError{constructor(){super(...arguments);this.code="ERR_JWKS_INVALID"}static get code(){return"ERR_JWKS_INVALID"}}pe.JWKSInvalid=JWKSInvalid;class JWKSNoMatchingKey extends JOSEError{constructor(){super(...arguments);this.code="ERR_JWKS_NO_MATCHING_KEY";this.message="no applicable key found in the JSON Web Key Set"}static get code(){return"ERR_JWKS_NO_MATCHING_KEY"}}pe.JWKSNoMatchingKey=JWKSNoMatchingKey;class JWKSMultipleMatchingKeys extends JOSEError{constructor(){super(...arguments);this.code="ERR_JWKS_MULTIPLE_MATCHING_KEYS";this.message="multiple matching keys found in the JSON Web Key Set"}static get code(){return"ERR_JWKS_MULTIPLE_MATCHING_KEYS"}}pe.JWKSMultipleMatchingKeys=JWKSMultipleMatchingKeys;Symbol.asyncIterator;class JWKSTimeout extends JOSEError{constructor(){super(...arguments);this.code="ERR_JWKS_TIMEOUT";this.message="request timed out"}static get code(){return"ERR_JWKS_TIMEOUT"}}pe.JWKSTimeout=JWKSTimeout;class JWSSignatureVerificationFailed extends JOSEError{constructor(){super(...arguments);this.code="ERR_JWS_SIGNATURE_VERIFICATION_FAILED";this.message="signature verification failed"}static get code(){return"ERR_JWS_SIGNATURE_VERIFICATION_FAILED"}}pe.JWSSignatureVerificationFailed=JWSSignatureVerificationFailed},31173:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});const he=Ae(41622);pe["default"]=he.default},70756:(R,pe,Ae)=>{"use strict";const{isArray:he,isObject:ge,isString:me}=Ae(86891);const{asArray:ye}=Ae(69450);const{prependBase:ve}=Ae(40651);const be=Ae(11625);const Ee=Ae(7446);const Ce=10;R.exports=class ContextResolver{constructor({sharedCache:R}){this.perOpCache=new Map;this.sharedCache=R}async resolve({activeCtx:R,context:pe,documentLoader:Ae,base:ve,cycles:be=new Set}){if(pe&&ge(pe)&&pe["@context"]){pe=pe["@context"]}pe=ye(pe);const Ce=[];for(const ye of pe){if(me(ye)){let pe=this._get(ye);if(!pe){pe=await this._resolveRemoteContext({activeCtx:R,url:ye,documentLoader:Ae,base:ve,cycles:be})}if(he(pe)){Ce.push(...pe)}else{Ce.push(pe)}continue}if(ye===null){Ce.push(new Ee({document:null}));continue}if(!ge(ye)){_throwInvalidLocalContext(pe)}const we=JSON.stringify(ye);let Ie=this._get(we);if(!Ie){Ie=new Ee({document:ye});this._cacheResolvedContext({key:we,resolved:Ie,tag:"static"})}Ce.push(Ie)}return Ce}_get(R){let pe=this.perOpCache.get(R);if(!pe){const Ae=this.sharedCache.get(R);if(Ae){pe=Ae.get("static");if(pe){this.perOpCache.set(R,pe)}}}return pe}_cacheResolvedContext({key:R,resolved:pe,tag:Ae}){this.perOpCache.set(R,pe);if(Ae!==undefined){let he=this.sharedCache.get(R);if(!he){he=new Map;this.sharedCache.set(R,he)}he.set(Ae,pe)}return pe}async _resolveRemoteContext({activeCtx:R,url:pe,documentLoader:Ae,base:he,cycles:ge}){pe=ve(he,pe);const{context:me,remoteDoc:ye}=await this._fetchContext({activeCtx:R,url:pe,documentLoader:Ae,cycles:ge});he=ye.documentUrl||pe;_resolveContextUrls({context:me,base:he});const be=await this.resolve({activeCtx:R,context:me,documentLoader:Ae,base:he,cycles:ge});this._cacheResolvedContext({key:pe,resolved:be,tag:ye.tag});return be}async _fetchContext({activeCtx:R,url:pe,documentLoader:Ae,cycles:ye}){if(ye.size>Ce){throw new be("Maximum number of @context URLs exceeded.","jsonld.ContextUrlError",{code:R.processingMode==="json-ld-1.0"?"loading remote context failed":"context overflow",max:Ce})}if(ye.has(pe)){throw new be("Cyclical @context URLs detected.","jsonld.ContextUrlError",{code:R.processingMode==="json-ld-1.0"?"recursive context inclusion":"context overflow",url:pe})}ye.add(pe);let ve;let Ee;try{Ee=await Ae(pe);ve=Ee.document||null;if(me(ve)){ve=JSON.parse(ve)}}catch(R){throw new be("Dereferencing a URL did not result in a valid JSON-LD object. "+"Possible causes are an inaccessible URL perhaps due to "+"a same-origin policy (ensure the server uses CORS if you are "+"using client-side JavaScript), too many redirects, a "+"non-JSON response, or more than one HTTP Link Header was "+"provided for a remote context.","jsonld.InvalidUrl",{code:"loading remote context failed",url:pe,cause:R})}if(!ge(ve)){throw new be("Dereferencing a URL did not result in a JSON object. The "+"response was valid JSON, but it was not a JSON object.","jsonld.InvalidUrl",{code:"invalid remote context",url:pe})}if(!("@context"in ve)){ve={"@context":{}}}else{ve={"@context":ve["@context"]}}if(Ee.contextUrl){if(!he(ve["@context"])){ve["@context"]=[ve["@context"]]}ve["@context"].push(Ee.contextUrl)}return{context:ve,remoteDoc:Ee}}};function _throwInvalidLocalContext(R){throw new be("Invalid JSON-LD syntax; @context must be an object.","jsonld.SyntaxError",{code:"invalid local context",context:R})}function _resolveContextUrls({context:R,base:pe}){if(!R){return}const Ae=R["@context"];if(me(Ae)){R["@context"]=ve(pe,Ae);return}if(he(Ae)){for(let R=0;R{"use strict";R.exports=class JsonLdError extends Error{constructor(R="An unspecified JSON-LD error occurred.",pe="jsonld.Error",Ae={}){super(R);this.name=pe;this.message=R;this.details=Ae}}},21677:R=>{"use strict";R.exports=R=>{class JsonLdProcessor{toString(){return"[object JsonLdProcessor]"}}Object.defineProperty(JsonLdProcessor,"prototype",{writable:false,enumerable:false});Object.defineProperty(JsonLdProcessor.prototype,"constructor",{writable:true,enumerable:false,configurable:true,value:JsonLdProcessor});JsonLdProcessor.compact=function(pe,Ae){if(arguments.length<2){return Promise.reject(new TypeError("Could not compact, too few arguments."))}return R.compact(pe,Ae)};JsonLdProcessor.expand=function(pe){if(arguments.length<1){return Promise.reject(new TypeError("Could not expand, too few arguments."))}return R.expand(pe)};JsonLdProcessor.flatten=function(pe){if(arguments.length<1){return Promise.reject(new TypeError("Could not flatten, too few arguments."))}return R.flatten(pe)};return JsonLdProcessor}},13611:(R,pe,Ae)=>{"use strict";R.exports=Ae(43).NQuads},99241:R=>{"use strict";R.exports=class RequestQueue{constructor(){this._requests={}}wrapLoader(R){const pe=this;pe._loader=R;return function(){return pe.add.apply(pe,arguments)}}async add(R){let pe=this._requests[R];if(pe){return Promise.resolve(pe)}pe=this._requests[R]=this._loader(R);try{return await pe}finally{delete this._requests[R]}}}},7446:(R,pe,Ae)=>{"use strict";const he=Ae(51370);const ge=10;R.exports=class ResolvedContext{constructor({document:R}){this.document=R;this.cache=new he({max:ge})}getProcessed(R){return this.cache.get(R)}setProcessed(R,pe){this.cache.set(R,pe)}}},63073:(R,pe,Ae)=>{"use strict";const he=Ae(11625);const{isArray:ge,isObject:me,isString:ye,isUndefined:ve}=Ae(86891);const{isList:be,isValue:Ee,isGraph:Ce,isSimpleGraph:we,isSubjectReference:Ie}=Ae(13631);const{expandIri:_e,getContextValue:Be,isKeyword:Se,process:Qe,processingMode:xe}=Ae(41866);const{removeBase:De,prependBase:ke}=Ae(40651);const{REGEX_KEYWORD:Oe,addValue:Re,asArray:Pe,compareShortestLeast:Te}=Ae(69450);const Ne={};R.exports=Ne;Ne.compact=async({activeCtx:R,activeProperty:pe=null,element:Ae,options:_e={}})=>{if(ge(Ae)){let he=[];for(let ge=0;ge1){Me=Array.from(Me).sort()}const Fe=R;for(const pe of Me){const Ae=Ne.compactIri({activeCtx:Fe,iri:pe,relativeTo:{vocab:true}});const he=Be(Oe,Ae,"@context");if(!ve(he)){R=await Qe({activeCtx:R,localCtx:he,options:_e,propagate:false})}}const je=Object.keys(Ae).sort();for(const ve of je){const Ie=Ae[ve];if(ve==="@id"){let pe=Pe(Ie).map((pe=>Ne.compactIri({activeCtx:R,iri:pe,relativeTo:{vocab:false},base:_e.base})));if(pe.length===1){pe=pe[0]}const Ae=Ne.compactIri({activeCtx:R,iri:"@id",relativeTo:{vocab:true}});ke[Ae]=pe;continue}if(ve==="@type"){let pe=Pe(Ie).map((R=>Ne.compactIri({activeCtx:Oe,iri:R,relativeTo:{vocab:true}})));if(pe.length===1){pe=pe[0]}const Ae=Ne.compactIri({activeCtx:R,iri:"@type",relativeTo:{vocab:true}});const he=Be(R,Ae,"@container")||[];const me=he.includes("@set")&&xe(R,1.1);const ye=me||ge(pe)&&Ie.length===0;Re(ke,Ae,pe,{propertyIsArray:ye});continue}if(ve==="@reverse"){const pe=await Ne.compact({activeCtx:R,activeProperty:"@reverse",element:Ie,options:_e});for(const Ae in pe){if(R.mappings.has(Ae)&&R.mappings.get(Ae).reverse){const he=pe[Ae];const ge=Be(R,Ae,"@container")||[];const me=ge.includes("@set")||!_e.compactArrays;Re(ke,Ae,he,{propertyIsArray:me});delete pe[Ae]}}if(Object.keys(pe).length>0){const Ae=Ne.compactIri({activeCtx:R,iri:ve,relativeTo:{vocab:true}});Re(ke,Ae,pe)}continue}if(ve==="@preserve"){const Ae=await Ne.compact({activeCtx:R,activeProperty:pe,element:Ie,options:_e});if(!(ge(Ae)&&Ae.length===0)){Re(ke,ve,Ae)}continue}if(ve==="@index"){const Ae=Be(R,pe,"@container")||[];if(Ae.includes("@index")){continue}const he=Ne.compactIri({activeCtx:R,iri:ve,relativeTo:{vocab:true}});Re(ke,he,Ie);continue}if(ve!=="@graph"&&ve!=="@list"&&ve!=="@included"&&Se(ve)){const pe=Ne.compactIri({activeCtx:R,iri:ve,relativeTo:{vocab:true}});Re(ke,pe,Ie);continue}if(!ge(Ie)){throw new he("JSON-LD expansion error; expanded value must be an array.","jsonld.SyntaxError")}if(Ie.length===0){const pe=Ne.compactIri({activeCtx:R,iri:ve,value:Ie,relativeTo:{vocab:true},reverse:De});const Ae=R.mappings.has(pe)?R.mappings.get(pe)["@nest"]:null;let he=ke;if(Ae){_checkNestProperty(R,Ae,_e);if(!me(ke[Ae])){ke[Ae]={}}he=ke[Ae]}Re(he,pe,Ie,{propertyIsArray:true})}for(const pe of Ie){const Ae=Ne.compactIri({activeCtx:R,iri:ve,value:pe,relativeTo:{vocab:true},reverse:De});const he=R.mappings.has(Ae)?R.mappings.get(Ae)["@nest"]:null;let Ie=ke;if(he){_checkNestProperty(R,he,_e);if(!me(ke[he])){ke[he]={}}Ie=ke[he]}const Se=Be(R,Ae,"@container")||[];const Qe=Ce(pe);const xe=be(pe);let Oe;if(xe){Oe=pe["@list"]}else if(Qe){Oe=pe["@graph"]}let Te=await Ne.compact({activeCtx:R,activeProperty:Ae,element:xe||Qe?Oe:pe,options:_e});if(xe){if(!ge(Te)){Te=[Te]}if(!Se.includes("@list")){Te={[Ne.compactIri({activeCtx:R,iri:"@list",relativeTo:{vocab:true}})]:Te};if("@index"in pe){Te[Ne.compactIri({activeCtx:R,iri:"@index",relativeTo:{vocab:true}})]=pe["@index"]}}else{Re(Ie,Ae,Te,{valueIsArray:true,allowDuplicate:true});continue}}if(Qe){if(Se.includes("@graph")&&(Se.includes("@id")||Se.includes("@index")&&we(pe))){let he;if(Ie.hasOwnProperty(Ae)){he=Ie[Ae]}else{Ie[Ae]=he={}}const ge=(Se.includes("@id")?pe["@id"]:pe["@index"])||Ne.compactIri({activeCtx:R,iri:"@none",relativeTo:{vocab:true}});Re(he,ge,Te,{propertyIsArray:!_e.compactArrays||Se.includes("@set")})}else if(Se.includes("@graph")&&we(pe)){if(ge(Te)&&Te.length>1){Te={"@included":Te}}Re(Ie,Ae,Te,{propertyIsArray:!_e.compactArrays||Se.includes("@set")})}else{if(ge(Te)&&Te.length===1&&_e.compactArrays){Te=Te[0]}Te={[Ne.compactIri({activeCtx:R,iri:"@graph",relativeTo:{vocab:true}})]:Te};if("@id"in pe){Te[Ne.compactIri({activeCtx:R,iri:"@id",relativeTo:{vocab:true}})]=pe["@id"]}if("@index"in pe){Te[Ne.compactIri({activeCtx:R,iri:"@index",relativeTo:{vocab:true}})]=pe["@index"]}Re(Ie,Ae,Te,{propertyIsArray:!_e.compactArrays||Se.includes("@set")})}}else if(Se.includes("@language")||Se.includes("@index")||Se.includes("@id")||Se.includes("@type")){let he;if(Ie.hasOwnProperty(Ae)){he=Ie[Ae]}else{Ie[Ae]=he={}}let ge;if(Se.includes("@language")){if(Ee(Te)){Te=Te["@value"]}ge=pe["@language"]}else if(Se.includes("@index")){const he=Be(R,Ae,"@index")||"@index";const me=Ne.compactIri({activeCtx:R,iri:he,relativeTo:{vocab:true}});if(he==="@index"){ge=pe["@index"];delete Te[me]}else{let R;[ge,...R]=Pe(Te[he]||[]);if(!ye(ge)){ge=null}else{switch(R.length){case 0:delete Te[he];break;case 1:Te[he]=R[0];break;default:Te[he]=R;break}}}}else if(Se.includes("@id")){const pe=Ne.compactIri({activeCtx:R,iri:"@id",relativeTo:{vocab:true}});ge=Te[pe];delete Te[pe]}else if(Se.includes("@type")){const he=Ne.compactIri({activeCtx:R,iri:"@type",relativeTo:{vocab:true}});let me;[ge,...me]=Pe(Te[he]||[]);switch(me.length){case 0:delete Te[he];break;case 1:Te[he]=me[0];break;default:Te[he]=me;break}if(Object.keys(Te).length===1&&"@id"in pe){Te=await Ne.compact({activeCtx:R,activeProperty:Ae,element:{"@id":pe["@id"]},options:_e})}}if(!ge){ge=Ne.compactIri({activeCtx:R,iri:"@none",relativeTo:{vocab:true}})}Re(he,ge,Te,{propertyIsArray:Se.includes("@set")})}else{const R=!_e.compactArrays||Se.includes("@set")||Se.includes("@list")||ge(Te)&&Te.length===0||ve==="@list"||ve==="@graph";Re(Ie,Ae,Te,{propertyIsArray:R})}}}return ke}return Ae};Ne.compactIri=({activeCtx:R,iri:pe,value:Ae=null,relativeTo:ge={vocab:false},reverse:ye=false,base:ve=null})=>{if(pe===null){return pe}if(R.isPropertyTermScoped&&R.previousContext){R=R.previousContext}const we=R.getInverse();if(Se(pe)&&pe in we&&"@none"in we[pe]&&"@type"in we[pe]["@none"]&&"@none"in we[pe]["@none"]["@type"]){return we[pe]["@none"]["@type"]["@none"]}if(ge.vocab&&pe in we){const he=R["@language"]||"@none";const ge=[];if(me(Ae)&&"@index"in Ae&&!("@graph"in Ae)){ge.push("@index","@index@set")}if(me(Ae)&&"@preserve"in Ae){Ae=Ae["@preserve"][0]}if(Ce(Ae)){if("@index"in Ae){ge.push("@graph@index","@graph@index@set","@index","@index@set")}if("@id"in Ae){ge.push("@graph@id","@graph@id@set")}ge.push("@graph","@graph@set","@set");if(!("@index"in Ae)){ge.push("@graph@index","@graph@index@set","@index","@index@set")}if(!("@id"in Ae)){ge.push("@graph@id","@graph@id@set")}}else if(me(Ae)&&!Ee(Ae)){ge.push("@id","@id@set","@type","@set@type")}let ve="@language";let we="@null";if(ye){ve="@type";we="@reverse";ge.push("@set")}else if(be(Ae)){if(!("@index"in Ae)){ge.push("@list")}const R=Ae["@list"];if(R.length===0){ve="@any";we="@none"}else{let pe=R.length===0?he:null;let Ae=null;for(let he=0;he=0;--he){const ge=_e[he];const me=ge.terms;for(const he of me){const me=he+":"+pe.substr(ge.iri.length);const ye=R.mappings.get(he)._prefix&&(!R.mappings.has(me)||Ae===null&&R.mappings.get(me)["@id"]===pe);if(ye&&(Ie===null||Te(me,Ie)<0)){Ie=me}}}if(Ie!==null){return Ie}for(const[Ae,ge]of R.mappings){if(ge&&ge._prefix&&pe.startsWith(Ae+":")){throw new he(`Absolute IRI "${pe}" confused with prefix "${Ae}".`,"jsonld.SyntaxError",{code:"IRI confused with prefix",context:R})}}if(!ge.vocab){if("@base"in R){if(!R["@base"]){return pe}else{const Ae=De(ke(ve,R["@base"]),pe);return Oe.test(Ae)?`./${Ae}`:Ae}}else{return De(ve,pe)}}return pe};Ne.compactValue=({activeCtx:R,activeProperty:pe,value:Ae,options:he})=>{if(Ee(Ae)){const he=Be(R,pe,"@type");const ge=Be(R,pe,"@language");const me=Be(R,pe,"@direction");const ve=Be(R,pe,"@container")||[];const be="@index"in Ae&&!ve.includes("@index");if(!be&&he!=="@none"){if(Ae["@type"]===he){return Ae["@value"]}if("@language"in Ae&&Ae["@language"]===ge&&"@direction"in Ae&&Ae["@direction"]===me){return Ae["@value"]}if("@language"in Ae&&Ae["@language"]===ge){return Ae["@value"]}if("@direction"in Ae&&Ae["@direction"]===me){return Ae["@value"]}}const Ee=Object.keys(Ae).length;const Ce=Ee===1||Ee===2&&"@index"in Ae&&!be;const we="@language"in R;const Ie=ye(Ae["@value"]);const _e=R.mappings.has(pe)&&R.mappings.get(pe)["@language"]===null;if(Ce&&he!=="@none"&&(!we||!Ie||_e)){return Ae["@value"]}const Se={};if(be){Se[Ne.compactIri({activeCtx:R,iri:"@index",relativeTo:{vocab:true}})]=Ae["@index"]}if("@type"in Ae){Se[Ne.compactIri({activeCtx:R,iri:"@type",relativeTo:{vocab:true}})]=Ne.compactIri({activeCtx:R,iri:Ae["@type"],relativeTo:{vocab:true}})}else if("@language"in Ae){Se[Ne.compactIri({activeCtx:R,iri:"@language",relativeTo:{vocab:true}})]=Ae["@language"]}if("@direction"in Ae){Se[Ne.compactIri({activeCtx:R,iri:"@direction",relativeTo:{vocab:true}})]=Ae["@direction"]}Se[Ne.compactIri({activeCtx:R,iri:"@value",relativeTo:{vocab:true}})]=Ae["@value"];return Se}const ge=_e(R,pe,{vocab:true},he);const me=Be(R,pe,"@type");const ve=Ne.compactIri({activeCtx:R,iri:Ae["@id"],relativeTo:{vocab:me==="@vocab"},base:he.base});if(me==="@id"||me==="@vocab"||ge==="@graph"){return ve}return{[Ne.compactIri({activeCtx:R,iri:"@id",relativeTo:{vocab:true}})]:ve}};function _selectTerm(R,pe,Ae,he,ge,ye){if(ye===null){ye="@null"}const ve=[];if((ye==="@id"||ye==="@reverse")&&me(Ae)&&"@id"in Ae){if(ye==="@reverse"){ve.push("@reverse")}const pe=Ne.compactIri({activeCtx:R,iri:Ae["@id"],relativeTo:{vocab:true}});if(R.mappings.has(pe)&&R.mappings.get(pe)&&R.mappings.get(pe)["@id"]===Ae["@id"]){ve.push.apply(ve,["@vocab","@id"])}else{ve.push.apply(ve,["@id","@vocab"])}}else{ve.push(ye);const R=ve.find((R=>R.includes("_")));if(R){ve.push(R.replace(/^[^_]+_/,"_"))}}ve.push("@none");const be=R.inverse[pe];for(const R of he){if(!(R in be)){continue}const pe=be[R][ge];for(const R of ve){if(!(R in pe)){continue}return pe[R]}}return null}function _checkNestProperty(R,pe,Ae){if(_e(R,pe,{vocab:true},Ae)!=="@nest"){throw new he("JSON-LD compact error; nested property must have an @nest value "+"resolving to @nest.","jsonld.SyntaxError",{code:"invalid @nest value"})}}},18441:R=>{"use strict";const pe="http://www.w3.org/1999/02/22-rdf-syntax-ns#";const Ae="http://www.w3.org/2001/XMLSchema#";R.exports={LINK_HEADER_REL:"http://www.w3.org/ns/json-ld#context",LINK_HEADER_CONTEXT:"http://www.w3.org/ns/json-ld#context",RDF:pe,RDF_LIST:pe+"List",RDF_FIRST:pe+"first",RDF_REST:pe+"rest",RDF_NIL:pe+"nil",RDF_TYPE:pe+"type",RDF_PLAIN_LITERAL:pe+"PlainLiteral",RDF_XML_LITERAL:pe+"XMLLiteral",RDF_JSON_LITERAL:pe+"JSON",RDF_OBJECT:pe+"object",RDF_LANGSTRING:pe+"langString",XSD:Ae,XSD_BOOLEAN:Ae+"boolean",XSD_DOUBLE:Ae+"double",XSD_INTEGER:Ae+"integer",XSD_STRING:Ae+"string"}},41866:(R,pe,Ae)=>{"use strict";const he=Ae(69450);const ge=Ae(11625);const{isArray:me,isObject:ye,isString:ve,isUndefined:be}=Ae(86891);const{isAbsolute:Ee,isRelative:Ce,prependBase:we}=Ae(40651);const{handleEvent:Ie}=Ae(75836);const{REGEX_BCP47:_e,REGEX_KEYWORD:Be,asArray:Se,compareShortestLeast:Qe}=Ae(69450);const xe=new Map;const De=1e4;const ke={};R.exports=ke;ke.process=async({activeCtx:R,localCtx:pe,options:Ae,propagate:he=true,overrideProtected:be=false,cycles:Be=new Set})=>{if(ye(pe)&&"@context"in pe&&me(pe["@context"])){pe=pe["@context"]}const Qe=Se(pe);if(Qe.length===0){return R}const xe=[];const De=[({event:R,next:pe})=>{xe.push(R);pe()}];if(Ae.eventHandler){De.push(Ae.eventHandler)}const Oe=Ae;Ae={...Ae,eventHandler:De};const Re=await Ae.contextResolver.resolve({activeCtx:R,context:pe,documentLoader:Ae.documentLoader,base:Ae.base});if(ye(Re[0].document)&&typeof Re[0].document["@propagate"]==="boolean"){he=Re[0].document["@propagate"]}let Pe=R;if(!he&&!Pe.previousContext){Pe=Pe.clone();Pe.previousContext=R}for(const he of Re){let{document:me}=he;R=Pe;if(me===null){if(!be&&Object.keys(R.protected).length!==0){throw new ge("Tried to nullify a context with protected terms outside of "+"a term definition.","jsonld.SyntaxError",{code:"invalid context nullification"})}Pe=R=ke.getInitialContext(Ae).clone();continue}const Se=he.getProcessed(R);if(Se){if(Oe.eventHandler){for(const R of Se.events){Ie({event:R,options:Oe})}}Pe=R=Se.context;continue}if(ye(me)&&"@context"in me){me=me["@context"]}if(!ye(me)){throw new ge("Invalid JSON-LD syntax; @context must be an object.","jsonld.SyntaxError",{code:"invalid local context",context:me})}Pe=Pe.clone();const Qe=new Map;if("@version"in me){if(me["@version"]!==1.1){throw new ge("Unsupported JSON-LD version: "+me["@version"],"jsonld.UnsupportedVersion",{code:"invalid @version value",context:me})}if(R.processingMode&&R.processingMode==="json-ld-1.0"){throw new ge("@version: "+me["@version"]+" not compatible with "+R.processingMode,"jsonld.ProcessingModeConflict",{code:"processing mode conflict",context:me})}Pe.processingMode="json-ld-1.1";Pe["@version"]=me["@version"];Qe.set("@version",true)}Pe.processingMode=Pe.processingMode||R.processingMode;if("@base"in me){let R=me["@base"];if(R===null||Ee(R)){}else if(Ce(R)){R=we(Pe["@base"],R)}else{throw new ge('Invalid JSON-LD syntax; the value of "@base" in a '+"@context must be an absolute IRI, a relative IRI, or null.","jsonld.SyntaxError",{code:"invalid base IRI",context:me})}Pe["@base"]=R;Qe.set("@base",true)}if("@vocab"in me){const R=me["@vocab"];if(R===null){delete Pe["@vocab"]}else if(!ve(R)){throw new ge('Invalid JSON-LD syntax; the value of "@vocab" in a '+"@context must be a string or null.","jsonld.SyntaxError",{code:"invalid vocab mapping",context:me})}else if(!Ee(R)&&ke.processingMode(Pe,1)){throw new ge('Invalid JSON-LD syntax; the value of "@vocab" in a '+"@context must be an absolute IRI.","jsonld.SyntaxError",{code:"invalid vocab mapping",context:me})}else{const pe=_expandIri(Pe,R,{vocab:true,base:true},undefined,undefined,Ae);if(!Ee(pe)){if(Ae.eventHandler){Ie({event:{type:["JsonLdEvent"],code:"relative @vocab reference",level:"warning",message:"Relative @vocab reference found.",details:{vocab:pe}},options:Ae})}}Pe["@vocab"]=pe}Qe.set("@vocab",true)}if("@language"in me){const R=me["@language"];if(R===null){delete Pe["@language"]}else if(!ve(R)){throw new ge('Invalid JSON-LD syntax; the value of "@language" in a '+"@context must be a string or null.","jsonld.SyntaxError",{code:"invalid default language",context:me})}else{if(!R.match(_e)){if(Ae.eventHandler){Ie({event:{type:["JsonLdEvent"],code:"invalid @language value",level:"warning",message:"@language value must be valid BCP47.",details:{language:R}},options:Ae})}}Pe["@language"]=R.toLowerCase()}Qe.set("@language",true)}if("@direction"in me){const pe=me["@direction"];if(R.processingMode==="json-ld-1.0"){throw new ge("Invalid JSON-LD syntax; @direction not compatible with "+R.processingMode,"jsonld.SyntaxError",{code:"invalid context member",context:me})}if(pe===null){delete Pe["@direction"]}else if(pe!=="ltr"&&pe!=="rtl"){throw new ge('Invalid JSON-LD syntax; the value of "@direction" in a '+'@context must be null, "ltr", or "rtl".',"jsonld.SyntaxError",{code:"invalid base direction",context:me})}else{Pe["@direction"]=pe}Qe.set("@direction",true)}if("@propagate"in me){const Ae=me["@propagate"];if(R.processingMode==="json-ld-1.0"){throw new ge("Invalid JSON-LD syntax; @propagate not compatible with "+R.processingMode,"jsonld.SyntaxError",{code:"invalid context entry",context:me})}if(typeof Ae!=="boolean"){throw new ge("Invalid JSON-LD syntax; @propagate value must be a boolean.","jsonld.SyntaxError",{code:"invalid @propagate value",context:pe})}Qe.set("@propagate",true)}if("@import"in me){const he=me["@import"];if(R.processingMode==="json-ld-1.0"){throw new ge("Invalid JSON-LD syntax; @import not compatible with "+R.processingMode,"jsonld.SyntaxError",{code:"invalid context entry",context:me})}if(!ve(he)){throw new ge("Invalid JSON-LD syntax; @import must be a string.","jsonld.SyntaxError",{code:"invalid @import value",context:pe})}const ye=await Ae.contextResolver.resolve({activeCtx:R,context:he,documentLoader:Ae.documentLoader,base:Ae.base});if(ye.length!==1){throw new ge("Invalid JSON-LD syntax; @import must reference a single context.","jsonld.SyntaxError",{code:"invalid remote context",context:pe})}const be=ye[0].getProcessed(R);if(be){me=be}else{const Ae=ye[0].document;if("@import"in Ae){throw new ge("Invalid JSON-LD syntax: "+"imported context must not include @import.","jsonld.SyntaxError",{code:"invalid context entry",context:pe})}for(const R in Ae){if(!me.hasOwnProperty(R)){me[R]=Ae[R]}}ye[0].setProcessed(R,me)}Qe.set("@import",true)}Qe.set("@protected",me["@protected"]||false);for(const R in me){ke.createTermDefinition({activeCtx:Pe,localCtx:me,term:R,defined:Qe,options:Ae,overrideProtected:be});if(ye(me[R])&&"@context"in me[R]){const pe=me[R]["@context"];let he=true;if(ve(pe)){const R=we(Ae.base,pe);if(Be.has(R)){he=false}else{Be.add(R)}}if(he){try{await ke.process({activeCtx:Pe.clone(),localCtx:me[R]["@context"],overrideProtected:true,options:Ae,cycles:Be})}catch(pe){throw new ge("Invalid JSON-LD syntax; invalid scoped context.","jsonld.SyntaxError",{code:"invalid scoped context",context:me[R]["@context"],term:R})}}}}he.setProcessed(R,{context:Pe,events:xe})}return Pe};ke.createTermDefinition=({activeCtx:R,localCtx:pe,term:Ae,defined:he,options:be,overrideProtected:Ce=false})=>{if(he.has(Ae)){if(he.get(Ae)){return}throw new ge("Cyclical context definition detected.","jsonld.CyclicalContext",{code:"cyclic IRI mapping",context:pe,term:Ae})}he.set(Ae,false);let we;if(pe.hasOwnProperty(Ae)){we=pe[Ae]}if(Ae==="@type"&&ye(we)&&(we["@container"]||"@set")==="@set"&&ke.processingMode(R,1.1)){const R=["@container","@id","@protected"];const he=Object.keys(we);if(he.length===0||he.some((pe=>!R.includes(pe)))){throw new ge("Invalid JSON-LD syntax; keywords cannot be overridden.","jsonld.SyntaxError",{code:"keyword redefinition",context:pe,term:Ae})}}else if(ke.isKeyword(Ae)){throw new ge("Invalid JSON-LD syntax; keywords cannot be overridden.","jsonld.SyntaxError",{code:"keyword redefinition",context:pe,term:Ae})}else if(Ae.match(Be)){if(be.eventHandler){Ie({event:{type:["JsonLdEvent"],code:"reserved term",level:"warning",message:'Terms beginning with "@" are '+"reserved for future use and dropped.",details:{term:Ae}},options:be})}return}else if(Ae===""){throw new ge("Invalid JSON-LD syntax; a term cannot be an empty string.","jsonld.SyntaxError",{code:"invalid term definition",context:pe})}const _e=R.mappings.get(Ae);if(R.mappings.has(Ae)){R.mappings.delete(Ae)}let Se=false;if(ve(we)||we===null){Se=true;we={"@id":we}}if(!ye(we)){throw new ge("Invalid JSON-LD syntax; @context term values must be "+"strings or objects.","jsonld.SyntaxError",{code:"invalid term definition",context:pe})}const Qe={};R.mappings.set(Ae,Qe);Qe.reverse=false;const xe=["@container","@id","@language","@reverse","@type"];if(ke.processingMode(R,1.1)){xe.push("@context","@direction","@index","@nest","@prefix","@protected")}for(const R in we){if(!xe.includes(R)){throw new ge("Invalid JSON-LD syntax; a term definition must not contain "+R,"jsonld.SyntaxError",{code:"invalid term definition",context:pe})}}const De=Ae.indexOf(":");Qe._termHasColon=De>0;if("@reverse"in we){if("@id"in we){throw new ge("Invalid JSON-LD syntax; a @reverse term definition must not "+"contain @id.","jsonld.SyntaxError",{code:"invalid reverse property",context:pe})}if("@nest"in we){throw new ge("Invalid JSON-LD syntax; a @reverse term definition must not "+"contain @nest.","jsonld.SyntaxError",{code:"invalid reverse property",context:pe})}const me=we["@reverse"];if(!ve(me)){throw new ge("Invalid JSON-LD syntax; a @context @reverse value must be a string.","jsonld.SyntaxError",{code:"invalid IRI mapping",context:pe})}if(me.match(Be)){if(be.eventHandler){Ie({event:{type:["JsonLdEvent"],code:"reserved @reverse value",level:"warning",message:'@reverse values beginning with "@" are '+"reserved for future use and dropped.",details:{reverse:me}},options:be})}if(_e){R.mappings.set(Ae,_e)}else{R.mappings.delete(Ae)}return}const ye=_expandIri(R,me,{vocab:true,base:false},pe,he,be);if(!Ee(ye)){throw new ge("Invalid JSON-LD syntax; a @context @reverse value must be an "+"absolute IRI or a blank node identifier.","jsonld.SyntaxError",{code:"invalid IRI mapping",context:pe})}Qe["@id"]=ye;Qe.reverse=true}else if("@id"in we){let me=we["@id"];if(me&&!ve(me)){throw new ge("Invalid JSON-LD syntax; a @context @id value must be an array "+"of strings or a string.","jsonld.SyntaxError",{code:"invalid IRI mapping",context:pe})}if(me===null){Qe["@id"]=null}else if(!ke.isKeyword(me)&&me.match(Be)){if(be.eventHandler){Ie({event:{type:["JsonLdEvent"],code:"reserved @id value",level:"warning",message:'@id values beginning with "@" are '+"reserved for future use and dropped.",details:{id:me}},options:be})}if(_e){R.mappings.set(Ae,_e)}else{R.mappings.delete(Ae)}return}else if(me!==Ae){me=_expandIri(R,me,{vocab:true,base:false},pe,he,be);if(!Ee(me)&&!ke.isKeyword(me)){throw new ge("Invalid JSON-LD syntax; a @context @id value must be an "+"absolute IRI, a blank node identifier, or a keyword.","jsonld.SyntaxError",{code:"invalid IRI mapping",context:pe})}if(Ae.match(/(?::[^:])|\//)){const ye=new Map(he).set(Ae,true);const ve=_expandIri(R,Ae,{vocab:true,base:false},pe,ye,be);if(ve!==me){throw new ge("Invalid JSON-LD syntax; term in form of IRI must "+"expand to definition.","jsonld.SyntaxError",{code:"invalid IRI mapping",context:pe})}}Qe["@id"]=me;Qe._prefix=Se&&!Qe._termHasColon&&me.match(/[:\/\?#\[\]@]$/)!==null}}if(!("@id"in Qe)){if(Qe._termHasColon){const ge=Ae.substr(0,De);if(pe.hasOwnProperty(ge)){ke.createTermDefinition({activeCtx:R,localCtx:pe,term:ge,defined:he,options:be})}if(R.mappings.has(ge)){const pe=Ae.substr(De+1);Qe["@id"]=R.mappings.get(ge)["@id"]+pe}else{Qe["@id"]=Ae}}else if(Ae==="@type"){Qe["@id"]=Ae}else{if(!("@vocab"in R)){throw new ge("Invalid JSON-LD syntax; @context terms must define an @id.","jsonld.SyntaxError",{code:"invalid IRI mapping",context:pe,term:Ae})}Qe["@id"]=R["@vocab"]+Ae}}if(we["@protected"]===true||he.get("@protected")===true&&we["@protected"]!==false){R.protected[Ae]=true;Qe.protected=true}he.set(Ae,true);if("@type"in we){let Ae=we["@type"];if(!ve(Ae)){throw new ge("Invalid JSON-LD syntax; an @context @type value must be a string.","jsonld.SyntaxError",{code:"invalid type mapping",context:pe})}if(Ae==="@json"||Ae==="@none"){if(ke.processingMode(R,1)){throw new ge("Invalid JSON-LD syntax; an @context @type value must not be "+`"${Ae}" in JSON-LD 1.0 mode.`,"jsonld.SyntaxError",{code:"invalid type mapping",context:pe})}}else if(Ae!=="@id"&&Ae!=="@vocab"){Ae=_expandIri(R,Ae,{vocab:true,base:false},pe,he,be);if(!Ee(Ae)){throw new ge("Invalid JSON-LD syntax; an @context @type value must be an "+"absolute IRI.","jsonld.SyntaxError",{code:"invalid type mapping",context:pe})}if(Ae.indexOf("_:")===0){throw new ge("Invalid JSON-LD syntax; an @context @type value must be an IRI, "+"not a blank node identifier.","jsonld.SyntaxError",{code:"invalid type mapping",context:pe})}}Qe["@type"]=Ae}if("@container"in we){const Ae=ve(we["@container"])?[we["@container"]]:we["@container"]||[];const he=["@list","@set","@index","@language"];let ye=true;const be=Ae.includes("@set");if(ke.processingMode(R,1.1)){he.push("@graph","@id","@type");if(Ae.includes("@list")){if(Ae.length!==1){throw new ge("Invalid JSON-LD syntax; @context @container with @list must "+"have no other values","jsonld.SyntaxError",{code:"invalid container mapping",context:pe})}}else if(Ae.includes("@graph")){if(Ae.some((R=>R!=="@graph"&&R!=="@id"&&R!=="@index"&&R!=="@set"))){throw new ge("Invalid JSON-LD syntax; @context @container with @graph must "+"have no other values other than @id, @index, and @set","jsonld.SyntaxError",{code:"invalid container mapping",context:pe})}}else{ye&=Ae.length<=(be?2:1)}if(Ae.includes("@type")){Qe["@type"]=Qe["@type"]||"@id";if(!["@id","@vocab"].includes(Qe["@type"])){throw new ge("Invalid JSON-LD syntax; container: @type requires @type to be "+"@id or @vocab.","jsonld.SyntaxError",{code:"invalid type mapping",context:pe})}}}else{ye&=!me(we["@container"]);ye&=Ae.length<=1}ye&=Ae.every((R=>he.includes(R)));ye&=!(be&&Ae.includes("@list"));if(!ye){throw new ge("Invalid JSON-LD syntax; @context @container value must be "+"one of the following: "+he.join(", "),"jsonld.SyntaxError",{code:"invalid container mapping",context:pe})}if(Qe.reverse&&!Ae.every((R=>["@index","@set"].includes(R)))){throw new ge("Invalid JSON-LD syntax; @context @container value for a @reverse "+"type definition must be @index or @set.","jsonld.SyntaxError",{code:"invalid reverse property",context:pe})}Qe["@container"]=Ae}if("@index"in we){if(!("@container"in we)||!Qe["@container"].includes("@index")){throw new ge("Invalid JSON-LD syntax; @index without @index in @container: "+`"${we["@index"]}" on term "${Ae}".`,"jsonld.SyntaxError",{code:"invalid term definition",context:pe})}if(!ve(we["@index"])||we["@index"].indexOf("@")===0){throw new ge("Invalid JSON-LD syntax; @index must expand to an IRI: "+`"${we["@index"]}" on term "${Ae}".`,"jsonld.SyntaxError",{code:"invalid term definition",context:pe})}Qe["@index"]=we["@index"]}if("@context"in we){Qe["@context"]=we["@context"]}if("@language"in we&&!("@type"in we)){let R=we["@language"];if(R!==null&&!ve(R)){throw new ge("Invalid JSON-LD syntax; @context @language value must be "+"a string or null.","jsonld.SyntaxError",{code:"invalid language mapping",context:pe})}if(R!==null){R=R.toLowerCase()}Qe["@language"]=R}if("@prefix"in we){if(Ae.match(/:|\//)){throw new ge("Invalid JSON-LD syntax; @context @prefix used on a compact IRI term","jsonld.SyntaxError",{code:"invalid term definition",context:pe})}if(ke.isKeyword(Qe["@id"])){throw new ge("Invalid JSON-LD syntax; keywords may not be used as prefixes","jsonld.SyntaxError",{code:"invalid term definition",context:pe})}if(typeof we["@prefix"]==="boolean"){Qe._prefix=we["@prefix"]===true}else{throw new ge("Invalid JSON-LD syntax; @context value for @prefix must be boolean","jsonld.SyntaxError",{code:"invalid @prefix value",context:pe})}}if("@direction"in we){const R=we["@direction"];if(R!==null&&R!=="ltr"&&R!=="rtl"){throw new ge("Invalid JSON-LD syntax; @direction value must be "+'null, "ltr", or "rtl".',"jsonld.SyntaxError",{code:"invalid base direction",context:pe})}Qe["@direction"]=R}if("@nest"in we){const R=we["@nest"];if(!ve(R)||R!=="@nest"&&R.indexOf("@")===0){throw new ge("Invalid JSON-LD syntax; @context @nest value must be "+"a string which is not a keyword other than @nest.","jsonld.SyntaxError",{code:"invalid @nest value",context:pe})}Qe["@nest"]=R} // disallow aliasing @context and @preserve -const Ee=ve["@id"];if(Ee==="@context"||Ee==="@preserve"){throw new ae("Invalid JSON-LD syntax; @context and @preserve cannot be aliased.","jsonld.SyntaxError",{code:"invalid keyword alias",context:ie})}if(ge&&ge.protected&&!pe){re.protected[oe]=true;ve.protected=true;if(!_deepCompare(ge,ve)){throw new ae("Invalid JSON-LD syntax; tried to redefine a protected term.","jsonld.SyntaxError",{code:"protected term redefinition",context:ie,term:oe})}}};_e.expandIri=(re,ie,oe,se)=>_expandIri(re,ie,oe,undefined,undefined,se);function _expandIri(re,ie,oe,se,ae,ce){if(ie===null||!le(ie)||_e.isKeyword(ie)){return ie}if(ie.match(me)){return null}if(se&&se.hasOwnProperty(ie)&&ae.get(ie)!==true){_e.createTermDefinition({activeCtx:re,localCtx:se,term:ie,defined:ae,options:ce})}oe=oe||{};if(oe.vocab){const oe=re.mappings.get(ie);if(oe===null){return null}if(ue(oe)&&"@id"in oe){return oe["@id"]}}const fe=ie.indexOf(":");if(fe>0){const oe=ie.substr(0,fe);const ue=ie.substr(fe+1);if(oe==="_"||ue.indexOf("//")===0){return ie}if(se&&se.hasOwnProperty(oe)){_e.createTermDefinition({activeCtx:re,localCtx:se,term:oe,defined:ae,options:ce})}const le=re.mappings.get(oe);if(le&&le._prefix){return le["@id"]+ue}if(de(ie)){return ie}}if(oe.vocab&&"@vocab"in re){const oe=re["@vocab"]+ie;ie=oe}else if(oe.base){let oe;let se;if("@base"in re){if(re["@base"]){se=he(ce.base,re["@base"]);oe=he(se,ie)}else{se=re["@base"];oe=ie}}else{se=ce.base;oe=he(ce.base,ie)}ie=oe}return ie}_e.getInitialContext=re=>{const ie=JSON.stringify({processingMode:re.processingMode});const oe=be.get(ie);if(oe){return oe}const ae={processingMode:re.processingMode,mappings:new Map,inverse:null,getInverse:_createInverseContext,clone:_cloneActiveContext,revertToPreviousContext:_revertToPreviousContext,protected:{}};if(be.size===we){be.clear()}be.set(ie,ae);return ae;function _createInverseContext(){const re=this;if(re.inverse){return re.inverse}const ie=re.inverse={};const oe=re.fastCurieMap={};const se={};const ae=(re["@language"]||"@none").toLowerCase();const ce=re["@direction"];const ue=re.mappings;const le=[...ue.keys()].sort(ve);for(const re of le){const le=ue.get(re);if(le===null){continue}let fe=le["@container"]||"@none";fe=[].concat(fe).sort().join("");if(le["@id"]===null){continue}const de=ye(le["@id"]);for(const ue of de){let de=ie[ue];const pe=_e.isKeyword(ue);if(!de){ie[ue]=de={};if(!pe&&!le._termHasColon){se[ue]=[re];const ie={iri:ue,terms:se[ue]};if(ue[0]in oe){oe[ue[0]].push(ie)}else{oe[ue[0]]=[ie]}}}else if(!pe&&!le._termHasColon){se[ue].push(re)}if(!de[fe]){de[fe]={"@language":{},"@type":{},"@any":{}}}de=de[fe];_addPreferredTerm(re,de["@any"],"@none");if(le.reverse){_addPreferredTerm(re,de["@type"],"@reverse")}else if(le["@type"]==="@none"){_addPreferredTerm(re,de["@any"],"@none");_addPreferredTerm(re,de["@language"],"@none");_addPreferredTerm(re,de["@type"],"@none")}else if("@type"in le){_addPreferredTerm(re,de["@type"],le["@type"])}else if("@language"in le&&"@direction"in le){const ie=le["@language"];const oe=le["@direction"];if(ie&&oe){_addPreferredTerm(re,de["@language"],`${ie}_${oe}`.toLowerCase())}else if(ie){_addPreferredTerm(re,de["@language"],ie.toLowerCase())}else if(oe){_addPreferredTerm(re,de["@language"],`_${oe}`)}else{_addPreferredTerm(re,de["@language"],"@null")}}else if("@language"in le){_addPreferredTerm(re,de["@language"],(le["@language"]||"@null").toLowerCase())}else if("@direction"in le){if(le["@direction"]){_addPreferredTerm(re,de["@language"],`_${le["@direction"]}`)}else{_addPreferredTerm(re,de["@language"],"@none")}}else if(ce){_addPreferredTerm(re,de["@language"],`_${ce}`);_addPreferredTerm(re,de["@language"],"@none");_addPreferredTerm(re,de["@type"],"@none")}else{_addPreferredTerm(re,de["@language"],ae);_addPreferredTerm(re,de["@language"],"@none");_addPreferredTerm(re,de["@type"],"@none")}}}for(const re in oe){_buildIriMap(oe,re,1)}return ie}function _buildIriMap(re,ie,oe){const se=re[ie];const ae=re[ie]={};let ce;let ue;for(const re of se){ce=re.iri;if(oe>=ce.length){ue=""}else{ue=ce[oe]}if(ue in ae){ae[ue].push(re)}else{ae[ue]=[re]}}for(const re in ae){if(re===""){continue}_buildIriMap(ae,re,oe+1)}}function _addPreferredTerm(re,ie,oe){if(!ie.hasOwnProperty(oe)){ie[oe]=re}}function _cloneActiveContext(){const re={};re.mappings=se.clone(this.mappings);re.clone=this.clone;re.inverse=null;re.getInverse=this.getInverse;re.protected=se.clone(this.protected);if(this.previousContext){re.previousContext=this.previousContext.clone()}re.revertToPreviousContext=this.revertToPreviousContext;if("@base"in this){re["@base"]=this["@base"]}if("@language"in this){re["@language"]=this["@language"]}if("@vocab"in this){re["@vocab"]=this["@vocab"]}return re}function _revertToPreviousContext(){if(!this.previousContext){return this}return this.previousContext.clone()}};_e.getContextValue=(re,ie,oe)=>{if(ie===null){if(oe==="@context"){return undefined}return null}if(re.mappings.has(ie)){const se=re.mappings.get(ie);if(fe(oe)){return se}if(se.hasOwnProperty(oe)){return se[oe]}}if(oe==="@language"&&oe in re){return re[oe]}if(oe==="@direction"&&oe in re){return re[oe]}if(oe==="@context"){return undefined}return null};_e.processingMode=(re,ie)=>{if(ie.toString()>="1.1"){return!re.processingMode||re.processingMode>="json-ld-"+ie.toString()}else{return re.processingMode==="json-ld-1.0"}};_e.isKeyword=re=>{if(!le(re)||re[0]!=="@"){return false}switch(re){case"@base":case"@container":case"@context":case"@default":case"@direction":case"@embed":case"@explicit":case"@graph":case"@id":case"@included":case"@index":case"@json":case"@language":case"@list":case"@nest":case"@none":case"@omitDefault":case"@prefix":case"@preserve":case"@protected":case"@requireAll":case"@reverse":case"@set":case"@type":case"@value":case"@version":case"@vocab":return true}return false};function _deepCompare(re,ie){if(!(re&&typeof re==="object")||!(ie&&typeof ie==="object")){return re===ie}const oe=Array.isArray(re);if(oe!==Array.isArray(ie)){return false}if(oe){if(re.length!==ie.length){return false}for(let oe=0;oe{"use strict";const se=oe(95687);const{parseLinkHeader:ae,buildHeaders:ce}=oe(69450);const{LINK_HEADER_CONTEXT:ue}=oe(18441);const le=oe(11625);const fe=oe(99241);const{prependBase:de}=oe(40651);const{httpClient:pe}=oe(10698);re.exports=({secure:re,strictSSL:ie=true,maxRedirects:se=-1,headers:pe={},httpAgent:he,httpsAgent:Ae}={strictSSL:true,maxRedirects:-1,headers:{}})=>{pe=ce(pe);if(!("user-agent"in pe)){pe=Object.assign({},pe,{"user-agent":"jsonld.js"})}const ge=oe(13685);const me=new fe;return me.wrapLoader((function(re){return loadDocument(re,[])}));async function loadDocument(oe,ce){const fe=oe.startsWith("http:");const me=oe.startsWith("https:");if(!fe&&!me){throw new le('URL could not be dereferenced; only "http" and "https" URLs are '+"supported.","jsonld.InvalidUrl",{code:"loading document failed",url:oe})}if(re&&!me){throw new le("URL could not be dereferenced; secure mode is enabled and "+'the URL\'s scheme is not "https".',"jsonld.InvalidUrl",{code:"loading document failed",url:oe})}let ye=null;if(ye!==null){return ye}let ve=null;const{res:be,body:we}=await _fetch({url:oe,headers:pe,strictSSL:ie,httpAgent:he,httpsAgent:Ae});ye={contextUrl:null,documentUrl:oe,document:we||null};const _e=ge.STATUS_CODES[be.status];if(be.status>=400){throw new le(`URL "${oe}" could not be dereferenced: ${_e}`,"jsonld.InvalidUrl",{code:"loading document failed",url:oe,httpStatusCode:be.status})}const Ee=be.headers.get("link");let Ce=be.headers.get("location");const Ie=be.headers.get("content-type");if(Ee&&Ie!=="application/ld+json"){const re=ae(Ee);const ie=re[ue];if(Array.isArray(ie)){throw new le("URL could not be dereferenced, it has more than one associated "+"HTTP Link Header.","jsonld.InvalidUrl",{code:"multiple context link headers",url:oe})}if(ie){ye.contextUrl=ie.target}ve=re.alternate;if(ve&&ve.type=="application/ld+json"&&!(Ie||"").match(/^application\/(\w*\+)?json$/)){Ce=de(oe,ve.target)}}if((ve||be.status>=300&&be.status<400)&&Ce){if(ce.length===se){throw new le("URL could not be dereferenced; there were too many redirects.","jsonld.TooManyRedirects",{code:"loading document failed",url:oe,httpStatusCode:be.status,redirects:ce})}if(ce.indexOf(oe)!==-1){throw new le("URL could not be dereferenced; infinite redirection was detected.","jsonld.InfiniteRedirectDetected",{code:"recursive context inclusion",url:oe,httpStatusCode:be.status,redirects:ce})}ce.push(oe);const re=new URL(Ce,oe).href;return loadDocument(re,ce)}ce.push(oe);return ye}};async function _fetch({url:re,headers:ie,strictSSL:oe,httpAgent:ae,httpsAgent:ce}){try{const ue={headers:ie,redirect:"manual",throwHttpErrors:false};const le=re.startsWith("https:");if(le){ue.agent=ce||new se.Agent({rejectUnauthorized:oe})}else{if(ae){ue.agent=ae}}const fe=await pe.get(re,ue);return{res:fe,body:fe.data}}catch(ie){if(ie.response){return{res:ie.response,body:null}}throw new le("URL could not be dereferenced, an error occurred.","jsonld.LoadDocumentError",{code:"loading document failed",url:re,cause:ie})}}},75836:(re,ie,oe)=>{"use strict";const se=oe(11625);const{isArray:ae}=oe(86891);const{asArray:ce}=oe(69450);const ue={};re.exports=ue;ue.defaultEventHandler=null;ue.setupEventHandler=({options:re={}})=>{const ie=[].concat(re.safe?ue.safeEventHandler:[],re.eventHandler?ce(re.eventHandler):[],ue.defaultEventHandler?ue.defaultEventHandler:[]);return ie.length===0?null:ie};ue.handleEvent=({event:re,options:ie})=>{_handle({event:re,handlers:ie.eventHandler})};function _handle({event:re,handlers:ie}){let oe=true;for(let ce=0;oe&&ce{oe=true}})}else if(typeof ue==="object"){if(re.code in ue){ue[re.code]({event:re,next:()=>{oe=true}})}else{oe=true}}else{throw new se("Invalid event handler.","jsonld.InvalidEventHandler",{event:re})}}return oe}const le=new Set(["empty object","free-floating scalar","invalid @language value","invalid property","null @id value","null @value value","object with only @id","object with only @language","object with only @list","object with only @value","relative @id reference","relative @type reference","relative @vocab reference","reserved @id value","reserved @reverse value","reserved term","blank node predicate","relative graph reference","relative object reference","relative predicate reference","relative subject reference"]);ue.safeEventHandler=function safeEventHandler({event:re,next:ie}){if(re.level==="warning"&&le.has(re.code)){throw new se("Safe mode validation error.","jsonld.ValidationError",{event:re})}ie()};ue.logEventHandler=function logEventHandler({event:re,next:ie}){console.log(`EVENT: ${re.message}`,{event:re});ie()};ue.logWarningEventHandler=function logWarningEventHandler({event:re,next:ie}){if(re.level==="warning"){console.warn(`WARNING: ${re.message}`,{event:re})}ie()};ue.unhandledEventHandler=function unhandledEventHandler({event:re}){throw new se("No handler for event.","jsonld.UnhandledEvent",{event:re})};ue.setDefaultEventHandler=function({eventHandler:re}={}){ue.defaultEventHandler=re?ce(re):null}},99969:(re,ie,oe)=>{"use strict";const se=oe(11625);const{isArray:ae,isObject:ce,isEmptyObject:ue,isString:le,isUndefined:fe}=oe(86891);const{isList:de,isValue:pe,isGraph:he,isSubject:Ae}=oe(13631);const{expandIri:ge,getContextValue:me,isKeyword:ye,process:ve,processingMode:be}=oe(41866);const{isAbsolute:we}=oe(40651);const{REGEX_BCP47:_e,REGEX_KEYWORD:Ee,addValue:Ce,asArray:Ie,getValues:Se,validateTypeValue:Be}=oe(69450);const{handleEvent:xe}=oe(75836);const ke={};re.exports=ke;ke.expand=async({activeCtx:re,activeProperty:ie=null,element:oe,options:de={},insideList:pe=false,insideIndex:he=false,typeScopedContext:Ae=null})=>{if(oe===null||oe===undefined){return null}if(ie==="@default"){de=Object.assign({},de,{isFrame:false})}if(!ae(oe)&&!ce(oe)){if(!pe&&(ie===null||ge(re,ie,{vocab:true},de)==="@graph")){if(de.eventHandler){xe({event:{type:["JsonLdEvent"],code:"free-floating scalar",level:"warning",message:"Dropping free-floating scalar not in a list.",details:{value:oe}},options:de})}return null}return _expandValue({activeCtx:re,activeProperty:ie,value:oe,options:de})}if(ae(oe)){let se=[];const ce=me(re,ie,"@container")||[];pe=pe||ce.includes("@list");for(let ce=0;ce1?se.slice().sort():se:[se];for(const ie of ae){const oe=me(Ae,ie,"@context");if(!fe(oe)){re=await ve({activeCtx:re,localCtx:oe,options:de,propagate:false})}}}}let Oe={};await _expandObject({activeCtx:re,activeProperty:ie,expandedActiveProperty:ye,element:oe,expandedParent:Oe,options:de,insideList:pe,typeKey:Be,typeScopedContext:Ae});Ee=Object.keys(Oe);let De=Ee.length;if("@value"in Oe){if("@type"in Oe&&("@language"in Oe||"@direction"in Oe)){throw new se('Invalid JSON-LD syntax; an element containing "@value" may not '+'contain both "@type" and either "@language" or "@direction".',"jsonld.SyntaxError",{code:"invalid value object",element:Oe})}let ie=De-1;if("@type"in Oe){ie-=1}if("@index"in Oe){ie-=1}if("@language"in Oe){ie-=1}if("@direction"in Oe){ie-=1}if(ie!==0){throw new se('Invalid JSON-LD syntax; an element containing "@value" may only '+'have an "@index" property and either "@type" '+'or either or both "@language" or "@direction".',"jsonld.SyntaxError",{code:"invalid value object",element:Oe})}const oe=Oe["@value"]===null?[]:Ie(Oe["@value"]);const ae=Se(Oe,"@type");if(be(re,1.1)&&ae.includes("@json")&&ae.length===1){}else if(oe.length===0){if(de.eventHandler){xe({event:{type:["JsonLdEvent"],code:"null @value value",level:"warning",message:"Dropping null @value value.",details:{value:Oe}},options:de})}Oe=null}else if(!oe.every((re=>le(re)||ue(re)))&&"@language"in Oe){throw new se("Invalid JSON-LD syntax; only strings may be language-tagged.","jsonld.SyntaxError",{code:"invalid language-tagged value",element:Oe})}else if(!ae.every((re=>we(re)&&!(le(re)&&re.indexOf("_:")===0)||ue(re)))){throw new se('Invalid JSON-LD syntax; an element containing "@value" and "@type" '+'must have an absolute IRI for the value of "@type".',"jsonld.SyntaxError",{code:"invalid typed value",element:Oe})}}else if("@type"in Oe&&!ae(Oe["@type"])){Oe["@type"]=[Oe["@type"]]}else if("@set"in Oe||"@list"in Oe){if(De>1&&!(De===2&&"@index"in Oe)){throw new se('Invalid JSON-LD syntax; if an element has the property "@set" '+'or "@list", then it can have at most one other property that is '+'"@index".',"jsonld.SyntaxError",{code:"invalid set or list object",element:Oe})}if("@set"in Oe){Oe=Oe["@set"];Ee=Object.keys(Oe);De=Ee.length}}else if(De===1&&"@language"in Oe){if(de.eventHandler){xe({event:{type:["JsonLdEvent"],code:"object with only @language",level:"warning",message:"Dropping object with only @language.",details:{value:Oe}},options:de})}Oe=null}if(ce(Oe)&&!de.keepFreeFloatingNodes&&!pe&&(ie===null||ye==="@graph"||(me(re,ie,"@container")||[]).includes("@graph"))){Oe=_dropUnsafeObject({value:Oe,count:De,options:de})}return Oe};function _dropUnsafeObject({value:re,count:ie,options:oe}){if(ie===0||"@value"in re||"@list"in re||ie===1&&"@id"in re){if(oe.eventHandler){let se;let ae;if(ie===0){se="empty object";ae="Dropping empty object."}else if("@value"in re){se="object with only @value";ae="Dropping object with only @value."}else if("@list"in re){se="object with only @list";ae="Dropping object with only @list."}else if(ie===1&&"@id"in re){se="object with only @id";ae="Dropping object with only @id."}xe({event:{type:["JsonLdEvent"],code:se,level:"warning",message:ae,details:{value:re}},options:oe})}return null}return re}async function _expandObject({activeCtx:re,activeProperty:ie,expandedActiveProperty:oe,element:he,expandedParent:Ee,options:Se={},insideList:Oe,typeKey:De,typeScopedContext:Pe}){const Te=Object.keys(he).sort();const Qe=[];let Re;const Me=he[De]&&ge(re,ae(he[De])?he[De][0]:he[De],{vocab:true},{...Se,typeExpansion:true})==="@json";for(const Oe of Te){let De=he[Oe];let Te;if(Oe==="@context"){continue}const Ne=ge(re,Oe,{vocab:true},Se);if(Ne===null||!(we(Ne)||ye(Ne))){if(Se.eventHandler){xe({event:{type:["JsonLdEvent"],code:"invalid property",level:"warning",message:"Dropping property that did not expand into an "+"absolute IRI or keyword.",details:{property:Oe,expandedProperty:Ne}},options:Se})}continue}if(ye(Ne)){if(oe==="@reverse"){throw new se("Invalid JSON-LD syntax; a keyword cannot be used as a @reverse "+"property.","jsonld.SyntaxError",{code:"invalid reverse property map",value:De})}if(Ne in Ee&&Ne!=="@included"&&Ne!=="@type"){throw new se("Invalid JSON-LD syntax; colliding keywords detected.","jsonld.SyntaxError",{code:"colliding keywords",keyword:Ne})}}if(Ne==="@id"){if(!le(De)){if(!Se.isFrame){throw new se('Invalid JSON-LD syntax; "@id" value must a string.',"jsonld.SyntaxError",{code:"invalid @id value",value:De})}if(ce(De)){if(!ue(De)){throw new se('Invalid JSON-LD syntax; "@id" value an empty object or array '+"of strings, if framing","jsonld.SyntaxError",{code:"invalid @id value",value:De})}}else if(ae(De)){if(!De.every((re=>le(re)))){throw new se('Invalid JSON-LD syntax; "@id" value an empty object or array '+"of strings, if framing","jsonld.SyntaxError",{code:"invalid @id value",value:De})}}else{throw new se('Invalid JSON-LD syntax; "@id" value an empty object or array '+"of strings, if framing","jsonld.SyntaxError",{code:"invalid @id value",value:De})}}Ce(Ee,"@id",Ie(De).map((ie=>{if(le(ie)){const oe=ge(re,ie,{base:true},Se);if(Se.eventHandler){if(oe===null){if(ie===null){xe({event:{type:["JsonLdEvent"],code:"null @id value",level:"warning",message:"Null @id found.",details:{id:ie}},options:Se})}else{xe({event:{type:["JsonLdEvent"],code:"reserved @id value",level:"warning",message:"Reserved @id found.",details:{id:ie}},options:Se})}}else if(!we(oe)){xe({event:{type:["JsonLdEvent"],code:"relative @id reference",level:"warning",message:"Relative @id reference found.",details:{id:ie,expandedId:oe}},options:Se})}}return oe}return ie})),{propertyIsArray:Se.isFrame});continue}if(Ne==="@type"){if(ce(De)){De=Object.fromEntries(Object.entries(De).map((([re,ie])=>[ge(Pe,re,{vocab:true}),Ie(ie).map((re=>ge(Pe,re,{base:true,vocab:true},{...Se,typeExpansion:true})))])))}Be(De,Se.isFrame);Ce(Ee,"@type",Ie(De).map((re=>{if(le(re)){const ie=ge(Pe,re,{base:true,vocab:true},{...Se,typeExpansion:true});if(ie!=="@json"&&!we(ie)){if(Se.eventHandler){xe({event:{type:["JsonLdEvent"],code:"relative @type reference",level:"warning",message:"Relative @type reference found.",details:{type:re}},options:Se})}}return ie}return re})),{propertyIsArray:!!Se.isFrame});continue}if(Ne==="@included"&&be(re,1.1)){const oe=Ie(await ke.expand({activeCtx:re,activeProperty:ie,element:De,options:Se}));if(!oe.every((re=>Ae(re)))){throw new se("Invalid JSON-LD syntax; "+"values of @included must expand to node objects.","jsonld.SyntaxError",{code:"invalid @included value",value:De})}Ce(Ee,"@included",oe,{propertyIsArray:true});continue}if(Ne==="@graph"&&!(ce(De)||ae(De))){throw new se('Invalid JSON-LD syntax; "@graph" value must not be an '+"object or an array.","jsonld.SyntaxError",{code:"invalid @graph value",value:De})}if(Ne==="@value"){Re=De;if(Me&&be(re,1.1)){Ee["@value"]=De}else{Ce(Ee,"@value",De,{propertyIsArray:Se.isFrame})}continue}if(Ne==="@language"){if(De===null){continue}if(!le(De)&&!Se.isFrame){throw new se('Invalid JSON-LD syntax; "@language" value must be a string.',"jsonld.SyntaxError",{code:"invalid language-tagged string",value:De})}De=Ie(De).map((re=>le(re)?re.toLowerCase():re));for(const re of De){if(le(re)&&!re.match(_e)){if(Se.eventHandler){xe({event:{type:["JsonLdEvent"],code:"invalid @language value",level:"warning",message:"@language value must be valid BCP47.",details:{language:re}},options:Se})}}}Ce(Ee,"@language",De,{propertyIsArray:Se.isFrame});continue}if(Ne==="@direction"){if(!le(De)&&!Se.isFrame){throw new se('Invalid JSON-LD syntax; "@direction" value must be a string.',"jsonld.SyntaxError",{code:"invalid base direction",value:De})}De=Ie(De);for(const re of De){if(le(re)&&re!=="ltr"&&re!=="rtl"){throw new se('Invalid JSON-LD syntax; "@direction" must be "ltr" or "rtl".',"jsonld.SyntaxError",{code:"invalid base direction",value:De})}}Ce(Ee,"@direction",De,{propertyIsArray:Se.isFrame});continue}if(Ne==="@index"){if(!le(De)){throw new se('Invalid JSON-LD syntax; "@index" value must be a string.',"jsonld.SyntaxError",{code:"invalid @index value",value:De})}Ce(Ee,"@index",De);continue}if(Ne==="@reverse"){if(!ce(De)){throw new se('Invalid JSON-LD syntax; "@reverse" value must be an object.',"jsonld.SyntaxError",{code:"invalid @reverse value",value:De})}Te=await ke.expand({activeCtx:re,activeProperty:"@reverse",element:De,options:Se});if("@reverse"in Te){for(const re in Te["@reverse"]){Ce(Ee,re,Te["@reverse"][re],{propertyIsArray:true})}}let ie=Ee["@reverse"]||null;for(const re in Te){if(re==="@reverse"){continue}if(ie===null){ie=Ee["@reverse"]={}}Ce(ie,re,[],{propertyIsArray:true});const oe=Te[re];for(let ae=0;aere==="@id"||re==="@index"))){Te=Ie(Te);const re=Object.keys(Te[0]).length;if(!Se.isFrame&&_dropUnsafeObject({value:Te[0],count:re,options:Se})===null){continue}Te=Te.map((re=>({"@graph":Ie(re)})))}if(je.mappings.has(Oe)&&je.mappings.get(Oe).reverse){const re=Ee["@reverse"]=Ee["@reverse"]||{};Te=Ie(Te);for(let ie=0;iege(re,ie,{vocab:true},Se)==="@value"))){throw new se("Invalid JSON-LD syntax; nested value must be a node object.","jsonld.SyntaxError",{code:"invalid @nest value",value:ae})}await _expandObject({activeCtx:re,activeProperty:ie,expandedActiveProperty:oe,element:ae,expandedParent:Ee,options:Se,insideList:Oe,typeScopedContext:Pe,typeKey:De})}}}function _expandValue({activeCtx:re,activeProperty:ie,value:oe,options:se}){if(oe===null||oe===undefined){return null}const ae=ge(re,ie,{vocab:true},se);if(ae==="@id"){return ge(re,oe,{base:true},se)}else if(ae==="@type"){return ge(re,oe,{vocab:true,base:true},{...se,typeExpansion:true})}const ce=me(re,ie,"@type");if((ce==="@id"||ae==="@graph")&&le(oe)){const ae=ge(re,oe,{base:true},se);if(ae===null&&oe.match(Ee)){if(se.eventHandler){xe({event:{type:["JsonLdEvent"],code:"reserved @id value",level:"warning",message:"Reserved @id found.",details:{id:ie}},options:se})}}return{"@id":ae}}if(ce==="@vocab"&&le(oe)){return{"@id":ge(re,oe,{vocab:true,base:true},se)}}if(ye(ae)){return oe}const ue={};if(ce&&!["@id","@vocab","@none"].includes(ce)){ue["@type"]=ce}else if(le(oe)){const oe=me(re,ie,"@language");if(oe!==null){ue["@language"]=oe}const se=me(re,ie,"@direction");if(se!==null){ue["@direction"]=se}}if(!["boolean","number","string"].includes(typeof oe)){oe=oe.toString()}ue["@value"]=oe;return ue}function _expandLanguageMap(re,ie,oe,ce){const ue=[];const fe=Object.keys(ie).sort();for(const de of fe){const fe=ge(re,de,{vocab:true},ce);let pe=ie[de];if(!ae(pe)){pe=[pe]}for(const re of pe){if(re===null){continue}if(!le(re)){throw new se("Invalid JSON-LD syntax; language map values must be strings.","jsonld.SyntaxError",{code:"invalid language map value",languageMap:ie})}const ae={"@value":re};if(fe!=="@none"){if(!de.match(_e)){if(ce.eventHandler){xe({event:{type:["JsonLdEvent"],code:"invalid @language value",level:"warning",message:"@language value must be valid BCP47.",details:{language:de}},options:ce})}}ae["@language"]=de.toLowerCase()}if(oe){ae["@direction"]=oe}ue.push(ae)}}return ue}async function _expandIndexMap({activeCtx:re,options:ie,activeProperty:oe,value:ce,asGraph:ue,indexKey:le,propertyIndex:de}){const Ae=[];const ye=Object.keys(ce).sort();const be=le==="@type";for(let we of ye){if(be){const oe=me(re,we,"@context");if(!fe(oe)){re=await ve({activeCtx:re,localCtx:oe,propagate:false,options:ie})}}let ye=ce[we];if(!ae(ye)){ye=[ye]}ye=await ke.expand({activeCtx:re,activeProperty:oe,element:ye,options:ie,insideList:false,insideIndex:true});let _e;if(de){if(we==="@none"){_e="@none"}else{_e=_expandValue({activeCtx:re,activeProperty:le,value:we,options:ie})}}else{_e=ge(re,we,{vocab:true},ie)}if(le==="@id"){we=ge(re,we,{base:true},ie)}else if(be){we=_e}for(let re of ye){if(ue&&!he(re)){re={"@graph":[re]}}if(le==="@type"){if(_e==="@none"){}else if(re["@type"]){re["@type"]=[we].concat(re["@type"])}else{re["@type"]=[we]}}else if(pe(re)&&!["@language","@type","@index"].includes(le)){throw new se("Invalid JSON-LD syntax; Attempt to add illegal key to value "+`object: "${le}".`,"jsonld.SyntaxError",{code:"invalid value object",value:re})}else if(de){if(_e!=="@none"){Ce(re,de,_e,{propertyIsArray:true,prependValue:true})}}else if(_e!=="@none"&&!(le in re)){re[le]=we}Ae.push(re)}}return Ae}},59030:(re,ie,oe)=>{"use strict";const{isSubjectReference:se}=oe(13631);const{createMergedNodeMap:ae}=oe(99618);const ce={};re.exports=ce;ce.flatten=re=>{const ie=ae(re);const oe=[];const ce=Object.keys(ie).sort();for(let re=0;re{"use strict";const{isKeyword:se}=oe(41866);const ae=oe(13631);const ce=oe(86891);const ue=oe(69450);const le=oe(40651);const fe=oe(11625);const{createNodeMap:de,mergeNodeMapGraphs:pe}=oe(99618);const he={};re.exports=he;he.frameMergedOrDefault=(re,ie,oe)=>{const se={options:oe,embedded:false,graph:"@default",graphMap:{"@default":{}},subjectStack:[],link:{},bnodeMap:{}};const ae=new ue.IdentifierIssuer("_:b");de(re,se.graphMap,"@default",ae);if(oe.merged){se.graphMap["@merged"]=pe(se.graphMap);se.graph="@merged"}se.subjects=se.graphMap[se.graph];const ce=[];he.frame(se,Object.keys(se.subjects).sort(),ie,ce);if(oe.pruneBlankNodeIdentifiers){oe.bnodesToClear=Object.keys(se.bnodeMap).filter((re=>se.bnodeMap[re].length===1))} +const Oe=Qe["@id"];if(Oe==="@context"||Oe==="@preserve"){throw new ge("Invalid JSON-LD syntax; @context and @preserve cannot be aliased.","jsonld.SyntaxError",{code:"invalid keyword alias",context:pe})}if(_e&&_e.protected&&!Ce){R.protected[Ae]=true;Qe.protected=true;if(!_deepCompare(_e,Qe)){throw new ge("Invalid JSON-LD syntax; tried to redefine a protected term.","jsonld.SyntaxError",{code:"protected term redefinition",context:pe,term:Ae})}}};ke.expandIri=(R,pe,Ae,he)=>_expandIri(R,pe,Ae,undefined,undefined,he);function _expandIri(R,pe,Ae,he,ge,me){if(pe===null||!ve(pe)||ke.isKeyword(pe)){return pe}if(pe.match(Be)){return null}if(he&&he.hasOwnProperty(pe)&&ge.get(pe)!==true){ke.createTermDefinition({activeCtx:R,localCtx:he,term:pe,defined:ge,options:me})}Ae=Ae||{};if(Ae.vocab){const Ae=R.mappings.get(pe);if(Ae===null){return null}if(ye(Ae)&&"@id"in Ae){return Ae["@id"]}}const be=pe.indexOf(":");if(be>0){const Ae=pe.substr(0,be);const ye=pe.substr(be+1);if(Ae==="_"||ye.indexOf("//")===0){return pe}if(he&&he.hasOwnProperty(Ae)){ke.createTermDefinition({activeCtx:R,localCtx:he,term:Ae,defined:ge,options:me})}const ve=R.mappings.get(Ae);if(ve&&ve._prefix){return ve["@id"]+ye}if(Ee(pe)){return pe}}if(Ae.vocab&&"@vocab"in R){const Ae=R["@vocab"]+pe;pe=Ae}else if(Ae.base){let Ae;let he;if("@base"in R){if(R["@base"]){he=we(me.base,R["@base"]);Ae=we(he,pe)}else{he=R["@base"];Ae=pe}}else{he=me.base;Ae=we(me.base,pe)}pe=Ae}return pe}ke.getInitialContext=R=>{const pe=JSON.stringify({processingMode:R.processingMode});const Ae=xe.get(pe);if(Ae){return Ae}const ge={processingMode:R.processingMode,mappings:new Map,inverse:null,getInverse:_createInverseContext,clone:_cloneActiveContext,revertToPreviousContext:_revertToPreviousContext,protected:{}};if(xe.size===De){xe.clear()}xe.set(pe,ge);return ge;function _createInverseContext(){const R=this;if(R.inverse){return R.inverse}const pe=R.inverse={};const Ae=R.fastCurieMap={};const he={};const ge=(R["@language"]||"@none").toLowerCase();const me=R["@direction"];const ye=R.mappings;const ve=[...ye.keys()].sort(Qe);for(const R of ve){const ve=ye.get(R);if(ve===null){continue}let be=ve["@container"]||"@none";be=[].concat(be).sort().join("");if(ve["@id"]===null){continue}const Ee=Se(ve["@id"]);for(const ye of Ee){let Ee=pe[ye];const Ce=ke.isKeyword(ye);if(!Ee){pe[ye]=Ee={};if(!Ce&&!ve._termHasColon){he[ye]=[R];const pe={iri:ye,terms:he[ye]};if(ye[0]in Ae){Ae[ye[0]].push(pe)}else{Ae[ye[0]]=[pe]}}}else if(!Ce&&!ve._termHasColon){he[ye].push(R)}if(!Ee[be]){Ee[be]={"@language":{},"@type":{},"@any":{}}}Ee=Ee[be];_addPreferredTerm(R,Ee["@any"],"@none");if(ve.reverse){_addPreferredTerm(R,Ee["@type"],"@reverse")}else if(ve["@type"]==="@none"){_addPreferredTerm(R,Ee["@any"],"@none");_addPreferredTerm(R,Ee["@language"],"@none");_addPreferredTerm(R,Ee["@type"],"@none")}else if("@type"in ve){_addPreferredTerm(R,Ee["@type"],ve["@type"])}else if("@language"in ve&&"@direction"in ve){const pe=ve["@language"];const Ae=ve["@direction"];if(pe&&Ae){_addPreferredTerm(R,Ee["@language"],`${pe}_${Ae}`.toLowerCase())}else if(pe){_addPreferredTerm(R,Ee["@language"],pe.toLowerCase())}else if(Ae){_addPreferredTerm(R,Ee["@language"],`_${Ae}`)}else{_addPreferredTerm(R,Ee["@language"],"@null")}}else if("@language"in ve){_addPreferredTerm(R,Ee["@language"],(ve["@language"]||"@null").toLowerCase())}else if("@direction"in ve){if(ve["@direction"]){_addPreferredTerm(R,Ee["@language"],`_${ve["@direction"]}`)}else{_addPreferredTerm(R,Ee["@language"],"@none")}}else if(me){_addPreferredTerm(R,Ee["@language"],`_${me}`);_addPreferredTerm(R,Ee["@language"],"@none");_addPreferredTerm(R,Ee["@type"],"@none")}else{_addPreferredTerm(R,Ee["@language"],ge);_addPreferredTerm(R,Ee["@language"],"@none");_addPreferredTerm(R,Ee["@type"],"@none")}}}for(const R in Ae){_buildIriMap(Ae,R,1)}return pe}function _buildIriMap(R,pe,Ae){const he=R[pe];const ge=R[pe]={};let me;let ye;for(const R of he){me=R.iri;if(Ae>=me.length){ye=""}else{ye=me[Ae]}if(ye in ge){ge[ye].push(R)}else{ge[ye]=[R]}}for(const R in ge){if(R===""){continue}_buildIriMap(ge,R,Ae+1)}}function _addPreferredTerm(R,pe,Ae){if(!pe.hasOwnProperty(Ae)){pe[Ae]=R}}function _cloneActiveContext(){const R={};R.mappings=he.clone(this.mappings);R.clone=this.clone;R.inverse=null;R.getInverse=this.getInverse;R.protected=he.clone(this.protected);if(this.previousContext){R.previousContext=this.previousContext.clone()}R.revertToPreviousContext=this.revertToPreviousContext;if("@base"in this){R["@base"]=this["@base"]}if("@language"in this){R["@language"]=this["@language"]}if("@vocab"in this){R["@vocab"]=this["@vocab"]}return R}function _revertToPreviousContext(){if(!this.previousContext){return this}return this.previousContext.clone()}};ke.getContextValue=(R,pe,Ae)=>{if(pe===null){if(Ae==="@context"){return undefined}return null}if(R.mappings.has(pe)){const he=R.mappings.get(pe);if(be(Ae)){return he}if(he.hasOwnProperty(Ae)){return he[Ae]}}if(Ae==="@language"&&Ae in R){return R[Ae]}if(Ae==="@direction"&&Ae in R){return R[Ae]}if(Ae==="@context"){return undefined}return null};ke.processingMode=(R,pe)=>{if(pe.toString()>="1.1"){return!R.processingMode||R.processingMode>="json-ld-"+pe.toString()}else{return R.processingMode==="json-ld-1.0"}};ke.isKeyword=R=>{if(!ve(R)||R[0]!=="@"){return false}switch(R){case"@base":case"@container":case"@context":case"@default":case"@direction":case"@embed":case"@explicit":case"@graph":case"@id":case"@included":case"@index":case"@json":case"@language":case"@list":case"@nest":case"@none":case"@omitDefault":case"@prefix":case"@preserve":case"@protected":case"@requireAll":case"@reverse":case"@set":case"@type":case"@value":case"@version":case"@vocab":return true}return false};function _deepCompare(R,pe){if(!(R&&typeof R==="object")||!(pe&&typeof pe==="object")){return R===pe}const Ae=Array.isArray(R);if(Ae!==Array.isArray(pe)){return false}if(Ae){if(R.length!==pe.length){return false}for(let Ae=0;Ae{"use strict";const he=Ae(95687);const{parseLinkHeader:ge,buildHeaders:me}=Ae(69450);const{LINK_HEADER_CONTEXT:ye}=Ae(18441);const ve=Ae(11625);const be=Ae(99241);const{prependBase:Ee}=Ae(40651);const{httpClient:Ce}=Ae(10698);R.exports=({secure:R,strictSSL:pe=true,maxRedirects:he=-1,headers:Ce={},httpAgent:we,httpsAgent:Ie}={strictSSL:true,maxRedirects:-1,headers:{}})=>{Ce=me(Ce);if(!("user-agent"in Ce)){Ce=Object.assign({},Ce,{"user-agent":"jsonld.js"})}const _e=Ae(13685);const Be=new be;return Be.wrapLoader((function(R){return loadDocument(R,[])}));async function loadDocument(Ae,me){const be=Ae.startsWith("http:");const Be=Ae.startsWith("https:");if(!be&&!Be){throw new ve('URL could not be dereferenced; only "http" and "https" URLs are '+"supported.","jsonld.InvalidUrl",{code:"loading document failed",url:Ae})}if(R&&!Be){throw new ve("URL could not be dereferenced; secure mode is enabled and "+'the URL\'s scheme is not "https".',"jsonld.InvalidUrl",{code:"loading document failed",url:Ae})}let Se=null;if(Se!==null){return Se}let Qe=null;const{res:xe,body:De}=await _fetch({url:Ae,headers:Ce,strictSSL:pe,httpAgent:we,httpsAgent:Ie});Se={contextUrl:null,documentUrl:Ae,document:De||null};const ke=_e.STATUS_CODES[xe.status];if(xe.status>=400){throw new ve(`URL "${Ae}" could not be dereferenced: ${ke}`,"jsonld.InvalidUrl",{code:"loading document failed",url:Ae,httpStatusCode:xe.status})}const Oe=xe.headers.get("link");let Re=xe.headers.get("location");const Pe=xe.headers.get("content-type");if(Oe&&Pe!=="application/ld+json"){const R=ge(Oe);const pe=R[ye];if(Array.isArray(pe)){throw new ve("URL could not be dereferenced, it has more than one associated "+"HTTP Link Header.","jsonld.InvalidUrl",{code:"multiple context link headers",url:Ae})}if(pe){Se.contextUrl=pe.target}Qe=R.alternate;if(Qe&&Qe.type=="application/ld+json"&&!(Pe||"").match(/^application\/(\w*\+)?json$/)){Re=Ee(Ae,Qe.target)}}if((Qe||xe.status>=300&&xe.status<400)&&Re){if(me.length===he){throw new ve("URL could not be dereferenced; there were too many redirects.","jsonld.TooManyRedirects",{code:"loading document failed",url:Ae,httpStatusCode:xe.status,redirects:me})}if(me.indexOf(Ae)!==-1){throw new ve("URL could not be dereferenced; infinite redirection was detected.","jsonld.InfiniteRedirectDetected",{code:"recursive context inclusion",url:Ae,httpStatusCode:xe.status,redirects:me})}me.push(Ae);const R=new URL(Re,Ae).href;return loadDocument(R,me)}me.push(Ae);return Se}};async function _fetch({url:R,headers:pe,strictSSL:Ae,httpAgent:ge,httpsAgent:me}){try{const ye={headers:pe,redirect:"manual",throwHttpErrors:false};const ve=R.startsWith("https:");if(ve){ye.agent=me||new he.Agent({rejectUnauthorized:Ae})}else{if(ge){ye.agent=ge}}const be=await Ce.get(R,ye);return{res:be,body:be.data}}catch(pe){if(pe.response){return{res:pe.response,body:null}}throw new ve("URL could not be dereferenced, an error occurred.","jsonld.LoadDocumentError",{code:"loading document failed",url:R,cause:pe})}}},75836:(R,pe,Ae)=>{"use strict";const he=Ae(11625);const{isArray:ge}=Ae(86891);const{asArray:me}=Ae(69450);const ye={};R.exports=ye;ye.defaultEventHandler=null;ye.setupEventHandler=({options:R={}})=>{const pe=[].concat(R.safe?ye.safeEventHandler:[],R.eventHandler?me(R.eventHandler):[],ye.defaultEventHandler?ye.defaultEventHandler:[]);return pe.length===0?null:pe};ye.handleEvent=({event:R,options:pe})=>{_handle({event:R,handlers:pe.eventHandler})};function _handle({event:R,handlers:pe}){let Ae=true;for(let me=0;Ae&&me{Ae=true}})}else if(typeof ye==="object"){if(R.code in ye){ye[R.code]({event:R,next:()=>{Ae=true}})}else{Ae=true}}else{throw new he("Invalid event handler.","jsonld.InvalidEventHandler",{event:R})}}return Ae}const ve=new Set(["empty object","free-floating scalar","invalid @language value","invalid property","null @id value","null @value value","object with only @id","object with only @language","object with only @list","object with only @value","relative @id reference","relative @type reference","relative @vocab reference","reserved @id value","reserved @reverse value","reserved term","blank node predicate","relative graph reference","relative object reference","relative predicate reference","relative subject reference","rdfDirection not set"]);ye.safeEventHandler=function safeEventHandler({event:R,next:pe}){if(R.level==="warning"&&ve.has(R.code)){throw new he("Safe mode validation error.","jsonld.ValidationError",{event:R})}pe()};ye.logEventHandler=function logEventHandler({event:R,next:pe}){console.log(`EVENT: ${R.message}`,{event:R});pe()};ye.logWarningEventHandler=function logWarningEventHandler({event:R,next:pe}){if(R.level==="warning"){console.warn(`WARNING: ${R.message}`,{event:R})}pe()};ye.unhandledEventHandler=function unhandledEventHandler({event:R}){throw new he("No handler for event.","jsonld.UnhandledEvent",{event:R})};ye.setDefaultEventHandler=function({eventHandler:R}={}){ye.defaultEventHandler=R?me(R):null}},99969:(R,pe,Ae)=>{"use strict";const he=Ae(11625);const{isArray:ge,isObject:me,isEmptyObject:ye,isString:ve,isUndefined:be}=Ae(86891);const{isList:Ee,isValue:Ce,isGraph:we,isSubject:Ie}=Ae(13631);const{expandIri:_e,getContextValue:Be,isKeyword:Se,process:Qe,processingMode:xe}=Ae(41866);const{isAbsolute:De}=Ae(40651);const{REGEX_BCP47:ke,REGEX_KEYWORD:Oe,addValue:Re,asArray:Pe,getValues:Te,validateTypeValue:Ne}=Ae(69450);const{handleEvent:Me}=Ae(75836);const Fe={};R.exports=Fe;Fe.expand=async({activeCtx:R,activeProperty:pe=null,element:Ae,options:Ee={},insideList:Ce=false,insideIndex:we=false,typeScopedContext:Ie=null})=>{if(Ae===null||Ae===undefined){return null}if(pe==="@default"){Ee=Object.assign({},Ee,{isFrame:false})}if(!ge(Ae)&&!me(Ae)){if(!Ce&&(pe===null||_e(R,pe,{vocab:true},Ee)==="@graph")){if(Ee.eventHandler){Me({event:{type:["JsonLdEvent"],code:"free-floating scalar",level:"warning",message:"Dropping free-floating scalar not in a list.",details:{value:Ae}},options:Ee})}return null}return _expandValue({activeCtx:R,activeProperty:pe,value:Ae,options:Ee})}if(ge(Ae)){let he=[];const me=Be(R,pe,"@container")||[];Ce=Ce||me.includes("@list");for(let me=0;me1?he.slice().sort():he:[he];for(const pe of ge){const Ae=Be(Ie,pe,"@context");if(!be(Ae)){R=await Qe({activeCtx:R,localCtx:Ae,options:Ee,propagate:false})}}}}let je={};await _expandObject({activeCtx:R,activeProperty:pe,expandedActiveProperty:Se,element:Ae,expandedParent:je,options:Ee,insideList:Ce,typeKey:Ne,typeScopedContext:Ie});Oe=Object.keys(je);let Le=Oe.length;if("@value"in je){if("@type"in je&&("@language"in je||"@direction"in je)){throw new he('Invalid JSON-LD syntax; an element containing "@value" may not '+'contain both "@type" and either "@language" or "@direction".',"jsonld.SyntaxError",{code:"invalid value object",element:je})}let pe=Le-1;if("@type"in je){pe-=1}if("@index"in je){pe-=1}if("@language"in je){pe-=1}if("@direction"in je){pe-=1}if(pe!==0){throw new he('Invalid JSON-LD syntax; an element containing "@value" may only '+'have an "@index" property and either "@type" '+'or either or both "@language" or "@direction".',"jsonld.SyntaxError",{code:"invalid value object",element:je})}const Ae=je["@value"]===null?[]:Pe(je["@value"]);const ge=Te(je,"@type");if(xe(R,1.1)&&ge.includes("@json")&&ge.length===1){}else if(Ae.length===0){if(Ee.eventHandler){Me({event:{type:["JsonLdEvent"],code:"null @value value",level:"warning",message:"Dropping null @value value.",details:{value:je}},options:Ee})}je=null}else if(!Ae.every((R=>ve(R)||ye(R)))&&"@language"in je){throw new he("Invalid JSON-LD syntax; only strings may be language-tagged.","jsonld.SyntaxError",{code:"invalid language-tagged value",element:je})}else if(!ge.every((R=>De(R)&&!(ve(R)&&R.indexOf("_:")===0)||ye(R)))){throw new he('Invalid JSON-LD syntax; an element containing "@value" and "@type" '+'must have an absolute IRI for the value of "@type".',"jsonld.SyntaxError",{code:"invalid typed value",element:je})}}else if("@type"in je&&!ge(je["@type"])){je["@type"]=[je["@type"]]}else if("@set"in je||"@list"in je){if(Le>1&&!(Le===2&&"@index"in je)){throw new he('Invalid JSON-LD syntax; if an element has the property "@set" '+'or "@list", then it can have at most one other property that is '+'"@index".',"jsonld.SyntaxError",{code:"invalid set or list object",element:je})}if("@set"in je){je=je["@set"];Oe=Object.keys(je);Le=Oe.length}}else if(Le===1&&"@language"in je){if(Ee.eventHandler){Me({event:{type:["JsonLdEvent"],code:"object with only @language",level:"warning",message:"Dropping object with only @language.",details:{value:je}},options:Ee})}je=null}if(me(je)&&!Ee.keepFreeFloatingNodes&&!Ce&&(pe===null||Se==="@graph"||(Be(R,pe,"@container")||[]).includes("@graph"))){je=_dropUnsafeObject({value:je,count:Le,options:Ee})}return je};function _dropUnsafeObject({value:R,count:pe,options:Ae}){if(pe===0||"@value"in R||"@list"in R||pe===1&&"@id"in R){if(Ae.eventHandler){let he;let ge;if(pe===0){he="empty object";ge="Dropping empty object."}else if("@value"in R){he="object with only @value";ge="Dropping object with only @value."}else if("@list"in R){he="object with only @list";ge="Dropping object with only @list."}else if(pe===1&&"@id"in R){he="object with only @id";ge="Dropping object with only @id."}Me({event:{type:["JsonLdEvent"],code:he,level:"warning",message:ge,details:{value:R}},options:Ae})}return null}return R}async function _expandObject({activeCtx:R,activeProperty:pe,expandedActiveProperty:Ae,element:we,expandedParent:Oe,options:Te={},insideList:je,typeKey:Le,typeScopedContext:Ue}){const He=Object.keys(we).sort();const Ve=[];let We;const Je=we[Le]&&_e(R,ge(we[Le])?we[Le][0]:we[Le],{vocab:true},{...Te,typeExpansion:true})==="@json";for(const je of He){let Le=we[je];let He;if(je==="@context"){continue}const Ge=_e(R,je,{vocab:true},Te);if(Ge===null||!(De(Ge)||Se(Ge))){if(Te.eventHandler){Me({event:{type:["JsonLdEvent"],code:"invalid property",level:"warning",message:"Dropping property that did not expand into an "+"absolute IRI or keyword.",details:{property:je,expandedProperty:Ge}},options:Te})}continue}if(Se(Ge)){if(Ae==="@reverse"){throw new he("Invalid JSON-LD syntax; a keyword cannot be used as a @reverse "+"property.","jsonld.SyntaxError",{code:"invalid reverse property map",value:Le})}if(Ge in Oe&&Ge!=="@included"&&Ge!=="@type"){throw new he("Invalid JSON-LD syntax; colliding keywords detected.","jsonld.SyntaxError",{code:"colliding keywords",keyword:Ge})}}if(Ge==="@id"){if(!ve(Le)){if(!Te.isFrame){throw new he('Invalid JSON-LD syntax; "@id" value must a string.',"jsonld.SyntaxError",{code:"invalid @id value",value:Le})}if(me(Le)){if(!ye(Le)){throw new he('Invalid JSON-LD syntax; "@id" value an empty object or array '+"of strings, if framing","jsonld.SyntaxError",{code:"invalid @id value",value:Le})}}else if(ge(Le)){if(!Le.every((R=>ve(R)))){throw new he('Invalid JSON-LD syntax; "@id" value an empty object or array '+"of strings, if framing","jsonld.SyntaxError",{code:"invalid @id value",value:Le})}}else{throw new he('Invalid JSON-LD syntax; "@id" value an empty object or array '+"of strings, if framing","jsonld.SyntaxError",{code:"invalid @id value",value:Le})}}Re(Oe,"@id",Pe(Le).map((pe=>{if(ve(pe)){const Ae=_e(R,pe,{base:true},Te);if(Te.eventHandler){if(Ae===null){if(pe===null){Me({event:{type:["JsonLdEvent"],code:"null @id value",level:"warning",message:"Null @id found.",details:{id:pe}},options:Te})}else{Me({event:{type:["JsonLdEvent"],code:"reserved @id value",level:"warning",message:"Reserved @id found.",details:{id:pe}},options:Te})}}else if(!De(Ae)){Me({event:{type:["JsonLdEvent"],code:"relative @id reference",level:"warning",message:"Relative @id reference found.",details:{id:pe,expandedId:Ae}},options:Te})}}return Ae}return pe})),{propertyIsArray:Te.isFrame});continue}if(Ge==="@type"){if(me(Le)){Le=Object.fromEntries(Object.entries(Le).map((([R,pe])=>[_e(Ue,R,{vocab:true}),Pe(pe).map((R=>_e(Ue,R,{base:true,vocab:true},{...Te,typeExpansion:true})))])))}Ne(Le,Te.isFrame);Re(Oe,"@type",Pe(Le).map((R=>{if(ve(R)){const pe=_e(Ue,R,{base:true,vocab:true},{...Te,typeExpansion:true});if(pe!=="@json"&&!De(pe)){if(Te.eventHandler){Me({event:{type:["JsonLdEvent"],code:"relative @type reference",level:"warning",message:"Relative @type reference found.",details:{type:R}},options:Te})}}return pe}return R})),{propertyIsArray:!!Te.isFrame});continue}if(Ge==="@included"&&xe(R,1.1)){const Ae=Pe(await Fe.expand({activeCtx:R,activeProperty:pe,element:Le,options:Te}));if(!Ae.every((R=>Ie(R)))){throw new he("Invalid JSON-LD syntax; "+"values of @included must expand to node objects.","jsonld.SyntaxError",{code:"invalid @included value",value:Le})}Re(Oe,"@included",Ae,{propertyIsArray:true});continue}if(Ge==="@graph"&&!(me(Le)||ge(Le))){throw new he('Invalid JSON-LD syntax; "@graph" value must not be an '+"object or an array.","jsonld.SyntaxError",{code:"invalid @graph value",value:Le})}if(Ge==="@value"){We=Le;if(Je&&xe(R,1.1)){Oe["@value"]=Le}else{Re(Oe,"@value",Le,{propertyIsArray:Te.isFrame})}continue}if(Ge==="@language"){if(Le===null){continue}if(!ve(Le)&&!Te.isFrame){throw new he('Invalid JSON-LD syntax; "@language" value must be a string.',"jsonld.SyntaxError",{code:"invalid language-tagged string",value:Le})}Le=Pe(Le).map((R=>ve(R)?R.toLowerCase():R));for(const R of Le){if(ve(R)&&!R.match(ke)){if(Te.eventHandler){Me({event:{type:["JsonLdEvent"],code:"invalid @language value",level:"warning",message:"@language value must be valid BCP47.",details:{language:R}},options:Te})}}}Re(Oe,"@language",Le,{propertyIsArray:Te.isFrame});continue}if(Ge==="@direction"){if(!ve(Le)&&!Te.isFrame){throw new he('Invalid JSON-LD syntax; "@direction" value must be a string.',"jsonld.SyntaxError",{code:"invalid base direction",value:Le})}Le=Pe(Le);for(const R of Le){if(ve(R)&&R!=="ltr"&&R!=="rtl"){throw new he('Invalid JSON-LD syntax; "@direction" must be "ltr" or "rtl".',"jsonld.SyntaxError",{code:"invalid base direction",value:Le})}}Re(Oe,"@direction",Le,{propertyIsArray:Te.isFrame});continue}if(Ge==="@index"){if(!ve(Le)){throw new he('Invalid JSON-LD syntax; "@index" value must be a string.',"jsonld.SyntaxError",{code:"invalid @index value",value:Le})}Re(Oe,"@index",Le);continue}if(Ge==="@reverse"){if(!me(Le)){throw new he('Invalid JSON-LD syntax; "@reverse" value must be an object.',"jsonld.SyntaxError",{code:"invalid @reverse value",value:Le})}He=await Fe.expand({activeCtx:R,activeProperty:"@reverse",element:Le,options:Te});if("@reverse"in He){for(const R in He["@reverse"]){Re(Oe,R,He["@reverse"][R],{propertyIsArray:true})}}let pe=Oe["@reverse"]||null;for(const R in He){if(R==="@reverse"){continue}if(pe===null){pe=Oe["@reverse"]={}}Re(pe,R,[],{propertyIsArray:true});const Ae=He[R];for(let ge=0;geR==="@id"||R==="@index"))){He=Pe(He);if(!Te.isFrame){He=He.filter((R=>{const pe=Object.keys(R).length;return _dropUnsafeObject({value:R,count:pe,options:Te})!==null}))}if(He.length===0){continue}He=He.map((R=>({"@graph":Pe(R)})))}if(qe.mappings.has(je)&&qe.mappings.get(je).reverse){const R=Oe["@reverse"]=Oe["@reverse"]||{};He=Pe(He);for(let pe=0;pe_e(R,pe,{vocab:true},Te)==="@value"))){throw new he("Invalid JSON-LD syntax; nested value must be a node object.","jsonld.SyntaxError",{code:"invalid @nest value",value:ge})}await _expandObject({activeCtx:R,activeProperty:pe,expandedActiveProperty:Ae,element:ge,expandedParent:Oe,options:Te,insideList:je,typeScopedContext:Ue,typeKey:Le})}}}function _expandValue({activeCtx:R,activeProperty:pe,value:Ae,options:he}){if(Ae===null||Ae===undefined){return null}const ge=_e(R,pe,{vocab:true},he);if(ge==="@id"){return _e(R,Ae,{base:true},he)}else if(ge==="@type"){return _e(R,Ae,{vocab:true,base:true},{...he,typeExpansion:true})}const me=Be(R,pe,"@type");if((me==="@id"||ge==="@graph")&&ve(Ae)){const ge=_e(R,Ae,{base:true},he);if(ge===null&&Ae.match(Oe)){if(he.eventHandler){Me({event:{type:["JsonLdEvent"],code:"reserved @id value",level:"warning",message:"Reserved @id found.",details:{id:pe}},options:he})}}return{"@id":ge}}if(me==="@vocab"&&ve(Ae)){return{"@id":_e(R,Ae,{vocab:true,base:true},he)}}if(Se(ge)){return Ae}const ye={};if(me&&!["@id","@vocab","@none"].includes(me)){ye["@type"]=me}else if(ve(Ae)){const Ae=Be(R,pe,"@language");if(Ae!==null){ye["@language"]=Ae}const he=Be(R,pe,"@direction");if(he!==null){ye["@direction"]=he}}if(!["boolean","number","string"].includes(typeof Ae)){Ae=Ae.toString()}ye["@value"]=Ae;return ye}function _expandLanguageMap(R,pe,Ae,me){const ye=[];const be=Object.keys(pe).sort();for(const Ee of be){const be=_e(R,Ee,{vocab:true},me);let Ce=pe[Ee];if(!ge(Ce)){Ce=[Ce]}for(const R of Ce){if(R===null){continue}if(!ve(R)){throw new he("Invalid JSON-LD syntax; language map values must be strings.","jsonld.SyntaxError",{code:"invalid language map value",languageMap:pe})}const ge={"@value":R};if(be!=="@none"){if(!Ee.match(ke)){if(me.eventHandler){Me({event:{type:["JsonLdEvent"],code:"invalid @language value",level:"warning",message:"@language value must be valid BCP47.",details:{language:Ee}},options:me})}}ge["@language"]=Ee.toLowerCase()}if(Ae){ge["@direction"]=Ae}ye.push(ge)}}return ye}async function _expandIndexMap({activeCtx:R,options:pe,activeProperty:Ae,value:me,asGraph:ye,indexKey:ve,propertyIndex:Ee}){const Ie=[];const Se=Object.keys(me).sort();const xe=ve==="@type";for(let De of Se){if(xe){const Ae=Be(R,De,"@context");if(!be(Ae)){R=await Qe({activeCtx:R,localCtx:Ae,propagate:false,options:pe})}}let Se=me[De];if(!ge(Se)){Se=[Se]}Se=await Fe.expand({activeCtx:R,activeProperty:Ae,element:Se,options:pe,insideList:false,insideIndex:true});let ke;if(Ee){if(De==="@none"){ke="@none"}else{ke=_expandValue({activeCtx:R,activeProperty:ve,value:De,options:pe})}}else{ke=_e(R,De,{vocab:true},pe)}if(ve==="@id"){De=_e(R,De,{base:true},pe)}else if(xe){De=ke}for(let R of Se){if(ye&&!we(R)){R={"@graph":[R]}}if(ve==="@type"){if(ke==="@none"){}else if(R["@type"]){R["@type"]=[De].concat(R["@type"])}else{R["@type"]=[De]}}else if(Ce(R)&&!["@language","@type","@index"].includes(ve)){throw new he("Invalid JSON-LD syntax; Attempt to add illegal key to value "+`object: "${ve}".`,"jsonld.SyntaxError",{code:"invalid value object",value:R})}else if(Ee){if(ke!=="@none"){Re(R,Ee,ke,{propertyIsArray:true,prependValue:true})}}else if(ke!=="@none"&&!(ve in R)){R[ve]=De}Ie.push(R)}}return Ie}},59030:(R,pe,Ae)=>{"use strict";const{isSubjectReference:he}=Ae(13631);const{createMergedNodeMap:ge}=Ae(99618);const me={};R.exports=me;me.flatten=R=>{const pe=ge(R);const Ae=[];const me=Object.keys(pe).sort();for(let R=0;R{"use strict";const{isKeyword:he}=Ae(41866);const ge=Ae(13631);const me=Ae(86891);const ye=Ae(69450);const ve=Ae(40651);const be=Ae(11625);const{createNodeMap:Ee,mergeNodeMapGraphs:Ce}=Ae(99618);const we={};R.exports=we;we.frameMergedOrDefault=(R,pe,Ae)=>{const he={options:Ae,embedded:false,graph:"@default",graphMap:{"@default":{}},subjectStack:[],link:{},bnodeMap:{}};const ge=new ye.IdentifierIssuer("_:b");Ee(R,he.graphMap,"@default",ge);if(Ae.merged){he.graphMap["@merged"]=Ce(he.graphMap);he.graph="@merged"}he.subjects=he.graphMap[he.graph];const me=[];we.frame(he,Object.keys(he.subjects).sort(),pe,me);if(Ae.pruneBlankNodeIdentifiers){Ae.bnodesToClear=Object.keys(he.bnodeMap).filter((R=>he.bnodeMap[R].length===1))} // remove @preserve from results -oe.link={};return _cleanupPreserve(ce,oe)};he.frame=(re,ie,oe,le,de=null)=>{_validateFrame(oe);oe=oe[0];const pe=re.options;const Ae={embed:_getFrameFlag(oe,pe,"embed"),explicit:_getFrameFlag(oe,pe,"explicit"),requireAll:_getFrameFlag(oe,pe,"requireAll")};if(!re.link.hasOwnProperty(re.graph)){re.link[re.graph]={}}const ge=re.link[re.graph];const me=_filterSubjects(re,ie,oe,Ae);const ye=Object.keys(me).sort();for(const ve of ye){const ye=me[ve];if(de===null){re.uniqueEmbeds={[re.graph]:{}}}else{re.uniqueEmbeds[re.graph]=re.uniqueEmbeds[re.graph]||{}}if(Ae.embed==="@link"&&ve in ge){_addFrameOutput(le,de,ge[ve]);continue}const be={"@id":ve};if(ve.indexOf("_:")===0){ue.addValue(re.bnodeMap,ve,be,{propertyIsArray:true})}ge[ve]=be;if((Ae.embed==="@first"||Ae.embed==="@last")&&re.is11){throw new fe("Invalid JSON-LD syntax; invalid value of @embed.","jsonld.SyntaxError",{code:"invalid @embed value",frame:oe})}if(!re.embedded&&re.uniqueEmbeds[re.graph].hasOwnProperty(ve)){continue}if(re.embedded&&(Ae.embed==="@never"||_createsCircularReference(ye,re.graph,re.subjectStack))){_addFrameOutput(le,de,be);continue}if(re.embedded&&(Ae.embed=="@first"||Ae.embed=="@once")&&re.uniqueEmbeds[re.graph].hasOwnProperty(ve)){_addFrameOutput(le,de,be);continue}if(Ae.embed==="@last"){if(ve in re.uniqueEmbeds[re.graph]){_removeEmbed(re,ve)}}re.uniqueEmbeds[re.graph][ve]={parent:le,property:de};re.subjectStack.push({subject:ye,graph:re.graph});if(ve in re.graphMap){let ie=false;let se=null;if(!("@graph"in oe)){ie=re.graph!=="@merged";se={}}else{se=oe["@graph"][0];ie=!(ve==="@merged"||ve==="@default");if(!ce.isObject(se)){se={}}}if(ie){he.frame({...re,graph:ve,embedded:false},Object.keys(re.graphMap[ve]).sort(),[se],be,"@graph")}}if("@included"in oe){he.frame({...re,embedded:false},ie,oe["@included"],be,"@included")}for(const ie of Object.keys(ye).sort()){if(se(ie)){be[ie]=ue.clone(ye[ie]);if(ie==="@type"){for(const ie of ye["@type"]){if(ie.indexOf("_:")===0){ue.addValue(re.bnodeMap,ie,be,{propertyIsArray:true})}}}continue}if(Ae.explicit&&!(ie in oe)){continue}for(const se of ye[ie]){const ce=ie in oe?oe[ie]:_createImplicitFrame(Ae);if(ae.isList(se)){const ce=oe[ie]&&oe[ie][0]&&oe[ie][0]["@list"]?oe[ie][0]["@list"]:_createImplicitFrame(Ae);const le={"@list":[]};_addFrameOutput(be,ie,le);const fe=se["@list"];for(const ie of fe){if(ae.isSubjectReference(ie)){he.frame({...re,embedded:true},[ie["@id"]],ce,le,"@list")}else{_addFrameOutput(le,"@list",ue.clone(ie))}}}else if(ae.isSubjectReference(se)){he.frame({...re,embedded:true},[se["@id"]],ce,be,ie)}else if(_valueMatch(ce[0],se)){_addFrameOutput(be,ie,ue.clone(se))}}}for(const re of Object.keys(oe).sort()){if(re==="@type"){if(!ce.isObject(oe[re][0])||!("@default"in oe[re][0])){continue}}else if(se(re)){continue}const ie=oe[re][0]||{};const ae=_getFrameFlag(ie,pe,"omitDefault");if(!ae&&!(re in be)){let oe="@null";if("@default"in ie){oe=ue.clone(ie["@default"])}if(!ce.isArray(oe)){oe=[oe]}be[re]=[{"@preserve":oe}]}}for(const ie of Object.keys(oe["@reverse"]||{}).sort()){const se=oe["@reverse"][ie];for(const oe of Object.keys(re.subjects)){const ae=ue.getValues(re.subjects[oe],ie);if(ae.some((re=>re["@id"]===ve))){be["@reverse"]=be["@reverse"]||{};ue.addValue(be["@reverse"],ie,[],{propertyIsArray:true});he.frame({...re,embedded:true},[oe],se,be["@reverse"][ie],de)}}}_addFrameOutput(le,de,be);re.subjectStack.pop()}};he.cleanupNull=(re,ie)=>{if(ce.isArray(re)){const oe=re.map((re=>he.cleanupNull(re,ie)));return oe.filter((re=>re))}if(re==="@null"){return null}if(ce.isObject(re)){if("@id"in re){const oe=re["@id"];if(ie.link.hasOwnProperty(oe)){const se=ie.link[oe].indexOf(re);if(se!==-1){return ie.link[oe][se]}ie.link[oe].push(re)}else{ie.link[oe]=[re]}}for(const oe in re){re[oe]=he.cleanupNull(re[oe],ie)}}return re};function _createImplicitFrame(re){const ie={};for(const oe in re){if(re[oe]!==undefined){ie["@"+oe]=[re[oe]]}}return[ie]}function _createsCircularReference(re,ie,oe){for(let se=oe.length-1;se>=0;--se){const ae=oe[se];if(ae.graph===ie&&ae.subject["@id"]===re["@id"]){return true}}return false}function _getFrameFlag(re,ie,oe){const se="@"+oe;let ae=se in re?re[se][0]:ie[oe];if(oe==="embed"){if(ae===true){ae="@once"}else if(ae===false){ae="@never"}else if(ae!=="@always"&&ae!=="@never"&&ae!=="@link"&&ae!=="@first"&&ae!=="@last"&&ae!=="@once"){throw new fe("Invalid JSON-LD syntax; invalid value of @embed.","jsonld.SyntaxError",{code:"invalid @embed value",frame:re})}}return ae}function _validateFrame(re){if(!ce.isArray(re)||re.length!==1||!ce.isObject(re[0])){throw new fe("Invalid JSON-LD syntax; a JSON-LD frame must be a single object.","jsonld.SyntaxError",{frame:re})}if("@id"in re[0]){for(const ie of ue.asArray(re[0]["@id"])){if(!(ce.isObject(ie)||le.isAbsolute(ie))||ce.isString(ie)&&ie.indexOf("_:")===0){throw new fe("Invalid JSON-LD syntax; invalid @id in frame.","jsonld.SyntaxError",{code:"invalid frame",frame:re})}}}if("@type"in re[0]){for(const ie of ue.asArray(re[0]["@type"])){if(!(ce.isObject(ie)||le.isAbsolute(ie)||ie==="@json")||ce.isString(ie)&&ie.indexOf("_:")===0){throw new fe("Invalid JSON-LD syntax; invalid @type in frame.","jsonld.SyntaxError",{code:"invalid frame",frame:re})}}}}function _filterSubjects(re,ie,oe,se){const ae={};for(const ce of ie){const ie=re.graphMap[re.graph][ce];if(_filterSubject(re,ie,oe,se)){ae[ce]=ie}}return ae}function _filterSubject(re,ie,oe,le){let fe=true;let de=false;for(const pe in oe){let he=false;const Ae=ue.getValues(ie,pe);const ge=ue.getValues(oe,pe).length===0;if(pe==="@id"){if(ce.isEmptyObject(oe["@id"][0]||{})){he=true}else if(oe["@id"].length>=0){he=oe["@id"].includes(Ae[0])}if(!le.requireAll){return he}}else if(pe==="@type"){fe=false;if(ge){if(Ae.length>0){return false}he=true}else if(oe["@type"].length===1&&ce.isEmptyObject(oe["@type"][0])){he=Ae.length>0}else{for(const re of oe["@type"]){if(ce.isObject(re)&&"@default"in re){he=true}else{he=he||Ae.some((ie=>ie===re))}}}if(!le.requireAll){return he}}else if(se(pe)){continue}else{const ie=ue.getValues(oe,pe)[0];let se=false;if(ie){_validateFrame([ie]);se="@default"in ie}fe=false;if(Ae.length===0&&se){continue}if(Ae.length>0&&ge){return false}if(ie===undefined){if(Ae.length>0){return false}he=true}else{if(ae.isList(ie)){const oe=ie["@list"][0];if(ae.isList(Ae[0])){const ie=Ae[0]["@list"];if(ae.isValue(oe)){he=ie.some((re=>_valueMatch(oe,re)))}else if(ae.isSubject(oe)||ae.isSubjectReference(oe)){he=ie.some((ie=>_nodeMatch(re,oe,ie,le)))}}}else if(ae.isValue(ie)){he=Ae.some((re=>_valueMatch(ie,re)))}else if(ae.isSubjectReference(ie)){he=Ae.some((oe=>_nodeMatch(re,ie,oe,le)))}else if(ce.isObject(ie)){he=Ae.length>0}else{he=false}}}if(!he&&le.requireAll){return false}de=de||he}return fe||de}function _removeEmbed(re,ie){const oe=re.uniqueEmbeds[re.graph];const se=oe[ie];const ae=se.parent;const le=se.property;const fe={"@id":ie};if(ce.isArray(ae)){for(let re=0;re{const ie=Object.keys(oe);for(const se of ie){if(se in oe&&ce.isObject(oe[se].parent)&&oe[se].parent["@id"]===re){delete oe[se];removeDependents(se)}}};removeDependents(ie)} +Ae.link={};return _cleanupPreserve(me,Ae)};we.frame=(R,pe,Ae,ve,Ee=null)=>{_validateFrame(Ae);Ae=Ae[0];const Ce=R.options;const Ie={embed:_getFrameFlag(Ae,Ce,"embed"),explicit:_getFrameFlag(Ae,Ce,"explicit"),requireAll:_getFrameFlag(Ae,Ce,"requireAll")};if(!R.link.hasOwnProperty(R.graph)){R.link[R.graph]={}}const _e=R.link[R.graph];const Be=_filterSubjects(R,pe,Ae,Ie);const Se=Object.keys(Be).sort();for(const Qe of Se){const Se=Be[Qe];if(Ee===null){R.uniqueEmbeds={[R.graph]:{}}}else{R.uniqueEmbeds[R.graph]=R.uniqueEmbeds[R.graph]||{}}if(Ie.embed==="@link"&&Qe in _e){_addFrameOutput(ve,Ee,_e[Qe]);continue}const xe={"@id":Qe};if(Qe.indexOf("_:")===0){ye.addValue(R.bnodeMap,Qe,xe,{propertyIsArray:true})}_e[Qe]=xe;if((Ie.embed==="@first"||Ie.embed==="@last")&&R.is11){throw new be("Invalid JSON-LD syntax; invalid value of @embed.","jsonld.SyntaxError",{code:"invalid @embed value",frame:Ae})}if(!R.embedded&&R.uniqueEmbeds[R.graph].hasOwnProperty(Qe)){continue}if(R.embedded&&(Ie.embed==="@never"||_createsCircularReference(Se,R.graph,R.subjectStack))){_addFrameOutput(ve,Ee,xe);continue}if(R.embedded&&(Ie.embed=="@first"||Ie.embed=="@once")&&R.uniqueEmbeds[R.graph].hasOwnProperty(Qe)){_addFrameOutput(ve,Ee,xe);continue}if(Ie.embed==="@last"){if(Qe in R.uniqueEmbeds[R.graph]){_removeEmbed(R,Qe)}}R.uniqueEmbeds[R.graph][Qe]={parent:ve,property:Ee};R.subjectStack.push({subject:Se,graph:R.graph});if(Qe in R.graphMap){let pe=false;let he=null;if(!("@graph"in Ae)){pe=R.graph!=="@merged";he={}}else{he=Ae["@graph"][0];pe=!(Qe==="@merged"||Qe==="@default");if(!me.isObject(he)){he={}}}if(pe){we.frame({...R,graph:Qe,embedded:false},Object.keys(R.graphMap[Qe]).sort(),[he],xe,"@graph")}}if("@included"in Ae){we.frame({...R,embedded:false},pe,Ae["@included"],xe,"@included")}for(const pe of Object.keys(Se).sort()){if(he(pe)){xe[pe]=ye.clone(Se[pe]);if(pe==="@type"){for(const pe of Se["@type"]){if(pe.indexOf("_:")===0){ye.addValue(R.bnodeMap,pe,xe,{propertyIsArray:true})}}}continue}if(Ie.explicit&&!(pe in Ae)){continue}for(const he of Se[pe]){const me=pe in Ae?Ae[pe]:_createImplicitFrame(Ie);if(ge.isList(he)){const me=Ae[pe]&&Ae[pe][0]&&Ae[pe][0]["@list"]?Ae[pe][0]["@list"]:_createImplicitFrame(Ie);const ve={"@list":[]};_addFrameOutput(xe,pe,ve);const be=he["@list"];for(const pe of be){if(ge.isSubjectReference(pe)){we.frame({...R,embedded:true},[pe["@id"]],me,ve,"@list")}else{_addFrameOutput(ve,"@list",ye.clone(pe))}}}else if(ge.isSubjectReference(he)){we.frame({...R,embedded:true},[he["@id"]],me,xe,pe)}else if(_valueMatch(me[0],he)){_addFrameOutput(xe,pe,ye.clone(he))}}}for(const R of Object.keys(Ae).sort()){if(R==="@type"){if(!me.isObject(Ae[R][0])||!("@default"in Ae[R][0])){continue}}else if(he(R)){continue}const pe=Ae[R][0]||{};const ge=_getFrameFlag(pe,Ce,"omitDefault");if(!ge&&!(R in xe)){let Ae="@null";if("@default"in pe){Ae=ye.clone(pe["@default"])}if(!me.isArray(Ae)){Ae=[Ae]}xe[R]=[{"@preserve":Ae}]}}for(const pe of Object.keys(Ae["@reverse"]||{}).sort()){const he=Ae["@reverse"][pe];for(const Ae of Object.keys(R.subjects)){const ge=ye.getValues(R.subjects[Ae],pe);if(ge.some((R=>R["@id"]===Qe))){xe["@reverse"]=xe["@reverse"]||{};ye.addValue(xe["@reverse"],pe,[],{propertyIsArray:true});we.frame({...R,embedded:true},[Ae],he,xe["@reverse"][pe],Ee)}}}_addFrameOutput(ve,Ee,xe);R.subjectStack.pop()}};we.cleanupNull=(R,pe)=>{if(me.isArray(R)){const Ae=R.map((R=>we.cleanupNull(R,pe)));return Ae.filter((R=>R))}if(R==="@null"){return null}if(me.isObject(R)){if("@id"in R){const Ae=R["@id"];if(pe.link.hasOwnProperty(Ae)){const he=pe.link[Ae].indexOf(R);if(he!==-1){return pe.link[Ae][he]}pe.link[Ae].push(R)}else{pe.link[Ae]=[R]}}for(const Ae in R){R[Ae]=we.cleanupNull(R[Ae],pe)}}return R};function _createImplicitFrame(R){const pe={};for(const Ae in R){if(R[Ae]!==undefined){pe["@"+Ae]=[R[Ae]]}}return[pe]}function _createsCircularReference(R,pe,Ae){for(let he=Ae.length-1;he>=0;--he){const ge=Ae[he];if(ge.graph===pe&&ge.subject["@id"]===R["@id"]){return true}}return false}function _getFrameFlag(R,pe,Ae){const he="@"+Ae;let ge=he in R?R[he][0]:pe[Ae];if(Ae==="embed"){if(ge===true){ge="@once"}else if(ge===false){ge="@never"}else if(ge!=="@always"&&ge!=="@never"&&ge!=="@link"&&ge!=="@first"&&ge!=="@last"&&ge!=="@once"){throw new be("Invalid JSON-LD syntax; invalid value of @embed.","jsonld.SyntaxError",{code:"invalid @embed value",frame:R})}}return ge}function _validateFrame(R){if(!me.isArray(R)||R.length!==1||!me.isObject(R[0])){throw new be("Invalid JSON-LD syntax; a JSON-LD frame must be a single object.","jsonld.SyntaxError",{frame:R})}if("@id"in R[0]){for(const pe of ye.asArray(R[0]["@id"])){if(!(me.isObject(pe)||ve.isAbsolute(pe))||me.isString(pe)&&pe.indexOf("_:")===0){throw new be("Invalid JSON-LD syntax; invalid @id in frame.","jsonld.SyntaxError",{code:"invalid frame",frame:R})}}}if("@type"in R[0]){for(const pe of ye.asArray(R[0]["@type"])){if(!(me.isObject(pe)||ve.isAbsolute(pe)||pe==="@json")||me.isString(pe)&&pe.indexOf("_:")===0){throw new be("Invalid JSON-LD syntax; invalid @type in frame.","jsonld.SyntaxError",{code:"invalid frame",frame:R})}}}}function _filterSubjects(R,pe,Ae,he){const ge={};for(const me of pe){const pe=R.graphMap[R.graph][me];if(_filterSubject(R,pe,Ae,he)){ge[me]=pe}}return ge}function _filterSubject(R,pe,Ae,ve){let be=true;let Ee=false;for(const Ce in Ae){let we=false;const Ie=ye.getValues(pe,Ce);const _e=ye.getValues(Ae,Ce).length===0;if(Ce==="@id"){if(me.isEmptyObject(Ae["@id"][0]||{})){we=true}else if(Ae["@id"].length>=0){we=Ae["@id"].includes(Ie[0])}if(!ve.requireAll){return we}}else if(Ce==="@type"){be=false;if(_e){if(Ie.length>0){return false}we=true}else if(Ae["@type"].length===1&&me.isEmptyObject(Ae["@type"][0])){we=Ie.length>0}else{for(const R of Ae["@type"]){if(me.isObject(R)&&"@default"in R){we=true}else{we=we||Ie.some((pe=>pe===R))}}}if(!ve.requireAll){return we}}else if(he(Ce)){continue}else{const pe=ye.getValues(Ae,Ce)[0];let he=false;if(pe){_validateFrame([pe]);he="@default"in pe}be=false;if(Ie.length===0&&he){continue}if(Ie.length>0&&_e){return false}if(pe===undefined){if(Ie.length>0){return false}we=true}else{if(ge.isList(pe)){const Ae=pe["@list"][0];if(ge.isList(Ie[0])){const pe=Ie[0]["@list"];if(ge.isValue(Ae)){we=pe.some((R=>_valueMatch(Ae,R)))}else if(ge.isSubject(Ae)||ge.isSubjectReference(Ae)){we=pe.some((pe=>_nodeMatch(R,Ae,pe,ve)))}}}else if(ge.isValue(pe)){we=Ie.some((R=>_valueMatch(pe,R)))}else if(ge.isSubjectReference(pe)){we=Ie.some((Ae=>_nodeMatch(R,pe,Ae,ve)))}else if(me.isObject(pe)){we=Ie.length>0}else{we=false}}}if(!we&&ve.requireAll){return false}Ee=Ee||we}return be||Ee}function _removeEmbed(R,pe){const Ae=R.uniqueEmbeds[R.graph];const he=Ae[pe];const ge=he.parent;const ve=he.property;const be={"@id":pe};if(me.isArray(ge)){for(let R=0;R{const pe=Object.keys(Ae);for(const he of pe){if(he in Ae&&me.isObject(Ae[he].parent)&&Ae[he].parent["@id"]===R){delete Ae[he];removeDependents(he)}}};removeDependents(pe)} /** * Removes the @preserve keywords from expanded result of framing. * @@ -82,9 +70,9 @@ oe.link={};return _cleanupPreserve(ce,oe)};he.frame=(re,ie,oe,le,de=null)=>{_val * @param options the framing options used. * * @return the resulting output. - */function _cleanupPreserve(re,ie){if(ce.isArray(re)){return re.map((re=>_cleanupPreserve(re,ie)))}if(ce.isObject(re)){ + */function _cleanupPreserve(R,pe){if(me.isArray(R)){return R.map((R=>_cleanupPreserve(R,pe)))}if(me.isObject(R)){ // remove @preserve -if("@preserve"in re){return re["@preserve"][0]}if(ae.isValue(re)){return re}if(ae.isList(re)){re["@list"]=_cleanupPreserve(re["@list"],ie);return re}if("@id"in re){const oe=re["@id"];if(ie.link.hasOwnProperty(oe)){const se=ie.link[oe].indexOf(re);if(se!==-1){return ie.link[oe][se]}ie.link[oe].push(re)}else{ie.link[oe]=[re]}}for(const oe in re){if(oe==="@id"&&ie.bnodesToClear.includes(re[oe])){delete re["@id"];continue}re[oe]=_cleanupPreserve(re[oe],ie)}}return re}function _addFrameOutput(re,ie,oe){if(ce.isObject(re)){ue.addValue(re,ie,oe,{propertyIsArray:true})}else{re.push(oe)}}function _nodeMatch(re,ie,oe,se){if(!("@id"in oe)){return false}const ae=re.subjects[oe["@id"]];return ae&&_filterSubject(re,ae,ie,se)}function _valueMatch(re,ie){const oe=ie["@value"];const se=ie["@type"];const ae=ie["@language"];const ue=re["@value"]?ce.isArray(re["@value"])?re["@value"]:[re["@value"]]:[];const le=re["@type"]?ce.isArray(re["@type"])?re["@type"]:[re["@type"]]:[];const fe=re["@language"]?ce.isArray(re["@language"])?re["@language"]:[re["@language"]]:[];if(ue.length===0&&le.length===0&&fe.length===0){return true}if(!(ue.includes(oe)||ce.isEmptyObject(ue[0]))){return false}if(!(!se&&le.length===0||le.includes(se)||se&&ce.isEmptyObject(le[0]))){return false}if(!(!ae&&fe.length===0||fe.includes(ae)||ae&&ce.isEmptyObject(fe[0]))){return false}return true}},10999:(re,ie,oe)=>{"use strict";const se=oe(11625);const ae=oe(13631);const ce=oe(86891);const{REGEX_BCP47:ue,addValue:le}=oe(69450);const{handleEvent:fe}=oe(75836);const{RDF_LIST:de,RDF_FIRST:pe,RDF_REST:he,RDF_NIL:Ae,RDF_TYPE:ge,RDF_JSON_LITERAL:me,XSD_BOOLEAN:ye,XSD_DOUBLE:ve,XSD_INTEGER:be,XSD_STRING:we}=oe(18441);const _e={};re.exports=_e;_e.fromRDF=async(re,ie)=>{const oe={};const se={"@default":oe};const ue={};const{useRdfType:fe=false,useNativeTypes:me=false,rdfDirection:ye=null}=ie;for(const ae of re){const re=ae.graph.termType==="DefaultGraph"?"@default":ae.graph.value;if(!(re in se)){se[re]={}}if(re!=="@default"&&!(re in oe)){oe[re]={"@id":re}}const ce=se[re];const de=ae.subject.value;const pe=ae.predicate.value;const he=ae.object;if(!(de in ce)){ce[de]={"@id":de}}const ve=ce[de];const be=he.termType.endsWith("Node");if(be&&!(he.value in ce)){ce[he.value]={"@id":he.value}}if(pe===ge&&!fe&&be){le(ve,"@type",he.value,{propertyIsArray:true});continue}const we=_RDFToObject(he,me,ye,ie);le(ve,pe,we,{propertyIsArray:true});if(be){if(he.value===Ae){const re=ce[he.value];if(!("usages"in re)){re.usages=[]}re.usages.push({node:ve,property:pe,value:we})}else if(he.value in ue){ue[he.value]=false}else{ue[he.value]={node:ve,property:pe,value:we}}}}for(const re in se){const ie=se[re];if(!(Ae in ie)){continue}const oe=ie[Ae];if(!oe.usages){continue}for(let re of oe.usages){let oe=re.node;let se=re.property;let le=re.value;const fe=[];const Ae=[];let ge=Object.keys(oe).length;while(se===he&&ce.isObject(ue[oe["@id"]])&&ce.isArray(oe[pe])&&oe[pe].length===1&&ce.isArray(oe[he])&&oe[he].length===1&&(ge===3||ge===4&&ce.isArray(oe["@type"])&&oe["@type"].length===1&&oe["@type"][0]===de)){fe.push(oe[pe][0]);Ae.push(oe["@id"]);re=ue[oe["@id"]];oe=re.node;se=re.property;le=re.value;ge=Object.keys(oe).length;if(!ae.isBlankNode(oe)){break}}delete le["@id"];le["@list"]=fe.reverse();for(const re of Ae){delete ie[re]}}delete oe.usages}const ve=[];const be=Object.keys(oe).sort();for(const re of be){const ie=oe[re];if(re in se){const oe=ie["@graph"]=[];const ce=se[re];const ue=Object.keys(ce).sort();for(const re of ue){const ie=ce[re];if(!ae.isSubjectReference(ie)){oe.push(ie)}}}if(!ae.isSubjectReference(ie)){ve.push(ie)}}return ve};function _RDFToObject(re,ie,oe,ae){if(re.termType.endsWith("Node")){return{"@id":re.value}}const le={"@value":re.value};if(re.language){if(!re.language.match(ue)){if(ae.eventHandler){fe({event:{type:["JsonLdEvent"],code:"invalid @language value",level:"warning",message:"@language value must be valid BCP47.",details:{language:re.language}},options:ae})}}le["@language"]=re.language}else{let de=re.datatype.value;if(!de){de=we}if(de===me){de="@json";try{le["@value"]=JSON.parse(le["@value"])}catch(re){throw new se("JSON literal could not be parsed.","jsonld.InvalidJsonLiteral",{code:"invalid JSON literal",value:le["@value"],cause:re})}}if(ie){if(de===ye){if(le["@value"]==="true"){le["@value"]=true}else if(le["@value"]==="false"){le["@value"]=false}}else if(ce.isNumeric(le["@value"])){if(de===be){const re=parseInt(le["@value"],10);if(re.toFixed(0)===le["@value"]){le["@value"]=re}}else if(de===ve){le["@value"]=parseFloat(le["@value"])}}if(![ye,be,ve,we].includes(de)){le["@type"]=de}}else if(oe==="i18n-datatype"&&de.startsWith("https://www.w3.org/ns/i18n#")){const[,re,ie]=de.split(/[#_]/);if(re.length>0){le["@language"]=re;if(!re.match(ue)){if(ae.eventHandler){fe({event:{type:["JsonLdEvent"],code:"invalid @language value",level:"warning",message:"@language value must be valid BCP47.",details:{language:re}},options:ae})}}}le["@direction"]=ie}else if(de!==we){le["@type"]=de}}return le}},13631:(re,ie,oe)=>{"use strict";const se=oe(86891);const ae={};re.exports=ae;ae.isSubject=re=>{if(se.isObject(re)&&!("@value"in re||"@set"in re||"@list"in re)){const ie=Object.keys(re).length;return ie>1||!("@id"in re)}return false};ae.isSubjectReference=re=>se.isObject(re)&&Object.keys(re).length===1&&"@id"in re;ae.isValue=re=>se.isObject(re)&&"@value"in re;ae.isList=re=>se.isObject(re)&&"@list"in re;ae.isGraph=re=>se.isObject(re)&&"@graph"in re&&Object.keys(re).filter((re=>re!=="@id"&&re!=="@index")).length===1;ae.isSimpleGraph=re=>ae.isGraph(re)&&!("@id"in re);ae.isBlankNode=re=>{if(se.isObject(re)){if("@id"in re){const ie=re["@id"];return!se.isString(ie)||ie.indexOf("_:")===0}return Object.keys(re).length===0||!("@value"in re||"@set"in re||"@list"in re)}return false}},11171:(re,ie,oe)=>{re.exports=oe(63156)},63156:(re,ie,oe)=>{ +if("@preserve"in R){return R["@preserve"][0]}if(ge.isValue(R)){return R}if(ge.isList(R)){R["@list"]=_cleanupPreserve(R["@list"],pe);return R}if("@id"in R){const Ae=R["@id"];if(pe.link.hasOwnProperty(Ae)){const he=pe.link[Ae].indexOf(R);if(he!==-1){return pe.link[Ae][he]}pe.link[Ae].push(R)}else{pe.link[Ae]=[R]}}for(const Ae in R){if(Ae==="@id"&&pe.bnodesToClear.includes(R[Ae])){delete R["@id"];continue}R[Ae]=_cleanupPreserve(R[Ae],pe)}}return R}function _addFrameOutput(R,pe,Ae){if(me.isObject(R)){ye.addValue(R,pe,Ae,{propertyIsArray:true})}else{R.push(Ae)}}function _nodeMatch(R,pe,Ae,he){if(!("@id"in Ae)){return false}const ge=R.subjects[Ae["@id"]];return ge&&_filterSubject(R,ge,pe,he)}function _valueMatch(R,pe){const Ae=pe["@value"];const he=pe["@type"];const ge=pe["@language"];const ye=R["@value"]?me.isArray(R["@value"])?R["@value"]:[R["@value"]]:[];const ve=R["@type"]?me.isArray(R["@type"])?R["@type"]:[R["@type"]]:[];const be=R["@language"]?me.isArray(R["@language"])?R["@language"]:[R["@language"]]:[];if(ye.length===0&&ve.length===0&&be.length===0){return true}if(!(ye.includes(Ae)||me.isEmptyObject(ye[0]))){return false}if(!(!he&&ve.length===0||ve.includes(he)||he&&me.isEmptyObject(ve[0]))){return false}if(!(!ge&&be.length===0||be.includes(ge)||ge&&me.isEmptyObject(be[0]))){return false}return true}},10999:(R,pe,Ae)=>{"use strict";const he=Ae(11625);const ge=Ae(13631);const me=Ae(86891);const{REGEX_BCP47:ye,addValue:ve}=Ae(69450);const{handleEvent:be}=Ae(75836);const{RDF_LIST:Ee,RDF_FIRST:Ce,RDF_REST:we,RDF_NIL:Ie,RDF_TYPE:_e,RDF_JSON_LITERAL:Be,XSD_BOOLEAN:Se,XSD_DOUBLE:Qe,XSD_INTEGER:xe,XSD_STRING:De}=Ae(18441);const ke={};R.exports=ke;ke.fromRDF=async(R,pe)=>{const{useRdfType:Ae=false,useNativeTypes:ye=false,rdfDirection:be=null}=pe;const Be={};const Se={"@default":Be};const Qe={};if(be){if(be==="compound-literal"){throw new he("Unsupported rdfDirection value.","jsonld.InvalidRdfDirection",{value:be})}else if(be!=="i18n-datatype"){throw new he("Unknown rdfDirection value.","jsonld.InvalidRdfDirection",{value:be})}}for(const he of R){const R=he.graph.termType==="DefaultGraph"?"@default":he.graph.value;if(!(R in Se)){Se[R]={}}if(R!=="@default"&&!(R in Be)){Be[R]={"@id":R}}const ge=Se[R];const me=he.subject.value;const Ee=he.predicate.value;const Ce=he.object;if(!(me in ge)){ge[me]={"@id":me}}const we=ge[me];const xe=Ce.termType.endsWith("Node");if(xe&&!(Ce.value in ge)){ge[Ce.value]={"@id":Ce.value}}if(Ee===_e&&!Ae&&xe){ve(we,"@type",Ce.value,{propertyIsArray:true});continue}const De=_RDFToObject(Ce,ye,be,pe);ve(we,Ee,De,{propertyIsArray:true});if(xe){if(Ce.value===Ie){const R=ge[Ce.value];if(!("usages"in R)){R.usages=[]}R.usages.push({node:we,property:Ee,value:De})}else if(Ce.value in Qe){Qe[Ce.value]=false}else{Qe[Ce.value]={node:we,property:Ee,value:De}}}}for(const R in Se){const pe=Se[R];if(!(Ie in pe)){continue}const Ae=pe[Ie];if(!Ae.usages){continue}for(let R of Ae.usages){let Ae=R.node;let he=R.property;let ye=R.value;const ve=[];const be=[];let Ie=Object.keys(Ae).length;while(he===we&&me.isObject(Qe[Ae["@id"]])&&me.isArray(Ae[Ce])&&Ae[Ce].length===1&&me.isArray(Ae[we])&&Ae[we].length===1&&(Ie===3||Ie===4&&me.isArray(Ae["@type"])&&Ae["@type"].length===1&&Ae["@type"][0]===Ee)){ve.push(Ae[Ce][0]);be.push(Ae["@id"]);R=Qe[Ae["@id"]];Ae=R.node;he=R.property;ye=R.value;Ie=Object.keys(Ae).length;if(!ge.isBlankNode(Ae)){break}}delete ye["@id"];ye["@list"]=ve.reverse();for(const R of be){delete pe[R]}}delete Ae.usages}const xe=[];const De=Object.keys(Be).sort();for(const R of De){const pe=Be[R];if(R in Se){const Ae=pe["@graph"]=[];const he=Se[R];const me=Object.keys(he).sort();for(const R of me){const pe=he[R];if(!ge.isSubjectReference(pe)){Ae.push(pe)}}}if(!ge.isSubjectReference(pe)){xe.push(pe)}}return xe};function _RDFToObject(R,pe,Ae,ge){if(R.termType.endsWith("Node")){return{"@id":R.value}}const ve={"@value":R.value};if(R.language){if(!R.language.match(ye)){if(ge.eventHandler){be({event:{type:["JsonLdEvent"],code:"invalid @language value",level:"warning",message:"@language value must be valid BCP47.",details:{language:R.language}},options:ge})}}ve["@language"]=R.language}else{let Ee=R.datatype.value;if(!Ee){Ee=De}if(Ee===Be){Ee="@json";try{ve["@value"]=JSON.parse(ve["@value"])}catch(R){throw new he("JSON literal could not be parsed.","jsonld.InvalidJsonLiteral",{code:"invalid JSON literal",value:ve["@value"],cause:R})}}if(pe){if(Ee===Se){if(ve["@value"]==="true"){ve["@value"]=true}else if(ve["@value"]==="false"){ve["@value"]=false}}else if(me.isNumeric(ve["@value"])){if(Ee===xe){const R=parseInt(ve["@value"],10);if(R.toFixed(0)===ve["@value"]){ve["@value"]=R}}else if(Ee===Qe){ve["@value"]=parseFloat(ve["@value"])}}if(![Se,xe,Qe,De].includes(Ee)){ve["@type"]=Ee}}else if(Ae==="i18n-datatype"&&Ee.startsWith("https://www.w3.org/ns/i18n#")){const[,R,pe]=Ee.split(/[#_]/);if(R.length>0){ve["@language"]=R;if(!R.match(ye)){if(ge.eventHandler){be({event:{type:["JsonLdEvent"],code:"invalid @language value",level:"warning",message:"@language value must be valid BCP47.",details:{language:R}},options:ge})}}}ve["@direction"]=pe}else if(Ee!==De){ve["@type"]=Ee}}return ve}},13631:(R,pe,Ae)=>{"use strict";const he=Ae(86891);const ge={};R.exports=ge;ge.isSubject=R=>{if(he.isObject(R)&&!("@value"in R||"@set"in R||"@list"in R)){const pe=Object.keys(R).length;return pe>1||!("@id"in R)}return false};ge.isSubjectReference=R=>he.isObject(R)&&Object.keys(R).length===1&&"@id"in R;ge.isValue=R=>he.isObject(R)&&"@value"in R;ge.isList=R=>he.isObject(R)&&"@list"in R;ge.isGraph=R=>he.isObject(R)&&"@graph"in R&&Object.keys(R).filter((R=>R!=="@id"&&R!=="@index")).length===1;ge.isSimpleGraph=R=>ge.isGraph(R)&&!("@id"in R);ge.isBlankNode=R=>{if(he.isObject(R)){if("@id"in R){const pe=R["@id"];return!he.isString(pe)||pe.indexOf("_:")===0}return Object.keys(R).length===0||!("@value"in R||"@set"in R||"@list"in R)}return false}},11171:(R,pe,Ae)=>{R.exports=Ae(63156)},63156:(R,pe,Ae)=>{ /** * A JavaScript implementation of the JSON-LD API. * @@ -120,7 +108,7 @@ if("@preserve"in re){return re["@preserve"][0]}if(ae.isValue(re)){return re}if(a * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -const se=oe(43);const ae=oe(8631);const ce=oe(69450);const ue=oe(70756);const le=ce.IdentifierIssuer;const fe=oe(11625);const de=oe(51370);const pe=oe(13611);const{expand:he}=oe(99969);const{flatten:Ae}=oe(59030);const{fromRDF:ge}=oe(10999);const{toRDF:me}=oe(29760);const{frameMergedOrDefault:ye,cleanupNull:ve}=oe(36661);const{isArray:be,isObject:we,isString:_e}=oe(86891);const{isSubjectReference:Ee}=oe(13631);const{expandIri:Ce,getInitialContext:Ie,process:Se,processingMode:Be}=oe(41866);const{compact:xe,compactIri:ke}=oe(63073);const{createNodeMap:Oe,createMergedNodeMap:De,mergeNodeMaps:Pe}=oe(99618);const{logEventHandler:Te,logWarningEventHandler:Qe,safeEventHandler:Re,setDefaultEventHandler:Me,setupEventHandler:Ne,strictEventHandler:je,unhandledEventHandler:Le}=oe(75836);const wrapper=function(re){const ie={};const Fe=100;const Ue=new de({max:Fe});re.compact=async function(ie,oe,se){if(arguments.length<2){throw new TypeError("Could not compact, too few arguments.")}if(oe===null){throw new fe("The compaction context must not be null.","jsonld.CompactError",{code:"invalid local context"})}if(ie===null){return null}se=_setDefaults(se,{base:_e(ie)?ie:"",compactArrays:true,compactToRelative:true,graph:false,skipExpansion:false,link:false,issuer:new le("_:b"),contextResolver:new ue({sharedCache:Ue})});if(se.link){se.skipExpansion=true}if(!se.compactToRelative){delete se.base}let ae;if(se.skipExpansion){ae=ie}else{ae=await re.expand(ie,se)}const de=await re.processContext(Ie(se),oe,se);let pe=await xe({activeCtx:de,element:ae,options:se});if(se.compactArrays&&!se.graph&&be(pe)){if(pe.length===1){pe=pe[0]}else if(pe.length===0){pe={}}}else if(se.graph&&we(pe)){pe=[pe]}if(we(oe)&&"@context"in oe){oe=oe["@context"]}oe=ce.clone(oe);if(!be(oe)){oe=[oe]}const he=oe;oe=[];for(let re=0;re0){oe.push(he[re])}}const Ae=oe.length>0;if(oe.length===1){oe=oe[0]}if(be(pe)){const re=ke({activeCtx:de,iri:"@graph",relativeTo:{vocab:true}});const ie=pe;pe={};if(Ae){pe["@context"]=oe}pe[re]=ie}else if(we(pe)&&Ae){const re=pe;pe={"@context":oe};for(const ie in re){pe[ie]=re[ie]}}return pe};re.expand=async function(ie,oe){if(arguments.length<1){throw new TypeError("Could not expand, too few arguments.")}oe=_setDefaults(oe,{keepFreeFloatingNodes:false,contextResolver:new ue({sharedCache:Ue})});const se={};const ae=[];if("expandContext"in oe){const re=ce.clone(oe.expandContext);if(we(re)&&"@context"in re){se.expandContext=re}else{se.expandContext={"@context":re}}ae.push(se.expandContext)}let le;if(!_e(ie)){se.input=ce.clone(ie)}else{const ce=await re.get(ie,oe);le=ce.documentUrl;se.input=ce.document;if(ce.contextUrl){se.remoteContext={"@context":ce.contextUrl};ae.push(se.remoteContext)}}if(!("base"in oe)){oe.base=le||""}let fe=Ie(oe);for(const re of ae){fe=await Se({activeCtx:fe,localCtx:re,options:oe})}let de=await he({activeCtx:fe,element:se.input,options:oe});if(we(de)&&"@graph"in de&&Object.keys(de).length===1){de=de["@graph"]}else if(de===null){de=[]}if(!be(de)){de=[de]}return de};re.flatten=async function(ie,oe,se){if(arguments.length<1){return new TypeError("Could not flatten, too few arguments.")}if(typeof oe==="function"){oe=null}else{oe=oe||null}se=_setDefaults(se,{base:_e(ie)?ie:"",contextResolver:new ue({sharedCache:Ue})});const ae=await re.expand(ie,se);const ce=Ae(ae);if(oe===null){return ce}se.graph=true;se.skipExpansion=true;const le=await re.compact(ce,oe,se);return le};re.frame=async function(ie,oe,se){if(arguments.length<2){throw new TypeError("Could not frame, too few arguments.")}se=_setDefaults(se,{base:_e(ie)?ie:"",embed:"@once",explicit:false,requireAll:false,omitDefault:false,bnodesToClear:[],contextResolver:new ue({sharedCache:Ue})});if(_e(oe)){const ie=await re.get(oe,se);oe=ie.document;if(ie.contextUrl){let re=oe["@context"];if(!re){re=ie.contextUrl}else if(be(re)){re.push(ie.contextUrl)}else{re=[re,ie.contextUrl]}oe["@context"]=re}}const ae=oe?oe["@context"]||{}:{};const ce=await re.processContext(Ie(se),ae,se);if(!se.hasOwnProperty("omitGraph")){se.omitGraph=Be(ce,1.1)}if(!se.hasOwnProperty("pruneBlankNodeIdentifiers")){se.pruneBlankNodeIdentifiers=Be(ce,1.1)}const le=await re.expand(ie,se);const fe={...se};fe.isFrame=true;fe.keepFreeFloatingNodes=true;const de=await re.expand(oe,fe);const pe=Object.keys(oe).map((re=>Ce(ce,re,{vocab:true})));fe.merged=!pe.includes("@graph");fe.is11=Be(ce,1.1);const he=ye(le,de,fe);fe.graph=!se.omitGraph;fe.skipExpansion=true;fe.link={};fe.framing=true;let Ae=await re.compact(he,ae,fe);fe.link={};Ae=ve(Ae,fe);return Ae};re.link=async function(ie,oe,se){const ae={};if(oe){ae["@context"]=oe}ae["@embed"]="@link";return re.frame(ie,ae,se)};re.normalize=re.canonize=async function(ie,oe){if(arguments.length<1){throw new TypeError("Could not canonize, too few arguments.")}oe=_setDefaults(oe,{base:_e(ie)?ie:null,algorithm:"URDNA2015",skipExpansion:false,safe:true,contextResolver:new ue({sharedCache:Ue})});if("inputFormat"in oe){if(oe.inputFormat!=="application/n-quads"&&oe.inputFormat!=="application/nquads"){throw new fe("Unknown canonicalization input format.","jsonld.CanonizeError")}const re=pe.parse(ie);return se.canonize(re,oe)}const ae={...oe};delete ae.format;ae.produceGeneralizedRdf=false;const ce=await re.toRDF(ie,ae);return se.canonize(ce,oe)};re.fromRDF=async function(re,oe){if(arguments.length<1){throw new TypeError("Could not convert from RDF, too few arguments.")}oe=_setDefaults(oe,{format:_e(re)?"application/n-quads":undefined});const{format:se}=oe;let{rdfParser:ae}=oe;if(se){ae=ae||ie[se];if(!ae){throw new fe("Unknown input format.","jsonld.UnknownFormat",{format:se})}}else{ae=()=>re}const ce=await ae(re);return ge(ce,oe)};re.toRDF=async function(ie,oe){if(arguments.length<1){throw new TypeError("Could not convert to RDF, too few arguments.")}oe=_setDefaults(oe,{base:_e(ie)?ie:"",skipExpansion:false,contextResolver:new ue({sharedCache:Ue})});let se;if(oe.skipExpansion){se=ie}else{se=await re.expand(ie,oe)}const ae=me(se,oe);if(oe.format){if(oe.format==="application/n-quads"||oe.format==="application/nquads"){return pe.serialize(ae)}throw new fe("Unknown output format.","jsonld.UnknownFormat",{format:oe.format})}return ae};re.createNodeMap=async function(ie,oe){if(arguments.length<1){throw new TypeError("Could not create node map, too few arguments.")}oe=_setDefaults(oe,{base:_e(ie)?ie:"",contextResolver:new ue({sharedCache:Ue})});const se=await re.expand(ie,oe);return De(se,oe)};re.merge=async function(ie,oe,se){if(arguments.length<1){throw new TypeError("Could not merge, too few arguments.")}if(!be(ie)){throw new TypeError('Could not merge, "docs" must be an array.')}if(typeof oe==="function"){oe=null}else{oe=oe||null}se=_setDefaults(se,{contextResolver:new ue({sharedCache:Ue})});const ae=await Promise.all(ie.map((ie=>{const oe={...se};return re.expand(ie,oe)})));let fe=true;if("mergeNodes"in se){fe=se.mergeNodes}const de=se.issuer||new le("_:b");const pe={"@default":{}};for(let re=0;rere._documentLoader,set:ie=>re._documentLoader=ie});re.documentLoader=async re=>{throw new fe("Could not retrieve a JSON-LD document from the URL. URL "+"dereferencing not implemented.","jsonld.LoadDocumentError",{code:"loading document failed",url:re})};re.get=async function(ie,oe){let se;if(typeof oe.documentLoader==="function"){se=oe.documentLoader}else{se=re.documentLoader}const ae=await se(ie);try{if(!ae.document){throw new fe("No remote document found at the given URL.","jsonld.NullRemoteDocument")}if(_e(ae.document)){ae.document=JSON.parse(ae.document)}}catch(re){throw new fe("Could not retrieve a JSON-LD document from the URL.","jsonld.LoadDocumentError",{code:"loading document failed",cause:re,remoteDoc:ae})}return ae};re.processContext=async function(re,ie,oe){oe=_setDefaults(oe,{base:"",contextResolver:new ue({sharedCache:Ue})});if(ie===null){return Ie(oe)}ie=ce.clone(ie);if(!(we(ie)&&"@context"in ie)){ie={"@context":ie}}return Se({activeCtx:re,localCtx:ie,options:oe})};re.getContextValue=oe(41866).getContextValue;re.documentLoaders={};re.useDocumentLoader=function(ie){if(!(ie in re.documentLoaders)){throw new fe('Unknown document loader type: "'+ie+'"',"jsonld.UnknownDocumentLoader",{type:ie})}re.documentLoader=re.documentLoaders[ie].apply(re,Array.prototype.slice.call(arguments,1))};re.registerRDFParser=function(re,oe){ie[re]=oe};re.unregisterRDFParser=function(re){delete ie[re]};re.registerRDFParser("application/n-quads",pe.parse);re.registerRDFParser("application/nquads",pe.parse);re.url=oe(40651);re.logEventHandler=Te;re.logWarningEventHandler=Qe;re.safeEventHandler=Re;re.setDefaultEventHandler=Me;re.strictEventHandler=je;re.unhandledEventHandler=Le;re.util=ce;Object.assign(re,ce);re.promises=re;re.RequestQueue=oe(99241);re.JsonLdProcessor=oe(21677)(re);ae.setupGlobals(re);ae.setupDocumentLoaders(re);function _setDefaults(ie,{documentLoader:oe=re.documentLoader,...se}){if(ie&&"compactionMap"in ie){throw new fe('"compactionMap" not supported.',"jsonld.OptionsError")}if(ie&&"expansionMap"in ie){throw new fe('"expansionMap" not supported.',"jsonld.OptionsError")}return Object.assign({},{documentLoader:oe},se,ie,{eventHandler:Ne({options:ie})})}return re};const factory=function(){return wrapper((function(){return factory()}))};wrapper(factory);re.exports=factory},99618:(re,ie,oe)=>{"use strict";const{isKeyword:se}=oe(41866);const ae=oe(13631);const ce=oe(86891);const ue=oe(69450);const le=oe(11625);const fe={};re.exports=fe;fe.createMergedNodeMap=(re,ie)=>{ie=ie||{};const oe=ie.issuer||new ue.IdentifierIssuer("_:b");const se={"@default":{}};fe.createNodeMap(re,se,"@default",oe);return fe.mergeNodeMaps(se)};fe.createNodeMap=(re,ie,oe,de,pe,he)=>{if(ce.isArray(re)){for(const se of re){fe.createNodeMap(se,ie,oe,de,undefined,he)}return}if(!ce.isObject(re)){if(he){he.push(re)}return}if(ae.isValue(re)){if("@type"in re){let ie=re["@type"];if(ie.indexOf("_:")===0){re["@type"]=ie=de.getId(ie)}}if(he){he.push(re)}return}else if(he&&ae.isList(re)){const se=[];fe.createNodeMap(re["@list"],ie,oe,de,pe,se);he.push({"@list":se});return}if("@type"in re){const ie=re["@type"];for(const re of ie){if(re.indexOf("_:")===0){de.getId(re)}}}if(ce.isUndefined(pe)){pe=ae.isBlankNode(re)?de.getId(re["@id"]):re["@id"]}if(he){he.push({"@id":pe})}const Ae=ie[oe];const ge=Ae[pe]=Ae[pe]||{};ge["@id"]=pe;const me=Object.keys(re).sort();for(let ce of me){if(ce==="@id"){continue}if(ce==="@reverse"){const se={"@id":pe};const ce=re["@reverse"];for(const re in ce){const le=ce[re];for(const ce of le){let le=ce["@id"];if(ae.isBlankNode(ce)){le=de.getId(le)}fe.createNodeMap(ce,ie,oe,de,le);ue.addValue(Ae[le],re,se,{propertyIsArray:true,allowDuplicate:false})}}continue}if(ce==="@graph"){if(!(pe in ie)){ie[pe]={}}fe.createNodeMap(re[ce],ie,pe,de);continue}if(ce==="@included"){fe.createNodeMap(re[ce],ie,oe,de);continue}if(ce!=="@type"&&se(ce)){if(ce==="@index"&&ce in ge&&(re[ce]!==ge[ce]||re[ce]["@id"]!==ge[ce]["@id"])){throw new le("Invalid JSON-LD syntax; conflicting @index property detected.","jsonld.SyntaxError",{code:"conflicting indexes",subject:ge})}ge[ce]=re[ce];continue}const he=re[ce];if(ce.indexOf("_:")===0){ce=de.getId(ce)}if(he.length===0){ue.addValue(ge,ce,[],{propertyIsArray:true});continue}for(let re of he){if(ce==="@type"){re=re.indexOf("_:")===0?de.getId(re):re}if(ae.isSubject(re)||ae.isSubjectReference(re)){if("@id"in re&&!re["@id"]){continue}const se=ae.isBlankNode(re)?de.getId(re["@id"]):re["@id"];ue.addValue(ge,ce,{"@id":se},{propertyIsArray:true,allowDuplicate:false});fe.createNodeMap(re,ie,oe,de,se)}else if(ae.isValue(re)){ue.addValue(ge,ce,re,{propertyIsArray:true,allowDuplicate:false})}else if(ae.isList(re)){const se=[];fe.createNodeMap(re["@list"],ie,oe,de,pe,se);re={"@list":se};ue.addValue(ge,ce,re,{propertyIsArray:true,allowDuplicate:false})}else{fe.createNodeMap(re,ie,oe,de,pe);ue.addValue(ge,ce,re,{propertyIsArray:true,allowDuplicate:false})}}}};fe.mergeNodeMapGraphs=re=>{const ie={};for(const oe of Object.keys(re).sort()){for(const ae of Object.keys(re[oe]).sort()){const ce=re[oe][ae];if(!(ae in ie)){ie[ae]={"@id":ae}}const le=ie[ae];for(const re of Object.keys(ce).sort()){if(se(re)&&re!=="@type"){le[re]=ue.clone(ce[re])}else{for(const ie of ce[re]){ue.addValue(le,re,ue.clone(ie),{propertyIsArray:true,allowDuplicate:false})}}}}}return ie};fe.mergeNodeMaps=re=>{const ie=re["@default"];const oe=Object.keys(re).sort();for(const se of oe){if(se==="@default"){continue}const oe=re[se];let ce=ie[se];if(!ce){ie[se]=ce={"@id":se,"@graph":[]}}else if(!("@graph"in ce)){ce["@graph"]=[]}const ue=ce["@graph"];for(const re of Object.keys(oe).sort()){const ie=oe[re];if(!ae.isSubjectReference(ie)){ue.push(ie)}}}return ie}},8631:(re,ie,oe)=>{"use strict";const se=oe(61189);const ae={};re.exports=ae;ae.setupDocumentLoaders=function(re){re.documentLoaders.node=se;re.useDocumentLoader("node")};ae.setupGlobals=function(re){}},29760:(re,ie,oe)=>{"use strict";const{createNodeMap:se}=oe(99618);const{isKeyword:ae}=oe(41866);const ce=oe(13631);const ue=oe(40641);const le=oe(86891);const fe=oe(69450);const{handleEvent:de}=oe(75836);const{RDF_FIRST:pe,RDF_REST:he,RDF_NIL:Ae,RDF_TYPE:ge,RDF_JSON_LITERAL:me,RDF_LANGSTRING:ye,XSD_BOOLEAN:ve,XSD_DOUBLE:be,XSD_INTEGER:we,XSD_STRING:_e}=oe(18441);const{isAbsolute:Ee}=oe(40651);const Ce={};re.exports=Ce;Ce.toRDF=(re,ie)=>{const oe=new fe.IdentifierIssuer("_:b");const ae={"@default":{}};se(re,ae,"@default",oe);const ce=[];const ue=Object.keys(ae).sort();for(const re of ue){let se;if(re==="@default"){se={termType:"DefaultGraph",value:""}}else if(Ee(re)){if(re.startsWith("_:")){se={termType:"BlankNode"}}else{se={termType:"NamedNode"}}se.value=re}else{if(ie.eventHandler){de({event:{type:["JsonLdEvent"],code:"relative graph reference",level:"warning",message:"Relative graph reference found.",details:{graph:re}},options:ie})}continue}_graphToRDF(ce,ae[re],se,oe,ie)}return ce};function _graphToRDF(re,ie,oe,se,ce){const ue=Object.keys(ie).sort();for(const le of ue){const ue=ie[le];const fe=Object.keys(ue).sort();for(let ie of fe){const fe=ue[ie];if(ie==="@type"){ie=ge}else if(ae(ie)){continue}for(const ae of fe){const ue={termType:le.startsWith("_:")?"BlankNode":"NamedNode",value:le};if(!Ee(le)){if(ce.eventHandler){de({event:{type:["JsonLdEvent"],code:"relative subject reference",level:"warning",message:"Relative subject reference found.",details:{subject:le}},options:ce})}continue}const fe={termType:ie.startsWith("_:")?"BlankNode":"NamedNode",value:ie};if(!Ee(ie)){if(ce.eventHandler){de({event:{type:["JsonLdEvent"],code:"relative predicate reference",level:"warning",message:"Relative predicate reference found.",details:{predicate:ie}},options:ce})}continue}if(fe.termType==="BlankNode"&&!ce.produceGeneralizedRdf){if(ce.eventHandler){de({event:{type:["JsonLdEvent"],code:"blank node predicate",level:"warning",message:"Dropping blank node predicate.",details:{property:se.getOldIds().find((re=>se.getId(re)===ie))}},options:ce})}continue}const pe=_objectToRDF(ae,se,re,oe,ce.rdfDirection,ce);if(pe){re.push({subject:ue,predicate:fe,object:pe,graph:oe})}}}}}function _listToRDF(re,ie,oe,se,ae,ce){const ue={termType:"NamedNode",value:pe};const le={termType:"NamedNode",value:he};const fe={termType:"NamedNode",value:Ae};const de=re.pop();const ge=de?{termType:"BlankNode",value:ie.getId()}:fe;let me=ge;for(const fe of re){const re=_objectToRDF(fe,ie,oe,se,ae,ce);const de={termType:"BlankNode",value:ie.getId()};oe.push({subject:me,predicate:ue,object:re,graph:se});oe.push({subject:me,predicate:le,object:de,graph:se});me=de}if(de){const re=_objectToRDF(de,ie,oe,se,ae,ce);oe.push({subject:me,predicate:ue,object:re,graph:se});oe.push({subject:me,predicate:le,object:fe,graph:se})}return ge}function _objectToRDF(re,ie,oe,se,ae,fe){const pe={};if(ce.isValue(re)){pe.termType="Literal";pe.value=undefined;pe.datatype={termType:"NamedNode"};let ie=re["@value"];const oe=re["@type"]||null;if(oe==="@json"){pe.value=ue(ie);pe.datatype.value=me}else if(le.isBoolean(ie)){pe.value=ie.toString();pe.datatype.value=oe||ve}else if(le.isDouble(ie)||oe===be){if(!le.isDouble(ie)){ie=parseFloat(ie)}pe.value=ie.toExponential(15).replace(/(\d)0*e\+?/,"$1E");pe.datatype.value=oe||be}else if(le.isNumber(ie)){pe.value=ie.toFixed(0);pe.datatype.value=oe||we}else if(ae==="i18n-datatype"&&"@direction"in re){const oe="https://www.w3.org/ns/i18n#"+(re["@language"]||"")+`_${re["@direction"]}`;pe.datatype.value=oe;pe.value=ie}else if("@language"in re){pe.value=ie;pe.datatype.value=oe||ye;pe.language=re["@language"]}else{pe.value=ie;pe.datatype.value=oe||_e}}else if(ce.isList(re)){const ce=_listToRDF(re["@list"],ie,oe,se,ae,fe);pe.termType=ce.termType;pe.value=ce.value}else{const ie=le.isObject(re)?re["@id"]:re;pe.termType=ie.startsWith("_:")?"BlankNode":"NamedNode";pe.value=ie}if(pe.termType==="NamedNode"&&!Ee(pe.value)){if(fe.eventHandler){de({event:{type:["JsonLdEvent"],code:"relative object reference",level:"warning",message:"Relative object reference found.",details:{object:pe.value}},options:fe})}return null}return pe}},86891:re=>{"use strict";const ie={};re.exports=ie;ie.isArray=Array.isArray;ie.isBoolean=re=>typeof re==="boolean"||Object.prototype.toString.call(re)==="[object Boolean]";ie.isDouble=re=>ie.isNumber(re)&&(String(re).indexOf(".")!==-1||Math.abs(re)>=1e21);ie.isEmptyObject=re=>ie.isObject(re)&&Object.keys(re).length===0;ie.isNumber=re=>typeof re==="number"||Object.prototype.toString.call(re)==="[object Number]";ie.isNumeric=re=>!isNaN(parseFloat(re))&&isFinite(re);ie.isObject=re=>Object.prototype.toString.call(re)==="[object Object]";ie.isString=re=>typeof re==="string"||Object.prototype.toString.call(re)==="[object String]";ie.isUndefined=re=>typeof re==="undefined"},40651:(re,ie,oe)=>{"use strict";const se=oe(86891);const ae={};re.exports=ae;ae.parsers={simple:{keys:["href","scheme","authority","path","query","fragment"],regex:/^(?:([^:\/?#]+):)?(?:\/\/([^\/?#]*))?([^?#]*)(?:\?([^#]*))?(?:#(.*))?/},full:{keys:["href","protocol","scheme","authority","auth","user","password","hostname","port","path","directory","file","query","fragment"],regex:/^(([^:\/?#]+):)?(?:\/\/((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?))?(?:(((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/}};ae.parse=(re,ie)=>{const oe={};const se=ae.parsers[ie||"full"];const ce=se.regex.exec(re);let ue=se.keys.length;while(ue--){oe[se.keys[ue]]=ce[ue]===undefined?null:ce[ue]}if(oe.scheme==="https"&&oe.port==="443"||oe.scheme==="http"&&oe.port==="80"){oe.href=oe.href.replace(":"+oe.port,"");oe.authority=oe.authority.replace(":"+oe.port,"");oe.port=null}oe.normalizedPath=ae.removeDotSegments(oe.path);return oe};ae.prependBase=(re,ie)=>{if(re===null){return ie}if(ae.isAbsolute(ie)){return ie}if(!re||se.isString(re)){re=ae.parse(re||"")}const oe=ae.parse(ie);const ce={protocol:re.protocol||""};if(oe.authority!==null){ce.authority=oe.authority;ce.path=oe.path;ce.query=oe.query}else{ce.authority=re.authority;if(oe.path===""){ce.path=re.path;if(oe.query!==null){ce.query=oe.query}else{ce.query=re.query}}else{if(oe.path.indexOf("/")===0){ce.path=oe.path}else{let ie=re.path;ie=ie.substr(0,ie.lastIndexOf("/")+1);if((ie.length>0||re.authority)&&ie.substr(-1)!=="/"){ie+="/"}ie+=oe.path;ce.path=ie}ce.query=oe.query}}if(oe.path!==""){ce.path=ae.removeDotSegments(ce.path)}let ue=ce.protocol;if(ce.authority!==null){ue+="//"+ce.authority}ue+=ce.path;if(ce.query!==null){ue+="?"+ce.query}if(oe.fragment!==null){ue+="#"+oe.fragment}if(ue===""){ue="./"}return ue};ae.removeBase=(re,ie)=>{if(re===null){return ie}if(!re||se.isString(re)){re=ae.parse(re||"")}let oe="";if(re.href!==""){oe+=(re.protocol||"")+"//"+(re.authority||"")}else if(ie.indexOf("//")){oe+="//"}if(ie.indexOf(oe)!==0){return ie}const ce=ae.parse(ie.substr(oe.length));const ue=re.normalizedPath.split("/");const le=ce.normalizedPath.split("/");const fe=ce.fragment||ce.query?0:1;while(ue.length>0&&le.length>fe){if(ue[0]!==le[0]){break}ue.shift();le.shift()}let de="";if(ue.length>0){ue.pop();for(let re=0;re{if(re.length===0){return""}const ie=re.split("/");const oe=[];while(ie.length>0){const re=ie.shift();const se=ie.length===0;if(re==="."){if(se){oe.push("")}continue}if(re===".."){oe.pop();if(se){oe.push("")}continue}oe.push(re)}if(re[0]==="/"&&oe.length>0&&oe[0]!==""){oe.unshift("")}if(oe.length===1&&oe[0]===""){return"/"}return oe.join("/")};const ce=/^([A-Za-z][A-Za-z0-9+-.]*|_):[^\s]*$/;ae.isAbsolute=re=>se.isString(re)&&ce.test(re);ae.isRelative=re=>se.isString(re)},69450:(re,ie,oe)=>{"use strict";const se=oe(13631);const ae=oe(86891);const ce=oe(43).IdentifierIssuer;const ue=oe(11625);const le=/^[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*$/;const fe=/(?:<[^>]*?>|"[^"]*?"|[^,])+/g;const de=/\s*<([^>]*?)>\s*(?:;\s*(.*))?/;const pe=/(.*?)=(?:(?:"([^"]*?)")|([^"]*?))\s*(?:(?:;\s*)|$)/g;const he=/^@[a-zA-Z]+$/;const Ae={headers:{accept:"application/ld+json, application/json"}};const ge={};re.exports=ge;ge.IdentifierIssuer=ce;ge.REGEX_BCP47=le;ge.REGEX_KEYWORD=he;ge.clone=function(re){if(re&&typeof re==="object"){let ie;if(ae.isArray(re)){ie=[];for(let oe=0;oe{const ie=Object.keys(re).some((re=>re.toLowerCase()==="accept"));if(ie){throw new RangeError('Accept header may not be specified; only "'+Ae.headers.accept+'" is supported.')}return Object.assign({Accept:Ae.headers.accept},re)};ge.parseLinkHeader=re=>{const ie={};const oe=re.match(fe);for(let re=0;re{if(ae.isString(re)){return}if(ae.isArray(re)&&re.every((re=>ae.isString(re)))){return}if(ie&&ae.isObject(re)){switch(Object.keys(re).length){case 0:return;case 1:if("@default"in re&&ge.asArray(re["@default"]).every((re=>ae.isString(re)))){return}}}throw new ue('Invalid JSON-LD syntax; "@type" value must a string, an array of '+"strings, an empty object, "+"or a default object.","jsonld.SyntaxError",{code:"invalid type value",value:re})};ge.hasProperty=(re,ie)=>{if(re.hasOwnProperty(ie)){const oe=re[ie];return!ae.isArray(oe)||oe.length>0}return false};ge.hasValue=(re,ie,oe)=>{if(ge.hasProperty(re,ie)){let ce=re[ie];const ue=se.isList(ce);if(ae.isArray(ce)||ue){if(ue){ce=ce["@list"]}for(let re=0;re{se=se||{};if(!("propertyIsArray"in se)){se.propertyIsArray=false}if(!("valueIsArray"in se)){se.valueIsArray=false}if(!("allowDuplicate"in se)){se.allowDuplicate=true}if(!("prependValue"in se)){se.prependValue=false}if(se.valueIsArray){re[ie]=oe}else if(ae.isArray(oe)){if(oe.length===0&&se.propertyIsArray&&!re.hasOwnProperty(ie)){re[ie]=[]}if(se.prependValue){oe=oe.concat(re[ie]);re[ie]=[]}for(let ae=0;ae[].concat(re[ie]||[]);ge.removeProperty=(re,ie)=>{delete re[ie]};ge.removeValue=(re,ie,oe,se)=>{se=se||{};if(!("propertyIsArray"in se)){se.propertyIsArray=false}const ae=ge.getValues(re,ie).filter((re=>!ge.compareValues(re,oe)));if(ae.length===0){ge.removeProperty(re,ie)}else if(ae.length===1&&!se.propertyIsArray){re[ie]=ae[0]}else{re[ie]=ae}};ge.relabelBlankNodes=(re,ie)=>{ie=ie||{};const oe=ie.issuer||new ce("_:b");return _labelBlankNodes(oe,re)};ge.compareValues=(re,ie)=>{if(re===ie){return true}if(se.isValue(re)&&se.isValue(ie)&&re["@value"]===ie["@value"]&&re["@type"]===ie["@type"]&&re["@language"]===ie["@language"]&&re["@index"]===ie["@index"]){return true}if(ae.isObject(re)&&"@id"in re&&ae.isObject(ie)&&"@id"in ie){return re["@id"]===ie["@id"]}return false};ge.compareShortestLeast=(re,ie)=>{if(re.length{"use strict";const se=oe(53622);const ae=Symbol("max");const ce=Symbol("length");const ue=Symbol("lengthCalculator");const le=Symbol("allowStale");const fe=Symbol("maxAge");const de=Symbol("dispose");const pe=Symbol("noDisposeOnSet");const he=Symbol("lruList");const Ae=Symbol("cache");const ge=Symbol("updateAgeOnGet");const naiveLength=()=>1;class LRUCache{constructor(re){if(typeof re==="number")re={max:re};if(!re)re={};if(re.max&&(typeof re.max!=="number"||re.max<0))throw new TypeError("max must be a non-negative number");const ie=this[ae]=re.max||Infinity;const oe=re.length||naiveLength;this[ue]=typeof oe!=="function"?naiveLength:oe;this[le]=re.stale||false;if(re.maxAge&&typeof re.maxAge!=="number")throw new TypeError("maxAge must be a number");this[fe]=re.maxAge||0;this[de]=re.dispose;this[pe]=re.noDisposeOnSet||false;this[ge]=re.updateAgeOnGet||false;this.reset()}set max(re){if(typeof re!=="number"||re<0)throw new TypeError("max must be a non-negative number");this[ae]=re||Infinity;trim(this)}get max(){return this[ae]}set allowStale(re){this[le]=!!re}get allowStale(){return this[le]}set maxAge(re){if(typeof re!=="number")throw new TypeError("maxAge must be a non-negative number");this[fe]=re;trim(this)}get maxAge(){return this[fe]}set lengthCalculator(re){if(typeof re!=="function")re=naiveLength;if(re!==this[ue]){this[ue]=re;this[ce]=0;this[he].forEach((re=>{re.length=this[ue](re.value,re.key);this[ce]+=re.length}))}trim(this)}get lengthCalculator(){return this[ue]}get length(){return this[ce]}get itemCount(){return this[he].length}rforEach(re,ie){ie=ie||this;for(let oe=this[he].tail;oe!==null;){const se=oe.prev;forEachStep(this,re,oe,ie);oe=se}}forEach(re,ie){ie=ie||this;for(let oe=this[he].head;oe!==null;){const se=oe.next;forEachStep(this,re,oe,ie);oe=se}}keys(){return this[he].toArray().map((re=>re.key))}values(){return this[he].toArray().map((re=>re.value))}reset(){if(this[de]&&this[he]&&this[he].length){this[he].forEach((re=>this[de](re.key,re.value)))}this[Ae]=new Map;this[he]=new se;this[ce]=0}dump(){return this[he].map((re=>isStale(this,re)?false:{k:re.key,v:re.value,e:re.now+(re.maxAge||0)})).toArray().filter((re=>re))}dumpLru(){return this[he]}set(re,ie,oe){oe=oe||this[fe];if(oe&&typeof oe!=="number")throw new TypeError("maxAge must be a number");const se=oe?Date.now():0;const le=this[ue](ie,re);if(this[Ae].has(re)){if(le>this[ae]){del(this,this[Ae].get(re));return false}const ue=this[Ae].get(re);const fe=ue.value;if(this[de]){if(!this[pe])this[de](re,fe.value)}fe.now=se;fe.maxAge=oe;fe.value=ie;this[ce]+=le-fe.length;fe.length=le;this.get(re);trim(this);return true}const ge=new Entry(re,ie,le,se,oe);if(ge.length>this[ae]){if(this[de])this[de](re,ie);return false}this[ce]+=ge.length;this[he].unshift(ge);this[Ae].set(re,this[he].head);trim(this);return true}has(re){if(!this[Ae].has(re))return false;const ie=this[Ae].get(re).value;return!isStale(this,ie)}get(re){return get(this,re,true)}peek(re){return get(this,re,false)}pop(){const re=this[he].tail;if(!re)return null;del(this,re);return re.value}del(re){del(this,this[Ae].get(re))}load(re){this.reset();const ie=Date.now();for(let oe=re.length-1;oe>=0;oe--){const se=re[oe];const ae=se.e||0;if(ae===0)this.set(se.k,se.v);else{const re=ae-ie;if(re>0){this.set(se.k,se.v,re)}}}}prune(){this[Ae].forEach(((re,ie)=>get(this,ie,false)))}}const get=(re,ie,oe)=>{const se=re[Ae].get(ie);if(se){const ie=se.value;if(isStale(re,ie)){del(re,se);if(!re[le])return undefined}else{if(oe){if(re[ge])se.value.now=Date.now();re[he].unshiftNode(se)}}return ie.value}};const isStale=(re,ie)=>{if(!ie||!ie.maxAge&&!re[fe])return false;const oe=Date.now()-ie.now;return ie.maxAge?oe>ie.maxAge:re[fe]&&oe>re[fe]};const trim=re=>{if(re[ce]>re[ae]){for(let ie=re[he].tail;re[ce]>re[ae]&&ie!==null;){const oe=ie.prev;del(re,ie);ie=oe}}};const del=(re,ie)=>{if(ie){const oe=ie.value;if(re[de])re[de](oe.key,oe.value);re[ce]-=oe.length;re[Ae].delete(oe.key);re[he].removeNode(ie)}};class Entry{constructor(re,ie,oe,se,ae){this.key=re;this.value=ie;this.length=oe;this.now=se;this.maxAge=ae||0}}const forEachStep=(re,ie,oe,se)=>{let ae=oe.value;if(isStale(re,ae)){del(re,oe);if(!re[le])ae=undefined}if(ae)ie.call(se,ae.value,ae.key,re)};re.exports=LRUCache},73180:re=>{"use strict";re.exports=function(re){re.prototype[Symbol.iterator]=function*(){for(let re=this.head;re;re=re.next){yield re.value}}}},53622:(re,ie,oe)=>{"use strict";re.exports=Yallist;Yallist.Node=Node;Yallist.create=Yallist;function Yallist(re){var ie=this;if(!(ie instanceof Yallist)){ie=new Yallist}ie.tail=null;ie.head=null;ie.length=0;if(re&&typeof re.forEach==="function"){re.forEach((function(re){ie.push(re)}))}else if(arguments.length>0){for(var oe=0,se=arguments.length;oe1){oe=ie}else if(this.head){se=this.head.next;oe=this.head.value}else{throw new TypeError("Reduce of empty list with no initial value")}for(var ae=0;se!==null;ae++){oe=re(oe,se.value,ae);se=se.next}return oe};Yallist.prototype.reduceReverse=function(re,ie){var oe;var se=this.tail;if(arguments.length>1){oe=ie}else if(this.tail){se=this.tail.prev;oe=this.tail.value}else{throw new TypeError("Reduce of empty list with no initial value")}for(var ae=this.length-1;se!==null;ae--){oe=re(oe,se.value,ae);se=se.prev}return oe};Yallist.prototype.toArray=function(){var re=new Array(this.length);for(var ie=0,oe=this.head;oe!==null;ie++){re[ie]=oe.value;oe=oe.next}return re};Yallist.prototype.toArrayReverse=function(){var re=new Array(this.length);for(var ie=0,oe=this.tail;oe!==null;ie++){re[ie]=oe.value;oe=oe.prev}return re};Yallist.prototype.slice=function(re,ie){ie=ie||this.length;if(ie<0){ie+=this.length}re=re||0;if(re<0){re+=this.length}var oe=new Yallist;if(iethis.length){ie=this.length}for(var se=0,ae=this.head;ae!==null&&sethis.length){ie=this.length}for(var se=this.length,ae=this.tail;ae!==null&&se>ie;se--){ae=ae.prev}for(;ae!==null&&se>re;se--,ae=ae.prev){oe.push(ae.value)}return oe};Yallist.prototype.splice=function(re,ie,...oe){if(re>this.length){re=this.length-1}if(re<0){re=this.length+re}for(var se=0,ae=this.head;ae!==null&&se0){Ae.push(we[R])}}const Ie=Ae.length>0;if(Ae.length===1){Ae=Ae[0]}if(xe(Ce)){const R=Fe({activeCtx:Ee,iri:"@graph",relativeTo:{vocab:true}});const pe=Ce;Ce={};if(Ie){Ce["@context"]=Ae}Ce[R]=pe}else if(De(Ce)&&Ie){const R=Ce;Ce={"@context":Ae};for(const pe in R){Ce[pe]=R[pe]}}return Ce};R.expand=async function(pe,Ae){if(arguments.length<1){throw new TypeError("Could not expand, too few arguments.")}Ae=_setDefaults(Ae,{keepFreeFloatingNodes:false,contextResolver:new ye({sharedCache:ze})});const he={};const ge=[];if("expandContext"in Ae){const R=me.clone(Ae.expandContext);if(De(R)&&"@context"in R){he.expandContext=R}else{he.expandContext={"@context":R}}ge.push(he.expandContext)}let ve;if(!ke(pe)){he.input=me.clone(pe)}else{const me=await R.get(pe,Ae);ve=me.documentUrl;he.input=me.document;if(me.contextUrl){he.remoteContext={"@context":me.contextUrl};ge.push(he.remoteContext)}}if(!("base"in Ae)){Ae.base=ve||""}let be=Pe(Ae);for(const R of ge){be=await Te({activeCtx:be,localCtx:R,options:Ae})}let Ee=await we({activeCtx:be,element:he.input,options:Ae});if(De(Ee)&&"@graph"in Ee&&Object.keys(Ee).length===1){Ee=Ee["@graph"]}else if(Ee===null){Ee=[]}if(!xe(Ee)){Ee=[Ee]}return Ee};R.flatten=async function(pe,Ae,he){if(arguments.length<1){return new TypeError("Could not flatten, too few arguments.")}if(typeof Ae==="function"){Ae=null}else{Ae=Ae||null}he=_setDefaults(he,{base:ke(pe)?pe:"",contextResolver:new ye({sharedCache:ze})});const ge=await R.expand(pe,he);const me=Ie(ge);if(Ae===null){return me}he.graph=true;he.skipExpansion=true;const ve=await R.compact(me,Ae,he);return ve};R.frame=async function(pe,Ae,he){if(arguments.length<2){throw new TypeError("Could not frame, too few arguments.")}he=_setDefaults(he,{base:ke(pe)?pe:"",embed:"@once",explicit:false,requireAll:false,omitDefault:false,bnodesToClear:[],contextResolver:new ye({sharedCache:ze})});if(ke(Ae)){const pe=await R.get(Ae,he);Ae=pe.document;if(pe.contextUrl){let R=Ae["@context"];if(!R){R=pe.contextUrl}else if(xe(R)){R.push(pe.contextUrl)}else{R=[R,pe.contextUrl]}Ae["@context"]=R}}const ge=Ae?Ae["@context"]||{}:{};const me=await R.processContext(Pe(he),ge,he);if(!he.hasOwnProperty("omitGraph")){he.omitGraph=Ne(me,1.1)}if(!he.hasOwnProperty("pruneBlankNodeIdentifiers")){he.pruneBlankNodeIdentifiers=Ne(me,1.1)}const ve=await R.expand(pe,he);const be={...he};be.isFrame=true;be.keepFreeFloatingNodes=true;const Ee=await R.expand(Ae,be);const Ce=Object.keys(Ae).map((R=>Re(me,R,{vocab:true})));be.merged=!Ce.includes("@graph");be.is11=Ne(me,1.1);const we=Se(ve,Ee,be);be.graph=!he.omitGraph;be.skipExpansion=true;be.link={};be.framing=true;let Ie=await R.compact(we,ge,be);be.link={};Ie=Qe(Ie,be);return Ie};R.link=async function(pe,Ae,he){const ge={};if(Ae){ge["@context"]=Ae}ge["@embed"]="@link";return R.frame(pe,ge,he)};R.normalize=R.canonize=async function(pe,Ae){if(arguments.length<1){throw new TypeError("Could not canonize, too few arguments.")}Ae=_setDefaults(Ae,{base:ke(pe)?pe:null,algorithm:"URDNA2015",skipExpansion:false,safe:true,contextResolver:new ye({sharedCache:ze})});if("inputFormat"in Ae){if(Ae.inputFormat!=="application/n-quads"&&Ae.inputFormat!=="application/nquads"){throw new be("Unknown canonicalization input format.","jsonld.CanonizeError")}const R=Ce.parse(pe);return he.canonize(R,Ae)}const ge={...Ae};delete ge.format;ge.produceGeneralizedRdf=false;const me=await R.toRDF(pe,ge);return he.canonize(me,Ae)};R.fromRDF=async function(R,Ae){if(arguments.length<1){throw new TypeError("Could not convert from RDF, too few arguments.")}Ae=_setDefaults(Ae,{format:ke(R)?"application/n-quads":undefined});const{format:he}=Ae;let{rdfParser:ge}=Ae;if(he){ge=ge||pe[he];if(!ge){throw new be("Unknown input format.","jsonld.UnknownFormat",{format:he})}}else{ge=()=>R}const me=await ge(R);return _e(me,Ae)};R.toRDF=async function(pe,Ae){if(arguments.length<1){throw new TypeError("Could not convert to RDF, too few arguments.")}Ae=_setDefaults(Ae,{base:ke(pe)?pe:"",skipExpansion:false,contextResolver:new ye({sharedCache:ze})});let he;if(Ae.skipExpansion){he=pe}else{he=await R.expand(pe,Ae)}const ge=Be(he,Ae);if(Ae.format){if(Ae.format==="application/n-quads"||Ae.format==="application/nquads"){return Ce.serialize(ge)}throw new be("Unknown output format.","jsonld.UnknownFormat",{format:Ae.format})}return ge};R.createNodeMap=async function(pe,Ae){if(arguments.length<1){throw new TypeError("Could not create node map, too few arguments.")}Ae=_setDefaults(Ae,{base:ke(pe)?pe:"",contextResolver:new ye({sharedCache:ze})});const he=await R.expand(pe,Ae);return Le(he,Ae)};R.merge=async function(pe,Ae,he){if(arguments.length<1){throw new TypeError("Could not merge, too few arguments.")}if(!xe(pe)){throw new TypeError('Could not merge, "docs" must be an array.')}if(typeof Ae==="function"){Ae=null}else{Ae=Ae||null}he=_setDefaults(he,{contextResolver:new ye({sharedCache:ze})});const ge=await Promise.all(pe.map((pe=>{const Ae={...he};return R.expand(pe,Ae)})));let be=true;if("mergeNodes"in he){be=he.mergeNodes}const Ee=he.issuer||new ve("_:b");const Ce={"@default":{}};for(let R=0;RR._documentLoader,set:pe=>R._documentLoader=pe});R.documentLoader=async R=>{throw new be("Could not retrieve a JSON-LD document from the URL. URL "+"dereferencing not implemented.","jsonld.LoadDocumentError",{code:"loading document failed",url:R})};R.get=async function(pe,Ae){let he;if(typeof Ae.documentLoader==="function"){he=Ae.documentLoader}else{he=R.documentLoader}const ge=await he(pe);try{if(!ge.document){throw new be("No remote document found at the given URL.","jsonld.NullRemoteDocument")}if(ke(ge.document)){ge.document=JSON.parse(ge.document)}}catch(R){throw new be("Could not retrieve a JSON-LD document from the URL.","jsonld.LoadDocumentError",{code:"loading document failed",cause:R,remoteDoc:ge})}return ge};R.processContext=async function(R,pe,Ae){Ae=_setDefaults(Ae,{base:"",contextResolver:new ye({sharedCache:ze})});if(pe===null){return Pe(Ae)}pe=me.clone(pe);if(!(De(pe)&&"@context"in pe)){pe={"@context":pe}}return Te({activeCtx:R,localCtx:pe,options:Ae})};R.getContextValue=Ae(41866).getContextValue;R.documentLoaders={};R.useDocumentLoader=function(pe){if(!(pe in R.documentLoaders)){throw new be('Unknown document loader type: "'+pe+'"',"jsonld.UnknownDocumentLoader",{type:pe})}R.documentLoader=R.documentLoaders[pe].apply(R,Array.prototype.slice.call(arguments,1))};R.registerRDFParser=function(R,Ae){pe[R]=Ae};R.unregisterRDFParser=function(R){delete pe[R]};R.registerRDFParser("application/n-quads",Ce.parse);R.registerRDFParser("application/nquads",Ce.parse);R.url=Ae(40651);R.logEventHandler=He;R.logWarningEventHandler=Ve;R.safeEventHandler=We;R.setDefaultEventHandler=Je;R.strictEventHandler=qe;R.unhandledEventHandler=Ye;R.util=me;Object.assign(R,me);R.promises=R;R.RequestQueue=Ae(99241);R.JsonLdProcessor=Ae(21677)(R);ge.setupGlobals(R);ge.setupDocumentLoaders(R);function _setDefaults(pe,{documentLoader:Ae=R.documentLoader,...he}){if(pe&&"compactionMap"in pe){throw new be('"compactionMap" not supported.',"jsonld.OptionsError")}if(pe&&"expansionMap"in pe){throw new be('"expansionMap" not supported.',"jsonld.OptionsError")}return Object.assign({},{documentLoader:Ae},he,pe,{eventHandler:Ge({options:pe})})}return R};const factory=function(){return wrapper((function(){return factory()}))};wrapper(factory);R.exports=factory},99618:(R,pe,Ae)=>{"use strict";const{isKeyword:he}=Ae(41866);const ge=Ae(13631);const me=Ae(86891);const ye=Ae(69450);const ve=Ae(11625);const be={};R.exports=be;be.createMergedNodeMap=(R,pe)=>{pe=pe||{};const Ae=pe.issuer||new ye.IdentifierIssuer("_:b");const he={"@default":{}};be.createNodeMap(R,he,"@default",Ae);return be.mergeNodeMaps(he)};be.createNodeMap=(R,pe,Ae,Ee,Ce,we)=>{if(me.isArray(R)){for(const he of R){be.createNodeMap(he,pe,Ae,Ee,undefined,we)}return}if(!me.isObject(R)){if(we){we.push(R)}return}if(ge.isValue(R)){if("@type"in R){let pe=R["@type"];if(pe.indexOf("_:")===0){R["@type"]=pe=Ee.getId(pe)}}if(we){we.push(R)}return}else if(we&&ge.isList(R)){const he=[];be.createNodeMap(R["@list"],pe,Ae,Ee,Ce,he);we.push({"@list":he});return}if("@type"in R){const pe=R["@type"];for(const R of pe){if(R.indexOf("_:")===0){Ee.getId(R)}}}if(me.isUndefined(Ce)){Ce=ge.isBlankNode(R)?Ee.getId(R["@id"]):R["@id"]}if(we){we.push({"@id":Ce})}const Ie=pe[Ae];const _e=Ie[Ce]=Ie[Ce]||{};_e["@id"]=Ce;const Be=Object.keys(R).sort();for(let me of Be){if(me==="@id"){continue}if(me==="@reverse"){const he={"@id":Ce};const me=R["@reverse"];for(const R in me){const ve=me[R];for(const me of ve){let ve=me["@id"];if(ge.isBlankNode(me)){ve=Ee.getId(ve)}be.createNodeMap(me,pe,Ae,Ee,ve);ye.addValue(Ie[ve],R,he,{propertyIsArray:true,allowDuplicate:false})}}continue}if(me==="@graph"){if(!(Ce in pe)){pe[Ce]={}}be.createNodeMap(R[me],pe,Ce,Ee);continue}if(me==="@included"){be.createNodeMap(R[me],pe,Ae,Ee);continue}if(me!=="@type"&&he(me)){if(me==="@index"&&me in _e&&(R[me]!==_e[me]||R[me]["@id"]!==_e[me]["@id"])){throw new ve("Invalid JSON-LD syntax; conflicting @index property detected.","jsonld.SyntaxError",{code:"conflicting indexes",subject:_e})}_e[me]=R[me];continue}const we=R[me];if(me.indexOf("_:")===0){me=Ee.getId(me)}if(we.length===0){ye.addValue(_e,me,[],{propertyIsArray:true});continue}for(let R of we){if(me==="@type"){R=R.indexOf("_:")===0?Ee.getId(R):R}if(ge.isSubject(R)||ge.isSubjectReference(R)){if("@id"in R&&!R["@id"]){continue}const he=ge.isBlankNode(R)?Ee.getId(R["@id"]):R["@id"];ye.addValue(_e,me,{"@id":he},{propertyIsArray:true,allowDuplicate:false});be.createNodeMap(R,pe,Ae,Ee,he)}else if(ge.isValue(R)){ye.addValue(_e,me,R,{propertyIsArray:true,allowDuplicate:false})}else if(ge.isList(R)){const he=[];be.createNodeMap(R["@list"],pe,Ae,Ee,Ce,he);R={"@list":he};ye.addValue(_e,me,R,{propertyIsArray:true,allowDuplicate:false})}else{be.createNodeMap(R,pe,Ae,Ee,Ce);ye.addValue(_e,me,R,{propertyIsArray:true,allowDuplicate:false})}}}};be.mergeNodeMapGraphs=R=>{const pe={};for(const Ae of Object.keys(R).sort()){for(const ge of Object.keys(R[Ae]).sort()){const me=R[Ae][ge];if(!(ge in pe)){pe[ge]={"@id":ge}}const ve=pe[ge];for(const R of Object.keys(me).sort()){if(he(R)&&R!=="@type"){ve[R]=ye.clone(me[R])}else{for(const pe of me[R]){ye.addValue(ve,R,ye.clone(pe),{propertyIsArray:true,allowDuplicate:false})}}}}}return pe};be.mergeNodeMaps=R=>{const pe=R["@default"];const Ae=Object.keys(R).sort();for(const he of Ae){if(he==="@default"){continue}const Ae=R[he];let me=pe[he];if(!me){pe[he]=me={"@id":he,"@graph":[]}}else if(!("@graph"in me)){me["@graph"]=[]}const ye=me["@graph"];for(const R of Object.keys(Ae).sort()){const pe=Ae[R];if(!ge.isSubjectReference(pe)){ye.push(pe)}}}return pe}},8631:(R,pe,Ae)=>{"use strict";const he=Ae(61189);const ge={};R.exports=ge;ge.setupDocumentLoaders=function(R){R.documentLoaders.node=he;R.useDocumentLoader("node")};ge.setupGlobals=function(R){}},29760:(R,pe,Ae)=>{"use strict";const{createNodeMap:he}=Ae(99618);const{isKeyword:ge}=Ae(41866);const me=Ae(13631);const ye=Ae(40641);const ve=Ae(11625);const be=Ae(86891);const Ee=Ae(69450);const{handleEvent:Ce}=Ae(75836);const{RDF_FIRST:we,RDF_REST:Ie,RDF_NIL:_e,RDF_TYPE:Be,RDF_JSON_LITERAL:Se,RDF_LANGSTRING:Qe,XSD_BOOLEAN:xe,XSD_DOUBLE:De,XSD_INTEGER:ke,XSD_STRING:Oe}=Ae(18441);const{isAbsolute:Re}=Ae(40651);const Pe={};R.exports=Pe;Pe.toRDF=(R,pe)=>{const Ae=new Ee.IdentifierIssuer("_:b");const ge={"@default":{}};he(R,ge,"@default",Ae);const me=[];const ye=Object.keys(ge).sort();for(const R of ye){let he;if(R==="@default"){he={termType:"DefaultGraph",value:""}}else if(Re(R)){if(R.startsWith("_:")){he={termType:"BlankNode"}}else{he={termType:"NamedNode"}}he.value=R}else{if(pe.eventHandler){Ce({event:{type:["JsonLdEvent"],code:"relative graph reference",level:"warning",message:"Relative graph reference found.",details:{graph:R}},options:pe})}continue}_graphToRDF(me,ge[R],he,Ae,pe)}return me};function _graphToRDF(R,pe,Ae,he,me){const ye=Object.keys(pe).sort();for(const ve of ye){const ye=pe[ve];const be=Object.keys(ye).sort();for(let pe of be){const be=ye[pe];if(pe==="@type"){pe=Be}else if(ge(pe)){continue}for(const ge of be){const ye={termType:ve.startsWith("_:")?"BlankNode":"NamedNode",value:ve};if(!Re(ve)){if(me.eventHandler){Ce({event:{type:["JsonLdEvent"],code:"relative subject reference",level:"warning",message:"Relative subject reference found.",details:{subject:ve}},options:me})}continue}const be={termType:pe.startsWith("_:")?"BlankNode":"NamedNode",value:pe};if(!Re(pe)){if(me.eventHandler){Ce({event:{type:["JsonLdEvent"],code:"relative predicate reference",level:"warning",message:"Relative predicate reference found.",details:{predicate:pe}},options:me})}continue}if(be.termType==="BlankNode"&&!me.produceGeneralizedRdf){if(me.eventHandler){Ce({event:{type:["JsonLdEvent"],code:"blank node predicate",level:"warning",message:"Dropping blank node predicate.",details:{property:he.getOldIds().find((R=>he.getId(R)===pe))}},options:me})}continue}const Ee=_objectToRDF(ge,he,R,Ae,me.rdfDirection,me);if(Ee){R.push({subject:ye,predicate:be,object:Ee,graph:Ae})}}}}}function _listToRDF(R,pe,Ae,he,ge,me){const ye={termType:"NamedNode",value:we};const ve={termType:"NamedNode",value:Ie};const be={termType:"NamedNode",value:_e};const Ee=R.pop();const Ce=Ee?{termType:"BlankNode",value:pe.getId()}:be;let Be=Ce;for(const be of R){const R=_objectToRDF(be,pe,Ae,he,ge,me);const Ee={termType:"BlankNode",value:pe.getId()};Ae.push({subject:Be,predicate:ye,object:R,graph:he});Ae.push({subject:Be,predicate:ve,object:Ee,graph:he});Be=Ee}if(Ee){const R=_objectToRDF(Ee,pe,Ae,he,ge,me);Ae.push({subject:Be,predicate:ye,object:R,graph:he});Ae.push({subject:Be,predicate:ve,object:be,graph:he})}return Ce}function _objectToRDF(R,pe,Ae,he,ge,Ee){const we={};if(me.isValue(R)){we.termType="Literal";we.value=undefined;we.datatype={termType:"NamedNode"};let pe=R["@value"];const Ae=R["@type"]||null;if(Ae==="@json"){we.value=ye(pe);we.datatype.value=Se}else if(be.isBoolean(pe)){we.value=pe.toString();we.datatype.value=Ae||xe}else if(be.isDouble(pe)||Ae===De){if(!be.isDouble(pe)){pe=parseFloat(pe)}we.value=pe.toExponential(15).replace(/(\d)0*e\+?/,"$1E");we.datatype.value=Ae||De}else if(be.isNumber(pe)){we.value=pe.toFixed(0);we.datatype.value=Ae||ke}else if("@direction"in R&&ge==="i18n-datatype"){const Ae=(R["@language"]||"").toLowerCase();const he=R["@direction"];const ge=`https://www.w3.org/ns/i18n#${Ae}_${he}`;we.datatype.value=ge;we.value=pe}else if("@direction"in R&&ge==="compound-literal"){throw new ve("Unsupported rdfDirection value.","jsonld.InvalidRdfDirection",{value:ge})}else if("@direction"in R&&ge){throw new ve("Unknown rdfDirection value.","jsonld.InvalidRdfDirection",{value:ge})}else if("@language"in R){if("@direction"in R&&!ge){if(Ee.eventHandler){Ce({event:{type:["JsonLdEvent"],code:"rdfDirection not set",level:"warning",message:"rdfDirection not set for @direction.",details:{object:we.value}},options:Ee})}}we.value=pe;we.datatype.value=Ae||Qe;we.language=R["@language"]}else{if("@direction"in R&&!ge){if(Ee.eventHandler){Ce({event:{type:["JsonLdEvent"],code:"rdfDirection not set",level:"warning",message:"rdfDirection not set for @direction.",details:{object:we.value}},options:Ee})}}we.value=pe;we.datatype.value=Ae||Oe}}else if(me.isList(R)){const me=_listToRDF(R["@list"],pe,Ae,he,ge,Ee);we.termType=me.termType;we.value=me.value}else{const pe=be.isObject(R)?R["@id"]:R;we.termType=pe.startsWith("_:")?"BlankNode":"NamedNode";we.value=pe}if(we.termType==="NamedNode"&&!Re(we.value)){if(Ee.eventHandler){Ce({event:{type:["JsonLdEvent"],code:"relative object reference",level:"warning",message:"Relative object reference found.",details:{object:we.value}},options:Ee})}return null}return we}},86891:R=>{"use strict";const pe={};R.exports=pe;pe.isArray=Array.isArray;pe.isBoolean=R=>typeof R==="boolean"||Object.prototype.toString.call(R)==="[object Boolean]";pe.isDouble=R=>pe.isNumber(R)&&(String(R).indexOf(".")!==-1||Math.abs(R)>=1e21);pe.isEmptyObject=R=>pe.isObject(R)&&Object.keys(R).length===0;pe.isNumber=R=>typeof R==="number"||Object.prototype.toString.call(R)==="[object Number]";pe.isNumeric=R=>!isNaN(parseFloat(R))&&isFinite(R);pe.isObject=R=>Object.prototype.toString.call(R)==="[object Object]";pe.isString=R=>typeof R==="string"||Object.prototype.toString.call(R)==="[object String]";pe.isUndefined=R=>typeof R==="undefined"},40651:(R,pe,Ae)=>{"use strict";const he=Ae(86891);const ge={};R.exports=ge;ge.parsers={simple:{keys:["href","scheme","authority","path","query","fragment"],regex:/^(?:([^:\/?#]+):)?(?:\/\/([^\/?#]*))?([^?#]*)(?:\?([^#]*))?(?:#(.*))?/},full:{keys:["href","protocol","scheme","authority","auth","user","password","hostname","port","path","directory","file","query","fragment"],regex:/^(([a-zA-Z][a-zA-Z0-9+-.]*):)?(?:\/\/((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?))?(?:(((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/}};ge.parse=(R,pe)=>{const Ae={};const he=ge.parsers[pe||"full"];const me=he.regex.exec(R);let ye=he.keys.length;while(ye--){Ae[he.keys[ye]]=me[ye]===undefined?null:me[ye]}if(Ae.scheme==="https"&&Ae.port==="443"||Ae.scheme==="http"&&Ae.port==="80"){Ae.href=Ae.href.replace(":"+Ae.port,"");Ae.authority=Ae.authority.replace(":"+Ae.port,"");Ae.port=null}Ae.normalizedPath=ge.removeDotSegments(Ae.path);return Ae};ge.prependBase=(R,pe)=>{if(R===null){return pe}if(ge.isAbsolute(pe)){return pe}if(!R||he.isString(R)){R=ge.parse(R||"")}const Ae=ge.parse(pe);const me={protocol:R.protocol||""};if(Ae.authority!==null){me.authority=Ae.authority;me.path=Ae.path;me.query=Ae.query}else{me.authority=R.authority;if(Ae.path===""){me.path=R.path;if(Ae.query!==null){me.query=Ae.query}else{me.query=R.query}}else{if(Ae.path.indexOf("/")===0){me.path=Ae.path}else{let pe=R.path;pe=pe.substr(0,pe.lastIndexOf("/")+1);if((pe.length>0||R.authority)&&pe.substr(-1)!=="/"){pe+="/"}pe+=Ae.path;me.path=pe}me.query=Ae.query}}if(Ae.path!==""){me.path=ge.removeDotSegments(me.path)}let ye=me.protocol;if(me.authority!==null){ye+="//"+me.authority}ye+=me.path;if(me.query!==null){ye+="?"+me.query}if(Ae.fragment!==null){ye+="#"+Ae.fragment}if(ye===""){ye="./"}return ye};ge.removeBase=(R,pe)=>{if(R===null){return pe}if(!R||he.isString(R)){R=ge.parse(R||"")}let Ae="";if(R.href!==""){Ae+=(R.protocol||"")+"//"+(R.authority||"")}else if(pe.indexOf("//")){Ae+="//"}if(pe.indexOf(Ae)!==0){return pe}const me=ge.parse(pe.substr(Ae.length));const ye=R.normalizedPath.split("/");const ve=me.normalizedPath.split("/");const be=me.fragment||me.query?0:1;while(ye.length>0&&ve.length>be){if(ye[0]!==ve[0]){break}ye.shift();ve.shift()}let Ee="";if(ye.length>0){ye.pop();for(let R=0;R{if(R.length===0){return""}const pe=R.split("/");const Ae=[];while(pe.length>0){const R=pe.shift();const he=pe.length===0;if(R==="."){if(he){Ae.push("")}continue}if(R===".."){Ae.pop();if(he){Ae.push("")}continue}Ae.push(R)}if(R[0]==="/"&&Ae.length>0&&Ae[0]!==""){Ae.unshift("")}if(Ae.length===1&&Ae[0]===""){return"/"}return Ae.join("/")};const me=/^([A-Za-z][A-Za-z0-9+-.]*|_):[^\s]*$/;ge.isAbsolute=R=>he.isString(R)&&me.test(R);ge.isRelative=R=>he.isString(R)},69450:(R,pe,Ae)=>{"use strict";const he=Ae(13631);const ge=Ae(86891);const me=Ae(43).IdentifierIssuer;const ye=Ae(11625);const ve=/^[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*$/;const be=/(?:<[^>]*?>|"[^"]*?"|[^,])+/g;const Ee=/\s*<([^>]*?)>\s*(?:;\s*(.*))?/;const Ce=/(.*?)=(?:(?:"([^"]*?)")|([^"]*?))\s*(?:(?:;\s*)|$)/g;const we=/^@[a-zA-Z]+$/;const Ie={headers:{accept:"application/ld+json, application/json"}};const _e={};R.exports=_e;_e.IdentifierIssuer=me;_e.REGEX_BCP47=ve;_e.REGEX_KEYWORD=we;_e.clone=function(R){if(R&&typeof R==="object"){let pe;if(ge.isArray(R)){pe=[];for(let Ae=0;Ae{const pe=Object.keys(R).some((R=>R.toLowerCase()==="accept"));if(pe){throw new RangeError('Accept header may not be specified; only "'+Ie.headers.accept+'" is supported.')}return Object.assign({Accept:Ie.headers.accept},R)};_e.parseLinkHeader=R=>{const pe={};const Ae=R.match(be);for(let R=0;R{if(ge.isString(R)){return}if(ge.isArray(R)&&R.every((R=>ge.isString(R)))){return}if(pe&&ge.isObject(R)){switch(Object.keys(R).length){case 0:return;case 1:if("@default"in R&&_e.asArray(R["@default"]).every((R=>ge.isString(R)))){return}}}throw new ye('Invalid JSON-LD syntax; "@type" value must a string, an array of '+"strings, an empty object, "+"or a default object.","jsonld.SyntaxError",{code:"invalid type value",value:R})};_e.hasProperty=(R,pe)=>{if(R.hasOwnProperty(pe)){const Ae=R[pe];return!ge.isArray(Ae)||Ae.length>0}return false};_e.hasValue=(R,pe,Ae)=>{if(_e.hasProperty(R,pe)){let me=R[pe];const ye=he.isList(me);if(ge.isArray(me)||ye){if(ye){me=me["@list"]}for(let R=0;R{he=he||{};if(!("propertyIsArray"in he)){he.propertyIsArray=false}if(!("valueIsArray"in he)){he.valueIsArray=false}if(!("allowDuplicate"in he)){he.allowDuplicate=true}if(!("prependValue"in he)){he.prependValue=false}if(he.valueIsArray){R[pe]=Ae}else if(ge.isArray(Ae)){if(Ae.length===0&&he.propertyIsArray&&!R.hasOwnProperty(pe)){R[pe]=[]}if(he.prependValue){Ae=Ae.concat(R[pe]);R[pe]=[]}for(let ge=0;ge[].concat(R[pe]||[]);_e.removeProperty=(R,pe)=>{delete R[pe]};_e.removeValue=(R,pe,Ae,he)=>{he=he||{};if(!("propertyIsArray"in he)){he.propertyIsArray=false}const ge=_e.getValues(R,pe).filter((R=>!_e.compareValues(R,Ae)));if(ge.length===0){_e.removeProperty(R,pe)}else if(ge.length===1&&!he.propertyIsArray){R[pe]=ge[0]}else{R[pe]=ge}};_e.relabelBlankNodes=(R,pe)=>{pe=pe||{};const Ae=pe.issuer||new me("_:b");return _labelBlankNodes(Ae,R)};_e.compareValues=(R,pe)=>{if(R===pe){return true}if(he.isValue(R)&&he.isValue(pe)&&R["@value"]===pe["@value"]&&R["@type"]===pe["@type"]&&R["@language"]===pe["@language"]&&R["@index"]===pe["@index"]){return true}if(ge.isObject(R)&&"@id"in R&&ge.isObject(pe)&&"@id"in pe){return R["@id"]===pe["@id"]}return false};_e.compareShortestLeast=(R,pe)=>{if(R.length{"use strict";const he=Ae(53622);const ge=Symbol("max");const me=Symbol("length");const ye=Symbol("lengthCalculator");const ve=Symbol("allowStale");const be=Symbol("maxAge");const Ee=Symbol("dispose");const Ce=Symbol("noDisposeOnSet");const we=Symbol("lruList");const Ie=Symbol("cache");const _e=Symbol("updateAgeOnGet");const naiveLength=()=>1;class LRUCache{constructor(R){if(typeof R==="number")R={max:R};if(!R)R={};if(R.max&&(typeof R.max!=="number"||R.max<0))throw new TypeError("max must be a non-negative number");const pe=this[ge]=R.max||Infinity;const Ae=R.length||naiveLength;this[ye]=typeof Ae!=="function"?naiveLength:Ae;this[ve]=R.stale||false;if(R.maxAge&&typeof R.maxAge!=="number")throw new TypeError("maxAge must be a number");this[be]=R.maxAge||0;this[Ee]=R.dispose;this[Ce]=R.noDisposeOnSet||false;this[_e]=R.updateAgeOnGet||false;this.reset()}set max(R){if(typeof R!=="number"||R<0)throw new TypeError("max must be a non-negative number");this[ge]=R||Infinity;trim(this)}get max(){return this[ge]}set allowStale(R){this[ve]=!!R}get allowStale(){return this[ve]}set maxAge(R){if(typeof R!=="number")throw new TypeError("maxAge must be a non-negative number");this[be]=R;trim(this)}get maxAge(){return this[be]}set lengthCalculator(R){if(typeof R!=="function")R=naiveLength;if(R!==this[ye]){this[ye]=R;this[me]=0;this[we].forEach((R=>{R.length=this[ye](R.value,R.key);this[me]+=R.length}))}trim(this)}get lengthCalculator(){return this[ye]}get length(){return this[me]}get itemCount(){return this[we].length}rforEach(R,pe){pe=pe||this;for(let Ae=this[we].tail;Ae!==null;){const he=Ae.prev;forEachStep(this,R,Ae,pe);Ae=he}}forEach(R,pe){pe=pe||this;for(let Ae=this[we].head;Ae!==null;){const he=Ae.next;forEachStep(this,R,Ae,pe);Ae=he}}keys(){return this[we].toArray().map((R=>R.key))}values(){return this[we].toArray().map((R=>R.value))}reset(){if(this[Ee]&&this[we]&&this[we].length){this[we].forEach((R=>this[Ee](R.key,R.value)))}this[Ie]=new Map;this[we]=new he;this[me]=0}dump(){return this[we].map((R=>isStale(this,R)?false:{k:R.key,v:R.value,e:R.now+(R.maxAge||0)})).toArray().filter((R=>R))}dumpLru(){return this[we]}set(R,pe,Ae){Ae=Ae||this[be];if(Ae&&typeof Ae!=="number")throw new TypeError("maxAge must be a number");const he=Ae?Date.now():0;const ve=this[ye](pe,R);if(this[Ie].has(R)){if(ve>this[ge]){del(this,this[Ie].get(R));return false}const ye=this[Ie].get(R);const be=ye.value;if(this[Ee]){if(!this[Ce])this[Ee](R,be.value)}be.now=he;be.maxAge=Ae;be.value=pe;this[me]+=ve-be.length;be.length=ve;this.get(R);trim(this);return true}const _e=new Entry(R,pe,ve,he,Ae);if(_e.length>this[ge]){if(this[Ee])this[Ee](R,pe);return false}this[me]+=_e.length;this[we].unshift(_e);this[Ie].set(R,this[we].head);trim(this);return true}has(R){if(!this[Ie].has(R))return false;const pe=this[Ie].get(R).value;return!isStale(this,pe)}get(R){return get(this,R,true)}peek(R){return get(this,R,false)}pop(){const R=this[we].tail;if(!R)return null;del(this,R);return R.value}del(R){del(this,this[Ie].get(R))}load(R){this.reset();const pe=Date.now();for(let Ae=R.length-1;Ae>=0;Ae--){const he=R[Ae];const ge=he.e||0;if(ge===0)this.set(he.k,he.v);else{const R=ge-pe;if(R>0){this.set(he.k,he.v,R)}}}}prune(){this[Ie].forEach(((R,pe)=>get(this,pe,false)))}}const get=(R,pe,Ae)=>{const he=R[Ie].get(pe);if(he){const pe=he.value;if(isStale(R,pe)){del(R,he);if(!R[ve])return undefined}else{if(Ae){if(R[_e])he.value.now=Date.now();R[we].unshiftNode(he)}}return pe.value}};const isStale=(R,pe)=>{if(!pe||!pe.maxAge&&!R[be])return false;const Ae=Date.now()-pe.now;return pe.maxAge?Ae>pe.maxAge:R[be]&&Ae>R[be]};const trim=R=>{if(R[me]>R[ge]){for(let pe=R[we].tail;R[me]>R[ge]&&pe!==null;){const Ae=pe.prev;del(R,pe);pe=Ae}}};const del=(R,pe)=>{if(pe){const Ae=pe.value;if(R[Ee])R[Ee](Ae.key,Ae.value);R[me]-=Ae.length;R[Ie].delete(Ae.key);R[we].removeNode(pe)}};class Entry{constructor(R,pe,Ae,he,ge){this.key=R;this.value=pe;this.length=Ae;this.now=he;this.maxAge=ge||0}}const forEachStep=(R,pe,Ae,he)=>{let ge=Ae.value;if(isStale(R,ge)){del(R,Ae);if(!R[ve])ge=undefined}if(ge)pe.call(he,ge.value,ge.key,R)};R.exports=LRUCache},73180:R=>{"use strict";R.exports=function(R){R.prototype[Symbol.iterator]=function*(){for(let R=this.head;R;R=R.next){yield R.value}}}},53622:(R,pe,Ae)=>{"use strict";R.exports=Yallist;Yallist.Node=Node;Yallist.create=Yallist;function Yallist(R){var pe=this;if(!(pe instanceof Yallist)){pe=new Yallist}pe.tail=null;pe.head=null;pe.length=0;if(R&&typeof R.forEach==="function"){R.forEach((function(R){pe.push(R)}))}else if(arguments.length>0){for(var Ae=0,he=arguments.length;Ae1){Ae=pe}else if(this.head){he=this.head.next;Ae=this.head.value}else{throw new TypeError("Reduce of empty list with no initial value")}for(var ge=0;he!==null;ge++){Ae=R(Ae,he.value,ge);he=he.next}return Ae};Yallist.prototype.reduceReverse=function(R,pe){var Ae;var he=this.tail;if(arguments.length>1){Ae=pe}else if(this.tail){he=this.tail.prev;Ae=this.tail.value}else{throw new TypeError("Reduce of empty list with no initial value")}for(var ge=this.length-1;he!==null;ge--){Ae=R(Ae,he.value,ge);he=he.prev}return Ae};Yallist.prototype.toArray=function(){var R=new Array(this.length);for(var pe=0,Ae=this.head;Ae!==null;pe++){R[pe]=Ae.value;Ae=Ae.next}return R};Yallist.prototype.toArrayReverse=function(){var R=new Array(this.length);for(var pe=0,Ae=this.tail;Ae!==null;pe++){R[pe]=Ae.value;Ae=Ae.prev}return R};Yallist.prototype.slice=function(R,pe){pe=pe||this.length;if(pe<0){pe+=this.length}R=R||0;if(R<0){R+=this.length}var Ae=new Yallist;if(pethis.length){pe=this.length}for(var he=0,ge=this.head;ge!==null&&hethis.length){pe=this.length}for(var he=this.length,ge=this.tail;ge!==null&&he>pe;he--){ge=ge.prev}for(;ge!==null&&he>R;he--,ge=ge.prev){Ae.push(ge.value)}return Ae};Yallist.prototype.splice=function(R,pe,...Ae){if(R>this.length){R=this.length-1}if(R<0){R=this.length+R}for(var he=0,ge=this.head;ge!==null&&he @@ -128,35 +116,28 @@ const se=oe(43);const ae=oe(8631);const ce=oe(69450);const ue=oe(70756);const le * Released under MIT license * Based on Underscore.js 1.8.3 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors - */(function(){var oe;var se="4.17.21";var ae=200;var ce="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",ue="Expected a function",le="Invalid `variable` option passed into `_.template`";var fe="__lodash_hash_undefined__";var de=500;var pe="__lodash_placeholder__";var he=1,Ae=2,ge=4;var me=1,ye=2;var ve=1,be=2,we=4,_e=8,Ee=16,Ce=32,Ie=64,Se=128,Be=256,xe=512;var ke=30,Oe="...";var De=800,Pe=16;var Te=1,Qe=2,Re=3;var Me=1/0,Ne=9007199254740991,je=17976931348623157e292,Le=0/0;var Fe=4294967295,Ue=Fe-1,He=Fe>>>1;var qe=[["ary",Se],["bind",ve],["bindKey",be],["curry",_e],["curryRight",Ee],["flip",xe],["partial",Ce],["partialRight",Ie],["rearg",Be]];var Ke="[object Arguments]",Ve="[object Array]",Je="[object AsyncFunction]",We="[object Boolean]",Ge="[object Date]",Ye="[object DOMException]",ze="[object Error]",$e="[object Function]",Ze="[object GeneratorFunction]",Xe="[object Map]",et="[object Number]",tt="[object Null]",rt="[object Object]",nt="[object Promise]",it="[object Proxy]",ot="[object RegExp]",st="[object Set]",at="[object String]",ct="[object Symbol]",ut="[object Undefined]",ft="[object WeakMap]",dt="[object WeakSet]";var pt="[object ArrayBuffer]",ht="[object DataView]",At="[object Float32Array]",mt="[object Float64Array]",yt="[object Int8Array]",vt="[object Int16Array]",bt="[object Int32Array]",wt="[object Uint8Array]",_t="[object Uint8ClampedArray]",Et="[object Uint16Array]",Ct="[object Uint32Array]";var It=/\b__p \+= '';/g,St=/\b(__p \+=) '' \+/g,Bt=/(__e\(.*?\)|\b__t\)) \+\n'';/g;var xt=/&(?:amp|lt|gt|quot|#39);/g,kt=/[&<>"']/g,Ot=RegExp(xt.source),Dt=RegExp(kt.source);var Pt=/<%-([\s\S]+?)%>/g,Tt=/<%([\s\S]+?)%>/g,Qt=/<%=([\s\S]+?)%>/g;var Rt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Mt=/^\w*$/,Nt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;var jt=/[\\^$.*+?()[\]{}|]/g,Lt=RegExp(jt.source);var Ft=/^\s+/;var Ut=/\s/;var Ht=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,qt=/\{\n\/\* \[wrapped with (.+)\] \*/,Kt=/,? & /;var Vt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;var Jt=/[()=,{}\[\]\/\s]/;var Wt=/\\(\\)?/g;var Gt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g;var Yt=/\w*$/;var zt=/^[-+]0x[0-9a-f]+$/i;var $t=/^0b[01]+$/i;var Zt=/^\[object .+?Constructor\]$/;var Xt=/^0o[0-7]+$/i;var er=/^(?:0|[1-9]\d*)$/;var tr=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g;var rr=/($^)/;var nr=/['\n\r\u2028\u2029\\]/g;var ir="\\ud800-\\udfff",sr="\\u0300-\\u036f",ar="\\ufe20-\\ufe2f",cr="\\u20d0-\\u20ff",ur=sr+ar+cr,lr="\\u2700-\\u27bf",fr="a-z\\xdf-\\xf6\\xf8-\\xff",dr="\\xac\\xb1\\xd7\\xf7",pr="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",hr="\\u2000-\\u206f",Ar=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",gr="A-Z\\xc0-\\xd6\\xd8-\\xde",mr="\\ufe0e\\ufe0f",yr=dr+pr+hr+Ar;var vr="['’]",br="["+ir+"]",wr="["+yr+"]",_r="["+ur+"]",Er="\\d+",Cr="["+lr+"]",Ir="["+fr+"]",Sr="[^"+ir+yr+Er+lr+fr+gr+"]",Br="\\ud83c[\\udffb-\\udfff]",xr="(?:"+_r+"|"+Br+")",kr="[^"+ir+"]",Or="(?:\\ud83c[\\udde6-\\uddff]){2}",Dr="[\\ud800-\\udbff][\\udc00-\\udfff]",Pr="["+gr+"]",Tr="\\u200d";var Qr="(?:"+Ir+"|"+Sr+")",Rr="(?:"+Pr+"|"+Sr+")",Mr="(?:"+vr+"(?:d|ll|m|re|s|t|ve))?",Nr="(?:"+vr+"(?:D|LL|M|RE|S|T|VE))?",jr=xr+"?",Lr="["+mr+"]?",Fr="(?:"+Tr+"(?:"+[kr,Or,Dr].join("|")+")"+Lr+jr+")*",Ur="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Hr="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",qr=Lr+jr+Fr,Kr="(?:"+[Cr,Or,Dr].join("|")+")"+qr,Vr="(?:"+[kr+_r+"?",_r,Or,Dr,br].join("|")+")";var Jr=RegExp(vr,"g");var Wr=RegExp(_r,"g");var Gr=RegExp(Br+"(?="+Br+")|"+Vr+qr,"g");var Yr=RegExp([Pr+"?"+Ir+"+"+Mr+"(?="+[wr,Pr,"$"].join("|")+")",Rr+"+"+Nr+"(?="+[wr,Pr+Qr,"$"].join("|")+")",Pr+"?"+Qr+"+"+Mr,Pr+"+"+Nr,Hr,Ur,Er,Kr].join("|"),"g");var zr=RegExp("["+Tr+ir+ur+mr+"]");var $r=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;var Zr=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"];var Xr=-1;var en={};en[At]=en[mt]=en[yt]=en[vt]=en[bt]=en[wt]=en[_t]=en[Et]=en[Ct]=true;en[Ke]=en[Ve]=en[pt]=en[We]=en[ht]=en[Ge]=en[ze]=en[$e]=en[Xe]=en[et]=en[rt]=en[ot]=en[st]=en[at]=en[ft]=false;var tn={};tn[Ke]=tn[Ve]=tn[pt]=tn[ht]=tn[We]=tn[Ge]=tn[At]=tn[mt]=tn[yt]=tn[vt]=tn[bt]=tn[Xe]=tn[et]=tn[rt]=tn[ot]=tn[st]=tn[at]=tn[ct]=tn[wt]=tn[_t]=tn[Et]=tn[Ct]=true;tn[ze]=tn[$e]=tn[ft]=false;var rn={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"};var nn={"&":"&","<":"<",">":">",'"':""","'":"'"};var on={"&":"&","<":"<",">":">",""":'"',"'":"'"};var sn={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};var an=parseFloat,cn=parseInt;var un=typeof global=="object"&&global&&global.Object===Object&&global;var ln=typeof self=="object"&&self&&self.Object===Object&&self;var fn=un||ln||Function("return this")();var dn=true&&ie&&!ie.nodeType&&ie;var pn=dn&&"object"=="object"&&re&&!re.nodeType&&re;var hn=pn&&pn.exports===dn;var An=hn&&un.process;var gn=function(){try{var re=pn&&pn.require&&pn.require("util").types;if(re){return re}return An&&An.binding&&An.binding("util")}catch(re){}}();var mn=gn&&gn.isArrayBuffer,yn=gn&&gn.isDate,vn=gn&&gn.isMap,bn=gn&&gn.isRegExp,wn=gn&&gn.isSet,_n=gn&&gn.isTypedArray;function apply(re,ie,oe){switch(oe.length){case 0:return re.call(ie);case 1:return re.call(ie,oe[0]);case 2:return re.call(ie,oe[0],oe[1]);case 3:return re.call(ie,oe[0],oe[1],oe[2])}return re.apply(ie,oe)}function arrayAggregator(re,ie,oe,se){var ae=-1,ce=re==null?0:re.length;while(++ae-1}function arrayIncludesWith(re,ie,oe){var se=-1,ae=re==null?0:re.length;while(++se-1){}return oe}function charsEndIndex(re,ie){var oe=re.length;while(oe--&&baseIndexOf(ie,re[oe],0)>-1){}return oe}function countHolders(re,ie){var oe=re.length,se=0;while(oe--){if(re[oe]===ie){++se}}return se}var Cn=basePropertyOf(rn);var In=basePropertyOf(nn);function escapeStringChar(re){return"\\"+sn[re]}function getValue(re,ie){return re==null?oe:re[ie]}function hasUnicode(re){return zr.test(re)}function hasUnicodeWord(re){return $r.test(re)}function iteratorToArray(re){var ie,oe=[];while(!(ie=re.next()).done){oe.push(ie.value)}return oe}function mapToArray(re){var ie=-1,oe=Array(re.size);re.forEach((function(re,se){oe[++ie]=[se,re]}));return oe}function overArg(re,ie){return function(oe){return re(ie(oe))}}function replaceHolders(re,ie){var oe=-1,se=re.length,ae=0,ce=[];while(++oe-1}function listCacheSet(re,ie){var oe=this.__data__,se=assocIndexOf(oe,re);if(se<0){++this.size;oe.push([re,ie])}else{oe[se][1]=ie}return this}ListCache.prototype.clear=listCacheClear;ListCache.prototype["delete"]=listCacheDelete;ListCache.prototype.get=listCacheGet;ListCache.prototype.has=listCacheHas;ListCache.prototype.set=listCacheSet;function MapCache(re){var ie=-1,oe=re==null?0:re.length;this.clear();while(++ie=ie?re:ie}}return re}function baseClone(re,ie,se,ae,ce,ue){var le,fe=ie&he,de=ie&Ae,pe=ie≥if(se){le=ce?se(re,ae,ce,ue):se(re)}if(le!==oe){return le}if(!isObject(re)){return re}var me=ji(re);if(me){le=initCloneArray(re);if(!fe){return copyArray(re,le)}}else{var ye=Wn(re),ve=ye==$e||ye==Ze;if(Fi(re)){return cloneBuffer(re,fe)}if(ye==rt||ye==Ke||ve&&!ce){le=de||ve?{}:initCloneObject(re);if(!fe){return de?copySymbolsIn(re,baseAssignIn(le,re)):copySymbols(re,baseAssign(le,re))}}else{if(!tn[ye]){return ce?re:{}}le=initCloneByTag(re,ye,fe)}}ue||(ue=new Stack);var be=ue.get(re);if(be){return be}ue.set(re,le);if(Ki(re)){re.forEach((function(oe){le.add(baseClone(oe,ie,se,oe,re,ue))}))}else if(Hi(re)){re.forEach((function(oe,ae){le.set(ae,baseClone(oe,ie,se,ae,re,ue))}))}var we=pe?de?getAllKeysIn:getAllKeys:de?keysIn:keys;var _e=me?oe:we(re);arrayEach(_e||re,(function(oe,ae){if(_e){ae=oe;oe=re[ae]}assignValue(le,ae,baseClone(oe,ie,se,ae,re,ue))}));return le}function baseConforms(re){var ie=keys(re);return function(oe){return baseConformsTo(oe,re,ie)}}function baseConformsTo(re,ie,se){var ae=se.length;if(re==null){return!ae}re=ar(re);while(ae--){var ce=se[ae],ue=ie[ce],le=re[ce];if(le===oe&&!(ce in re)||!ue(le)){return false}}return true}function baseDelay(re,ie,se){if(typeof re!="function"){throw new lr(ue)}return zn((function(){re.apply(oe,se)}),ie)}function baseDifference(re,ie,oe,se){var ce=-1,ue=arrayIncludes,le=true,fe=re.length,de=[],pe=ie.length;if(!fe){return de}if(oe){ie=arrayMap(ie,baseUnary(oe))}if(se){ue=arrayIncludesWith;le=false}else if(ie.length>=ae){ue=cacheHas;le=false;ie=new SetCache(ie)}e:while(++cece?0:ce+se}ae=ae===oe||ae>ce?ce:toInteger(ae);if(ae<0){ae+=ce}ae=se>ae?0:toLength(ae);while(se0&&oe(le)){if(ie>1){baseFlatten(le,ie-1,oe,se,ae)}else{arrayPush(ae,le)}}else if(!se){ae[ae.length]=le}}return ae}var Nn=createBaseFor();var jn=createBaseFor(true);function baseForOwn(re,ie){return re&&Nn(re,ie,keys)}function baseForOwnRight(re,ie){return re&&jn(re,ie,keys)}function baseFunctions(re,ie){return arrayFilter(ie,(function(ie){return isFunction(re[ie])}))}function baseGet(re,ie){ie=castPath(ie,re);var se=0,ae=ie.length;while(re!=null&&seie}function baseHas(re,ie){return re!=null&&gr.call(re,ie)}function baseHasIn(re,ie){return re!=null&&ie in ar(re)}function baseInRange(re,ie,oe){return re>=Gr(ie,oe)&&re=120&&Ae.length>=120)?new SetCache(fe&&Ae):oe}Ae=re[0];var ge=-1,me=de[0];e:while(++ge-1){if(le!==re){Or.call(le,fe,1)}Or.call(re,fe,1)}}return re}function basePullAt(re,ie){var oe=re?ie.length:0,se=oe-1;while(oe--){var ae=ie[oe];if(oe==se||ae!==ce){var ce=ae;if(isIndex(ae)){Or.call(re,ae,1)}else{baseUnset(re,ae)}}}return re}function baseRandom(re,ie){return re+Lr($r()*(ie-re+1))}function baseRange(re,oe,se,ae){var ce=-1,ue=Vr(jr((oe-re)/(se||1)),0),le=ie(ue);while(ue--){le[ae?ue:++ce]=re;re+=se}return le}function baseRepeat(re,ie){var oe="";if(!re||ie<1||ie>Ne){return oe}do{if(ie%2){oe+=re}ie=Lr(ie/2);if(ie){re+=re}}while(ie);return oe}function baseRest(re,ie){return $n(overRest(re,ie,identity),re+"")}function baseSample(re){return arraySample(values(re))}function baseSampleSize(re,ie){var oe=values(re);return shuffleSelf(oe,baseClamp(ie,0,oe.length))}function baseSet(re,ie,se,ae){if(!isObject(re)){return re}ie=castPath(ie,re);var ce=-1,ue=ie.length,le=ue-1,fe=re;while(fe!=null&&++cece?0:ce+oe}se=se>ce?ce:se;if(se<0){se+=ce}ce=oe>se?0:se-oe>>>0;oe>>>=0;var ue=ie(ce);while(++ae>>1,ue=re[ce];if(ue!==null&&!isSymbol(ue)&&(oe?ue<=ie:ue=ae){var pe=ie?null:qn(re);if(pe){return setToArray(pe)}le=false;ce=cacheHas;de=new SetCache}else{de=ie?[]:fe}e:while(++se=ae?re:baseSlice(re,ie,se)}var Hn=Rr||function(re){return fn.clearTimeout(re)};function cloneBuffer(re,ie){if(ie){return re.slice()}var oe=re.length,se=Sr?Sr(oe):new re.constructor(oe);re.copy(se);return se}function cloneArrayBuffer(re){var ie=new re.constructor(re.byteLength);new Ir(ie).set(new Ir(re));return ie}function cloneDataView(re,ie){var oe=ie?cloneArrayBuffer(re.buffer):re.buffer;return new re.constructor(oe,re.byteOffset,re.byteLength)}function cloneRegExp(re){var ie=new re.constructor(re.source,Yt.exec(re));ie.lastIndex=re.lastIndex;return ie}function cloneSymbol(re){return Pn?ar(Pn.call(re)):{}}function cloneTypedArray(re,ie){var oe=ie?cloneArrayBuffer(re.buffer):re.buffer;return new re.constructor(oe,re.byteOffset,re.length)}function compareAscending(re,ie){if(re!==ie){var se=re!==oe,ae=re===null,ce=re===re,ue=isSymbol(re);var le=ie!==oe,fe=ie===null,de=ie===ie,pe=isSymbol(ie);if(!fe&&!pe&&!ue&&re>ie||ue&&le&&de&&!fe&&!pe||ae&&le&&de||!se&&de||!ce){return 1}if(!ae&&!ue&&!pe&&re=le){return fe}var de=oe[se];return fe*(de=="desc"?-1:1)}}return re.index-ie.index}function composeArgs(re,oe,se,ae){var ce=-1,ue=re.length,le=se.length,fe=-1,de=oe.length,pe=Vr(ue-le,0),he=ie(de+pe),Ae=!ae;while(++fe1?se[ce-1]:oe,le=ce>2?se[2]:oe;ue=re.length>3&&typeof ue=="function"?(ce--,ue):oe;if(le&&isIterateeCall(se[0],se[1],le)){ue=ce<3?oe:ue;ce=1}ie=ar(ie);while(++ae-1?ce[ue?ie[le]:le]:oe}}function createFlow(re){return flatRest((function(ie){var se=ie.length,ae=se,ce=LodashWrapper.prototype.thru;if(re){ie.reverse()}while(ae--){var le=ie[ae];if(typeof le!="function"){throw new lr(ue)}if(ce&&!fe&&getFuncName(le)=="wrapper"){var fe=new LodashWrapper([],true)}}ae=fe?ae:se;while(++ae1){ve.reverse()}if(Ae&&pefe)){return false}var pe=ue.get(re);var he=ue.get(ie);if(pe&&he){return pe==ie&&he==re}var Ae=-1,ge=true,ve=se&ye?new SetCache:oe;ue.set(re,ie);ue.set(ie,re);while(++Ae1?"& ":"")+ie[se];ie=ie.join(oe>2?", ":" ");return re.replace(Ht,"{\n/* [wrapped with "+ie+"] */\n")}function isFlattenable(re){return ji(re)||Ni(re)||!!(Dr&&re&&re[Dr])}function isIndex(re,ie){var oe=typeof re;ie=ie==null?Ne:ie;return!!ie&&(oe=="number"||oe!="symbol"&&er.test(re))&&(re>-1&&re%1==0&&re0){if(++ie>=De){return arguments[0]}}else{ie=0}return re.apply(oe,arguments)}}function shuffleSelf(re,ie){var se=-1,ae=re.length,ce=ae-1;ie=ie===oe?ae:ie;while(++se1?re[ie-1]:oe;se=typeof se=="function"?(re.pop(),se):oe;return unzipWith(re,se)}));function chain(re){var ie=lodash(re);ie.__chain__=true;return ie}function tap(re,ie){ie(re);return re}function thru(re,ie){return ie(re)}var mi=flatRest((function(re){var ie=re.length,se=ie?re[0]:0,ae=this.__wrapped__,interceptor=function(ie){return baseAt(ie,re)};if(ie>1||this.__actions__.length||!(ae instanceof LazyWrapper)||!isIndex(se)){return this.thru(interceptor)}ae=ae.slice(se,+se+(ie?1:0));ae.__actions__.push({func:thru,args:[interceptor],thisArg:oe});return new LodashWrapper(ae,this.__chain__).thru((function(re){if(ie&&!re.length){re.push(oe)}return re}))}));function wrapperChain(){return chain(this)}function wrapperCommit(){return new LodashWrapper(this.value(),this.__chain__)}function wrapperNext(){if(this.__values__===oe){this.__values__=toArray(this.value())}var re=this.__index__>=this.__values__.length,ie=re?oe:this.__values__[this.__index__++];return{done:re,value:ie}}function wrapperToIterator(){return this}function wrapperPlant(re){var ie,se=this;while(se instanceof baseLodash){var ae=wrapperClone(se);ae.__index__=0;ae.__values__=oe;if(ie){ce.__wrapped__=ae}else{ie=ae}var ce=ae;se=se.__wrapped__}ce.__wrapped__=re;return ie}function wrapperReverse(){var re=this.__wrapped__;if(re instanceof LazyWrapper){var ie=re;if(this.__actions__.length){ie=new LazyWrapper(this)}ie=ie.reverse();ie.__actions__.push({func:thru,args:[reverse],thisArg:oe});return new LodashWrapper(ie,this.__chain__)}return this.thru(reverse)}function wrapperValue(){return baseWrapperValue(this.__wrapped__,this.__actions__)}var yi=createAggregator((function(re,ie,oe){if(gr.call(re,oe)){++re[oe]}else{baseAssignValue(re,oe,1)}}));function every(re,ie,se){var ae=ji(re)?arrayEvery:baseEvery;if(se&&isIterateeCall(re,ie,se)){ie=oe}return ae(re,getIteratee(ie,3))}function filter(re,ie){var oe=ji(re)?arrayFilter:baseFilter;return oe(re,getIteratee(ie,3))}var vi=createFind(findIndex);var bi=createFind(findLastIndex);function flatMap(re,ie){return baseFlatten(map(re,ie),1)}function flatMapDeep(re,ie){return baseFlatten(map(re,ie),Me)}function flatMapDepth(re,ie,se){se=se===oe?1:toInteger(se);return baseFlatten(map(re,ie),se)}function forEach(re,ie){var oe=ji(re)?arrayEach:Rn;return oe(re,getIteratee(ie,3))}function forEachRight(re,ie){var oe=ji(re)?arrayEachRight:Mn;return oe(re,getIteratee(ie,3))}var wi=createAggregator((function(re,ie,oe){if(gr.call(re,oe)){re[oe].push(ie)}else{baseAssignValue(re,oe,[ie])}}));function includes(re,ie,oe,se){re=isArrayLike(re)?re:values(re);oe=oe&&!se?toInteger(oe):0;var ae=re.length;if(oe<0){oe=Vr(ae+oe,0)}return isString(re)?oe<=ae&&re.indexOf(ie,oe)>-1:!!ae&&baseIndexOf(re,ie,oe)>-1}var _i=baseRest((function(re,oe,se){var ae=-1,ce=typeof oe=="function",ue=isArrayLike(re)?ie(re.length):[];Rn(re,(function(re){ue[++ae]=ce?apply(oe,re,se):baseInvoke(re,oe,se)}));return ue}));var Ei=createAggregator((function(re,ie,oe){baseAssignValue(re,oe,ie)}));function map(re,ie){var oe=ji(re)?arrayMap:baseMap;return oe(re,getIteratee(ie,3))}function orderBy(re,ie,se,ae){if(re==null){return[]}if(!ji(ie)){ie=ie==null?[]:[ie]}se=ae?oe:se;if(!ji(se)){se=se==null?[]:[se]}return baseOrderBy(re,ie,se)}var Ci=createAggregator((function(re,ie,oe){re[oe?0:1].push(ie)}),(function(){return[[],[]]}));function reduce(re,ie,oe){var se=ji(re)?arrayReduce:baseReduce,ae=arguments.length<3;return se(re,getIteratee(ie,4),oe,ae,Rn)}function reduceRight(re,ie,oe){var se=ji(re)?arrayReduceRight:baseReduce,ae=arguments.length<3;return se(re,getIteratee(ie,4),oe,ae,Mn)}function reject(re,ie){var oe=ji(re)?arrayFilter:baseFilter;return oe(re,negate(getIteratee(ie,3)))}function sample(re){var ie=ji(re)?arraySample:baseSample;return ie(re)}function sampleSize(re,ie,se){if(se?isIterateeCall(re,ie,se):ie===oe){ie=1}else{ie=toInteger(ie)}var ae=ji(re)?arraySampleSize:baseSampleSize;return ae(re,ie)}function shuffle(re){var ie=ji(re)?arrayShuffle:baseShuffle;return ie(re)}function size(re){if(re==null){return 0}if(isArrayLike(re)){return isString(re)?stringSize(re):re.length}var ie=Wn(re);if(ie==Xe||ie==st){return re.size}return baseKeys(re).length}function some(re,ie,se){var ae=ji(re)?arraySome:baseSome;if(se&&isIterateeCall(re,ie,se)){ie=oe}return ae(re,getIteratee(ie,3))}var Ii=baseRest((function(re,ie){if(re==null){return[]}var oe=ie.length;if(oe>1&&isIterateeCall(re,ie[0],ie[1])){ie=[]}else if(oe>2&&isIterateeCall(ie[0],ie[1],ie[2])){ie=[ie[0]]}return baseOrderBy(re,baseFlatten(ie,1),[])}));var Si=Mr||function(){return fn.Date.now()};function after(re,ie){if(typeof ie!="function"){throw new lr(ue)}re=toInteger(re);return function(){if(--re<1){return ie.apply(this,arguments)}}}function ary(re,ie,se){ie=se?oe:ie;ie=re&&ie==null?re.length:ie;return createWrap(re,Se,oe,oe,oe,oe,ie)}function before(re,ie){var se;if(typeof ie!="function"){throw new lr(ue)}re=toInteger(re);return function(){if(--re>0){se=ie.apply(this,arguments)}if(re<=1){ie=oe}return se}}var Bi=baseRest((function(re,ie,oe){var se=ve;if(oe.length){var ae=replaceHolders(oe,getHolder(Bi));se|=Ce}return createWrap(re,se,ie,oe,ae)}));var xi=baseRest((function(re,ie,oe){var se=ve|be;if(oe.length){var ae=replaceHolders(oe,getHolder(xi));se|=Ce}return createWrap(ie,se,re,oe,ae)}));function curry(re,ie,se){ie=se?oe:ie;var ae=createWrap(re,_e,oe,oe,oe,oe,oe,ie);ae.placeholder=curry.placeholder;return ae}function curryRight(re,ie,se){ie=se?oe:ie;var ae=createWrap(re,Ee,oe,oe,oe,oe,oe,ie);ae.placeholder=curryRight.placeholder;return ae}function debounce(re,ie,se){var ae,ce,le,fe,de,pe,he=0,Ae=false,ge=false,me=true;if(typeof re!="function"){throw new lr(ue)}ie=toNumber(ie)||0;if(isObject(se)){Ae=!!se.leading;ge="maxWait"in se;le=ge?Vr(toNumber(se.maxWait)||0,ie):le;me="trailing"in se?!!se.trailing:me}function invokeFunc(ie){var se=ae,ue=ce;ae=ce=oe;he=ie;fe=re.apply(ue,se);return fe}function leadingEdge(re){he=re;de=zn(timerExpired,ie);return Ae?invokeFunc(re):fe}function remainingWait(re){var oe=re-pe,se=re-he,ae=ie-oe;return ge?Gr(ae,le-se):ae}function shouldInvoke(re){var se=re-pe,ae=re-he;return pe===oe||se>=ie||se<0||ge&&ae>=le}function timerExpired(){var re=Si();if(shouldInvoke(re)){return trailingEdge(re)}de=zn(timerExpired,remainingWait(re))}function trailingEdge(re){de=oe;if(me&&ae){return invokeFunc(re)}ae=ce=oe;return fe}function cancel(){if(de!==oe){Hn(de)}he=0;ae=pe=ce=de=oe}function flush(){return de===oe?fe:trailingEdge(Si())}function debounced(){var re=Si(),se=shouldInvoke(re);ae=arguments;ce=this;pe=re;if(se){if(de===oe){return leadingEdge(pe)}if(ge){Hn(de);de=zn(timerExpired,ie);return invokeFunc(pe)}}if(de===oe){de=zn(timerExpired,ie)}return fe}debounced.cancel=cancel;debounced.flush=flush;return debounced}var ki=baseRest((function(re,ie){return baseDelay(re,1,ie)}));var Oi=baseRest((function(re,ie,oe){return baseDelay(re,toNumber(ie)||0,oe)}));function flip(re){return createWrap(re,xe)}function memoize(re,ie){if(typeof re!="function"||ie!=null&&typeof ie!="function"){throw new lr(ue)}var memoized=function(){var oe=arguments,se=ie?ie.apply(this,oe):oe[0],ae=memoized.cache;if(ae.has(se)){return ae.get(se)}var ce=re.apply(this,oe);memoized.cache=ae.set(se,ce)||ae;return ce};memoized.cache=new(memoize.Cache||MapCache);return memoized}memoize.Cache=MapCache;function negate(re){if(typeof re!="function"){throw new lr(ue)}return function(){var ie=arguments;switch(ie.length){case 0:return!re.call(this);case 1:return!re.call(this,ie[0]);case 2:return!re.call(this,ie[0],ie[1]);case 3:return!re.call(this,ie[0],ie[1],ie[2])}return!re.apply(this,ie)}}function once(re){return before(2,re)}var Di=Un((function(re,ie){ie=ie.length==1&&ji(ie[0])?arrayMap(ie[0],baseUnary(getIteratee())):arrayMap(baseFlatten(ie,1),baseUnary(getIteratee()));var oe=ie.length;return baseRest((function(se){var ae=-1,ce=Gr(se.length,oe);while(++ae=ie}));var Ni=baseIsArguments(function(){return arguments}())?baseIsArguments:function(re){return isObjectLike(re)&&gr.call(re,"callee")&&!kr.call(re,"callee")};var ji=ie.isArray;var Li=mn?baseUnary(mn):baseIsArrayBuffer;function isArrayLike(re){return re!=null&&isLength(re.length)&&!isFunction(re)}function isArrayLikeObject(re){return isObjectLike(re)&&isArrayLike(re)}function isBoolean(re){return re===true||re===false||isObjectLike(re)&&baseGetTag(re)==We}var Fi=Ur||stubFalse;var Ui=yn?baseUnary(yn):baseIsDate;function isElement(re){return isObjectLike(re)&&re.nodeType===1&&!isPlainObject(re)}function isEmpty(re){if(re==null){return true}if(isArrayLike(re)&&(ji(re)||typeof re=="string"||typeof re.splice=="function"||Fi(re)||Vi(re)||Ni(re))){return!re.length}var ie=Wn(re);if(ie==Xe||ie==st){return!re.size}if(isPrototype(re)){return!baseKeys(re).length}for(var oe in re){if(gr.call(re,oe)){return false}}return true}function isEqual(re,ie){return baseIsEqual(re,ie)}function isEqualWith(re,ie,se){se=typeof se=="function"?se:oe;var ae=se?se(re,ie):oe;return ae===oe?baseIsEqual(re,ie,oe,se):!!ae}function isError(re){if(!isObjectLike(re)){return false}var ie=baseGetTag(re);return ie==ze||ie==Ye||typeof re.message=="string"&&typeof re.name=="string"&&!isPlainObject(re)}function isFinite(re){return typeof re=="number"&&Hr(re)}function isFunction(re){if(!isObject(re)){return false}var ie=baseGetTag(re);return ie==$e||ie==Ze||ie==Je||ie==it}function isInteger(re){return typeof re=="number"&&re==toInteger(re)}function isLength(re){return typeof re=="number"&&re>-1&&re%1==0&&re<=Ne}function isObject(re){var ie=typeof re;return re!=null&&(ie=="object"||ie=="function")}function isObjectLike(re){return re!=null&&typeof re=="object"}var Hi=vn?baseUnary(vn):baseIsMap;function isMatch(re,ie){return re===ie||baseIsMatch(re,ie,getMatchData(ie))}function isMatchWith(re,ie,se){se=typeof se=="function"?se:oe;return baseIsMatch(re,ie,getMatchData(ie),se)}function isNaN(re){return isNumber(re)&&re!=+re}function isNative(re){if(Gn(re)){throw new Vt(ce)}return baseIsNative(re)}function isNull(re){return re===null}function isNil(re){return re==null}function isNumber(re){return typeof re=="number"||isObjectLike(re)&&baseGetTag(re)==et}function isPlainObject(re){if(!isObjectLike(re)||baseGetTag(re)!=rt){return false}var ie=Br(re);if(ie===null){return true}var oe=gr.call(ie,"constructor")&&ie.constructor;return typeof oe=="function"&&oe instanceof oe&&Ar.call(oe)==br}var qi=bn?baseUnary(bn):baseIsRegExp;function isSafeInteger(re){return isInteger(re)&&re>=-Ne&&re<=Ne}var Ki=wn?baseUnary(wn):baseIsSet;function isString(re){return typeof re=="string"||!ji(re)&&isObjectLike(re)&&baseGetTag(re)==at}function isSymbol(re){return typeof re=="symbol"||isObjectLike(re)&&baseGetTag(re)==ct}var Vi=_n?baseUnary(_n):baseIsTypedArray;function isUndefined(re){return re===oe}function isWeakMap(re){return isObjectLike(re)&&Wn(re)==ft}function isWeakSet(re){return isObjectLike(re)&&baseGetTag(re)==dt}var Ji=createRelationalOperation(baseLt);var Wi=createRelationalOperation((function(re,ie){return re<=ie}));function toArray(re){if(!re){return[]}if(isArrayLike(re)){return isString(re)?stringToArray(re):copyArray(re)}if(Pr&&re[Pr]){return iteratorToArray(re[Pr]())}var ie=Wn(re),oe=ie==Xe?mapToArray:ie==st?setToArray:values;return oe(re)}function toFinite(re){if(!re){return re===0?re:0}re=toNumber(re);if(re===Me||re===-Me){var ie=re<0?-1:1;return ie*je}return re===re?re:0}function toInteger(re){var ie=toFinite(re),oe=ie%1;return ie===ie?oe?ie-oe:ie:0}function toLength(re){return re?baseClamp(toInteger(re),0,Fe):0}function toNumber(re){if(typeof re=="number"){return re}if(isSymbol(re)){return Le}if(isObject(re)){var ie=typeof re.valueOf=="function"?re.valueOf():re;re=isObject(ie)?ie+"":ie}if(typeof re!="string"){return re===0?re:+re}re=baseTrim(re);var oe=$t.test(re);return oe||Xt.test(re)?cn(re.slice(2),oe?2:8):zt.test(re)?Le:+re}function toPlainObject(re){return copyObject(re,keysIn(re))}function toSafeInteger(re){return re?baseClamp(toInteger(re),-Ne,Ne):re===0?re:0}function toString(re){return re==null?"":baseToString(re)}var Gi=createAssigner((function(re,ie){if(isPrototype(ie)||isArrayLike(ie)){copyObject(ie,keys(ie),re);return}for(var oe in ie){if(gr.call(ie,oe)){assignValue(re,oe,ie[oe])}}}));var Yi=createAssigner((function(re,ie){copyObject(ie,keysIn(ie),re)}));var zi=createAssigner((function(re,ie,oe,se){copyObject(ie,keysIn(ie),re,se)}));var $i=createAssigner((function(re,ie,oe,se){copyObject(ie,keys(ie),re,se)}));var Zi=flatRest(baseAt);function create(re,ie){var oe=Qn(re);return ie==null?oe:baseAssign(oe,ie)}var Xi=baseRest((function(re,ie){re=ar(re);var se=-1;var ae=ie.length;var ce=ae>2?ie[2]:oe;if(ce&&isIterateeCall(ie[0],ie[1],ce)){ae=1}while(++se1);return ie}));copyObject(re,getAllKeysIn(re),oe);if(se){oe=baseClone(oe,he|Ae|ge,customOmitClone)}var ae=ie.length;while(ae--){baseUnset(oe,ie[ae])}return oe}));function omitBy(re,ie){return pickBy(re,negate(getIteratee(ie)))}var co=flatRest((function(re,ie){return re==null?{}:basePick(re,ie)}));function pickBy(re,ie){if(re==null){return{}}var oe=arrayMap(getAllKeysIn(re),(function(re){return[re]}));ie=getIteratee(ie);return basePickBy(re,oe,(function(re,oe){return ie(re,oe[0])}))}function result(re,ie,se){ie=castPath(ie,re);var ae=-1,ce=ie.length;if(!ce){ce=1;re=oe}while(++aeie){var ae=re;re=ie;ie=ae}if(se||re%1||ie%1){var ce=$r();return Gr(re+ce*(ie-re+an("1e-"+((ce+"").length-1))),ie)}return baseRandom(re,ie)}var fo=createCompounder((function(re,ie,oe){ie=ie.toLowerCase();return re+(oe?capitalize(ie):ie)}));function capitalize(re){return vo(toString(re).toLowerCase())}function deburr(re){re=toString(re);return re&&re.replace(tr,Cn).replace(Wr,"")}function endsWith(re,ie,se){re=toString(re);ie=baseToString(ie);var ae=re.length;se=se===oe?ae:baseClamp(toInteger(se),0,ae);var ce=se;se-=ie.length;return se>=0&&re.slice(se,ce)==ie}function escape(re){re=toString(re);return re&&Dt.test(re)?re.replace(kt,In):re}function escapeRegExp(re){re=toString(re);return re&&Lt.test(re)?re.replace(jt,"\\$&"):re}var po=createCompounder((function(re,ie,oe){return re+(oe?"-":"")+ie.toLowerCase()}));var ho=createCompounder((function(re,ie,oe){return re+(oe?" ":"")+ie.toLowerCase()}));var Ao=createCaseFirst("toLowerCase");function pad(re,ie,oe){re=toString(re);ie=toInteger(ie);var se=ie?stringSize(re):0;if(!ie||se>=ie){return re}var ae=(ie-se)/2;return createPadding(Lr(ae),oe)+re+createPadding(jr(ae),oe)}function padEnd(re,ie,oe){re=toString(re);ie=toInteger(ie);var se=ie?stringSize(re):0;return ie&&se>>0;if(!se){return[]}re=toString(re);if(re&&(typeof ie=="string"||ie!=null&&!qi(ie))){ie=baseToString(ie);if(!ie&&hasUnicode(re)){return castSlice(stringToArray(re),0,se)}}return re.split(ie,se)}var mo=createCompounder((function(re,ie,oe){return re+(oe?" ":"")+vo(ie)}));function startsWith(re,ie,oe){re=toString(re);oe=oe==null?0:baseClamp(toInteger(oe),0,re.length);ie=baseToString(ie);return re.slice(oe,oe+ie.length)==ie}function template(re,ie,se){var ae=lodash.templateSettings;if(se&&isIterateeCall(re,ie,se)){ie=oe}re=toString(re);ie=zi({},ie,ae,customDefaultsAssignIn);var ce=zi({},ie.imports,ae.imports,customDefaultsAssignIn),ue=keys(ce),fe=baseValues(ce,ue);var de,pe,he=0,Ae=ie.interpolate||rr,ge="__p += '";var me=cr((ie.escape||rr).source+"|"+Ae.source+"|"+(Ae===Qt?Gt:rr).source+"|"+(ie.evaluate||rr).source+"|$","g");var ye="//# sourceURL="+(gr.call(ie,"sourceURL")?(ie.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Xr+"]")+"\n";re.replace(me,(function(ie,oe,se,ae,ce,ue){se||(se=ae);ge+=re.slice(he,ue).replace(nr,escapeStringChar);if(oe){de=true;ge+="' +\n__e("+oe+") +\n'"}if(ce){pe=true;ge+="';\n"+ce+";\n__p += '"}if(se){ge+="' +\n((__t = ("+se+")) == null ? '' : __t) +\n'"}he=ue+ie.length;return ie}));ge+="';\n";var ve=gr.call(ie,"variable")&&ie.variable;if(!ve){ge="with (obj) {\n"+ge+"\n}\n"}else if(Jt.test(ve)){throw new Vt(le)}ge=(pe?ge.replace(It,""):ge).replace(St,"$1").replace(Bt,"$1;");ge="function("+(ve||"obj")+") {\n"+(ve?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(de?", __e = _.escape":"")+(pe?", __j = Array.prototype.join;\n"+"function print() { __p += __j.call(arguments, '') }\n":";\n")+ge+"return __p\n}";var be=bo((function(){return ir(ue,ye+"return "+ge).apply(oe,fe)}));be.source=ge;if(isError(be)){throw be}return be}function toLower(re){return toString(re).toLowerCase()}function toUpper(re){return toString(re).toUpperCase()}function trim(re,ie,se){re=toString(re);if(re&&(se||ie===oe)){return baseTrim(re)}if(!re||!(ie=baseToString(ie))){return re}var ae=stringToArray(re),ce=stringToArray(ie),ue=charsStartIndex(ae,ce),le=charsEndIndex(ae,ce)+1;return castSlice(ae,ue,le).join("")}function trimEnd(re,ie,se){re=toString(re);if(re&&(se||ie===oe)){return re.slice(0,trimmedEndIndex(re)+1)}if(!re||!(ie=baseToString(ie))){return re}var ae=stringToArray(re),ce=charsEndIndex(ae,stringToArray(ie))+1;return castSlice(ae,0,ce).join("")}function trimStart(re,ie,se){re=toString(re);if(re&&(se||ie===oe)){return re.replace(Ft,"")}if(!re||!(ie=baseToString(ie))){return re}var ae=stringToArray(re),ce=charsStartIndex(ae,stringToArray(ie));return castSlice(ae,ce).join("")}function truncate(re,ie){var se=ke,ae=Oe;if(isObject(ie)){var ce="separator"in ie?ie.separator:ce;se="length"in ie?toInteger(ie.length):se;ae="omission"in ie?baseToString(ie.omission):ae}re=toString(re);var ue=re.length;if(hasUnicode(re)){var le=stringToArray(re);ue=le.length}if(se>=ue){return re}var fe=se-stringSize(ae);if(fe<1){return ae}var de=le?castSlice(le,0,fe).join(""):re.slice(0,fe);if(ce===oe){return de+ae}if(le){fe+=de.length-fe}if(qi(ce)){if(re.slice(fe).search(ce)){var pe,he=de;if(!ce.global){ce=cr(ce.source,toString(Yt.exec(ce))+"g")}ce.lastIndex=0;while(pe=ce.exec(he)){var Ae=pe.index}de=de.slice(0,Ae===oe?fe:Ae)}}else if(re.indexOf(baseToString(ce),fe)!=fe){var ge=de.lastIndexOf(ce);if(ge>-1){de=de.slice(0,ge)}}return de+ae}function unescape(re){re=toString(re);return re&&Ot.test(re)?re.replace(xt,Sn):re}var yo=createCompounder((function(re,ie,oe){return re+(oe?" ":"")+ie.toUpperCase()}));var vo=createCaseFirst("toUpperCase");function words(re,ie,se){re=toString(re);ie=se?oe:ie;if(ie===oe){return hasUnicodeWord(re)?unicodeWords(re):asciiWords(re)}return re.match(ie)||[]}var bo=baseRest((function(re,ie){try{return apply(re,oe,ie)}catch(re){return isError(re)?re:new Vt(re)}}));var wo=flatRest((function(re,ie){arrayEach(ie,(function(ie){ie=toKey(ie);baseAssignValue(re,ie,Bi(re[ie],re))}));return re}));function cond(re){var ie=re==null?0:re.length,oe=getIteratee();re=!ie?[]:arrayMap(re,(function(re){if(typeof re[1]!="function"){throw new lr(ue)}return[oe(re[0]),re[1]]}));return baseRest((function(oe){var se=-1;while(++seNe){return[]}var oe=Fe,se=Gr(re,Fe);ie=getIteratee(ie);re-=Fe;var ae=baseTimes(se,ie);while(++oe0||ie<0)){return new LazyWrapper(se)}if(re<0){se=se.takeRight(-re)}else if(re){se=se.drop(re)}if(ie!==oe){ie=toInteger(ie);se=ie<0?se.dropRight(-ie):se.take(ie-re)}return se};LazyWrapper.prototype.takeRightWhile=function(re){return this.reverse().takeWhile(re).reverse()};LazyWrapper.prototype.toArray=function(){return this.take(Fe)};baseForOwn(LazyWrapper.prototype,(function(re,ie){var se=/^(?:filter|find|map|reject)|While$/.test(ie),ae=/^(?:head|last)$/.test(ie),ce=lodash[ae?"take"+(ie=="last"?"Right":""):ie],ue=ae||/^find/.test(ie);if(!ce){return}lodash.prototype[ie]=function(){var ie=this.__wrapped__,le=ae?[1]:arguments,fe=ie instanceof LazyWrapper,de=le[0],pe=fe||ji(ie);var interceptor=function(re){var ie=ce.apply(lodash,arrayPush([re],le));return ae&&he?ie[0]:ie};if(pe&&se&&typeof de=="function"&&de.length!=1){fe=pe=false}var he=this.__chain__,Ae=!!this.__actions__.length,ge=ue&&!he,me=fe&&!Ae;if(!ue&&pe){ie=me?ie:new LazyWrapper(this);var ye=re.apply(ie,le);ye.__actions__.push({func:thru,args:[interceptor],thisArg:oe});return new LodashWrapper(ye,he)}if(ge&&me){return re.apply(this,le)}ye=this.thru(interceptor);return ge?ae?ye.value()[0]:ye.value():ye}}));arrayEach(["pop","push","shift","sort","splice","unshift"],(function(re){var ie=fr[re],oe=/^(?:push|sort|unshift)$/.test(re)?"tap":"thru",se=/^(?:pop|shift)$/.test(re);lodash.prototype[re]=function(){var re=arguments;if(se&&!this.__chain__){var ae=this.value();return ie.apply(ji(ae)?ae:[],re)}return this[oe]((function(oe){return ie.apply(ji(oe)?oe:[],re)}))}}));baseForOwn(LazyWrapper.prototype,(function(re,ie){var oe=lodash[ie];if(oe){var se=oe.name+"";if(!gr.call(An,se)){An[se]=[]}An[se].push({name:ie,func:oe})}}));An[createHybrid(oe,be).name]=[{name:"wrapper",func:oe}];LazyWrapper.prototype.clone=lazyClone;LazyWrapper.prototype.reverse=lazyReverse;LazyWrapper.prototype.value=lazyValue;lodash.prototype.at=mi;lodash.prototype.chain=wrapperChain;lodash.prototype.commit=wrapperCommit;lodash.prototype.next=wrapperNext;lodash.prototype.plant=wrapperPlant;lodash.prototype.reverse=wrapperReverse;lodash.prototype.toJSON=lodash.prototype.valueOf=lodash.prototype.value=wrapperValue;lodash.prototype.first=lodash.prototype.head;if(Pr){lodash.prototype[Pr]=wrapperToIterator}return lodash};var xn=Bn();if(typeof define=="function"&&typeof define.amd=="object"&&define.amd){fn._=xn;define((function(){return xn}))}else if(pn){(pn.exports=xn)._=xn;dn._=xn}else{fn._=xn}}).call(this)},47426:(re,ie,oe)=>{ + */(function(){var Ae;var he="4.17.21";var ge=200;var me="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",ye="Expected a function",ve="Invalid `variable` option passed into `_.template`";var be="__lodash_hash_undefined__";var Ee=500;var Ce="__lodash_placeholder__";var we=1,Ie=2,_e=4;var Be=1,Se=2;var Qe=1,xe=2,De=4,ke=8,Oe=16,Re=32,Pe=64,Te=128,Ne=256,Me=512;var Fe=30,je="...";var Le=800,Ue=16;var He=1,Ve=2,We=3;var Je=1/0,Ge=9007199254740991,qe=17976931348623157e292,Ye=0/0;var Ke=4294967295,ze=Ke-1,$e=Ke>>>1;var Ze=[["ary",Te],["bind",Qe],["bindKey",xe],["curry",ke],["curryRight",Oe],["flip",Me],["partial",Re],["partialRight",Pe],["rearg",Ne]];var Xe="[object Arguments]",et="[object Array]",tt="[object AsyncFunction]",rt="[object Boolean]",nt="[object Date]",it="[object DOMException]",ot="[object Error]",st="[object Function]",at="[object GeneratorFunction]",ct="[object Map]",ut="[object Number]",lt="[object Null]",dt="[object Object]",ft="[object Promise]",pt="[object Proxy]",At="[object RegExp]",ht="[object Set]",gt="[object String]",mt="[object Symbol]",yt="[object Undefined]",vt="[object WeakMap]",bt="[object WeakSet]";var Et="[object ArrayBuffer]",Ct="[object DataView]",wt="[object Float32Array]",It="[object Float64Array]",_t="[object Int8Array]",Bt="[object Int16Array]",St="[object Int32Array]",Qt="[object Uint8Array]",xt="[object Uint8ClampedArray]",Dt="[object Uint16Array]",kt="[object Uint32Array]";var Ot=/\b__p \+= '';/g,Rt=/\b(__p \+=) '' \+/g,Pt=/(__e\(.*?\)|\b__t\)) \+\n'';/g;var Tt=/&(?:amp|lt|gt|quot|#39);/g,Nt=/[&<>"']/g,Mt=RegExp(Tt.source),Ft=RegExp(Nt.source);var jt=/<%-([\s\S]+?)%>/g,Lt=/<%([\s\S]+?)%>/g,Ut=/<%=([\s\S]+?)%>/g;var Ht=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Vt=/^\w*$/,Wt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;var Jt=/[\\^$.*+?()[\]{}|]/g,Gt=RegExp(Jt.source);var qt=/^\s+/;var Yt=/\s/;var Kt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,zt=/\{\n\/\* \[wrapped with (.+)\] \*/,$t=/,? & /;var Zt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;var Xt=/[()=,{}\[\]\/\s]/;var er=/\\(\\)?/g;var tr=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g;var rr=/\w*$/;var nr=/^[-+]0x[0-9a-f]+$/i;var ir=/^0b[01]+$/i;var or=/^\[object .+?Constructor\]$/;var sr=/^0o[0-7]+$/i;var ar=/^(?:0|[1-9]\d*)$/;var cr=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g;var ur=/($^)/;var lr=/['\n\r\u2028\u2029\\]/g;var dr="\\ud800-\\udfff",fr="\\u0300-\\u036f",pr="\\ufe20-\\ufe2f",Ar="\\u20d0-\\u20ff",hr=fr+pr+Ar,gr="\\u2700-\\u27bf",mr="a-z\\xdf-\\xf6\\xf8-\\xff",yr="\\xac\\xb1\\xd7\\xf7",vr="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",br="\\u2000-\\u206f",Er=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Cr="A-Z\\xc0-\\xd6\\xd8-\\xde",wr="\\ufe0e\\ufe0f",Ir=yr+vr+br+Er;var _r="['’]",Br="["+dr+"]",Sr="["+Ir+"]",Qr="["+hr+"]",xr="\\d+",Dr="["+gr+"]",kr="["+mr+"]",Or="[^"+dr+Ir+xr+gr+mr+Cr+"]",Rr="\\ud83c[\\udffb-\\udfff]",Pr="(?:"+Qr+"|"+Rr+")",Tr="[^"+dr+"]",Nr="(?:\\ud83c[\\udde6-\\uddff]){2}",Mr="[\\ud800-\\udbff][\\udc00-\\udfff]",Fr="["+Cr+"]",jr="\\u200d";var Lr="(?:"+kr+"|"+Or+")",Ur="(?:"+Fr+"|"+Or+")",Hr="(?:"+_r+"(?:d|ll|m|re|s|t|ve))?",Vr="(?:"+_r+"(?:D|LL|M|RE|S|T|VE))?",Wr=Pr+"?",Jr="["+wr+"]?",Gr="(?:"+jr+"(?:"+[Tr,Nr,Mr].join("|")+")"+Jr+Wr+")*",qr="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Yr="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Kr=Jr+Wr+Gr,zr="(?:"+[Dr,Nr,Mr].join("|")+")"+Kr,$r="(?:"+[Tr+Qr+"?",Qr,Nr,Mr,Br].join("|")+")";var Zr=RegExp(_r,"g");var Xr=RegExp(Qr,"g");var en=RegExp(Rr+"(?="+Rr+")|"+$r+Kr,"g");var tn=RegExp([Fr+"?"+kr+"+"+Hr+"(?="+[Sr,Fr,"$"].join("|")+")",Ur+"+"+Vr+"(?="+[Sr,Fr+Lr,"$"].join("|")+")",Fr+"?"+Lr+"+"+Hr,Fr+"+"+Vr,Yr,qr,xr,zr].join("|"),"g");var rn=RegExp("["+jr+dr+hr+wr+"]");var nn=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;var on=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"];var sn=-1;var an={};an[wt]=an[It]=an[_t]=an[Bt]=an[St]=an[Qt]=an[xt]=an[Dt]=an[kt]=true;an[Xe]=an[et]=an[Et]=an[rt]=an[Ct]=an[nt]=an[ot]=an[st]=an[ct]=an[ut]=an[dt]=an[At]=an[ht]=an[gt]=an[vt]=false;var cn={};cn[Xe]=cn[et]=cn[Et]=cn[Ct]=cn[rt]=cn[nt]=cn[wt]=cn[It]=cn[_t]=cn[Bt]=cn[St]=cn[ct]=cn[ut]=cn[dt]=cn[At]=cn[ht]=cn[gt]=cn[mt]=cn[Qt]=cn[xt]=cn[Dt]=cn[kt]=true;cn[ot]=cn[st]=cn[vt]=false;var un={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"};var ln={"&":"&","<":"<",">":">",'"':""","'":"'"};var dn={"&":"&","<":"<",">":">",""":'"',"'":"'"};var fn={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};var pn=parseFloat,An=parseInt;var hn=typeof global=="object"&&global&&global.Object===Object&&global;var gn=typeof self=="object"&&self&&self.Object===Object&&self;var mn=hn||gn||Function("return this")();var yn=true&&pe&&!pe.nodeType&&pe;var vn=yn&&"object"=="object"&&R&&!R.nodeType&&R;var bn=vn&&vn.exports===yn;var En=bn&&hn.process;var Cn=function(){try{var R=vn&&vn.require&&vn.require("util").types;if(R){return R}return En&&En.binding&&En.binding("util")}catch(R){}}();var wn=Cn&&Cn.isArrayBuffer,In=Cn&&Cn.isDate,_n=Cn&&Cn.isMap,Bn=Cn&&Cn.isRegExp,Sn=Cn&&Cn.isSet,Qn=Cn&&Cn.isTypedArray;function apply(R,pe,Ae){switch(Ae.length){case 0:return R.call(pe);case 1:return R.call(pe,Ae[0]);case 2:return R.call(pe,Ae[0],Ae[1]);case 3:return R.call(pe,Ae[0],Ae[1],Ae[2])}return R.apply(pe,Ae)}function arrayAggregator(R,pe,Ae,he){var ge=-1,me=R==null?0:R.length;while(++ge-1}function arrayIncludesWith(R,pe,Ae){var he=-1,ge=R==null?0:R.length;while(++he-1){}return Ae}function charsEndIndex(R,pe){var Ae=R.length;while(Ae--&&baseIndexOf(pe,R[Ae],0)>-1){}return Ae}function countHolders(R,pe){var Ae=R.length,he=0;while(Ae--){if(R[Ae]===pe){++he}}return he}var Dn=basePropertyOf(un);var kn=basePropertyOf(ln);function escapeStringChar(R){return"\\"+fn[R]}function getValue(R,pe){return R==null?Ae:R[pe]}function hasUnicode(R){return rn.test(R)}function hasUnicodeWord(R){return nn.test(R)}function iteratorToArray(R){var pe,Ae=[];while(!(pe=R.next()).done){Ae.push(pe.value)}return Ae}function mapToArray(R){var pe=-1,Ae=Array(R.size);R.forEach((function(R,he){Ae[++pe]=[he,R]}));return Ae}function overArg(R,pe){return function(Ae){return R(pe(Ae))}}function replaceHolders(R,pe){var Ae=-1,he=R.length,ge=0,me=[];while(++Ae-1}function listCacheSet(R,pe){var Ae=this.__data__,he=assocIndexOf(Ae,R);if(he<0){++this.size;Ae.push([R,pe])}else{Ae[he][1]=pe}return this}ListCache.prototype.clear=listCacheClear;ListCache.prototype["delete"]=listCacheDelete;ListCache.prototype.get=listCacheGet;ListCache.prototype.has=listCacheHas;ListCache.prototype.set=listCacheSet;function MapCache(R){var pe=-1,Ae=R==null?0:R.length;this.clear();while(++pe=pe?R:pe}}return R}function baseClone(R,pe,he,ge,me,ye){var ve,be=pe&we,Ee=pe&Ie,Ce=pe&_e;if(he){ve=me?he(R,ge,me,ye):he(R)}if(ve!==Ae){return ve}if(!isObject(R)){return R}var Be=Wi(R);if(Be){ve=initCloneArray(R);if(!be){return copyArray(R,ve)}}else{var Se=Xn(R),Qe=Se==st||Se==at;if(Gi(R)){return cloneBuffer(R,be)}if(Se==dt||Se==Xe||Qe&&!me){ve=Ee||Qe?{}:initCloneObject(R);if(!be){return Ee?copySymbolsIn(R,baseAssignIn(ve,R)):copySymbols(R,baseAssign(ve,R))}}else{if(!cn[Se]){return me?R:{}}ve=initCloneByTag(R,Se,be)}}ye||(ye=new Stack);var xe=ye.get(R);if(xe){return xe}ye.set(R,ve);if(zi(R)){R.forEach((function(Ae){ve.add(baseClone(Ae,pe,he,Ae,R,ye))}))}else if(Yi(R)){R.forEach((function(Ae,ge){ve.set(ge,baseClone(Ae,pe,he,ge,R,ye))}))}var De=Ce?Ee?getAllKeysIn:getAllKeys:Ee?keysIn:keys;var ke=Be?Ae:De(R);arrayEach(ke||R,(function(Ae,ge){if(ke){ge=Ae;Ae=R[ge]}assignValue(ve,ge,baseClone(Ae,pe,he,ge,R,ye))}));return ve}function baseConforms(R){var pe=keys(R);return function(Ae){return baseConformsTo(Ae,R,pe)}}function baseConformsTo(R,pe,he){var ge=he.length;if(R==null){return!ge}R=pr(R);while(ge--){var me=he[ge],ye=pe[me],ve=R[me];if(ve===Ae&&!(me in R)||!ye(ve)){return false}}return true}function baseDelay(R,pe,he){if(typeof R!="function"){throw new gr(ye)}return ri((function(){R.apply(Ae,he)}),pe)}function baseDifference(R,pe,Ae,he){var me=-1,ye=arrayIncludes,ve=true,be=R.length,Ee=[],Ce=pe.length;if(!be){return Ee}if(Ae){pe=arrayMap(pe,baseUnary(Ae))}if(he){ye=arrayIncludesWith;ve=false}else if(pe.length>=ge){ye=cacheHas;ve=false;pe=new SetCache(pe)}e:while(++meme?0:me+he}ge=ge===Ae||ge>me?me:toInteger(ge);if(ge<0){ge+=me}ge=he>ge?0:toLength(ge);while(he0&&Ae(ve)){if(pe>1){baseFlatten(ve,pe-1,Ae,he,ge)}else{arrayPush(ge,ve)}}else if(!he){ge[ge.length]=ve}}return ge}var Vn=createBaseFor();var Wn=createBaseFor(true);function baseForOwn(R,pe){return R&&Vn(R,pe,keys)}function baseForOwnRight(R,pe){return R&&Wn(R,pe,keys)}function baseFunctions(R,pe){return arrayFilter(pe,(function(pe){return isFunction(R[pe])}))}function baseGet(R,pe){pe=castPath(pe,R);var he=0,ge=pe.length;while(R!=null&&hepe}function baseHas(R,pe){return R!=null&&Cr.call(R,pe)}function baseHasIn(R,pe){return R!=null&&pe in pr(R)}function baseInRange(R,pe,Ae){return R>=en(pe,Ae)&&R<$r(pe,Ae)}function baseIntersection(R,he,ge){var me=ge?arrayIncludesWith:arrayIncludes,ye=R[0].length,ve=R.length,be=ve,Ee=pe(ve),Ce=Infinity,we=[];while(be--){var Ie=R[be];if(be&&he){Ie=arrayMap(Ie,baseUnary(he))}Ce=en(Ie.length,Ce);Ee[be]=!ge&&(he||ye>=120&&Ie.length>=120)?new SetCache(be&&Ie):Ae}Ie=R[0];var _e=-1,Be=Ee[0];e:while(++_e-1){if(ve!==R){Nr.call(ve,be,1)}Nr.call(R,be,1)}}return R}function basePullAt(R,pe){var Ae=R?pe.length:0,he=Ae-1;while(Ae--){var ge=pe[Ae];if(Ae==he||ge!==me){var me=ge;if(isIndex(ge)){Nr.call(R,ge,1)}else{baseUnset(R,ge)}}}return R}function baseRandom(R,pe){return R+Jr(nn()*(pe-R+1))}function baseRange(R,Ae,he,ge){var me=-1,ye=$r(Wr((Ae-R)/(he||1)),0),ve=pe(ye);while(ye--){ve[ge?ye:++me]=R;R+=he}return ve}function baseRepeat(R,pe){var Ae="";if(!R||pe<1||pe>Ge){return Ae}do{if(pe%2){Ae+=R}pe=Jr(pe/2);if(pe){R+=R}}while(pe);return Ae}function baseRest(R,pe){return ni(overRest(R,pe,identity),R+"")}function baseSample(R){return arraySample(values(R))}function baseSampleSize(R,pe){var Ae=values(R);return shuffleSelf(Ae,baseClamp(pe,0,Ae.length))}function baseSet(R,pe,he,ge){if(!isObject(R)){return R}pe=castPath(pe,R);var me=-1,ye=pe.length,ve=ye-1,be=R;while(be!=null&&++meme?0:me+Ae}he=he>me?me:he;if(he<0){he+=me}me=Ae>he?0:he-Ae>>>0;Ae>>>=0;var ye=pe(me);while(++ge>>1,ye=R[me];if(ye!==null&&!isSymbol(ye)&&(Ae?ye<=pe:ye=ge){var Ce=pe?null:Kn(R);if(Ce){return setToArray(Ce)}ve=false;me=cacheHas;Ee=new SetCache}else{Ee=pe?[]:be}e:while(++he=ge?R:baseSlice(R,pe,he)}var Yn=Ur||function(R){return mn.clearTimeout(R)};function cloneBuffer(R,pe){if(pe){return R.slice()}var Ae=R.length,he=Or?Or(Ae):new R.constructor(Ae);R.copy(he);return he}function cloneArrayBuffer(R){var pe=new R.constructor(R.byteLength);new kr(pe).set(new kr(R));return pe}function cloneDataView(R,pe){var Ae=pe?cloneArrayBuffer(R.buffer):R.buffer;return new R.constructor(Ae,R.byteOffset,R.byteLength)}function cloneRegExp(R){var pe=new R.constructor(R.source,rr.exec(R));pe.lastIndex=R.lastIndex;return pe}function cloneSymbol(R){return Fn?pr(Fn.call(R)):{}}function cloneTypedArray(R,pe){var Ae=pe?cloneArrayBuffer(R.buffer):R.buffer;return new R.constructor(Ae,R.byteOffset,R.length)}function compareAscending(R,pe){if(R!==pe){var he=R!==Ae,ge=R===null,me=R===R,ye=isSymbol(R);var ve=pe!==Ae,be=pe===null,Ee=pe===pe,Ce=isSymbol(pe);if(!be&&!Ce&&!ye&&R>pe||ye&&ve&&Ee&&!be&&!Ce||ge&&ve&&Ee||!he&&Ee||!me){return 1}if(!ge&&!ye&&!Ce&&R=ve){return be}var Ee=Ae[he];return be*(Ee=="desc"?-1:1)}}return R.index-pe.index}function composeArgs(R,Ae,he,ge){var me=-1,ye=R.length,ve=he.length,be=-1,Ee=Ae.length,Ce=$r(ye-ve,0),we=pe(Ee+Ce),Ie=!ge;while(++be1?he[me-1]:Ae,ve=me>2?he[2]:Ae;ye=R.length>3&&typeof ye=="function"?(me--,ye):Ae;if(ve&&isIterateeCall(he[0],he[1],ve)){ye=me<3?Ae:ye;me=1}pe=pr(pe);while(++ge-1?me[ye?pe[ve]:ve]:Ae}}function createFlow(R){return flatRest((function(pe){var he=pe.length,ge=he,me=LodashWrapper.prototype.thru;if(R){pe.reverse()}while(ge--){var ve=pe[ge];if(typeof ve!="function"){throw new gr(ye)}if(me&&!be&&getFuncName(ve)=="wrapper"){var be=new LodashWrapper([],true)}}ge=be?ge:he;while(++ge1){Qe.reverse()}if(Ie&&Cebe)){return false}var Ce=ye.get(R);var we=ye.get(pe);if(Ce&&we){return Ce==pe&&we==R}var Ie=-1,_e=true,Qe=he&Se?new SetCache:Ae;ye.set(R,pe);ye.set(pe,R);while(++Ie1?"& ":"")+pe[he];pe=pe.join(Ae>2?", ":" ");return R.replace(Kt,"{\n/* [wrapped with "+pe+"] */\n")}function isFlattenable(R){return Wi(R)||Vi(R)||!!(Mr&&R&&R[Mr])}function isIndex(R,pe){var Ae=typeof R;pe=pe==null?Ge:pe;return!!pe&&(Ae=="number"||Ae!="symbol"&&ar.test(R))&&(R>-1&&R%1==0&&R0){if(++pe>=Le){return arguments[0]}}else{pe=0}return R.apply(Ae,arguments)}}function shuffleSelf(R,pe){var he=-1,ge=R.length,me=ge-1;pe=pe===Ae?ge:pe;while(++he1?R[pe-1]:Ae;he=typeof he=="function"?(R.pop(),he):Ae;return unzipWith(R,he)}));function chain(R){var pe=lodash(R);pe.__chain__=true;return pe}function tap(R,pe){pe(R);return R}function thru(R,pe){return pe(R)}var wi=flatRest((function(R){var pe=R.length,he=pe?R[0]:0,ge=this.__wrapped__,interceptor=function(pe){return baseAt(pe,R)};if(pe>1||this.__actions__.length||!(ge instanceof LazyWrapper)||!isIndex(he)){return this.thru(interceptor)}ge=ge.slice(he,+he+(pe?1:0));ge.__actions__.push({func:thru,args:[interceptor],thisArg:Ae});return new LodashWrapper(ge,this.__chain__).thru((function(R){if(pe&&!R.length){R.push(Ae)}return R}))}));function wrapperChain(){return chain(this)}function wrapperCommit(){return new LodashWrapper(this.value(),this.__chain__)}function wrapperNext(){if(this.__values__===Ae){this.__values__=toArray(this.value())}var R=this.__index__>=this.__values__.length,pe=R?Ae:this.__values__[this.__index__++];return{done:R,value:pe}}function wrapperToIterator(){return this}function wrapperPlant(R){var pe,he=this;while(he instanceof baseLodash){var ge=wrapperClone(he);ge.__index__=0;ge.__values__=Ae;if(pe){me.__wrapped__=ge}else{pe=ge}var me=ge;he=he.__wrapped__}me.__wrapped__=R;return pe}function wrapperReverse(){var R=this.__wrapped__;if(R instanceof LazyWrapper){var pe=R;if(this.__actions__.length){pe=new LazyWrapper(this)}pe=pe.reverse();pe.__actions__.push({func:thru,args:[reverse],thisArg:Ae});return new LodashWrapper(pe,this.__chain__)}return this.thru(reverse)}function wrapperValue(){return baseWrapperValue(this.__wrapped__,this.__actions__)}var Ii=createAggregator((function(R,pe,Ae){if(Cr.call(R,Ae)){++R[Ae]}else{baseAssignValue(R,Ae,1)}}));function every(R,pe,he){var ge=Wi(R)?arrayEvery:baseEvery;if(he&&isIterateeCall(R,pe,he)){pe=Ae}return ge(R,getIteratee(pe,3))}function filter(R,pe){var Ae=Wi(R)?arrayFilter:baseFilter;return Ae(R,getIteratee(pe,3))}var _i=createFind(findIndex);var Bi=createFind(findLastIndex);function flatMap(R,pe){return baseFlatten(map(R,pe),1)}function flatMapDeep(R,pe){return baseFlatten(map(R,pe),Je)}function flatMapDepth(R,pe,he){he=he===Ae?1:toInteger(he);return baseFlatten(map(R,pe),he)}function forEach(R,pe){var Ae=Wi(R)?arrayEach:Un;return Ae(R,getIteratee(pe,3))}function forEachRight(R,pe){var Ae=Wi(R)?arrayEachRight:Hn;return Ae(R,getIteratee(pe,3))}var Si=createAggregator((function(R,pe,Ae){if(Cr.call(R,Ae)){R[Ae].push(pe)}else{baseAssignValue(R,Ae,[pe])}}));function includes(R,pe,Ae,he){R=isArrayLike(R)?R:values(R);Ae=Ae&&!he?toInteger(Ae):0;var ge=R.length;if(Ae<0){Ae=$r(ge+Ae,0)}return isString(R)?Ae<=ge&&R.indexOf(pe,Ae)>-1:!!ge&&baseIndexOf(R,pe,Ae)>-1}var Qi=baseRest((function(R,Ae,he){var ge=-1,me=typeof Ae=="function",ye=isArrayLike(R)?pe(R.length):[];Un(R,(function(R){ye[++ge]=me?apply(Ae,R,he):baseInvoke(R,Ae,he)}));return ye}));var xi=createAggregator((function(R,pe,Ae){baseAssignValue(R,Ae,pe)}));function map(R,pe){var Ae=Wi(R)?arrayMap:baseMap;return Ae(R,getIteratee(pe,3))}function orderBy(R,pe,he,ge){if(R==null){return[]}if(!Wi(pe)){pe=pe==null?[]:[pe]}he=ge?Ae:he;if(!Wi(he)){he=he==null?[]:[he]}return baseOrderBy(R,pe,he)}var Di=createAggregator((function(R,pe,Ae){R[Ae?0:1].push(pe)}),(function(){return[[],[]]}));function reduce(R,pe,Ae){var he=Wi(R)?arrayReduce:baseReduce,ge=arguments.length<3;return he(R,getIteratee(pe,4),Ae,ge,Un)}function reduceRight(R,pe,Ae){var he=Wi(R)?arrayReduceRight:baseReduce,ge=arguments.length<3;return he(R,getIteratee(pe,4),Ae,ge,Hn)}function reject(R,pe){var Ae=Wi(R)?arrayFilter:baseFilter;return Ae(R,negate(getIteratee(pe,3)))}function sample(R){var pe=Wi(R)?arraySample:baseSample;return pe(R)}function sampleSize(R,pe,he){if(he?isIterateeCall(R,pe,he):pe===Ae){pe=1}else{pe=toInteger(pe)}var ge=Wi(R)?arraySampleSize:baseSampleSize;return ge(R,pe)}function shuffle(R){var pe=Wi(R)?arrayShuffle:baseShuffle;return pe(R)}function size(R){if(R==null){return 0}if(isArrayLike(R)){return isString(R)?stringSize(R):R.length}var pe=Xn(R);if(pe==ct||pe==ht){return R.size}return baseKeys(R).length}function some(R,pe,he){var ge=Wi(R)?arraySome:baseSome;if(he&&isIterateeCall(R,pe,he)){pe=Ae}return ge(R,getIteratee(pe,3))}var ki=baseRest((function(R,pe){if(R==null){return[]}var Ae=pe.length;if(Ae>1&&isIterateeCall(R,pe[0],pe[1])){pe=[]}else if(Ae>2&&isIterateeCall(pe[0],pe[1],pe[2])){pe=[pe[0]]}return baseOrderBy(R,baseFlatten(pe,1),[])}));var Oi=Hr||function(){return mn.Date.now()};function after(R,pe){if(typeof pe!="function"){throw new gr(ye)}R=toInteger(R);return function(){if(--R<1){return pe.apply(this,arguments)}}}function ary(R,pe,he){pe=he?Ae:pe;pe=R&&pe==null?R.length:pe;return createWrap(R,Te,Ae,Ae,Ae,Ae,pe)}function before(R,pe){var he;if(typeof pe!="function"){throw new gr(ye)}R=toInteger(R);return function(){if(--R>0){he=pe.apply(this,arguments)}if(R<=1){pe=Ae}return he}}var Ri=baseRest((function(R,pe,Ae){var he=Qe;if(Ae.length){var ge=replaceHolders(Ae,getHolder(Ri));he|=Re}return createWrap(R,he,pe,Ae,ge)}));var Pi=baseRest((function(R,pe,Ae){var he=Qe|xe;if(Ae.length){var ge=replaceHolders(Ae,getHolder(Pi));he|=Re}return createWrap(pe,he,R,Ae,ge)}));function curry(R,pe,he){pe=he?Ae:pe;var ge=createWrap(R,ke,Ae,Ae,Ae,Ae,Ae,pe);ge.placeholder=curry.placeholder;return ge}function curryRight(R,pe,he){pe=he?Ae:pe;var ge=createWrap(R,Oe,Ae,Ae,Ae,Ae,Ae,pe);ge.placeholder=curryRight.placeholder;return ge}function debounce(R,pe,he){var ge,me,ve,be,Ee,Ce,we=0,Ie=false,_e=false,Be=true;if(typeof R!="function"){throw new gr(ye)}pe=toNumber(pe)||0;if(isObject(he)){Ie=!!he.leading;_e="maxWait"in he;ve=_e?$r(toNumber(he.maxWait)||0,pe):ve;Be="trailing"in he?!!he.trailing:Be}function invokeFunc(pe){var he=ge,ye=me;ge=me=Ae;we=pe;be=R.apply(ye,he);return be}function leadingEdge(R){we=R;Ee=ri(timerExpired,pe);return Ie?invokeFunc(R):be}function remainingWait(R){var Ae=R-Ce,he=R-we,ge=pe-Ae;return _e?en(ge,ve-he):ge}function shouldInvoke(R){var he=R-Ce,ge=R-we;return Ce===Ae||he>=pe||he<0||_e&&ge>=ve}function timerExpired(){var R=Oi();if(shouldInvoke(R)){return trailingEdge(R)}Ee=ri(timerExpired,remainingWait(R))}function trailingEdge(R){Ee=Ae;if(Be&&ge){return invokeFunc(R)}ge=me=Ae;return be}function cancel(){if(Ee!==Ae){Yn(Ee)}we=0;ge=Ce=me=Ee=Ae}function flush(){return Ee===Ae?be:trailingEdge(Oi())}function debounced(){var R=Oi(),he=shouldInvoke(R);ge=arguments;me=this;Ce=R;if(he){if(Ee===Ae){return leadingEdge(Ce)}if(_e){Yn(Ee);Ee=ri(timerExpired,pe);return invokeFunc(Ce)}}if(Ee===Ae){Ee=ri(timerExpired,pe)}return be}debounced.cancel=cancel;debounced.flush=flush;return debounced}var Ti=baseRest((function(R,pe){return baseDelay(R,1,pe)}));var Ni=baseRest((function(R,pe,Ae){return baseDelay(R,toNumber(pe)||0,Ae)}));function flip(R){return createWrap(R,Me)}function memoize(R,pe){if(typeof R!="function"||pe!=null&&typeof pe!="function"){throw new gr(ye)}var memoized=function(){var Ae=arguments,he=pe?pe.apply(this,Ae):Ae[0],ge=memoized.cache;if(ge.has(he)){return ge.get(he)}var me=R.apply(this,Ae);memoized.cache=ge.set(he,me)||ge;return me};memoized.cache=new(memoize.Cache||MapCache);return memoized}memoize.Cache=MapCache;function negate(R){if(typeof R!="function"){throw new gr(ye)}return function(){var pe=arguments;switch(pe.length){case 0:return!R.call(this);case 1:return!R.call(this,pe[0]);case 2:return!R.call(this,pe[0],pe[1]);case 3:return!R.call(this,pe[0],pe[1],pe[2])}return!R.apply(this,pe)}}function once(R){return before(2,R)}var Mi=qn((function(R,pe){pe=pe.length==1&&Wi(pe[0])?arrayMap(pe[0],baseUnary(getIteratee())):arrayMap(baseFlatten(pe,1),baseUnary(getIteratee()));var Ae=pe.length;return baseRest((function(he){var ge=-1,me=en(he.length,Ae);while(++ge=pe}));var Vi=baseIsArguments(function(){return arguments}())?baseIsArguments:function(R){return isObjectLike(R)&&Cr.call(R,"callee")&&!Tr.call(R,"callee")};var Wi=pe.isArray;var Ji=wn?baseUnary(wn):baseIsArrayBuffer;function isArrayLike(R){return R!=null&&isLength(R.length)&&!isFunction(R)}function isArrayLikeObject(R){return isObjectLike(R)&&isArrayLike(R)}function isBoolean(R){return R===true||R===false||isObjectLike(R)&&baseGetTag(R)==rt}var Gi=qr||stubFalse;var qi=In?baseUnary(In):baseIsDate;function isElement(R){return isObjectLike(R)&&R.nodeType===1&&!isPlainObject(R)}function isEmpty(R){if(R==null){return true}if(isArrayLike(R)&&(Wi(R)||typeof R=="string"||typeof R.splice=="function"||Gi(R)||$i(R)||Vi(R))){return!R.length}var pe=Xn(R);if(pe==ct||pe==ht){return!R.size}if(isPrototype(R)){return!baseKeys(R).length}for(var Ae in R){if(Cr.call(R,Ae)){return false}}return true}function isEqual(R,pe){return baseIsEqual(R,pe)}function isEqualWith(R,pe,he){he=typeof he=="function"?he:Ae;var ge=he?he(R,pe):Ae;return ge===Ae?baseIsEqual(R,pe,Ae,he):!!ge}function isError(R){if(!isObjectLike(R)){return false}var pe=baseGetTag(R);return pe==ot||pe==it||typeof R.message=="string"&&typeof R.name=="string"&&!isPlainObject(R)}function isFinite(R){return typeof R=="number"&&Yr(R)}function isFunction(R){if(!isObject(R)){return false}var pe=baseGetTag(R);return pe==st||pe==at||pe==tt||pe==pt}function isInteger(R){return typeof R=="number"&&R==toInteger(R)}function isLength(R){return typeof R=="number"&&R>-1&&R%1==0&&R<=Ge}function isObject(R){var pe=typeof R;return R!=null&&(pe=="object"||pe=="function")}function isObjectLike(R){return R!=null&&typeof R=="object"}var Yi=_n?baseUnary(_n):baseIsMap;function isMatch(R,pe){return R===pe||baseIsMatch(R,pe,getMatchData(pe))}function isMatchWith(R,pe,he){he=typeof he=="function"?he:Ae;return baseIsMatch(R,pe,getMatchData(pe),he)}function isNaN(R){return isNumber(R)&&R!=+R}function isNative(R){if(ei(R)){throw new Zt(me)}return baseIsNative(R)}function isNull(R){return R===null}function isNil(R){return R==null}function isNumber(R){return typeof R=="number"||isObjectLike(R)&&baseGetTag(R)==ut}function isPlainObject(R){if(!isObjectLike(R)||baseGetTag(R)!=dt){return false}var pe=Rr(R);if(pe===null){return true}var Ae=Cr.call(pe,"constructor")&&pe.constructor;return typeof Ae=="function"&&Ae instanceof Ae&&Er.call(Ae)==Br}var Ki=Bn?baseUnary(Bn):baseIsRegExp;function isSafeInteger(R){return isInteger(R)&&R>=-Ge&&R<=Ge}var zi=Sn?baseUnary(Sn):baseIsSet;function isString(R){return typeof R=="string"||!Wi(R)&&isObjectLike(R)&&baseGetTag(R)==gt}function isSymbol(R){return typeof R=="symbol"||isObjectLike(R)&&baseGetTag(R)==mt}var $i=Qn?baseUnary(Qn):baseIsTypedArray;function isUndefined(R){return R===Ae}function isWeakMap(R){return isObjectLike(R)&&Xn(R)==vt}function isWeakSet(R){return isObjectLike(R)&&baseGetTag(R)==bt}var Zi=createRelationalOperation(baseLt);var Xi=createRelationalOperation((function(R,pe){return R<=pe}));function toArray(R){if(!R){return[]}if(isArrayLike(R)){return isString(R)?stringToArray(R):copyArray(R)}if(Fr&&R[Fr]){return iteratorToArray(R[Fr]())}var pe=Xn(R),Ae=pe==ct?mapToArray:pe==ht?setToArray:values;return Ae(R)}function toFinite(R){if(!R){return R===0?R:0}R=toNumber(R);if(R===Je||R===-Je){var pe=R<0?-1:1;return pe*qe}return R===R?R:0}function toInteger(R){var pe=toFinite(R),Ae=pe%1;return pe===pe?Ae?pe-Ae:pe:0}function toLength(R){return R?baseClamp(toInteger(R),0,Ke):0}function toNumber(R){if(typeof R=="number"){return R}if(isSymbol(R)){return Ye}if(isObject(R)){var pe=typeof R.valueOf=="function"?R.valueOf():R;R=isObject(pe)?pe+"":pe}if(typeof R!="string"){return R===0?R:+R}R=baseTrim(R);var Ae=ir.test(R);return Ae||sr.test(R)?An(R.slice(2),Ae?2:8):nr.test(R)?Ye:+R}function toPlainObject(R){return copyObject(R,keysIn(R))}function toSafeInteger(R){return R?baseClamp(toInteger(R),-Ge,Ge):R===0?R:0}function toString(R){return R==null?"":baseToString(R)}var eo=createAssigner((function(R,pe){if(isPrototype(pe)||isArrayLike(pe)){copyObject(pe,keys(pe),R);return}for(var Ae in pe){if(Cr.call(pe,Ae)){assignValue(R,Ae,pe[Ae])}}}));var ro=createAssigner((function(R,pe){copyObject(pe,keysIn(pe),R)}));var no=createAssigner((function(R,pe,Ae,he){copyObject(pe,keysIn(pe),R,he)}));var io=createAssigner((function(R,pe,Ae,he){copyObject(pe,keys(pe),R,he)}));var oo=flatRest(baseAt);function create(R,pe){var Ae=Ln(R);return pe==null?Ae:baseAssign(Ae,pe)}var so=baseRest((function(R,pe){R=pr(R);var he=-1;var ge=pe.length;var me=ge>2?pe[2]:Ae;if(me&&isIterateeCall(pe[0],pe[1],me)){ge=1}while(++he1);return pe}));copyObject(R,getAllKeysIn(R),Ae);if(he){Ae=baseClone(Ae,we|Ie|_e,customOmitClone)}var ge=pe.length;while(ge--){baseUnset(Ae,pe[ge])}return Ae}));function omitBy(R,pe){return pickBy(R,negate(getIteratee(pe)))}var ho=flatRest((function(R,pe){return R==null?{}:basePick(R,pe)}));function pickBy(R,pe){if(R==null){return{}}var Ae=arrayMap(getAllKeysIn(R),(function(R){return[R]}));pe=getIteratee(pe);return basePickBy(R,Ae,(function(R,Ae){return pe(R,Ae[0])}))}function result(R,pe,he){pe=castPath(pe,R);var ge=-1,me=pe.length;if(!me){me=1;R=Ae}while(++gepe){var ge=R;R=pe;pe=ge}if(he||R%1||pe%1){var me=nn();return en(R+me*(pe-R+pn("1e-"+((me+"").length-1))),pe)}return baseRandom(R,pe)}var yo=createCompounder((function(R,pe,Ae){pe=pe.toLowerCase();return R+(Ae?capitalize(pe):pe)}));function capitalize(R){return _o(toString(R).toLowerCase())}function deburr(R){R=toString(R);return R&&R.replace(cr,Dn).replace(Xr,"")}function endsWith(R,pe,he){R=toString(R);pe=baseToString(pe);var ge=R.length;he=he===Ae?ge:baseClamp(toInteger(he),0,ge);var me=he;he-=pe.length;return he>=0&&R.slice(he,me)==pe}function escape(R){R=toString(R);return R&&Ft.test(R)?R.replace(Nt,kn):R}function escapeRegExp(R){R=toString(R);return R&&Gt.test(R)?R.replace(Jt,"\\$&"):R}var vo=createCompounder((function(R,pe,Ae){return R+(Ae?"-":"")+pe.toLowerCase()}));var bo=createCompounder((function(R,pe,Ae){return R+(Ae?" ":"")+pe.toLowerCase()}));var Eo=createCaseFirst("toLowerCase");function pad(R,pe,Ae){R=toString(R);pe=toInteger(pe);var he=pe?stringSize(R):0;if(!pe||he>=pe){return R}var ge=(pe-he)/2;return createPadding(Jr(ge),Ae)+R+createPadding(Wr(ge),Ae)}function padEnd(R,pe,Ae){R=toString(R);pe=toInteger(pe);var he=pe?stringSize(R):0;return pe&&he>>0;if(!he){return[]}R=toString(R);if(R&&(typeof pe=="string"||pe!=null&&!Ki(pe))){pe=baseToString(pe);if(!pe&&hasUnicode(R)){return castSlice(stringToArray(R),0,he)}}return R.split(pe,he)}var wo=createCompounder((function(R,pe,Ae){return R+(Ae?" ":"")+_o(pe)}));function startsWith(R,pe,Ae){R=toString(R);Ae=Ae==null?0:baseClamp(toInteger(Ae),0,R.length);pe=baseToString(pe);return R.slice(Ae,Ae+pe.length)==pe}function template(R,pe,he){var ge=lodash.templateSettings;if(he&&isIterateeCall(R,pe,he)){pe=Ae}R=toString(R);pe=no({},pe,ge,customDefaultsAssignIn);var me=no({},pe.imports,ge.imports,customDefaultsAssignIn),ye=keys(me),be=baseValues(me,ye);var Ee,Ce,we=0,Ie=pe.interpolate||ur,_e="__p += '";var Be=Ar((pe.escape||ur).source+"|"+Ie.source+"|"+(Ie===Ut?tr:ur).source+"|"+(pe.evaluate||ur).source+"|$","g");var Se="//# sourceURL="+(Cr.call(pe,"sourceURL")?(pe.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++sn+"]")+"\n";R.replace(Be,(function(pe,Ae,he,ge,me,ye){he||(he=ge);_e+=R.slice(we,ye).replace(lr,escapeStringChar);if(Ae){Ee=true;_e+="' +\n__e("+Ae+") +\n'"}if(me){Ce=true;_e+="';\n"+me+";\n__p += '"}if(he){_e+="' +\n((__t = ("+he+")) == null ? '' : __t) +\n'"}we=ye+pe.length;return pe}));_e+="';\n";var Qe=Cr.call(pe,"variable")&&pe.variable;if(!Qe){_e="with (obj) {\n"+_e+"\n}\n"}else if(Xt.test(Qe)){throw new Zt(ve)}_e=(Ce?_e.replace(Ot,""):_e).replace(Rt,"$1").replace(Pt,"$1;");_e="function("+(Qe||"obj")+") {\n"+(Qe?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(Ee?", __e = _.escape":"")+(Ce?", __j = Array.prototype.join;\n"+"function print() { __p += __j.call(arguments, '') }\n":";\n")+_e+"return __p\n}";var xe=Bo((function(){return dr(ye,Se+"return "+_e).apply(Ae,be)}));xe.source=_e;if(isError(xe)){throw xe}return xe}function toLower(R){return toString(R).toLowerCase()}function toUpper(R){return toString(R).toUpperCase()}function trim(R,pe,he){R=toString(R);if(R&&(he||pe===Ae)){return baseTrim(R)}if(!R||!(pe=baseToString(pe))){return R}var ge=stringToArray(R),me=stringToArray(pe),ye=charsStartIndex(ge,me),ve=charsEndIndex(ge,me)+1;return castSlice(ge,ye,ve).join("")}function trimEnd(R,pe,he){R=toString(R);if(R&&(he||pe===Ae)){return R.slice(0,trimmedEndIndex(R)+1)}if(!R||!(pe=baseToString(pe))){return R}var ge=stringToArray(R),me=charsEndIndex(ge,stringToArray(pe))+1;return castSlice(ge,0,me).join("")}function trimStart(R,pe,he){R=toString(R);if(R&&(he||pe===Ae)){return R.replace(qt,"")}if(!R||!(pe=baseToString(pe))){return R}var ge=stringToArray(R),me=charsStartIndex(ge,stringToArray(pe));return castSlice(ge,me).join("")}function truncate(R,pe){var he=Fe,ge=je;if(isObject(pe)){var me="separator"in pe?pe.separator:me;he="length"in pe?toInteger(pe.length):he;ge="omission"in pe?baseToString(pe.omission):ge}R=toString(R);var ye=R.length;if(hasUnicode(R)){var ve=stringToArray(R);ye=ve.length}if(he>=ye){return R}var be=he-stringSize(ge);if(be<1){return ge}var Ee=ve?castSlice(ve,0,be).join(""):R.slice(0,be);if(me===Ae){return Ee+ge}if(ve){be+=Ee.length-be}if(Ki(me)){if(R.slice(be).search(me)){var Ce,we=Ee;if(!me.global){me=Ar(me.source,toString(rr.exec(me))+"g")}me.lastIndex=0;while(Ce=me.exec(we)){var Ie=Ce.index}Ee=Ee.slice(0,Ie===Ae?be:Ie)}}else if(R.indexOf(baseToString(me),be)!=be){var _e=Ee.lastIndexOf(me);if(_e>-1){Ee=Ee.slice(0,_e)}}return Ee+ge}function unescape(R){R=toString(R);return R&&Mt.test(R)?R.replace(Tt,On):R}var Io=createCompounder((function(R,pe,Ae){return R+(Ae?" ":"")+pe.toUpperCase()}));var _o=createCaseFirst("toUpperCase");function words(R,pe,he){R=toString(R);pe=he?Ae:pe;if(pe===Ae){return hasUnicodeWord(R)?unicodeWords(R):asciiWords(R)}return R.match(pe)||[]}var Bo=baseRest((function(R,pe){try{return apply(R,Ae,pe)}catch(R){return isError(R)?R:new Zt(R)}}));var So=flatRest((function(R,pe){arrayEach(pe,(function(pe){pe=toKey(pe);baseAssignValue(R,pe,Ri(R[pe],R))}));return R}));function cond(R){var pe=R==null?0:R.length,Ae=getIteratee();R=!pe?[]:arrayMap(R,(function(R){if(typeof R[1]!="function"){throw new gr(ye)}return[Ae(R[0]),R[1]]}));return baseRest((function(Ae){var he=-1;while(++heGe){return[]}var Ae=Ke,he=en(R,Ke);pe=getIteratee(pe);R-=Ke;var ge=baseTimes(he,pe);while(++Ae0||pe<0)){return new LazyWrapper(he)}if(R<0){he=he.takeRight(-R)}else if(R){he=he.drop(R)}if(pe!==Ae){pe=toInteger(pe);he=pe<0?he.dropRight(-pe):he.take(pe-R)}return he};LazyWrapper.prototype.takeRightWhile=function(R){return this.reverse().takeWhile(R).reverse()};LazyWrapper.prototype.toArray=function(){return this.take(Ke)};baseForOwn(LazyWrapper.prototype,(function(R,pe){var he=/^(?:filter|find|map|reject)|While$/.test(pe),ge=/^(?:head|last)$/.test(pe),me=lodash[ge?"take"+(pe=="last"?"Right":""):pe],ye=ge||/^find/.test(pe);if(!me){return}lodash.prototype[pe]=function(){var pe=this.__wrapped__,ve=ge?[1]:arguments,be=pe instanceof LazyWrapper,Ee=ve[0],Ce=be||Wi(pe);var interceptor=function(R){var pe=me.apply(lodash,arrayPush([R],ve));return ge&&we?pe[0]:pe};if(Ce&&he&&typeof Ee=="function"&&Ee.length!=1){be=Ce=false}var we=this.__chain__,Ie=!!this.__actions__.length,_e=ye&&!we,Be=be&&!Ie;if(!ye&&Ce){pe=Be?pe:new LazyWrapper(this);var Se=R.apply(pe,ve);Se.__actions__.push({func:thru,args:[interceptor],thisArg:Ae});return new LodashWrapper(Se,we)}if(_e&&Be){return R.apply(this,ve)}Se=this.thru(interceptor);return _e?ge?Se.value()[0]:Se.value():Se}}));arrayEach(["pop","push","shift","sort","splice","unshift"],(function(R){var pe=mr[R],Ae=/^(?:push|sort|unshift)$/.test(R)?"tap":"thru",he=/^(?:pop|shift)$/.test(R);lodash.prototype[R]=function(){var R=arguments;if(he&&!this.__chain__){var ge=this.value();return pe.apply(Wi(ge)?ge:[],R)}return this[Ae]((function(Ae){return pe.apply(Wi(Ae)?Ae:[],R)}))}}));baseForOwn(LazyWrapper.prototype,(function(R,pe){var Ae=lodash[pe];if(Ae){var he=Ae.name+"";if(!Cr.call(En,he)){En[he]=[]}En[he].push({name:pe,func:Ae})}}));En[createHybrid(Ae,xe).name]=[{name:"wrapper",func:Ae}];LazyWrapper.prototype.clone=lazyClone;LazyWrapper.prototype.reverse=lazyReverse;LazyWrapper.prototype.value=lazyValue;lodash.prototype.at=wi;lodash.prototype.chain=wrapperChain;lodash.prototype.commit=wrapperCommit;lodash.prototype.next=wrapperNext;lodash.prototype.plant=wrapperPlant;lodash.prototype.reverse=wrapperReverse;lodash.prototype.toJSON=lodash.prototype.valueOf=lodash.prototype.value=wrapperValue;lodash.prototype.first=lodash.prototype.head;if(Fr){lodash.prototype[Fr]=wrapperToIterator}return lodash};var Pn=Rn();if(typeof define=="function"&&typeof define.amd=="object"&&define.amd){mn._=Pn;define((function(){return Pn}))}else if(vn){(vn.exports=Pn)._=Pn;yn._=Pn}else{mn._=Pn}}).call(this)},47426:(R,pe,Ae)=>{ /*! * mime-db * Copyright(c) 2014 Jonathan Ong * Copyright(c) 2015-2022 Douglas Christopher Wilson * MIT Licensed */ -re.exports=oe(53765)},43583:(re,ie,oe)=>{"use strict"; +R.exports=Ae(53765)},43583:(R,pe,Ae)=>{"use strict"; /*! * mime-types * Copyright(c) 2014 Jonathan Ong * Copyright(c) 2015 Douglas Christopher Wilson * MIT Licensed - */var se=oe(47426);var ae=oe(71017).extname;var ce=/^\s*([^;\s]*)(?:;|\s|$)/;var ue=/^text\//i;ie.charset=charset;ie.charsets={lookup:charset};ie.contentType=contentType;ie.extension=extension;ie.extensions=Object.create(null);ie.lookup=lookup;ie.types=Object.create(null);populateMaps(ie.extensions,ie.types);function charset(re){if(!re||typeof re!=="string"){return false}var ie=ce.exec(re);var oe=ie&&se[ie[1].toLowerCase()];if(oe&&oe.charset){return oe.charset}if(ie&&ue.test(ie[1])){return"UTF-8"}return false}function contentType(re){if(!re||typeof re!=="string"){return false}var oe=re.indexOf("/")===-1?ie.lookup(re):re;if(!oe){return false}if(oe.indexOf("charset")===-1){var se=ie.charset(oe);if(se)oe+="; charset="+se.toLowerCase()}return oe}function extension(re){if(!re||typeof re!=="string"){return false}var oe=ce.exec(re);var se=oe&&ie.extensions[oe[1].toLowerCase()];if(!se||!se.length){return false}return se[0]}function lookup(re){if(!re||typeof re!=="string"){return false}var oe=ae("x."+re).toLowerCase().substr(1);if(!oe){return false}return ie.types[oe]||false}function populateMaps(re,ie){var oe=["nginx","apache",undefined,"iana"];Object.keys(se).forEach((function forEachMimeType(ae){var ce=se[ae];var ue=ce.extensions;if(!ue||!ue.length){return}re[ae]=ue;for(var le=0;lepe||de===pe&&ie[fe].substr(0,12)==="application/")){continue}}ie[fe]=ae}}))}},46038:re=>{"use strict";function Mime(){this._types=Object.create(null);this._extensions=Object.create(null);for(let re=0;re{"use strict";let se=oe(46038);re.exports=new se(oe(13114),oe(38809))},38809:re=>{re.exports={"application/prs.cww":["cww"],"application/vnd.1000minds.decision-model+xml":["1km"],"application/vnd.3gpp.pic-bw-large":["plb"],"application/vnd.3gpp.pic-bw-small":["psb"],"application/vnd.3gpp.pic-bw-var":["pvb"],"application/vnd.3gpp2.tcap":["tcap"],"application/vnd.3m.post-it-notes":["pwn"],"application/vnd.accpac.simply.aso":["aso"],"application/vnd.accpac.simply.imp":["imp"],"application/vnd.acucobol":["acu"],"application/vnd.acucorp":["atc","acutc"],"application/vnd.adobe.air-application-installer-package+zip":["air"],"application/vnd.adobe.formscentral.fcdt":["fcdt"],"application/vnd.adobe.fxp":["fxp","fxpl"],"application/vnd.adobe.xdp+xml":["xdp"],"application/vnd.adobe.xfdf":["xfdf"],"application/vnd.ahead.space":["ahead"],"application/vnd.airzip.filesecure.azf":["azf"],"application/vnd.airzip.filesecure.azs":["azs"],"application/vnd.amazon.ebook":["azw"],"application/vnd.americandynamics.acc":["acc"],"application/vnd.amiga.ami":["ami"],"application/vnd.android.package-archive":["apk"],"application/vnd.anser-web-certificate-issue-initiation":["cii"],"application/vnd.anser-web-funds-transfer-initiation":["fti"],"application/vnd.antix.game-component":["atx"],"application/vnd.apple.installer+xml":["mpkg"],"application/vnd.apple.keynote":["key"],"application/vnd.apple.mpegurl":["m3u8"],"application/vnd.apple.numbers":["numbers"],"application/vnd.apple.pages":["pages"],"application/vnd.apple.pkpass":["pkpass"],"application/vnd.aristanetworks.swi":["swi"],"application/vnd.astraea-software.iota":["iota"],"application/vnd.audiograph":["aep"],"application/vnd.balsamiq.bmml+xml":["bmml"],"application/vnd.blueice.multipass":["mpm"],"application/vnd.bmi":["bmi"],"application/vnd.businessobjects":["rep"],"application/vnd.chemdraw+xml":["cdxml"],"application/vnd.chipnuts.karaoke-mmd":["mmd"],"application/vnd.cinderella":["cdy"],"application/vnd.citationstyles.style+xml":["csl"],"application/vnd.claymore":["cla"],"application/vnd.cloanto.rp9":["rp9"],"application/vnd.clonk.c4group":["c4g","c4d","c4f","c4p","c4u"],"application/vnd.cluetrust.cartomobile-config":["c11amc"],"application/vnd.cluetrust.cartomobile-config-pkg":["c11amz"],"application/vnd.commonspace":["csp"],"application/vnd.contact.cmsg":["cdbcmsg"],"application/vnd.cosmocaller":["cmc"],"application/vnd.crick.clicker":["clkx"],"application/vnd.crick.clicker.keyboard":["clkk"],"application/vnd.crick.clicker.palette":["clkp"],"application/vnd.crick.clicker.template":["clkt"],"application/vnd.crick.clicker.wordbank":["clkw"],"application/vnd.criticaltools.wbs+xml":["wbs"],"application/vnd.ctc-posml":["pml"],"application/vnd.cups-ppd":["ppd"],"application/vnd.curl.car":["car"],"application/vnd.curl.pcurl":["pcurl"],"application/vnd.dart":["dart"],"application/vnd.data-vision.rdz":["rdz"],"application/vnd.dbf":["dbf"],"application/vnd.dece.data":["uvf","uvvf","uvd","uvvd"],"application/vnd.dece.ttml+xml":["uvt","uvvt"],"application/vnd.dece.unspecified":["uvx","uvvx"],"application/vnd.dece.zip":["uvz","uvvz"],"application/vnd.denovo.fcselayout-link":["fe_launch"],"application/vnd.dna":["dna"],"application/vnd.dolby.mlp":["mlp"],"application/vnd.dpgraph":["dpg"],"application/vnd.dreamfactory":["dfac"],"application/vnd.ds-keypoint":["kpxx"],"application/vnd.dvb.ait":["ait"],"application/vnd.dvb.service":["svc"],"application/vnd.dynageo":["geo"],"application/vnd.ecowin.chart":["mag"],"application/vnd.enliven":["nml"],"application/vnd.epson.esf":["esf"],"application/vnd.epson.msf":["msf"],"application/vnd.epson.quickanime":["qam"],"application/vnd.epson.salt":["slt"],"application/vnd.epson.ssf":["ssf"],"application/vnd.eszigno3+xml":["es3","et3"],"application/vnd.ezpix-album":["ez2"],"application/vnd.ezpix-package":["ez3"],"application/vnd.fdf":["fdf"],"application/vnd.fdsn.mseed":["mseed"],"application/vnd.fdsn.seed":["seed","dataless"],"application/vnd.flographit":["gph"],"application/vnd.fluxtime.clip":["ftc"],"application/vnd.framemaker":["fm","frame","maker","book"],"application/vnd.frogans.fnc":["fnc"],"application/vnd.frogans.ltf":["ltf"],"application/vnd.fsc.weblaunch":["fsc"],"application/vnd.fujitsu.oasys":["oas"],"application/vnd.fujitsu.oasys2":["oa2"],"application/vnd.fujitsu.oasys3":["oa3"],"application/vnd.fujitsu.oasysgp":["fg5"],"application/vnd.fujitsu.oasysprs":["bh2"],"application/vnd.fujixerox.ddd":["ddd"],"application/vnd.fujixerox.docuworks":["xdw"],"application/vnd.fujixerox.docuworks.binder":["xbd"],"application/vnd.fuzzysheet":["fzs"],"application/vnd.genomatix.tuxedo":["txd"],"application/vnd.geogebra.file":["ggb"],"application/vnd.geogebra.tool":["ggt"],"application/vnd.geometry-explorer":["gex","gre"],"application/vnd.geonext":["gxt"],"application/vnd.geoplan":["g2w"],"application/vnd.geospace":["g3w"],"application/vnd.gmx":["gmx"],"application/vnd.google-apps.document":["gdoc"],"application/vnd.google-apps.presentation":["gslides"],"application/vnd.google-apps.spreadsheet":["gsheet"],"application/vnd.google-earth.kml+xml":["kml"],"application/vnd.google-earth.kmz":["kmz"],"application/vnd.grafeq":["gqf","gqs"],"application/vnd.groove-account":["gac"],"application/vnd.groove-help":["ghf"],"application/vnd.groove-identity-message":["gim"],"application/vnd.groove-injector":["grv"],"application/vnd.groove-tool-message":["gtm"],"application/vnd.groove-tool-template":["tpl"],"application/vnd.groove-vcard":["vcg"],"application/vnd.hal+xml":["hal"],"application/vnd.handheld-entertainment+xml":["zmm"],"application/vnd.hbci":["hbci"],"application/vnd.hhe.lesson-player":["les"],"application/vnd.hp-hpgl":["hpgl"],"application/vnd.hp-hpid":["hpid"],"application/vnd.hp-hps":["hps"],"application/vnd.hp-jlyt":["jlt"],"application/vnd.hp-pcl":["pcl"],"application/vnd.hp-pclxl":["pclxl"],"application/vnd.hydrostatix.sof-data":["sfd-hdstx"],"application/vnd.ibm.minipay":["mpy"],"application/vnd.ibm.modcap":["afp","listafp","list3820"],"application/vnd.ibm.rights-management":["irm"],"application/vnd.ibm.secure-container":["sc"],"application/vnd.iccprofile":["icc","icm"],"application/vnd.igloader":["igl"],"application/vnd.immervision-ivp":["ivp"],"application/vnd.immervision-ivu":["ivu"],"application/vnd.insors.igm":["igm"],"application/vnd.intercon.formnet":["xpw","xpx"],"application/vnd.intergeo":["i2g"],"application/vnd.intu.qbo":["qbo"],"application/vnd.intu.qfx":["qfx"],"application/vnd.ipunplugged.rcprofile":["rcprofile"],"application/vnd.irepository.package+xml":["irp"],"application/vnd.is-xpr":["xpr"],"application/vnd.isac.fcs":["fcs"],"application/vnd.jam":["jam"],"application/vnd.jcp.javame.midlet-rms":["rms"],"application/vnd.jisp":["jisp"],"application/vnd.joost.joda-archive":["joda"],"application/vnd.kahootz":["ktz","ktr"],"application/vnd.kde.karbon":["karbon"],"application/vnd.kde.kchart":["chrt"],"application/vnd.kde.kformula":["kfo"],"application/vnd.kde.kivio":["flw"],"application/vnd.kde.kontour":["kon"],"application/vnd.kde.kpresenter":["kpr","kpt"],"application/vnd.kde.kspread":["ksp"],"application/vnd.kde.kword":["kwd","kwt"],"application/vnd.kenameaapp":["htke"],"application/vnd.kidspiration":["kia"],"application/vnd.kinar":["kne","knp"],"application/vnd.koan":["skp","skd","skt","skm"],"application/vnd.kodak-descriptor":["sse"],"application/vnd.las.las+xml":["lasxml"],"application/vnd.llamagraphics.life-balance.desktop":["lbd"],"application/vnd.llamagraphics.life-balance.exchange+xml":["lbe"],"application/vnd.lotus-1-2-3":["123"],"application/vnd.lotus-approach":["apr"],"application/vnd.lotus-freelance":["pre"],"application/vnd.lotus-notes":["nsf"],"application/vnd.lotus-organizer":["org"],"application/vnd.lotus-screencam":["scm"],"application/vnd.lotus-wordpro":["lwp"],"application/vnd.macports.portpkg":["portpkg"],"application/vnd.mapbox-vector-tile":["mvt"],"application/vnd.mcd":["mcd"],"application/vnd.medcalcdata":["mc1"],"application/vnd.mediastation.cdkey":["cdkey"],"application/vnd.mfer":["mwf"],"application/vnd.mfmp":["mfm"],"application/vnd.micrografx.flo":["flo"],"application/vnd.micrografx.igx":["igx"],"application/vnd.mif":["mif"],"application/vnd.mobius.daf":["daf"],"application/vnd.mobius.dis":["dis"],"application/vnd.mobius.mbk":["mbk"],"application/vnd.mobius.mqy":["mqy"],"application/vnd.mobius.msl":["msl"],"application/vnd.mobius.plc":["plc"],"application/vnd.mobius.txf":["txf"],"application/vnd.mophun.application":["mpn"],"application/vnd.mophun.certificate":["mpc"],"application/vnd.mozilla.xul+xml":["xul"],"application/vnd.ms-artgalry":["cil"],"application/vnd.ms-cab-compressed":["cab"],"application/vnd.ms-excel":["xls","xlm","xla","xlc","xlt","xlw"],"application/vnd.ms-excel.addin.macroenabled.12":["xlam"],"application/vnd.ms-excel.sheet.binary.macroenabled.12":["xlsb"],"application/vnd.ms-excel.sheet.macroenabled.12":["xlsm"],"application/vnd.ms-excel.template.macroenabled.12":["xltm"],"application/vnd.ms-fontobject":["eot"],"application/vnd.ms-htmlhelp":["chm"],"application/vnd.ms-ims":["ims"],"application/vnd.ms-lrm":["lrm"],"application/vnd.ms-officetheme":["thmx"],"application/vnd.ms-outlook":["msg"],"application/vnd.ms-pki.seccat":["cat"],"application/vnd.ms-pki.stl":["*stl"],"application/vnd.ms-powerpoint":["ppt","pps","pot"],"application/vnd.ms-powerpoint.addin.macroenabled.12":["ppam"],"application/vnd.ms-powerpoint.presentation.macroenabled.12":["pptm"],"application/vnd.ms-powerpoint.slide.macroenabled.12":["sldm"],"application/vnd.ms-powerpoint.slideshow.macroenabled.12":["ppsm"],"application/vnd.ms-powerpoint.template.macroenabled.12":["potm"],"application/vnd.ms-project":["mpp","mpt"],"application/vnd.ms-word.document.macroenabled.12":["docm"],"application/vnd.ms-word.template.macroenabled.12":["dotm"],"application/vnd.ms-works":["wps","wks","wcm","wdb"],"application/vnd.ms-wpl":["wpl"],"application/vnd.ms-xpsdocument":["xps"],"application/vnd.mseq":["mseq"],"application/vnd.musician":["mus"],"application/vnd.muvee.style":["msty"],"application/vnd.mynfc":["taglet"],"application/vnd.neurolanguage.nlu":["nlu"],"application/vnd.nitf":["ntf","nitf"],"application/vnd.noblenet-directory":["nnd"],"application/vnd.noblenet-sealer":["nns"],"application/vnd.noblenet-web":["nnw"],"application/vnd.nokia.n-gage.ac+xml":["*ac"],"application/vnd.nokia.n-gage.data":["ngdat"],"application/vnd.nokia.n-gage.symbian.install":["n-gage"],"application/vnd.nokia.radio-preset":["rpst"],"application/vnd.nokia.radio-presets":["rpss"],"application/vnd.novadigm.edm":["edm"],"application/vnd.novadigm.edx":["edx"],"application/vnd.novadigm.ext":["ext"],"application/vnd.oasis.opendocument.chart":["odc"],"application/vnd.oasis.opendocument.chart-template":["otc"],"application/vnd.oasis.opendocument.database":["odb"],"application/vnd.oasis.opendocument.formula":["odf"],"application/vnd.oasis.opendocument.formula-template":["odft"],"application/vnd.oasis.opendocument.graphics":["odg"],"application/vnd.oasis.opendocument.graphics-template":["otg"],"application/vnd.oasis.opendocument.image":["odi"],"application/vnd.oasis.opendocument.image-template":["oti"],"application/vnd.oasis.opendocument.presentation":["odp"],"application/vnd.oasis.opendocument.presentation-template":["otp"],"application/vnd.oasis.opendocument.spreadsheet":["ods"],"application/vnd.oasis.opendocument.spreadsheet-template":["ots"],"application/vnd.oasis.opendocument.text":["odt"],"application/vnd.oasis.opendocument.text-master":["odm"],"application/vnd.oasis.opendocument.text-template":["ott"],"application/vnd.oasis.opendocument.text-web":["oth"],"application/vnd.olpc-sugar":["xo"],"application/vnd.oma.dd2+xml":["dd2"],"application/vnd.openblox.game+xml":["obgx"],"application/vnd.openofficeorg.extension":["oxt"],"application/vnd.openstreetmap.data+xml":["osm"],"application/vnd.openxmlformats-officedocument.presentationml.presentation":["pptx"],"application/vnd.openxmlformats-officedocument.presentationml.slide":["sldx"],"application/vnd.openxmlformats-officedocument.presentationml.slideshow":["ppsx"],"application/vnd.openxmlformats-officedocument.presentationml.template":["potx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":["xlsx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.template":["xltx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.document":["docx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.template":["dotx"],"application/vnd.osgeo.mapguide.package":["mgp"],"application/vnd.osgi.dp":["dp"],"application/vnd.osgi.subsystem":["esa"],"application/vnd.palm":["pdb","pqa","oprc"],"application/vnd.pawaafile":["paw"],"application/vnd.pg.format":["str"],"application/vnd.pg.osasli":["ei6"],"application/vnd.picsel":["efif"],"application/vnd.pmi.widget":["wg"],"application/vnd.pocketlearn":["plf"],"application/vnd.powerbuilder6":["pbd"],"application/vnd.previewsystems.box":["box"],"application/vnd.proteus.magazine":["mgz"],"application/vnd.publishare-delta-tree":["qps"],"application/vnd.pvi.ptid1":["ptid"],"application/vnd.quark.quarkxpress":["qxd","qxt","qwd","qwt","qxl","qxb"],"application/vnd.rar":["rar"],"application/vnd.realvnc.bed":["bed"],"application/vnd.recordare.musicxml":["mxl"],"application/vnd.recordare.musicxml+xml":["musicxml"],"application/vnd.rig.cryptonote":["cryptonote"],"application/vnd.rim.cod":["cod"],"application/vnd.rn-realmedia":["rm"],"application/vnd.rn-realmedia-vbr":["rmvb"],"application/vnd.route66.link66+xml":["link66"],"application/vnd.sailingtracker.track":["st"],"application/vnd.seemail":["see"],"application/vnd.sema":["sema"],"application/vnd.semd":["semd"],"application/vnd.semf":["semf"],"application/vnd.shana.informed.formdata":["ifm"],"application/vnd.shana.informed.formtemplate":["itp"],"application/vnd.shana.informed.interchange":["iif"],"application/vnd.shana.informed.package":["ipk"],"application/vnd.simtech-mindmapper":["twd","twds"],"application/vnd.smaf":["mmf"],"application/vnd.smart.teacher":["teacher"],"application/vnd.software602.filler.form+xml":["fo"],"application/vnd.solent.sdkm+xml":["sdkm","sdkd"],"application/vnd.spotfire.dxp":["dxp"],"application/vnd.spotfire.sfs":["sfs"],"application/vnd.stardivision.calc":["sdc"],"application/vnd.stardivision.draw":["sda"],"application/vnd.stardivision.impress":["sdd"],"application/vnd.stardivision.math":["smf"],"application/vnd.stardivision.writer":["sdw","vor"],"application/vnd.stardivision.writer-global":["sgl"],"application/vnd.stepmania.package":["smzip"],"application/vnd.stepmania.stepchart":["sm"],"application/vnd.sun.wadl+xml":["wadl"],"application/vnd.sun.xml.calc":["sxc"],"application/vnd.sun.xml.calc.template":["stc"],"application/vnd.sun.xml.draw":["sxd"],"application/vnd.sun.xml.draw.template":["std"],"application/vnd.sun.xml.impress":["sxi"],"application/vnd.sun.xml.impress.template":["sti"],"application/vnd.sun.xml.math":["sxm"],"application/vnd.sun.xml.writer":["sxw"],"application/vnd.sun.xml.writer.global":["sxg"],"application/vnd.sun.xml.writer.template":["stw"],"application/vnd.sus-calendar":["sus","susp"],"application/vnd.svd":["svd"],"application/vnd.symbian.install":["sis","sisx"],"application/vnd.syncml+xml":["xsm"],"application/vnd.syncml.dm+wbxml":["bdm"],"application/vnd.syncml.dm+xml":["xdm"],"application/vnd.syncml.dmddf+xml":["ddf"],"application/vnd.tao.intent-module-archive":["tao"],"application/vnd.tcpdump.pcap":["pcap","cap","dmp"],"application/vnd.tmobile-livetv":["tmo"],"application/vnd.trid.tpt":["tpt"],"application/vnd.triscape.mxs":["mxs"],"application/vnd.trueapp":["tra"],"application/vnd.ufdl":["ufd","ufdl"],"application/vnd.uiq.theme":["utz"],"application/vnd.umajin":["umj"],"application/vnd.unity":["unityweb"],"application/vnd.uoml+xml":["uoml"],"application/vnd.vcx":["vcx"],"application/vnd.visio":["vsd","vst","vss","vsw"],"application/vnd.visionary":["vis"],"application/vnd.vsf":["vsf"],"application/vnd.wap.wbxml":["wbxml"],"application/vnd.wap.wmlc":["wmlc"],"application/vnd.wap.wmlscriptc":["wmlsc"],"application/vnd.webturbo":["wtb"],"application/vnd.wolfram.player":["nbp"],"application/vnd.wordperfect":["wpd"],"application/vnd.wqd":["wqd"],"application/vnd.wt.stf":["stf"],"application/vnd.xara":["xar"],"application/vnd.xfdl":["xfdl"],"application/vnd.yamaha.hv-dic":["hvd"],"application/vnd.yamaha.hv-script":["hvs"],"application/vnd.yamaha.hv-voice":["hvp"],"application/vnd.yamaha.openscoreformat":["osf"],"application/vnd.yamaha.openscoreformat.osfpvg+xml":["osfpvg"],"application/vnd.yamaha.smaf-audio":["saf"],"application/vnd.yamaha.smaf-phrase":["spf"],"application/vnd.yellowriver-custom-menu":["cmp"],"application/vnd.zul":["zir","zirz"],"application/vnd.zzazz.deck+xml":["zaz"],"application/x-7z-compressed":["7z"],"application/x-abiword":["abw"],"application/x-ace-compressed":["ace"],"application/x-apple-diskimage":["*dmg"],"application/x-arj":["arj"],"application/x-authorware-bin":["aab","x32","u32","vox"],"application/x-authorware-map":["aam"],"application/x-authorware-seg":["aas"],"application/x-bcpio":["bcpio"],"application/x-bdoc":["*bdoc"],"application/x-bittorrent":["torrent"],"application/x-blorb":["blb","blorb"],"application/x-bzip":["bz"],"application/x-bzip2":["bz2","boz"],"application/x-cbr":["cbr","cba","cbt","cbz","cb7"],"application/x-cdlink":["vcd"],"application/x-cfs-compressed":["cfs"],"application/x-chat":["chat"],"application/x-chess-pgn":["pgn"],"application/x-chrome-extension":["crx"],"application/x-cocoa":["cco"],"application/x-conference":["nsc"],"application/x-cpio":["cpio"],"application/x-csh":["csh"],"application/x-debian-package":["*deb","udeb"],"application/x-dgc-compressed":["dgc"],"application/x-director":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"],"application/x-doom":["wad"],"application/x-dtbncx+xml":["ncx"],"application/x-dtbook+xml":["dtb"],"application/x-dtbresource+xml":["res"],"application/x-dvi":["dvi"],"application/x-envoy":["evy"],"application/x-eva":["eva"],"application/x-font-bdf":["bdf"],"application/x-font-ghostscript":["gsf"],"application/x-font-linux-psf":["psf"],"application/x-font-pcf":["pcf"],"application/x-font-snf":["snf"],"application/x-font-type1":["pfa","pfb","pfm","afm"],"application/x-freearc":["arc"],"application/x-futuresplash":["spl"],"application/x-gca-compressed":["gca"],"application/x-glulx":["ulx"],"application/x-gnumeric":["gnumeric"],"application/x-gramps-xml":["gramps"],"application/x-gtar":["gtar"],"application/x-hdf":["hdf"],"application/x-httpd-php":["php"],"application/x-install-instructions":["install"],"application/x-iso9660-image":["*iso"],"application/x-iwork-keynote-sffkey":["*key"],"application/x-iwork-numbers-sffnumbers":["*numbers"],"application/x-iwork-pages-sffpages":["*pages"],"application/x-java-archive-diff":["jardiff"],"application/x-java-jnlp-file":["jnlp"],"application/x-keepass2":["kdbx"],"application/x-latex":["latex"],"application/x-lua-bytecode":["luac"],"application/x-lzh-compressed":["lzh","lha"],"application/x-makeself":["run"],"application/x-mie":["mie"],"application/x-mobipocket-ebook":["prc","mobi"],"application/x-ms-application":["application"],"application/x-ms-shortcut":["lnk"],"application/x-ms-wmd":["wmd"],"application/x-ms-wmz":["wmz"],"application/x-ms-xbap":["xbap"],"application/x-msaccess":["mdb"],"application/x-msbinder":["obd"],"application/x-mscardfile":["crd"],"application/x-msclip":["clp"],"application/x-msdos-program":["*exe"],"application/x-msdownload":["*exe","*dll","com","bat","*msi"],"application/x-msmediaview":["mvb","m13","m14"],"application/x-msmetafile":["*wmf","*wmz","*emf","emz"],"application/x-msmoney":["mny"],"application/x-mspublisher":["pub"],"application/x-msschedule":["scd"],"application/x-msterminal":["trm"],"application/x-mswrite":["wri"],"application/x-netcdf":["nc","cdf"],"application/x-ns-proxy-autoconfig":["pac"],"application/x-nzb":["nzb"],"application/x-perl":["pl","pm"],"application/x-pilot":["*prc","*pdb"],"application/x-pkcs12":["p12","pfx"],"application/x-pkcs7-certificates":["p7b","spc"],"application/x-pkcs7-certreqresp":["p7r"],"application/x-rar-compressed":["*rar"],"application/x-redhat-package-manager":["rpm"],"application/x-research-info-systems":["ris"],"application/x-sea":["sea"],"application/x-sh":["sh"],"application/x-shar":["shar"],"application/x-shockwave-flash":["swf"],"application/x-silverlight-app":["xap"],"application/x-sql":["sql"],"application/x-stuffit":["sit"],"application/x-stuffitx":["sitx"],"application/x-subrip":["srt"],"application/x-sv4cpio":["sv4cpio"],"application/x-sv4crc":["sv4crc"],"application/x-t3vm-image":["t3"],"application/x-tads":["gam"],"application/x-tar":["tar"],"application/x-tcl":["tcl","tk"],"application/x-tex":["tex"],"application/x-tex-tfm":["tfm"],"application/x-texinfo":["texinfo","texi"],"application/x-tgif":["*obj"],"application/x-ustar":["ustar"],"application/x-virtualbox-hdd":["hdd"],"application/x-virtualbox-ova":["ova"],"application/x-virtualbox-ovf":["ovf"],"application/x-virtualbox-vbox":["vbox"],"application/x-virtualbox-vbox-extpack":["vbox-extpack"],"application/x-virtualbox-vdi":["vdi"],"application/x-virtualbox-vhd":["vhd"],"application/x-virtualbox-vmdk":["vmdk"],"application/x-wais-source":["src"],"application/x-web-app-manifest+json":["webapp"],"application/x-x509-ca-cert":["der","crt","pem"],"application/x-xfig":["fig"],"application/x-xliff+xml":["*xlf"],"application/x-xpinstall":["xpi"],"application/x-xz":["xz"],"application/x-zmachine":["z1","z2","z3","z4","z5","z6","z7","z8"],"audio/vnd.dece.audio":["uva","uvva"],"audio/vnd.digital-winds":["eol"],"audio/vnd.dra":["dra"],"audio/vnd.dts":["dts"],"audio/vnd.dts.hd":["dtshd"],"audio/vnd.lucent.voice":["lvp"],"audio/vnd.ms-playready.media.pya":["pya"],"audio/vnd.nuera.ecelp4800":["ecelp4800"],"audio/vnd.nuera.ecelp7470":["ecelp7470"],"audio/vnd.nuera.ecelp9600":["ecelp9600"],"audio/vnd.rip":["rip"],"audio/x-aac":["aac"],"audio/x-aiff":["aif","aiff","aifc"],"audio/x-caf":["caf"],"audio/x-flac":["flac"],"audio/x-m4a":["*m4a"],"audio/x-matroska":["mka"],"audio/x-mpegurl":["m3u"],"audio/x-ms-wax":["wax"],"audio/x-ms-wma":["wma"],"audio/x-pn-realaudio":["ram","ra"],"audio/x-pn-realaudio-plugin":["rmp"],"audio/x-realaudio":["*ra"],"audio/x-wav":["*wav"],"chemical/x-cdx":["cdx"],"chemical/x-cif":["cif"],"chemical/x-cmdf":["cmdf"],"chemical/x-cml":["cml"],"chemical/x-csml":["csml"],"chemical/x-xyz":["xyz"],"image/prs.btif":["btif"],"image/prs.pti":["pti"],"image/vnd.adobe.photoshop":["psd"],"image/vnd.airzip.accelerator.azv":["azv"],"image/vnd.dece.graphic":["uvi","uvvi","uvg","uvvg"],"image/vnd.djvu":["djvu","djv"],"image/vnd.dvb.subtitle":["*sub"],"image/vnd.dwg":["dwg"],"image/vnd.dxf":["dxf"],"image/vnd.fastbidsheet":["fbs"],"image/vnd.fpx":["fpx"],"image/vnd.fst":["fst"],"image/vnd.fujixerox.edmics-mmr":["mmr"],"image/vnd.fujixerox.edmics-rlc":["rlc"],"image/vnd.microsoft.icon":["ico"],"image/vnd.ms-dds":["dds"],"image/vnd.ms-modi":["mdi"],"image/vnd.ms-photo":["wdp"],"image/vnd.net-fpx":["npx"],"image/vnd.pco.b16":["b16"],"image/vnd.tencent.tap":["tap"],"image/vnd.valve.source.texture":["vtf"],"image/vnd.wap.wbmp":["wbmp"],"image/vnd.xiff":["xif"],"image/vnd.zbrush.pcx":["pcx"],"image/x-3ds":["3ds"],"image/x-cmu-raster":["ras"],"image/x-cmx":["cmx"],"image/x-freehand":["fh","fhc","fh4","fh5","fh7"],"image/x-icon":["*ico"],"image/x-jng":["jng"],"image/x-mrsid-image":["sid"],"image/x-ms-bmp":["*bmp"],"image/x-pcx":["*pcx"],"image/x-pict":["pic","pct"],"image/x-portable-anymap":["pnm"],"image/x-portable-bitmap":["pbm"],"image/x-portable-graymap":["pgm"],"image/x-portable-pixmap":["ppm"],"image/x-rgb":["rgb"],"image/x-tga":["tga"],"image/x-xbitmap":["xbm"],"image/x-xpixmap":["xpm"],"image/x-xwindowdump":["xwd"],"message/vnd.wfa.wsc":["wsc"],"model/vnd.collada+xml":["dae"],"model/vnd.dwf":["dwf"],"model/vnd.gdl":["gdl"],"model/vnd.gtw":["gtw"],"model/vnd.mts":["mts"],"model/vnd.opengex":["ogex"],"model/vnd.parasolid.transmit.binary":["x_b"],"model/vnd.parasolid.transmit.text":["x_t"],"model/vnd.sap.vds":["vds"],"model/vnd.usdz+zip":["usdz"],"model/vnd.valve.source.compiled-map":["bsp"],"model/vnd.vtu":["vtu"],"text/prs.lines.tag":["dsc"],"text/vnd.curl":["curl"],"text/vnd.curl.dcurl":["dcurl"],"text/vnd.curl.mcurl":["mcurl"],"text/vnd.curl.scurl":["scurl"],"text/vnd.dvb.subtitle":["sub"],"text/vnd.fly":["fly"],"text/vnd.fmi.flexstor":["flx"],"text/vnd.graphviz":["gv"],"text/vnd.in3d.3dml":["3dml"],"text/vnd.in3d.spot":["spot"],"text/vnd.sun.j2me.app-descriptor":["jad"],"text/vnd.wap.wml":["wml"],"text/vnd.wap.wmlscript":["wmls"],"text/x-asm":["s","asm"],"text/x-c":["c","cc","cxx","cpp","h","hh","dic"],"text/x-component":["htc"],"text/x-fortran":["f","for","f77","f90"],"text/x-handlebars-template":["hbs"],"text/x-java-source":["java"],"text/x-lua":["lua"],"text/x-markdown":["mkd"],"text/x-nfo":["nfo"],"text/x-opml":["opml"],"text/x-org":["*org"],"text/x-pascal":["p","pas"],"text/x-processing":["pde"],"text/x-sass":["sass"],"text/x-scss":["scss"],"text/x-setext":["etx"],"text/x-sfv":["sfv"],"text/x-suse-ymp":["ymp"],"text/x-uuencode":["uu"],"text/x-vcalendar":["vcs"],"text/x-vcard":["vcf"],"video/vnd.dece.hd":["uvh","uvvh"],"video/vnd.dece.mobile":["uvm","uvvm"],"video/vnd.dece.pd":["uvp","uvvp"],"video/vnd.dece.sd":["uvs","uvvs"],"video/vnd.dece.video":["uvv","uvvv"],"video/vnd.dvb.file":["dvb"],"video/vnd.fvt":["fvt"],"video/vnd.mpegurl":["mxu","m4u"],"video/vnd.ms-playready.media.pyv":["pyv"],"video/vnd.uvvu.mp4":["uvu","uvvu"],"video/vnd.vivo":["viv"],"video/x-f4v":["f4v"],"video/x-fli":["fli"],"video/x-flv":["flv"],"video/x-m4v":["m4v"],"video/x-matroska":["mkv","mk3d","mks"],"video/x-mng":["mng"],"video/x-ms-asf":["asf","asx"],"video/x-ms-vob":["vob"],"video/x-ms-wm":["wm"],"video/x-ms-wmv":["wmv"],"video/x-ms-wmx":["wmx"],"video/x-ms-wvx":["wvx"],"video/x-msvideo":["avi"],"video/x-sgi-movie":["movie"],"video/x-smv":["smv"],"x-conference/x-cooltalk":["ice"]}},13114:re=>{re.exports={"application/andrew-inset":["ez"],"application/applixware":["aw"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomdeleted+xml":["atomdeleted"],"application/atomsvc+xml":["atomsvc"],"application/atsc-dwd+xml":["dwd"],"application/atsc-held+xml":["held"],"application/atsc-rsat+xml":["rsat"],"application/bdoc":["bdoc"],"application/calendar+xml":["xcs"],"application/ccxml+xml":["ccxml"],"application/cdfx+xml":["cdfx"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cu-seeme":["cu"],"application/dash+xml":["mpd"],"application/davmount+xml":["davmount"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["es","ecma"],"application/emma+xml":["emma"],"application/emotionml+xml":["emotionml"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/express":["exp"],"application/fdt+xml":["fdt"],"application/font-tdpfr":["pfr"],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hjson":["hjson"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/its+xml":["its"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["js","mjs"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lgr+xml":["lgr"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mmt-aei+xml":["maei"],"application/mmt-usd+xml":["musd"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["mp4s","m4p"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/n-quads":["nq"],"application/n-triples":["nt"],"application/node":["cjs"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg"],"application/oxps":["oxps"],"application/p2p-overlay+xml":["relo"],"application/patch-ops-error+xml":["xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-signature":["asc","sig"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/provenance+xml":["provx"],"application/pskc+xml":["pskcxml"],"application/raml+yaml":["raml"],"application/rdf+xml":["rdf","owl"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/route-apd+xml":["rapd"],"application/route-s-tsid+xml":["sls"],"application/route-usd+xml":["rusd"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/senml+xml":["senmlx"],"application/sensml+xml":["sensmlx"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/sieve":["siv","sieve"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/swid+xml":["swidtag"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/toml":["toml"],"application/trig":["trig"],"application/ttml+xml":["ttml"],"application/ubjson":["ubj"],"application/urc-ressheet+xml":["rsheet"],"application/urc-targetdesc+xml":["td"],"application/voicexml+xml":["vxml"],"application/wasm":["wasm"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/xaml+xml":["xaml"],"application/xcap-att+xml":["xav"],"application/xcap-caps+xml":["xca"],"application/xcap-diff+xml":["xdf"],"application/xcap-el+xml":["xel"],"application/xcap-ns+xml":["xns"],"application/xenc+xml":["xenc"],"application/xhtml+xml":["xhtml","xht"],"application/xliff+xml":["xlf"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["*xsl","xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"audio/3gpp":["*3gpp"],"audio/adpcm":["adp"],"audio/amr":["amr"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mobile-xmf":["mxmf"],"audio/mp3":["*mp3"],"audio/mp4":["m4a","mp4a"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx","opus"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/wav":["wav"],"audio/wave":["*wav"],"audio/webm":["weba"],"audio/xm":["xm"],"font/collection":["ttc"],"font/otf":["otf"],"font/ttf":["ttf"],"font/woff":["woff"],"font/woff2":["woff2"],"image/aces":["exr"],"image/apng":["apng"],"image/avif":["avif"],"image/bmp":["bmp"],"image/cgm":["cgm"],"image/dicom-rle":["drle"],"image/emf":["emf"],"image/fits":["fits"],"image/g3fax":["g3"],"image/gif":["gif"],"image/heic":["heic"],"image/heic-sequence":["heics"],"image/heif":["heif"],"image/heif-sequence":["heifs"],"image/hej2k":["hej2"],"image/hsj2":["hsj2"],"image/ief":["ief"],"image/jls":["jls"],"image/jp2":["jp2","jpg2"],"image/jpeg":["jpeg","jpg","jpe"],"image/jph":["jph"],"image/jphc":["jhc"],"image/jpm":["jpm"],"image/jpx":["jpx","jpf"],"image/jxr":["jxr"],"image/jxra":["jxra"],"image/jxrs":["jxrs"],"image/jxs":["jxs"],"image/jxsc":["jxsc"],"image/jxsi":["jxsi"],"image/jxss":["jxss"],"image/ktx":["ktx"],"image/ktx2":["ktx2"],"image/png":["png"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/t38":["t38"],"image/tiff":["tif","tiff"],"image/tiff-fx":["tfx"],"image/webp":["webp"],"image/wmf":["wmf"],"message/disposition-notification":["disposition-notification"],"message/global":["u8msg"],"message/global-delivery-status":["u8dsn"],"message/global-disposition-notification":["u8mdn"],"message/global-headers":["u8hdr"],"message/rfc822":["eml","mime"],"model/3mf":["3mf"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/mesh":["msh","mesh","silo"],"model/mtl":["mtl"],"model/obj":["obj"],"model/step+xml":["stpx"],"model/step+zip":["stpz"],"model/step-xml+zip":["stpxz"],"model/stl":["stl"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["*x3db","x3dbz"],"model/x3d+fastinfoset":["x3db"],"model/x3d+vrml":["*x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"model/x3d-vrml":["x3dv"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["markdown","md"],"text/mathml":["mml"],"text/mdx":["mdx"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/richtext":["rtx"],"text/rtf":["*rtf"],"text/sgml":["sgml","sgm"],"text/shex":["shex"],"text/slim":["slim","slm"],"text/spdx":["spdx"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vtt":["vtt"],"text/xml":["*xml"],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/iso.segment":["m4s"],"video/jpeg":["jpgv"],"video/jpm":["*jpm","jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/webm":["webm"]}},90910:re=>{re.exports=assert;function assert(re,ie){if(!re)throw new Error(ie||"Assertion failed")}assert.equal=function assertEqual(re,ie,oe){if(re!=ie)throw new Error(oe||"Assertion failed: "+re+" != "+ie)}},8165:(re,ie)=>{"use strict";var oe=ie;function toArray(re,ie){if(Array.isArray(re))return re.slice();if(!re)return[];var oe=[];if(typeof re!=="string"){for(var se=0;se>8;var ue=ae&255;if(ce)oe.push(ce,ue);else oe.push(ue)}}return oe}oe.toArray=toArray;function zero2(re){if(re.length===1)return"0"+re;else return re}oe.zero2=zero2;function toHex(re){var ie="";for(var oe=0;oeCe||Ee===Ce&&pe[be].substr(0,12)==="application/")){continue}}pe[be]=ge}}))}},46038:R=>{"use strict";function Mime(){this._types=Object.create(null);this._extensions=Object.create(null);for(let R=0;R{"use strict";let he=Ae(46038);R.exports=new he(Ae(13114),Ae(38809))},38809:R=>{R.exports={"application/prs.cww":["cww"],"application/vnd.1000minds.decision-model+xml":["1km"],"application/vnd.3gpp.pic-bw-large":["plb"],"application/vnd.3gpp.pic-bw-small":["psb"],"application/vnd.3gpp.pic-bw-var":["pvb"],"application/vnd.3gpp2.tcap":["tcap"],"application/vnd.3m.post-it-notes":["pwn"],"application/vnd.accpac.simply.aso":["aso"],"application/vnd.accpac.simply.imp":["imp"],"application/vnd.acucobol":["acu"],"application/vnd.acucorp":["atc","acutc"],"application/vnd.adobe.air-application-installer-package+zip":["air"],"application/vnd.adobe.formscentral.fcdt":["fcdt"],"application/vnd.adobe.fxp":["fxp","fxpl"],"application/vnd.adobe.xdp+xml":["xdp"],"application/vnd.adobe.xfdf":["xfdf"],"application/vnd.ahead.space":["ahead"],"application/vnd.airzip.filesecure.azf":["azf"],"application/vnd.airzip.filesecure.azs":["azs"],"application/vnd.amazon.ebook":["azw"],"application/vnd.americandynamics.acc":["acc"],"application/vnd.amiga.ami":["ami"],"application/vnd.android.package-archive":["apk"],"application/vnd.anser-web-certificate-issue-initiation":["cii"],"application/vnd.anser-web-funds-transfer-initiation":["fti"],"application/vnd.antix.game-component":["atx"],"application/vnd.apple.installer+xml":["mpkg"],"application/vnd.apple.keynote":["key"],"application/vnd.apple.mpegurl":["m3u8"],"application/vnd.apple.numbers":["numbers"],"application/vnd.apple.pages":["pages"],"application/vnd.apple.pkpass":["pkpass"],"application/vnd.aristanetworks.swi":["swi"],"application/vnd.astraea-software.iota":["iota"],"application/vnd.audiograph":["aep"],"application/vnd.balsamiq.bmml+xml":["bmml"],"application/vnd.blueice.multipass":["mpm"],"application/vnd.bmi":["bmi"],"application/vnd.businessobjects":["rep"],"application/vnd.chemdraw+xml":["cdxml"],"application/vnd.chipnuts.karaoke-mmd":["mmd"],"application/vnd.cinderella":["cdy"],"application/vnd.citationstyles.style+xml":["csl"],"application/vnd.claymore":["cla"],"application/vnd.cloanto.rp9":["rp9"],"application/vnd.clonk.c4group":["c4g","c4d","c4f","c4p","c4u"],"application/vnd.cluetrust.cartomobile-config":["c11amc"],"application/vnd.cluetrust.cartomobile-config-pkg":["c11amz"],"application/vnd.commonspace":["csp"],"application/vnd.contact.cmsg":["cdbcmsg"],"application/vnd.cosmocaller":["cmc"],"application/vnd.crick.clicker":["clkx"],"application/vnd.crick.clicker.keyboard":["clkk"],"application/vnd.crick.clicker.palette":["clkp"],"application/vnd.crick.clicker.template":["clkt"],"application/vnd.crick.clicker.wordbank":["clkw"],"application/vnd.criticaltools.wbs+xml":["wbs"],"application/vnd.ctc-posml":["pml"],"application/vnd.cups-ppd":["ppd"],"application/vnd.curl.car":["car"],"application/vnd.curl.pcurl":["pcurl"],"application/vnd.dart":["dart"],"application/vnd.data-vision.rdz":["rdz"],"application/vnd.dbf":["dbf"],"application/vnd.dece.data":["uvf","uvvf","uvd","uvvd"],"application/vnd.dece.ttml+xml":["uvt","uvvt"],"application/vnd.dece.unspecified":["uvx","uvvx"],"application/vnd.dece.zip":["uvz","uvvz"],"application/vnd.denovo.fcselayout-link":["fe_launch"],"application/vnd.dna":["dna"],"application/vnd.dolby.mlp":["mlp"],"application/vnd.dpgraph":["dpg"],"application/vnd.dreamfactory":["dfac"],"application/vnd.ds-keypoint":["kpxx"],"application/vnd.dvb.ait":["ait"],"application/vnd.dvb.service":["svc"],"application/vnd.dynageo":["geo"],"application/vnd.ecowin.chart":["mag"],"application/vnd.enliven":["nml"],"application/vnd.epson.esf":["esf"],"application/vnd.epson.msf":["msf"],"application/vnd.epson.quickanime":["qam"],"application/vnd.epson.salt":["slt"],"application/vnd.epson.ssf":["ssf"],"application/vnd.eszigno3+xml":["es3","et3"],"application/vnd.ezpix-album":["ez2"],"application/vnd.ezpix-package":["ez3"],"application/vnd.fdf":["fdf"],"application/vnd.fdsn.mseed":["mseed"],"application/vnd.fdsn.seed":["seed","dataless"],"application/vnd.flographit":["gph"],"application/vnd.fluxtime.clip":["ftc"],"application/vnd.framemaker":["fm","frame","maker","book"],"application/vnd.frogans.fnc":["fnc"],"application/vnd.frogans.ltf":["ltf"],"application/vnd.fsc.weblaunch":["fsc"],"application/vnd.fujitsu.oasys":["oas"],"application/vnd.fujitsu.oasys2":["oa2"],"application/vnd.fujitsu.oasys3":["oa3"],"application/vnd.fujitsu.oasysgp":["fg5"],"application/vnd.fujitsu.oasysprs":["bh2"],"application/vnd.fujixerox.ddd":["ddd"],"application/vnd.fujixerox.docuworks":["xdw"],"application/vnd.fujixerox.docuworks.binder":["xbd"],"application/vnd.fuzzysheet":["fzs"],"application/vnd.genomatix.tuxedo":["txd"],"application/vnd.geogebra.file":["ggb"],"application/vnd.geogebra.tool":["ggt"],"application/vnd.geometry-explorer":["gex","gre"],"application/vnd.geonext":["gxt"],"application/vnd.geoplan":["g2w"],"application/vnd.geospace":["g3w"],"application/vnd.gmx":["gmx"],"application/vnd.google-apps.document":["gdoc"],"application/vnd.google-apps.presentation":["gslides"],"application/vnd.google-apps.spreadsheet":["gsheet"],"application/vnd.google-earth.kml+xml":["kml"],"application/vnd.google-earth.kmz":["kmz"],"application/vnd.grafeq":["gqf","gqs"],"application/vnd.groove-account":["gac"],"application/vnd.groove-help":["ghf"],"application/vnd.groove-identity-message":["gim"],"application/vnd.groove-injector":["grv"],"application/vnd.groove-tool-message":["gtm"],"application/vnd.groove-tool-template":["tpl"],"application/vnd.groove-vcard":["vcg"],"application/vnd.hal+xml":["hal"],"application/vnd.handheld-entertainment+xml":["zmm"],"application/vnd.hbci":["hbci"],"application/vnd.hhe.lesson-player":["les"],"application/vnd.hp-hpgl":["hpgl"],"application/vnd.hp-hpid":["hpid"],"application/vnd.hp-hps":["hps"],"application/vnd.hp-jlyt":["jlt"],"application/vnd.hp-pcl":["pcl"],"application/vnd.hp-pclxl":["pclxl"],"application/vnd.hydrostatix.sof-data":["sfd-hdstx"],"application/vnd.ibm.minipay":["mpy"],"application/vnd.ibm.modcap":["afp","listafp","list3820"],"application/vnd.ibm.rights-management":["irm"],"application/vnd.ibm.secure-container":["sc"],"application/vnd.iccprofile":["icc","icm"],"application/vnd.igloader":["igl"],"application/vnd.immervision-ivp":["ivp"],"application/vnd.immervision-ivu":["ivu"],"application/vnd.insors.igm":["igm"],"application/vnd.intercon.formnet":["xpw","xpx"],"application/vnd.intergeo":["i2g"],"application/vnd.intu.qbo":["qbo"],"application/vnd.intu.qfx":["qfx"],"application/vnd.ipunplugged.rcprofile":["rcprofile"],"application/vnd.irepository.package+xml":["irp"],"application/vnd.is-xpr":["xpr"],"application/vnd.isac.fcs":["fcs"],"application/vnd.jam":["jam"],"application/vnd.jcp.javame.midlet-rms":["rms"],"application/vnd.jisp":["jisp"],"application/vnd.joost.joda-archive":["joda"],"application/vnd.kahootz":["ktz","ktr"],"application/vnd.kde.karbon":["karbon"],"application/vnd.kde.kchart":["chrt"],"application/vnd.kde.kformula":["kfo"],"application/vnd.kde.kivio":["flw"],"application/vnd.kde.kontour":["kon"],"application/vnd.kde.kpresenter":["kpr","kpt"],"application/vnd.kde.kspread":["ksp"],"application/vnd.kde.kword":["kwd","kwt"],"application/vnd.kenameaapp":["htke"],"application/vnd.kidspiration":["kia"],"application/vnd.kinar":["kne","knp"],"application/vnd.koan":["skp","skd","skt","skm"],"application/vnd.kodak-descriptor":["sse"],"application/vnd.las.las+xml":["lasxml"],"application/vnd.llamagraphics.life-balance.desktop":["lbd"],"application/vnd.llamagraphics.life-balance.exchange+xml":["lbe"],"application/vnd.lotus-1-2-3":["123"],"application/vnd.lotus-approach":["apr"],"application/vnd.lotus-freelance":["pre"],"application/vnd.lotus-notes":["nsf"],"application/vnd.lotus-organizer":["org"],"application/vnd.lotus-screencam":["scm"],"application/vnd.lotus-wordpro":["lwp"],"application/vnd.macports.portpkg":["portpkg"],"application/vnd.mapbox-vector-tile":["mvt"],"application/vnd.mcd":["mcd"],"application/vnd.medcalcdata":["mc1"],"application/vnd.mediastation.cdkey":["cdkey"],"application/vnd.mfer":["mwf"],"application/vnd.mfmp":["mfm"],"application/vnd.micrografx.flo":["flo"],"application/vnd.micrografx.igx":["igx"],"application/vnd.mif":["mif"],"application/vnd.mobius.daf":["daf"],"application/vnd.mobius.dis":["dis"],"application/vnd.mobius.mbk":["mbk"],"application/vnd.mobius.mqy":["mqy"],"application/vnd.mobius.msl":["msl"],"application/vnd.mobius.plc":["plc"],"application/vnd.mobius.txf":["txf"],"application/vnd.mophun.application":["mpn"],"application/vnd.mophun.certificate":["mpc"],"application/vnd.mozilla.xul+xml":["xul"],"application/vnd.ms-artgalry":["cil"],"application/vnd.ms-cab-compressed":["cab"],"application/vnd.ms-excel":["xls","xlm","xla","xlc","xlt","xlw"],"application/vnd.ms-excel.addin.macroenabled.12":["xlam"],"application/vnd.ms-excel.sheet.binary.macroenabled.12":["xlsb"],"application/vnd.ms-excel.sheet.macroenabled.12":["xlsm"],"application/vnd.ms-excel.template.macroenabled.12":["xltm"],"application/vnd.ms-fontobject":["eot"],"application/vnd.ms-htmlhelp":["chm"],"application/vnd.ms-ims":["ims"],"application/vnd.ms-lrm":["lrm"],"application/vnd.ms-officetheme":["thmx"],"application/vnd.ms-outlook":["msg"],"application/vnd.ms-pki.seccat":["cat"],"application/vnd.ms-pki.stl":["*stl"],"application/vnd.ms-powerpoint":["ppt","pps","pot"],"application/vnd.ms-powerpoint.addin.macroenabled.12":["ppam"],"application/vnd.ms-powerpoint.presentation.macroenabled.12":["pptm"],"application/vnd.ms-powerpoint.slide.macroenabled.12":["sldm"],"application/vnd.ms-powerpoint.slideshow.macroenabled.12":["ppsm"],"application/vnd.ms-powerpoint.template.macroenabled.12":["potm"],"application/vnd.ms-project":["mpp","mpt"],"application/vnd.ms-word.document.macroenabled.12":["docm"],"application/vnd.ms-word.template.macroenabled.12":["dotm"],"application/vnd.ms-works":["wps","wks","wcm","wdb"],"application/vnd.ms-wpl":["wpl"],"application/vnd.ms-xpsdocument":["xps"],"application/vnd.mseq":["mseq"],"application/vnd.musician":["mus"],"application/vnd.muvee.style":["msty"],"application/vnd.mynfc":["taglet"],"application/vnd.neurolanguage.nlu":["nlu"],"application/vnd.nitf":["ntf","nitf"],"application/vnd.noblenet-directory":["nnd"],"application/vnd.noblenet-sealer":["nns"],"application/vnd.noblenet-web":["nnw"],"application/vnd.nokia.n-gage.ac+xml":["*ac"],"application/vnd.nokia.n-gage.data":["ngdat"],"application/vnd.nokia.n-gage.symbian.install":["n-gage"],"application/vnd.nokia.radio-preset":["rpst"],"application/vnd.nokia.radio-presets":["rpss"],"application/vnd.novadigm.edm":["edm"],"application/vnd.novadigm.edx":["edx"],"application/vnd.novadigm.ext":["ext"],"application/vnd.oasis.opendocument.chart":["odc"],"application/vnd.oasis.opendocument.chart-template":["otc"],"application/vnd.oasis.opendocument.database":["odb"],"application/vnd.oasis.opendocument.formula":["odf"],"application/vnd.oasis.opendocument.formula-template":["odft"],"application/vnd.oasis.opendocument.graphics":["odg"],"application/vnd.oasis.opendocument.graphics-template":["otg"],"application/vnd.oasis.opendocument.image":["odi"],"application/vnd.oasis.opendocument.image-template":["oti"],"application/vnd.oasis.opendocument.presentation":["odp"],"application/vnd.oasis.opendocument.presentation-template":["otp"],"application/vnd.oasis.opendocument.spreadsheet":["ods"],"application/vnd.oasis.opendocument.spreadsheet-template":["ots"],"application/vnd.oasis.opendocument.text":["odt"],"application/vnd.oasis.opendocument.text-master":["odm"],"application/vnd.oasis.opendocument.text-template":["ott"],"application/vnd.oasis.opendocument.text-web":["oth"],"application/vnd.olpc-sugar":["xo"],"application/vnd.oma.dd2+xml":["dd2"],"application/vnd.openblox.game+xml":["obgx"],"application/vnd.openofficeorg.extension":["oxt"],"application/vnd.openstreetmap.data+xml":["osm"],"application/vnd.openxmlformats-officedocument.presentationml.presentation":["pptx"],"application/vnd.openxmlformats-officedocument.presentationml.slide":["sldx"],"application/vnd.openxmlformats-officedocument.presentationml.slideshow":["ppsx"],"application/vnd.openxmlformats-officedocument.presentationml.template":["potx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":["xlsx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.template":["xltx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.document":["docx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.template":["dotx"],"application/vnd.osgeo.mapguide.package":["mgp"],"application/vnd.osgi.dp":["dp"],"application/vnd.osgi.subsystem":["esa"],"application/vnd.palm":["pdb","pqa","oprc"],"application/vnd.pawaafile":["paw"],"application/vnd.pg.format":["str"],"application/vnd.pg.osasli":["ei6"],"application/vnd.picsel":["efif"],"application/vnd.pmi.widget":["wg"],"application/vnd.pocketlearn":["plf"],"application/vnd.powerbuilder6":["pbd"],"application/vnd.previewsystems.box":["box"],"application/vnd.proteus.magazine":["mgz"],"application/vnd.publishare-delta-tree":["qps"],"application/vnd.pvi.ptid1":["ptid"],"application/vnd.quark.quarkxpress":["qxd","qxt","qwd","qwt","qxl","qxb"],"application/vnd.rar":["rar"],"application/vnd.realvnc.bed":["bed"],"application/vnd.recordare.musicxml":["mxl"],"application/vnd.recordare.musicxml+xml":["musicxml"],"application/vnd.rig.cryptonote":["cryptonote"],"application/vnd.rim.cod":["cod"],"application/vnd.rn-realmedia":["rm"],"application/vnd.rn-realmedia-vbr":["rmvb"],"application/vnd.route66.link66+xml":["link66"],"application/vnd.sailingtracker.track":["st"],"application/vnd.seemail":["see"],"application/vnd.sema":["sema"],"application/vnd.semd":["semd"],"application/vnd.semf":["semf"],"application/vnd.shana.informed.formdata":["ifm"],"application/vnd.shana.informed.formtemplate":["itp"],"application/vnd.shana.informed.interchange":["iif"],"application/vnd.shana.informed.package":["ipk"],"application/vnd.simtech-mindmapper":["twd","twds"],"application/vnd.smaf":["mmf"],"application/vnd.smart.teacher":["teacher"],"application/vnd.software602.filler.form+xml":["fo"],"application/vnd.solent.sdkm+xml":["sdkm","sdkd"],"application/vnd.spotfire.dxp":["dxp"],"application/vnd.spotfire.sfs":["sfs"],"application/vnd.stardivision.calc":["sdc"],"application/vnd.stardivision.draw":["sda"],"application/vnd.stardivision.impress":["sdd"],"application/vnd.stardivision.math":["smf"],"application/vnd.stardivision.writer":["sdw","vor"],"application/vnd.stardivision.writer-global":["sgl"],"application/vnd.stepmania.package":["smzip"],"application/vnd.stepmania.stepchart":["sm"],"application/vnd.sun.wadl+xml":["wadl"],"application/vnd.sun.xml.calc":["sxc"],"application/vnd.sun.xml.calc.template":["stc"],"application/vnd.sun.xml.draw":["sxd"],"application/vnd.sun.xml.draw.template":["std"],"application/vnd.sun.xml.impress":["sxi"],"application/vnd.sun.xml.impress.template":["sti"],"application/vnd.sun.xml.math":["sxm"],"application/vnd.sun.xml.writer":["sxw"],"application/vnd.sun.xml.writer.global":["sxg"],"application/vnd.sun.xml.writer.template":["stw"],"application/vnd.sus-calendar":["sus","susp"],"application/vnd.svd":["svd"],"application/vnd.symbian.install":["sis","sisx"],"application/vnd.syncml+xml":["xsm"],"application/vnd.syncml.dm+wbxml":["bdm"],"application/vnd.syncml.dm+xml":["xdm"],"application/vnd.syncml.dmddf+xml":["ddf"],"application/vnd.tao.intent-module-archive":["tao"],"application/vnd.tcpdump.pcap":["pcap","cap","dmp"],"application/vnd.tmobile-livetv":["tmo"],"application/vnd.trid.tpt":["tpt"],"application/vnd.triscape.mxs":["mxs"],"application/vnd.trueapp":["tra"],"application/vnd.ufdl":["ufd","ufdl"],"application/vnd.uiq.theme":["utz"],"application/vnd.umajin":["umj"],"application/vnd.unity":["unityweb"],"application/vnd.uoml+xml":["uoml"],"application/vnd.vcx":["vcx"],"application/vnd.visio":["vsd","vst","vss","vsw"],"application/vnd.visionary":["vis"],"application/vnd.vsf":["vsf"],"application/vnd.wap.wbxml":["wbxml"],"application/vnd.wap.wmlc":["wmlc"],"application/vnd.wap.wmlscriptc":["wmlsc"],"application/vnd.webturbo":["wtb"],"application/vnd.wolfram.player":["nbp"],"application/vnd.wordperfect":["wpd"],"application/vnd.wqd":["wqd"],"application/vnd.wt.stf":["stf"],"application/vnd.xara":["xar"],"application/vnd.xfdl":["xfdl"],"application/vnd.yamaha.hv-dic":["hvd"],"application/vnd.yamaha.hv-script":["hvs"],"application/vnd.yamaha.hv-voice":["hvp"],"application/vnd.yamaha.openscoreformat":["osf"],"application/vnd.yamaha.openscoreformat.osfpvg+xml":["osfpvg"],"application/vnd.yamaha.smaf-audio":["saf"],"application/vnd.yamaha.smaf-phrase":["spf"],"application/vnd.yellowriver-custom-menu":["cmp"],"application/vnd.zul":["zir","zirz"],"application/vnd.zzazz.deck+xml":["zaz"],"application/x-7z-compressed":["7z"],"application/x-abiword":["abw"],"application/x-ace-compressed":["ace"],"application/x-apple-diskimage":["*dmg"],"application/x-arj":["arj"],"application/x-authorware-bin":["aab","x32","u32","vox"],"application/x-authorware-map":["aam"],"application/x-authorware-seg":["aas"],"application/x-bcpio":["bcpio"],"application/x-bdoc":["*bdoc"],"application/x-bittorrent":["torrent"],"application/x-blorb":["blb","blorb"],"application/x-bzip":["bz"],"application/x-bzip2":["bz2","boz"],"application/x-cbr":["cbr","cba","cbt","cbz","cb7"],"application/x-cdlink":["vcd"],"application/x-cfs-compressed":["cfs"],"application/x-chat":["chat"],"application/x-chess-pgn":["pgn"],"application/x-chrome-extension":["crx"],"application/x-cocoa":["cco"],"application/x-conference":["nsc"],"application/x-cpio":["cpio"],"application/x-csh":["csh"],"application/x-debian-package":["*deb","udeb"],"application/x-dgc-compressed":["dgc"],"application/x-director":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"],"application/x-doom":["wad"],"application/x-dtbncx+xml":["ncx"],"application/x-dtbook+xml":["dtb"],"application/x-dtbresource+xml":["res"],"application/x-dvi":["dvi"],"application/x-envoy":["evy"],"application/x-eva":["eva"],"application/x-font-bdf":["bdf"],"application/x-font-ghostscript":["gsf"],"application/x-font-linux-psf":["psf"],"application/x-font-pcf":["pcf"],"application/x-font-snf":["snf"],"application/x-font-type1":["pfa","pfb","pfm","afm"],"application/x-freearc":["arc"],"application/x-futuresplash":["spl"],"application/x-gca-compressed":["gca"],"application/x-glulx":["ulx"],"application/x-gnumeric":["gnumeric"],"application/x-gramps-xml":["gramps"],"application/x-gtar":["gtar"],"application/x-hdf":["hdf"],"application/x-httpd-php":["php"],"application/x-install-instructions":["install"],"application/x-iso9660-image":["*iso"],"application/x-iwork-keynote-sffkey":["*key"],"application/x-iwork-numbers-sffnumbers":["*numbers"],"application/x-iwork-pages-sffpages":["*pages"],"application/x-java-archive-diff":["jardiff"],"application/x-java-jnlp-file":["jnlp"],"application/x-keepass2":["kdbx"],"application/x-latex":["latex"],"application/x-lua-bytecode":["luac"],"application/x-lzh-compressed":["lzh","lha"],"application/x-makeself":["run"],"application/x-mie":["mie"],"application/x-mobipocket-ebook":["prc","mobi"],"application/x-ms-application":["application"],"application/x-ms-shortcut":["lnk"],"application/x-ms-wmd":["wmd"],"application/x-ms-wmz":["wmz"],"application/x-ms-xbap":["xbap"],"application/x-msaccess":["mdb"],"application/x-msbinder":["obd"],"application/x-mscardfile":["crd"],"application/x-msclip":["clp"],"application/x-msdos-program":["*exe"],"application/x-msdownload":["*exe","*dll","com","bat","*msi"],"application/x-msmediaview":["mvb","m13","m14"],"application/x-msmetafile":["*wmf","*wmz","*emf","emz"],"application/x-msmoney":["mny"],"application/x-mspublisher":["pub"],"application/x-msschedule":["scd"],"application/x-msterminal":["trm"],"application/x-mswrite":["wri"],"application/x-netcdf":["nc","cdf"],"application/x-ns-proxy-autoconfig":["pac"],"application/x-nzb":["nzb"],"application/x-perl":["pl","pm"],"application/x-pilot":["*prc","*pdb"],"application/x-pkcs12":["p12","pfx"],"application/x-pkcs7-certificates":["p7b","spc"],"application/x-pkcs7-certreqresp":["p7r"],"application/x-rar-compressed":["*rar"],"application/x-redhat-package-manager":["rpm"],"application/x-research-info-systems":["ris"],"application/x-sea":["sea"],"application/x-sh":["sh"],"application/x-shar":["shar"],"application/x-shockwave-flash":["swf"],"application/x-silverlight-app":["xap"],"application/x-sql":["sql"],"application/x-stuffit":["sit"],"application/x-stuffitx":["sitx"],"application/x-subrip":["srt"],"application/x-sv4cpio":["sv4cpio"],"application/x-sv4crc":["sv4crc"],"application/x-t3vm-image":["t3"],"application/x-tads":["gam"],"application/x-tar":["tar"],"application/x-tcl":["tcl","tk"],"application/x-tex":["tex"],"application/x-tex-tfm":["tfm"],"application/x-texinfo":["texinfo","texi"],"application/x-tgif":["*obj"],"application/x-ustar":["ustar"],"application/x-virtualbox-hdd":["hdd"],"application/x-virtualbox-ova":["ova"],"application/x-virtualbox-ovf":["ovf"],"application/x-virtualbox-vbox":["vbox"],"application/x-virtualbox-vbox-extpack":["vbox-extpack"],"application/x-virtualbox-vdi":["vdi"],"application/x-virtualbox-vhd":["vhd"],"application/x-virtualbox-vmdk":["vmdk"],"application/x-wais-source":["src"],"application/x-web-app-manifest+json":["webapp"],"application/x-x509-ca-cert":["der","crt","pem"],"application/x-xfig":["fig"],"application/x-xliff+xml":["*xlf"],"application/x-xpinstall":["xpi"],"application/x-xz":["xz"],"application/x-zmachine":["z1","z2","z3","z4","z5","z6","z7","z8"],"audio/vnd.dece.audio":["uva","uvva"],"audio/vnd.digital-winds":["eol"],"audio/vnd.dra":["dra"],"audio/vnd.dts":["dts"],"audio/vnd.dts.hd":["dtshd"],"audio/vnd.lucent.voice":["lvp"],"audio/vnd.ms-playready.media.pya":["pya"],"audio/vnd.nuera.ecelp4800":["ecelp4800"],"audio/vnd.nuera.ecelp7470":["ecelp7470"],"audio/vnd.nuera.ecelp9600":["ecelp9600"],"audio/vnd.rip":["rip"],"audio/x-aac":["aac"],"audio/x-aiff":["aif","aiff","aifc"],"audio/x-caf":["caf"],"audio/x-flac":["flac"],"audio/x-m4a":["*m4a"],"audio/x-matroska":["mka"],"audio/x-mpegurl":["m3u"],"audio/x-ms-wax":["wax"],"audio/x-ms-wma":["wma"],"audio/x-pn-realaudio":["ram","ra"],"audio/x-pn-realaudio-plugin":["rmp"],"audio/x-realaudio":["*ra"],"audio/x-wav":["*wav"],"chemical/x-cdx":["cdx"],"chemical/x-cif":["cif"],"chemical/x-cmdf":["cmdf"],"chemical/x-cml":["cml"],"chemical/x-csml":["csml"],"chemical/x-xyz":["xyz"],"image/prs.btif":["btif"],"image/prs.pti":["pti"],"image/vnd.adobe.photoshop":["psd"],"image/vnd.airzip.accelerator.azv":["azv"],"image/vnd.dece.graphic":["uvi","uvvi","uvg","uvvg"],"image/vnd.djvu":["djvu","djv"],"image/vnd.dvb.subtitle":["*sub"],"image/vnd.dwg":["dwg"],"image/vnd.dxf":["dxf"],"image/vnd.fastbidsheet":["fbs"],"image/vnd.fpx":["fpx"],"image/vnd.fst":["fst"],"image/vnd.fujixerox.edmics-mmr":["mmr"],"image/vnd.fujixerox.edmics-rlc":["rlc"],"image/vnd.microsoft.icon":["ico"],"image/vnd.ms-dds":["dds"],"image/vnd.ms-modi":["mdi"],"image/vnd.ms-photo":["wdp"],"image/vnd.net-fpx":["npx"],"image/vnd.pco.b16":["b16"],"image/vnd.tencent.tap":["tap"],"image/vnd.valve.source.texture":["vtf"],"image/vnd.wap.wbmp":["wbmp"],"image/vnd.xiff":["xif"],"image/vnd.zbrush.pcx":["pcx"],"image/x-3ds":["3ds"],"image/x-cmu-raster":["ras"],"image/x-cmx":["cmx"],"image/x-freehand":["fh","fhc","fh4","fh5","fh7"],"image/x-icon":["*ico"],"image/x-jng":["jng"],"image/x-mrsid-image":["sid"],"image/x-ms-bmp":["*bmp"],"image/x-pcx":["*pcx"],"image/x-pict":["pic","pct"],"image/x-portable-anymap":["pnm"],"image/x-portable-bitmap":["pbm"],"image/x-portable-graymap":["pgm"],"image/x-portable-pixmap":["ppm"],"image/x-rgb":["rgb"],"image/x-tga":["tga"],"image/x-xbitmap":["xbm"],"image/x-xpixmap":["xpm"],"image/x-xwindowdump":["xwd"],"message/vnd.wfa.wsc":["wsc"],"model/vnd.collada+xml":["dae"],"model/vnd.dwf":["dwf"],"model/vnd.gdl":["gdl"],"model/vnd.gtw":["gtw"],"model/vnd.mts":["mts"],"model/vnd.opengex":["ogex"],"model/vnd.parasolid.transmit.binary":["x_b"],"model/vnd.parasolid.transmit.text":["x_t"],"model/vnd.sap.vds":["vds"],"model/vnd.usdz+zip":["usdz"],"model/vnd.valve.source.compiled-map":["bsp"],"model/vnd.vtu":["vtu"],"text/prs.lines.tag":["dsc"],"text/vnd.curl":["curl"],"text/vnd.curl.dcurl":["dcurl"],"text/vnd.curl.mcurl":["mcurl"],"text/vnd.curl.scurl":["scurl"],"text/vnd.dvb.subtitle":["sub"],"text/vnd.fly":["fly"],"text/vnd.fmi.flexstor":["flx"],"text/vnd.graphviz":["gv"],"text/vnd.in3d.3dml":["3dml"],"text/vnd.in3d.spot":["spot"],"text/vnd.sun.j2me.app-descriptor":["jad"],"text/vnd.wap.wml":["wml"],"text/vnd.wap.wmlscript":["wmls"],"text/x-asm":["s","asm"],"text/x-c":["c","cc","cxx","cpp","h","hh","dic"],"text/x-component":["htc"],"text/x-fortran":["f","for","f77","f90"],"text/x-handlebars-template":["hbs"],"text/x-java-source":["java"],"text/x-lua":["lua"],"text/x-markdown":["mkd"],"text/x-nfo":["nfo"],"text/x-opml":["opml"],"text/x-org":["*org"],"text/x-pascal":["p","pas"],"text/x-processing":["pde"],"text/x-sass":["sass"],"text/x-scss":["scss"],"text/x-setext":["etx"],"text/x-sfv":["sfv"],"text/x-suse-ymp":["ymp"],"text/x-uuencode":["uu"],"text/x-vcalendar":["vcs"],"text/x-vcard":["vcf"],"video/vnd.dece.hd":["uvh","uvvh"],"video/vnd.dece.mobile":["uvm","uvvm"],"video/vnd.dece.pd":["uvp","uvvp"],"video/vnd.dece.sd":["uvs","uvvs"],"video/vnd.dece.video":["uvv","uvvv"],"video/vnd.dvb.file":["dvb"],"video/vnd.fvt":["fvt"],"video/vnd.mpegurl":["mxu","m4u"],"video/vnd.ms-playready.media.pyv":["pyv"],"video/vnd.uvvu.mp4":["uvu","uvvu"],"video/vnd.vivo":["viv"],"video/x-f4v":["f4v"],"video/x-fli":["fli"],"video/x-flv":["flv"],"video/x-m4v":["m4v"],"video/x-matroska":["mkv","mk3d","mks"],"video/x-mng":["mng"],"video/x-ms-asf":["asf","asx"],"video/x-ms-vob":["vob"],"video/x-ms-wm":["wm"],"video/x-ms-wmv":["wmv"],"video/x-ms-wmx":["wmx"],"video/x-ms-wvx":["wvx"],"video/x-msvideo":["avi"],"video/x-sgi-movie":["movie"],"video/x-smv":["smv"],"x-conference/x-cooltalk":["ice"]}},13114:R=>{R.exports={"application/andrew-inset":["ez"],"application/applixware":["aw"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomdeleted+xml":["atomdeleted"],"application/atomsvc+xml":["atomsvc"],"application/atsc-dwd+xml":["dwd"],"application/atsc-held+xml":["held"],"application/atsc-rsat+xml":["rsat"],"application/bdoc":["bdoc"],"application/calendar+xml":["xcs"],"application/ccxml+xml":["ccxml"],"application/cdfx+xml":["cdfx"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cu-seeme":["cu"],"application/dash+xml":["mpd"],"application/davmount+xml":["davmount"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["es","ecma"],"application/emma+xml":["emma"],"application/emotionml+xml":["emotionml"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/express":["exp"],"application/fdt+xml":["fdt"],"application/font-tdpfr":["pfr"],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hjson":["hjson"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/its+xml":["its"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["js","mjs"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lgr+xml":["lgr"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mmt-aei+xml":["maei"],"application/mmt-usd+xml":["musd"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["mp4s","m4p"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/n-quads":["nq"],"application/n-triples":["nt"],"application/node":["cjs"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg"],"application/oxps":["oxps"],"application/p2p-overlay+xml":["relo"],"application/patch-ops-error+xml":["xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-signature":["asc","sig"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/provenance+xml":["provx"],"application/pskc+xml":["pskcxml"],"application/raml+yaml":["raml"],"application/rdf+xml":["rdf","owl"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/route-apd+xml":["rapd"],"application/route-s-tsid+xml":["sls"],"application/route-usd+xml":["rusd"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/senml+xml":["senmlx"],"application/sensml+xml":["sensmlx"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/sieve":["siv","sieve"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/swid+xml":["swidtag"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/toml":["toml"],"application/trig":["trig"],"application/ttml+xml":["ttml"],"application/ubjson":["ubj"],"application/urc-ressheet+xml":["rsheet"],"application/urc-targetdesc+xml":["td"],"application/voicexml+xml":["vxml"],"application/wasm":["wasm"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/xaml+xml":["xaml"],"application/xcap-att+xml":["xav"],"application/xcap-caps+xml":["xca"],"application/xcap-diff+xml":["xdf"],"application/xcap-el+xml":["xel"],"application/xcap-ns+xml":["xns"],"application/xenc+xml":["xenc"],"application/xhtml+xml":["xhtml","xht"],"application/xliff+xml":["xlf"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["*xsl","xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"audio/3gpp":["*3gpp"],"audio/adpcm":["adp"],"audio/amr":["amr"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mobile-xmf":["mxmf"],"audio/mp3":["*mp3"],"audio/mp4":["m4a","mp4a"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx","opus"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/wav":["wav"],"audio/wave":["*wav"],"audio/webm":["weba"],"audio/xm":["xm"],"font/collection":["ttc"],"font/otf":["otf"],"font/ttf":["ttf"],"font/woff":["woff"],"font/woff2":["woff2"],"image/aces":["exr"],"image/apng":["apng"],"image/avif":["avif"],"image/bmp":["bmp"],"image/cgm":["cgm"],"image/dicom-rle":["drle"],"image/emf":["emf"],"image/fits":["fits"],"image/g3fax":["g3"],"image/gif":["gif"],"image/heic":["heic"],"image/heic-sequence":["heics"],"image/heif":["heif"],"image/heif-sequence":["heifs"],"image/hej2k":["hej2"],"image/hsj2":["hsj2"],"image/ief":["ief"],"image/jls":["jls"],"image/jp2":["jp2","jpg2"],"image/jpeg":["jpeg","jpg","jpe"],"image/jph":["jph"],"image/jphc":["jhc"],"image/jpm":["jpm"],"image/jpx":["jpx","jpf"],"image/jxr":["jxr"],"image/jxra":["jxra"],"image/jxrs":["jxrs"],"image/jxs":["jxs"],"image/jxsc":["jxsc"],"image/jxsi":["jxsi"],"image/jxss":["jxss"],"image/ktx":["ktx"],"image/ktx2":["ktx2"],"image/png":["png"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/t38":["t38"],"image/tiff":["tif","tiff"],"image/tiff-fx":["tfx"],"image/webp":["webp"],"image/wmf":["wmf"],"message/disposition-notification":["disposition-notification"],"message/global":["u8msg"],"message/global-delivery-status":["u8dsn"],"message/global-disposition-notification":["u8mdn"],"message/global-headers":["u8hdr"],"message/rfc822":["eml","mime"],"model/3mf":["3mf"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/mesh":["msh","mesh","silo"],"model/mtl":["mtl"],"model/obj":["obj"],"model/step+xml":["stpx"],"model/step+zip":["stpz"],"model/step-xml+zip":["stpxz"],"model/stl":["stl"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["*x3db","x3dbz"],"model/x3d+fastinfoset":["x3db"],"model/x3d+vrml":["*x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"model/x3d-vrml":["x3dv"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["markdown","md"],"text/mathml":["mml"],"text/mdx":["mdx"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/richtext":["rtx"],"text/rtf":["*rtf"],"text/sgml":["sgml","sgm"],"text/shex":["shex"],"text/slim":["slim","slm"],"text/spdx":["spdx"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vtt":["vtt"],"text/xml":["*xml"],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/iso.segment":["m4s"],"video/jpeg":["jpgv"],"video/jpm":["*jpm","jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/webm":["webm"]}},99623:function(R,pe,Ae){R=Ae.nmd(R); //! moment.js //! version : 2.30.1 //! authors : Tim Wood, Iskren Chernev, Moment.js contributors //! license : MIT //! momentjs.com -(function(ie,oe){true?re.exports=oe():0})(this,(function(){"use strict";var ie;function hooks(){return ie.apply(null,arguments)}function setHookCallback(re){ie=re}function isArray(re){return re instanceof Array||Object.prototype.toString.call(re)==="[object Array]"}function isObject(re){return re!=null&&Object.prototype.toString.call(re)==="[object Object]"}function hasOwnProp(re,ie){return Object.prototype.hasOwnProperty.call(re,ie)}function isObjectEmpty(re){if(Object.getOwnPropertyNames){return Object.getOwnPropertyNames(re).length===0}else{var ie;for(ie in re){if(hasOwnProp(re,ie)){return false}}return true}}function isUndefined(re){return re===void 0}function isNumber(re){return typeof re==="number"||Object.prototype.toString.call(re)==="[object Number]"}function isDate(re){return re instanceof Date||Object.prototype.toString.call(re)==="[object Date]"}function map(re,ie){var oe=[],se,ae=re.length;for(se=0;se>>0,se;for(se=0;se0){for(oe=0;oe=0;return(ce?oe?"+":"":"-")+Math.pow(10,Math.max(0,ae)).toString().substr(1)+se}var fe=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,de=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,pe={},he={};function addFormatToken(re,ie,oe,se){var ae=se;if(typeof se==="string"){ae=function(){return this[se]()}}if(re){he[re]=ae}if(ie){he[ie[0]]=function(){return zeroFill(ae.apply(this,arguments),ie[1],ie[2])}}if(oe){he[oe]=function(){return this.localeData().ordinal(ae.apply(this,arguments),re)}}}function removeFormattingTokens(re){if(re.match(/\[[\s\S]/)){return re.replace(/^\[|\]$/g,"")}return re.replace(/\\/g,"")}function makeFormatFunction(re){var ie=re.match(fe),oe,se;for(oe=0,se=ie.length;oe=0&&de.test(re)){re=re.replace(de,replaceLongDateFormatTokens);de.lastIndex=0;oe-=1}return re}var Ae={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function longDateFormat(re){var ie=this._longDateFormat[re],oe=this._longDateFormat[re.toUpperCase()];if(ie||!oe){return ie}this._longDateFormat[re]=oe.match(fe).map((function(re){if(re==="MMMM"||re==="MM"||re==="DD"||re==="dddd"){return re.slice(1)}return re})).join("");return this._longDateFormat[re]}var ge="Invalid date";function invalidDate(){return this._invalidDate}var me="%d",ye=/\d{1,2}/;function ordinal(re){return this._ordinal.replace("%d",re)}var ve={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function relativeTime(re,ie,oe,se){var ae=this._relativeTime[oe];return isFunction(ae)?ae(re,ie,oe,se):ae.replace(/%d/i,re)}function pastFuture(re,ie){var oe=this._relativeTime[re>0?"future":"past"];return isFunction(oe)?oe(ie):oe.replace(/%s/i,ie)}var be={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function normalizeUnits(re){return typeof re==="string"?be[re]||be[re.toLowerCase()]:undefined}function normalizeObjectUnits(re){var ie={},oe,se;for(se in re){if(hasOwnProp(re,se)){oe=normalizeUnits(se);if(oe){ie[oe]=re[se]}}}return ie}var we={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function getPrioritizedUnits(re){var ie=[],oe;for(oe in re){if(hasOwnProp(re,oe)){ie.push({unit:oe,priority:we[oe]})}}ie.sort((function(re,ie){return re.priority-ie.priority}));return ie}var _e=/\d/,Ee=/\d\d/,Ce=/\d{3}/,Ie=/\d{4}/,Se=/[+-]?\d{6}/,Be=/\d\d?/,xe=/\d\d\d\d?/,ke=/\d\d\d\d\d\d?/,Oe=/\d{1,3}/,De=/\d{1,4}/,Pe=/[+-]?\d{1,6}/,Te=/\d+/,Qe=/[+-]?\d+/,Re=/Z|[+-]\d\d:?\d\d/gi,Me=/Z|[+-]\d\d(?::?\d\d)?/gi,Ne=/[+-]?\d+(\.\d{1,3})?/,je=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,Le=/^[1-9]\d?/,Fe=/^([1-9]\d|\d)/,Ue;Ue={};function addRegexToken(re,ie,oe){Ue[re]=isFunction(ie)?ie:function(re,se){return re&&oe?oe:ie}}function getParseRegexForToken(re,ie){if(!hasOwnProp(Ue,re)){return new RegExp(unescapeFormat(re))}return Ue[re](ie._strict,ie._locale)}function unescapeFormat(re){return regexEscape(re.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(re,ie,oe,se,ae){return ie||oe||se||ae})))}function regexEscape(re){return re.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function absFloor(re){if(re<0){return Math.ceil(re)||0}else{return Math.floor(re)}}function toInt(re){var ie=+re,oe=0;if(ie!==0&&isFinite(ie)){oe=absFloor(ie)}return oe}var He={};function addParseToken(re,ie){var oe,se=ie,ae;if(typeof re==="string"){re=[re]}if(isNumber(ie)){se=function(re,oe){oe[ie]=toInt(re)}}ae=re.length;for(oe=0;oe68?1900:2e3)};var Ze=makeGetSet("FullYear",true);function getIsLeapYear(){return isLeapYear(this.year())}function makeGetSet(re,ie){return function(oe){if(oe!=null){set$1(this,re,oe);hooks.updateOffset(this,ie);return this}else{return get(this,re)}}}function get(re,ie){if(!re.isValid()){return NaN}var oe=re._d,se=re._isUTC;switch(ie){case"Milliseconds":return se?oe.getUTCMilliseconds():oe.getMilliseconds();case"Seconds":return se?oe.getUTCSeconds():oe.getSeconds();case"Minutes":return se?oe.getUTCMinutes():oe.getMinutes();case"Hours":return se?oe.getUTCHours():oe.getHours();case"Date":return se?oe.getUTCDate():oe.getDate();case"Day":return se?oe.getUTCDay():oe.getDay();case"Month":return se?oe.getUTCMonth():oe.getMonth();case"FullYear":return se?oe.getUTCFullYear():oe.getFullYear();default:return NaN}}function set$1(re,ie,oe){var se,ae,ce,ue,le;if(!re.isValid()||isNaN(oe)){return}se=re._d;ae=re._isUTC;switch(ie){case"Milliseconds":return void(ae?se.setUTCMilliseconds(oe):se.setMilliseconds(oe));case"Seconds":return void(ae?se.setUTCSeconds(oe):se.setSeconds(oe));case"Minutes":return void(ae?se.setUTCMinutes(oe):se.setMinutes(oe));case"Hours":return void(ae?se.setUTCHours(oe):se.setHours(oe));case"Date":return void(ae?se.setUTCDate(oe):se.setDate(oe));case"FullYear":break;default:return}ce=oe;ue=re.month();le=re.date();le=le===29&&ue===1&&!isLeapYear(ce)?28:le;void(ae?se.setUTCFullYear(ce,ue,le):se.setFullYear(ce,ue,le))}function stringGet(re){re=normalizeUnits(re);if(isFunction(this[re])){return this[re]()}return this}function stringSet(re,ie){if(typeof re==="object"){re=normalizeObjectUnits(re);var oe=getPrioritizedUnits(re),se,ae=oe.length;for(se=0;se=0){le=new Date(re+400,ie,oe,se,ae,ce,ue);if(isFinite(le.getFullYear())){le.setFullYear(re)}}else{le=new Date(re,ie,oe,se,ae,ce,ue)}return le}function createUTCDate(re){var ie,oe;if(re<100&&re>=0){oe=Array.prototype.slice.call(arguments);oe[0]=re+400;ie=new Date(Date.UTC.apply(null,oe));if(isFinite(ie.getUTCFullYear())){ie.setUTCFullYear(re)}}else{ie=new Date(Date.UTC.apply(null,arguments))}return ie}function firstWeekOffset(re,ie,oe){var se=7+ie-oe,ae=(7+createUTCDate(re,0,se).getUTCDay()-ie)%7;return-ae+se-1}function dayOfYearFromWeeks(re,ie,oe,se,ae){var ce=(7+oe-se)%7,ue=firstWeekOffset(re,se,ae),le=1+7*(ie-1)+ce+ue,fe,de;if(le<=0){fe=re-1;de=daysInYear(fe)+le}else if(le>daysInYear(re)){fe=re+1;de=le-daysInYear(re)}else{fe=re;de=le}return{year:fe,dayOfYear:de}}function weekOfYear(re,ie,oe){var se=firstWeekOffset(re.year(),ie,oe),ae=Math.floor((re.dayOfYear()-se-1)/7)+1,ce,ue;if(ae<1){ue=re.year()-1;ce=ae+weeksInYear(ue,ie,oe)}else if(ae>weeksInYear(re.year(),ie,oe)){ce=ae-weeksInYear(re.year(),ie,oe);ue=re.year()+1}else{ue=re.year();ce=ae}return{week:ce,year:ue}}function weeksInYear(re,ie,oe){var se=firstWeekOffset(re,ie,oe),ae=firstWeekOffset(re+1,ie,oe);return(daysInYear(re)-se+ae)/7}addFormatToken("w",["ww",2],"wo","week");addFormatToken("W",["WW",2],"Wo","isoWeek");addRegexToken("w",Be,Le);addRegexToken("ww",Be,Ee);addRegexToken("W",Be,Le);addRegexToken("WW",Be,Ee);addWeekParseToken(["w","ww","W","WW"],(function(re,ie,oe,se){ie[se.substr(0,1)]=toInt(re)}));function localeWeek(re){return weekOfYear(re,this._week.dow,this._week.doy).week}var ot={dow:0,doy:6};function localeFirstDayOfWeek(){return this._week.dow}function localeFirstDayOfYear(){return this._week.doy}function getSetWeek(re){var ie=this.localeData().week(this);return re==null?ie:this.add((re-ie)*7,"d")}function getSetISOWeek(re){var ie=weekOfYear(this,1,4).week;return re==null?ie:this.add((re-ie)*7,"d")}addFormatToken("d",0,"do","day");addFormatToken("dd",0,0,(function(re){return this.localeData().weekdaysMin(this,re)}));addFormatToken("ddd",0,0,(function(re){return this.localeData().weekdaysShort(this,re)}));addFormatToken("dddd",0,0,(function(re){return this.localeData().weekdays(this,re)}));addFormatToken("e",0,0,"weekday");addFormatToken("E",0,0,"isoWeekday");addRegexToken("d",Be);addRegexToken("e",Be);addRegexToken("E",Be);addRegexToken("dd",(function(re,ie){return ie.weekdaysMinRegex(re)}));addRegexToken("ddd",(function(re,ie){return ie.weekdaysShortRegex(re)}));addRegexToken("dddd",(function(re,ie){return ie.weekdaysRegex(re)}));addWeekParseToken(["dd","ddd","dddd"],(function(re,ie,oe,se){var ae=oe._locale.weekdaysParse(re,se,oe._strict);if(ae!=null){ie.d=ae}else{getParsingFlags(oe).invalidWeekday=re}}));addWeekParseToken(["d","e","E"],(function(re,ie,oe,se){ie[se]=toInt(re)}));function parseWeekday(re,ie){if(typeof re!=="string"){return re}if(!isNaN(re)){return parseInt(re,10)}re=ie.weekdaysParse(re);if(typeof re==="number"){return re}return null}function parseIsoWeekday(re,ie){if(typeof re==="string"){return ie.weekdaysParse(re)%7||7}return isNaN(re)?null:re}function shiftWeekdays(re,ie){return re.slice(ie,7).concat(re.slice(0,ie))}var st="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),at="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),ct="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ut=je,ft=je,dt=je;function localeWeekdays(re,ie){var oe=isArray(this._weekdays)?this._weekdays:this._weekdays[re&&re!==true&&this._weekdays.isFormat.test(ie)?"format":"standalone"];return re===true?shiftWeekdays(oe,this._week.dow):re?oe[re.day()]:oe}function localeWeekdaysShort(re){return re===true?shiftWeekdays(this._weekdaysShort,this._week.dow):re?this._weekdaysShort[re.day()]:this._weekdaysShort}function localeWeekdaysMin(re){return re===true?shiftWeekdays(this._weekdaysMin,this._week.dow):re?this._weekdaysMin[re.day()]:this._weekdaysMin}function handleStrictParse$1(re,ie,oe){var se,ae,ce,ue=re.toLocaleLowerCase();if(!this._weekdaysParse){this._weekdaysParse=[];this._shortWeekdaysParse=[];this._minWeekdaysParse=[];for(se=0;se<7;++se){ce=createUTC([2e3,1]).day(se);this._minWeekdaysParse[se]=this.weekdaysMin(ce,"").toLocaleLowerCase();this._shortWeekdaysParse[se]=this.weekdaysShort(ce,"").toLocaleLowerCase();this._weekdaysParse[se]=this.weekdays(ce,"").toLocaleLowerCase()}}if(oe){if(ie==="dddd"){ae=Xe.call(this._weekdaysParse,ue);return ae!==-1?ae:null}else if(ie==="ddd"){ae=Xe.call(this._shortWeekdaysParse,ue);return ae!==-1?ae:null}else{ae=Xe.call(this._minWeekdaysParse,ue);return ae!==-1?ae:null}}else{if(ie==="dddd"){ae=Xe.call(this._weekdaysParse,ue);if(ae!==-1){return ae}ae=Xe.call(this._shortWeekdaysParse,ue);if(ae!==-1){return ae}ae=Xe.call(this._minWeekdaysParse,ue);return ae!==-1?ae:null}else if(ie==="ddd"){ae=Xe.call(this._shortWeekdaysParse,ue);if(ae!==-1){return ae}ae=Xe.call(this._weekdaysParse,ue);if(ae!==-1){return ae}ae=Xe.call(this._minWeekdaysParse,ue);return ae!==-1?ae:null}else{ae=Xe.call(this._minWeekdaysParse,ue);if(ae!==-1){return ae}ae=Xe.call(this._weekdaysParse,ue);if(ae!==-1){return ae}ae=Xe.call(this._shortWeekdaysParse,ue);return ae!==-1?ae:null}}}function localeWeekdaysParse(re,ie,oe){var se,ae,ce;if(this._weekdaysParseExact){return handleStrictParse$1.call(this,re,ie,oe)}if(!this._weekdaysParse){this._weekdaysParse=[];this._minWeekdaysParse=[];this._shortWeekdaysParse=[];this._fullWeekdaysParse=[]}for(se=0;se<7;se++){ae=createUTC([2e3,1]).day(se);if(oe&&!this._fullWeekdaysParse[se]){this._fullWeekdaysParse[se]=new RegExp("^"+this.weekdays(ae,"").replace(".","\\.?")+"$","i");this._shortWeekdaysParse[se]=new RegExp("^"+this.weekdaysShort(ae,"").replace(".","\\.?")+"$","i");this._minWeekdaysParse[se]=new RegExp("^"+this.weekdaysMin(ae,"").replace(".","\\.?")+"$","i")}if(!this._weekdaysParse[se]){ce="^"+this.weekdays(ae,"")+"|^"+this.weekdaysShort(ae,"")+"|^"+this.weekdaysMin(ae,"");this._weekdaysParse[se]=new RegExp(ce.replace(".",""),"i")}if(oe&&ie==="dddd"&&this._fullWeekdaysParse[se].test(re)){return se}else if(oe&&ie==="ddd"&&this._shortWeekdaysParse[se].test(re)){return se}else if(oe&&ie==="dd"&&this._minWeekdaysParse[se].test(re)){return se}else if(!oe&&this._weekdaysParse[se].test(re)){return se}}}function getSetDayOfWeek(re){if(!this.isValid()){return re!=null?this:NaN}var ie=get(this,"Day");if(re!=null){re=parseWeekday(re,this.localeData());return this.add(re-ie,"d")}else{return ie}}function getSetLocaleDayOfWeek(re){if(!this.isValid()){return re!=null?this:NaN}var ie=(this.day()+7-this.localeData()._week.dow)%7;return re==null?ie:this.add(re-ie,"d")}function getSetISODayOfWeek(re){if(!this.isValid()){return re!=null?this:NaN}if(re!=null){var ie=parseIsoWeekday(re,this.localeData());return this.day(this.day()%7?ie:ie-7)}else{return this.day()||7}}function weekdaysRegex(re){if(this._weekdaysParseExact){if(!hasOwnProp(this,"_weekdaysRegex")){computeWeekdaysParse.call(this)}if(re){return this._weekdaysStrictRegex}else{return this._weekdaysRegex}}else{if(!hasOwnProp(this,"_weekdaysRegex")){this._weekdaysRegex=ut}return this._weekdaysStrictRegex&&re?this._weekdaysStrictRegex:this._weekdaysRegex}}function weekdaysShortRegex(re){if(this._weekdaysParseExact){if(!hasOwnProp(this,"_weekdaysRegex")){computeWeekdaysParse.call(this)}if(re){return this._weekdaysShortStrictRegex}else{return this._weekdaysShortRegex}}else{if(!hasOwnProp(this,"_weekdaysShortRegex")){this._weekdaysShortRegex=ft}return this._weekdaysShortStrictRegex&&re?this._weekdaysShortStrictRegex:this._weekdaysShortRegex}}function weekdaysMinRegex(re){if(this._weekdaysParseExact){if(!hasOwnProp(this,"_weekdaysRegex")){computeWeekdaysParse.call(this)}if(re){return this._weekdaysMinStrictRegex}else{return this._weekdaysMinRegex}}else{if(!hasOwnProp(this,"_weekdaysMinRegex")){this._weekdaysMinRegex=dt}return this._weekdaysMinStrictRegex&&re?this._weekdaysMinStrictRegex:this._weekdaysMinRegex}}function computeWeekdaysParse(){function cmpLenRev(re,ie){return ie.length-re.length}var re=[],ie=[],oe=[],se=[],ae,ce,ue,le,fe;for(ae=0;ae<7;ae++){ce=createUTC([2e3,1]).day(ae);ue=regexEscape(this.weekdaysMin(ce,""));le=regexEscape(this.weekdaysShort(ce,""));fe=regexEscape(this.weekdays(ce,""));re.push(ue);ie.push(le);oe.push(fe);se.push(ue);se.push(le);se.push(fe)}re.sort(cmpLenRev);ie.sort(cmpLenRev);oe.sort(cmpLenRev);se.sort(cmpLenRev);this._weekdaysRegex=new RegExp("^("+se.join("|")+")","i");this._weekdaysShortRegex=this._weekdaysRegex;this._weekdaysMinRegex=this._weekdaysRegex;this._weekdaysStrictRegex=new RegExp("^("+oe.join("|")+")","i");this._weekdaysShortStrictRegex=new RegExp("^("+ie.join("|")+")","i");this._weekdaysMinStrictRegex=new RegExp("^("+re.join("|")+")","i")}function hFormat(){return this.hours()%12||12}function kFormat(){return this.hours()||24}addFormatToken("H",["HH",2],0,"hour");addFormatToken("h",["hh",2],0,hFormat);addFormatToken("k",["kk",2],0,kFormat);addFormatToken("hmm",0,0,(function(){return""+hFormat.apply(this)+zeroFill(this.minutes(),2)}));addFormatToken("hmmss",0,0,(function(){return""+hFormat.apply(this)+zeroFill(this.minutes(),2)+zeroFill(this.seconds(),2)}));addFormatToken("Hmm",0,0,(function(){return""+this.hours()+zeroFill(this.minutes(),2)}));addFormatToken("Hmmss",0,0,(function(){return""+this.hours()+zeroFill(this.minutes(),2)+zeroFill(this.seconds(),2)}));function meridiem(re,ie){addFormatToken(re,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),ie)}))}meridiem("a",true);meridiem("A",false);function matchMeridiem(re,ie){return ie._meridiemParse}addRegexToken("a",matchMeridiem);addRegexToken("A",matchMeridiem);addRegexToken("H",Be,Fe);addRegexToken("h",Be,Le);addRegexToken("k",Be,Le);addRegexToken("HH",Be,Ee);addRegexToken("hh",Be,Ee);addRegexToken("kk",Be,Ee);addRegexToken("hmm",xe);addRegexToken("hmmss",ke);addRegexToken("Hmm",xe);addRegexToken("Hmmss",ke);addParseToken(["H","HH"],Je);addParseToken(["k","kk"],(function(re,ie,oe){var se=toInt(re);ie[Je]=se===24?0:se}));addParseToken(["a","A"],(function(re,ie,oe){oe._isPm=oe._locale.isPM(re);oe._meridiem=re}));addParseToken(["h","hh"],(function(re,ie,oe){ie[Je]=toInt(re);getParsingFlags(oe).bigHour=true}));addParseToken("hmm",(function(re,ie,oe){var se=re.length-2;ie[Je]=toInt(re.substr(0,se));ie[We]=toInt(re.substr(se));getParsingFlags(oe).bigHour=true}));addParseToken("hmmss",(function(re,ie,oe){var se=re.length-4,ae=re.length-2;ie[Je]=toInt(re.substr(0,se));ie[We]=toInt(re.substr(se,2));ie[Ge]=toInt(re.substr(ae));getParsingFlags(oe).bigHour=true}));addParseToken("Hmm",(function(re,ie,oe){var se=re.length-2;ie[Je]=toInt(re.substr(0,se));ie[We]=toInt(re.substr(se))}));addParseToken("Hmmss",(function(re,ie,oe){var se=re.length-4,ae=re.length-2;ie[Je]=toInt(re.substr(0,se));ie[We]=toInt(re.substr(se,2));ie[Ge]=toInt(re.substr(ae))}));function localeIsPM(re){return(re+"").toLowerCase().charAt(0)==="p"}var pt=/[ap]\.?m?\.?/i,ht=makeGetSet("Hours",true);function localeMeridiem(re,ie,oe){if(re>11){return oe?"pm":"PM"}else{return oe?"am":"AM"}}var At={calendar:le,longDateFormat:Ae,invalidDate:ge,ordinal:me,dayOfMonthOrdinalParse:ye,relativeTime:ve,months:et,monthsShort:tt,week:ot,weekdays:st,weekdaysMin:ct,weekdaysShort:at,meridiemParse:pt};var mt={},yt={},vt;function commonPrefix(re,ie){var oe,se=Math.min(re.length,ie.length);for(oe=0;oe0){ae=loadLocale(ce.slice(0,oe).join("-"));if(ae){return ae}if(se&&se.length>=oe&&commonPrefix(ce,se)>=oe-1){break}oe--}ie++}return vt}function isLocaleNameSane(re){return!!(re&&re.match("^[^/\\\\]*$"))}function loadLocale(ie){var oe=null,se;if(mt[ie]===undefined&&"object"!=="undefined"&&re&&re.exports&&isLocaleNameSane(ie)){try{oe=vt._abbr;se=require;se("./locale/"+ie);getSetGlobalLocale(oe)}catch(re){mt[ie]=null}}return mt[ie]}function getSetGlobalLocale(re,ie){var oe;if(re){if(isUndefined(ie)){oe=getLocale(re)}else{oe=defineLocale(re,ie)}if(oe){vt=oe}else{if(typeof console!=="undefined"&&console.warn){console.warn("Locale "+re+" not found. Did you forget to load it?")}}}return vt._abbr}function defineLocale(re,ie){if(ie!==null){var oe,se=At;ie.abbr=re;if(mt[re]!=null){deprecateSimple("defineLocaleOverride","use moment.updateLocale(localeName, config) to change "+"an existing locale. moment.defineLocale(localeName, "+"config) should only be used for creating a new locale "+"See http://momentjs.com/guides/#/warnings/define-locale/ for more info.");se=mt[re]._config}else if(ie.parentLocale!=null){if(mt[ie.parentLocale]!=null){se=mt[ie.parentLocale]._config}else{oe=loadLocale(ie.parentLocale);if(oe!=null){se=oe._config}else{if(!yt[ie.parentLocale]){yt[ie.parentLocale]=[]}yt[ie.parentLocale].push({name:re,config:ie});return null}}}mt[re]=new Locale(mergeConfigs(se,ie));if(yt[re]){yt[re].forEach((function(re){defineLocale(re.name,re.config)}))}getSetGlobalLocale(re);return mt[re]}else{delete mt[re];return null}}function updateLocale(re,ie){if(ie!=null){var oe,se,ae=At;if(mt[re]!=null&&mt[re].parentLocale!=null){mt[re].set(mergeConfigs(mt[re]._config,ie))}else{se=loadLocale(re);if(se!=null){ae=se._config}ie=mergeConfigs(ae,ie);if(se==null){ie.abbr=re}oe=new Locale(ie);oe.parentLocale=mt[re];mt[re]=oe}getSetGlobalLocale(re)}else{if(mt[re]!=null){if(mt[re].parentLocale!=null){mt[re]=mt[re].parentLocale;if(re===getSetGlobalLocale()){getSetGlobalLocale(re)}}else if(mt[re]!=null){delete mt[re]}}}return mt[re]}function getLocale(re){var ie;if(re&&re._locale&&re._locale._abbr){re=re._locale._abbr}if(!re){return vt}if(!isArray(re)){ie=loadLocale(re);if(ie){return ie}re=[re]}return chooseLocale(re)}function listLocales(){return ue(mt)}function checkOverflow(re){var ie,oe=re._a;if(oe&&getParsingFlags(re).overflow===-2){ie=oe[Ke]<0||oe[Ke]>11?Ke:oe[Ve]<1||oe[Ve]>daysInMonth(oe[qe],oe[Ke])?Ve:oe[Je]<0||oe[Je]>24||oe[Je]===24&&(oe[We]!==0||oe[Ge]!==0||oe[Ye]!==0)?Je:oe[We]<0||oe[We]>59?We:oe[Ge]<0||oe[Ge]>59?Ge:oe[Ye]<0||oe[Ye]>999?Ye:-1;if(getParsingFlags(re)._overflowDayOfYear&&(ieVe)){ie=Ve}if(getParsingFlags(re)._overflowWeeks&&ie===-1){ie=ze}if(getParsingFlags(re)._overflowWeekday&&ie===-1){ie=$e}getParsingFlags(re).overflow=ie}return re}var bt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,wt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,_t=/Z|[+-]\d\d(?::?\d\d)?/,Et=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,false],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,false],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,false],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,false],["YYYY",/\d{4}/,false]],Ct=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],It=/^\/?Date\((-?\d+)/i,St=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Bt={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function configFromISO(re){var ie,oe,se=re._i,ae=bt.exec(se)||wt.exec(se),ce,ue,le,fe,de=Et.length,pe=Ct.length;if(ae){getParsingFlags(re).iso=true;for(ie=0,oe=de;iedaysInYear(ue)||re._dayOfYear===0){getParsingFlags(re)._overflowDayOfYear=true}oe=createUTCDate(ue,0,re._dayOfYear);re._a[Ke]=oe.getUTCMonth();re._a[Ve]=oe.getUTCDate()}for(ie=0;ie<3&&re._a[ie]==null;++ie){re._a[ie]=se[ie]=ae[ie]}for(;ie<7;ie++){re._a[ie]=se[ie]=re._a[ie]==null?ie===2?1:0:re._a[ie]}if(re._a[Je]===24&&re._a[We]===0&&re._a[Ge]===0&&re._a[Ye]===0){re._nextDay=true;re._a[Je]=0}re._d=(re._useUTC?createUTCDate:createDate).apply(null,se);ce=re._useUTC?re._d.getUTCDay():re._d.getDay();if(re._tzm!=null){re._d.setUTCMinutes(re._d.getUTCMinutes()-re._tzm)}if(re._nextDay){re._a[Je]=24}if(re._w&&typeof re._w.d!=="undefined"&&re._w.d!==ce){getParsingFlags(re).weekdayMismatch=true}}function dayOfYearFromWeekInfo(re){var ie,oe,se,ae,ce,ue,le,fe,de;ie=re._w;if(ie.GG!=null||ie.W!=null||ie.E!=null){ce=1;ue=4;oe=defaults(ie.GG,re._a[qe],weekOfYear(createLocal(),1,4).year);se=defaults(ie.W,1);ae=defaults(ie.E,1);if(ae<1||ae>7){fe=true}}else{ce=re._locale._week.dow;ue=re._locale._week.doy;de=weekOfYear(createLocal(),ce,ue);oe=defaults(ie.gg,re._a[qe],de.year);se=defaults(ie.w,de.week);if(ie.d!=null){ae=ie.d;if(ae<0||ae>6){fe=true}}else if(ie.e!=null){ae=ie.e+ce;if(ie.e<0||ie.e>6){fe=true}}else{ae=ce}}if(se<1||se>weeksInYear(oe,ce,ue)){getParsingFlags(re)._overflowWeeks=true}else if(fe!=null){getParsingFlags(re)._overflowWeekday=true}else{le=dayOfYearFromWeeks(oe,se,ae,ce,ue);re._a[qe]=le.year;re._dayOfYear=le.dayOfYear}}hooks.ISO_8601=function(){};hooks.RFC_2822=function(){};function configFromStringAndFormat(re){if(re._f===hooks.ISO_8601){configFromISO(re);return}if(re._f===hooks.RFC_2822){configFromRFC2822(re);return}re._a=[];getParsingFlags(re).empty=true;var ie=""+re._i,oe,se,ae,ce,ue,le=ie.length,de=0,pe,Ae;ae=expandFormat(re._f,re._locale).match(fe)||[];Ae=ae.length;for(oe=0;oe0){getParsingFlags(re).unusedInput.push(ue)}ie=ie.slice(ie.indexOf(se)+se.length);de+=se.length}if(he[ce]){if(se){getParsingFlags(re).empty=false}else{getParsingFlags(re).unusedTokens.push(ce)}addTimeToArrayFromToken(ce,se,re)}else if(re._strict&&!se){getParsingFlags(re).unusedTokens.push(ce)}}getParsingFlags(re).charsLeftOver=le-de;if(ie.length>0){getParsingFlags(re).unusedInput.push(ie)}if(re._a[Je]<=12&&getParsingFlags(re).bigHour===true&&re._a[Je]>0){getParsingFlags(re).bigHour=undefined}getParsingFlags(re).parsedDateParts=re._a.slice(0);getParsingFlags(re).meridiem=re._meridiem;re._a[Je]=meridiemFixWrap(re._locale,re._a[Je],re._meridiem);pe=getParsingFlags(re).era;if(pe!==null){re._a[qe]=re._locale.erasConvertYear(pe,re._a[qe])}configFromArray(re);checkOverflow(re)}function meridiemFixWrap(re,ie,oe){var se;if(oe==null){return ie}if(re.meridiemHour!=null){return re.meridiemHour(ie,oe)}else if(re.isPM!=null){se=re.isPM(oe);if(se&&ie<12){ie+=12}if(!se&&ie===12){ie=0}return ie}else{return ie}}function configFromStringAndArray(re){var ie,oe,se,ae,ce,ue,le=false,fe=re._f.length;if(fe===0){getParsingFlags(re).invalidFormat=true;re._d=new Date(NaN);return}for(ae=0;aethis?this:re}else{return createInvalid()}}));function pickBy(re,ie){var oe,se;if(ie.length===1&&isArray(ie[0])){ie=ie[0]}if(!ie.length){return createLocal()}oe=ie[0];for(se=1;sethis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function isDaylightSavingTimeShifted(){if(!isUndefined(this._isDSTShifted)){return this._isDSTShifted}var re={},ie;copyConfig(re,this);re=prepareConfig(re);if(re._a){ie=re._isUTC?createUTC(re._a):createLocal(re._a);this._isDSTShifted=this.isValid()&&compareArrays(re._a,ie.toArray())>0}else{this._isDSTShifted=false}return this._isDSTShifted}function isLocal(){return this.isValid()?!this._isUTC:false}function isUtcOffset(){return this.isValid()?this._isUTC:false}function isUtc(){return this.isValid()?this._isUTC&&this._offset===0:false}var Pt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Tt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function createDuration(re,ie){var oe=re,se=null,ae,ce,ue;if(isDuration(re)){oe={ms:re._milliseconds,d:re._days,M:re._months}}else if(isNumber(re)||!isNaN(+re)){oe={};if(ie){oe[ie]=+re}else{oe.milliseconds=+re}}else if(se=Pt.exec(re)){ae=se[1]==="-"?-1:1;oe={y:0,d:toInt(se[Ve])*ae,h:toInt(se[Je])*ae,m:toInt(se[We])*ae,s:toInt(se[Ge])*ae,ms:toInt(absRound(se[Ye]*1e3))*ae}}else if(se=Tt.exec(re)){ae=se[1]==="-"?-1:1;oe={y:parseIso(se[2],ae),M:parseIso(se[3],ae),w:parseIso(se[4],ae),d:parseIso(se[5],ae),h:parseIso(se[6],ae),m:parseIso(se[7],ae),s:parseIso(se[8],ae)}}else if(oe==null){oe={}}else if(typeof oe==="object"&&("from"in oe||"to"in oe)){ue=momentsDifference(createLocal(oe.from),createLocal(oe.to));oe={};oe.ms=ue.milliseconds;oe.M=ue.months}ce=new Duration(oe);if(isDuration(re)&&hasOwnProp(re,"_locale")){ce._locale=re._locale}if(isDuration(re)&&hasOwnProp(re,"_isValid")){ce._isValid=re._isValid}return ce}createDuration.fn=Duration.prototype;createDuration.invalid=createInvalid$1;function parseIso(re,ie){var oe=re&&parseFloat(re.replace(",","."));return(isNaN(oe)?0:oe)*ie}function positiveMomentsDifference(re,ie){var oe={};oe.months=ie.month()-re.month()+(ie.year()-re.year())*12;if(re.clone().add(oe.months,"M").isAfter(ie)){--oe.months}oe.milliseconds=+ie-+re.clone().add(oe.months,"M");return oe}function momentsDifference(re,ie){var oe;if(!(re.isValid()&&ie.isValid())){return{milliseconds:0,months:0}}ie=cloneWithOffset(ie,re);if(re.isBefore(ie)){oe=positiveMomentsDifference(re,ie)}else{oe=positiveMomentsDifference(ie,re);oe.milliseconds=-oe.milliseconds;oe.months=-oe.months}return oe}function createAdder(re,ie){return function(oe,se){var ae,ce;if(se!==null&&!isNaN(+se)){deprecateSimple(ie,"moment()."+ie+"(period, number) is deprecated. Please use moment()."+ie+"(number, period). "+"See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info.");ce=oe;oe=se;se=ce}ae=createDuration(oe,se);addSubtract(this,ae,re);return this}}function addSubtract(re,ie,oe,se){var ae=ie._milliseconds,ce=absRound(ie._days),ue=absRound(ie._months);if(!re.isValid()){return}se=se==null?true:se;if(ue){setMonth(re,get(re,"Month")+ue*oe)}if(ce){set$1(re,"Date",get(re,"Date")+ce*oe)}if(ae){re._d.setTime(re._d.valueOf()+ae*oe)}if(se){hooks.updateOffset(re,ce||ue)}}var Qt=createAdder(1,"add"),Rt=createAdder(-1,"subtract");function isString(re){return typeof re==="string"||re instanceof String}function isMomentInput(re){return isMoment(re)||isDate(re)||isString(re)||isNumber(re)||isNumberOrStringArray(re)||isMomentInputObject(re)||re===null||re===undefined}function isMomentInputObject(re){var ie=isObject(re)&&!isObjectEmpty(re),oe=false,se=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],ae,ce,ue=se.length;for(ae=0;aeoe.valueOf()}else{return oe.valueOf()9999){return formatMoment(oe,ie?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ")}if(isFunction(Date.prototype.toISOString)){if(ie){return this.toDate().toISOString()}else{return new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",formatMoment(oe,"Z"))}}return formatMoment(oe,ie?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function inspect(){if(!this.isValid()){return"moment.invalid(/* "+this._i+" */)"}var re="moment",ie="",oe,se,ae,ce;if(!this.isLocal()){re=this.utcOffset()===0?"moment.utc":"moment.parseZone";ie="Z"}oe="["+re+'("]';se=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY";ae="-MM-DD[T]HH:mm:ss.SSS";ce=ie+'[")]';return this.format(oe+se+ae+ce)}function format(re){if(!re){re=this.isUtc()?hooks.defaultFormatUtc:hooks.defaultFormat}var ie=formatMoment(this,re);return this.localeData().postformat(ie)}function from(re,ie){if(this.isValid()&&(isMoment(re)&&re.isValid()||createLocal(re).isValid())){return createDuration({to:this,from:re}).locale(this.locale()).humanize(!ie)}else{return this.localeData().invalidDate()}}function fromNow(re){return this.from(createLocal(),re)}function to(re,ie){if(this.isValid()&&(isMoment(re)&&re.isValid()||createLocal(re).isValid())){return createDuration({from:this,to:re}).locale(this.locale()).humanize(!ie)}else{return this.localeData().invalidDate()}}function toNow(re){return this.to(createLocal(),re)}function locale(re){var ie;if(re===undefined){return this._locale._abbr}else{ie=getLocale(re);if(ie!=null){this._locale=ie}return this}}var Mt=deprecate("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(re){if(re===undefined){return this.localeData()}else{return this.locale(re)}}));function localeData(){return this._locale}var Nt=1e3,jt=60*Nt,Lt=60*jt,Ft=(365*400+97)*24*Lt;function mod$1(re,ie){return(re%ie+ie)%ie}function localStartOfDate(re,ie,oe){if(re<100&&re>=0){return new Date(re+400,ie,oe)-Ft}else{return new Date(re,ie,oe).valueOf()}}function utcStartOfDate(re,ie,oe){if(re<100&&re>=0){return Date.UTC(re+400,ie,oe)-Ft}else{return Date.UTC(re,ie,oe)}}function startOf(re){var ie,oe;re=normalizeUnits(re);if(re===undefined||re==="millisecond"||!this.isValid()){return this}oe=this._isUTC?utcStartOfDate:localStartOfDate;switch(re){case"year":ie=oe(this.year(),0,1);break;case"quarter":ie=oe(this.year(),this.month()-this.month()%3,1);break;case"month":ie=oe(this.year(),this.month(),1);break;case"week":ie=oe(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":ie=oe(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":ie=oe(this.year(),this.month(),this.date());break;case"hour":ie=this._d.valueOf();ie-=mod$1(ie+(this._isUTC?0:this.utcOffset()*jt),Lt);break;case"minute":ie=this._d.valueOf();ie-=mod$1(ie,jt);break;case"second":ie=this._d.valueOf();ie-=mod$1(ie,Nt);break}this._d.setTime(ie);hooks.updateOffset(this,true);return this}function endOf(re){var ie,oe;re=normalizeUnits(re);if(re===undefined||re==="millisecond"||!this.isValid()){return this}oe=this._isUTC?utcStartOfDate:localStartOfDate;switch(re){case"year":ie=oe(this.year()+1,0,1)-1;break;case"quarter":ie=oe(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":ie=oe(this.year(),this.month()+1,1)-1;break;case"week":ie=oe(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":ie=oe(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":ie=oe(this.year(),this.month(),this.date()+1)-1;break;case"hour":ie=this._d.valueOf();ie+=Lt-mod$1(ie+(this._isUTC?0:this.utcOffset()*jt),Lt)-1;break;case"minute":ie=this._d.valueOf();ie+=jt-mod$1(ie,jt)-1;break;case"second":ie=this._d.valueOf();ie+=Nt-mod$1(ie,Nt)-1;break}this._d.setTime(ie);hooks.updateOffset(this,true);return this}function valueOf(){return this._d.valueOf()-(this._offset||0)*6e4}function unix(){return Math.floor(this.valueOf()/1e3)}function toDate(){return new Date(this.valueOf())}function toArray(){var re=this;return[re.year(),re.month(),re.date(),re.hour(),re.minute(),re.second(),re.millisecond()]}function toObject(){var re=this;return{years:re.year(),months:re.month(),date:re.date(),hours:re.hours(),minutes:re.minutes(),seconds:re.seconds(),milliseconds:re.milliseconds()}}function toJSON(){return this.isValid()?this.toISOString():null}function isValid$2(){return isValid(this)}function parsingFlags(){return extend({},getParsingFlags(this))}function invalidAt(){return getParsingFlags(this).overflow}function creationData(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}addFormatToken("N",0,0,"eraAbbr");addFormatToken("NN",0,0,"eraAbbr");addFormatToken("NNN",0,0,"eraAbbr");addFormatToken("NNNN",0,0,"eraName");addFormatToken("NNNNN",0,0,"eraNarrow");addFormatToken("y",["y",1],"yo","eraYear");addFormatToken("y",["yy",2],0,"eraYear");addFormatToken("y",["yyy",3],0,"eraYear");addFormatToken("y",["yyyy",4],0,"eraYear");addRegexToken("N",matchEraAbbr);addRegexToken("NN",matchEraAbbr);addRegexToken("NNN",matchEraAbbr);addRegexToken("NNNN",matchEraName);addRegexToken("NNNNN",matchEraNarrow);addParseToken(["N","NN","NNN","NNNN","NNNNN"],(function(re,ie,oe,se){var ae=oe._locale.erasParse(re,se,oe._strict);if(ae){getParsingFlags(oe).era=ae}else{getParsingFlags(oe).invalidEra=re}}));addRegexToken("y",Te);addRegexToken("yy",Te);addRegexToken("yyy",Te);addRegexToken("yyyy",Te);addRegexToken("yo",matchEraYearOrdinal);addParseToken(["y","yy","yyy","yyyy"],qe);addParseToken(["yo"],(function(re,ie,oe,se){var ae;if(oe._locale._eraYearOrdinalRegex){ae=re.match(oe._locale._eraYearOrdinalRegex)}if(oe._locale.eraYearOrdinalParse){ie[qe]=oe._locale.eraYearOrdinalParse(re,ae)}else{ie[qe]=parseInt(re,10)}}));function localeEras(re,ie){var oe,se,ae,ce=this._eras||getLocale("en")._eras;for(oe=0,se=ce.length;oe=0){return ce[se]}}}function localeErasConvertYear(re,ie){var oe=re.since<=re.until?+1:-1;if(ie===undefined){return hooks(re.since).year()}else{return hooks(re.since).year()+(ie-re.offset)*oe}}function getEraName(){var re,ie,oe,se=this.localeData().eras();for(re=0,ie=se.length;rece){ie=ce}return setWeekAll.call(this,re,ie,oe,se,ae)}}function setWeekAll(re,ie,oe,se,ae){var ce=dayOfYearFromWeeks(re,ie,oe,se,ae),ue=createUTCDate(ce.year,0,ce.dayOfYear);this.year(ue.getUTCFullYear());this.month(ue.getUTCMonth());this.date(ue.getUTCDate());return this}addFormatToken("Q",0,"Qo","quarter");addRegexToken("Q",_e);addParseToken("Q",(function(re,ie){ie[Ke]=(toInt(re)-1)*3}));function getSetQuarter(re){return re==null?Math.ceil((this.month()+1)/3):this.month((re-1)*3+this.month()%3)}addFormatToken("D",["DD",2],"Do","date");addRegexToken("D",Be,Le);addRegexToken("DD",Be,Ee);addRegexToken("Do",(function(re,ie){return re?ie._dayOfMonthOrdinalParse||ie._ordinalParse:ie._dayOfMonthOrdinalParseLenient}));addParseToken(["D","DD"],Ve);addParseToken("Do",(function(re,ie){ie[Ve]=toInt(re.match(Be)[0])}));var Ut=makeGetSet("Date",true);addFormatToken("DDD",["DDDD",3],"DDDo","dayOfYear");addRegexToken("DDD",Oe);addRegexToken("DDDD",Ce);addParseToken(["DDD","DDDD"],(function(re,ie,oe){oe._dayOfYear=toInt(re)}));function getSetDayOfYear(re){var ie=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return re==null?ie:this.add(re-ie,"d")}addFormatToken("m",["mm",2],0,"minute");addRegexToken("m",Be,Fe);addRegexToken("mm",Be,Ee);addParseToken(["m","mm"],We);var Ht=makeGetSet("Minutes",false);addFormatToken("s",["ss",2],0,"second");addRegexToken("s",Be,Fe);addRegexToken("ss",Be,Ee);addParseToken(["s","ss"],Ge);var qt=makeGetSet("Seconds",false);addFormatToken("S",0,0,(function(){return~~(this.millisecond()/100)}));addFormatToken(0,["SS",2],0,(function(){return~~(this.millisecond()/10)}));addFormatToken(0,["SSS",3],0,"millisecond");addFormatToken(0,["SSSS",4],0,(function(){return this.millisecond()*10}));addFormatToken(0,["SSSSS",5],0,(function(){return this.millisecond()*100}));addFormatToken(0,["SSSSSS",6],0,(function(){return this.millisecond()*1e3}));addFormatToken(0,["SSSSSSS",7],0,(function(){return this.millisecond()*1e4}));addFormatToken(0,["SSSSSSSS",8],0,(function(){return this.millisecond()*1e5}));addFormatToken(0,["SSSSSSSSS",9],0,(function(){return this.millisecond()*1e6}));addRegexToken("S",Oe,_e);addRegexToken("SS",Oe,Ee);addRegexToken("SSS",Oe,Ce);var Kt,Vt;for(Kt="SSSS";Kt.length<=9;Kt+="S"){addRegexToken(Kt,Te)}function parseMs(re,ie){ie[Ye]=toInt(("0."+re)*1e3)}for(Kt="S";Kt.length<=9;Kt+="S"){addParseToken(Kt,parseMs)}Vt=makeGetSet("Milliseconds",false);addFormatToken("z",0,0,"zoneAbbr");addFormatToken("zz",0,0,"zoneName");function getZoneAbbr(){return this._isUTC?"UTC":""}function getZoneName(){return this._isUTC?"Coordinated Universal Time":""}var Jt=Moment.prototype;Jt.add=Qt;Jt.calendar=calendar$1;Jt.clone=clone;Jt.diff=diff;Jt.endOf=endOf;Jt.format=format;Jt.from=from;Jt.fromNow=fromNow;Jt.to=to;Jt.toNow=toNow;Jt.get=stringGet;Jt.invalidAt=invalidAt;Jt.isAfter=isAfter;Jt.isBefore=isBefore;Jt.isBetween=isBetween;Jt.isSame=isSame;Jt.isSameOrAfter=isSameOrAfter;Jt.isSameOrBefore=isSameOrBefore;Jt.isValid=isValid$2;Jt.lang=Mt;Jt.locale=locale;Jt.localeData=localeData;Jt.max=kt;Jt.min=xt;Jt.parsingFlags=parsingFlags;Jt.set=stringSet;Jt.startOf=startOf;Jt.subtract=Rt;Jt.toArray=toArray;Jt.toObject=toObject;Jt.toDate=toDate;Jt.toISOString=toISOString;Jt.inspect=inspect;if(typeof Symbol!=="undefined"&&Symbol.for!=null){Jt[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}}Jt.toJSON=toJSON;Jt.toString=toString;Jt.unix=unix;Jt.valueOf=valueOf;Jt.creationData=creationData;Jt.eraName=getEraName;Jt.eraNarrow=getEraNarrow;Jt.eraAbbr=getEraAbbr;Jt.eraYear=getEraYear;Jt.year=Ze;Jt.isLeapYear=getIsLeapYear;Jt.weekYear=getSetWeekYear;Jt.isoWeekYear=getSetISOWeekYear;Jt.quarter=Jt.quarters=getSetQuarter;Jt.month=getSetMonth;Jt.daysInMonth=getDaysInMonth;Jt.week=Jt.weeks=getSetWeek;Jt.isoWeek=Jt.isoWeeks=getSetISOWeek;Jt.weeksInYear=getWeeksInYear;Jt.weeksInWeekYear=getWeeksInWeekYear;Jt.isoWeeksInYear=getISOWeeksInYear;Jt.isoWeeksInISOWeekYear=getISOWeeksInISOWeekYear;Jt.date=Ut;Jt.day=Jt.days=getSetDayOfWeek;Jt.weekday=getSetLocaleDayOfWeek;Jt.isoWeekday=getSetISODayOfWeek;Jt.dayOfYear=getSetDayOfYear;Jt.hour=Jt.hours=ht;Jt.minute=Jt.minutes=Ht;Jt.second=Jt.seconds=qt;Jt.millisecond=Jt.milliseconds=Vt;Jt.utcOffset=getSetOffset;Jt.utc=setOffsetToUTC;Jt.local=setOffsetToLocal;Jt.parseZone=setOffsetToParsedOffset;Jt.hasAlignedHourOffset=hasAlignedHourOffset;Jt.isDST=isDaylightSavingTime;Jt.isLocal=isLocal;Jt.isUtcOffset=isUtcOffset;Jt.isUtc=isUtc;Jt.isUTC=isUtc;Jt.zoneAbbr=getZoneAbbr;Jt.zoneName=getZoneName;Jt.dates=deprecate("dates accessor is deprecated. Use date instead.",Ut);Jt.months=deprecate("months accessor is deprecated. Use month instead",getSetMonth);Jt.years=deprecate("years accessor is deprecated. Use year instead",Ze);Jt.zone=deprecate("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",getSetZone);Jt.isDSTShifted=deprecate("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",isDaylightSavingTimeShifted);function createUnix(re){return createLocal(re*1e3)}function createInZone(){return createLocal.apply(null,arguments).parseZone()}function preParsePostFormat(re){return re}var Wt=Locale.prototype;Wt.calendar=calendar;Wt.longDateFormat=longDateFormat;Wt.invalidDate=invalidDate;Wt.ordinal=ordinal;Wt.preparse=preParsePostFormat;Wt.postformat=preParsePostFormat;Wt.relativeTime=relativeTime;Wt.pastFuture=pastFuture;Wt.set=set;Wt.eras=localeEras;Wt.erasParse=localeErasParse;Wt.erasConvertYear=localeErasConvertYear;Wt.erasAbbrRegex=erasAbbrRegex;Wt.erasNameRegex=erasNameRegex;Wt.erasNarrowRegex=erasNarrowRegex;Wt.months=localeMonths;Wt.monthsShort=localeMonthsShort;Wt.monthsParse=localeMonthsParse;Wt.monthsRegex=monthsRegex;Wt.monthsShortRegex=monthsShortRegex;Wt.week=localeWeek;Wt.firstDayOfYear=localeFirstDayOfYear;Wt.firstDayOfWeek=localeFirstDayOfWeek;Wt.weekdays=localeWeekdays;Wt.weekdaysMin=localeWeekdaysMin;Wt.weekdaysShort=localeWeekdaysShort;Wt.weekdaysParse=localeWeekdaysParse;Wt.weekdaysRegex=weekdaysRegex;Wt.weekdaysShortRegex=weekdaysShortRegex;Wt.weekdaysMinRegex=weekdaysMinRegex;Wt.isPM=localeIsPM;Wt.meridiem=localeMeridiem;function get$1(re,ie,oe,se){var ae=getLocale(),ce=createUTC().set(se,ie);return ae[oe](ce,re)}function listMonthsImpl(re,ie,oe){if(isNumber(re)){ie=re;re=undefined}re=re||"";if(ie!=null){return get$1(re,ie,oe,"month")}var se,ae=[];for(se=0;se<12;se++){ae[se]=get$1(re,se,oe,"month")}return ae}function listWeekdaysImpl(re,ie,oe,se){if(typeof re==="boolean"){if(isNumber(ie)){oe=ie;ie=undefined}ie=ie||""}else{ie=re;oe=ie;re=false;if(isNumber(ie)){oe=ie;ie=undefined}ie=ie||""}var ae=getLocale(),ce=re?ae._week.dow:0,ue,le=[];if(oe!=null){return get$1(ie,(oe+ce)%7,se,"day")}for(ue=0;ue<7;ue++){le[ue]=get$1(ie,(ue+ce)%7,se,"day")}return le}function listMonths(re,ie){return listMonthsImpl(re,ie,"months")}function listMonthsShort(re,ie){return listMonthsImpl(re,ie,"monthsShort")}function listWeekdays(re,ie,oe){return listWeekdaysImpl(re,ie,oe,"weekdays")}function listWeekdaysShort(re,ie,oe){return listWeekdaysImpl(re,ie,oe,"weekdaysShort")}function listWeekdaysMin(re,ie,oe){return listWeekdaysImpl(re,ie,oe,"weekdaysMin")}getSetGlobalLocale("en",{eras:[{since:"0001-01-01",until:+Infinity,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-Infinity,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(re){var ie=re%10,oe=toInt(re%100/10)===1?"th":ie===1?"st":ie===2?"nd":ie===3?"rd":"th";return re+oe}});hooks.lang=deprecate("moment.lang is deprecated. Use moment.locale instead.",getSetGlobalLocale);hooks.langData=deprecate("moment.langData is deprecated. Use moment.localeData instead.",getLocale);var Gt=Math.abs;function abs(){var re=this._data;this._milliseconds=Gt(this._milliseconds);this._days=Gt(this._days);this._months=Gt(this._months);re.milliseconds=Gt(re.milliseconds);re.seconds=Gt(re.seconds);re.minutes=Gt(re.minutes);re.hours=Gt(re.hours);re.months=Gt(re.months);re.years=Gt(re.years);return this}function addSubtract$1(re,ie,oe,se){var ae=createDuration(ie,oe);re._milliseconds+=se*ae._milliseconds;re._days+=se*ae._days;re._months+=se*ae._months;return re._bubble()}function add$1(re,ie){return addSubtract$1(this,re,ie,1)}function subtract$1(re,ie){return addSubtract$1(this,re,ie,-1)}function absCeil(re){if(re<0){return Math.floor(re)}else{return Math.ceil(re)}}function bubble(){var re=this._milliseconds,ie=this._days,oe=this._months,se=this._data,ae,ce,ue,le,fe;if(!(re>=0&&ie>=0&&oe>=0||re<=0&&ie<=0&&oe<=0)){re+=absCeil(monthsToDays(oe)+ie)*864e5;ie=0;oe=0}se.milliseconds=re%1e3;ae=absFloor(re/1e3);se.seconds=ae%60;ce=absFloor(ae/60);se.minutes=ce%60;ue=absFloor(ce/60);se.hours=ue%24;ie+=absFloor(ue/24);fe=absFloor(daysToMonths(ie));oe+=fe;ie-=absCeil(monthsToDays(fe));le=absFloor(oe/12);oe%=12;se.days=ie;se.months=oe;se.years=le;return this}function daysToMonths(re){return re*4800/146097}function monthsToDays(re){return re*146097/4800}function as(re){if(!this.isValid()){return NaN}var ie,oe,se=this._milliseconds;re=normalizeUnits(re);if(re==="month"||re==="quarter"||re==="year"){ie=this._days+se/864e5;oe=this._months+daysToMonths(ie);switch(re){case"month":return oe;case"quarter":return oe/3;case"year":return oe/12}}else{ie=this._days+Math.round(monthsToDays(this._months));switch(re){case"week":return ie/7+se/6048e5;case"day":return ie+se/864e5;case"hour":return ie*24+se/36e5;case"minute":return ie*1440+se/6e4;case"second":return ie*86400+se/1e3;case"millisecond":return Math.floor(ie*864e5)+se;default:throw new Error("Unknown unit "+re)}}}function makeAs(re){return function(){return this.as(re)}}var Yt=makeAs("ms"),zt=makeAs("s"),$t=makeAs("m"),Zt=makeAs("h"),Xt=makeAs("d"),er=makeAs("w"),tr=makeAs("M"),rr=makeAs("Q"),nr=makeAs("y"),ir=Yt;function clone$1(){return createDuration(this)}function get$2(re){re=normalizeUnits(re);return this.isValid()?this[re+"s"]():NaN}function makeGetter(re){return function(){return this.isValid()?this._data[re]:NaN}}var sr=makeGetter("milliseconds"),ar=makeGetter("seconds"),cr=makeGetter("minutes"),ur=makeGetter("hours"),lr=makeGetter("days"),fr=makeGetter("months"),dr=makeGetter("years");function weeks(){return absFloor(this.days()/7)}var pr=Math.round,hr={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function substituteTimeAgo(re,ie,oe,se,ae){return ae.relativeTime(ie||1,!!oe,re,se)}function relativeTime$1(re,ie,oe,se){var ae=createDuration(re).abs(),ce=pr(ae.as("s")),ue=pr(ae.as("m")),le=pr(ae.as("h")),fe=pr(ae.as("d")),de=pr(ae.as("M")),pe=pr(ae.as("w")),he=pr(ae.as("y")),Ae=ce<=oe.ss&&["s",ce]||ce0;Ae[4]=se;return substituteTimeAgo.apply(null,Ae)}function getSetRelativeTimeRounding(re){if(re===undefined){return pr}if(typeof re==="function"){pr=re;return true}return false}function getSetRelativeTimeThreshold(re,ie){if(hr[re]===undefined){return false}if(ie===undefined){return hr[re]}hr[re]=ie;if(re==="s"){hr.ss=ie-1}return true}function humanize(re,ie){if(!this.isValid()){return this.localeData().invalidDate()}var oe=false,se=hr,ae,ce;if(typeof re==="object"){ie=re;re=false}if(typeof re==="boolean"){oe=re}if(typeof ie==="object"){se=Object.assign({},hr,ie);if(ie.s!=null&&ie.ss==null){se.ss=ie.s-1}}ae=this.localeData();ce=relativeTime$1(this,!oe,se,ae);if(oe){ce=ae.pastFuture(+this,ce)}return ae.postformat(ce)}var Ar=Math.abs;function sign(re){return(re>0)-(re<0)||+re}function toISOString$1(){if(!this.isValid()){return this.localeData().invalidDate()}var re=Ar(this._milliseconds)/1e3,ie=Ar(this._days),oe=Ar(this._months),se,ae,ce,ue,le=this.asSeconds(),fe,de,pe,he;if(!le){return"P0D"}se=absFloor(re/60);ae=absFloor(se/60);re%=60;se%=60;ce=absFloor(oe/12);oe%=12;ue=re?re.toFixed(3).replace(/\.?0+$/,""):"";fe=le<0?"-":"";de=sign(this._months)!==sign(le)?"-":"";pe=sign(this._days)!==sign(le)?"-":"";he=sign(this._milliseconds)!==sign(le)?"-":"";return fe+"P"+(ce?de+ce+"Y":"")+(oe?de+oe+"M":"")+(ie?pe+ie+"D":"")+(ae||se||re?"T":"")+(ae?he+ae+"H":"")+(se?he+se+"M":"")+(re?he+ue+"S":"")}var gr=Duration.prototype;gr.isValid=isValid$1;gr.abs=abs;gr.add=add$1;gr.subtract=subtract$1;gr.as=as;gr.asMilliseconds=Yt;gr.asSeconds=zt;gr.asMinutes=$t;gr.asHours=Zt;gr.asDays=Xt;gr.asWeeks=er;gr.asMonths=tr;gr.asQuarters=rr;gr.asYears=nr;gr.valueOf=ir;gr._bubble=bubble;gr.clone=clone$1;gr.get=get$2;gr.milliseconds=sr;gr.seconds=ar;gr.minutes=cr;gr.hours=ur;gr.days=lr;gr.weeks=weeks;gr.months=fr;gr.years=dr;gr.humanize=humanize;gr.toISOString=toISOString$1;gr.toString=toISOString$1;gr.toJSON=toISOString$1;gr.locale=locale;gr.localeData=localeData;gr.toIsoString=deprecate("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",toISOString$1);gr.lang=Mt;addFormatToken("X",0,0,"unix");addFormatToken("x",0,0,"valueOf");addRegexToken("x",Qe);addRegexToken("X",Ne);addParseToken("X",(function(re,ie,oe){oe._d=new Date(parseFloat(re)*1e3)}));addParseToken("x",(function(re,ie,oe){oe._d=new Date(toInt(re))})); +(function(pe,Ae){true?R.exports=Ae():0})(this,(function(){"use strict";var pe;function hooks(){return pe.apply(null,arguments)}function setHookCallback(R){pe=R}function isArray(R){return R instanceof Array||Object.prototype.toString.call(R)==="[object Array]"}function isObject(R){return R!=null&&Object.prototype.toString.call(R)==="[object Object]"}function hasOwnProp(R,pe){return Object.prototype.hasOwnProperty.call(R,pe)}function isObjectEmpty(R){if(Object.getOwnPropertyNames){return Object.getOwnPropertyNames(R).length===0}else{var pe;for(pe in R){if(hasOwnProp(R,pe)){return false}}return true}}function isUndefined(R){return R===void 0}function isNumber(R){return typeof R==="number"||Object.prototype.toString.call(R)==="[object Number]"}function isDate(R){return R instanceof Date||Object.prototype.toString.call(R)==="[object Date]"}function map(R,pe){var Ae=[],he,ge=R.length;for(he=0;he>>0,he;for(he=0;he0){for(Ae=0;Ae=0;return(me?Ae?"+":"":"-")+Math.pow(10,Math.max(0,ge)).toString().substr(1)+he}var be=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Ee=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Ce={},we={};function addFormatToken(R,pe,Ae,he){var ge=he;if(typeof he==="string"){ge=function(){return this[he]()}}if(R){we[R]=ge}if(pe){we[pe[0]]=function(){return zeroFill(ge.apply(this,arguments),pe[1],pe[2])}}if(Ae){we[Ae]=function(){return this.localeData().ordinal(ge.apply(this,arguments),R)}}}function removeFormattingTokens(R){if(R.match(/\[[\s\S]/)){return R.replace(/^\[|\]$/g,"")}return R.replace(/\\/g,"")}function makeFormatFunction(R){var pe=R.match(be),Ae,he;for(Ae=0,he=pe.length;Ae=0&&Ee.test(R)){R=R.replace(Ee,replaceLongDateFormatTokens);Ee.lastIndex=0;Ae-=1}return R}var Ie={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function longDateFormat(R){var pe=this._longDateFormat[R],Ae=this._longDateFormat[R.toUpperCase()];if(pe||!Ae){return pe}this._longDateFormat[R]=Ae.match(be).map((function(R){if(R==="MMMM"||R==="MM"||R==="DD"||R==="dddd"){return R.slice(1)}return R})).join("");return this._longDateFormat[R]}var _e="Invalid date";function invalidDate(){return this._invalidDate}var Be="%d",Se=/\d{1,2}/;function ordinal(R){return this._ordinal.replace("%d",R)}var Qe={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function relativeTime(R,pe,Ae,he){var ge=this._relativeTime[Ae];return isFunction(ge)?ge(R,pe,Ae,he):ge.replace(/%d/i,R)}function pastFuture(R,pe){var Ae=this._relativeTime[R>0?"future":"past"];return isFunction(Ae)?Ae(pe):Ae.replace(/%s/i,pe)}var xe={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function normalizeUnits(R){return typeof R==="string"?xe[R]||xe[R.toLowerCase()]:undefined}function normalizeObjectUnits(R){var pe={},Ae,he;for(he in R){if(hasOwnProp(R,he)){Ae=normalizeUnits(he);if(Ae){pe[Ae]=R[he]}}}return pe}var De={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function getPrioritizedUnits(R){var pe=[],Ae;for(Ae in R){if(hasOwnProp(R,Ae)){pe.push({unit:Ae,priority:De[Ae]})}}pe.sort((function(R,pe){return R.priority-pe.priority}));return pe}var ke=/\d/,Oe=/\d\d/,Re=/\d{3}/,Pe=/\d{4}/,Te=/[+-]?\d{6}/,Ne=/\d\d?/,Me=/\d\d\d\d?/,Fe=/\d\d\d\d\d\d?/,je=/\d{1,3}/,Le=/\d{1,4}/,Ue=/[+-]?\d{1,6}/,He=/\d+/,Ve=/[+-]?\d+/,We=/Z|[+-]\d\d:?\d\d/gi,Je=/Z|[+-]\d\d(?::?\d\d)?/gi,Ge=/[+-]?\d+(\.\d{1,3})?/,qe=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,Ye=/^[1-9]\d?/,Ke=/^([1-9]\d|\d)/,ze;ze={};function addRegexToken(R,pe,Ae){ze[R]=isFunction(pe)?pe:function(R,he){return R&&Ae?Ae:pe}}function getParseRegexForToken(R,pe){if(!hasOwnProp(ze,R)){return new RegExp(unescapeFormat(R))}return ze[R](pe._strict,pe._locale)}function unescapeFormat(R){return regexEscape(R.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(R,pe,Ae,he,ge){return pe||Ae||he||ge})))}function regexEscape(R){return R.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function absFloor(R){if(R<0){return Math.ceil(R)||0}else{return Math.floor(R)}}function toInt(R){var pe=+R,Ae=0;if(pe!==0&&isFinite(pe)){Ae=absFloor(pe)}return Ae}var $e={};function addParseToken(R,pe){var Ae,he=pe,ge;if(typeof R==="string"){R=[R]}if(isNumber(pe)){he=function(R,Ae){Ae[pe]=toInt(R)}}ge=R.length;for(Ae=0;Ae68?1900:2e3)};var at=makeGetSet("FullYear",true);function getIsLeapYear(){return isLeapYear(this.year())}function makeGetSet(R,pe){return function(Ae){if(Ae!=null){set$1(this,R,Ae);hooks.updateOffset(this,pe);return this}else{return get(this,R)}}}function get(R,pe){if(!R.isValid()){return NaN}var Ae=R._d,he=R._isUTC;switch(pe){case"Milliseconds":return he?Ae.getUTCMilliseconds():Ae.getMilliseconds();case"Seconds":return he?Ae.getUTCSeconds():Ae.getSeconds();case"Minutes":return he?Ae.getUTCMinutes():Ae.getMinutes();case"Hours":return he?Ae.getUTCHours():Ae.getHours();case"Date":return he?Ae.getUTCDate():Ae.getDate();case"Day":return he?Ae.getUTCDay():Ae.getDay();case"Month":return he?Ae.getUTCMonth():Ae.getMonth();case"FullYear":return he?Ae.getUTCFullYear():Ae.getFullYear();default:return NaN}}function set$1(R,pe,Ae){var he,ge,me,ye,ve;if(!R.isValid()||isNaN(Ae)){return}he=R._d;ge=R._isUTC;switch(pe){case"Milliseconds":return void(ge?he.setUTCMilliseconds(Ae):he.setMilliseconds(Ae));case"Seconds":return void(ge?he.setUTCSeconds(Ae):he.setSeconds(Ae));case"Minutes":return void(ge?he.setUTCMinutes(Ae):he.setMinutes(Ae));case"Hours":return void(ge?he.setUTCHours(Ae):he.setHours(Ae));case"Date":return void(ge?he.setUTCDate(Ae):he.setDate(Ae));case"FullYear":break;default:return}me=Ae;ye=R.month();ve=R.date();ve=ve===29&&ye===1&&!isLeapYear(me)?28:ve;void(ge?he.setUTCFullYear(me,ye,ve):he.setFullYear(me,ye,ve))}function stringGet(R){R=normalizeUnits(R);if(isFunction(this[R])){return this[R]()}return this}function stringSet(R,pe){if(typeof R==="object"){R=normalizeObjectUnits(R);var Ae=getPrioritizedUnits(R),he,ge=Ae.length;for(he=0;he=0){ve=new Date(R+400,pe,Ae,he,ge,me,ye);if(isFinite(ve.getFullYear())){ve.setFullYear(R)}}else{ve=new Date(R,pe,Ae,he,ge,me,ye)}return ve}function createUTCDate(R){var pe,Ae;if(R<100&&R>=0){Ae=Array.prototype.slice.call(arguments);Ae[0]=R+400;pe=new Date(Date.UTC.apply(null,Ae));if(isFinite(pe.getUTCFullYear())){pe.setUTCFullYear(R)}}else{pe=new Date(Date.UTC.apply(null,arguments))}return pe}function firstWeekOffset(R,pe,Ae){var he=7+pe-Ae,ge=(7+createUTCDate(R,0,he).getUTCDay()-pe)%7;return-ge+he-1}function dayOfYearFromWeeks(R,pe,Ae,he,ge){var me=(7+Ae-he)%7,ye=firstWeekOffset(R,he,ge),ve=1+7*(pe-1)+me+ye,be,Ee;if(ve<=0){be=R-1;Ee=daysInYear(be)+ve}else if(ve>daysInYear(R)){be=R+1;Ee=ve-daysInYear(R)}else{be=R;Ee=ve}return{year:be,dayOfYear:Ee}}function weekOfYear(R,pe,Ae){var he=firstWeekOffset(R.year(),pe,Ae),ge=Math.floor((R.dayOfYear()-he-1)/7)+1,me,ye;if(ge<1){ye=R.year()-1;me=ge+weeksInYear(ye,pe,Ae)}else if(ge>weeksInYear(R.year(),pe,Ae)){me=ge-weeksInYear(R.year(),pe,Ae);ye=R.year()+1}else{ye=R.year();me=ge}return{week:me,year:ye}}function weeksInYear(R,pe,Ae){var he=firstWeekOffset(R,pe,Ae),ge=firstWeekOffset(R+1,pe,Ae);return(daysInYear(R)-he+ge)/7}addFormatToken("w",["ww",2],"wo","week");addFormatToken("W",["WW",2],"Wo","isoWeek");addRegexToken("w",Ne,Ye);addRegexToken("ww",Ne,Oe);addRegexToken("W",Ne,Ye);addRegexToken("WW",Ne,Oe);addWeekParseToken(["w","ww","W","WW"],(function(R,pe,Ae,he){pe[he.substr(0,1)]=toInt(R)}));function localeWeek(R){return weekOfYear(R,this._week.dow,this._week.doy).week}var At={dow:0,doy:6};function localeFirstDayOfWeek(){return this._week.dow}function localeFirstDayOfYear(){return this._week.doy}function getSetWeek(R){var pe=this.localeData().week(this);return R==null?pe:this.add((R-pe)*7,"d")}function getSetISOWeek(R){var pe=weekOfYear(this,1,4).week;return R==null?pe:this.add((R-pe)*7,"d")}addFormatToken("d",0,"do","day");addFormatToken("dd",0,0,(function(R){return this.localeData().weekdaysMin(this,R)}));addFormatToken("ddd",0,0,(function(R){return this.localeData().weekdaysShort(this,R)}));addFormatToken("dddd",0,0,(function(R){return this.localeData().weekdays(this,R)}));addFormatToken("e",0,0,"weekday");addFormatToken("E",0,0,"isoWeekday");addRegexToken("d",Ne);addRegexToken("e",Ne);addRegexToken("E",Ne);addRegexToken("dd",(function(R,pe){return pe.weekdaysMinRegex(R)}));addRegexToken("ddd",(function(R,pe){return pe.weekdaysShortRegex(R)}));addRegexToken("dddd",(function(R,pe){return pe.weekdaysRegex(R)}));addWeekParseToken(["dd","ddd","dddd"],(function(R,pe,Ae,he){var ge=Ae._locale.weekdaysParse(R,he,Ae._strict);if(ge!=null){pe.d=ge}else{getParsingFlags(Ae).invalidWeekday=R}}));addWeekParseToken(["d","e","E"],(function(R,pe,Ae,he){pe[he]=toInt(R)}));function parseWeekday(R,pe){if(typeof R!=="string"){return R}if(!isNaN(R)){return parseInt(R,10)}R=pe.weekdaysParse(R);if(typeof R==="number"){return R}return null}function parseIsoWeekday(R,pe){if(typeof R==="string"){return pe.weekdaysParse(R)%7||7}return isNaN(R)?null:R}function shiftWeekdays(R,pe){return R.slice(pe,7).concat(R.slice(0,pe))}var ht="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),gt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),mt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),yt=qe,vt=qe,bt=qe;function localeWeekdays(R,pe){var Ae=isArray(this._weekdays)?this._weekdays:this._weekdays[R&&R!==true&&this._weekdays.isFormat.test(pe)?"format":"standalone"];return R===true?shiftWeekdays(Ae,this._week.dow):R?Ae[R.day()]:Ae}function localeWeekdaysShort(R){return R===true?shiftWeekdays(this._weekdaysShort,this._week.dow):R?this._weekdaysShort[R.day()]:this._weekdaysShort}function localeWeekdaysMin(R){return R===true?shiftWeekdays(this._weekdaysMin,this._week.dow):R?this._weekdaysMin[R.day()]:this._weekdaysMin}function handleStrictParse$1(R,pe,Ae){var he,ge,me,ye=R.toLocaleLowerCase();if(!this._weekdaysParse){this._weekdaysParse=[];this._shortWeekdaysParse=[];this._minWeekdaysParse=[];for(he=0;he<7;++he){me=createUTC([2e3,1]).day(he);this._minWeekdaysParse[he]=this.weekdaysMin(me,"").toLocaleLowerCase();this._shortWeekdaysParse[he]=this.weekdaysShort(me,"").toLocaleLowerCase();this._weekdaysParse[he]=this.weekdays(me,"").toLocaleLowerCase()}}if(Ae){if(pe==="dddd"){ge=ct.call(this._weekdaysParse,ye);return ge!==-1?ge:null}else if(pe==="ddd"){ge=ct.call(this._shortWeekdaysParse,ye);return ge!==-1?ge:null}else{ge=ct.call(this._minWeekdaysParse,ye);return ge!==-1?ge:null}}else{if(pe==="dddd"){ge=ct.call(this._weekdaysParse,ye);if(ge!==-1){return ge}ge=ct.call(this._shortWeekdaysParse,ye);if(ge!==-1){return ge}ge=ct.call(this._minWeekdaysParse,ye);return ge!==-1?ge:null}else if(pe==="ddd"){ge=ct.call(this._shortWeekdaysParse,ye);if(ge!==-1){return ge}ge=ct.call(this._weekdaysParse,ye);if(ge!==-1){return ge}ge=ct.call(this._minWeekdaysParse,ye);return ge!==-1?ge:null}else{ge=ct.call(this._minWeekdaysParse,ye);if(ge!==-1){return ge}ge=ct.call(this._weekdaysParse,ye);if(ge!==-1){return ge}ge=ct.call(this._shortWeekdaysParse,ye);return ge!==-1?ge:null}}}function localeWeekdaysParse(R,pe,Ae){var he,ge,me;if(this._weekdaysParseExact){return handleStrictParse$1.call(this,R,pe,Ae)}if(!this._weekdaysParse){this._weekdaysParse=[];this._minWeekdaysParse=[];this._shortWeekdaysParse=[];this._fullWeekdaysParse=[]}for(he=0;he<7;he++){ge=createUTC([2e3,1]).day(he);if(Ae&&!this._fullWeekdaysParse[he]){this._fullWeekdaysParse[he]=new RegExp("^"+this.weekdays(ge,"").replace(".","\\.?")+"$","i");this._shortWeekdaysParse[he]=new RegExp("^"+this.weekdaysShort(ge,"").replace(".","\\.?")+"$","i");this._minWeekdaysParse[he]=new RegExp("^"+this.weekdaysMin(ge,"").replace(".","\\.?")+"$","i")}if(!this._weekdaysParse[he]){me="^"+this.weekdays(ge,"")+"|^"+this.weekdaysShort(ge,"")+"|^"+this.weekdaysMin(ge,"");this._weekdaysParse[he]=new RegExp(me.replace(".",""),"i")}if(Ae&&pe==="dddd"&&this._fullWeekdaysParse[he].test(R)){return he}else if(Ae&&pe==="ddd"&&this._shortWeekdaysParse[he].test(R)){return he}else if(Ae&&pe==="dd"&&this._minWeekdaysParse[he].test(R)){return he}else if(!Ae&&this._weekdaysParse[he].test(R)){return he}}}function getSetDayOfWeek(R){if(!this.isValid()){return R!=null?this:NaN}var pe=get(this,"Day");if(R!=null){R=parseWeekday(R,this.localeData());return this.add(R-pe,"d")}else{return pe}}function getSetLocaleDayOfWeek(R){if(!this.isValid()){return R!=null?this:NaN}var pe=(this.day()+7-this.localeData()._week.dow)%7;return R==null?pe:this.add(R-pe,"d")}function getSetISODayOfWeek(R){if(!this.isValid()){return R!=null?this:NaN}if(R!=null){var pe=parseIsoWeekday(R,this.localeData());return this.day(this.day()%7?pe:pe-7)}else{return this.day()||7}}function weekdaysRegex(R){if(this._weekdaysParseExact){if(!hasOwnProp(this,"_weekdaysRegex")){computeWeekdaysParse.call(this)}if(R){return this._weekdaysStrictRegex}else{return this._weekdaysRegex}}else{if(!hasOwnProp(this,"_weekdaysRegex")){this._weekdaysRegex=yt}return this._weekdaysStrictRegex&&R?this._weekdaysStrictRegex:this._weekdaysRegex}}function weekdaysShortRegex(R){if(this._weekdaysParseExact){if(!hasOwnProp(this,"_weekdaysRegex")){computeWeekdaysParse.call(this)}if(R){return this._weekdaysShortStrictRegex}else{return this._weekdaysShortRegex}}else{if(!hasOwnProp(this,"_weekdaysShortRegex")){this._weekdaysShortRegex=vt}return this._weekdaysShortStrictRegex&&R?this._weekdaysShortStrictRegex:this._weekdaysShortRegex}}function weekdaysMinRegex(R){if(this._weekdaysParseExact){if(!hasOwnProp(this,"_weekdaysRegex")){computeWeekdaysParse.call(this)}if(R){return this._weekdaysMinStrictRegex}else{return this._weekdaysMinRegex}}else{if(!hasOwnProp(this,"_weekdaysMinRegex")){this._weekdaysMinRegex=bt}return this._weekdaysMinStrictRegex&&R?this._weekdaysMinStrictRegex:this._weekdaysMinRegex}}function computeWeekdaysParse(){function cmpLenRev(R,pe){return pe.length-R.length}var R=[],pe=[],Ae=[],he=[],ge,me,ye,ve,be;for(ge=0;ge<7;ge++){me=createUTC([2e3,1]).day(ge);ye=regexEscape(this.weekdaysMin(me,""));ve=regexEscape(this.weekdaysShort(me,""));be=regexEscape(this.weekdays(me,""));R.push(ye);pe.push(ve);Ae.push(be);he.push(ye);he.push(ve);he.push(be)}R.sort(cmpLenRev);pe.sort(cmpLenRev);Ae.sort(cmpLenRev);he.sort(cmpLenRev);this._weekdaysRegex=new RegExp("^("+he.join("|")+")","i");this._weekdaysShortRegex=this._weekdaysRegex;this._weekdaysMinRegex=this._weekdaysRegex;this._weekdaysStrictRegex=new RegExp("^("+Ae.join("|")+")","i");this._weekdaysShortStrictRegex=new RegExp("^("+pe.join("|")+")","i");this._weekdaysMinStrictRegex=new RegExp("^("+R.join("|")+")","i")}function hFormat(){return this.hours()%12||12}function kFormat(){return this.hours()||24}addFormatToken("H",["HH",2],0,"hour");addFormatToken("h",["hh",2],0,hFormat);addFormatToken("k",["kk",2],0,kFormat);addFormatToken("hmm",0,0,(function(){return""+hFormat.apply(this)+zeroFill(this.minutes(),2)}));addFormatToken("hmmss",0,0,(function(){return""+hFormat.apply(this)+zeroFill(this.minutes(),2)+zeroFill(this.seconds(),2)}));addFormatToken("Hmm",0,0,(function(){return""+this.hours()+zeroFill(this.minutes(),2)}));addFormatToken("Hmmss",0,0,(function(){return""+this.hours()+zeroFill(this.minutes(),2)+zeroFill(this.seconds(),2)}));function meridiem(R,pe){addFormatToken(R,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),pe)}))}meridiem("a",true);meridiem("A",false);function matchMeridiem(R,pe){return pe._meridiemParse}addRegexToken("a",matchMeridiem);addRegexToken("A",matchMeridiem);addRegexToken("H",Ne,Ke);addRegexToken("h",Ne,Ye);addRegexToken("k",Ne,Ye);addRegexToken("HH",Ne,Oe);addRegexToken("hh",Ne,Oe);addRegexToken("kk",Ne,Oe);addRegexToken("hmm",Me);addRegexToken("hmmss",Fe);addRegexToken("Hmm",Me);addRegexToken("Hmmss",Fe);addParseToken(["H","HH"],tt);addParseToken(["k","kk"],(function(R,pe,Ae){var he=toInt(R);pe[tt]=he===24?0:he}));addParseToken(["a","A"],(function(R,pe,Ae){Ae._isPm=Ae._locale.isPM(R);Ae._meridiem=R}));addParseToken(["h","hh"],(function(R,pe,Ae){pe[tt]=toInt(R);getParsingFlags(Ae).bigHour=true}));addParseToken("hmm",(function(R,pe,Ae){var he=R.length-2;pe[tt]=toInt(R.substr(0,he));pe[rt]=toInt(R.substr(he));getParsingFlags(Ae).bigHour=true}));addParseToken("hmmss",(function(R,pe,Ae){var he=R.length-4,ge=R.length-2;pe[tt]=toInt(R.substr(0,he));pe[rt]=toInt(R.substr(he,2));pe[nt]=toInt(R.substr(ge));getParsingFlags(Ae).bigHour=true}));addParseToken("Hmm",(function(R,pe,Ae){var he=R.length-2;pe[tt]=toInt(R.substr(0,he));pe[rt]=toInt(R.substr(he))}));addParseToken("Hmmss",(function(R,pe,Ae){var he=R.length-4,ge=R.length-2;pe[tt]=toInt(R.substr(0,he));pe[rt]=toInt(R.substr(he,2));pe[nt]=toInt(R.substr(ge))}));function localeIsPM(R){return(R+"").toLowerCase().charAt(0)==="p"}var Et=/[ap]\.?m?\.?/i,Ct=makeGetSet("Hours",true);function localeMeridiem(R,pe,Ae){if(R>11){return Ae?"pm":"PM"}else{return Ae?"am":"AM"}}var wt={calendar:ve,longDateFormat:Ie,invalidDate:_e,ordinal:Be,dayOfMonthOrdinalParse:Se,relativeTime:Qe,months:ut,monthsShort:lt,week:At,weekdays:ht,weekdaysMin:mt,weekdaysShort:gt,meridiemParse:Et};var It={},_t={},Bt;function commonPrefix(R,pe){var Ae,he=Math.min(R.length,pe.length);for(Ae=0;Ae0){ge=loadLocale(me.slice(0,Ae).join("-"));if(ge){return ge}if(he&&he.length>=Ae&&commonPrefix(me,he)>=Ae-1){break}Ae--}pe++}return Bt}function isLocaleNameSane(R){return!!(R&&R.match("^[^/\\\\]*$"))}function loadLocale(pe){var Ae=null,he;if(It[pe]===undefined&&"object"!=="undefined"&&R&&R.exports&&isLocaleNameSane(pe)){try{Ae=Bt._abbr;he=require;he("./locale/"+pe);getSetGlobalLocale(Ae)}catch(R){It[pe]=null}}return It[pe]}function getSetGlobalLocale(R,pe){var Ae;if(R){if(isUndefined(pe)){Ae=getLocale(R)}else{Ae=defineLocale(R,pe)}if(Ae){Bt=Ae}else{if(typeof console!=="undefined"&&console.warn){console.warn("Locale "+R+" not found. Did you forget to load it?")}}}return Bt._abbr}function defineLocale(R,pe){if(pe!==null){var Ae,he=wt;pe.abbr=R;if(It[R]!=null){deprecateSimple("defineLocaleOverride","use moment.updateLocale(localeName, config) to change "+"an existing locale. moment.defineLocale(localeName, "+"config) should only be used for creating a new locale "+"See http://momentjs.com/guides/#/warnings/define-locale/ for more info.");he=It[R]._config}else if(pe.parentLocale!=null){if(It[pe.parentLocale]!=null){he=It[pe.parentLocale]._config}else{Ae=loadLocale(pe.parentLocale);if(Ae!=null){he=Ae._config}else{if(!_t[pe.parentLocale]){_t[pe.parentLocale]=[]}_t[pe.parentLocale].push({name:R,config:pe});return null}}}It[R]=new Locale(mergeConfigs(he,pe));if(_t[R]){_t[R].forEach((function(R){defineLocale(R.name,R.config)}))}getSetGlobalLocale(R);return It[R]}else{delete It[R];return null}}function updateLocale(R,pe){if(pe!=null){var Ae,he,ge=wt;if(It[R]!=null&&It[R].parentLocale!=null){It[R].set(mergeConfigs(It[R]._config,pe))}else{he=loadLocale(R);if(he!=null){ge=he._config}pe=mergeConfigs(ge,pe);if(he==null){pe.abbr=R}Ae=new Locale(pe);Ae.parentLocale=It[R];It[R]=Ae}getSetGlobalLocale(R)}else{if(It[R]!=null){if(It[R].parentLocale!=null){It[R]=It[R].parentLocale;if(R===getSetGlobalLocale()){getSetGlobalLocale(R)}}else if(It[R]!=null){delete It[R]}}}return It[R]}function getLocale(R){var pe;if(R&&R._locale&&R._locale._abbr){R=R._locale._abbr}if(!R){return Bt}if(!isArray(R)){pe=loadLocale(R);if(pe){return pe}R=[R]}return chooseLocale(R)}function listLocales(){return ye(It)}function checkOverflow(R){var pe,Ae=R._a;if(Ae&&getParsingFlags(R).overflow===-2){pe=Ae[Xe]<0||Ae[Xe]>11?Xe:Ae[et]<1||Ae[et]>daysInMonth(Ae[Ze],Ae[Xe])?et:Ae[tt]<0||Ae[tt]>24||Ae[tt]===24&&(Ae[rt]!==0||Ae[nt]!==0||Ae[it]!==0)?tt:Ae[rt]<0||Ae[rt]>59?rt:Ae[nt]<0||Ae[nt]>59?nt:Ae[it]<0||Ae[it]>999?it:-1;if(getParsingFlags(R)._overflowDayOfYear&&(peet)){pe=et}if(getParsingFlags(R)._overflowWeeks&&pe===-1){pe=ot}if(getParsingFlags(R)._overflowWeekday&&pe===-1){pe=st}getParsingFlags(R).overflow=pe}return R}var St=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Qt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,xt=/Z|[+-]\d\d(?::?\d\d)?/,Dt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,false],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,false],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,false],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,false],["YYYY",/\d{4}/,false]],kt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Ot=/^\/?Date\((-?\d+)/i,Rt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Pt={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function configFromISO(R){var pe,Ae,he=R._i,ge=St.exec(he)||Qt.exec(he),me,ye,ve,be,Ee=Dt.length,Ce=kt.length;if(ge){getParsingFlags(R).iso=true;for(pe=0,Ae=Ee;pedaysInYear(ye)||R._dayOfYear===0){getParsingFlags(R)._overflowDayOfYear=true}Ae=createUTCDate(ye,0,R._dayOfYear);R._a[Xe]=Ae.getUTCMonth();R._a[et]=Ae.getUTCDate()}for(pe=0;pe<3&&R._a[pe]==null;++pe){R._a[pe]=he[pe]=ge[pe]}for(;pe<7;pe++){R._a[pe]=he[pe]=R._a[pe]==null?pe===2?1:0:R._a[pe]}if(R._a[tt]===24&&R._a[rt]===0&&R._a[nt]===0&&R._a[it]===0){R._nextDay=true;R._a[tt]=0}R._d=(R._useUTC?createUTCDate:createDate).apply(null,he);me=R._useUTC?R._d.getUTCDay():R._d.getDay();if(R._tzm!=null){R._d.setUTCMinutes(R._d.getUTCMinutes()-R._tzm)}if(R._nextDay){R._a[tt]=24}if(R._w&&typeof R._w.d!=="undefined"&&R._w.d!==me){getParsingFlags(R).weekdayMismatch=true}}function dayOfYearFromWeekInfo(R){var pe,Ae,he,ge,me,ye,ve,be,Ee;pe=R._w;if(pe.GG!=null||pe.W!=null||pe.E!=null){me=1;ye=4;Ae=defaults(pe.GG,R._a[Ze],weekOfYear(createLocal(),1,4).year);he=defaults(pe.W,1);ge=defaults(pe.E,1);if(ge<1||ge>7){be=true}}else{me=R._locale._week.dow;ye=R._locale._week.doy;Ee=weekOfYear(createLocal(),me,ye);Ae=defaults(pe.gg,R._a[Ze],Ee.year);he=defaults(pe.w,Ee.week);if(pe.d!=null){ge=pe.d;if(ge<0||ge>6){be=true}}else if(pe.e!=null){ge=pe.e+me;if(pe.e<0||pe.e>6){be=true}}else{ge=me}}if(he<1||he>weeksInYear(Ae,me,ye)){getParsingFlags(R)._overflowWeeks=true}else if(be!=null){getParsingFlags(R)._overflowWeekday=true}else{ve=dayOfYearFromWeeks(Ae,he,ge,me,ye);R._a[Ze]=ve.year;R._dayOfYear=ve.dayOfYear}}hooks.ISO_8601=function(){};hooks.RFC_2822=function(){};function configFromStringAndFormat(R){if(R._f===hooks.ISO_8601){configFromISO(R);return}if(R._f===hooks.RFC_2822){configFromRFC2822(R);return}R._a=[];getParsingFlags(R).empty=true;var pe=""+R._i,Ae,he,ge,me,ye,ve=pe.length,Ee=0,Ce,Ie;ge=expandFormat(R._f,R._locale).match(be)||[];Ie=ge.length;for(Ae=0;Ae0){getParsingFlags(R).unusedInput.push(ye)}pe=pe.slice(pe.indexOf(he)+he.length);Ee+=he.length}if(we[me]){if(he){getParsingFlags(R).empty=false}else{getParsingFlags(R).unusedTokens.push(me)}addTimeToArrayFromToken(me,he,R)}else if(R._strict&&!he){getParsingFlags(R).unusedTokens.push(me)}}getParsingFlags(R).charsLeftOver=ve-Ee;if(pe.length>0){getParsingFlags(R).unusedInput.push(pe)}if(R._a[tt]<=12&&getParsingFlags(R).bigHour===true&&R._a[tt]>0){getParsingFlags(R).bigHour=undefined}getParsingFlags(R).parsedDateParts=R._a.slice(0);getParsingFlags(R).meridiem=R._meridiem;R._a[tt]=meridiemFixWrap(R._locale,R._a[tt],R._meridiem);Ce=getParsingFlags(R).era;if(Ce!==null){R._a[Ze]=R._locale.erasConvertYear(Ce,R._a[Ze])}configFromArray(R);checkOverflow(R)}function meridiemFixWrap(R,pe,Ae){var he;if(Ae==null){return pe}if(R.meridiemHour!=null){return R.meridiemHour(pe,Ae)}else if(R.isPM!=null){he=R.isPM(Ae);if(he&&pe<12){pe+=12}if(!he&&pe===12){pe=0}return pe}else{return pe}}function configFromStringAndArray(R){var pe,Ae,he,ge,me,ye,ve=false,be=R._f.length;if(be===0){getParsingFlags(R).invalidFormat=true;R._d=new Date(NaN);return}for(ge=0;gethis?this:R}else{return createInvalid()}}));function pickBy(R,pe){var Ae,he;if(pe.length===1&&isArray(pe[0])){pe=pe[0]}if(!pe.length){return createLocal()}Ae=pe[0];for(he=1;hethis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function isDaylightSavingTimeShifted(){if(!isUndefined(this._isDSTShifted)){return this._isDSTShifted}var R={},pe;copyConfig(R,this);R=prepareConfig(R);if(R._a){pe=R._isUTC?createUTC(R._a):createLocal(R._a);this._isDSTShifted=this.isValid()&&compareArrays(R._a,pe.toArray())>0}else{this._isDSTShifted=false}return this._isDSTShifted}function isLocal(){return this.isValid()?!this._isUTC:false}function isUtcOffset(){return this.isValid()?this._isUTC:false}function isUtc(){return this.isValid()?this._isUTC&&this._offset===0:false}var jt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Lt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function createDuration(R,pe){var Ae=R,he=null,ge,me,ye;if(isDuration(R)){Ae={ms:R._milliseconds,d:R._days,M:R._months}}else if(isNumber(R)||!isNaN(+R)){Ae={};if(pe){Ae[pe]=+R}else{Ae.milliseconds=+R}}else if(he=jt.exec(R)){ge=he[1]==="-"?-1:1;Ae={y:0,d:toInt(he[et])*ge,h:toInt(he[tt])*ge,m:toInt(he[rt])*ge,s:toInt(he[nt])*ge,ms:toInt(absRound(he[it]*1e3))*ge}}else if(he=Lt.exec(R)){ge=he[1]==="-"?-1:1;Ae={y:parseIso(he[2],ge),M:parseIso(he[3],ge),w:parseIso(he[4],ge),d:parseIso(he[5],ge),h:parseIso(he[6],ge),m:parseIso(he[7],ge),s:parseIso(he[8],ge)}}else if(Ae==null){Ae={}}else if(typeof Ae==="object"&&("from"in Ae||"to"in Ae)){ye=momentsDifference(createLocal(Ae.from),createLocal(Ae.to));Ae={};Ae.ms=ye.milliseconds;Ae.M=ye.months}me=new Duration(Ae);if(isDuration(R)&&hasOwnProp(R,"_locale")){me._locale=R._locale}if(isDuration(R)&&hasOwnProp(R,"_isValid")){me._isValid=R._isValid}return me}createDuration.fn=Duration.prototype;createDuration.invalid=createInvalid$1;function parseIso(R,pe){var Ae=R&&parseFloat(R.replace(",","."));return(isNaN(Ae)?0:Ae)*pe}function positiveMomentsDifference(R,pe){var Ae={};Ae.months=pe.month()-R.month()+(pe.year()-R.year())*12;if(R.clone().add(Ae.months,"M").isAfter(pe)){--Ae.months}Ae.milliseconds=+pe-+R.clone().add(Ae.months,"M");return Ae}function momentsDifference(R,pe){var Ae;if(!(R.isValid()&&pe.isValid())){return{milliseconds:0,months:0}}pe=cloneWithOffset(pe,R);if(R.isBefore(pe)){Ae=positiveMomentsDifference(R,pe)}else{Ae=positiveMomentsDifference(pe,R);Ae.milliseconds=-Ae.milliseconds;Ae.months=-Ae.months}return Ae}function createAdder(R,pe){return function(Ae,he){var ge,me;if(he!==null&&!isNaN(+he)){deprecateSimple(pe,"moment()."+pe+"(period, number) is deprecated. Please use moment()."+pe+"(number, period). "+"See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info.");me=Ae;Ae=he;he=me}ge=createDuration(Ae,he);addSubtract(this,ge,R);return this}}function addSubtract(R,pe,Ae,he){var ge=pe._milliseconds,me=absRound(pe._days),ye=absRound(pe._months);if(!R.isValid()){return}he=he==null?true:he;if(ye){setMonth(R,get(R,"Month")+ye*Ae)}if(me){set$1(R,"Date",get(R,"Date")+me*Ae)}if(ge){R._d.setTime(R._d.valueOf()+ge*Ae)}if(he){hooks.updateOffset(R,me||ye)}}var Ut=createAdder(1,"add"),Ht=createAdder(-1,"subtract");function isString(R){return typeof R==="string"||R instanceof String}function isMomentInput(R){return isMoment(R)||isDate(R)||isString(R)||isNumber(R)||isNumberOrStringArray(R)||isMomentInputObject(R)||R===null||R===undefined}function isMomentInputObject(R){var pe=isObject(R)&&!isObjectEmpty(R),Ae=false,he=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],ge,me,ye=he.length;for(ge=0;geAe.valueOf()}else{return Ae.valueOf()9999){return formatMoment(Ae,pe?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ")}if(isFunction(Date.prototype.toISOString)){if(pe){return this.toDate().toISOString()}else{return new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",formatMoment(Ae,"Z"))}}return formatMoment(Ae,pe?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function inspect(){if(!this.isValid()){return"moment.invalid(/* "+this._i+" */)"}var R="moment",pe="",Ae,he,ge,me;if(!this.isLocal()){R=this.utcOffset()===0?"moment.utc":"moment.parseZone";pe="Z"}Ae="["+R+'("]';he=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY";ge="-MM-DD[T]HH:mm:ss.SSS";me=pe+'[")]';return this.format(Ae+he+ge+me)}function format(R){if(!R){R=this.isUtc()?hooks.defaultFormatUtc:hooks.defaultFormat}var pe=formatMoment(this,R);return this.localeData().postformat(pe)}function from(R,pe){if(this.isValid()&&(isMoment(R)&&R.isValid()||createLocal(R).isValid())){return createDuration({to:this,from:R}).locale(this.locale()).humanize(!pe)}else{return this.localeData().invalidDate()}}function fromNow(R){return this.from(createLocal(),R)}function to(R,pe){if(this.isValid()&&(isMoment(R)&&R.isValid()||createLocal(R).isValid())){return createDuration({from:this,to:R}).locale(this.locale()).humanize(!pe)}else{return this.localeData().invalidDate()}}function toNow(R){return this.to(createLocal(),R)}function locale(R){var pe;if(R===undefined){return this._locale._abbr}else{pe=getLocale(R);if(pe!=null){this._locale=pe}return this}}var Vt=deprecate("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(R){if(R===undefined){return this.localeData()}else{return this.locale(R)}}));function localeData(){return this._locale}var Wt=1e3,Jt=60*Wt,Gt=60*Jt,qt=(365*400+97)*24*Gt;function mod$1(R,pe){return(R%pe+pe)%pe}function localStartOfDate(R,pe,Ae){if(R<100&&R>=0){return new Date(R+400,pe,Ae)-qt}else{return new Date(R,pe,Ae).valueOf()}}function utcStartOfDate(R,pe,Ae){if(R<100&&R>=0){return Date.UTC(R+400,pe,Ae)-qt}else{return Date.UTC(R,pe,Ae)}}function startOf(R){var pe,Ae;R=normalizeUnits(R);if(R===undefined||R==="millisecond"||!this.isValid()){return this}Ae=this._isUTC?utcStartOfDate:localStartOfDate;switch(R){case"year":pe=Ae(this.year(),0,1);break;case"quarter":pe=Ae(this.year(),this.month()-this.month()%3,1);break;case"month":pe=Ae(this.year(),this.month(),1);break;case"week":pe=Ae(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":pe=Ae(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":pe=Ae(this.year(),this.month(),this.date());break;case"hour":pe=this._d.valueOf();pe-=mod$1(pe+(this._isUTC?0:this.utcOffset()*Jt),Gt);break;case"minute":pe=this._d.valueOf();pe-=mod$1(pe,Jt);break;case"second":pe=this._d.valueOf();pe-=mod$1(pe,Wt);break}this._d.setTime(pe);hooks.updateOffset(this,true);return this}function endOf(R){var pe,Ae;R=normalizeUnits(R);if(R===undefined||R==="millisecond"||!this.isValid()){return this}Ae=this._isUTC?utcStartOfDate:localStartOfDate;switch(R){case"year":pe=Ae(this.year()+1,0,1)-1;break;case"quarter":pe=Ae(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":pe=Ae(this.year(),this.month()+1,1)-1;break;case"week":pe=Ae(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":pe=Ae(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":pe=Ae(this.year(),this.month(),this.date()+1)-1;break;case"hour":pe=this._d.valueOf();pe+=Gt-mod$1(pe+(this._isUTC?0:this.utcOffset()*Jt),Gt)-1;break;case"minute":pe=this._d.valueOf();pe+=Jt-mod$1(pe,Jt)-1;break;case"second":pe=this._d.valueOf();pe+=Wt-mod$1(pe,Wt)-1;break}this._d.setTime(pe);hooks.updateOffset(this,true);return this}function valueOf(){return this._d.valueOf()-(this._offset||0)*6e4}function unix(){return Math.floor(this.valueOf()/1e3)}function toDate(){return new Date(this.valueOf())}function toArray(){var R=this;return[R.year(),R.month(),R.date(),R.hour(),R.minute(),R.second(),R.millisecond()]}function toObject(){var R=this;return{years:R.year(),months:R.month(),date:R.date(),hours:R.hours(),minutes:R.minutes(),seconds:R.seconds(),milliseconds:R.milliseconds()}}function toJSON(){return this.isValid()?this.toISOString():null}function isValid$2(){return isValid(this)}function parsingFlags(){return extend({},getParsingFlags(this))}function invalidAt(){return getParsingFlags(this).overflow}function creationData(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}addFormatToken("N",0,0,"eraAbbr");addFormatToken("NN",0,0,"eraAbbr");addFormatToken("NNN",0,0,"eraAbbr");addFormatToken("NNNN",0,0,"eraName");addFormatToken("NNNNN",0,0,"eraNarrow");addFormatToken("y",["y",1],"yo","eraYear");addFormatToken("y",["yy",2],0,"eraYear");addFormatToken("y",["yyy",3],0,"eraYear");addFormatToken("y",["yyyy",4],0,"eraYear");addRegexToken("N",matchEraAbbr);addRegexToken("NN",matchEraAbbr);addRegexToken("NNN",matchEraAbbr);addRegexToken("NNNN",matchEraName);addRegexToken("NNNNN",matchEraNarrow);addParseToken(["N","NN","NNN","NNNN","NNNNN"],(function(R,pe,Ae,he){var ge=Ae._locale.erasParse(R,he,Ae._strict);if(ge){getParsingFlags(Ae).era=ge}else{getParsingFlags(Ae).invalidEra=R}}));addRegexToken("y",He);addRegexToken("yy",He);addRegexToken("yyy",He);addRegexToken("yyyy",He);addRegexToken("yo",matchEraYearOrdinal);addParseToken(["y","yy","yyy","yyyy"],Ze);addParseToken(["yo"],(function(R,pe,Ae,he){var ge;if(Ae._locale._eraYearOrdinalRegex){ge=R.match(Ae._locale._eraYearOrdinalRegex)}if(Ae._locale.eraYearOrdinalParse){pe[Ze]=Ae._locale.eraYearOrdinalParse(R,ge)}else{pe[Ze]=parseInt(R,10)}}));function localeEras(R,pe){var Ae,he,ge,me=this._eras||getLocale("en")._eras;for(Ae=0,he=me.length;Ae=0){return me[he]}}}function localeErasConvertYear(R,pe){var Ae=R.since<=R.until?+1:-1;if(pe===undefined){return hooks(R.since).year()}else{return hooks(R.since).year()+(pe-R.offset)*Ae}}function getEraName(){var R,pe,Ae,he=this.localeData().eras();for(R=0,pe=he.length;Rme){pe=me}return setWeekAll.call(this,R,pe,Ae,he,ge)}}function setWeekAll(R,pe,Ae,he,ge){var me=dayOfYearFromWeeks(R,pe,Ae,he,ge),ye=createUTCDate(me.year,0,me.dayOfYear);this.year(ye.getUTCFullYear());this.month(ye.getUTCMonth());this.date(ye.getUTCDate());return this}addFormatToken("Q",0,"Qo","quarter");addRegexToken("Q",ke);addParseToken("Q",(function(R,pe){pe[Xe]=(toInt(R)-1)*3}));function getSetQuarter(R){return R==null?Math.ceil((this.month()+1)/3):this.month((R-1)*3+this.month()%3)}addFormatToken("D",["DD",2],"Do","date");addRegexToken("D",Ne,Ye);addRegexToken("DD",Ne,Oe);addRegexToken("Do",(function(R,pe){return R?pe._dayOfMonthOrdinalParse||pe._ordinalParse:pe._dayOfMonthOrdinalParseLenient}));addParseToken(["D","DD"],et);addParseToken("Do",(function(R,pe){pe[et]=toInt(R.match(Ne)[0])}));var Yt=makeGetSet("Date",true);addFormatToken("DDD",["DDDD",3],"DDDo","dayOfYear");addRegexToken("DDD",je);addRegexToken("DDDD",Re);addParseToken(["DDD","DDDD"],(function(R,pe,Ae){Ae._dayOfYear=toInt(R)}));function getSetDayOfYear(R){var pe=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return R==null?pe:this.add(R-pe,"d")}addFormatToken("m",["mm",2],0,"minute");addRegexToken("m",Ne,Ke);addRegexToken("mm",Ne,Oe);addParseToken(["m","mm"],rt);var Kt=makeGetSet("Minutes",false);addFormatToken("s",["ss",2],0,"second");addRegexToken("s",Ne,Ke);addRegexToken("ss",Ne,Oe);addParseToken(["s","ss"],nt);var zt=makeGetSet("Seconds",false);addFormatToken("S",0,0,(function(){return~~(this.millisecond()/100)}));addFormatToken(0,["SS",2],0,(function(){return~~(this.millisecond()/10)}));addFormatToken(0,["SSS",3],0,"millisecond");addFormatToken(0,["SSSS",4],0,(function(){return this.millisecond()*10}));addFormatToken(0,["SSSSS",5],0,(function(){return this.millisecond()*100}));addFormatToken(0,["SSSSSS",6],0,(function(){return this.millisecond()*1e3}));addFormatToken(0,["SSSSSSS",7],0,(function(){return this.millisecond()*1e4}));addFormatToken(0,["SSSSSSSS",8],0,(function(){return this.millisecond()*1e5}));addFormatToken(0,["SSSSSSSSS",9],0,(function(){return this.millisecond()*1e6}));addRegexToken("S",je,ke);addRegexToken("SS",je,Oe);addRegexToken("SSS",je,Re);var $t,Zt;for($t="SSSS";$t.length<=9;$t+="S"){addRegexToken($t,He)}function parseMs(R,pe){pe[it]=toInt(("0."+R)*1e3)}for($t="S";$t.length<=9;$t+="S"){addParseToken($t,parseMs)}Zt=makeGetSet("Milliseconds",false);addFormatToken("z",0,0,"zoneAbbr");addFormatToken("zz",0,0,"zoneName");function getZoneAbbr(){return this._isUTC?"UTC":""}function getZoneName(){return this._isUTC?"Coordinated Universal Time":""}var Xt=Moment.prototype;Xt.add=Ut;Xt.calendar=calendar$1;Xt.clone=clone;Xt.diff=diff;Xt.endOf=endOf;Xt.format=format;Xt.from=from;Xt.fromNow=fromNow;Xt.to=to;Xt.toNow=toNow;Xt.get=stringGet;Xt.invalidAt=invalidAt;Xt.isAfter=isAfter;Xt.isBefore=isBefore;Xt.isBetween=isBetween;Xt.isSame=isSame;Xt.isSameOrAfter=isSameOrAfter;Xt.isSameOrBefore=isSameOrBefore;Xt.isValid=isValid$2;Xt.lang=Vt;Xt.locale=locale;Xt.localeData=localeData;Xt.max=Nt;Xt.min=Tt;Xt.parsingFlags=parsingFlags;Xt.set=stringSet;Xt.startOf=startOf;Xt.subtract=Ht;Xt.toArray=toArray;Xt.toObject=toObject;Xt.toDate=toDate;Xt.toISOString=toISOString;Xt.inspect=inspect;if(typeof Symbol!=="undefined"&&Symbol.for!=null){Xt[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}}Xt.toJSON=toJSON;Xt.toString=toString;Xt.unix=unix;Xt.valueOf=valueOf;Xt.creationData=creationData;Xt.eraName=getEraName;Xt.eraNarrow=getEraNarrow;Xt.eraAbbr=getEraAbbr;Xt.eraYear=getEraYear;Xt.year=at;Xt.isLeapYear=getIsLeapYear;Xt.weekYear=getSetWeekYear;Xt.isoWeekYear=getSetISOWeekYear;Xt.quarter=Xt.quarters=getSetQuarter;Xt.month=getSetMonth;Xt.daysInMonth=getDaysInMonth;Xt.week=Xt.weeks=getSetWeek;Xt.isoWeek=Xt.isoWeeks=getSetISOWeek;Xt.weeksInYear=getWeeksInYear;Xt.weeksInWeekYear=getWeeksInWeekYear;Xt.isoWeeksInYear=getISOWeeksInYear;Xt.isoWeeksInISOWeekYear=getISOWeeksInISOWeekYear;Xt.date=Yt;Xt.day=Xt.days=getSetDayOfWeek;Xt.weekday=getSetLocaleDayOfWeek;Xt.isoWeekday=getSetISODayOfWeek;Xt.dayOfYear=getSetDayOfYear;Xt.hour=Xt.hours=Ct;Xt.minute=Xt.minutes=Kt;Xt.second=Xt.seconds=zt;Xt.millisecond=Xt.milliseconds=Zt;Xt.utcOffset=getSetOffset;Xt.utc=setOffsetToUTC;Xt.local=setOffsetToLocal;Xt.parseZone=setOffsetToParsedOffset;Xt.hasAlignedHourOffset=hasAlignedHourOffset;Xt.isDST=isDaylightSavingTime;Xt.isLocal=isLocal;Xt.isUtcOffset=isUtcOffset;Xt.isUtc=isUtc;Xt.isUTC=isUtc;Xt.zoneAbbr=getZoneAbbr;Xt.zoneName=getZoneName;Xt.dates=deprecate("dates accessor is deprecated. Use date instead.",Yt);Xt.months=deprecate("months accessor is deprecated. Use month instead",getSetMonth);Xt.years=deprecate("years accessor is deprecated. Use year instead",at);Xt.zone=deprecate("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",getSetZone);Xt.isDSTShifted=deprecate("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",isDaylightSavingTimeShifted);function createUnix(R){return createLocal(R*1e3)}function createInZone(){return createLocal.apply(null,arguments).parseZone()}function preParsePostFormat(R){return R}var er=Locale.prototype;er.calendar=calendar;er.longDateFormat=longDateFormat;er.invalidDate=invalidDate;er.ordinal=ordinal;er.preparse=preParsePostFormat;er.postformat=preParsePostFormat;er.relativeTime=relativeTime;er.pastFuture=pastFuture;er.set=set;er.eras=localeEras;er.erasParse=localeErasParse;er.erasConvertYear=localeErasConvertYear;er.erasAbbrRegex=erasAbbrRegex;er.erasNameRegex=erasNameRegex;er.erasNarrowRegex=erasNarrowRegex;er.months=localeMonths;er.monthsShort=localeMonthsShort;er.monthsParse=localeMonthsParse;er.monthsRegex=monthsRegex;er.monthsShortRegex=monthsShortRegex;er.week=localeWeek;er.firstDayOfYear=localeFirstDayOfYear;er.firstDayOfWeek=localeFirstDayOfWeek;er.weekdays=localeWeekdays;er.weekdaysMin=localeWeekdaysMin;er.weekdaysShort=localeWeekdaysShort;er.weekdaysParse=localeWeekdaysParse;er.weekdaysRegex=weekdaysRegex;er.weekdaysShortRegex=weekdaysShortRegex;er.weekdaysMinRegex=weekdaysMinRegex;er.isPM=localeIsPM;er.meridiem=localeMeridiem;function get$1(R,pe,Ae,he){var ge=getLocale(),me=createUTC().set(he,pe);return ge[Ae](me,R)}function listMonthsImpl(R,pe,Ae){if(isNumber(R)){pe=R;R=undefined}R=R||"";if(pe!=null){return get$1(R,pe,Ae,"month")}var he,ge=[];for(he=0;he<12;he++){ge[he]=get$1(R,he,Ae,"month")}return ge}function listWeekdaysImpl(R,pe,Ae,he){if(typeof R==="boolean"){if(isNumber(pe)){Ae=pe;pe=undefined}pe=pe||""}else{pe=R;Ae=pe;R=false;if(isNumber(pe)){Ae=pe;pe=undefined}pe=pe||""}var ge=getLocale(),me=R?ge._week.dow:0,ye,ve=[];if(Ae!=null){return get$1(pe,(Ae+me)%7,he,"day")}for(ye=0;ye<7;ye++){ve[ye]=get$1(pe,(ye+me)%7,he,"day")}return ve}function listMonths(R,pe){return listMonthsImpl(R,pe,"months")}function listMonthsShort(R,pe){return listMonthsImpl(R,pe,"monthsShort")}function listWeekdays(R,pe,Ae){return listWeekdaysImpl(R,pe,Ae,"weekdays")}function listWeekdaysShort(R,pe,Ae){return listWeekdaysImpl(R,pe,Ae,"weekdaysShort")}function listWeekdaysMin(R,pe,Ae){return listWeekdaysImpl(R,pe,Ae,"weekdaysMin")}getSetGlobalLocale("en",{eras:[{since:"0001-01-01",until:+Infinity,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-Infinity,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(R){var pe=R%10,Ae=toInt(R%100/10)===1?"th":pe===1?"st":pe===2?"nd":pe===3?"rd":"th";return R+Ae}});hooks.lang=deprecate("moment.lang is deprecated. Use moment.locale instead.",getSetGlobalLocale);hooks.langData=deprecate("moment.langData is deprecated. Use moment.localeData instead.",getLocale);var tr=Math.abs;function abs(){var R=this._data;this._milliseconds=tr(this._milliseconds);this._days=tr(this._days);this._months=tr(this._months);R.milliseconds=tr(R.milliseconds);R.seconds=tr(R.seconds);R.minutes=tr(R.minutes);R.hours=tr(R.hours);R.months=tr(R.months);R.years=tr(R.years);return this}function addSubtract$1(R,pe,Ae,he){var ge=createDuration(pe,Ae);R._milliseconds+=he*ge._milliseconds;R._days+=he*ge._days;R._months+=he*ge._months;return R._bubble()}function add$1(R,pe){return addSubtract$1(this,R,pe,1)}function subtract$1(R,pe){return addSubtract$1(this,R,pe,-1)}function absCeil(R){if(R<0){return Math.floor(R)}else{return Math.ceil(R)}}function bubble(){var R=this._milliseconds,pe=this._days,Ae=this._months,he=this._data,ge,me,ye,ve,be;if(!(R>=0&&pe>=0&&Ae>=0||R<=0&&pe<=0&&Ae<=0)){R+=absCeil(monthsToDays(Ae)+pe)*864e5;pe=0;Ae=0}he.milliseconds=R%1e3;ge=absFloor(R/1e3);he.seconds=ge%60;me=absFloor(ge/60);he.minutes=me%60;ye=absFloor(me/60);he.hours=ye%24;pe+=absFloor(ye/24);be=absFloor(daysToMonths(pe));Ae+=be;pe-=absCeil(monthsToDays(be));ve=absFloor(Ae/12);Ae%=12;he.days=pe;he.months=Ae;he.years=ve;return this}function daysToMonths(R){return R*4800/146097}function monthsToDays(R){return R*146097/4800}function as(R){if(!this.isValid()){return NaN}var pe,Ae,he=this._milliseconds;R=normalizeUnits(R);if(R==="month"||R==="quarter"||R==="year"){pe=this._days+he/864e5;Ae=this._months+daysToMonths(pe);switch(R){case"month":return Ae;case"quarter":return Ae/3;case"year":return Ae/12}}else{pe=this._days+Math.round(monthsToDays(this._months));switch(R){case"week":return pe/7+he/6048e5;case"day":return pe+he/864e5;case"hour":return pe*24+he/36e5;case"minute":return pe*1440+he/6e4;case"second":return pe*86400+he/1e3;case"millisecond":return Math.floor(pe*864e5)+he;default:throw new Error("Unknown unit "+R)}}}function makeAs(R){return function(){return this.as(R)}}var rr=makeAs("ms"),nr=makeAs("s"),ir=makeAs("m"),or=makeAs("h"),sr=makeAs("d"),ar=makeAs("w"),cr=makeAs("M"),ur=makeAs("Q"),lr=makeAs("y"),dr=rr;function clone$1(){return createDuration(this)}function get$2(R){R=normalizeUnits(R);return this.isValid()?this[R+"s"]():NaN}function makeGetter(R){return function(){return this.isValid()?this._data[R]:NaN}}var fr=makeGetter("milliseconds"),pr=makeGetter("seconds"),Ar=makeGetter("minutes"),hr=makeGetter("hours"),gr=makeGetter("days"),mr=makeGetter("months"),yr=makeGetter("years");function weeks(){return absFloor(this.days()/7)}var vr=Math.round,br={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function substituteTimeAgo(R,pe,Ae,he,ge){return ge.relativeTime(pe||1,!!Ae,R,he)}function relativeTime$1(R,pe,Ae,he){var ge=createDuration(R).abs(),me=vr(ge.as("s")),ye=vr(ge.as("m")),ve=vr(ge.as("h")),be=vr(ge.as("d")),Ee=vr(ge.as("M")),Ce=vr(ge.as("w")),we=vr(ge.as("y")),Ie=me<=Ae.ss&&["s",me]||me0;Ie[4]=he;return substituteTimeAgo.apply(null,Ie)}function getSetRelativeTimeRounding(R){if(R===undefined){return vr}if(typeof R==="function"){vr=R;return true}return false}function getSetRelativeTimeThreshold(R,pe){if(br[R]===undefined){return false}if(pe===undefined){return br[R]}br[R]=pe;if(R==="s"){br.ss=pe-1}return true}function humanize(R,pe){if(!this.isValid()){return this.localeData().invalidDate()}var Ae=false,he=br,ge,me;if(typeof R==="object"){pe=R;R=false}if(typeof R==="boolean"){Ae=R}if(typeof pe==="object"){he=Object.assign({},br,pe);if(pe.s!=null&&pe.ss==null){he.ss=pe.s-1}}ge=this.localeData();me=relativeTime$1(this,!Ae,he,ge);if(Ae){me=ge.pastFuture(+this,me)}return ge.postformat(me)}var Er=Math.abs;function sign(R){return(R>0)-(R<0)||+R}function toISOString$1(){if(!this.isValid()){return this.localeData().invalidDate()}var R=Er(this._milliseconds)/1e3,pe=Er(this._days),Ae=Er(this._months),he,ge,me,ye,ve=this.asSeconds(),be,Ee,Ce,we;if(!ve){return"P0D"}he=absFloor(R/60);ge=absFloor(he/60);R%=60;he%=60;me=absFloor(Ae/12);Ae%=12;ye=R?R.toFixed(3).replace(/\.?0+$/,""):"";be=ve<0?"-":"";Ee=sign(this._months)!==sign(ve)?"-":"";Ce=sign(this._days)!==sign(ve)?"-":"";we=sign(this._milliseconds)!==sign(ve)?"-":"";return be+"P"+(me?Ee+me+"Y":"")+(Ae?Ee+Ae+"M":"")+(pe?Ce+pe+"D":"")+(ge||he||R?"T":"")+(ge?we+ge+"H":"")+(he?we+he+"M":"")+(R?we+ye+"S":"")}var Cr=Duration.prototype;Cr.isValid=isValid$1;Cr.abs=abs;Cr.add=add$1;Cr.subtract=subtract$1;Cr.as=as;Cr.asMilliseconds=rr;Cr.asSeconds=nr;Cr.asMinutes=ir;Cr.asHours=or;Cr.asDays=sr;Cr.asWeeks=ar;Cr.asMonths=cr;Cr.asQuarters=ur;Cr.asYears=lr;Cr.valueOf=dr;Cr._bubble=bubble;Cr.clone=clone$1;Cr.get=get$2;Cr.milliseconds=fr;Cr.seconds=pr;Cr.minutes=Ar;Cr.hours=hr;Cr.days=gr;Cr.weeks=weeks;Cr.months=mr;Cr.years=yr;Cr.humanize=humanize;Cr.toISOString=toISOString$1;Cr.toString=toISOString$1;Cr.toJSON=toISOString$1;Cr.locale=locale;Cr.localeData=localeData;Cr.toIsoString=deprecate("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",toISOString$1);Cr.lang=Vt;addFormatToken("X",0,0,"unix");addFormatToken("x",0,0,"valueOf");addRegexToken("x",Ve);addRegexToken("X",Ge);addParseToken("X",(function(R,pe,Ae){Ae._d=new Date(parseFloat(R)*1e3)}));addParseToken("x",(function(R,pe,Ae){Ae._d=new Date(toInt(R))})); //! moment.js -hooks.version="2.30.1";setHookCallback(createLocal);hooks.fn=Jt;hooks.min=min;hooks.max=max;hooks.now=now;hooks.utc=createUTC;hooks.unix=createUnix;hooks.months=listMonths;hooks.isDate=isDate;hooks.locale=getSetGlobalLocale;hooks.invalid=createInvalid;hooks.duration=createDuration;hooks.isMoment=isMoment;hooks.weekdays=listWeekdays;hooks.parseZone=createInZone;hooks.localeData=getLocale;hooks.isDuration=isDuration;hooks.monthsShort=listMonthsShort;hooks.weekdaysMin=listWeekdaysMin;hooks.defineLocale=defineLocale;hooks.updateLocale=updateLocale;hooks.locales=listLocales;hooks.weekdaysShort=listWeekdaysShort;hooks.normalizeUnits=normalizeUnits;hooks.relativeTimeRounding=getSetRelativeTimeRounding;hooks.relativeTimeThreshold=getSetRelativeTimeThreshold;hooks.calendarFormat=getCalendarFormat;hooks.prototype=Jt;hooks.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};return hooks}))},80900:re=>{var ie=1e3;var oe=ie*60;var se=oe*60;var ae=se*24;var ce=ae*7;var ue=ae*365.25;re.exports=function(re,ie){ie=ie||{};var oe=typeof re;if(oe==="string"&&re.length>0){return parse(re)}else if(oe==="number"&&isFinite(re)){return ie.long?fmtLong(re):fmtShort(re)}throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(re))};function parse(re){re=String(re);if(re.length>100){return}var le=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(re);if(!le){return}var fe=parseFloat(le[1]);var de=(le[2]||"ms").toLowerCase();switch(de){case"years":case"year":case"yrs":case"yr":case"y":return fe*ue;case"weeks":case"week":case"w":return fe*ce;case"days":case"day":case"d":return fe*ae;case"hours":case"hour":case"hrs":case"hr":case"h":return fe*se;case"minutes":case"minute":case"mins":case"min":case"m":return fe*oe;case"seconds":case"second":case"secs":case"sec":case"s":return fe*ie;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return fe;default:return undefined}}function fmtShort(re){var ce=Math.abs(re);if(ce>=ae){return Math.round(re/ae)+"d"}if(ce>=se){return Math.round(re/se)+"h"}if(ce>=oe){return Math.round(re/oe)+"m"}if(ce>=ie){return Math.round(re/ie)+"s"}return re+"ms"}function fmtLong(re){var ce=Math.abs(re);if(ce>=ae){return plural(re,ce,ae,"day")}if(ce>=se){return plural(re,ce,se,"hour")}if(ce>=oe){return plural(re,ce,oe,"minute")}if(ce>=ie){return plural(re,ce,ie,"second")}return re+" ms"}function plural(re,ie,oe,se){var ae=ie>=oe*1.5;return Math.round(re/oe)+" "+se+(ae?"s":"")}},93653:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.assertNotificationFilterIsEmpty=ie.assertImpersonatedUserIsEmpty=ie.assertTxConfigIsEmpty=ie.assertDatabaseIsEmpty=void 0;var se=oe(55065);var ae=oe(17526);function assertTxConfigIsEmpty(re,ie,oe){if(ie===void 0){ie=function(){}}if(re&&!re.isEmpty()){var ae=(0,se.newError)("Driver is connected to the database that does not support transaction configuration. "+"Please upgrade to neo4j 3.5.0 or later in order to use this functionality");ie(ae.message);oe.onError(ae);throw ae}}ie.assertTxConfigIsEmpty=assertTxConfigIsEmpty;function assertDatabaseIsEmpty(re,ie,oe){if(ie===void 0){ie=function(){}}if(re){var ae=(0,se.newError)("Driver is connected to the database that does not support multiple databases. "+"Please upgrade to neo4j 4.0.0 or later in order to use this functionality");ie(ae.message);oe.onError(ae);throw ae}}ie.assertDatabaseIsEmpty=assertDatabaseIsEmpty;function assertImpersonatedUserIsEmpty(re,ie,oe){if(ie===void 0){ie=function(){}}if(re){var ae=(0,se.newError)("Driver is connected to the database that does not support user impersonation. "+"Please upgrade to neo4j 4.4.0 or later in order to use this functionality. "+"Trying to impersonate ".concat(re,"."));ie(ae.message);oe.onError(ae);throw ae}}ie.assertImpersonatedUserIsEmpty=assertImpersonatedUserIsEmpty;function assertNotificationFilterIsEmpty(re,ie,oe){if(ie===void 0){ie=function(){}}if(re!==undefined){var ae=(0,se.newError)("Driver is connected to a database that does not support user notification filters. "+"Please upgrade to Neo4j 5.7.0 or later in order to use this functionality. "+"Trying to set notifications to ".concat(se.json.stringify(re),"."));ie(ae.message);oe.onError(ae);throw ae}}ie.assertNotificationFilterIsEmpty=assertNotificationFilterIsEmpty},54472:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};var ue=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});var le=oe(93653);var fe=oe(31131);var de=oe(32423);var pe=ce(oe(67923));var he=oe(17526);var Ae=oe(55065);var ge=ue(oe(16383));var me=ue(oe(28859));var ye=Ae.internal.bookmarks.Bookmarks,ve=Ae.internal.constants,be=ve.ACCESS_MODE_WRITE,we=ve.BOLT_PROTOCOL_V1,_e=Ae.internal.logger.Logger,Ee=Ae.internal.txConfig.TxConfig;var Ce=function(){function BoltProtocol(re,ie,oe,se,ae,ce){var ue=oe===void 0?{}:oe,le=ue.disableLosslessIntegers,fe=ue.useBigInt;if(se===void 0){se=function(){return null}}this._server=re||{};this._chunker=ie;this._packer=this._createPacker(ie);this._unpacker=this._createUnpacker(le,fe);this._responseHandler=se(this);this._log=ae;this._onProtocolError=ce;this._fatalError=null;this._lastMessageSignature=null;this._config={disableLosslessIntegers:le,useBigInt:fe}}Object.defineProperty(BoltProtocol.prototype,"transformer",{get:function(){var re=this;if(this._transformer===undefined){this._transformer=new me.default(Object.values(ge.default).map((function(ie){return ie(re._config,re._log)})))}return this._transformer},enumerable:false,configurable:true});Object.defineProperty(BoltProtocol.prototype,"version",{get:function(){return we},enumerable:false,configurable:true});Object.defineProperty(BoltProtocol.prototype,"supportsReAuth",{get:function(){return false},enumerable:false,configurable:true});Object.defineProperty(BoltProtocol.prototype,"initialized",{get:function(){return!!this._initialized},enumerable:false,configurable:true});Object.defineProperty(BoltProtocol.prototype,"authToken",{get:function(){return this._authToken},enumerable:false,configurable:true});BoltProtocol.prototype.packer=function(){return this._packer};BoltProtocol.prototype.packable=function(re){return this._packer.packable(re,this.transformer.toStructure)};BoltProtocol.prototype.unpacker=function(){return this._unpacker};BoltProtocol.prototype.unpack=function(re){return this._unpacker.unpack(re,this.transformer.fromStructure)};BoltProtocol.prototype.transformMetadata=function(re){return re};BoltProtocol.prototype.initialize=function(re){var ie=this;var oe=re===void 0?{}:re,se=oe.userAgent,ae=oe.boltAgent,ce=oe.authToken,ue=oe.notificationFilter,fe=oe.onError,de=oe.onComplete;var Ae=new he.LoginObserver({onError:function(re){return ie._onLoginError(re,fe)},onCompleted:function(re){return ie._onLoginCompleted(re,de)}});(0,le.assertNotificationFilterIsEmpty)(ue,this._onProtocolError,Ae);this.write(pe.default.init(se,ce),Ae,true);return Ae};BoltProtocol.prototype.logoff=function(re){var ie=re===void 0?{}:re,oe=ie.onComplete,se=ie.onError,ae=ie.flush;var ce=new he.LogoffObserver({onCompleted:oe,onError:se});var ue=(0,Ae.newError)("Driver is connected to a database that does not support logoff. "+"Please upgrade to Neo4j 5.5.0 or later in order to use this functionality.");this._onProtocolError(ue.message);ce.onError(ue);throw ue};BoltProtocol.prototype.logon=function(re){var ie=this;var oe=re===void 0?{}:re,se=oe.authToken,ae=oe.onComplete,ce=oe.onError,ue=oe.flush;var le=new he.LoginObserver({onCompleted:function(){return ie._onLoginCompleted({},se,ae)},onError:function(re){return ie._onLoginError(re,ce)}});var fe=(0,Ae.newError)("Driver is connected to a database that does not support logon. "+"Please upgrade to Neo4j 5.5.0 or later in order to use this functionality.");this._onProtocolError(fe.message);le.onError(fe);throw fe};BoltProtocol.prototype.prepareToClose=function(){};BoltProtocol.prototype.beginTransaction=function(re){var ie=re===void 0?{}:re,oe=ie.bookmarks,se=ie.txConfig,ae=ie.database,ce=ie.mode,ue=ie.impersonatedUser,le=ie.notificationFilter,fe=ie.beforeError,de=ie.afterError,pe=ie.beforeComplete,he=ie.afterComplete;return this.run("BEGIN",oe?oe.asBeginTransactionParameters():{},{bookmarks:oe,txConfig:se,database:ae,mode:ce,impersonatedUser:ue,notificationFilter:le,beforeError:fe,afterError:de,beforeComplete:pe,afterComplete:he,flush:false})};BoltProtocol.prototype.commitTransaction=function(re){var ie=re===void 0?{}:re,oe=ie.beforeError,se=ie.afterError,ae=ie.beforeComplete,ce=ie.afterComplete;return this.run("COMMIT",{},{bookmarks:ye.empty(),txConfig:Ee.empty(),mode:be,beforeError:oe,afterError:se,beforeComplete:ae,afterComplete:ce})};BoltProtocol.prototype.rollbackTransaction=function(re){var ie=re===void 0?{}:re,oe=ie.beforeError,se=ie.afterError,ae=ie.beforeComplete,ce=ie.afterComplete;return this.run("ROLLBACK",{},{bookmarks:ye.empty(),txConfig:Ee.empty(),mode:be,beforeError:oe,afterError:se,beforeComplete:ae,afterComplete:ce})};BoltProtocol.prototype.run=function(re,ie,oe){var se=oe===void 0?{}:oe,ae=se.bookmarks,ce=se.txConfig,ue=se.database,fe=se.mode,de=se.impersonatedUser,Ae=se.notificationFilter,ge=se.beforeKeys,me=se.afterKeys,ye=se.beforeError,ve=se.afterError,be=se.beforeComplete,we=se.afterComplete,_e=se.flush,Ee=_e===void 0?true:_e,Ce=se.highRecordWatermark,Ie=Ce===void 0?Number.MAX_VALUE:Ce,Se=se.lowRecordWatermark,Be=Se===void 0?Number.MAX_VALUE:Se;var xe=new he.ResultStreamObserver({server:this._server,beforeKeys:ge,afterKeys:me,beforeError:ye,afterError:ve,beforeComplete:be,afterComplete:we,highRecordWatermark:Ie,lowRecordWatermark:Be});(0,le.assertTxConfigIsEmpty)(ce,this._onProtocolError,xe);(0,le.assertDatabaseIsEmpty)(ue,this._onProtocolError,xe);(0,le.assertImpersonatedUserIsEmpty)(de,this._onProtocolError,xe);(0,le.assertNotificationFilterIsEmpty)(Ae,this._onProtocolError,xe);this.write(pe.default.run(re,ie),xe,false);this.write(pe.default.pullAll(),xe,Ee);return xe};Object.defineProperty(BoltProtocol.prototype,"currentFailure",{get:function(){return this._responseHandler.currentFailure},enumerable:false,configurable:true});BoltProtocol.prototype.reset=function(re){var ie=re===void 0?{}:re,oe=ie.onError,se=ie.onComplete;var ae=new he.ResetObserver({onProtocolError:this._onProtocolError,onError:oe,onComplete:se});this.write(pe.default.reset(),ae,true);return ae};BoltProtocol.prototype._createPacker=function(re){return new de.v1.Packer(re)};BoltProtocol.prototype._createUnpacker=function(re,ie){return new de.v1.Unpacker(re,ie)};BoltProtocol.prototype.write=function(re,ie,oe){var se=this.queueObserverIfProtocolIsNotBroken(ie);if(se){if(this._log.isDebugEnabled()){this._log.debug("C: ".concat(re))}this._lastMessageSignature=re.signature;var ae=new de.structure.Structure(re.signature,re.fields);this.packable(ae)();this._chunker.messageBoundary();if(oe){this._chunker.flush()}}};BoltProtocol.prototype.isLastMessageLogon=function(){return this._lastMessageSignature===pe.SIGNATURES.HELLO||this._lastMessageSignature===pe.SIGNATURES.LOGON};BoltProtocol.prototype.isLastMessageReset=function(){return this._lastMessageSignature===pe.SIGNATURES.RESET};BoltProtocol.prototype.notifyFatalError=function(re){this._fatalError=re;return this._responseHandler._notifyErrorToObservers(re)};BoltProtocol.prototype.updateCurrentObserver=function(){return this._responseHandler._updateCurrentObserver()};BoltProtocol.prototype.hasOngoingObservableRequests=function(){return this._responseHandler.hasOngoingObservableRequests()};BoltProtocol.prototype.queueObserverIfProtocolIsNotBroken=function(re){if(this.isBroken()){this.notifyFatalErrorToObserver(re);return false}return this._responseHandler._queueObserver(re)};BoltProtocol.prototype.isBroken=function(){return!!this._fatalError};BoltProtocol.prototype.notifyFatalErrorToObserver=function(re){if(re&&re.onError){re.onError(this._fatalError)}};BoltProtocol.prototype.resetFailure=function(){this._responseHandler._resetFailure()};BoltProtocol.prototype._onLoginCompleted=function(re,ie,oe){this._initialized=true;this._authToken=ie;if(re){var se=re.server;if(!this._server.version){this._server.version=se}}if(oe){oe(re)}};BoltProtocol.prototype._onLoginError=function(re,ie){this._onProtocolError(re.message);if(ie){ie(re)}};return BoltProtocol}();ie["default"]=Ce},16383:function(re,ie,oe){"use strict";var se=this&&this.__read||function(re,ie){var oe=typeof Symbol==="function"&&re[Symbol.iterator];if(!oe)return re;var se=oe.call(re),ae,ce=[],ue;try{while((ie===void 0||ie-- >0)&&!(ae=se.next()).done)ce.push(ae.value)}catch(re){ue={error:re}}finally{try{if(ae&&!ae.done&&(oe=se["return"]))oe.call(se)}finally{if(ue)throw ue.error}}return ce};Object.defineProperty(ie,"__esModule",{value:true});var ae=oe(55065);var ce=oe(32423);var ue=oe(28859);var le=ae.error.PROTOCOL_ERROR;var fe=78;var de=3;var pe=82;var he=5;var Ae=114;var ge=3;var me=80;var ye=3;function createNodeTransformer(){return new ue.TypeTransformer({signature:fe,isTypeInstance:function(re){return re instanceof ae.Node},toStructure:function(re){throw(0,ae.newError)("It is not allowed to pass nodes in query parameters, given: ".concat(re),le)},fromStructure:function(re){ce.structure.verifyStructSize("Node",de,re.size);var ie=se(re.fields,3),oe=ie[0],ue=ie[1],le=ie[2];return new ae.Node(oe,ue,le)}})}function createRelationshipTransformer(){return new ue.TypeTransformer({signature:pe,isTypeInstance:function(re){return re instanceof ae.Relationship},toStructure:function(re){throw(0,ae.newError)("It is not allowed to pass relationships in query parameters, given: ".concat(re),le)},fromStructure:function(re){ce.structure.verifyStructSize("Relationship",he,re.size);var ie=se(re.fields,5),oe=ie[0],ue=ie[1],le=ie[2],fe=ie[3],de=ie[4];return new ae.Relationship(oe,ue,le,fe,de)}})}function createUnboundRelationshipTransformer(){return new ue.TypeTransformer({signature:Ae,isTypeInstance:function(re){return re instanceof ae.UnboundRelationship},toStructure:function(re){throw(0,ae.newError)("It is not allowed to pass unbound relationships in query parameters, given: ".concat(re),le)},fromStructure:function(re){ce.structure.verifyStructSize("UnboundRelationship",ge,re.size);var ie=se(re.fields,3),oe=ie[0],ue=ie[1],le=ie[2];return new ae.UnboundRelationship(oe,ue,le)}})}function createPathTransformer(){return new ue.TypeTransformer({signature:me,isTypeInstance:function(re){return re instanceof ae.Path},toStructure:function(re){throw(0,ae.newError)("It is not allowed to pass paths in query parameters, given: ".concat(re),le)},fromStructure:function(re){ce.structure.verifyStructSize("Path",ye,re.size);var ie=se(re.fields,3),oe=ie[0],ue=ie[1],le=ie[2];var fe=[];var de=oe[0];for(var pe=0;pe0){ge=ue[Ae-1];if(ge instanceof ae.UnboundRelationship){ue[Ae-1]=ge=ge.bindTo(de,he)}}else{ge=ue[-Ae-1];if(ge instanceof ae.UnboundRelationship){ue[-Ae-1]=ge=ge.bindTo(he,de)}}fe.push(new ae.PathSegment(de,ge,he));de=he}return new ae.Path(oe[0],oe[oe.length-1],fe)}})}ie["default"]={createNodeTransformer:createNodeTransformer,createRelationshipTransformer:createRelationshipTransformer,createUnboundRelationshipTransformer:createUnboundRelationshipTransformer,createPathTransformer:createPathTransformer}},65633:function(re,ie,oe){"use strict";var se=this&&this.__extends||function(){var extendStatics=function(re,ie){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,ie){re.__proto__=ie}||function(re,ie){for(var oe in ie)if(Object.prototype.hasOwnProperty.call(ie,oe))re[oe]=ie[oe]};return extendStatics(re,ie)};return function(re,ie){if(typeof ie!=="function"&&ie!==null)throw new TypeError("Class extends value "+String(ie)+" is not a constructor or null");extendStatics(re,ie);function __(){this.constructor=re}re.prototype=ie===null?Object.create(ie):(__.prototype=ie.prototype,new __)}}();var ae=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});var ce=ae(oe(54472));var ue=ae(oe(32423));var le=oe(55065);var fe=ae(oe(96859));var de=ae(oe(28859));var pe=le.internal.constants.BOLT_PROTOCOL_V2;var he=function(re){se(BoltProtocol,re);function BoltProtocol(){return re!==null&&re.apply(this,arguments)||this}BoltProtocol.prototype._createPacker=function(re){return new ue.default.Packer(re)};BoltProtocol.prototype._createUnpacker=function(re,ie){return new ue.default.Unpacker(re,ie)};Object.defineProperty(BoltProtocol.prototype,"transformer",{get:function(){var re=this;if(this._transformer===undefined){this._transformer=new de.default(Object.values(fe.default).map((function(ie){return ie(re._config,re._log)})))}return this._transformer},enumerable:false,configurable:true});Object.defineProperty(BoltProtocol.prototype,"version",{get:function(){return pe},enumerable:false,configurable:true});return BoltProtocol}(ce.default);ie["default"]=he},96859:function(re,ie,oe){"use strict";var se=this&&this.__assign||function(){se=Object.assign||function(re){for(var ie,oe=1,se=arguments.length;oe0)&&!(ae=se.next()).done)ce.push(ae.value)}catch(re){ue={error:re}}finally{try{if(ae&&!ae.done&&(oe=se["return"]))oe.call(se)}finally{if(ue)throw ue.error}}return ce};var ce=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});var ue=oe(55065);var le=oe(32423);var fe=oe(28859);var de=oe(35243);var pe=ce(oe(16383));var he=ue.internal.temporalUtil,Ae=he.dateToEpochDay,ge=he.localDateTimeToEpochSecond,me=he.localTimeToNanoOfDay;var ye=88;var ve=3;var be=89;var we=4;var _e=69;var Ee=4;var Ce=116;var Ie=1;var Se=84;var Be=2;var xe=68;var ke=1;var Oe=100;var De=2;var Pe=70;var Te=3;var Qe=102;var Re=3;function createPoint2DTransformer(){return new fe.TypeTransformer({signature:ye,isTypeInstance:function(re){return(0,ue.isPoint)(re)&&(re.z===null||re.z===undefined)},toStructure:function(re){return new le.structure.Structure(ye,[(0,ue.int)(re.srid),re.x,re.y])},fromStructure:function(re){le.structure.verifyStructSize("Point2D",ve,re.size);var ie=ae(re.fields,3),oe=ie[0],se=ie[1],ce=ie[2];return new ue.Point(oe,se,ce,undefined)}})}function createPoint3DTransformer(){return new fe.TypeTransformer({signature:be,isTypeInstance:function(re){return(0,ue.isPoint)(re)&&re.z!==null&&re.z!==undefined},toStructure:function(re){return new le.structure.Structure(be,[(0,ue.int)(re.srid),re.x,re.y,re.z])},fromStructure:function(re){le.structure.verifyStructSize("Point3D",we,re.size);var ie=ae(re.fields,4),oe=ie[0],se=ie[1],ce=ie[2],fe=ie[3];return new ue.Point(oe,se,ce,fe)}})}function createDurationTransformer(){return new fe.TypeTransformer({signature:_e,isTypeInstance:ue.isDuration,toStructure:function(re){var ie=(0,ue.int)(re.months);var oe=(0,ue.int)(re.days);var se=(0,ue.int)(re.seconds);var ae=(0,ue.int)(re.nanoseconds);return new le.structure.Structure(_e,[ie,oe,se,ae])},fromStructure:function(re){le.structure.verifyStructSize("Duration",Ee,re.size);var ie=ae(re.fields,4),oe=ie[0],se=ie[1],ce=ie[2],fe=ie[3];return new ue.Duration(oe,se,ce,fe)}})}function createLocalTimeTransformer(re){var ie=re.disableLosslessIntegers,oe=re.useBigInt;return new fe.TypeTransformer({signature:Ce,isTypeInstance:ue.isLocalTime,toStructure:function(re){var ie=me(re.hour,re.minute,re.second,re.nanosecond);return new le.structure.Structure(Ce,[ie])},fromStructure:function(re){le.structure.verifyStructSize("LocalTime",Ie,re.size);var se=ae(re.fields,1),ce=se[0];var ue=(0,de.nanoOfDayToLocalTime)(ce);return convertIntegerPropsIfNeeded(ue,ie,oe)}})}function createTimeTransformer(re){var ie=re.disableLosslessIntegers,oe=re.useBigInt;return new fe.TypeTransformer({signature:Se,isTypeInstance:ue.isTime,toStructure:function(re){var ie=me(re.hour,re.minute,re.second,re.nanosecond);var oe=(0,ue.int)(re.timeZoneOffsetSeconds);return new le.structure.Structure(Se,[ie,oe])},fromStructure:function(re){le.structure.verifyStructSize("Time",Be,re.size);var se=ae(re.fields,2),ce=se[0],fe=se[1];var pe=(0,de.nanoOfDayToLocalTime)(ce);var he=new ue.Time(pe.hour,pe.minute,pe.second,pe.nanosecond,fe);return convertIntegerPropsIfNeeded(he,ie,oe)}})}function createDateTransformer(re){var ie=re.disableLosslessIntegers,oe=re.useBigInt;return new fe.TypeTransformer({signature:xe,isTypeInstance:ue.isDate,toStructure:function(re){var ie=Ae(re.year,re.month,re.day);return new le.structure.Structure(xe,[ie])},fromStructure:function(re){le.structure.verifyStructSize("Date",ke,re.size);var se=ae(re.fields,1),ce=se[0];var ue=(0,de.epochDayToDate)(ce);return convertIntegerPropsIfNeeded(ue,ie,oe)}})}function createLocalDateTimeTransformer(re){var ie=re.disableLosslessIntegers,oe=re.useBigInt;return new fe.TypeTransformer({signature:Oe,isTypeInstance:ue.isLocalDateTime,toStructure:function(re){var ie=ge(re.year,re.month,re.day,re.hour,re.minute,re.second,re.nanosecond);var oe=(0,ue.int)(re.nanosecond);return new le.structure.Structure(Oe,[ie,oe])},fromStructure:function(re){le.structure.verifyStructSize("LocalDateTime",De,re.size);var se=ae(re.fields,2),ce=se[0],ue=se[1];var fe=(0,de.epochSecondAndNanoToLocalDateTime)(ce,ue);return convertIntegerPropsIfNeeded(fe,ie,oe)}})}function createDateTimeWithZoneIdTransformer(re){var ie=re.disableLosslessIntegers,oe=re.useBigInt;return new fe.TypeTransformer({signature:Qe,isTypeInstance:function(re){return(0,ue.isDateTime)(re)&&re.timeZoneId!=null},toStructure:function(re){var ie=ge(re.year,re.month,re.day,re.hour,re.minute,re.second,re.nanosecond);var oe=(0,ue.int)(re.nanosecond);var se=re.timeZoneId;return new le.structure.Structure(Qe,[ie,oe,se])},fromStructure:function(re){le.structure.verifyStructSize("DateTimeWithZoneId",Re,re.size);var se=ae(re.fields,3),ce=se[0],fe=se[1],pe=se[2];var he=(0,de.epochSecondAndNanoToLocalDateTime)(ce,fe);var Ae=new ue.DateTime(he.year,he.month,he.day,he.hour,he.minute,he.second,he.nanosecond,null,pe);return convertIntegerPropsIfNeeded(Ae,ie,oe)}})}function createDateTimeWithOffsetTransformer(re){var ie=re.disableLosslessIntegers,oe=re.useBigInt;return new fe.TypeTransformer({signature:Pe,isTypeInstance:function(re){return(0,ue.isDateTime)(re)&&re.timeZoneId==null},toStructure:function(re){var ie=ge(re.year,re.month,re.day,re.hour,re.minute,re.second,re.nanosecond);var oe=(0,ue.int)(re.nanosecond);var se=(0,ue.int)(re.timeZoneOffsetSeconds);return new le.structure.Structure(Pe,[ie,oe,se])},fromStructure:function(re){le.structure.verifyStructSize("DateTimeWithZoneOffset",Te,re.size);var se=ae(re.fields,3),ce=se[0],fe=se[1],pe=se[2];var he=(0,de.epochSecondAndNanoToLocalDateTime)(ce,fe);var Ae=new ue.DateTime(he.year,he.month,he.day,he.hour,he.minute,he.second,he.nanosecond,pe,null);return convertIntegerPropsIfNeeded(Ae,ie,oe)}})}function convertIntegerPropsIfNeeded(re,ie,oe){if(!ie&&!oe){return re}var convert=function(re){return oe?re.toBigInt():re.toNumberOrInfinity()};var se=Object.create(Object.getPrototypeOf(re));for(var ae in re){if(Object.prototype.hasOwnProperty.call(re,ae)===true){var ce=re[ae];se[ae]=(0,ue.isInt)(ce)?convert(ce):ce}}Object.freeze(se);return se}ie["default"]=se(se({},pe.default),{createPoint2DTransformer:createPoint2DTransformer,createPoint3DTransformer:createPoint3DTransformer,createDurationTransformer:createDurationTransformer,createLocalTimeTransformer:createLocalTimeTransformer,createTimeTransformer:createTimeTransformer,createDateTransformer:createDateTransformer,createLocalDateTimeTransformer:createLocalDateTimeTransformer,createDateTimeWithZoneIdTransformer:createDateTimeWithZoneIdTransformer,createDateTimeWithOffsetTransformer:createDateTimeWithOffsetTransformer})},35510:function(re,ie,oe){"use strict";var se=this&&this.__extends||function(){var extendStatics=function(re,ie){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,ie){re.__proto__=ie}||function(re,ie){for(var oe in ie)if(Object.prototype.hasOwnProperty.call(ie,oe))re[oe]=ie[oe]};return extendStatics(re,ie)};return function(re,ie){if(typeof ie!=="function"&&ie!==null)throw new TypeError("Class extends value "+String(ie)+" is not a constructor or null");extendStatics(re,ie);function __(){this.constructor=re}re.prototype=ie===null?Object.create(ie):(__.prototype=ie.prototype,new __)}}();var ae=this&&this.__assign||function(){ae=Object.assign||function(re){for(var ie,oe=1,se=arguments.length;oe0)&&!(ae=se.next()).done)ce.push(ae.value)}catch(re){ue={error:re}}finally{try{if(ae&&!ae.done&&(oe=se["return"]))oe.call(se)}finally{if(ue)throw ue.error}}return ce};var ce=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});var ue=oe(32423);var le=oe(55065);var fe=ce(oe(18966));var de=ce(oe(75522));var pe=4;var he=8;var Ae=4;function createNodeTransformer(re){var ie=fe.default.createNodeTransformer(re);return ie.extendsWith({fromStructure:function(re){ue.structure.verifyStructSize("Node",pe,re.size);var ie=ae(re.fields,4),oe=ie[0],se=ie[1],ce=ie[2],fe=ie[3];return new le.Node(oe,se,ce,fe)}})}function createRelationshipTransformer(re){var ie=fe.default.createRelationshipTransformer(re);return ie.extendsWith({fromStructure:function(re){ue.structure.verifyStructSize("Relationship",he,re.size);var ie=ae(re.fields,8),oe=ie[0],se=ie[1],ce=ie[2],fe=ie[3],de=ie[4],pe=ie[5],Ae=ie[6],ge=ie[7];return new le.Relationship(oe,se,ce,fe,de,pe,Ae,ge)}})}function createUnboundRelationshipTransformer(re){var ie=fe.default.createUnboundRelationshipTransformer(re);return ie.extendsWith({fromStructure:function(re){ue.structure.verifyStructSize("UnboundRelationship",Ae,re.size);var ie=ae(re.fields,4),oe=ie[0],se=ie[1],ce=ie[2],fe=ie[3];return new le.UnboundRelationship(oe,se,ce,fe)}})}ie["default"]=se(se(se({},fe.default),de.default),{createNodeTransformer:createNodeTransformer,createRelationshipTransformer:createRelationshipTransformer,createUnboundRelationshipTransformer:createUnboundRelationshipTransformer})},75522:function(re,ie,oe){"use strict";var se=this&&this.__read||function(re,ie){var oe=typeof Symbol==="function"&&re[Symbol.iterator];if(!oe)return re;var se=oe.call(re),ae,ce=[],ue;try{while((ie===void 0||ie-- >0)&&!(ae=se.next()).done)ce.push(ae.value)}catch(re){ue={error:re}}finally{try{if(ae&&!ae.done&&(oe=se["return"]))oe.call(se)}finally{if(ue)throw ue.error}}return ce};var ae=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});var ce=oe(32423);var ue=oe(55065);var le=ae(oe(18966));var fe=oe(35243);var de=oe(85625);var pe=ue.internal.temporalUtil.localDateTimeToEpochSecond;var he=73;var Ae=3;var ge=105;var me=3;function createDateTimeWithZoneIdTransformer(re,ie){var oe=re.disableLosslessIntegers,ae=re.useBigInt;var fe=le.default.createDateTimeWithZoneIdTransformer(re);return fe.extendsWith({signature:ge,fromStructure:function(re){ce.structure.verifyStructSize("DateTimeWithZoneId",me,re.size);var ie=se(re.fields,3),le=ie[0],fe=ie[1],de=ie[2];var pe=getTimeInZoneId(de,le,fe);var he=new ue.DateTime(pe.year,pe.month,pe.day,pe.hour,pe.minute,pe.second,(0,ue.int)(fe),pe.timeZoneOffsetSeconds,de);return convertIntegerPropsIfNeeded(he,oe,ae)},toStructure:function(re){var oe=pe(re.year,re.month,re.day,re.hour,re.minute,re.second,re.nanosecond);var se=re.timeZoneOffsetSeconds!=null?re.timeZoneOffsetSeconds:getOffsetFromZoneId(re.timeZoneId,oe,re.nanosecond);if(re.timeZoneOffsetSeconds==null){ie.warn('DateTime objects without "timeZoneOffsetSeconds" property '+"are prune to bugs related to ambiguous times. For instance, "+"2022-10-30T2:30:00[Europe/Berlin] could be GMT+1 or GMT+2.")}var ae=oe.subtract(se);var le=(0,ue.int)(re.nanosecond);var fe=re.timeZoneId;return new ce.structure.Structure(ge,[ae,le,fe])}})}function getOffsetFromZoneId(re,ie,oe){var se=getTimeInZoneId(re,ie,oe);var ae=pe(se.year,se.month,se.day,se.hour,se.minute,se.second,oe);var ce=ae.subtract(ie);var ue=ie.subtract(ce);var le=getTimeInZoneId(re,ue,oe);var fe=pe(le.year,le.month,le.day,le.hour,le.minute,le.second,oe);var de=fe.subtract(ue);return de}function getTimeInZoneId(re,ie,oe){var se=new Intl.DateTimeFormat("en-US",{timeZone:re,year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric",hour12:false,era:"narrow"});var ae=(0,ue.int)(ie).multiply(1e3).add((0,ue.int)(oe).div(1e6)).toNumber();var ce=se.formatToParts(ae);var le=ce.reduce((function(re,ie){if(ie.type==="era"){re.adjustEra=ie.value.toUpperCase()==="B"?function(re){return re.subtract(1).negate()}:de.identity}else if(ie.type!=="literal"){re[ie.type]=(0,ue.int)(ie.value)}return re}),{});le.year=le.adjustEra(le.year);var fe=pe(le.year,le.month,le.day,le.hour,le.minute,le.second,le.nanosecond);le.timeZoneOffsetSeconds=fe.subtract(ie);le.hour=le.hour.modulo(24);return le}function createDateTimeWithOffsetTransformer(re){var ie=re.disableLosslessIntegers,oe=re.useBigInt;var ae=le.default.createDateTimeWithOffsetTransformer(re);return ae.extendsWith({signature:he,toStructure:function(re){var ie=pe(re.year,re.month,re.day,re.hour,re.minute,re.second,re.nanosecond);var oe=(0,ue.int)(re.nanosecond);var se=(0,ue.int)(re.timeZoneOffsetSeconds);var ae=ie.subtract(se);return new ce.structure.Structure(he,[ae,oe,se])},fromStructure:function(re){ce.structure.verifyStructSize("DateTimeWithZoneOffset",Ae,re.size);var ae=se(re.fields,3),le=ae[0],de=ae[1],pe=ae[2];var he=(0,ue.int)(le).add(pe);var ge=(0,fe.epochSecondAndNanoToLocalDateTime)(he,de);var me=new ue.DateTime(ge.year,ge.month,ge.day,ge.hour,ge.minute,ge.second,ge.nanosecond,pe,null);return convertIntegerPropsIfNeeded(me,ie,oe)}})}function convertIntegerPropsIfNeeded(re,ie,oe){if(!ie&&!oe){return re}var convert=function(re){return oe?re.toBigInt():re.toNumberOrInfinity()};var se=Object.create(Object.getPrototypeOf(re));for(var ae in re){if(Object.prototype.hasOwnProperty.call(re,ae)===true){var ce=re[ae];se[ae]=(0,ue.isInt)(ce)?convert(ce):ce}}Object.freeze(se);return se}ie["default"]={createDateTimeWithZoneIdTransformer:createDateTimeWithZoneIdTransformer,createDateTimeWithOffsetTransformer:createDateTimeWithOffsetTransformer}},59727:function(re,ie,oe){"use strict";var se=this&&this.__extends||function(){var extendStatics=function(re,ie){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,ie){re.__proto__=ie}||function(re,ie){for(var oe in ie)if(Object.prototype.hasOwnProperty.call(ie,oe))re[oe]=ie[oe]};return extendStatics(re,ie)};return function(re,ie){if(typeof ie!=="function"&&ie!==null)throw new TypeError("Class extends value "+String(ie)+" is not a constructor or null");extendStatics(re,ie);function __(){this.constructor=re}re.prototype=ie===null?Object.create(ie):(__.prototype=ie.prototype,new __)}}();var ae=this&&this.__assign||function(){ae=Object.assign||function(re){for(var ie,oe=1,se=arguments.length;oe{"use strict";Object.defineProperty(ie,"__esModule",{value:true});var se=oe(31131);var ae=oe(55065);var ce=1616949271;function version(re,ie){return{major:re,minor:ie}}function createHandshakeMessage(re){if(re.length>4){throw(0,ae.newError)("It should not have more than 4 versions of the protocol")}var ie=(0,se.alloc)(5*4);ie.writeInt32(ce);re.forEach((function(re){if(re instanceof Array){var oe=re[0],se=oe.major,ae=oe.minor;var ce=re[1].minor;var ue=ae-ce;ie.writeInt32(ue<<16|ae<<8|se)}else{var se=re.major,ae=re.minor;ie.writeInt32(ae<<8|se)}}));ie.reset();return ie}function parseNegotiatedResponse(re){var ie=[re.readUInt8(),re.readUInt8(),re.readUInt8(),re.readUInt8()];if(ie[0]===72&&ie[1]===84&&ie[2]===84&&ie[3]===80){throw(0,ae.newError)("Server responded HTTP. Make sure you are not trying to connect to the http endpoint "+"(HTTP defaults to port 7474 whereas BOLT defaults to port 7687)")}return Number(ie[3]+"."+ie[2])}function newHandshakeBuffer(){return createHandshakeMessage([[version(5,3),version(5,0)],[version(4,4),version(4,2)],version(4,1),version(3,0)])}function handshake(re){var ie=this;return new Promise((function(oe,se){var handshakeErrorHandler=function(re){se(re)};re.onerror=handshakeErrorHandler.bind(ie);if(re._error){handshakeErrorHandler(re._error)}re.onmessage=function(re){try{var ie=parseNegotiatedResponse(re);oe({protocolVersion:ie,consumeRemainingBuffer:function(ie){if(re.hasRemaining()){ie(re.readSlice(re.remaining()))}}})}catch(re){se(re)}};re.write(newHandshakeBuffer())}))}ie["default"]=handshake},86934:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__exportStar||function(re,ie){for(var oe in re)if(oe!=="default"&&!Object.prototype.hasOwnProperty.call(ie,oe))se(ie,re,oe)};var ce=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});ie.RawRoutingTable=ie.BoltProtocol=void 0;var ue=ce(oe(34529));var le=ce(oe(23536));var fe=ce(oe(24519));var de=ce(oe(18805));ae(oe(17526),ie);ie.BoltProtocol=fe.default;ie.RawRoutingTable=de.default;ie["default"]={handshake:ue.default,create:le.default}},67923:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.SIGNATURES=void 0;var se=oe(55065);var ae=se.internal.constants,ce=ae.ACCESS_MODE_READ,ue=ae.FETCH_ALL,le=se.internal.util.assertString;var fe=1;var de=14;var pe=15;var he=16;var Ae=47;var ge=63;var me=1;var ye=2;var ve=17;var be=18;var we=19;var _e=102;var Ee=106;var Ce=107;var Ie=47;var Se=63;var Be="r";var xe=-1;var ke=Object.freeze({INIT:fe,RESET:pe,RUN:he,PULL_ALL:ge,HELLO:me,GOODBYE:ye,BEGIN:ve,COMMIT:be,ROLLBACK:we,ROUTE:_e,LOGON:Ee,LOGOFF:Ce,DISCARD:Ie,PULL:Se});ie.SIGNATURES=ke;var Oe=function(){function RequestMessage(re,ie,oe){this.signature=re;this.fields=ie;this.toString=oe}RequestMessage.init=function(re,ie){return new RequestMessage(fe,[re,ie],(function(){return"INIT ".concat(re," {...}")}))};RequestMessage.run=function(re,ie){return new RequestMessage(he,[re,ie],(function(){return"RUN ".concat(re," ").concat(se.json.stringify(ie))}))};RequestMessage.pullAll=function(){return De};RequestMessage.reset=function(){return Pe};RequestMessage.hello=function(re,ie,oe,se){if(oe===void 0){oe=null}if(se===void 0){se=null}var ae=Object.assign({user_agent:re},ie);if(oe){ae.routing=oe}if(se){ae.patch_bolt=se}return new RequestMessage(me,[ae],(function(){return"HELLO {user_agent: '".concat(re,"', ...}")}))};RequestMessage.hello5x1=function(re,ie){if(ie===void 0){ie=null}var oe={user_agent:re};if(ie){oe.routing=ie}return new RequestMessage(me,[oe],(function(){return"HELLO {user_agent: '".concat(re,"', ...}")}))};RequestMessage.hello5x2=function(re,ie,oe){if(ie===void 0){ie=null}if(oe===void 0){oe=null}var ae={user_agent:re};if(ie){if(ie.minimumSeverityLevel){ae.notifications_minimum_severity=ie.minimumSeverityLevel}if(ie.disabledCategories){ae.notifications_disabled_categories=ie.disabledCategories}}if(oe){ae.routing=oe}return new RequestMessage(me,[ae],(function(){return"HELLO ".concat(se.json.stringify(ae))}))};RequestMessage.hello5x3=function(re,ie,oe,ae){if(oe===void 0){oe=null}if(ae===void 0){ae=null}var ce={};if(re){ce.user_agent=re}if(ie){ce.bolt_agent={product:ie.product,platform:ie.platform,language:ie.language,language_details:ie.languageDetails}}if(oe){if(oe.minimumSeverityLevel){ce.notifications_minimum_severity=oe.minimumSeverityLevel}if(oe.disabledCategories){ce.notifications_disabled_categories=oe.disabledCategories}}if(ae){ce.routing=ae}return new RequestMessage(me,[ce],(function(){return"HELLO ".concat(se.json.stringify(ce))}))};RequestMessage.logon=function(re){return new RequestMessage(Ee,[re],(function(){return"LOGON { ... }"}))};RequestMessage.logoff=function(){return new RequestMessage(Ce,[],(function(){return"LOGOFF"}))};RequestMessage.begin=function(re){var ie=re===void 0?{}:re,oe=ie.bookmarks,ae=ie.txConfig,ce=ie.database,ue=ie.mode,le=ie.impersonatedUser,fe=ie.notificationFilter;var de=buildTxMetadata(oe,ae,ce,ue,le,fe);return new RequestMessage(ve,[de],(function(){return"BEGIN ".concat(se.json.stringify(de))}))};RequestMessage.commit=function(){return Te};RequestMessage.rollback=function(){return Qe};RequestMessage.runWithMetadata=function(re,ie,oe){var ae=oe===void 0?{}:oe,ce=ae.bookmarks,ue=ae.txConfig,le=ae.database,fe=ae.mode,de=ae.impersonatedUser,pe=ae.notificationFilter;var Ae=buildTxMetadata(ce,ue,le,fe,de,pe);return new RequestMessage(he,[re,ie,Ae],(function(){return"RUN ".concat(re," ").concat(se.json.stringify(ie)," ").concat(se.json.stringify(Ae))}))};RequestMessage.goodbye=function(){return Re};RequestMessage.pull=function(re){var ie=re===void 0?{}:re,oe=ie.stmtId,ae=oe===void 0?xe:oe,ce=ie.n,le=ce===void 0?ue:ce;var fe=buildStreamMetadata(ae===null||ae===undefined?xe:ae,le||ue);return new RequestMessage(Se,[fe],(function(){return"PULL ".concat(se.json.stringify(fe))}))};RequestMessage.discard=function(re){var ie=re===void 0?{}:re,oe=ie.stmtId,ae=oe===void 0?xe:oe,ce=ie.n,le=ce===void 0?ue:ce;var fe=buildStreamMetadata(ae===null||ae===undefined?xe:ae,le||ue);return new RequestMessage(Ie,[fe],(function(){return"DISCARD ".concat(se.json.stringify(fe))}))};RequestMessage.route=function(re,ie,oe){if(re===void 0){re={}}if(ie===void 0){ie=[]}if(oe===void 0){oe=null}return new RequestMessage(_e,[re,ie,oe],(function(){return"ROUTE ".concat(se.json.stringify(re)," ").concat(se.json.stringify(ie)," ").concat(oe)}))};RequestMessage.routeV4x4=function(re,ie,oe){if(re===void 0){re={}}if(ie===void 0){ie=[]}if(oe===void 0){oe={}}var ae={};if(oe.databaseName){ae.db=oe.databaseName}if(oe.impersonatedUser){ae.imp_user=oe.impersonatedUser}return new RequestMessage(_e,[re,ie,ae],(function(){return"ROUTE ".concat(se.json.stringify(re)," ").concat(se.json.stringify(ie)," ").concat(se.json.stringify(ae))}))};return RequestMessage}();ie["default"]=Oe;function buildTxMetadata(re,ie,oe,se,ae,ue){var fe={};if(!re.isEmpty()){fe.bookmarks=re.values()}if(ie.timeout!==null){fe.tx_timeout=ie.timeout}if(ie.metadata){fe.tx_metadata=ie.metadata}if(oe){fe.db=le(oe,"database")}if(ae){fe.imp_user=le(ae,"impersonatedUser")}if(se===ce){fe.mode=Be}if(ue){if(ue.minimumSeverityLevel){fe.notifications_minimum_severity=ue.minimumSeverityLevel}if(ue.disabledCategories){fe.notifications_disabled_categories=ue.disabledCategories}}return fe}function buildStreamMetadata(re,ie){var oe={n:(0,se.int)(ie)};if(re!==xe){oe.qid=(0,se.int)(re)}return oe}var De=new Oe(ge,[],(function(){return"PULL_ALL"}));var Pe=new Oe(pe,[],(function(){return"RESET"}));var Te=new Oe(be,[],(function(){return"COMMIT"}));var Qe=new Oe(we,[],(function(){return"ROLLBACK"}));var Re=new Oe(ye,[],(function(){return"GOODBYE"}))},61221:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});var se=oe(55065);var ae=112;var ce=113;var ue=126;var le=127;function NO_OP(){}function NO_OP_IDENTITY(re){return re}var fe={onNext:NO_OP,onCompleted:NO_OP,onError:NO_OP};var de=function(){function ResponseHandler(re){var ie=re===void 0?{}:re,oe=ie.transformMetadata,se=ie.log,ae=ie.observer;this._pendingObservers=[];this._log=se;this._transformMetadata=oe||NO_OP_IDENTITY;this._observer=Object.assign({onPendingObserversChange:NO_OP,onError:NO_OP,onFailure:NO_OP,onErrorApplyTransformation:NO_OP_IDENTITY},ae)}Object.defineProperty(ResponseHandler.prototype,"currentFailure",{get:function(){return this._currentFailure},enumerable:false,configurable:true});ResponseHandler.prototype.handleResponse=function(re){var ie=re.fields[0];switch(re.signature){case ce:if(this._log.isDebugEnabled()){this._log.debug("S: RECORD ".concat(se.json.stringify(re)))}this._currentObserver.onNext(ie);break;case ae:if(this._log.isDebugEnabled()){this._log.debug("S: SUCCESS ".concat(se.json.stringify(re)))}try{var oe=this._transformMetadata(ie);this._currentObserver.onCompleted(oe)}finally{this._updateCurrentObserver()}break;case le:if(this._log.isDebugEnabled()){this._log.debug("S: FAILURE ".concat(se.json.stringify(re)))}try{var fe=_standardizeCode(ie.code);var de=(0,se.newError)(ie.message,fe);this._currentFailure=this._observer.onErrorApplyTransformation(de);this._currentObserver.onError(this._currentFailure)}finally{this._updateCurrentObserver();this._observer.onFailure(this._currentFailure)}break;case ue:if(this._log.isDebugEnabled()){this._log.debug("S: IGNORED ".concat(se.json.stringify(re)))}try{if(this._currentFailure&&this._currentObserver.onError){this._currentObserver.onError(this._currentFailure)}else if(this._currentObserver.onError){this._currentObserver.onError((0,se.newError)("Ignored either because of an error or RESET"))}}finally{this._updateCurrentObserver()}break;default:this._observer.onError((0,se.newError)("Unknown Bolt protocol message: "+re))}};ResponseHandler.prototype._updateCurrentObserver=function(){this._currentObserver=this._pendingObservers.shift();this._observer.onPendingObserversChange(this._pendingObservers.length)};ResponseHandler.prototype._queueObserver=function(re){re=re||fe;re.onCompleted=re.onCompleted||NO_OP;re.onError=re.onError||NO_OP;re.onNext=re.onNext||NO_OP;if(this._currentObserver===undefined){this._currentObserver=re}else{this._pendingObservers.push(re)}this._observer.onPendingObserversChange(this._pendingObservers.length);return true};ResponseHandler.prototype._notifyErrorToObservers=function(re){if(this._currentObserver&&this._currentObserver.onError){this._currentObserver.onError(re)}while(this._pendingObservers.length>0){var ie=this._pendingObservers.shift();if(ie&&ie.onError){ie.onError(re)}}};ResponseHandler.prototype.hasOngoingObservableRequests=function(){return this._currentObserver!=null||this._pendingObservers.length>0};ResponseHandler.prototype._resetFailure=function(){this._currentFailure=null};return ResponseHandler}();ie["default"]=de;function _standardizeCode(re){if(re==="Neo.TransientError.Transaction.Terminated"){return"Neo.ClientError.Transaction.Terminated"}else if(re==="Neo.TransientError.Transaction.LockClientStopped"){return"Neo.ClientError.Transaction.LockClientStopped"}return re}},18805:function(re,ie,oe){"use strict";var se=this&&this.__extends||function(){var extendStatics=function(re,ie){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,ie){re.__proto__=ie}||function(re,ie){for(var oe in ie)if(Object.prototype.hasOwnProperty.call(ie,oe))re[oe]=ie[oe]};return extendStatics(re,ie)};return function(re,ie){if(typeof ie!=="function"&&ie!==null)throw new TypeError("Class extends value "+String(ie)+" is not a constructor or null");extendStatics(re,ie);function __(){this.constructor=re}re.prototype=ie===null?Object.create(ie):(__.prototype=ie.prototype,new __)}}();var ae=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});var ce=ae(oe(55065));var ue=function(){function RawRoutingTable(){}RawRoutingTable.ofRecord=function(re){if(re===null){return RawRoutingTable.ofNull()}return new de(re)};RawRoutingTable.ofMessageResponse=function(re){if(re===null){return RawRoutingTable.ofNull()}return new le(re)};RawRoutingTable.ofNull=function(){return new fe};Object.defineProperty(RawRoutingTable.prototype,"ttl",{get:function(){throw new Error("Not implemented")},enumerable:false,configurable:true});Object.defineProperty(RawRoutingTable.prototype,"db",{get:function(){throw new Error("Not implemented")},enumerable:false,configurable:true});Object.defineProperty(RawRoutingTable.prototype,"servers",{get:function(){throw new Error("Not implemented")},enumerable:false,configurable:true});Object.defineProperty(RawRoutingTable.prototype,"isNull",{get:function(){throw new Error("Not implemented")},enumerable:false,configurable:true});return RawRoutingTable}();ie["default"]=ue;var le=function(re){se(ResponseRawRoutingTable,re);function ResponseRawRoutingTable(ie){var oe=re.call(this)||this;oe._response=ie;return oe}Object.defineProperty(ResponseRawRoutingTable.prototype,"ttl",{get:function(){return this._response.rt.ttl},enumerable:false,configurable:true});Object.defineProperty(ResponseRawRoutingTable.prototype,"servers",{get:function(){return this._response.rt.servers},enumerable:false,configurable:true});Object.defineProperty(ResponseRawRoutingTable.prototype,"db",{get:function(){return this._response.rt.db},enumerable:false,configurable:true});Object.defineProperty(ResponseRawRoutingTable.prototype,"isNull",{get:function(){return this._response===null},enumerable:false,configurable:true});return ResponseRawRoutingTable}(ue);var fe=function(re){se(NullRawRoutingTable,re);function NullRawRoutingTable(){return re!==null&&re.apply(this,arguments)||this}Object.defineProperty(NullRawRoutingTable.prototype,"isNull",{get:function(){return true},enumerable:false,configurable:true});return NullRawRoutingTable}(ue);var de=function(re){se(RecordRawRoutingTable,re);function RecordRawRoutingTable(ie){var oe=re.call(this)||this;oe._record=ie;return oe}Object.defineProperty(RecordRawRoutingTable.prototype,"ttl",{get:function(){return this._record.get("ttl")},enumerable:false,configurable:true});Object.defineProperty(RecordRawRoutingTable.prototype,"servers",{get:function(){return this._record.get("servers")},enumerable:false,configurable:true});Object.defineProperty(RecordRawRoutingTable.prototype,"db",{get:function(){return this._record.has("db")?this._record.get("db"):null},enumerable:false,configurable:true});Object.defineProperty(RecordRawRoutingTable.prototype,"isNull",{get:function(){return this._record===null},enumerable:false,configurable:true});return RecordRawRoutingTable}(ue)},17526:function(re,ie,oe){"use strict";var se=this&&this.__extends||function(){var extendStatics=function(re,ie){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,ie){re.__proto__=ie}||function(re,ie){for(var oe in ie)if(Object.prototype.hasOwnProperty.call(ie,oe))re[oe]=ie[oe]};return extendStatics(re,ie)};return function(re,ie){if(typeof ie!=="function"&&ie!==null)throw new TypeError("Class extends value "+String(ie)+" is not a constructor or null");extendStatics(re,ie);function __(){this.constructor=re}re.prototype=ie===null?Object.create(ie):(__.prototype=ie.prototype,new __)}}();var ae=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});ie.ProcedureRouteObserver=ie.RouteObserver=ie.CompletedObserver=ie.FailedObserver=ie.ResetObserver=ie.LogoffObserver=ie.LoginObserver=ie.ResultStreamObserver=ie.StreamObserver=void 0;var ce=oe(55065);var ue=ae(oe(18805));var le=ce.internal.constants.FETCH_ALL;var fe=ce.error.PROTOCOL_ERROR;var de=function(){function StreamObserver(){}StreamObserver.prototype.onNext=function(re){};StreamObserver.prototype.onError=function(re){};StreamObserver.prototype.onCompleted=function(re){};return StreamObserver}();ie.StreamObserver=de;var pe=function(re){se(ResultStreamObserver,re);function ResultStreamObserver(ie){var oe=ie===void 0?{}:ie,se=oe.reactive,ae=se===void 0?false:se,ce=oe.moreFunction,ue=oe.discardFunction,fe=oe.fetchSize,de=fe===void 0?le:fe,pe=oe.beforeError,he=oe.afterError,Ae=oe.beforeKeys,ge=oe.afterKeys,me=oe.beforeComplete,ye=oe.afterComplete,ve=oe.server,be=oe.highRecordWatermark,_e=be===void 0?Number.MAX_VALUE:be,Ee=oe.lowRecordWatermark,Ce=Ee===void 0?Number.MAX_VALUE:Ee;var Ie=re.call(this)||this;Ie._fieldKeys=null;Ie._fieldLookup=null;Ie._head=null;Ie._queuedRecords=[];Ie._tail=null;Ie._error=null;Ie._observers=[];Ie._meta={};Ie._server=ve;Ie._beforeError=pe;Ie._afterError=he;Ie._beforeKeys=Ae;Ie._afterKeys=ge;Ie._beforeComplete=me;Ie._afterComplete=ye;Ie._queryId=null;Ie._moreFunction=ce;Ie._discardFunction=ue;Ie._discard=false;Ie._fetchSize=de;Ie._lowRecordWatermark=Ce;Ie._highRecordWatermark=_e;Ie._setState(ae?we.READY:we.READY_STREAMING);Ie._setupAutoPull();Ie._paused=false;return Ie}ResultStreamObserver.prototype.pause=function(){this._paused=true};ResultStreamObserver.prototype.resume=function(){this._paused=false;this._setupAutoPull(true);this._state.pull(this)};ResultStreamObserver.prototype.onNext=function(re){var ie=new ce.Record(this._fieldKeys,re,this._fieldLookup);if(this._observers.some((function(re){return re.onNext}))){this._observers.forEach((function(re){if(re.onNext){re.onNext(ie)}}))}else{this._queuedRecords.push(ie);if(this._queuedRecords.length>this._highRecordWatermark){this._autoPull=false}}};ResultStreamObserver.prototype.onCompleted=function(re){this._state.onSuccess(this,re)};ResultStreamObserver.prototype.onError=function(re){this._state.onError(this,re)};ResultStreamObserver.prototype.cancel=function(){this._discard=true};ResultStreamObserver.prototype.prepareToHandleSingleResponse=function(){this._head=[];this._fieldKeys=[];this._setState(we.STREAMING)};ResultStreamObserver.prototype.markCompleted=function(){this._head=[];this._fieldKeys=[];this._tail={};this._setState(we.SUCCEEDED)};ResultStreamObserver.prototype.subscribe=function(re){if(this._head&&re.onKeys){re.onKeys(this._head)}if(this._queuedRecords.length>0&&re.onNext){for(var ie=0;ie0){this._fieldKeys=re.fields;for(var se=0;se{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.epochSecondAndNanoToLocalDateTime=ie.nanoOfDayToLocalTime=ie.epochDayToDate=void 0;var se=oe(55065);var ae=se.internal.temporalUtil,ce=ae.DAYS_0000_TO_1970,ue=ae.DAYS_PER_400_YEAR_CYCLE,le=ae.NANOS_PER_HOUR,fe=ae.NANOS_PER_MINUTE,de=ae.NANOS_PER_SECOND,pe=ae.SECONDS_PER_DAY,he=ae.floorDiv,Ae=ae.floorMod;function epochDayToDate(re){re=(0,se.int)(re);var ie=re.add(ce).subtract(60);var oe=(0,se.int)(0);if(ie.lessThan(0)){var ae=ie.add(1).div(ue).subtract(1);oe=ae.multiply(400);ie=ie.add(ae.multiply(-ue))}var le=ie.multiply(400).add(591).div(ue);var fe=ie.subtract(le.multiply(365).add(le.div(4)).subtract(le.div(100)).add(le.div(400)));if(fe.lessThan(0)){le=le.subtract(1);fe=ie.subtract(le.multiply(365).add(le.div(4)).subtract(le.div(100)).add(le.div(400)))}le=le.add(oe);var de=fe;var pe=de.multiply(5).add(2).div(153);var he=pe.add(2).modulo(12).add(1);var Ae=de.subtract(pe.multiply(306).add(5).div(10)).add(1);le=le.add(pe.div(10));return new se.Date(le,he,Ae)}ie.epochDayToDate=epochDayToDate;function nanoOfDayToLocalTime(re){re=(0,se.int)(re);var ie=re.div(le);re=re.subtract(ie.multiply(le));var oe=re.div(fe);re=re.subtract(oe.multiply(fe));var ae=re.div(de);var ce=re.subtract(ae.multiply(de));return new se.LocalTime(ie,oe,ae,ce)}ie.nanoOfDayToLocalTime=nanoOfDayToLocalTime;function epochSecondAndNanoToLocalDateTime(re,ie){var oe=he(re,pe);var ae=Ae(re,pe);var ce=ae.multiply(de).add(ie);var ue=epochDayToDate(oe);var le=nanoOfDayToLocalTime(ce);return new se.LocalDateTime(ue.year,ue.month,ue.day,le.hour,le.minute,le.second,le.nanosecond)}ie.epochSecondAndNanoToLocalDateTime=epochSecondAndNanoToLocalDateTime},28859:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.TypeTransformer=void 0;var se=oe(32423);var ae=oe(55065);var ce=ae.internal.objectUtil;var ue=function(){function Transformer(re){this._transformers=re;this._transformersPerSignature=new Map(re.map((function(re){return[re.signature,re]})));this.fromStructure=this.fromStructure.bind(this);this.toStructure=this.toStructure.bind(this);Object.freeze(this)}Transformer.prototype.fromStructure=function(re){try{if(re instanceof se.structure.Structure&&this._transformersPerSignature.has(re.signature)){var ie=this._transformersPerSignature.get(re.signature).fromStructure;return ie(re)}return re}catch(re){return ce.createBrokenObject(re)}};Transformer.prototype.toStructure=function(re){var ie=this._transformers.find((function(ie){var oe=ie.isTypeInstance;return oe(re)}));if(ie!==undefined){return ie.toStructure(re)}return re};return Transformer}();ie["default"]=ue;var le=function(){function TypeTransformer(re){var ie=re.signature,oe=re.fromStructure,se=re.toStructure,ae=re.isTypeInstance;this.signature=ie;this.isTypeInstance=ae;this.fromStructure=oe;this.toStructure=se;Object.freeze(this)}TypeTransformer.prototype.extendsWith=function(re){var ie=re.signature,oe=re.fromStructure,se=re.toStructure,ae=re.isTypeInstance;return new TypeTransformer({signature:ie||this.signature,fromStructure:oe||this.fromStructure,toStructure:se||this.toStructure,isTypeInstance:ae||this.isTypeInstance})};return TypeTransformer}();ie.TypeTransformer=le},15730:function(re,ie){"use strict";var oe=this&&this.__extends||function(){var extendStatics=function(re,ie){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,ie){re.__proto__=ie}||function(re,ie){for(var oe in ie)if(Object.prototype.hasOwnProperty.call(ie,oe))re[oe]=ie[oe]};return extendStatics(re,ie)};return function(re,ie){if(typeof ie!=="function"&&ie!==null)throw new TypeError("Class extends value "+String(ie)+" is not a constructor or null");extendStatics(re,ie);function __(){this.constructor=re}re.prototype=ie===null?Object.create(ie):(__.prototype=ie.prototype,new __)}}();Object.defineProperty(ie,"__esModule",{value:true});var se=function(){function BaseBuffer(re){this.position=0;this.length=re}BaseBuffer.prototype.getUInt8=function(re){throw new Error("Not implemented")};BaseBuffer.prototype.getInt8=function(re){throw new Error("Not implemented")};BaseBuffer.prototype.getFloat64=function(re){throw new Error("Not implemented")};BaseBuffer.prototype.putUInt8=function(re,ie){throw new Error("Not implemented")};BaseBuffer.prototype.putInt8=function(re,ie){throw new Error("Not implemented")};BaseBuffer.prototype.putFloat64=function(re,ie){throw new Error("Not implemented")};BaseBuffer.prototype.getInt16=function(re){return this.getInt8(re)<<8|this.getUInt8(re+1)};BaseBuffer.prototype.getUInt16=function(re){return this.getUInt8(re)<<8|this.getUInt8(re+1)};BaseBuffer.prototype.getInt32=function(re){return this.getInt8(re)<<24|this.getUInt8(re+1)<<16|this.getUInt8(re+2)<<8|this.getUInt8(re+3)};BaseBuffer.prototype.getUInt32=function(re){return this.getUInt8(re)<<24|this.getUInt8(re+1)<<16|this.getUInt8(re+2)<<8|this.getUInt8(re+3)};BaseBuffer.prototype.getInt64=function(re){return this.getInt8(re)<<56|this.getUInt8(re+1)<<48|this.getUInt8(re+2)<<40|this.getUInt8(re+3)<<32|this.getUInt8(re+4)<<24|this.getUInt8(re+5)<<16|this.getUInt8(re+6)<<8|this.getUInt8(re+7)};BaseBuffer.prototype.getSlice=function(re,ie){return new ae(re,ie,this)};BaseBuffer.prototype.putInt16=function(re,ie){this.putInt8(re,ie>>8);this.putUInt8(re+1,ie&255)};BaseBuffer.prototype.putUInt16=function(re,ie){this.putUInt8(re,ie>>8&255);this.putUInt8(re+1,ie&255)};BaseBuffer.prototype.putInt32=function(re,ie){this.putInt8(re,ie>>24);this.putUInt8(re+1,ie>>16&255);this.putUInt8(re+2,ie>>8&255);this.putUInt8(re+3,ie&255)};BaseBuffer.prototype.putUInt32=function(re,ie){this.putUInt8(re,ie>>24&255);this.putUInt8(re+1,ie>>16&255);this.putUInt8(re+2,ie>>8&255);this.putUInt8(re+3,ie&255)};BaseBuffer.prototype.putInt64=function(re,ie){this.putInt8(re,ie>>48);this.putUInt8(re+1,ie>>42&255);this.putUInt8(re+2,ie>>36&255);this.putUInt8(re+3,ie>>30&255);this.putUInt8(re+4,ie>>24&255);this.putUInt8(re+5,ie>>16&255);this.putUInt8(re+6,ie>>8&255);this.putUInt8(re+7,ie&255)};BaseBuffer.prototype.putBytes=function(re,ie){for(var oe=0,se=ie.remaining();oe0};BaseBuffer.prototype.reset=function(){this.position=0};BaseBuffer.prototype.toString=function(){return this.constructor.name+"( position="+this.position+" )\n "+this.toHex()};BaseBuffer.prototype.toHex=function(){var re="";for(var ie=0;ie{"use strict";Object.defineProperty(ie,"__esModule",{value:true});var se=oe(55065);var ae=se.internal.util,ce=ae.ENCRYPTION_OFF,ue=ae.ENCRYPTION_ON;var le=se.error.SERVICE_UNAVAILABLE;var fe=[null,undefined,true,false,ue,ce];var de=[null,undefined,"TRUST_ALL_CERTIFICATES","TRUST_CUSTOM_CA_SIGNED_CERTIFICATES","TRUST_SYSTEM_CA_SIGNED_CERTIFICATES"];var pe=function(){function ChannelConfig(re,ie,oe){this.address=re;this.encrypted=extractEncrypted(ie);this.trust=extractTrust(ie);this.trustedCertificates=extractTrustedCertificates(ie);this.knownHostsPath=extractKnownHostsPath(ie);this.connectionErrorCode=oe||le;this.connectionTimeout=ie.connectionTimeout}return ChannelConfig}();ie["default"]=pe;function extractEncrypted(re){var ie=re.encrypted;if(fe.indexOf(ie)===-1){throw(0,se.newError)("Illegal value of the encrypted setting ".concat(ie,". Expected one of ").concat(fe))}return ie}function extractTrust(re){var ie=re.trust;if(de.indexOf(ie)===-1){throw(0,se.newError)("Illegal value of the trust setting ".concat(ie,". Expected one of ").concat(de))}return ie}function extractTrustedCertificates(re){return re.trustedCertificates||[]}function extractKnownHostsPath(re){return re.knownHosts||null}},12613:function(re,ie,oe){"use strict";var se=this&&this.__extends||function(){var extendStatics=function(re,ie){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,ie){re.__proto__=ie}||function(re,ie){for(var oe in ie)if(Object.prototype.hasOwnProperty.call(ie,oe))re[oe]=ie[oe]};return extendStatics(re,ie)};return function(re,ie){if(typeof ie!=="function"&&ie!==null)throw new TypeError("Class extends value "+String(ie)+" is not a constructor or null");extendStatics(re,ie);function __(){this.constructor=re}re.prototype=ie===null?Object.create(ie):(__.prototype=ie.prototype,new __)}}();var ae=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});ie.Dechunker=ie.Chunker=void 0;var ce=ae(oe(15730));var ue=oe(27164);var le=ae(oe(33190));var fe=2;var de=0;var pe=1400;var he=function(re){se(Chunker,re);function Chunker(ie,oe){var se=re.call(this,0)||this;se._bufferSize=oe||pe;se._ch=ie;se._buffer=(0,ue.alloc)(se._bufferSize);se._currentChunkStart=0;se._chunkOpen=false;return se}Chunker.prototype.putUInt8=function(re,ie){this._ensure(1);this._buffer.writeUInt8(ie)};Chunker.prototype.putInt8=function(re,ie){this._ensure(1);this._buffer.writeInt8(ie)};Chunker.prototype.putFloat64=function(re,ie){this._ensure(8);this._buffer.writeFloat64(ie)};Chunker.prototype.putBytes=function(re,ie){while(ie.remaining()>0){this._ensure(1);if(this._buffer.remaining()>ie.remaining()){this._buffer.writeBytes(ie)}else{this._buffer.writeBytes(ie.readSlice(this._buffer.remaining()))}}return this};Chunker.prototype.flush=function(){if(this._buffer.position>0){this._closeChunkIfOpen();var re=this._buffer;this._buffer=null;this._ch.write(re.getSlice(0,re.position));this._buffer=(0,ue.alloc)(this._bufferSize);this._chunkOpen=false}return this};Chunker.prototype.messageBoundary=function(){this._closeChunkIfOpen();if(this._buffer.remaining()=2){return this._onHeader(re.readUInt16())}else{this._partialChunkHeader=re.readUInt8()<<8;return this.IN_HEADER}};Dechunker.prototype.IN_HEADER=function(re){return this._onHeader((this._partialChunkHeader|re.readUInt8())&65535)};Dechunker.prototype.IN_CHUNK=function(re){if(this._chunkSize<=re.remaining()){this._currentMessage.push(re.readSlice(this._chunkSize));return this.AWAITING_CHUNK}else{this._chunkSize-=re.remaining();this._currentMessage.push(re.readSlice(re.remaining()));return this.IN_CHUNK}};Dechunker.prototype.CLOSED=function(re){};Dechunker.prototype._onHeader=function(re){if(re===0){var ie=void 0;switch(this._currentMessage.length){case 0:return this.AWAITING_CHUNK;case 1:ie=this._currentMessage[0];break;default:ie=new le.default(this._currentMessage);break}this._currentMessage=[];this.onmessage(ie);return this.AWAITING_CHUNK}else{this._chunkSize=re;return this.IN_CHUNK}};Dechunker.prototype.write=function(re){while(re.hasRemaining()){this._state=this._state(re)}};return Dechunker}();ie.Dechunker=Ae},33190:function(re,ie,oe){"use strict";var se=this&&this.__extends||function(){var extendStatics=function(re,ie){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,ie){re.__proto__=ie}||function(re,ie){for(var oe in ie)if(Object.prototype.hasOwnProperty.call(ie,oe))re[oe]=ie[oe]};return extendStatics(re,ie)};return function(re,ie){if(typeof ie!=="function"&&ie!==null)throw new TypeError("Class extends value "+String(ie)+" is not a constructor or null");extendStatics(re,ie);function __(){this.constructor=re}re.prototype=ie===null?Object.create(ie):(__.prototype=ie.prototype,new __)}}();Object.defineProperty(ie,"__esModule",{value:true});var ae=oe(35509);var ce=oe(27164);var ue=function(re){se(CombinedBuffer,re);function CombinedBuffer(ie){var oe=this;var se=0;for(var ae=0;ae=oe.length){re-=oe.length}else{return oe.getUInt8(re)}}};CombinedBuffer.prototype.getInt8=function(re){for(var ie=0;ie=oe.length){re-=oe.length}else{return oe.getInt8(re)}}};CombinedBuffer.prototype.getFloat64=function(re){var ie=(0,ce.alloc)(8);for(var oe=0;oe<8;oe++){ie.putUInt8(oe,this.getUInt8(re+oe))}return ie.getFloat64(0)};return CombinedBuffer}(ae.BaseBuffer);ie["default"]=ue},31131:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__exportStar||function(re,ie){for(var oe in re)if(oe!=="default"&&!Object.prototype.hasOwnProperty.call(ie,oe))se(ie,re,oe)};var ce=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});ie.utf8=ie.alloc=ie.ChannelConfig=void 0;ae(oe(51567),ie);ae(oe(12613),ie);var ue=oe(83810);Object.defineProperty(ie,"ChannelConfig",{enumerable:true,get:function(){return ce(ue).default}});var le=oe(27164);Object.defineProperty(ie,"alloc",{enumerable:true,get:function(){return le.alloc}});var fe=oe(52864);Object.defineProperty(ie,"utf8",{enumerable:true,get:function(){return ce(fe).default}})},51567:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});ie.HostNameResolver=ie.Channel=void 0;var ae=se(oe(26767));var ce=se(oe(30494));ie.Channel=ae.default;ie.HostNameResolver=ce.default},26767:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});var ae=se(oe(41808));var ce=se(oe(24404));var ue=se(oe(57147));var le=se(oe(27164));var fe=oe(55065);var de=fe.internal.util,pe=de.ENCRYPTION_OFF,he=de.ENCRYPTION_ON,Ae=de.isEmptyObjectOrNull;var ge=0;var me={TRUST_CUSTOM_CA_SIGNED_CERTIFICATES:function(re,ie,oe){if(!re.trustedCertificates||re.trustedCertificates.length===0){oe((0,fe.newError)("You are using TRUST_CUSTOM_CA_SIGNED_CERTIFICATES as the method "+"to verify trust for encrypted connections, but have not configured any "+"trustedCertificates. You must specify the path to at least one trusted "+"X.509 certificate for this to work. Two other alternatives is to use "+'TRUST_ALL_CERTIFICATES or to disable encryption by setting encrypted="'+pe+'"'+"in your driver configuration."));return}var se=newTlsOptions(re.address.host(),re.trustedCertificates.map((function(re){return ue.default.readFileSync(re)})));var ae=ce.default.connect(re.address.port(),re.address.resolvedHost(),se,(function(){if(!ae.authorized){oe((0,fe.newError)("Server certificate is not trusted. If you trust the database you are connecting to, add"+" the signing certificate, or the server certificate, to the list of certificates trusted by this driver"+" using `neo4j.driver(.., { trustedCertificates:['path/to/certificate.crt']}). This "+" is a security measure to protect against man-in-the-middle attacks. If you are just trying "+' Neo4j out and are not concerned about encryption, simply disable it using `encrypted="'+pe+'"`'+" in the driver options. Socket responded with: "+ae.authorizationError))}else{ie()}}));ae.on("error",oe);return configureSocket(ae)},TRUST_SYSTEM_CA_SIGNED_CERTIFICATES:function(re,ie,oe){var se=newTlsOptions(re.address.host());var ae=ce.default.connect(re.address.port(),re.address.resolvedHost(),se,(function(){if(!ae.authorized){oe((0,fe.newError)("Server certificate is not trusted. If you trust the database you are connecting to, use "+"TRUST_CUSTOM_CA_SIGNED_CERTIFICATES and add"+" the signing certificate, or the server certificate, to the list of certificates trusted by this driver"+" using `neo4j.driver(.., { trustedCertificates:['path/to/certificate.crt']}). This "+" is a security measure to protect against man-in-the-middle attacks. If you are just trying "+' Neo4j out and are not concerned about encryption, simply disable it using `encrypted="'+pe+'"`'+" in the driver options. Socket responded with: "+ae.authorizationError))}else{ie()}}));ae.on("error",oe);return configureSocket(ae)},TRUST_ALL_CERTIFICATES:function(re,ie,oe){var se=newTlsOptions(re.address.host());var ae=ce.default.connect(re.address.port(),re.address.resolvedHost(),se,(function(){var re=ae.getPeerCertificate();if(Ae(re)){oe((0,fe.newError)("Secure connection was successful but server did not return any valid "+"certificates. Such connection can not be trusted. If you are just trying "+" Neo4j out and are not concerned about encryption, simply disable it using "+'`encrypted="'+pe+'"` in the driver options. '+"Socket responded with: "+ae.authorizationError))}else{ie()}}));ae.on("error",oe);return configureSocket(ae)}};function _connect(re,ie,oe){if(oe===void 0){oe=function(){return null}}var se=trustStrategyName(re);if(!isEncrypted(re)){var ce=ae.default.connect(re.address.port(),re.address.resolvedHost(),ie);ce.on("error",oe);return configureSocket(ce)}else if(me[se]){return me[se](re,ie,oe)}else{oe((0,fe.newError)("Unknown trust strategy: "+re.trust+". Please use either "+"trust:'TRUST_CUSTOM_CA_SIGNED_CERTIFICATES' or trust:'TRUST_ALL_CERTIFICATES' in your driver "+"configuration. Alternatively, you can disable encryption by setting "+'`encrypted:"'+pe+'"`. There is no mechanism to use encryption without trust verification, '+"because this incurs the overhead of encryption without improving security. If "+"the driver does not verify that the peer it is connected to is really Neo4j, it "+"is very easy for an attacker to bypass the encryption by pretending to be Neo4j."))}}function isEncrypted(re){var ie=re.encrypted==null||re.encrypted===undefined;if(ie){return false}return re.encrypted===true||re.encrypted===he}function trustStrategyName(re){if(re.trust){return re.trust}return"TRUST_SYSTEM_CA_SIGNED_CERTIFICATES"}function newTlsOptions(re,ie){if(ie===void 0){ie=undefined}return{rejectUnauthorized:false,servername:re,ca:ie}}function configureSocket(re){re.setKeepAlive(true);return re}var ye=function(){function NodeChannel(re,ie){if(ie===void 0){ie=_connect}var oe=this;this.id=ge++;this._pending=[];this._open=true;this._error=null;this._handleConnectionError=this._handleConnectionError.bind(this);this._handleConnectionTerminated=this._handleConnectionTerminated.bind(this);this._connectionErrorCode=re.connectionErrorCode;this._receiveTimeout=null;this._receiveTimeoutStarted=false;this._conn=ie(re,(function(){if(!oe._open){return}oe._conn.on("data",(function(re){if(oe.onmessage){oe.onmessage(new le.default(re))}}));oe._conn.on("error",oe._handleConnectionError);oe._conn.on("end",oe._handleConnectionTerminated);var re=oe._pending;oe._pending=null;for(var ie=0;ie=ie.length){ce-=ie.length;return""}else{ie._updatePos(ce-ie.position);var se=Math.min(ie.length-ce,ae);var ue=ie.readSlice(se);ie._updatePos(se);ae=Math.max(ae-ue.length,0);ce=0;return re+oe(ue)}}),"");return ue+se()}function newBuffer(re){if(typeof ue.default.Buffer.from==="function"){return ue.default.Buffer.from(re,"utf8")}else{return new ue.default.Buffer(re,"utf8")}}ie["default"]={encode:encode,decode:decode}},40050:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};var ae=this&&this.__generator||function(re,ie){var oe={label:0,sent:function(){if(ce[0]&1)throw ce[1];return ce[1]},trys:[],ops:[]},se,ae,ce,ue;return ue={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol==="function"&&(ue[Symbol.iterator]=function(){return this}),ue;function verb(re){return function(ie){return step([re,ie])}}function step(le){if(se)throw new TypeError("Generator is already executing.");while(ue&&(ue=0,le[0]&&(oe=0)),oe)try{if(se=1,ae&&(ce=le[0]&2?ae["return"]:le[0]?ae["throw"]||((ce=ae["return"])&&ce.call(ae),0):ae.next)&&!(ce=ce.call(ae,le[1])).done)return ce;if(ae=0,ce)le=[le[0]&2,ce.value];switch(le[0]){case 0:case 1:ce=le;break;case 4:oe.label++;return{value:le[1],done:false};case 5:oe.label++;ae=le[1];le=[0];continue;case 7:le=oe.ops.pop();oe.trys.pop();continue;default:if(!(ce=oe.trys,ce=ce.length>0&&ce[ce.length-1])&&(le[0]===6||le[0]===2)){oe=0;continue}if(le[0]===3&&(!ce||le[1]>ce[0]&&le[1]0&&ce[ce.length-1])&&(le[0]===6||le[0]===2)){oe=0;continue}if(le[0]===3&&(!ce||le[1]>ce[0]&&le[1]=Ae}))];case 1:return[2,re.sent()]}}))}))};DirectConnectionProvider.prototype.getNegotiatedProtocolVersion=function(){var re=this;return new Promise((function(ie,oe){re._hasProtocolVersion(ie).catch(oe)}))};DirectConnectionProvider.prototype.supportsTransactionConfig=function(){return ae(this,void 0,void 0,(function(){return ce(this,(function(re){switch(re.label){case 0:return[4,this._hasProtocolVersion((function(re){return re>=he}))];case 1:return[2,re.sent()]}}))}))};DirectConnectionProvider.prototype.supportsUserImpersonation=function(){return ae(this,void 0,void 0,(function(){return ce(this,(function(re){switch(re.label){case 0:return[4,this._hasProtocolVersion((function(re){return re>=ge}))];case 1:return[2,re.sent()]}}))}))};DirectConnectionProvider.prototype.supportsSessionAuth=function(){return ae(this,void 0,void 0,(function(){return ce(this,(function(re){switch(re.label){case 0:return[4,this._hasProtocolVersion((function(re){return re>=me}))];case 1:return[2,re.sent()]}}))}))};DirectConnectionProvider.prototype.verifyAuthentication=function(re){var ie=re.auth;return ae(this,void 0,void 0,(function(){var re=this;return ce(this,(function(oe){return[2,this._verifyAuthentication({auth:ie,getAddress:function(){return re._address}})]}))}))};DirectConnectionProvider.prototype.verifyConnectivityAndGetServerInfo=function(){return ae(this,void 0,void 0,(function(){return ce(this,(function(re){switch(re.label){case 0:return[4,this._verifyConnectivityAndGetServerVersion({address:this._address})];case 1:return[2,re.sent()]}}))}))};return DirectConnectionProvider}(le.default);ie["default"]=ve},65390:function(re,ie,oe){"use strict";var se=this&&this.__extends||function(){var extendStatics=function(re,ie){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,ie){re.__proto__=ie}||function(re,ie){for(var oe in ie)if(Object.prototype.hasOwnProperty.call(ie,oe))re[oe]=ie[oe]};return extendStatics(re,ie)};return function(re,ie){if(typeof ie!=="function"&&ie!==null)throw new TypeError("Class extends value "+String(ie)+" is not a constructor or null");extendStatics(re,ie);function __(){this.constructor=re}re.prototype=ie===null?Object.create(ie):(__.prototype=ie.prototype,new __)}}();var ae=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ce=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ue=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))ae(ie,re,oe);ce(ie,re);return ie};var le=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};var fe=this&&this.__generator||function(re,ie){var oe={label:0,sent:function(){if(ce[0]&1)throw ce[1];return ce[1]},trys:[],ops:[]},se,ae,ce,ue;return ue={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol==="function"&&(ue[Symbol.iterator]=function(){return this}),ue;function verb(re){return function(ie){return step([re,ie])}}function step(le){if(se)throw new TypeError("Generator is already executing.");while(ue&&(ue=0,le[0]&&(oe=0)),oe)try{if(se=1,ae&&(ce=le[0]&2?ae["return"]:le[0]?ae["throw"]||((ce=ae["return"])&&ce.call(ae),0):ae.next)&&!(ce=ce.call(ae,le[1])).done)return ce;if(ae=0,ce)le=[le[0]&2,ce.value];switch(le[0]){case 0:case 1:ce=le;break;case 4:oe.label++;return{value:le[1],done:false};case 5:oe.label++;ae=le[1];le=[0];continue;case 7:le=oe.ops.pop();oe.trys.pop();continue;default:if(!(ce=oe.trys,ce=ce.length>0&&ce[ce.length-1])&&(le[0]===6||le[0]===2)){oe=0;continue}if(le[0]===3&&(!ce||le[1]>ce[0]&&le[1]0)&&!(ae=se.next()).done)ce.push(ae.value)}catch(re){ue={error:re}}finally{try{if(ae&&!ae.done&&(oe=se["return"]))oe.call(se)}finally{if(ue)throw ue.error}}return ce};var pe=this&&this.__spreadArray||function(re,ie,oe){if(oe||arguments.length===2)for(var se=0,ae=ie.length,ce;seie){return false}return true};PooledConnectionProvider.prototype._destroyConnection=function(re){delete this._openConnections[re.id];return re.close()};PooledConnectionProvider.prototype._verifyConnectivityAndGetServerVersion=function(re){var ie=re.address;return le(this,void 0,void 0,(function(){var re,oe;return fe(this,(function(se){switch(se.label){case 0:return[4,this._connectionPool.acquire({},ie)];case 1:re=se.sent();oe=new me.ServerInfo(re.server,re.protocol().version);se.label=2;case 2:se.trys.push([2,,5,7]);if(!!re.protocol().isLastMessageLogon())return[3,4];return[4,re.resetAndFlush()];case 3:se.sent();se.label=4;case 4:return[3,7];case 5:return[4,re._release()];case 6:se.sent();return[7];case 7:return[2,oe]}}))}))};PooledConnectionProvider.prototype._verifyAuthentication=function(re){var ie=re.getAddress,oe=re.auth;return le(this,void 0,void 0,(function(){var re,se,ae,ce,ue,le;return fe(this,(function(fe){switch(fe.label){case 0:re=[];fe.label=1;case 1:fe.trys.push([1,8,9,11]);return[4,ie()];case 2:se=fe.sent();return[4,this._connectionPool.acquire({auth:oe,skipReAuth:true},se)];case 3:ae=fe.sent();re.push(ae);ce=!ae.protocol().isLastMessageLogon();if(!ae.supportsReAuth){throw(0,me.newError)("Driver is connected to a database that does not support user switch.")}if(!(ce&&ae.supportsReAuth))return[3,5];return[4,this._authenticationProvider.authenticate({connection:ae,auth:oe,waitReAuth:true,forceReAuth:true})];case 4:fe.sent();return[3,7];case 5:if(!(ce&&!ae.supportsReAuth))return[3,7];return[4,this._connectionPool.acquire({auth:oe},se,{requireNew:true})];case 6:ue=fe.sent();ue._sticky=true;re.push(ue);fe.label=7;case 7:return[2,true];case 8:le=fe.sent();if(we.includes(le.code)){return[2,false]}throw le;case 9:return[4,Promise.all(re.map((function(re){return re._release()})))];case 10:fe.sent();return[7];case 11:return[2]}}))}))};PooledConnectionProvider.prototype._verifyStickyConnection=function(re){var ie=re.auth,oe=re.connection,se=re.address;return le(this,void 0,void 0,(function(){var re,se;return fe(this,(function(ae){switch(ae.label){case 0:re=ve.object.equals(ie,oe.authToken);se=!re;oe._sticky=re&&!oe.supportsReAuth;if(!(se||oe._sticky))return[3,2];return[4,oe._release()];case 1:ae.sent();throw(0,me.newError)("Driver is connected to a database that does not support user switch.");case 2:return[2]}}))}))};PooledConnectionProvider.prototype.close=function(){return le(this,void 0,void 0,(function(){return fe(this,(function(re){switch(re.label){case 0:return[4,this._connectionPool.close()];case 1:re.sent();return[4,Promise.all(Object.values(this._openConnections).map((function(re){return re.close()})))];case 2:re.sent();return[2]}}))}))};PooledConnectionProvider._installIdleObserverOnConnection=function(re,ie){re._queueObserver(ie)};PooledConnectionProvider._removeIdleObserverOnConnection=function(re){re._updateCurrentObserver()};PooledConnectionProvider.prototype._handleAuthorizationExpired=function(re,ie,oe){this._authenticationProvider.handleError({connection:oe,code:re.code});if(re.code==="Neo.ClientError.Security.AuthorizationExpired"){this._connectionPool.apply(ie,(function(re){re.authToken=null}))}if(oe){oe.close().catch((function(){return undefined}))}if(re.code==="Neo.ClientError.Security.TokenExpired"&&!(0,me.isStaticAuthTokenManger)(this._authTokenManager)){re.retriable=true}return re};return PooledConnectionProvider}(me.ConnectionProvider);ie["default"]=_e},2970:function(re,ie,oe){"use strict";var se=this&&this.__extends||function(){var extendStatics=function(re,ie){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,ie){re.__proto__=ie}||function(re,ie){for(var oe in ie)if(Object.prototype.hasOwnProperty.call(ie,oe))re[oe]=ie[oe]};return extendStatics(re,ie)};return function(re,ie){if(typeof ie!=="function"&&ie!==null)throw new TypeError("Class extends value "+String(ie)+" is not a constructor or null");extendStatics(re,ie);function __(){this.constructor=re}re.prototype=ie===null?Object.create(ie):(__.prototype=ie.prototype,new __)}}();var ae=this&&this.__assign||function(){ae=Object.assign||function(re){for(var ie,oe=1,se=arguments.length;oe0&&ce[ce.length-1])&&(le[0]===6||le[0]===2)){oe=0;continue}if(le[0]===3&&(!ce||le[1]>ce[0]&&le[1]=re.length)re=void 0;return{value:re&&re[se++],done:!re}}};throw new TypeError(ie?"Object is not iterable.":"Symbol.iterator is not defined.")};var he=this&&this.__read||function(re,ie){var oe=typeof Symbol==="function"&&re[Symbol.iterator];if(!oe)return re;var se=oe.call(re),ae,ce=[],ue;try{while((ie===void 0||ie-- >0)&&!(ae=se.next()).done)ce.push(ae.value)}catch(re){ue={error:re}}finally{try{if(ae&&!ae.done&&(oe=se["return"]))oe.call(se)}finally{if(ue)throw ue.error}}return ce};var Ae=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});var ge=oe(55065);var me=le(oe(47845));var ye=oe(31131);var ve=Ae(oe(59761));var be=Ae(oe(65390));var we=oe(30247);var _e=oe(55994);var Ee=ge.error.SERVICE_UNAVAILABLE,Ce=ge.error.SESSION_EXPIRED;var Ie=ge.internal.bookmarks.Bookmarks,Se=ge.internal.constants,Be=Se.ACCESS_MODE_READ,xe=Se.ACCESS_MODE_WRITE,ke=Se.BOLT_PROTOCOL_V3,Oe=Se.BOLT_PROTOCOL_V4_0,De=Se.BOLT_PROTOCOL_V4_4,Pe=Se.BOLT_PROTOCOL_V5_1;var Te="Neo.ClientError.Procedure.ProcedureNotFound";var Qe="Neo.ClientError.Database.DatabaseNotFound";var Re="Neo.ClientError.Transaction.InvalidBookmark";var Me="Neo.ClientError.Transaction.InvalidBookmarkMixture";var Ne="Neo.ClientError.Security.AuthorizationExpired";var je="Neo.ClientError.Statement.ArgumentError";var Le="Neo.ClientError.Request.Invalid";var Fe="Neo.ClientError.Statement.TypeError";var Ue="N/A";var He="system";var qe=null;var Ke=(0,ge.int)(3e4);var Ve=function(re){se(RoutingConnectionProvider,re);function RoutingConnectionProvider(ie){var oe=ie.id,se=ie.address,ce=ie.routingContext,ue=ie.hostNameResolver,le=ie.config,fe=ie.log,de=ie.userAgent,pe=ie.boltAgent,he=ie.authTokenManager,Ae=ie.routingTablePurgeDelay,ve=ie.newPool;var be=re.call(this,{id:oe,config:le,log:fe,userAgent:de,boltAgent:pe,authTokenManager:he,newPool:ve},(function(re){return(0,_e.createChannelConnection)(re,be._config,be._createConnectionErrorHandler(),be._log,be._routingContext)}))||this;be._routingContext=ae(ae({},ce),{address:se.toString()});be._seedRouter=se;be._rediscovery=new me.default(be._routingContext);be._loadBalancingStrategy=new we.LeastConnectedLoadBalancingStrategy(be._connectionPool);be._hostNameResolver=ue;be._dnsResolver=new ye.HostNameResolver;be._log=fe;be._useSeedRouter=true;be._routingTableRegistry=new Je(Ae?(0,ge.int)(Ae):Ke);return be}RoutingConnectionProvider.prototype._createConnectionErrorHandler=function(){return new _e.ConnectionErrorHandler(Ce)};RoutingConnectionProvider.prototype._handleUnavailability=function(re,ie,oe){this._log.warn("Routing driver ".concat(this._id," will forget ").concat(ie," for database '").concat(oe,"' because of an error ").concat(re.code," '").concat(re.message,"'"));this.forget(ie,oe||qe);return re};RoutingConnectionProvider.prototype._handleAuthorizationExpired=function(ie,oe,se,ae){this._log.warn("Routing driver ".concat(this._id," will close connections to ").concat(oe," for database '").concat(ae,"' because of an error ").concat(ie.code," '").concat(ie.message,"'"));return re.prototype._handleAuthorizationExpired.call(this,ie,oe,se,ae)};RoutingConnectionProvider.prototype._handleWriteFailure=function(re,ie,oe){this._log.warn("Routing driver ".concat(this._id," will forget writer ").concat(ie," for database '").concat(oe,"' because of an error ").concat(re.code," '").concat(re.message,"'"));this.forgetWriter(ie,oe||qe);return(0,ge.newError)("No longer possible to write to server at "+ie,Ce,re)};RoutingConnectionProvider.prototype.acquireConnection=function(re){var ie=re===void 0?{}:re,oe=ie.accessMode,se=ie.database,ae=ie.bookmarks,ce=ie.impersonatedUser,ue=ie.onDatabaseNameResolved,le=ie.auth;return fe(this,void 0,void 0,(function(){var re,ie,fe,pe,he,Ae,me,ye;var ve=this;return de(this,(function(de){switch(de.label){case 0:fe={database:se||qe};pe=new _e.ConnectionErrorHandler(Ce,(function(re,ie){return ve._handleUnavailability(re,ie,fe.database)}),(function(re,ie){return ve._handleWriteFailure(re,ie,fe.database)}),(function(re,ie,oe){return ve._handleAuthorizationExpired(re,ie,oe,fe.database)}));return[4,this._freshRoutingTable({accessMode:oe,database:fe.database,bookmarks:ae,impersonatedUser:ce,auth:le,onDatabaseNameResolved:function(re){fe.database=fe.database||re;if(ue){ue(re)}}})];case 1:he=de.sent();if(oe===Be){ie=this._loadBalancingStrategy.selectReader(he.readers);re="read"}else if(oe===xe){ie=this._loadBalancingStrategy.selectWriter(he.writers);re="write"}else{throw(0,ge.newError)("Illegal mode "+oe)}if(!ie){throw(0,ge.newError)("Failed to obtain connection towards ".concat(re," server. Known routing table is: ").concat(he),Ce)}de.label=2;case 2:de.trys.push([2,6,,7]);return[4,this._connectionPool.acquire({auth:le},ie)];case 3:Ae=de.sent();if(!le)return[3,5];return[4,this._verifyStickyConnection({auth:le,connection:Ae,address:ie})];case 4:de.sent();return[2,Ae];case 5:return[2,new _e.DelegateConnection(Ae,pe)];case 6:me=de.sent();ye=pe.handleAndTransformError(me,ie);throw ye;case 7:return[2]}}))}))};RoutingConnectionProvider.prototype._hasProtocolVersion=function(re){return fe(this,void 0,void 0,(function(){var ie,oe,se,ae,ce,ue;return de(this,(function(le){switch(le.label){case 0:return[4,this._resolveSeedRouter(this._seedRouter)];case 1:ie=le.sent();se=0;le.label=2;case 2:if(!(se=Oe}))];case 1:return[2,re.sent()]}}))}))};RoutingConnectionProvider.prototype.supportsTransactionConfig=function(){return fe(this,void 0,void 0,(function(){return de(this,(function(re){switch(re.label){case 0:return[4,this._hasProtocolVersion((function(re){return re>=ke}))];case 1:return[2,re.sent()]}}))}))};RoutingConnectionProvider.prototype.supportsUserImpersonation=function(){return fe(this,void 0,void 0,(function(){return de(this,(function(re){switch(re.label){case 0:return[4,this._hasProtocolVersion((function(re){return re>=De}))];case 1:return[2,re.sent()]}}))}))};RoutingConnectionProvider.prototype.supportsSessionAuth=function(){return fe(this,void 0,void 0,(function(){return de(this,(function(re){switch(re.label){case 0:return[4,this._hasProtocolVersion((function(re){return re>=Pe}))];case 1:return[2,re.sent()]}}))}))};RoutingConnectionProvider.prototype.getNegotiatedProtocolVersion=function(){var re=this;return new Promise((function(ie,oe){re._hasProtocolVersion(ie).catch(oe)}))};RoutingConnectionProvider.prototype.verifyAuthentication=function(re){var ie=re.database,oe=re.accessMode,se=re.auth;return fe(this,void 0,void 0,(function(){var re=this;return de(this,(function(ae){return[2,this._verifyAuthentication({auth:se,getAddress:function(){return fe(re,void 0,void 0,(function(){var re,ae,ce;return de(this,(function(ue){switch(ue.label){case 0:re={database:ie||qe};return[4,this._freshRoutingTable({accessMode:oe,database:re.database,auth:se,onDatabaseNameResolved:function(ie){re.database=re.database||ie}})];case 1:ae=ue.sent();ce=oe===xe?ae.writers:ae.readers;if(ce.length===0){throw(0,ge.newError)("No servers available for database '".concat(re.database,"' with access mode '").concat(oe,"'"),Ee)}return[2,ce[0]]}}))}))}})]}))}))};RoutingConnectionProvider.prototype.verifyConnectivityAndGetServerInfo=function(re){var ie=re.database,oe=re.accessMode;return fe(this,void 0,void 0,(function(){var re,se,ae,ce,ue,le,fe,he,Ae,me;var ye,ve;return de(this,(function(de){switch(de.label){case 0:re={database:ie||qe};return[4,this._freshRoutingTable({accessMode:oe,database:re.database,onDatabaseNameResolved:function(ie){re.database=re.database||ie}})];case 1:se=de.sent();ae=oe===xe?se.writers:se.readers;ce=(0,ge.newError)("No servers available for database '".concat(re.database,"' with access mode '").concat(oe,"'"),Ee);de.label=2;case 2:de.trys.push([2,9,10,11]);ue=pe(ae),le=ue.next();de.label=3;case 3:if(!!le.done)return[3,8];fe=le.value;de.label=4;case 4:de.trys.push([4,6,,7]);return[4,this._verifyConnectivityAndGetServerVersion({address:fe})];case 5:he=de.sent();return[2,he];case 6:Ae=de.sent();ce=Ae;return[3,7];case 7:le=ue.next();return[3,3];case 8:return[3,11];case 9:me=de.sent();ye={error:me};return[3,11];case 10:try{if(le&&!le.done&&(ve=ue.return))ve.call(ue)}finally{if(ye)throw ye.error}return[7];case 11:throw ce}}))}))};RoutingConnectionProvider.prototype.forget=function(re,ie){this._routingTableRegistry.apply(ie,{applyWhenExists:function(ie){return ie.forget(re)}});this._connectionPool.purge(re).catch((function(){}))};RoutingConnectionProvider.prototype.forgetWriter=function(re,ie){this._routingTableRegistry.apply(ie,{applyWhenExists:function(ie){return ie.forgetWriter(re)}})};RoutingConnectionProvider.prototype._freshRoutingTable=function(re){var ie=re===void 0?{}:re,oe=ie.accessMode,se=ie.database,ae=ie.bookmarks,ce=ie.impersonatedUser,ue=ie.onDatabaseNameResolved,le=ie.auth;var fe=this._routingTableRegistry.get(se,(function(){return new me.RoutingTable({database:se})}));if(!fe.isStaleFor(oe)){return fe}this._log.info('Routing table is stale for database: "'.concat(se,'" and access mode: "').concat(oe,'": ').concat(fe));return this._refreshRoutingTable(fe,ae,ce,ue,le)};RoutingConnectionProvider.prototype._refreshRoutingTable=function(re,ie,oe,se,ae){var ce=re.routers;if(this._useSeedRouter){return this._fetchRoutingTableFromSeedRouterFallbackToKnownRouters(ce,re,ie,oe,se,ae)}return this._fetchRoutingTableFromKnownRoutersFallbackToSeedRouter(ce,re,ie,oe,se,ae)};RoutingConnectionProvider.prototype._fetchRoutingTableFromSeedRouterFallbackToKnownRouters=function(re,ie,oe,se,ae,ce){return fe(this,void 0,void 0,(function(){var ue,le,fe,pe,Ae,ge,me;return de(this,(function(de){switch(de.label){case 0:ue=[];return[4,this._fetchRoutingTableUsingSeedRouter(ue,this._seedRouter,ie,oe,se,ce)];case 1:le=he.apply(void 0,[de.sent(),2]),fe=le[0],pe=le[1];if(!fe)return[3,2];this._useSeedRouter=false;return[3,4];case 2:return[4,this._fetchRoutingTableUsingKnownRouters(re,ie,oe,se,ce)];case 3:Ae=he.apply(void 0,[de.sent(),2]),ge=Ae[0],me=Ae[1];fe=ge;pe=me||pe;de.label=4;case 4:return[4,this._applyRoutingTableIfPossible(ie,fe,ae,pe)];case 5:return[2,de.sent()]}}))}))};RoutingConnectionProvider.prototype._fetchRoutingTableFromKnownRoutersFallbackToSeedRouter=function(re,ie,oe,se,ae,ce){return fe(this,void 0,void 0,(function(){var ue,le,fe;var pe;return de(this,(function(de){switch(de.label){case 0:return[4,this._fetchRoutingTableUsingKnownRouters(re,ie,oe,se,ce)];case 1:ue=he.apply(void 0,[de.sent(),2]),le=ue[0],fe=ue[1];if(!!le)return[3,3];return[4,this._fetchRoutingTableUsingSeedRouter(re,this._seedRouter,ie,oe,se,ce)];case 2:pe=he.apply(void 0,[de.sent(),2]),le=pe[0],fe=pe[1];de.label=3;case 3:return[4,this._applyRoutingTableIfPossible(ie,le,ae,fe)];case 4:return[2,de.sent()]}}))}))};RoutingConnectionProvider.prototype._fetchRoutingTableUsingKnownRouters=function(re,ie,oe,se,ae){return fe(this,void 0,void 0,(function(){var ce,ue,le,fe;return de(this,(function(de){switch(de.label){case 0:return[4,this._fetchRoutingTable(re,ie,oe,se,ae)];case 1:ce=he.apply(void 0,[de.sent(),2]),ue=ce[0],le=ce[1];if(ue){return[2,[ue,null]]}fe=re.length-1;RoutingConnectionProvider._forgetRouter(ie,re,fe);return[2,[null,le]]}}))}))};RoutingConnectionProvider.prototype._fetchRoutingTableUsingSeedRouter=function(re,ie,oe,se,ae,ce){return fe(this,void 0,void 0,(function(){var ue,le;return de(this,(function(fe){switch(fe.label){case 0:return[4,this._resolveSeedRouter(ie)];case 1:ue=fe.sent();le=ue.filter((function(ie){return re.indexOf(ie)<0}));return[4,this._fetchRoutingTable(le,oe,se,ae,ce)];case 2:return[2,fe.sent()]}}))}))};RoutingConnectionProvider.prototype._resolveSeedRouter=function(re){return fe(this,void 0,void 0,(function(){var ie,oe;var se=this;return de(this,(function(ae){switch(ae.label){case 0:return[4,this._hostNameResolver.resolve(re)];case 1:ie=ae.sent();return[4,Promise.all(ie.map((function(re){return se._dnsResolver.resolve(re)})))];case 2:oe=ae.sent();return[2,[].concat.apply([],oe)]}}))}))};RoutingConnectionProvider.prototype._fetchRoutingTable=function(re,ie,oe,se,ae){return fe(this,void 0,void 0,(function(){var ce=this;return de(this,(function(ue){return[2,re.reduce((function(ue,le,pe){return fe(ce,void 0,void 0,(function(){var ce,fe,Ae,ge,me,ye,ve;return de(this,(function(de){switch(de.label){case 0:return[4,ue];case 1:ce=he.apply(void 0,[de.sent(),1]),fe=ce[0];if(fe){return[2,[fe,null]]}else{Ae=pe-1;RoutingConnectionProvider._forgetRouter(ie,re,Ae)}return[4,this._createSessionForRediscovery(le,oe,se,ae)];case 2:ge=he.apply(void 0,[de.sent(),2]),me=ge[0],ye=ge[1];if(!me)return[3,8];de.label=3;case 3:de.trys.push([3,5,6,7]);return[4,this._rediscovery.lookupRoutingTableOnRouter(me,ie.database,le,se)];case 4:return[2,[de.sent(),null]];case 5:ve=de.sent();return[2,this._handleRediscoveryError(ve,le)];case 6:me.close();return[7];case 7:return[3,9];case 8:return[2,[null,ye]];case 9:return[2]}}))}))}),Promise.resolve([null,null]))]}))}))};RoutingConnectionProvider.prototype._createSessionForRediscovery=function(re,ie,oe,se){return fe(this,void 0,void 0,(function(){var ae,ce,ue,le,fe,pe;var he=this;return de(this,(function(de){switch(de.label){case 0:de.trys.push([0,4,,5]);return[4,this._connectionPool.acquire({auth:se},re)];case 1:ae=de.sent();if(!se)return[3,3];return[4,this._verifyStickyConnection({auth:se,connection:ae,address:re})];case 2:de.sent();de.label=3;case 3:ce=_e.ConnectionErrorHandler.create({errorCode:Ce,handleAuthorizationExpired:function(re,ie,oe){return he._handleAuthorizationExpired(re,ie,oe)}});ue=!ae._sticky?new _e.DelegateConnection(ae,ce):new _e.DelegateConnection(ae);le=new ve.default(ue);fe=ae.protocol().version;if(fe<4){return[2,[new ge.Session({mode:xe,bookmarks:Ie.empty(),connectionProvider:le}),null]]}return[2,[new ge.Session({mode:Be,database:He,bookmarks:ie,connectionProvider:le,impersonatedUser:oe}),null]];case 4:pe=de.sent();return[2,this._handleRediscoveryError(pe,re)];case 5:return[2]}}))}))};RoutingConnectionProvider.prototype._handleRediscoveryError=function(re,ie){if(_isFailFastError(re)||_isFailFastSecurityError(re)){throw re}else if(re.code===Te){throw(0,ge.newError)("Server at ".concat(ie.asHostPort()," can't perform routing. Make sure you are connecting to a causal cluster"),Ee,re)}this._log.warn("unable to fetch routing table because of an error ".concat(re));return[null,re]};RoutingConnectionProvider.prototype._applyRoutingTableIfPossible=function(re,ie,oe,se){return fe(this,void 0,void 0,(function(){return de(this,(function(ae){switch(ae.label){case 0:if(!ie){throw(0,ge.newError)("Could not perform discovery. No routing servers available. Known routing table: ".concat(re),Ee,se)}if(ie.writers.length===0){this._useSeedRouter=true}return[4,this._updateRoutingTable(ie,oe)];case 1:ae.sent();return[2,ie]}}))}))};RoutingConnectionProvider.prototype._updateRoutingTable=function(re,ie){return fe(this,void 0,void 0,(function(){return de(this,(function(oe){switch(oe.label){case 0:return[4,this._connectionPool.keepAll(re.allServers())];case 1:oe.sent();this._routingTableRegistry.removeExpired();this._routingTableRegistry.register(re);ie(re.database);this._log.info("Updated routing table ".concat(re));return[2]}}))}))};RoutingConnectionProvider._forgetRouter=function(re,ie,oe){var se=ie[oe];if(re&&se){re.forgetRouter(se)}};return RoutingConnectionProvider}(be.default);ie["default"]=Ve;var Je=function(){function RoutingTableRegistry(re){this._tables=new Map;this._routingTablePurgeDelay=re}RoutingTableRegistry.prototype.register=function(re){this._tables.set(re.database,re);return this};RoutingTableRegistry.prototype.apply=function(re,ie){var oe=ie===void 0?{}:ie,se=oe.applyWhenExists,ae=oe.applyWhenDontExists,ce=ae===void 0?function(){}:ae;if(this._tables.has(re)){se(this._tables.get(re))}else if(typeof re==="string"||re===null){ce()}else{this._forEach(se)}return this};RoutingTableRegistry.prototype.get=function(re,ie){if(this._tables.has(re)){return this._tables.get(re)}return typeof ie==="function"?ie():ie};RoutingTableRegistry.prototype.removeExpired=function(){var re=this;return this._removeIf((function(ie){return ie.isExpiredFor(re._routingTablePurgeDelay)}))};RoutingTableRegistry.prototype._forEach=function(re){var ie,oe;try{for(var se=pe(this._tables),ae=se.next();!ae.done;ae=se.next()){var ce=he(ae.value,2),ue=ce[1];re(ue)}}catch(re){ie={error:re}}finally{try{if(ae&&!ae.done&&(oe=se.return))oe.call(se)}finally{if(ie)throw ie.error}}return this};RoutingTableRegistry.prototype._remove=function(re){this._tables.delete(re);return this};RoutingTableRegistry.prototype._removeIf=function(re){var ie,oe;try{for(var se=pe(this._tables),ae=se.next();!ae.done;ae=se.next()){var ce=he(ae.value,2),ue=ce[0],le=ce[1];if(re(le)){this._remove(ue)}}}catch(re){ie={error:re}}finally{try{if(ae&&!ae.done&&(oe=se.return))oe.call(se)}finally{if(ie)throw ie.error}}return this};return RoutingTableRegistry}();function _isFailFastError(re){return[Qe,Re,Me,je,Le,Fe,Ue].includes(re.code)}function _isFailFastSecurityError(re){return re.code.startsWith("Neo.ClientError.Security.")&&![Ne].includes(re.code)}},59761:function(re,ie,oe){"use strict";var se=this&&this.__extends||function(){var extendStatics=function(re,ie){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,ie){re.__proto__=ie}||function(re,ie){for(var oe in ie)if(Object.prototype.hasOwnProperty.call(ie,oe))re[oe]=ie[oe]};return extendStatics(re,ie)};return function(re,ie){if(typeof ie!=="function"&&ie!==null)throw new TypeError("Class extends value "+String(ie)+" is not a constructor or null");extendStatics(re,ie);function __(){this.constructor=re}re.prototype=ie===null?Object.create(ie):(__.prototype=ie.prototype,new __)}}();Object.defineProperty(ie,"__esModule",{value:true});var ae=oe(55065);var ce=function(re){se(SingleConnectionProvider,re);function SingleConnectionProvider(ie){var oe=re.call(this)||this;oe._connection=ie;return oe}SingleConnectionProvider.prototype.acquireConnection=function(re){var ie=re===void 0?{}:re,oe=ie.accessMode,se=ie.database,ae=ie.bookmarks;var ce=this._connection;this._connection=null;return Promise.resolve(ce)};return SingleConnectionProvider}(ae.ConnectionProvider);ie["default"]=ce},73640:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});ie.RoutingConnectionProvider=ie.DirectConnectionProvider=ie.PooledConnectionProvider=ie.SingleConnectionProvider=void 0;var ae=oe(59761);Object.defineProperty(ie,"SingleConnectionProvider",{enumerable:true,get:function(){return se(ae).default}});var ce=oe(65390);Object.defineProperty(ie,"PooledConnectionProvider",{enumerable:true,get:function(){return se(ce).default}});var ue=oe(42808);Object.defineProperty(ie,"DirectConnectionProvider",{enumerable:true,get:function(){return se(ue).default}});var le=oe(2970);Object.defineProperty(ie,"RoutingConnectionProvider",{enumerable:true,get:function(){return se(le).default}})},7176:function(re,ie,oe){"use strict";var se=this&&this.__extends||function(){var extendStatics=function(re,ie){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,ie){re.__proto__=ie}||function(re,ie){for(var oe in ie)if(Object.prototype.hasOwnProperty.call(ie,oe))re[oe]=ie[oe]};return extendStatics(re,ie)};return function(re,ie){if(typeof ie!=="function"&&ie!==null)throw new TypeError("Class extends value "+String(ie)+" is not a constructor or null");extendStatics(re,ie);function __(){this.constructor=re}re.prototype=ie===null?Object.create(ie):(__.prototype=ie.prototype,new __)}}();var ae=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};var ce=this&&this.__generator||function(re,ie){var oe={label:0,sent:function(){if(ce[0]&1)throw ce[1];return ce[1]},trys:[],ops:[]},se,ae,ce,ue;return ue={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol==="function"&&(ue[Symbol.iterator]=function(){return this}),ue;function verb(re){return function(ie){return step([re,ie])}}function step(le){if(se)throw new TypeError("Generator is already executing.");while(ue&&(ue=0,le[0]&&(oe=0)),oe)try{if(se=1,ae&&(ce=le[0]&2?ae["return"]:le[0]?ae["throw"]||((ce=ae["return"])&&ce.call(ae),0):ae.next)&&!(ce=ce.call(ae,le[1])).done)return ce;if(ae=0,ce)le=[le[0]&2,ce.value];switch(le[0]){case 0:case 1:ce=le;break;case 4:oe.label++;return{value:le[1],done:false};case 5:oe.label++;ae=le[1];le=[0];continue;case 7:le=oe.ops.pop();oe.trys.pop();continue;default:if(!(ce=oe.trys,ce=ce.length>0&&ce[ce.length-1])&&(le[0]===6||le[0]===2)){oe=0;continue}if(le[0]===3&&(!ce||le[1]>ce[0]&&le[1]0){se._ch.setupReceiveTimeout(le*1e3)}else{se._log.info("Server located at ".concat(se._address," supplied an invalid connection receive timeout value (").concat(le,"). ")+"Please, verify the server configuration and status because this can be the symptom of a bigger issue.")}}}}ce(ae)}})}))};ChannelConnection.prototype.protocol=function(){return this._protocol};Object.defineProperty(ChannelConnection.prototype,"address",{get:function(){return this._address},enumerable:false,configurable:true});Object.defineProperty(ChannelConnection.prototype,"version",{get:function(){return this._server.version},set:function(re){this._server.version=re},enumerable:false,configurable:true});Object.defineProperty(ChannelConnection.prototype,"server",{get:function(){return this._server},enumerable:false,configurable:true});Object.defineProperty(ChannelConnection.prototype,"logger",{get:function(){return this._log},enumerable:false,configurable:true});ChannelConnection.prototype._handleFatalError=function(re){this._isBroken=true;this._error=this.handleAndTransformError(this._protocol.currentFailure||re,this._address);if(this._log.isErrorEnabled()){this._log.error("experienced a fatal error caused by ".concat(this._error," (").concat(fe.json.stringify(this._error),")"))}this._protocol.notifyFatalError(this._error)};ChannelConnection.prototype._queueObserver=function(re){return this._protocol.queueObserverIfProtocolIsNotBroken(re)};ChannelConnection.prototype.hasOngoingObservableRequests=function(){return this._protocol.hasOngoingObservableRequests()};ChannelConnection.prototype.resetAndFlush=function(){var re=this;return new Promise((function(ie,oe){re._reset({onError:function(ie){if(re._isBroken){oe(ie)}else{var se=re._handleProtocolError("Received FAILURE as a response for RESET: "+ie);oe(se)}},onComplete:function(){ie()}})}))};ChannelConnection.prototype._resetOnFailure=function(){var re=this;if(!this.isOpen()){return}this._reset({onError:function(){re._protocol.resetFailure()},onComplete:function(){re._protocol.resetFailure()}})};ChannelConnection.prototype._reset=function(re){var ie=this;if(this._reseting){if(!this._protocol.isLastMessageReset()){this._protocol.reset({onError:function(ie){re.onError(ie)},onComplete:function(){re.onComplete()}})}else{this._resetObservers.push(re)}return}this._resetObservers.push(re);this._reseting=true;var notifyFinish=function(re){ie._reseting=false;var oe=ie._resetObservers;ie._resetObservers=[];oe.forEach(re)};this._protocol.reset({onError:function(re){notifyFinish((function(ie){return ie.onError(re)}))},onComplete:function(){notifyFinish((function(re){return re.onComplete()}))}})};ChannelConnection.prototype._updateCurrentObserver=function(){this._protocol.updateCurrentObserver()};ChannelConnection.prototype.isOpen=function(){return!this._isBroken&&this._ch._open};ChannelConnection.prototype._handleOngoingRequestsNumberChange=function(re){if(re===0){this._ch.stopReceiveTimeout()}else{this._ch.startReceiveTimeout()}};ChannelConnection.prototype.close=function(){return ae(this,void 0,void 0,(function(){return ce(this,(function(re){switch(re.label){case 0:if(this._log.isDebugEnabled()){this._log.debug("closing")}if(this._protocol&&this.isOpen()){this._protocol.prepareToClose()}return[4,this._ch.close()];case 1:re.sent();if(this._log.isDebugEnabled()){this._log.debug("closed")}return[2]}}))}))};ChannelConnection.prototype.toString=function(){return"Connection [".concat(this.id,"][").concat(this.databaseId||"","]")};ChannelConnection.prototype._handleProtocolError=function(re){this._protocol.resetFailure();this._updateCurrentObserver();var ie=(0,fe.newError)(re,he);this._handleFatalError(ie);return ie};return ChannelConnection}(de.default);ie["default"]=me;function createConnectionLogger(re,ie){return new Ae(ie._level,(function(oe,se){return ie._loggerFunction(oe,"".concat(re," ").concat(se))}))}},71209:function(re,ie,oe){"use strict";var se=this&&this.__extends||function(){var extendStatics=function(re,ie){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,ie){re.__proto__=ie}||function(re,ie){for(var oe in ie)if(Object.prototype.hasOwnProperty.call(ie,oe))re[oe]=ie[oe]};return extendStatics(re,ie)};return function(re,ie){if(typeof ie!=="function"&&ie!==null)throw new TypeError("Class extends value "+String(ie)+" is not a constructor or null");extendStatics(re,ie);function __(){this.constructor=re}re.prototype=ie===null?Object.create(ie):(__.prototype=ie.prototype,new __)}}();var ae=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});var ce=ae(oe(27341));var ue=function(re){se(DelegateConnection,re);function DelegateConnection(ie,oe){var se=re.call(this,oe)||this;if(oe){se._originalErrorHandler=ie._errorHandler;ie._errorHandler=se._errorHandler}se._delegate=ie;return se}Object.defineProperty(DelegateConnection.prototype,"id",{get:function(){return this._delegate.id},enumerable:false,configurable:true});Object.defineProperty(DelegateConnection.prototype,"databaseId",{get:function(){return this._delegate.databaseId},set:function(re){this._delegate.databaseId=re},enumerable:false,configurable:true});Object.defineProperty(DelegateConnection.prototype,"server",{get:function(){return this._delegate.server},enumerable:false,configurable:true});Object.defineProperty(DelegateConnection.prototype,"authToken",{get:function(){return this._delegate.authToken},set:function(re){this._delegate.authToken=re},enumerable:false,configurable:true});Object.defineProperty(DelegateConnection.prototype,"supportsReAuth",{get:function(){return this._delegate.supportsReAuth},enumerable:false,configurable:true});Object.defineProperty(DelegateConnection.prototype,"address",{get:function(){return this._delegate.address},enumerable:false,configurable:true});Object.defineProperty(DelegateConnection.prototype,"version",{get:function(){return this._delegate.version},set:function(re){this._delegate.version=re},enumerable:false,configurable:true});DelegateConnection.prototype.isOpen=function(){return this._delegate.isOpen()};DelegateConnection.prototype.protocol=function(){return this._delegate.protocol()};DelegateConnection.prototype.connect=function(re,ie,oe,se){return this._delegate.connect(re,ie,oe,se)};DelegateConnection.prototype.write=function(re,ie,oe){return this._delegate.write(re,ie,oe)};DelegateConnection.prototype.resetAndFlush=function(){return this._delegate.resetAndFlush()};DelegateConnection.prototype.hasOngoingObservableRequests=function(){return this._delegate.hasOngoingObservableRequests()};DelegateConnection.prototype.close=function(){return this._delegate.close()};DelegateConnection.prototype._release=function(){if(this._originalErrorHandler){this._delegate._errorHandler=this._originalErrorHandler}return this._delegate._release()};return DelegateConnection}(ce.default);ie["default"]=ue},95902:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});var se=oe(55065);var ae=se.error.SERVICE_UNAVAILABLE,ce=se.error.SESSION_EXPIRED;var ue=function(){function ConnectionErrorHandler(re,ie,oe,se){this._errorCode=re;this._handleUnavailability=ie||noOpHandler;this._handleWriteFailure=oe||noOpHandler;this._handleAuthorizationExpired=se||noOpHandler}ConnectionErrorHandler.create=function(re){var ie=re.errorCode,oe=re.handleUnavailability,se=re.handleWriteFailure,ae=re.handleAuthorizationExpired;return new ConnectionErrorHandler(ie,oe,se,ae)};ConnectionErrorHandler.prototype.errorCode=function(){return this._errorCode};ConnectionErrorHandler.prototype.handleAndTransformError=function(re,ie,oe){if(isAutorizationExpiredError(re)){return this._handleAuthorizationExpired(re,ie,oe)}if(isAvailabilityError(re)){return this._handleUnavailability(re,ie,oe)}if(isFailureToWrite(re)){return this._handleWriteFailure(re,ie,oe)}return re};return ConnectionErrorHandler}();ie["default"]=ue;function isAutorizationExpiredError(re){return re&&(re.code==="Neo.ClientError.Security.AuthorizationExpired"||re.code==="Neo.ClientError.Security.TokenExpired")}function isAvailabilityError(re){if(re){return re.code===ce||re.code===ae||re.code==="Neo.TransientError.General.DatabaseUnavailable"}return false}function isFailureToWrite(re){if(re){return re.code==="Neo.ClientError.Cluster.NotALeader"||re.code==="Neo.ClientError.General.ForbiddenOnReadOnlyDatabase"}return false}function noOpHandler(re){return re}},27341:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});var se=oe(86934);var ae=function(){function Connection(re){this._errorHandler=re}Object.defineProperty(Connection.prototype,"id",{get:function(){throw new Error("not implemented")},enumerable:false,configurable:true});Object.defineProperty(Connection.prototype,"databaseId",{get:function(){throw new Error("not implemented")},set:function(re){throw new Error("not implemented")},enumerable:false,configurable:true});Object.defineProperty(Connection.prototype,"authToken",{get:function(){throw new Error("not implemented")},set:function(re){throw new Error("not implemented")},enumerable:false,configurable:true});Object.defineProperty(Connection.prototype,"supportsReAuth",{get:function(){throw new Error("not implemented")},enumerable:false,configurable:true});Connection.prototype.isOpen=function(){throw new Error("not implemented")};Connection.prototype.protocol=function(){throw new Error("not implemented")};Object.defineProperty(Connection.prototype,"address",{get:function(){throw new Error("not implemented")},enumerable:false,configurable:true});Object.defineProperty(Connection.prototype,"version",{get:function(){throw new Error("not implemented")},set:function(re){throw new Error("not implemented")},enumerable:false,configurable:true});Object.defineProperty(Connection.prototype,"server",{get:function(){throw new Error("not implemented")},enumerable:false,configurable:true});Connection.prototype.connect=function(re,ie,oe,se){throw new Error("not implemented")};Connection.prototype.write=function(re,ie,oe){throw new Error("not implemented")};Connection.prototype.resetAndFlush=function(){throw new Error("not implemented")};Connection.prototype.hasOngoingObservableRequests=function(){throw new Error("not implemented")};Connection.prototype.close=function(){throw new Error("not implemented")};Connection.prototype.handleAndTransformError=function(re,ie){if(this._errorHandler){return this._errorHandler.handleAndTransformError(re,ie,this)}return re};return Connection}();ie["default"]=ae},55994:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};var ue=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});ie.createChannelConnection=ie.ConnectionErrorHandler=ie.DelegateConnection=ie.ChannelConnection=ie.Connection=void 0;var le=ue(oe(27341));ie.Connection=le.default;var fe=ce(oe(7176));ie.ChannelConnection=fe.default;Object.defineProperty(ie,"createChannelConnection",{enumerable:true,get:function(){return fe.createChannelConnection}});var de=ue(oe(71209));ie.DelegateConnection=de.default;var pe=ue(oe(95902));ie.ConnectionErrorHandler=pe.default;ie["default"]=le.default},95167:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};var ue=this&&this.__exportStar||function(re,ie){for(var oe in re)if(oe!=="default"&&!Object.prototype.hasOwnProperty.call(ie,oe))se(ie,re,oe)};Object.defineProperty(ie,"__esModule",{value:true});ie.pool=ie.packstream=ie.channel=ie.buf=ie.bolt=ie.loadBalancing=void 0;ie.loadBalancing=ce(oe(30247));ie.bolt=ce(oe(86934));ie.buf=ce(oe(35509));ie.channel=ce(oe(31131));ie.packstream=ce(oe(32423));ie.pool=ce(oe(38154));ue(oe(73640),ie)},85625:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.identity=void 0;function identity(re){return re}ie.identity=identity},1059:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};Object.defineProperty(ie,"__esModule",{value:true});ie.object=ie.functional=void 0;ie.functional=ce(oe(85625));ie.object=ce(oe(9970))},9970:function(re,ie){"use strict";var oe=this&&this.__values||function(re){var ie=typeof Symbol==="function"&&Symbol.iterator,oe=ie&&re[ie],se=0;if(oe)return oe.call(re);if(re&&typeof re.length==="number")return{next:function(){if(re&&se>=re.length)re=void 0;return{value:re&&re[se++],done:!re}}};throw new TypeError(ie?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(ie,"__esModule",{value:true});ie.equals=void 0;function equals(re,ie){var se,ae;if(re===ie){return true}if(re===null||ie===null){return false}if(typeof re==="object"&&typeof ie==="object"){var ce=Object.keys(re);var ue=Object.keys(ie);if(ce.length!==ue.length){return false}try{for(var le=oe(ce),fe=le.next();!fe.done;fe=le.next()){var de=fe.value;if(re[de]!==ie[de]){return false}}}catch(re){se={error:re}}finally{try{if(fe&&!fe.done&&(ae=le.return))ae.call(le)}finally{if(se)throw se.error}}return true}return false}ie.equals=equals},30247:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});ie.LeastConnectedLoadBalancingStrategy=ie.LoadBalancingStrategy=void 0;var ae=se(oe(59744));ie.LoadBalancingStrategy=ae.default;var ce=se(oe(10978));ie.LeastConnectedLoadBalancingStrategy=ce.default;ie["default"]=ce.default},10978:function(re,ie,oe){"use strict";var se=this&&this.__extends||function(){var extendStatics=function(re,ie){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,ie){re.__proto__=ie}||function(re,ie){for(var oe in ie)if(Object.prototype.hasOwnProperty.call(ie,oe))re[oe]=ie[oe]};return extendStatics(re,ie)};return function(re,ie){if(typeof ie!=="function"&&ie!==null)throw new TypeError("Class extends value "+String(ie)+" is not a constructor or null");extendStatics(re,ie);function __(){this.constructor=re}re.prototype=ie===null?Object.create(ie):(__.prototype=ie.prototype,new __)}}();var ae=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});var ce=ae(oe(64450));var ue=ae(oe(59744));var le=function(re){se(LeastConnectedLoadBalancingStrategy,re);function LeastConnectedLoadBalancingStrategy(ie){var oe=re.call(this)||this;oe._readersIndex=new ce.default;oe._writersIndex=new ce.default;oe._connectionPool=ie;return oe}LeastConnectedLoadBalancingStrategy.prototype.selectReader=function(re){return this._select(re,this._readersIndex)};LeastConnectedLoadBalancingStrategy.prototype.selectWriter=function(re){return this._select(re,this._writersIndex)};LeastConnectedLoadBalancingStrategy.prototype._select=function(re,ie){var oe=re.length;if(oe===0){return null}var se=ie.next(oe);var ae=se;var ce=null;var ue=Number.MAX_SAFE_INTEGER;do{var le=re[ae];var fe=this._connectionPool.activeResourceCount(le);if(fe{"use strict";Object.defineProperty(ie,"__esModule",{value:true});var oe=function(){function LoadBalancingStrategy(){}LoadBalancingStrategy.prototype.selectReader=function(re){throw new Error("Abstract function")};LoadBalancingStrategy.prototype.selectWriter=function(re){throw new Error("Abstract function")};return LoadBalancingStrategy}();ie["default"]=oe},64450:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});var oe=function(){function RoundRobinArrayIndex(re){this._offset=re||0}RoundRobinArrayIndex.prototype.next=function(re){if(re===0){return-1}var ie=this._offset;this._offset+=1;if(this._offset===Number.MAX_SAFE_INTEGER){this._offset=0}return ie%re};return RoundRobinArrayIndex}();ie["default"]=oe},32423:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};Object.defineProperty(ie,"__esModule",{value:true});ie.structure=ie.v2=ie.v1=void 0;var ue=ce(oe(69607));ie.v1=ue;var le=ce(oe(75261));ie.v2=le;var fe=ce(oe(48466));ie.structure=fe;ie["default"]=le},69607:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.Unpacker=ie.Packer=void 0;var se=oe(31131);var ae=oe(1059);var ce=oe(48466);var ue=oe(55065);var le=ue.error.PROTOCOL_ERROR;var fe=128;var de=144;var pe=160;var he=176;var Ae=192;var ge=193;var me=194;var ye=195;var ve=200;var be=201;var we=202;var _e=203;var Ee=208;var Ce=209;var Ie=210;var Se=212;var Be=213;var xe=214;var ke=204;var Oe=205;var De=206;var Pe=216;var Te=217;var Qe=218;var Re=220;var Me=221;var Ne=function(){function Packer(re){this._ch=re;this._byteArraysSupported=true}Packer.prototype.packable=function(re,ie){var oe=this;if(ie===void 0){ie=ae.functional.identity}try{re=ie(re)}catch(re){return function(){throw re}}if(re===null){return function(){return oe._ch.writeUInt8(Ae)}}else if(re===true){return function(){return oe._ch.writeUInt8(ye)}}else if(re===false){return function(){return oe._ch.writeUInt8(me)}}else if(typeof re==="number"){return function(){return oe.packFloat(re)}}else if(typeof re==="string"){return function(){return oe.packString(re)}}else if(typeof re==="bigint"){return function(){return oe.packInteger((0,ue.int)(re))}}else if((0,ue.isInt)(re)){return function(){return oe.packInteger(re)}}else if(re instanceof Int8Array){return function(){return oe.packBytes(re)}}else if(re instanceof Array){return function(){oe.packListHeader(re.length);for(var se=0;se>0);this._ch.writeUInt8(oe%256);this._ch.writeBytes(ie)}else if(oe<4294967296){this._ch.writeUInt8(Ie);this._ch.writeUInt8((oe/16777216>>0)%256);this._ch.writeUInt8((oe/65536>>0)%256);this._ch.writeUInt8((oe/256>>0)%256);this._ch.writeUInt8(oe%256);this._ch.writeBytes(ie)}else{throw(0,ue.newError)("UTF-8 strings of size "+oe+" are not supported")}};Packer.prototype.packListHeader=function(re){if(re<16){this._ch.writeUInt8(de|re)}else if(re<256){this._ch.writeUInt8(Se);this._ch.writeUInt8(re)}else if(re<65536){this._ch.writeUInt8(Be);this._ch.writeUInt8((re/256>>0)%256);this._ch.writeUInt8(re%256)}else if(re<4294967296){this._ch.writeUInt8(xe);this._ch.writeUInt8((re/16777216>>0)%256);this._ch.writeUInt8((re/65536>>0)%256);this._ch.writeUInt8((re/256>>0)%256);this._ch.writeUInt8(re%256)}else{throw(0,ue.newError)("Lists of size "+re+" are not supported")}};Packer.prototype.packBytes=function(re){if(this._byteArraysSupported){this.packBytesHeader(re.length);for(var ie=0;ie>0)%256);this._ch.writeUInt8(re%256)}else if(re<4294967296){this._ch.writeUInt8(De);this._ch.writeUInt8((re/16777216>>0)%256);this._ch.writeUInt8((re/65536>>0)%256);this._ch.writeUInt8((re/256>>0)%256);this._ch.writeUInt8(re%256)}else{throw(0,ue.newError)("Byte arrays of size "+re+" are not supported")}};Packer.prototype.packMapHeader=function(re){if(re<16){this._ch.writeUInt8(pe|re)}else if(re<256){this._ch.writeUInt8(Pe);this._ch.writeUInt8(re)}else if(re<65536){this._ch.writeUInt8(Te);this._ch.writeUInt8(re/256>>0);this._ch.writeUInt8(re%256)}else if(re<4294967296){this._ch.writeUInt8(Qe);this._ch.writeUInt8((re/16777216>>0)%256);this._ch.writeUInt8((re/65536>>0)%256);this._ch.writeUInt8((re/256>>0)%256);this._ch.writeUInt8(re%256)}else{throw(0,ue.newError)("Maps of size "+re+" are not supported")}};Packer.prototype.packStructHeader=function(re,ie){if(re<16){this._ch.writeUInt8(he|re);this._ch.writeUInt8(ie)}else if(re<256){this._ch.writeUInt8(Re);this._ch.writeUInt8(re);this._ch.writeUInt8(ie)}else if(re<65536){this._ch.writeUInt8(Me);this._ch.writeUInt8(re/256>>0);this._ch.writeUInt8(re%256)}else{throw(0,ue.newError)("Structures of size "+re+" are not supported")}};Packer.prototype.disableByteArrays=function(){this._byteArraysSupported=false};Packer.prototype._nonPackableValue=function(re){return function(){throw(0,ue.newError)(re,le)}};return Packer}();ie.Packer=Ne;var je=function(){function Unpacker(re,ie){if(re===void 0){re=false}if(ie===void 0){ie=false}this._disableLosslessIntegers=re;this._useBigInt=ie}Unpacker.prototype.unpack=function(re,ie){if(ie===void 0){ie=ae.functional.identity}var oe=re.readUInt8();var se=oe&240;var ce=oe&15;if(oe===Ae){return null}var le=this._unpackBoolean(oe);if(le!==null){return le}var fe=this._unpackNumberOrInteger(oe,re);if(fe!==null){if((0,ue.isInt)(fe)){if(this._useBigInt){return fe.toBigInt()}else if(this._disableLosslessIntegers){return fe.toNumberOrInfinity()}}return fe}var de=this._unpackString(oe,se,ce,re);if(de!==null){return de}var pe=this._unpackList(oe,se,ce,re,ie);if(pe!==null){return pe}var he=this._unpackByteArray(oe,re);if(he!==null){return he}var ge=this._unpackMap(oe,se,ce,re,ie);if(ge!==null){return ge}var me=this._unpackStruct(oe,se,ce,re,ie);if(me!==null){return me}throw(0,ue.newError)("Unknown packed value with marker "+oe.toString(16))};Unpacker.prototype.unpackInteger=function(re){var ie=re.readUInt8();var oe=this._unpackInteger(ie,re);if(oe==null){throw(0,ue.newError)("Unable to unpack integer value with marker "+ie.toString(16))}return oe};Unpacker.prototype._unpackBoolean=function(re){if(re===ye){return true}else if(re===me){return false}else{return null}};Unpacker.prototype._unpackNumberOrInteger=function(re,ie){if(re===ge){return ie.readFloat64()}else{return this._unpackInteger(re,ie)}};Unpacker.prototype._unpackInteger=function(re,ie){if(re>=0&&re<128){return(0,ue.int)(re)}else if(re>=240&&re<256){return(0,ue.int)(re-256)}else if(re===ve){return(0,ue.int)(ie.readInt8())}else if(re===be){return(0,ue.int)(ie.readInt16())}else if(re===we){var oe=ie.readInt32();return(0,ue.int)(oe)}else if(re===_e){var se=ie.readInt32();var ae=ie.readInt32();return new ue.Integer(ae,se)}else{return null}};Unpacker.prototype._unpackString=function(re,ie,oe,ae){if(ie===fe){return se.utf8.decode(ae,oe)}else if(re===Ee){return se.utf8.decode(ae,ae.readUInt8())}else if(re===Ce){return se.utf8.decode(ae,ae.readUInt16())}else if(re===Ie){return se.utf8.decode(ae,ae.readUInt32())}else{return null}};Unpacker.prototype._unpackList=function(re,ie,oe,se,ae){if(ie===de){return this._unpackListWithSize(oe,se,ae)}else if(re===Se){return this._unpackListWithSize(se.readUInt8(),se,ae)}else if(re===Be){return this._unpackListWithSize(se.readUInt16(),se,ae)}else if(re===xe){return this._unpackListWithSize(se.readUInt32(),se,ae)}else{return null}};Unpacker.prototype._unpackListWithSize=function(re,ie,oe){var se=[];for(var ae=0;ae{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.verifyStructSize=ie.Structure=void 0;var se=oe(55065);var ae=se.error.PROTOCOL_ERROR;var ce=function(){function Structure(re,ie){this.signature=re;this.fields=ie}Object.defineProperty(Structure.prototype,"size",{get:function(){return this.fields.length},enumerable:false,configurable:true});Structure.prototype.toString=function(){var re="";for(var ie=0;ie0){re+=", "}re+=this.fields[ie]}return"Structure("+this.signature+", ["+re+"])"};return Structure}();ie.Structure=ce;function verifyStructSize(re,ie,oe){if(ie!==oe){throw(0,se.newError)("Wrong struct size for ".concat(re,", expected ").concat(ie," but was ").concat(oe),ae)}}ie.verifyStructSize=verifyStructSize;ie["default"]=ce},38154:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};var ue=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});ie.DEFAULT_MAX_SIZE=ie.DEFAULT_ACQUISITION_TIMEOUT=ie.PoolConfig=ie.Pool=void 0;var le=ce(oe(3838));ie.PoolConfig=le.default;Object.defineProperty(ie,"DEFAULT_ACQUISITION_TIMEOUT",{enumerable:true,get:function(){return le.DEFAULT_ACQUISITION_TIMEOUT}});Object.defineProperty(ie,"DEFAULT_MAX_SIZE",{enumerable:true,get:function(){return le.DEFAULT_MAX_SIZE}});var fe=ue(oe(64736));ie.Pool=fe.default;ie["default"]=fe.default},3838:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.DEFAULT_ACQUISITION_TIMEOUT=ie.DEFAULT_MAX_SIZE=void 0;var oe=100;ie.DEFAULT_MAX_SIZE=oe;var se=60*1e3;ie.DEFAULT_ACQUISITION_TIMEOUT=se;var ae=function(){function PoolConfig(re,ie){this.maxSize=valueOrDefault(re,oe);this.acquisitionTimeout=valueOrDefault(ie,se)}PoolConfig.defaultConfig=function(){return new PoolConfig(oe,se)};PoolConfig.fromDriverConfig=function(re){var ie=isConfigured(re.maxConnectionPoolSize);var ae=ie?re.maxConnectionPoolSize:oe;var ce=isConfigured(re.connectionAcquisitionTimeout);var ue=ce?re.connectionAcquisitionTimeout:se;return new PoolConfig(ae,ue)};return PoolConfig}();ie["default"]=ae;function valueOrDefault(re,ie){return re===0||re?re:ie}function isConfigured(re){return re===0||re}},64736:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};var ae=this&&this.__generator||function(re,ie){var oe={label:0,sent:function(){if(ce[0]&1)throw ce[1];return ce[1]},trys:[],ops:[]},se,ae,ce,ue;return ue={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol==="function"&&(ue[Symbol.iterator]=function(){return this}),ue;function verb(re){return function(ie){return step([re,ie])}}function step(le){if(se)throw new TypeError("Generator is already executing.");while(ue&&(ue=0,le[0]&&(oe=0)),oe)try{if(se=1,ae&&(ce=le[0]&2?ae["return"]:le[0]?ae["throw"]||((ce=ae["return"])&&ce.call(ae),0):ae.next)&&!(ce=ce.call(ae,le[1])).done)return ce;if(ae=0,ce)le=[le[0]&2,ce.value];switch(le[0]){case 0:case 1:ce=le;break;case 4:oe.label++;return{value:le[1],done:false};case 5:oe.label++;ae=le[1];le=[0];continue;case 7:le=oe.ops.pop();oe.trys.pop();continue;default:if(!(ce=oe.trys,ce=ce.length>0&&ce[ce.length-1])&&(le[0]===6||le[0]===2)){oe=0;continue}if(le[0]===3&&(!ce||le[1]>ce[0]&&le[1]0){fe=this.activeResourceCount(ie)+this._pendingCreates[se];if(fe>=this._maxSize){return[2,{resource:null,pool:ce}]}}this._pendingCreates[se]=this._pendingCreates[se]+1;ae.label=7;case 7:ae.trys.push([7,,11,12]);fe=this.activeResourceCount(ie)+ce.length;if(!(fe>=this._maxSize&&oe))return[3,9];pe=ce.pop();if(this._removeIdleObserver){this._removeIdleObserver(pe)}ce.removeInUse(pe);return[4,this._destroy(pe)];case 8:ae.sent();ae.label=9;case 9:return[4,this._create(re,ie,(function(re,ie){return he._release(re,ie,ce)}))];case 10:de=ae.sent();ce.pushInUse(de);resourceAcquired(se,this._activeResourceCounts);if(this._log.isDebugEnabled()){this._log.debug("".concat(de," created for the pool ").concat(se))}return[3,12];case 11:this._pendingCreates[se]=this._pendingCreates[se]-1;return[7];case 12:return[2,{resource:de,pool:ce}]}}))}))};Pool.prototype._release=function(re,ie,oe){return se(this,void 0,void 0,(function(){var se;var ce=this;return ae(this,(function(ae){switch(ae.label){case 0:se=re.asKey();if(!oe.isActive())return[3,5];return[4,this._validateOnRelease(ie)];case 1:if(!!ae.sent())return[3,3];if(this._log.isDebugEnabled()){this._log.debug("".concat(ie," destroyed and can't be released to the pool ").concat(se," because it is not functional"))}oe.removeInUse(ie);return[4,this._destroy(ie)];case 2:ae.sent();return[3,4];case 3:if(this._installIdleObserver){this._installIdleObserver(ie,{onError:function(re){ce._log.debug("Idle connection ".concat(ie," destroyed because of error: ").concat(re));var oe=ce._pools[se];if(oe){ce._pools[se]=oe.filter((function(re){return re!==ie}));oe.removeInUse(ie)}ce._destroy(ie).catch((function(){}))}})}oe.push(ie);if(this._log.isDebugEnabled()){this._log.debug("".concat(ie," released to the pool ").concat(se))}ae.label=4;case 4:return[3,7];case 5:if(this._log.isDebugEnabled()){this._log.debug("".concat(ie," destroyed and can't be released to the pool ").concat(se," because pool has been purged"))}oe.removeInUse(ie);return[4,this._destroy(ie)];case 6:ae.sent();ae.label=7;case 7:resourceReleased(se,this._activeResourceCounts);this._processPendingAcquireRequests(re);return[2]}}))}))};Pool.prototype._purgeKey=function(re){return se(this,void 0,void 0,(function(){var ie,oe,se;return ae(this,(function(ae){switch(ae.label){case 0:ie=this._pools[re];oe=[];if(!ie)return[3,2];while(ie.length){se=ie.pop();if(this._removeIdleObserver){this._removeIdleObserver(se)}oe.push(this._destroy(se))}ie.close();delete this._pools[re];return[4,Promise.all(oe)];case 1:ae.sent();ae.label=2;case 2:return[2]}}))}))};Pool.prototype._processPendingAcquireRequests=function(re){var ie=this;var oe=re.asKey();var se=this._acquireRequests[oe];if(se){var ae=se.shift();if(ae){this._acquire(ae.context,re,ae.requireNew).catch((function(re){ae.reject(re);return{resource:null}})).then((function(se){var ce=se.resource,ue=se.pool;if(ce){if(ae.isCompleted()){ie._release(re,ce,ue)}else{ae.resolve(ce)}}else{if(!ae.isCompleted()){if(!ie._acquireRequests[oe]){ie._acquireRequests[oe]=[]}ie._acquireRequests[oe].unshift(ae)}}}))}else{delete this._acquireRequests[oe]}}};return Pool}();function resourceAcquired(re,ie){var oe=ie[re]||0;ie[re]=oe+1}function resourceReleased(re,ie){var oe=ie[re]||0;var se=oe-1;if(se>0){ie[re]=se}else{delete ie[re]}}var pe=function(){function PendingRequest(re,ie,oe,se,ae,ce,ue){this._key=re;this._context=ie;this._resolve=se;this._reject=ae;this._timeoutId=ce;this._log=ue;this._completed=false;this._config=oe||{}}Object.defineProperty(PendingRequest.prototype,"context",{get:function(){return this._context},enumerable:false,configurable:true});Object.defineProperty(PendingRequest.prototype,"requireNew",{get:function(){return this._config.requireNew||false},enumerable:false,configurable:true});PendingRequest.prototype.isCompleted=function(){return this._completed};PendingRequest.prototype.resolve=function(re){if(this._completed){return}this._completed=true;clearTimeout(this._timeoutId);if(this._log.isDebugEnabled()){this._log.debug("".concat(re," acquired from the pool ").concat(this._key))}this._resolve(re)};PendingRequest.prototype.reject=function(re){if(this._completed){return}this._completed=true;clearTimeout(this._timeoutId);this._reject(re)};return PendingRequest}();var he=function(){function SingleAddressPool(){this._active=true;this._elements=[];this._elementsInUse=new Set}SingleAddressPool.prototype.isActive=function(){return this._active};SingleAddressPool.prototype.close=function(){this._active=false;this._elements=[];this._elementsInUse=new Set};SingleAddressPool.prototype.filter=function(re){this._elements=this._elements.filter(re);return this};SingleAddressPool.prototype.apply=function(re){this._elements.forEach(re);this._elementsInUse.forEach(re)};Object.defineProperty(SingleAddressPool.prototype,"length",{get:function(){return this._elements.length},enumerable:false,configurable:true});SingleAddressPool.prototype.pop=function(){var re=this._elements.pop();this._elementsInUse.add(re);return re};SingleAddressPool.prototype.push=function(re){this._elementsInUse.delete(re);return this._elements.push(re)};SingleAddressPool.prototype.pushInUse=function(re){this._elementsInUse.add(re)};SingleAddressPool.prototype.removeInUse=function(re){this._elementsInUse.delete(re)};return SingleAddressPool}();ie["default"]=de},47845:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});ie.RoutingTable=ie.Rediscovery=void 0;var ae=se(oe(73159));ie.Rediscovery=ae.default;var ce=se(oe(36478));ie.RoutingTable=ce.default;ie["default"]=ae.default},73159:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});var ae=se(oe(36478));var ce=oe(55065);var ue=function(){function Rediscovery(re){this._routingContext=re}Rediscovery.prototype.lookupRoutingTableOnRouter=function(re,ie,oe,se){var ce=this;return re._acquireConnection((function(ue){return ce._requestRawRoutingTable(ue,re,ie,oe,se).then((function(re){if(re.isNull){return null}return ae.default.fromRawRoutingTable(ie,oe,re)}))}))};Rediscovery.prototype._requestRawRoutingTable=function(re,ie,oe,se,ae){var ce=this;return new Promise((function(se,ue){re.protocol().requestRoutingInformation({routingContext:ce._routingContext,databaseName:oe,impersonatedUser:ae,sessionContext:{bookmarks:ie._lastBookmarks,mode:ie._mode,database:ie._database,afterComplete:ie._onComplete},onCompleted:se,onError:ue})}))};return Rediscovery}();ie["default"]=ue},36478:function(re,ie,oe){"use strict";var se=this&&this.__read||function(re,ie){var oe=typeof Symbol==="function"&&re[Symbol.iterator];if(!oe)return re;var se=oe.call(re),ae,ce=[],ue;try{while((ie===void 0||ie-- >0)&&!(ae=se.next()).done)ce.push(ae.value)}catch(re){ue={error:re}}finally{try{if(ae&&!ae.done&&(oe=se["return"]))oe.call(se)}finally{if(ue)throw ue.error}}return ce};var ae=this&&this.__spreadArray||function(re,ie,oe){if(oe||arguments.length===2)for(var se=0,ae=ie.length,ce;se0&&ce[ce.length-1])&&(le[0]===6||le[0]===2)){oe=0;continue}if(le[0]===3&&(!ce||le[1]>ce[0]&&le[1]{"use strict";Object.defineProperty(ie,"__esModule",{value:true});var oe={basic:function(re,ie,oe){if(oe!=null){return{scheme:"basic",principal:re,credentials:ie,realm:oe}}else{return{scheme:"basic",principal:re,credentials:ie}}},kerberos:function(re){return{scheme:"kerberos",principal:"",credentials:re}},bearer:function(re){return{scheme:"bearer",credentials:re}},none:function(){return{scheme:"none"}},custom:function(re,ie,oe,se,ae){var ce={scheme:se,principal:re};if(isNotEmpty(ie)){ce.credentials=ie}if(isNotEmpty(oe)){ce.realm=oe}if(isNotEmpty(ae)){ce.parameters=ae}return ce}};function isNotEmpty(re){return!(re===null||re===undefined||re===""||Object.getPrototypeOf(re)===Object.prototype&&Object.keys(re).length===0)}ie["default"]=oe},81445:function(re,ie){"use strict";var oe=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};var se=this&&this.__generator||function(re,ie){var oe={label:0,sent:function(){if(ce[0]&1)throw ce[1];return ce[1]},trys:[],ops:[]},se,ae,ce,ue;return ue={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol==="function"&&(ue[Symbol.iterator]=function(){return this}),ue;function verb(re){return function(ie){return step([re,ie])}}function step(le){if(se)throw new TypeError("Generator is already executing.");while(ue&&(ue=0,le[0]&&(oe=0)),oe)try{if(se=1,ae&&(ce=le[0]&2?ae["return"]:le[0]?ae["throw"]||((ce=ae["return"])&&ce.call(ae),0):ae.next)&&!(ce=ce.call(ae,le[1])).done)return ce;if(ae=0,ce)le=[le[0]&2,ce.value];switch(le[0]){case 0:case 1:ce=le;break;case 4:oe.label++;return{value:le[1],done:false};case 5:oe.label++;ae=le[1];le=[0];continue;case 7:le=oe.ops.pop();oe.trys.pop();continue;default:if(!(ce=oe.trys,ce=ce.length>0&&ce[ce.length-1])&&(le[0]===6||le[0]===2)){oe=0;continue}if(le[0]===3&&(!ce||le[1]>ce[0]&&le[1]=re.length)re=void 0;return{value:re&&re[se++],done:!re}}};throw new TypeError(ie?"Object is not iterable.":"Symbol.iterator is not defined.")};var ce=this&&this.__read||function(re,ie){var oe=typeof Symbol==="function"&&re[Symbol.iterator];if(!oe)return re;var se=oe.call(re),ae,ce=[],ue;try{while((ie===void 0||ie-- >0)&&!(ae=se.next()).done)ce.push(ae.value)}catch(re){ue={error:re}}finally{try{if(ae&&!ae.done&&(oe=se["return"]))oe.call(se)}finally{if(ue)throw ue.error}}return ce};var ue=this&&this.__spreadArray||function(re,ie,oe){if(oe||arguments.length===2)for(var se=0,ae=ie.length,ce;se{"use strict";Object.defineProperty(ie,"__esModule",{value:true});var oe=function(){function ConnectionProvider(){}ConnectionProvider.prototype.acquireConnection=function(re){throw Error("Not implemented")};ConnectionProvider.prototype.supportsMultiDb=function(){throw Error("Not implemented")};ConnectionProvider.prototype.supportsTransactionConfig=function(){throw Error("Not implemented")};ConnectionProvider.prototype.supportsUserImpersonation=function(){throw Error("Not implemented")};ConnectionProvider.prototype.supportsSessionAuth=function(){throw Error("Not implemented")};ConnectionProvider.prototype.verifyConnectivityAndGetServerInfo=function(re){throw Error("Not implemented")};ConnectionProvider.prototype.verifyAuthentication=function(re){throw Error("Not implemented")};ConnectionProvider.prototype.getNegotiatedProtocolVersion=function(){throw Error("Not Implemented")};ConnectionProvider.prototype.close=function(){throw Error("Not implemented")};return ConnectionProvider}();ie["default"]=oe},10985:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});var oe=function(){function Connection(){}Object.defineProperty(Connection.prototype,"id",{get:function(){return""},enumerable:false,configurable:true});Object.defineProperty(Connection.prototype,"databaseId",{get:function(){return""},enumerable:false,configurable:true});Object.defineProperty(Connection.prototype,"server",{get:function(){return{}},enumerable:false,configurable:true});Object.defineProperty(Connection.prototype,"authToken",{get:function(){return{}},enumerable:false,configurable:true});Object.defineProperty(Connection.prototype,"address",{get:function(){return undefined},enumerable:false,configurable:true});Object.defineProperty(Connection.prototype,"version",{get:function(){return undefined},enumerable:false,configurable:true});Object.defineProperty(Connection.prototype,"supportsReAuth",{get:function(){return false},enumerable:false,configurable:true});Connection.prototype.isOpen=function(){return false};Connection.prototype.protocol=function(){throw Error("Not implemented")};Connection.prototype.connect=function(re,ie,oe,se){throw Error("Not implemented")};Connection.prototype.write=function(re,ie,oe){throw Error("Not implemented")};Connection.prototype.resetAndFlush=function(){throw Error("Not implemented")};Connection.prototype.hasOngoingObservableRequests=function(){throw Error("Not implemented")};Connection.prototype.close=function(){throw Error("Not implemented")};Connection.prototype._release=function(){return Promise.resolve()};return Connection}();ie["default"]=oe},92148:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};var ae=this&&this.__generator||function(re,ie){var oe={label:0,sent:function(){if(ce[0]&1)throw ce[1];return ce[1]},trys:[],ops:[]},se,ae,ce,ue;return ue={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol==="function"&&(ue[Symbol.iterator]=function(){return this}),ue;function verb(re){return function(ie){return step([re,ie])}}function step(le){if(se)throw new TypeError("Generator is already executing.");while(ue&&(ue=0,le[0]&&(oe=0)),oe)try{if(se=1,ae&&(ce=le[0]&2?ae["return"]:le[0]?ae["throw"]||((ce=ae["return"])&&ce.call(ae),0):ae.next)&&!(ce=ce.call(ae,le[1])).done)return ce;if(ae=0,ce)le=[le[0]&2,ce.value];switch(le[0]){case 0:case 1:ce=le;break;case 4:oe.label++;return{value:le[1],done:false};case 5:oe.label++;ae=le[1];le=[0];continue;case 7:le=oe.ops.pop();oe.trys.pop();continue;default:if(!(ce=oe.trys,ce=ce.length>0&&ce[ce.length-1])&&(le[0]===6||le[0]===2)){oe=0;continue}if(le[0]===3&&(!ce||le[1]>ce[0]&&le[1]0||oe===0){return oe}else if(oe<0){return Number.MAX_SAFE_INTEGER}else{return ie}}function validateFetchSizeValue(re,ie){var oe=parseInt(re,10);if(oe>0||oe===fe.FETCH_ALL){return oe}else if(oe===0||oe<0){throw new Error("The fetch size can only be a positive value or ".concat(fe.FETCH_ALL," for ALL. However fetchSize = ").concat(oe))}else{return ie}}function extractConnectionTimeout(re){var ie=parseInt(re.connectionTimeout,10);if(ie===0){return null}else if(!isNaN(ie)&&ie<0){return null}else if(isNaN(ie)){return fe.DEFAULT_CONNECTION_TIMEOUT_MILLIS}else{return ie}}function createHostNameResolver(re){return new le.default(re.resolver)}ie["default"]=ke},5542:function(re,ie){"use strict";var oe=this&&this.__extends||function(){var extendStatics=function(re,ie){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,ie){re.__proto__=ie}||function(re,ie){for(var oe in ie)if(Object.prototype.hasOwnProperty.call(ie,oe))re[oe]=ie[oe]};return extendStatics(re,ie)};return function(re,ie){if(typeof ie!=="function"&&ie!==null)throw new TypeError("Class extends value "+String(ie)+" is not a constructor or null");extendStatics(re,ie);function __(){this.constructor=re}re.prototype=ie===null?Object.create(ie):(__.prototype=ie.prototype,new __)}}();Object.defineProperty(ie,"__esModule",{value:true});ie.PROTOCOL_ERROR=ie.SESSION_EXPIRED=ie.SERVICE_UNAVAILABLE=ie.Neo4jError=ie.isRetriableError=ie.newError=void 0;var se="ServiceUnavailable";ie.SERVICE_UNAVAILABLE=se;var ae="SessionExpired";ie.SESSION_EXPIRED=ae;var ce="ProtocolError";ie.PROTOCOL_ERROR=ce;var ue="N/A";var le=function(re){oe(Neo4jError,re);function Neo4jError(ie,oe,se){var ae=re.call(this,ie,se!=null?{cause:se}:undefined)||this;ae.constructor=Neo4jError;ae.__proto__=Neo4jError.prototype;ae.code=oe;ae.name="Neo4jError";ae.retriable=_isRetriableCode(oe);return ae}Neo4jError.isRetriable=function(re){return re!==null&&re!==undefined&&re instanceof Neo4jError&&re.retriable};return Neo4jError}(Error);ie.Neo4jError=le;function newError(re,ie,oe){return new le(re,ie!==null&&ie!==void 0?ie:ue,oe)}ie.newError=newError;var fe=le.isRetriable;ie.isRetriableError=fe;function _isRetriableCode(re){return re===se||re===ae||_isAuthorizationExpired(re)||_isTransientError(re)}function _isTransientError(re){return(re===null||re===void 0?void 0:re.includes("TransientError"))===true}function _isAuthorizationExpired(re){return re==="Neo.ClientError.Security.AuthorizationExpired"}},86847:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.isPathSegment=ie.PathSegment=ie.isPath=ie.Path=ie.isUnboundRelationship=ie.UnboundRelationship=ie.isRelationship=ie.Relationship=ie.isNode=ie.Node=void 0;var se=oe(86322);var ae={value:true,enumerable:false,configurable:false,writable:false};var ce="__isNode__";var ue="__isRelationship__";var le="__isUnboundRelationship__";var fe="__isPath__";var de="__isPathSegment__";function hasIdentifierProperty(re,ie){return re!=null&&re[ie]===true}var pe=function(){function Node(re,ie,oe,se){this.identity=re;this.labels=ie;this.properties=oe;this.elementId=_valueOrGetDefault(se,(function(){return re.toString()}))}Node.prototype.toString=function(){var re="("+this.elementId;for(var ie=0;ie0){re+=" {";for(var ie=0;ie0)re+=",";re+=oe[ie]+":"+(0,se.stringify)(this.properties[oe[ie]])}re+="}"}re+=")";return re};return Node}();ie.Node=pe;Object.defineProperty(pe.prototype,ce,ae);function isNode(re){return hasIdentifierProperty(re,ce)}ie.isNode=isNode;var he=function(){function Relationship(re,ie,oe,se,ae,ce,ue,le){this.identity=re;this.start=ie;this.end=oe;this.type=se;this.properties=ae;this.elementId=_valueOrGetDefault(ce,(function(){return re.toString()}));this.startNodeElementId=_valueOrGetDefault(ue,(function(){return ie.toString()}));this.endNodeElementId=_valueOrGetDefault(le,(function(){return oe.toString()}))}Relationship.prototype.toString=function(){var re="("+this.startNodeElementId+")-[:"+this.type;var ie=Object.keys(this.properties);if(ie.length>0){re+=" {";for(var oe=0;oe0)re+=",";re+=ie[oe]+":"+(0,se.stringify)(this.properties[ie[oe]])}re+="}"}re+="]->("+this.endNodeElementId+")";return re};return Relationship}();ie.Relationship=he;Object.defineProperty(he.prototype,ue,ae);function isRelationship(re){return hasIdentifierProperty(re,ue)}ie.isRelationship=isRelationship;var Ae=function(){function UnboundRelationship(re,ie,oe,se){this.identity=re;this.type=ie;this.properties=oe;this.elementId=_valueOrGetDefault(se,(function(){return re.toString()}))}UnboundRelationship.prototype.bind=function(re,ie){return new he(this.identity,re,ie,this.type,this.properties,this.elementId)};UnboundRelationship.prototype.bindTo=function(re,ie){return new he(this.identity,re.identity,ie.identity,this.type,this.properties,this.elementId,re.elementId,ie.elementId)};UnboundRelationship.prototype.toString=function(){var re="-[:"+this.type;var ie=Object.keys(this.properties);if(ie.length>0){re+=" {";for(var oe=0;oe0)re+=",";re+=ie[oe]+":"+(0,se.stringify)(this.properties[ie[oe]])}re+="}"}re+="]->";return re};return UnboundRelationship}();ie.UnboundRelationship=Ae;Object.defineProperty(Ae.prototype,le,ae);function isUnboundRelationship(re){return hasIdentifierProperty(re,le)}ie.isUnboundRelationship=isUnboundRelationship;var ge=function(){function PathSegment(re,ie,oe){this.start=re;this.relationship=ie;this.end=oe}return PathSegment}();ie.PathSegment=ge;Object.defineProperty(ge.prototype,de,ae);function isPathSegment(re){return hasIdentifierProperty(re,de)}ie.isPathSegment=isPathSegment;var me=function(){function Path(re,ie,oe){this.start=re;this.end=ie;this.segments=oe;this.length=oe.length}return Path}();ie.Path=me;Object.defineProperty(me.prototype,fe,ae);function isPath(re){return hasIdentifierProperty(re,fe)}ie.isPath=isPath;function _valueOrGetDefault(re,ie){return re===undefined||re===null?ie():re}},55065:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};var ue=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});ie.ManagedTransaction=ie.Transaction=ie.Connection=ie.ConnectionProvider=ie.EagerResult=ie.Result=ie.Stats=ie.QueryStatistics=ie.ProfiledPlan=ie.Plan=ie.Notification=ie.ServerInfo=ie.queryType=ie.ResultSummary=ie.Record=ie.isPathSegment=ie.PathSegment=ie.isPath=ie.Path=ie.isUnboundRelationship=ie.UnboundRelationship=ie.isRelationship=ie.Relationship=ie.isNode=ie.Node=ie.Time=ie.LocalTime=ie.LocalDateTime=ie.isTime=ie.isLocalTime=ie.isLocalDateTime=ie.isDuration=ie.isDateTime=ie.isDate=ie.Duration=ie.DateTime=ie.Date=ie.Point=ie.isPoint=ie.internal=ie.toString=ie.toNumber=ie.inSafeRange=ie.isInt=ie.int=ie.Integer=ie.error=ie.isRetriableError=ie.Neo4jError=ie.newError=void 0;ie.notificationFilterMinimumSeverityLevel=ie.notificationFilterDisabledCategory=ie.notificationSeverityLevel=ie.notificationCategory=ie.resultTransformers=ie.routing=ie.isStaticAuthTokenManger=ie.staticAuthTokenManager=ie.expirationBasedAuthTokenManager=ie.bookmarkManager=ie.auth=ie.json=ie.driver=ie.types=ie.Driver=ie.Session=ie.TransactionPromise=void 0;var le=oe(5542);Object.defineProperty(ie,"newError",{enumerable:true,get:function(){return le.newError}});Object.defineProperty(ie,"Neo4jError",{enumerable:true,get:function(){return le.Neo4jError}});Object.defineProperty(ie,"isRetriableError",{enumerable:true,get:function(){return le.isRetriableError}});var fe=ce(oe(6049));ie.Integer=fe.default;Object.defineProperty(ie,"int",{enumerable:true,get:function(){return fe.int}});Object.defineProperty(ie,"isInt",{enumerable:true,get:function(){return fe.isInt}});Object.defineProperty(ie,"inSafeRange",{enumerable:true,get:function(){return fe.inSafeRange}});Object.defineProperty(ie,"toNumber",{enumerable:true,get:function(){return fe.toNumber}});Object.defineProperty(ie,"toString",{enumerable:true,get:function(){return fe.toString}});var de=oe(45797);Object.defineProperty(ie,"Date",{enumerable:true,get:function(){return de.Date}});Object.defineProperty(ie,"DateTime",{enumerable:true,get:function(){return de.DateTime}});Object.defineProperty(ie,"Duration",{enumerable:true,get:function(){return de.Duration}});Object.defineProperty(ie,"isDate",{enumerable:true,get:function(){return de.isDate}});Object.defineProperty(ie,"isDateTime",{enumerable:true,get:function(){return de.isDateTime}});Object.defineProperty(ie,"isDuration",{enumerable:true,get:function(){return de.isDuration}});Object.defineProperty(ie,"isLocalDateTime",{enumerable:true,get:function(){return de.isLocalDateTime}});Object.defineProperty(ie,"isLocalTime",{enumerable:true,get:function(){return de.isLocalTime}});Object.defineProperty(ie,"isTime",{enumerable:true,get:function(){return de.isTime}});Object.defineProperty(ie,"LocalDateTime",{enumerable:true,get:function(){return de.LocalDateTime}});Object.defineProperty(ie,"LocalTime",{enumerable:true,get:function(){return de.LocalTime}});Object.defineProperty(ie,"Time",{enumerable:true,get:function(){return de.Time}});var pe=oe(86847);Object.defineProperty(ie,"Node",{enumerable:true,get:function(){return pe.Node}});Object.defineProperty(ie,"isNode",{enumerable:true,get:function(){return pe.isNode}});Object.defineProperty(ie,"Relationship",{enumerable:true,get:function(){return pe.Relationship}});Object.defineProperty(ie,"isRelationship",{enumerable:true,get:function(){return pe.isRelationship}});Object.defineProperty(ie,"UnboundRelationship",{enumerable:true,get:function(){return pe.UnboundRelationship}});Object.defineProperty(ie,"isUnboundRelationship",{enumerable:true,get:function(){return pe.isUnboundRelationship}});Object.defineProperty(ie,"Path",{enumerable:true,get:function(){return pe.Path}});Object.defineProperty(ie,"isPath",{enumerable:true,get:function(){return pe.isPath}});Object.defineProperty(ie,"PathSegment",{enumerable:true,get:function(){return pe.PathSegment}});Object.defineProperty(ie,"isPathSegment",{enumerable:true,get:function(){return pe.isPathSegment}});var he=ue(oe(62918));ie.Record=he.default;var Ae=oe(66364);Object.defineProperty(ie,"isPoint",{enumerable:true,get:function(){return Ae.isPoint}});Object.defineProperty(ie,"Point",{enumerable:true,get:function(){return Ae.Point}});var ge=ce(oe(1381));ie.ResultSummary=ge.default;Object.defineProperty(ie,"queryType",{enumerable:true,get:function(){return ge.queryType}});Object.defineProperty(ie,"ServerInfo",{enumerable:true,get:function(){return ge.ServerInfo}});Object.defineProperty(ie,"Notification",{enumerable:true,get:function(){return ge.Notification}});Object.defineProperty(ie,"Plan",{enumerable:true,get:function(){return ge.Plan}});Object.defineProperty(ie,"ProfiledPlan",{enumerable:true,get:function(){return ge.ProfiledPlan}});Object.defineProperty(ie,"QueryStatistics",{enumerable:true,get:function(){return ge.QueryStatistics}});Object.defineProperty(ie,"Stats",{enumerable:true,get:function(){return ge.Stats}});Object.defineProperty(ie,"notificationCategory",{enumerable:true,get:function(){return ge.notificationCategory}});Object.defineProperty(ie,"notificationSeverityLevel",{enumerable:true,get:function(){return ge.notificationSeverityLevel}});var me=oe(66007);Object.defineProperty(ie,"notificationFilterDisabledCategory",{enumerable:true,get:function(){return me.notificationFilterDisabledCategory}});Object.defineProperty(ie,"notificationFilterMinimumSeverityLevel",{enumerable:true,get:function(){return me.notificationFilterMinimumSeverityLevel}});var ye=ue(oe(58536));ie.Result=ye.default;var ve=ue(oe(6391));ie.EagerResult=ve.default;var be=ue(oe(50651));ie.ConnectionProvider=be.default;var we=ue(oe(10985));ie.Connection=we.default;var _e=ue(oe(32241));ie.Transaction=_e.default;var Ee=ue(oe(93169));ie.ManagedTransaction=Ee.default;var Ce=ue(oe(37269));ie.TransactionPromise=Ce.default;var Ie=ue(oe(55739));ie.Session=Ie.default;var Se=ce(oe(92148)),Be=Se;ie.Driver=Se.default;ie.driver=Be;var xe=ue(oe(8841));ie.auth=xe.default;var ke=oe(81445);Object.defineProperty(ie,"bookmarkManager",{enumerable:true,get:function(){return ke.bookmarkManager}});var Oe=oe(57432);Object.defineProperty(ie,"expirationBasedAuthTokenManager",{enumerable:true,get:function(){return Oe.expirationBasedAuthTokenManager}});Object.defineProperty(ie,"staticAuthTokenManager",{enumerable:true,get:function(){return Oe.staticAuthTokenManager}});Object.defineProperty(ie,"isStaticAuthTokenManger",{enumerable:true,get:function(){return Oe.isStaticAuthTokenManger}});var De=oe(92148);Object.defineProperty(ie,"routing",{enumerable:true,get:function(){return De.routing}});var Pe=ce(oe(47558));ie.types=Pe;var Te=ce(oe(86322));ie.json=Te;var Qe=ue(oe(36584));ie.resultTransformers=Qe.default;var Re=ce(oe(9318));ie.internal=Re;var Me={SERVICE_UNAVAILABLE:le.SERVICE_UNAVAILABLE,SESSION_EXPIRED:le.SESSION_EXPIRED,PROTOCOL_ERROR:le.PROTOCOL_ERROR};ie.error=Me;var Ne={newError:le.newError,Neo4jError:le.Neo4jError,isRetriableError:le.isRetriableError,error:Me,Integer:fe.default,int:fe.int,isInt:fe.isInt,inSafeRange:fe.inSafeRange,toNumber:fe.toNumber,toString:fe.toString,internal:Re,isPoint:Ae.isPoint,Point:Ae.Point,Date:de.Date,DateTime:de.DateTime,Duration:de.Duration,isDate:de.isDate,isDateTime:de.isDateTime,isDuration:de.isDuration,isLocalDateTime:de.isLocalDateTime,isLocalTime:de.isLocalTime,isTime:de.isTime,LocalDateTime:de.LocalDateTime,LocalTime:de.LocalTime,Time:de.Time,Node:pe.Node,isNode:pe.isNode,Relationship:pe.Relationship,isRelationship:pe.isRelationship,UnboundRelationship:pe.UnboundRelationship,isUnboundRelationship:pe.isUnboundRelationship,Path:pe.Path,isPath:pe.isPath,PathSegment:pe.PathSegment,isPathSegment:pe.isPathSegment,Record:he.default,ResultSummary:ge.default,queryType:ge.queryType,ServerInfo:ge.ServerInfo,Notification:ge.Notification,Plan:ge.Plan,ProfiledPlan:ge.ProfiledPlan,QueryStatistics:ge.QueryStatistics,Stats:ge.Stats,Result:ye.default,EagerResult:ve.default,Transaction:_e.default,ManagedTransaction:Ee.default,TransactionPromise:Ce.default,Session:Ie.default,Driver:Se.default,Connection:we.default,types:Pe,driver:Be,json:Te,auth:xe.default,bookmarkManager:ke.bookmarkManager,expirationBasedAuthTokenManager:Oe.expirationBasedAuthTokenManager,routing:De.routing,resultTransformers:Qe.default,notificationCategory:ge.notificationCategory,notificationSeverityLevel:ge.notificationSeverityLevel,notificationFilterDisabledCategory:me.notificationFilterDisabledCategory,notificationFilterMinimumSeverityLevel:me.notificationFilterMinimumSeverityLevel};ie["default"]=Ne},6049:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.toString=ie.toNumber=ie.inSafeRange=ie.isInt=ie.int=void 0;var se=oe(5542);var ae=new Map;var ce=function(){function Integer(re,ie){this.low=re!==null&&re!==void 0?re:0;this.high=ie!==null&&ie!==void 0?ie:0}Integer.prototype.inSafeRange=function(){return this.greaterThanOrEqual(Integer.MIN_SAFE_VALUE)&&this.lessThanOrEqual(Integer.MAX_SAFE_VALUE)};Integer.prototype.toInt=function(){return this.low};Integer.prototype.toNumber=function(){return this.high*fe+(this.low>>>0)};Integer.prototype.toBigInt=function(){if(this.isZero()){return BigInt(0)}else if(this.isPositive()){return BigInt(this.high>>>0)*BigInt(fe)+BigInt(this.low>>>0)}else{var re=this.negate();return BigInt(-1)*(BigInt(re.high>>>0)*BigInt(fe)+BigInt(re.low>>>0))}};Integer.prototype.toNumberOrInfinity=function(){if(this.lessThan(Integer.MIN_SAFE_VALUE)){return Number.NEGATIVE_INFINITY}else if(this.greaterThan(Integer.MAX_SAFE_VALUE)){return Number.POSITIVE_INFINITY}else{return this.toNumber()}};Integer.prototype.toString=function(re){re=re!==null&&re!==void 0?re:10;if(re<2||re>36){throw RangeError("radix out of range: "+re.toString())}if(this.isZero()){return"0"}var ie;if(this.isNegative()){if(this.equals(Integer.MIN_VALUE)){var oe=Integer.fromNumber(re);var se=this.div(oe);ie=se.multiply(oe).subtract(this);return se.toString(re)+ie.toInt().toString(re)}else{return"-"+this.negate().toString(re)}}var ae=Integer.fromNumber(Math.pow(re,6));ie=this;var ce="";while(true){var ue=ie.div(ae);var le=ie.subtract(ue.multiply(ae)).toInt()>>>0;var fe=le.toString(re);ie=ue;if(ie.isZero()){return fe+ce}else{while(fe.length<6){fe="0"+fe}ce=""+fe+ce}}};Integer.prototype.valueOf=function(){return this.toBigInt()};Integer.prototype.getHighBits=function(){return this.high};Integer.prototype.getLowBits=function(){return this.low};Integer.prototype.getNumBitsAbs=function(){if(this.isNegative()){return this.equals(Integer.MIN_VALUE)?64:this.negate().getNumBitsAbs()}var re=this.high!==0?this.high:this.low;var ie=0;for(ie=31;ie>0;ie--){if((re&1<=0};Integer.prototype.isOdd=function(){return(this.low&1)===1};Integer.prototype.isEven=function(){return(this.low&1)===0};Integer.prototype.equals=function(re){var ie=Integer.fromValue(re);return this.high===ie.high&&this.low===ie.low};Integer.prototype.notEquals=function(re){return!this.equals(re)};Integer.prototype.lessThan=function(re){return this.compare(re)<0};Integer.prototype.lessThanOrEqual=function(re){return this.compare(re)<=0};Integer.prototype.greaterThan=function(re){return this.compare(re)>0};Integer.prototype.greaterThanOrEqual=function(re){return this.compare(re)>=0};Integer.prototype.compare=function(re){var ie=Integer.fromValue(re);if(this.equals(ie)){return 0}var oe=this.isNegative();var se=ie.isNegative();if(oe&&!se){return-1}if(!oe&&se){return 1}return this.subtract(ie).isNegative()?-1:1};Integer.prototype.negate=function(){if(this.equals(Integer.MIN_VALUE)){return Integer.MIN_VALUE}return this.not().add(Integer.ONE)};Integer.prototype.add=function(re){var ie=Integer.fromValue(re);var oe=this.high>>>16;var se=this.high&65535;var ae=this.low>>>16;var ce=this.low&65535;var ue=ie.high>>>16;var le=ie.high&65535;var fe=ie.low>>>16;var de=ie.low&65535;var pe=0;var he=0;var Ae=0;var ge=0;ge+=ce+de;Ae+=ge>>>16;ge&=65535;Ae+=ae+fe;he+=Ae>>>16;Ae&=65535;he+=se+le;pe+=he>>>16;he&=65535;pe+=oe+ue;pe&=65535;return Integer.fromBits(Ae<<16|ge,pe<<16|he)};Integer.prototype.subtract=function(re){var ie=Integer.fromValue(re);return this.add(ie.negate())};Integer.prototype.multiply=function(re){if(this.isZero()){return Integer.ZERO}var ie=Integer.fromValue(re);if(ie.isZero()){return Integer.ZERO}if(this.equals(Integer.MIN_VALUE)){return ie.isOdd()?Integer.MIN_VALUE:Integer.ZERO}if(ie.equals(Integer.MIN_VALUE)){return this.isOdd()?Integer.MIN_VALUE:Integer.ZERO}if(this.isNegative()){if(ie.isNegative()){return this.negate().multiply(ie.negate())}else{return this.negate().multiply(ie).negate()}}else if(ie.isNegative()){return this.multiply(ie.negate()).negate()}if(this.lessThan(he)&&ie.lessThan(he)){return Integer.fromNumber(this.toNumber()*ie.toNumber())}var oe=this.high>>>16;var se=this.high&65535;var ae=this.low>>>16;var ce=this.low&65535;var ue=ie.high>>>16;var le=ie.high&65535;var fe=ie.low>>>16;var de=ie.low&65535;var pe=0;var Ae=0;var ge=0;var me=0;me+=ce*de;ge+=me>>>16;me&=65535;ge+=ae*de;Ae+=ge>>>16;ge&=65535;ge+=ce*fe;Ae+=ge>>>16;ge&=65535;Ae+=se*de;pe+=Ae>>>16;Ae&=65535;Ae+=ae*fe;pe+=Ae>>>16;Ae&=65535;Ae+=ce*le;pe+=Ae>>>16;Ae&=65535;pe+=oe*de+se*fe+ae*le+ce*ue;pe&=65535;return Integer.fromBits(ge<<16|me,pe<<16|Ae)};Integer.prototype.div=function(re){var ie=Integer.fromValue(re);if(ie.isZero()){throw(0,se.newError)("division by zero")}if(this.isZero()){return Integer.ZERO}var oe,ae,ce;if(this.equals(Integer.MIN_VALUE)){if(ie.equals(Integer.ONE)||ie.equals(Integer.NEG_ONE)){return Integer.MIN_VALUE}if(ie.equals(Integer.MIN_VALUE)){return Integer.ONE}else{var ue=this.shiftRight(1);oe=ue.div(ie).shiftLeft(1);if(oe.equals(Integer.ZERO)){return ie.isNegative()?Integer.ONE:Integer.NEG_ONE}else{ae=this.subtract(ie.multiply(oe));ce=oe.add(ae.div(ie));return ce}}}else if(ie.equals(Integer.MIN_VALUE)){return Integer.ZERO}if(this.isNegative()){if(ie.isNegative()){return this.negate().div(ie.negate())}return this.negate().div(ie).negate()}else if(ie.isNegative()){return this.div(ie.negate()).negate()}ce=Integer.ZERO;ae=this;while(ae.greaterThanOrEqual(ie)){oe=Math.max(1,Math.floor(ae.toNumber()/ie.toNumber()));var le=Math.ceil(Math.log(oe)/Math.LN2);var fe=le<=48?1:Math.pow(2,le-48);var de=Integer.fromNumber(oe);var pe=de.multiply(ie);while(pe.isNegative()||pe.greaterThan(ae)){oe-=fe;de=Integer.fromNumber(oe);pe=de.multiply(ie)}if(de.isZero()){de=Integer.ONE}ce=ce.add(de);ae=ae.subtract(pe)}return ce};Integer.prototype.modulo=function(re){var ie=Integer.fromValue(re);return this.subtract(this.div(ie).multiply(ie))};Integer.prototype.not=function(){return Integer.fromBits(~this.low,~this.high)};Integer.prototype.and=function(re){var ie=Integer.fromValue(re);return Integer.fromBits(this.low&ie.low,this.high&ie.high)};Integer.prototype.or=function(re){var ie=Integer.fromValue(re);return Integer.fromBits(this.low|ie.low,this.high|ie.high)};Integer.prototype.xor=function(re){var ie=Integer.fromValue(re);return Integer.fromBits(this.low^ie.low,this.high^ie.high)};Integer.prototype.shiftLeft=function(re){var ie=Integer.toNumber(re);if((ie&=63)===0){return Integer.ZERO}else if(ie<32){return Integer.fromBits(this.low<>>32-ie)}else{return Integer.fromBits(0,this.low<>>ie|this.high<<32-ie,this.high>>ie)}else{return Integer.fromBits(this.high>>ie-32,this.high>=0?0:-1)}};Integer.isInteger=function(re){return(re===null||re===void 0?void 0:re.__isInteger__)===true};Integer.fromInt=function(re){var ie;re=re|0;if(re>=-128&&re<128){ie=ae.get(re);if(ie!=null){return ie}}var oe=new Integer(re,re<0?-1:0);if(re>=-128&&re<128){ae.set(re,oe)}return oe};Integer.fromBits=function(re,ie){return new Integer(re,ie)};Integer.fromNumber=function(re){if(isNaN(re)||!isFinite(re)){return Integer.ZERO}if(re<=-pe){return Integer.MIN_VALUE}if(re+1>=pe){return Integer.MAX_VALUE}if(re<0){return Integer.fromNumber(-re).negate()}return new Integer(re%fe|0,re/fe|0)};Integer.fromString=function(re,ie,oe){var ae=oe===void 0?{}:oe,ce=ae.strictStringValidation;if(re.length===0){throw(0,se.newError)("number format error: empty string")}if(re==="NaN"||re==="Infinity"||re==="+Infinity"||re==="-Infinity"){return Integer.ZERO}ie=ie!==null&&ie!==void 0?ie:10;if(ie<2||ie>36){throw(0,se.newError)("radix out of range: "+ie.toString())}var ue;if((ue=re.indexOf("-"))>0){throw(0,se.newError)('number format error: interior "-" character: '+re)}else if(ue===0){return Integer.fromString(re.substring(1),ie).negate()}var le=Integer.fromNumber(Math.pow(ie,8));var fe=Integer.ZERO;for(var de=0;de{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.fromVersion=void 0;var se=oe(22037);function fromVersion(re,ie){if(ie===void 0){ie=function(){return{hostArch:process.config.variables.host_arch,nodeVersion:process.versions.node,v8Version:process.versions.v8,get platform(){return(0,se.platform)()},get release(){return(0,se.release)()}}}}var oe=ie();var ae=oe.hostArch;var ce="Node/"+oe.nodeVersion;var ue=oe.v8Version;var le="".concat(oe.platform," ").concat(oe.release);return{product:"neo4j-javascript/".concat(re),platform:"".concat(le,"; ").concat(ae),languageDetails:"".concat(ce," (v8 ").concat(ue,")")}}ie.fromVersion=fromVersion},17571:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__exportStar||function(re,ie){for(var oe in re)if(oe!=="default"&&!Object.prototype.hasOwnProperty.call(ie,oe))se(ie,re,oe)};Object.defineProperty(ie,"__esModule",{value:true});ae(oe(14874),ie)},54108:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};var ue=this&&this.__read||function(re,ie){var oe=typeof Symbol==="function"&&re[Symbol.iterator];if(!oe)return re;var se=oe.call(re),ae,ce=[],ue;try{while((ie===void 0||ie-- >0)&&!(ae=se.next()).done)ce.push(ae.value)}catch(re){ue={error:re}}finally{try{if(ae&&!ae.done&&(oe=se["return"]))oe.call(se)}finally{if(ue)throw ue.error}}return ce};var le=this&&this.__spreadArray||function(re,ie,oe){if(oe||arguments.length===2)for(var se=0,ae=ie.length,ce;se0&&ce[ce.length-1])&&(le[0]===6||le[0]===2)){oe=0;continue}if(le[0]===3&&(!ce||le[1]>ce[0]&&le[1]{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.BOLT_PROTOCOL_V5_3=ie.BOLT_PROTOCOL_V5_2=ie.BOLT_PROTOCOL_V5_1=ie.BOLT_PROTOCOL_V5_0=ie.BOLT_PROTOCOL_V4_4=ie.BOLT_PROTOCOL_V4_3=ie.BOLT_PROTOCOL_V4_2=ie.BOLT_PROTOCOL_V4_1=ie.BOLT_PROTOCOL_V4_0=ie.BOLT_PROTOCOL_V3=ie.BOLT_PROTOCOL_V2=ie.BOLT_PROTOCOL_V1=ie.DEFAULT_POOL_MAX_SIZE=ie.DEFAULT_POOL_ACQUISITION_TIMEOUT=ie.DEFAULT_CONNECTION_TIMEOUT_MILLIS=ie.ACCESS_MODE_WRITE=ie.ACCESS_MODE_READ=ie.FETCH_ALL=void 0;var oe=-1;ie.FETCH_ALL=oe;var se=60*1e3;ie.DEFAULT_POOL_ACQUISITION_TIMEOUT=se;var ae=100;ie.DEFAULT_POOL_MAX_SIZE=ae;var ce=3e4;ie.DEFAULT_CONNECTION_TIMEOUT_MILLIS=ce;var ue="READ";ie.ACCESS_MODE_READ=ue;var le="WRITE";ie.ACCESS_MODE_WRITE=le;var fe=1;ie.BOLT_PROTOCOL_V1=fe;var de=2;ie.BOLT_PROTOCOL_V2=de;var pe=3;ie.BOLT_PROTOCOL_V3=pe;var he=4;ie.BOLT_PROTOCOL_V4_0=he;var Ae=4.1;ie.BOLT_PROTOCOL_V4_1=Ae;var ge=4.2;ie.BOLT_PROTOCOL_V4_2=ge;var me=4.3;ie.BOLT_PROTOCOL_V4_3=me;var ye=4.4;ie.BOLT_PROTOCOL_V4_4=ye;var ve=5;ie.BOLT_PROTOCOL_V5_0=ve;var be=5.1;ie.BOLT_PROTOCOL_V5_1=be;var we=5.2;ie.BOLT_PROTOCOL_V5_2=we;var _e=5.3;ie.BOLT_PROTOCOL_V5_3=_e},9318:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};Object.defineProperty(ie,"__esModule",{value:true});ie.boltAgent=ie.objectUtil=ie.resolver=ie.serverAddress=ie.urlUtil=ie.logger=ie.transactionExecutor=ie.txConfig=ie.connectionHolder=ie.constants=ie.bookmarks=ie.observer=ie.temporalUtil=ie.util=void 0;var ue=ce(oe(56517));ie.util=ue;var le=ce(oe(87151));ie.temporalUtil=le;var fe=ce(oe(95400));ie.observer=fe;var de=ce(oe(54108));ie.bookmarks=de;var pe=ce(oe(8178));ie.constants=pe;var he=ce(oe(95461));ie.connectionHolder=he;var Ae=ce(oe(74059));ie.txConfig=Ae;var ge=ce(oe(59480));ie.transactionExecutor=ge;var me=ce(oe(11425));ie.logger=me;var ye=ce(oe(48842));ie.urlUtil=ye;var ve=ce(oe(19728));ie.serverAddress=ve;var be=ce(oe(19379));ie.resolver=be;var we=ce(oe(58690));ie.objectUtil=we;var _e=ce(oe(23007));ie.boltAgent=_e},11425:function(re,ie,oe){"use strict";var se=this&&this.__extends||function(){var extendStatics=function(re,ie){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,ie){re.__proto__=ie}||function(re,ie){for(var oe in ie)if(Object.prototype.hasOwnProperty.call(ie,oe))re[oe]=ie[oe]};return extendStatics(re,ie)};return function(re,ie){if(typeof ie!=="function"&&ie!==null)throw new TypeError("Class extends value "+String(ie)+" is not a constructor or null");extendStatics(re,ie);function __(){this.constructor=re}re.prototype=ie===null?Object.create(ie):(__.prototype=ie.prototype,new __)}}();var ae;Object.defineProperty(ie,"__esModule",{value:true});ie.Logger=void 0;var ce=oe(5542);var ue="error";var le="warn";var fe="info";var de="debug";var pe=fe;var he=(ae={},ae[ue]=0,ae[le]=1,ae[fe]=2,ae[de]=3,ae);var Ae=function(){function Logger(re,ie){this._level=re;this._loggerFunction=ie}Logger.create=function(re){if((re===null||re===void 0?void 0:re.logging)!=null){var ie=re.logging;var oe=extractConfiguredLevel(ie);var se=extractConfiguredLogger(ie);return new Logger(oe,se)}return this.noOp()};Logger.noOp=function(){return me};Logger.prototype.isErrorEnabled=function(){return isLevelEnabled(this._level,ue)};Logger.prototype.error=function(re){if(this.isErrorEnabled()){this._loggerFunction(ue,re)}};Logger.prototype.isWarnEnabled=function(){return isLevelEnabled(this._level,le)};Logger.prototype.warn=function(re){if(this.isWarnEnabled()){this._loggerFunction(le,re)}};Logger.prototype.isInfoEnabled=function(){return isLevelEnabled(this._level,fe)};Logger.prototype.info=function(re){if(this.isInfoEnabled()){this._loggerFunction(fe,re)}};Logger.prototype.isDebugEnabled=function(){return isLevelEnabled(this._level,de)};Logger.prototype.debug=function(re){if(this.isDebugEnabled()){this._loggerFunction(de,re)}};return Logger}();ie.Logger=Ae;var ge=function(re){se(NoOpLogger,re);function NoOpLogger(){return re.call(this,fe,(function(re,ie){}))||this}NoOpLogger.prototype.isErrorEnabled=function(){return false};NoOpLogger.prototype.error=function(re){};NoOpLogger.prototype.isWarnEnabled=function(){return false};NoOpLogger.prototype.warn=function(re){};NoOpLogger.prototype.isInfoEnabled=function(){return false};NoOpLogger.prototype.info=function(re){};NoOpLogger.prototype.isDebugEnabled=function(){return false};NoOpLogger.prototype.debug=function(re){};return NoOpLogger}(Ae);var me=new ge;function isLevelEnabled(re,ie){return he[re]>=he[ie]}function extractConfiguredLevel(re){if((re===null||re===void 0?void 0:re.level)!=null){var ie=re.level;var oe=he[ie];if(oe==null&&oe!==0){throw(0,ce.newError)("Illegal logging level: ".concat(ie,". Supported levels are: ").concat(Object.keys(he).toString()))}return ie}return pe}function extractConfiguredLogger(re){var ie,oe;if((re===null||re===void 0?void 0:re.logger)!=null){var se=re.logger;if(se!=null&&typeof se==="function"){return se}}throw(0,ce.newError)("Illegal logger function: ".concat((oe=(ie=re===null||re===void 0?void 0:re.logger)===null||ie===void 0?void 0:ie.toString())!==null&&oe!==void 0?oe:"undefined"))}},58690:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.getBrokenObjectReason=ie.isBrokenObject=ie.createBrokenObject=void 0;var oe="__isBrokenObject__";var se="__reason__";function createBrokenObject(re,ie){if(ie===void 0){ie={}}var fail=function(){throw re};return new Proxy(ie,{get:function(ie,ae){if(ae===oe){return true}else if(ae===se){return re}else if(ae==="toJSON"){return undefined}fail()},set:fail,apply:fail,construct:fail,defineProperty:fail,deleteProperty:fail,getOwnPropertyDescriptor:fail,getPrototypeOf:fail,has:fail,isExtensible:fail,ownKeys:fail,preventExtensions:fail,setPrototypeOf:fail})}ie.createBrokenObject=createBrokenObject;function isBrokenObject(re){return re!==null&&typeof re==="object"&&re[oe]===true}ie.isBrokenObject=isBrokenObject;function getBrokenObjectReason(re){return re[se]}ie.getBrokenObjectReason=getBrokenObjectReason},95400:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.FailedObserver=ie.CompletedObserver=void 0;var oe=function(){function CompletedObserver(){}CompletedObserver.prototype.subscribe=function(re){apply(re,re.onKeys,[]);apply(re,re.onCompleted,{})};CompletedObserver.prototype.cancel=function(){};CompletedObserver.prototype.pause=function(){};CompletedObserver.prototype.resume=function(){};CompletedObserver.prototype.prepareToHandleSingleResponse=function(){};CompletedObserver.prototype.markCompleted=function(){};CompletedObserver.prototype.onError=function(re){throw Error("CompletedObserver not supposed to call onError")};return CompletedObserver}();ie.CompletedObserver=oe;var se=function(){function FailedObserver(re){var ie=re.error,oe=re.onError;this._error=ie;this._beforeError=oe;this._observers=[];this.onError(ie)}FailedObserver.prototype.subscribe=function(re){apply(re,re.onError,this._error);this._observers.push(re)};FailedObserver.prototype.onError=function(re){apply(this,this._beforeError,re);this._observers.forEach((function(ie){return apply(ie,ie.onError,re)}))};FailedObserver.prototype.cancel=function(){};FailedObserver.prototype.pause=function(){};FailedObserver.prototype.resume=function(){};FailedObserver.prototype.markCompleted=function(){};FailedObserver.prototype.prepareToHandleSingleResponse=function(){};return FailedObserver}();ie.FailedObserver=se;function apply(re,ie,oe){if(ie!=null){ie.bind(re)(oe)}}},99051:function(re,ie){"use strict";var oe=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};var se=this&&this.__generator||function(re,ie){var oe={label:0,sent:function(){if(ce[0]&1)throw ce[1];return ce[1]},trys:[],ops:[]},se,ae,ce,ue;return ue={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol==="function"&&(ue[Symbol.iterator]=function(){return this}),ue;function verb(re){return function(ie){return step([re,ie])}}function step(le){if(se)throw new TypeError("Generator is already executing.");while(ue&&(ue=0,le[0]&&(oe=0)),oe)try{if(se=1,ae&&(ce=le[0]&2?ae["return"]:le[0]?ae["throw"]||((ce=ae["return"])&&ce.call(ae),0):ae.next)&&!(ce=ce.call(ae,le[1])).done)return ce;if(ae=0,ce)le=[le[0]&2,ce.value];switch(le[0]){case 0:case 1:ce=le;break;case 4:oe.label++;return{value:le[1],done:false};case 5:oe.label++;ae=le[1];le=[0];continue;case 7:le=oe.ops.pop();oe.trys.pop();continue;default:if(!(ce=oe.trys,ce=ce.length>0&&ce[ce.length-1])&&(le[0]===6||le[0]===2)){oe=0;continue}if(le[0]===3&&(!ce||le[1]>ce[0]&&le[1]{"use strict";Object.defineProperty(ie,"__esModule",{value:true});var oe=function(){function BaseHostNameResolver(){}BaseHostNameResolver.prototype.resolve=function(){throw new Error("Abstract function")};BaseHostNameResolver.prototype._resolveToItself=function(re){return Promise.resolve([re])};return BaseHostNameResolver}();ie["default"]=oe},51992:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});var se=oe(19728);function resolveToSelf(re){return Promise.resolve([re])}var ae=function(){function ConfiguredCustomResolver(re){this._resolverFunction=re!==null&&re!==void 0?re:resolveToSelf}ConfiguredCustomResolver.prototype.resolve=function(re){var ie=this;return new Promise((function(oe){return oe(ie._resolverFunction(re.asHostPort()))})).then((function(re){if(!Array.isArray(re)){throw new TypeError("Configured resolver function should either return an array of addresses or a Promise resolved with an array of addresses."+"Each address is ':'. Got: ".concat(re))}return re.map((function(re){return se.ServerAddress.fromUrl(re)}))}))};return ConfiguredCustomResolver}();ie["default"]=ae},19379:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});ie.ConfiguredCustomResolver=ie.BaseHostNameResolver=void 0;var ae=se(oe(31061));ie.BaseHostNameResolver=ae.default;var ce=se(oe(51992));ie.ConfiguredCustomResolver=ce.default},19728:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};Object.defineProperty(ie,"__esModule",{value:true});ie.ServerAddress=void 0;var ue=oe(56517);var le=ce(oe(48842));var fe=function(){function ServerAddress(re,ie,oe,se){this._host=(0,ue.assertString)(re,"host");this._resolved=ie!=null?(0,ue.assertString)(ie,"resolved"):null;this._port=(0,ue.assertNumber)(oe,"port");this._hostPort=se;this._stringValue=ie!=null?"".concat(se,"(").concat(ie,")"):"".concat(se)}ServerAddress.prototype.host=function(){return this._host};ServerAddress.prototype.resolvedHost=function(){return this._resolved!=null?this._resolved:this._host};ServerAddress.prototype.port=function(){return this._port};ServerAddress.prototype.resolveWith=function(re){return new ServerAddress(this._host,re,this._port,this._hostPort)};ServerAddress.prototype.asHostPort=function(){return this._hostPort};ServerAddress.prototype.asKey=function(){return this._hostPort};ServerAddress.prototype.toString=function(){return this._stringValue};ServerAddress.fromUrl=function(re){var ie=le.parseDatabaseUrl(re);return new ServerAddress(ie.host,null,ie.port,ie.hostAndPort)};return ServerAddress}();ie.ServerAddress=fe},87151:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};Object.defineProperty(ie,"__esModule",{value:true});ie.floorMod=ie.floorDiv=ie.assertValidZoneId=ie.assertValidNanosecond=ie.assertValidSecond=ie.assertValidMinute=ie.assertValidHour=ie.assertValidDay=ie.assertValidMonth=ie.assertValidYear=ie.timeZoneOffsetInSeconds=ie.totalNanoseconds=ie.newDate=ie.toStandardDate=ie.isoStringToStandardDate=ie.dateToIsoString=ie.timeZoneOffsetToIsoString=ie.timeToIsoString=ie.durationToIsoString=ie.dateToEpochDay=ie.localDateTimeToEpochSecond=ie.localTimeToNanoOfDay=ie.normalizeNanosecondsForDuration=ie.normalizeSecondsForDuration=ie.SECONDS_PER_DAY=ie.DAYS_PER_400_YEAR_CYCLE=ie.DAYS_0000_TO_1970=ie.NANOS_PER_HOUR=ie.NANOS_PER_MINUTE=ie.NANOS_PER_MILLISECOND=ie.NANOS_PER_SECOND=ie.SECONDS_PER_HOUR=ie.SECONDS_PER_MINUTE=ie.MINUTES_PER_HOUR=ie.NANOSECOND_OF_SECOND_RANGE=ie.SECOND_OF_MINUTE_RANGE=ie.MINUTE_OF_HOUR_RANGE=ie.HOUR_OF_DAY_RANGE=ie.DAY_OF_MONTH_RANGE=ie.MONTH_OF_YEAR_RANGE=ie.YEAR_RANGE=void 0;var ue=ce(oe(6049));var le=oe(5542);var fe=oe(56517);var de=function(){function ValueRange(re,ie){this._minNumber=re;this._maxNumber=ie;this._minInteger=(0,ue.int)(re);this._maxInteger=(0,ue.int)(ie)}ValueRange.prototype.contains=function(re){if((0,ue.isInt)(re)&&re instanceof ue.default){return re.greaterThanOrEqual(this._minInteger)&&re.lessThanOrEqual(this._maxInteger)}else if(typeof re==="bigint"){var ie=(0,ue.int)(re);return ie.greaterThanOrEqual(this._minInteger)&&ie.lessThanOrEqual(this._maxInteger)}else{return re>=this._minNumber&&re<=this._maxNumber}};ValueRange.prototype.toString=function(){return"[".concat(this._minNumber,", ").concat(this._maxNumber,"]")};return ValueRange}();ie.YEAR_RANGE=new de(-999999999,999999999);ie.MONTH_OF_YEAR_RANGE=new de(1,12);ie.DAY_OF_MONTH_RANGE=new de(1,31);ie.HOUR_OF_DAY_RANGE=new de(0,23);ie.MINUTE_OF_HOUR_RANGE=new de(0,59);ie.SECOND_OF_MINUTE_RANGE=new de(0,59);ie.NANOSECOND_OF_SECOND_RANGE=new de(0,999999999);ie.MINUTES_PER_HOUR=60;ie.SECONDS_PER_MINUTE=60;ie.SECONDS_PER_HOUR=ie.SECONDS_PER_MINUTE*ie.MINUTES_PER_HOUR;ie.NANOS_PER_SECOND=1e9;ie.NANOS_PER_MILLISECOND=1e6;ie.NANOS_PER_MINUTE=ie.NANOS_PER_SECOND*ie.SECONDS_PER_MINUTE;ie.NANOS_PER_HOUR=ie.NANOS_PER_MINUTE*ie.MINUTES_PER_HOUR;ie.DAYS_0000_TO_1970=719528;ie.DAYS_PER_400_YEAR_CYCLE=146097;ie.SECONDS_PER_DAY=86400;function normalizeSecondsForDuration(re,oe){return(0,ue.int)(re).add(floorDiv(oe,ie.NANOS_PER_SECOND))}ie.normalizeSecondsForDuration=normalizeSecondsForDuration;function normalizeNanosecondsForDuration(re){return floorMod(re,ie.NANOS_PER_SECOND)}ie.normalizeNanosecondsForDuration=normalizeNanosecondsForDuration;function localTimeToNanoOfDay(re,oe,se,ae){re=(0,ue.int)(re);oe=(0,ue.int)(oe);se=(0,ue.int)(se);ae=(0,ue.int)(ae);var ce=re.multiply(ie.NANOS_PER_HOUR);ce=ce.add(oe.multiply(ie.NANOS_PER_MINUTE));ce=ce.add(se.multiply(ie.NANOS_PER_SECOND));return ce.add(ae)}ie.localTimeToNanoOfDay=localTimeToNanoOfDay;function localDateTimeToEpochSecond(re,oe,se,ae,ce,ue,le){var fe=dateToEpochDay(re,oe,se);var de=localTimeToSecondOfDay(ae,ce,ue);return fe.multiply(ie.SECONDS_PER_DAY).add(de)}ie.localDateTimeToEpochSecond=localDateTimeToEpochSecond;function dateToEpochDay(re,oe,se){re=(0,ue.int)(re);oe=(0,ue.int)(oe);se=(0,ue.int)(se);var ae=re.multiply(365);if(re.greaterThanOrEqual(0)){ae=ae.add(re.add(3).div(4).subtract(re.add(99).div(100)).add(re.add(399).div(400)))}else{ae=ae.subtract(re.div(-4).subtract(re.div(-100)).add(re.div(-400)))}ae=ae.add(oe.multiply(367).subtract(362).div(12));ae=ae.add(se.subtract(1));if(oe.greaterThan(2)){ae=ae.subtract(1);if(!isLeapYear(re)){ae=ae.subtract(1)}}return ae.subtract(ie.DAYS_0000_TO_1970)}ie.dateToEpochDay=dateToEpochDay;function durationToIsoString(re,ie,oe,se){var ae=formatNumber(re);var ce=formatNumber(ie);var ue=formatSecondsAndNanosecondsForDuration(oe,se);return"P".concat(ae,"M").concat(ce,"DT").concat(ue,"S")}ie.durationToIsoString=durationToIsoString;function timeToIsoString(re,ie,oe,se){var ae=formatNumber(re,2);var ce=formatNumber(ie,2);var ue=formatNumber(oe,2);var le=formatNanosecond(se);return"".concat(ae,":").concat(ce,":").concat(ue).concat(le)}ie.timeToIsoString=timeToIsoString;function timeZoneOffsetToIsoString(re){re=(0,ue.int)(re);if(re.equals(0)){return"Z"}var oe=re.isNegative();if(oe){re=re.multiply(-1)}var se=oe?"-":"+";var ae=formatNumber(re.div(ie.SECONDS_PER_HOUR),2);var ce=formatNumber(re.div(ie.SECONDS_PER_MINUTE).modulo(ie.MINUTES_PER_HOUR),2);var le=re.modulo(ie.SECONDS_PER_MINUTE);var fe=le.equals(0)?null:formatNumber(le,2);return fe!=null?"".concat(se).concat(ae,":").concat(ce,":").concat(fe):"".concat(se).concat(ae,":").concat(ce)}ie.timeZoneOffsetToIsoString=timeZoneOffsetToIsoString;function dateToIsoString(re,ie,oe){var se=formatYear(re);var ae=formatNumber(ie,2);var ce=formatNumber(oe,2);return"".concat(se,"-").concat(ae,"-").concat(ce)}ie.dateToIsoString=dateToIsoString;function isoStringToStandardDate(re){return new Date(re)}ie.isoStringToStandardDate=isoStringToStandardDate;function toStandardDate(re){return new Date(re)}ie.toStandardDate=toStandardDate;function newDate(re){return new Date(re)}ie.newDate=newDate;function totalNanoseconds(re,oe){oe=oe!==null&&oe!==void 0?oe:0;var se=re.getMilliseconds()*ie.NANOS_PER_MILLISECOND;return add(oe,se)}ie.totalNanoseconds=totalNanoseconds;function timeZoneOffsetInSeconds(re){var oe=re.getSeconds()>=re.getUTCSeconds()?re.getSeconds()-re.getUTCSeconds():re.getSeconds()-re.getUTCSeconds()+60;var se=re.getTimezoneOffset();if(se===0){return 0+oe}return-1*se*ie.SECONDS_PER_MINUTE+oe}ie.timeZoneOffsetInSeconds=timeZoneOffsetInSeconds;function assertValidYear(re){return assertValidTemporalValue(re,ie.YEAR_RANGE,"Year")}ie.assertValidYear=assertValidYear;function assertValidMonth(re){return assertValidTemporalValue(re,ie.MONTH_OF_YEAR_RANGE,"Month")}ie.assertValidMonth=assertValidMonth;function assertValidDay(re){return assertValidTemporalValue(re,ie.DAY_OF_MONTH_RANGE,"Day")}ie.assertValidDay=assertValidDay;function assertValidHour(re){return assertValidTemporalValue(re,ie.HOUR_OF_DAY_RANGE,"Hour")}ie.assertValidHour=assertValidHour;function assertValidMinute(re){return assertValidTemporalValue(re,ie.MINUTE_OF_HOUR_RANGE,"Minute")}ie.assertValidMinute=assertValidMinute;function assertValidSecond(re){return assertValidTemporalValue(re,ie.SECOND_OF_MINUTE_RANGE,"Second")}ie.assertValidSecond=assertValidSecond;function assertValidNanosecond(re){return assertValidTemporalValue(re,ie.NANOSECOND_OF_SECOND_RANGE,"Nanosecond")}ie.assertValidNanosecond=assertValidNanosecond;function assertValidZoneId(re,ie){try{Intl.DateTimeFormat(undefined,{timeZone:ie})}catch(oe){throw(0,le.newError)("".concat(re,' is expected to be a valid ZoneId but was: "').concat(ie,'"'))}}ie.assertValidZoneId=assertValidZoneId;function assertValidTemporalValue(re,ie,oe){(0,fe.assertNumberOrInteger)(re,oe);if(!ie.contains(re)){throw(0,le.newError)("".concat(oe," is expected to be in range ").concat(ie.toString()," but was: ").concat(re.toString()))}return re}function localTimeToSecondOfDay(re,oe,se){re=(0,ue.int)(re);oe=(0,ue.int)(oe);se=(0,ue.int)(se);var ae=re.multiply(ie.SECONDS_PER_HOUR);ae=ae.add(oe.multiply(ie.SECONDS_PER_MINUTE));return ae.add(se)}function isLeapYear(re){re=(0,ue.int)(re);if(!re.modulo(4).equals(0)){return false}else if(!re.modulo(100).equals(0)){return true}else if(!re.modulo(400).equals(0)){return false}else{return true}}function floorDiv(re,ie){re=(0,ue.int)(re);ie=(0,ue.int)(ie);var oe=re.div(ie);if(re.isPositive()!==ie.isPositive()&&oe.multiply(ie).notEquals(re)){oe=oe.subtract(1)}return oe}ie.floorDiv=floorDiv;function floorMod(re,ie){re=(0,ue.int)(re);ie=(0,ue.int)(ie);return re.subtract(floorDiv(re,ie).multiply(ie))}ie.floorMod=floorMod;function formatSecondsAndNanosecondsForDuration(re,oe){re=(0,ue.int)(re);oe=(0,ue.int)(oe);var se;var ae;var ce=re.isNegative();var le=oe.greaterThan(0);if(ce&&le){if(re.equals(-1)){se="-0"}else{se=re.add(1).toString()}}else{se=re.toString()}if(le){if(ce){ae=formatNanosecond(oe.negate().add(2*ie.NANOS_PER_SECOND).modulo(ie.NANOS_PER_SECOND))}else{ae=formatNanosecond(oe.add(ie.NANOS_PER_SECOND).modulo(ie.NANOS_PER_SECOND))}}return ae!=null?se+ae:se}function formatNanosecond(re){re=(0,ue.int)(re);return re.equals(0)?"":"."+formatNumber(re,9)}function formatYear(re){var ie=(0,ue.int)(re);if(ie.isNegative()||ie.greaterThan(9999)){return formatNumber(ie,6,{usePositiveSign:true})}return formatNumber(ie,4)}function formatNumber(re,ie,oe){re=(0,ue.int)(re);var se=re.isNegative();if(se){re=re.negate()}var ae=re.toString();if(ie!=null){while(ae.length0&&ce[ce.length-1])&&(le[0]===6||le[0]===2)){oe=0;continue}if(le[0]===3&&(!ce||le[1]>ce[0]&&le[1]this._maxRetryTimeMs||!(0,ce.isRetriableError)(oe)){return Promise.reject(oe)}return new Promise((function(oe,se){var ce=le._computeDelayWithJitter(ae);var fe=setTimeout((function(){le._inFlightTimeoutIds=le._inFlightTimeoutIds.filter((function(re){return re!==fe}));le._executeTransactionInsidePromise(re,ie,oe,se,ue).catch(se)}),ce);le._inFlightTimeoutIds.push(fe)})).catch((function(oe){var ce=ae*le._multiplier;return le._retryTransactionPromise(re,ie,oe,se,ce,ue)}))};TransactionExecutor.prototype._executeTransactionInsidePromise=function(re,ie,oe,ce,ue){return se(this,void 0,void 0,(function(){var se,le,fe,de,pe;var he=this;return ae(this,(function(ae){switch(ae.label){case 0:ae.trys.push([0,2,,3]);return[4,re()];case 1:se=ae.sent();return[3,3];case 2:le=ae.sent();ce(le);return[2];case 3:fe=ue!==null&&ue!==void 0?ue:function(re){return re};de=fe(se);pe=this._safeExecuteTransactionWork(de,ie);pe.then((function(re){return he._handleTransactionWorkSuccess(re,se,oe,ce)})).catch((function(re){return he._handleTransactionWorkFailure(re,se,ce)}));return[2]}}))}))};TransactionExecutor.prototype._safeExecuteTransactionWork=function(re,ie){try{var oe=ie(re);return Promise.resolve(oe)}catch(re){return Promise.reject(re)}};TransactionExecutor.prototype._handleTransactionWorkSuccess=function(re,ie,oe,se){if(ie.isOpen()){ie.commit().then((function(){oe(re)})).catch((function(re){se(re)}))}else{oe(re)}};TransactionExecutor.prototype._handleTransactionWorkFailure=function(re,ie,oe){if(ie.isOpen()){ie.rollback().catch((function(re){})).then((function(){return oe(re)})).catch(oe)}else{oe(re)}};TransactionExecutor.prototype._computeDelayWithJitter=function(re){var ie=re*this._jitterFactor;var oe=re-ie;var se=re+ie;return Math.random()*(se-oe)+oe};TransactionExecutor.prototype._verifyAfterConstruction=function(){if(this._maxRetryTimeMs<0){throw(0,ce.newError)("Max retry time should be >= 0: "+this._maxRetryTimeMs.toString())}if(this._initialRetryDelayMs<0){throw(0,ce.newError)("Initial retry delay should >= 0: "+this._initialRetryDelayMs.toString())}if(this._multiplier<1){throw(0,ce.newError)("Multiplier should be >= 1.0: "+this._multiplier.toString())}if(this._jitterFactor<0||this._jitterFactor>1){throw(0,ce.newError)("Jitter factor should be in [0.0, 1.0]: "+this._jitterFactor.toFixed())}};return TransactionExecutor}();ie.TransactionExecutor=pe;function _valueOrDefault(re,ie){if(re!=null){return re}return ie}},74059:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};Object.defineProperty(ie,"__esModule",{value:true});ie.TxConfig=void 0;var ue=ce(oe(56517));var le=oe(5542);var fe=oe(6049);var de=function(){function TxConfig(re){assertValidConfig(re);this.timeout=extractTimeout(re);this.metadata=extractMetadata(re)}TxConfig.empty=function(){return pe};TxConfig.prototype.isEmpty=function(){return Object.values(this).every((function(re){return re==null}))};return TxConfig}();ie.TxConfig=de;var pe=new de({});function extractTimeout(re){if(ue.isObject(re)&&re.timeout!=null){ue.assertNumberOrInteger(re.timeout,"Transaction timeout");var ie=(0,fe.int)(re.timeout);if(ie.isNegative()){throw(0,le.newError)("Transaction timeout should not be negative")}return ie}return null}function extractMetadata(re){if(ue.isObject(re)&&re.metadata!=null){var ie=re.metadata;ue.assertObject(ie,"config.metadata");if(Object.keys(ie).length!==0){return ie}}return null}function assertValidConfig(re){if(re!=null){ue.assertObject(re,"Transaction config")}}},48842:function(re,ie,oe){"use strict";var se=this&&this.__assign||function(){se=Object.assign||function(re){for(var ie,oe=1,se=arguments.length;oe0)&&!(ae=se.next()).done)ce.push(ae.value)}catch(re){ue={error:re}}finally{try{if(ae&&!ae.done&&(oe=se["return"]))oe.call(se)}finally{if(ue)throw ue.error}}return ce};Object.defineProperty(ie,"__esModule",{value:true});ie.Url=ie.formatIPv6Address=ie.formatIPv4Address=ie.defaultPortForScheme=ie.parseDatabaseUrl=void 0;var ce=oe(56517);var ue=7687;var le=7474;var fe=7473;var de=function(){function Url(re,ie,oe,se,ae){this.scheme=re;this.host=ie;this.port=oe;this.hostAndPort=se;this.query=ae}return Url}();ie.Url=de;function parseDatabaseUrl(re){var ie;(0,ce.assertString)(re,"URL");var oe=sanitizeUrl(re);var se=uriJsParse(oe.url);var ae=oe.schemeMissing?null:extractScheme(se.scheme);var ue=extractHost(se.host);var le=formatHost(ue);var fe=extractPort(se.port,ae);var pe="".concat(le,":").concat(fe);var he=extractQuery((ie=se.query)!==null&&ie!==void 0?ie:extractResourceQueryString(se.resourceName),re);return new de(ae,ue,fe,pe,he)}ie.parseDatabaseUrl=parseDatabaseUrl;function extractResourceQueryString(re){if(typeof re!=="string"){return null}var ie=ae(re.split("?"),2),oe=ie[1];return oe}function sanitizeUrl(re){re=re.trim();if(!re.includes("://")){return{schemeMissing:true,url:"none://".concat(re)}}return{schemeMissing:false,url:re}}function extractScheme(re){if(re!=null){re=re.trim();if(re.charAt(re.length-1)===":"){re=re.substring(0,re.length-1)}return re}return null}function extractHost(re,ie){if(re==null){throw new Error("Unable to extract host from null or undefined URL")}return re.trim()}function extractPort(re,ie){var oe=typeof re==="string"?parseInt(re,10):re;return oe!=null&&!isNaN(oe)?oe:defaultPortForScheme(ie)}function extractQuery(re,ie){var oe=re!=null?trimAndSanitizeQuery(re):null;var se={};if(oe!=null){oe.split("&").forEach((function(re){var oe=re.split("=");if(oe.length!==2){throw new Error("Invalid parameters: '".concat(oe.toString(),"' in URL '").concat(ie,"'."))}var ae=trimAndVerifyQueryElement(oe[0],"key",ie);var ce=trimAndVerifyQueryElement(oe[1],"value",ie);if(se[ae]!==undefined){throw new Error("Duplicated query parameters with key '".concat(ae,"' in URL '").concat(ie,"'"))}se[ae]=ce}))}return se}function trimAndSanitizeQuery(re){re=(re!==null&&re!==void 0?re:"").trim();if((re===null||re===void 0?void 0:re.charAt(0))==="?"){re=re.substring(1,re.length)}return re}function trimAndVerifyQueryElement(re,ie,oe){re=(re!==null&&re!==void 0?re:"").trim();if(re===""){throw new Error("Illegal empty ".concat(ie," in URL query '").concat(oe,"'"))}return re}function escapeIPv6Address(re){var ie=re.charAt(0)==="[";var oe=re.charAt(re.length-1)==="]";if(!ie&&!oe){return"[".concat(re,"]")}else if(ie&&oe){return re}else{throw new Error("Illegal IPv6 address ".concat(re))}}function formatHost(re){if(re===""||re==null){throw new Error("Illegal host ".concat(re))}var ie=re.includes(":");return ie?escapeIPv6Address(re):re}function formatIPv4Address(re,ie){return"".concat(re,":").concat(ie)}ie.formatIPv4Address=formatIPv4Address;function formatIPv6Address(re,ie){var oe=escapeIPv6Address(re);return"".concat(oe,":").concat(ie)}ie.formatIPv6Address=formatIPv6Address;function defaultPortForScheme(re){if(re==="http"){return le}else if(re==="https"){return fe}else{return ue}}ie.defaultPortForScheme=defaultPortForScheme;function uriJsParse(re){function partition(re,ie){var oe=re.indexOf(ie);if(oe>=0)return[re.substring(0,oe),re[oe],re.substring(oe+1)];else return[re,"",""]}function rpartition(re,ie){var oe=re.lastIndexOf(ie);if(oe>=0)return[re.substring(0,oe),re[oe],re.substring(oe+1)];else return["","",re]}function between(re,ie,oe){var se=partition(re,ie);var ae=partition(se[2],oe);return[ae[0],ae[2]]}function parseAuthority(re){var ie={};var oe;oe=rpartition(re,"@");if(oe[1]==="@"){ie.userInfo=decodeURIComponent(oe[0]);re=oe[2]}var se=ae(between(re,"[","]"),2),ce=se[0],ue=se[1];if(ce!==""){ie.host=ce;oe=partition(ue,":")}else{oe=partition(re,":");ie.host=oe[0]}if(oe[1]===":"){ie.port=oe[2]}return ie}var ie={};var oe;oe=partition(re,":");if(oe[1]===":"){ie.scheme=decodeURIComponent(oe[0]);re=oe[2]}oe=partition(re,"#");if(oe[1]==="#"){ie.fragment=decodeURIComponent(oe[2]);re=oe[0]}oe=partition(re,"?");if(oe[1]==="?"){ie.query=oe[2];re=oe[0]}if(re.startsWith("//")){oe=partition(re.substr(2),"/");ie=se(se({},ie),parseAuthority(oe[0]));ie.path=oe[1]+oe[2]}else{ie.path=re}return ie}},56517:function(re,ie,oe){"use strict";var se=this&&this.__values||function(re){var ie=typeof Symbol==="function"&&Symbol.iterator,oe=ie&&re[ie],se=0;if(oe)return oe.call(re);if(re&&typeof re.length==="number")return{next:function(){if(re&&se>=re.length)re=void 0;return{value:re&&re[se++],done:!re}}};throw new TypeError(ie?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(ie,"__esModule",{value:true});ie.ENCRYPTION_OFF=ie.ENCRYPTION_ON=ie.equals=ie.validateQueryAndParameters=ie.assertValidDate=ie.assertNumberOrInteger=ie.assertNumber=ie.assertString=ie.assertObject=ie.isString=ie.isObject=ie.isEmptyObjectOrNull=void 0;var ae=oe(6049);var ce=oe(86322);var ue="ENCRYPTION_ON";ie.ENCRYPTION_ON=ue;var le="ENCRYPTION_OFF";ie.ENCRYPTION_OFF=le;function isEmptyObjectOrNull(re){if(re===null){return true}if(!isObject(re)){return false}for(var ie in re){if(re[ie]!==undefined){return false}}return true}ie.isEmptyObjectOrNull=isEmptyObjectOrNull;function isObject(re){return typeof re==="object"&&!Array.isArray(re)&&re!==null}ie.isObject=isObject;function validateQueryAndParameters(re,ie,oe){var se,ae;var ce="";var ue=ie!==null&&ie!==void 0?ie:{};var le=(se=oe===null||oe===void 0?void 0:oe.skipAsserts)!==null&&se!==void 0?se:false;if(typeof re==="string"){ce=re}else if(re instanceof String){ce=re.toString()}else if(typeof re==="object"&&re.text!=null){ce=re.text;ue=(ae=re.parameters)!==null&&ae!==void 0?ae:{}}if(!le){assertCypherQuery(ce);assertQueryParameters(ue)}return{validatedQuery:ce,params:ue}}ie.validateQueryAndParameters=validateQueryAndParameters;function assertObject(re,ie){if(!isObject(re)){throw new TypeError(ie+" expected to be an object but was: "+(0,ce.stringify)(re))}return re}ie.assertObject=assertObject;function assertString(re,ie){if(!isString(re)){throw new TypeError((0,ce.stringify)(ie)+" expected to be string but was: "+(0,ce.stringify)(re))}return re}ie.assertString=assertString;function assertNumber(re,ie){if(typeof re!=="number"){throw new TypeError(ie+" expected to be a number but was: "+(0,ce.stringify)(re))}return re}ie.assertNumber=assertNumber;function assertNumberOrInteger(re,ie){if(typeof re!=="number"&&typeof re!=="bigint"&&!(0,ae.isInt)(re)){throw new TypeError(ie+" expected to be either a number or an Integer object but was: "+(0,ce.stringify)(re))}return re}ie.assertNumberOrInteger=assertNumberOrInteger;function assertValidDate(re,ie){if(Object.prototype.toString.call(re)!=="[object Date]"){throw new TypeError(ie+" expected to be a standard JavaScript Date but was: "+(0,ce.stringify)(re))}if(Number.isNaN(re.getTime())){throw new TypeError(ie+" expected to be valid JavaScript Date but its time was NaN: "+(0,ce.stringify)(re))}return re}ie.assertValidDate=assertValidDate;function assertCypherQuery(re){assertString(re,"Cypher query");if(re.trim().length===0){throw new TypeError("Cypher query is expected to be a non-empty string.")}}function assertQueryParameters(re){if(!isObject(re)){var ie=re.constructor!=null?" "+re.constructor.name:"";throw new TypeError("Query parameters are expected to either be undefined/null or an object, given:".concat(ie," ").concat(JSON.stringify(re)))}}function isString(re){return Object.prototype.toString.call(re)==="[object String]"}ie.isString=isString;function equals(re,ie){var oe,ae;if(re===ie){return true}if(re===null||ie===null){return false}if(typeof re==="object"&&typeof ie==="object"){var ce=Object.keys(re);var ue=Object.keys(ie);if(ce.length!==ue.length){return false}try{for(var le=se(ce),fe=le.next();!fe.done;fe=le.next()){var de=fe.value;if(!equals(re[de],ie[de])){return false}}}catch(re){oe={error:re}}finally{try{if(fe&&!fe.done&&(ae=le.return))ae.call(le)}finally{if(oe)throw oe.error}}return true}return false}ie.equals=equals},86322:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.stringify=void 0;var se=oe(58690);function stringify(re){return JSON.stringify(re,(function(re,ie){if((0,se.isBrokenObject)(ie)){return{__isBrokenObject__:true,__reason__:(0,se.getBrokenObjectReason)(ie)}}if(typeof ie==="bigint"){return"".concat(ie,"n")}return ie}))}ie.stringify=stringify},66007:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.notificationFilterDisabledCategory=ie.notificationFilterMinimumSeverityLevel=void 0;var oe={OFF:"OFF",WARNING:"WARNING",INFORMATION:"INFORMATION"};ie.notificationFilterMinimumSeverityLevel=oe;Object.freeze(oe);var se={HINT:"HINT",UNRECOGNIZED:"UNRECOGNIZED",UNSUPPORTED:"UNSUPPORTED",PERFORMANCE:"PERFORMANCE",DEPRECATION:"DEPRECATION",GENERIC:"GENERIC"};ie.notificationFilterDisabledCategory=se;Object.freeze(se);var ae=function(){function NotificationFilter(){this.minimumSeverityLevel=undefined;this.disabledCategories=undefined;throw new Error("Not implemented")}return NotificationFilter}();ie["default"]=ae},62918:function(re,ie,oe){"use strict";var se=this&&this.__generator||function(re,ie){var oe={label:0,sent:function(){if(ce[0]&1)throw ce[1];return ce[1]},trys:[],ops:[]},se,ae,ce,ue;return ue={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol==="function"&&(ue[Symbol.iterator]=function(){return this}),ue;function verb(re){return function(ie){return step([re,ie])}}function step(le){if(se)throw new TypeError("Generator is already executing.");while(ue&&(ue=0,le[0]&&(oe=0)),oe)try{if(se=1,ae&&(ce=le[0]&2?ae["return"]:le[0]?ae["throw"]||((ce=ae["return"])&&ce.call(ae),0):ae.next)&&!(ce=ce.call(ae,le[1])).done)return ce;if(ae=0,ce)le=[le[0]&2,ce.value];switch(le[0]){case 0:case 1:ce=le;break;case 4:oe.label++;return{value:le[1],done:false};case 5:oe.label++;ae=le[1];le=[0];continue;case 7:le=oe.ops.pop();oe.trys.pop();continue;default:if(!(ce=oe.trys,ce=ce.length>0&&ce[ce.length-1])&&(le[0]===6||le[0]===2)){oe=0;continue}if(le[0]===3&&(!ce||le[1]>ce[0]&&le[1]=re.length)re=void 0;return{value:re&&re[se++],done:!re}}};throw new TypeError(ie?"Object is not iterable.":"Symbol.iterator is not defined.")};var ce=this&&this.__read||function(re,ie){var oe=typeof Symbol==="function"&&re[Symbol.iterator];if(!oe)return re;var se=oe.call(re),ae,ce=[],ue;try{while((ie===void 0||ie-- >0)&&!(ae=se.next()).done)ce.push(ae.value)}catch(re){ue={error:re}}finally{try{if(ae&&!ae.done&&(oe=se["return"]))oe.call(se)}finally{if(ue)throw ue.error}}return ce};Object.defineProperty(ie,"__esModule",{value:true});var ue=oe(5542);function generateFieldLookup(re){var ie={};re.forEach((function(re,oe){ie[re]=oe}));return ie}var le=function(){function Record(re,ie,oe){this.keys=re;this.length=re.length;this._fields=ie;this._fieldLookup=oe!==null&&oe!==void 0?oe:generateFieldLookup(re)}Record.prototype.forEach=function(re){var ie,oe;try{for(var se=ae(this.entries()),ue=se.next();!ue.done;ue=se.next()){var le=ce(ue.value,2),fe=le[0],de=le[1];re(de,fe,this)}}catch(re){ie={error:re}}finally{try{if(ue&&!ue.done&&(oe=se.return))oe.call(se)}finally{if(ie)throw ie.error}}};Record.prototype.map=function(re){var ie,oe;var se=[];try{for(var ue=ae(this.entries()),le=ue.next();!le.done;le=ue.next()){var fe=ce(le.value,2),de=fe[0],pe=fe[1];se.push(re(pe,de,this))}}catch(re){ie={error:re}}finally{try{if(le&&!le.done&&(oe=ue.return))oe.call(ue)}finally{if(ie)throw ie.error}}return se};Record.prototype.entries=function(){var re;return se(this,(function(ie){switch(ie.label){case 0:re=0;ie.label=1;case 1:if(!(rethis._fields.length-1||ie<0){throw(0,ue.newError)("This record has no field with index '"+ie.toString()+"'. Remember that indexes start at `0`, "+"and make sure your query returns records in the shape you meant it to.")}return this._fields[ie]};Record.prototype.has=function(re){if(typeof re==="number"){return re>=0&&re{"use strict";Object.defineProperty(ie,"__esModule",{value:true});var oe=function(){function EagerResult(re,ie,oe){this.keys=re;this.records=ie;this.summary=oe}return EagerResult}();ie["default"]=oe},1381:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};Object.defineProperty(ie,"__esModule",{value:true});ie.notificationCategory=ie.notificationSeverityLevel=ie.Stats=ie.QueryStatistics=ie.ProfiledPlan=ie.Plan=ie.Notification=ie.ServerInfo=ie.queryType=void 0;var ue=ce(oe(6049));var le=function(){function ResultSummary(re,ie,oe,se){var ae,ce,ue;this.query={text:re,parameters:ie};this.queryType=oe.type;this.counters=new he((ae=oe.stats)!==null&&ae!==void 0?ae:{});this.updateStatistics=this.counters;this.plan=oe.plan!=null||oe.profile!=null?new fe((ce=oe.plan)!==null&&ce!==void 0?ce:oe.profile):false;this.profile=oe.profile!=null?new de(oe.profile):false;this.notifications=this._buildNotifications(oe.notifications);this.server=new be(oe.server,se);this.resultConsumedAfter=oe.result_consumed_after;this.resultAvailableAfter=oe.result_available_after;this.database={name:(ue=oe.db)!==null&&ue!==void 0?ue:null}}ResultSummary.prototype._buildNotifications=function(re){if(re==null){return[]}return re.map((function(re){return new ve(re)}))};ResultSummary.prototype.hasPlan=function(){return this.plan instanceof fe};ResultSummary.prototype.hasProfile=function(){return this.profile instanceof de};return ResultSummary}();var fe=function(){function Plan(re){this.operatorType=re.operatorType;this.identifiers=re.identifiers;this.arguments=re.args;this.children=re.children!=null?re.children.map((function(re){return new Plan(re)})):[]}return Plan}();ie.Plan=fe;var de=function(){function ProfiledPlan(re){this.operatorType=re.operatorType;this.identifiers=re.identifiers;this.arguments=re.args;this.dbHits=valueOrDefault("dbHits",re);this.rows=valueOrDefault("rows",re);this.pageCacheMisses=valueOrDefault("pageCacheMisses",re);this.pageCacheHits=valueOrDefault("pageCacheHits",re);this.pageCacheHitRatio=valueOrDefault("pageCacheHitRatio",re);this.time=valueOrDefault("time",re);this.children=re.children!=null?re.children.map((function(re){return new ProfiledPlan(re)})):[]}ProfiledPlan.prototype.hasPageCacheStats=function(){return this.pageCacheMisses>0||this.pageCacheHits>0||this.pageCacheHitRatio>0};return ProfiledPlan}();ie.ProfiledPlan=de;var pe=function(){function Stats(){this.nodesCreated=0;this.nodesDeleted=0;this.relationshipsCreated=0;this.relationshipsDeleted=0;this.propertiesSet=0;this.labelsAdded=0;this.labelsRemoved=0;this.indexesAdded=0;this.indexesRemoved=0;this.constraintsAdded=0;this.constraintsRemoved=0}return Stats}();ie.Stats=pe;var he=function(){function QueryStatistics(re){var ie=this;this._stats={nodesCreated:0,nodesDeleted:0,relationshipsCreated:0,relationshipsDeleted:0,propertiesSet:0,labelsAdded:0,labelsRemoved:0,indexesAdded:0,indexesRemoved:0,constraintsAdded:0,constraintsRemoved:0};this._systemUpdates=0;Object.keys(re).forEach((function(oe){var se=oe.replace(/(-\w)/g,(function(re){return re[1].toUpperCase()}));if(se in ie._stats){ie._stats[se]=intValue(re[oe])}else if(se==="systemUpdates"){ie._systemUpdates=intValue(re[oe])}else if(se==="containsSystemUpdates"){ie._containsSystemUpdates=re[oe]}else if(se==="containsUpdates"){ie._containsUpdates=re[oe]}}));this._stats=Object.freeze(this._stats)}QueryStatistics.prototype.containsUpdates=function(){var re=this;return this._containsUpdates!==undefined?this._containsUpdates:Object.keys(this._stats).reduce((function(ie,oe){return ie+re._stats[oe]}),0)>0};QueryStatistics.prototype.updates=function(){return this._stats};QueryStatistics.prototype.containsSystemUpdates=function(){return this._containsSystemUpdates!==undefined?this._containsSystemUpdates:this._systemUpdates>0};QueryStatistics.prototype.systemUpdates=function(){return this._systemUpdates};return QueryStatistics}();ie.QueryStatistics=he;var Ae={WARNING:"WARNING",INFORMATION:"INFORMATION",UNKNOWN:"UNKNOWN"};ie.notificationSeverityLevel=Ae;Object.freeze(Ae);var ge=Object.values(Ae);var me={HINT:"HINT",UNRECOGNIZED:"UNRECOGNIZED",UNSUPPORTED:"UNSUPPORTED",PERFORMANCE:"PERFORMANCE",DEPRECATION:"DEPRECATION",GENERIC:"GENERIC",UNKNOWN:"UNKNOWN"};ie.notificationCategory=me;Object.freeze(me);var ye=Object.values(me);var ve=function(){function Notification(re){this.code=re.code;this.title=re.title;this.description=re.description;this.severity=re.severity;this.position=Notification._constructPosition(re.position);this.severityLevel=ge.includes(re.severity)?re.severity:Ae.UNKNOWN;this.rawSeverityLevel=re.severity;this.category=ye.includes(re.category)?re.category:me.UNKNOWN;this.rawCategory=re.category}Notification._constructPosition=function(re){if(re==null){return{}}return{offset:intValue(re.offset),line:intValue(re.line),column:intValue(re.column)}};return Notification}();ie.Notification=ve;var be=function(){function ServerInfo(re,ie){if(re!=null){this.address=re.address;this.agent=re.version}this.protocolVersion=ie}return ServerInfo}();ie.ServerInfo=be;function intValue(re){if(re instanceof ue.default){return re.toInt()}else if(typeof re==="bigint"){return(0,ue.int)(re).toInt()}else{return re}}function valueOrDefault(re,ie,oe){if(oe===void 0){oe=0}if(ie!==false&&re in ie){var se=ie[re];return intValue(se)}else{return oe}}var we={READ_ONLY:"r",READ_WRITE:"rw",WRITE_ONLY:"w",SCHEMA_WRITE:"s"};ie.queryType=we;ie["default"]=le},36584:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};var ae=this&&this.__generator||function(re,ie){var oe={label:0,sent:function(){if(ce[0]&1)throw ce[1];return ce[1]},trys:[],ops:[]},se,ae,ce,ue;return ue={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol==="function"&&(ue[Symbol.iterator]=function(){return this}),ue;function verb(re){return function(ie){return step([re,ie])}}function step(le){if(se)throw new TypeError("Generator is already executing.");while(ue&&(ue=0,le[0]&&(oe=0)),oe)try{if(se=1,ae&&(ce=le[0]&2?ae["return"]:le[0]?ae["throw"]||((ce=ae["return"])&&ce.call(ae),0):ae.next)&&!(ce=ce.call(ae,le[1])).done)return ce;if(ae=0,ce)le=[le[0]&2,ce.value];switch(le[0]){case 0:case 1:ce=le;break;case 4:oe.label++;return{value:le[1],done:false};case 5:oe.label++;ae=le[1];le=[0];continue;case 7:le=oe.ops.pop();oe.trys.pop();continue;default:if(!(ce=oe.trys,ce=ce.length>0&&ce[ce.length-1])&&(le[0]===6||le[0]===2)){oe=0;continue}if(le[0]===3&&(!ce||le[1]>ce[0]&&le[1]0&&ce[ce.length-1])&&(le[0]===6||le[0]===2)){oe=0;continue}if(le[0]===3&&(!ce||le[1]>ce[0]&&le[1]=re._watermarks.high;var ue=ae<=re._watermarks.low;if(ce&&!oe.paused){oe.paused=true;oe.streaming.pause()}else if(ue&&oe.paused||oe.firstRun&&!ce){oe.firstRun=false;oe.paused=false;oe.streaming.resume()}};var initializeObserver=function(){return se(re,void 0,void 0,(function(){var re;return ae(this,(function(ie){switch(ie.label){case 0:if(!(oe.queuedObserver===undefined))return[3,2];oe.queuedObserver=this._createQueuedResultObserver(controlFlow);re=oe;return[4,this._subscribe(oe.queuedObserver,true).catch((function(){return undefined}))];case 1:re.streaming=ie.sent();controlFlow();ie.label=2;case 2:return[2,oe.queuedObserver]}}))}))};var assertSummary=function(re){if(re===undefined){throw(0,fe.newError)("InvalidState: Result stream finished without Summary",fe.PROTOCOL_ERROR)}return true};return{next:function(){return se(re,void 0,void 0,(function(){var re,ie;return ae(this,(function(se){switch(se.label){case 0:if(oe.finished){if(assertSummary(oe.summary)){return[2,{done:true,value:oe.summary}]}}return[4,initializeObserver()];case 1:re=se.sent();return[4,re.dequeue()];case 2:ie=se.sent();if(ie.done===true){oe.finished=ie.done;oe.summary=ie.value}return[2,ie]}}))}))},return:function(ie){return se(re,void 0,void 0,(function(){var re,se;var ce;return ae(this,(function(ae){switch(ae.label){case 0:if(oe.finished){if(assertSummary(oe.summary)){return[2,{done:true,value:ie!==null&&ie!==void 0?ie:oe.summary}]}}(ce=oe.streaming)===null||ce===void 0?void 0:ce.cancel();return[4,initializeObserver()];case 1:re=ae.sent();return[4,re.dequeueUntilDone()];case 2:se=ae.sent();oe.finished=true;se.value=ie!==null&&ie!==void 0?ie:se.value;oe.summary=se.value;return[2,se]}}))}))},peek:function(){return se(re,void 0,void 0,(function(){var re;return ae(this,(function(ie){switch(ie.label){case 0:if(oe.finished){if(assertSummary(oe.summary)){return[2,{done:true,value:oe.summary}]}}return[4,initializeObserver()];case 1:re=ie.sent();return[4,re.head()];case 2:return[2,ie.sent()]}}))}))}}};Result.prototype.then=function(re,ie){return this._getOrCreatePromise().then(re,ie)};Result.prototype.catch=function(re){return this._getOrCreatePromise().catch(re)};Result.prototype.finally=function(re){return this._getOrCreatePromise().finally(re)};Result.prototype.subscribe=function(re){this._subscribe(re).catch((function(){}))};Result.prototype.isOpen=function(){return this._summary===null&&this._error===null};Result.prototype._subscribe=function(re,ie){if(ie===void 0){ie=false}var oe=this._decorateObserver(re);return this._streamObserverPromise.then((function(re){if(ie){re.pause()}re.subscribe(oe);return re})).catch((function(re){if(oe.onError!=null){oe.onError(re)}return Promise.reject(re)}))};Result.prototype._decorateObserver=function(re){var ie=this;var oe,se,ae;var ce=(oe=re.onCompleted)!==null&&oe!==void 0?oe:DEFAULT_ON_COMPLETED;var ue=(se=re.onError)!==null&&se!==void 0?se:DEFAULT_ON_ERROR;var le=(ae=re.onKeys)!==null&&ae!==void 0?ae:DEFAULT_ON_KEYS;var onCompletedWrapper=function(oe){ie._releaseConnectionAndGetSummary(oe).then((function(oe){if(ie._summary!==null){return ce.call(re,ie._summary)}ie._summary=oe;return ce.call(re,oe)})).catch(ue)};var onErrorWrapper=function(oe){ie._connectionHolder.releaseConnection().then((function(){replaceStacktrace(oe,ie._stack);ie._error=oe;ue.call(re,oe)})).catch(ue)};var onKeysWrapper=function(oe){ie._keys=oe;return le.call(re,oe)};return{onNext:re.onNext!=null?re.onNext.bind(re):undefined,onKeys:onKeysWrapper,onCompleted:onCompletedWrapper,onError:onErrorWrapper}};Result.prototype._cancel=function(){if(this._summary===null&&this._error===null){this._streamObserverPromise.then((function(re){return re.cancel()})).catch((function(){}))}};Result.prototype._releaseConnectionAndGetSummary=function(re){var ie=le.util.validateQueryAndParameters(this._query,this._parameters,{skipAsserts:true}),oe=ie.validatedQuery,se=ie.params;var ae=this._connectionHolder;return ae.getConnection().then((function(re){return ae.releaseConnection().then((function(){var ie;return(ie=re===null||re===void 0?void 0:re.protocol())===null||ie===void 0?void 0:ie.version}))}),(function(re){return undefined})).then((function(ie){return new ue.default(oe,se,re,ie)}))};Result.prototype._createQueuedResultObserver=function(re){var ie=this;function createResolvablePromise(){var re={};re.promise=new Promise((function(ie,oe){re.resolve=ie;re.reject=oe}));return re}function isError(re){return re instanceof Error}function dequeue(){var ie;return se(this,void 0,void 0,(function(){var se;return ae(this,(function(ae){switch(ae.label){case 0:if(oe.length>0){se=(ie=oe.shift())!==null&&ie!==void 0?ie:(0,fe.newError)("Unexpected empty buffer",fe.PROTOCOL_ERROR);re();if(isError(se)){throw se}return[2,se]}ce.resolvable=createResolvablePromise();return[4,ce.resolvable.promise];case 1:return[2,ae.sent()]}}))}))}var oe=[];var ce={resolvable:null};var ue={onNext:function(re){ue._push({done:false,value:re})},onCompleted:function(re){ue._push({done:true,value:re})},onError:function(re){ue._push(re)},_push:function(ie){if(ce.resolvable!==null){var se=ce.resolvable;ce.resolvable=null;if(isError(ie)){se.reject(ie)}else{se.resolve(ie)}}else{oe.push(ie);re()}},dequeue:dequeue,dequeueUntilDone:function(){return se(ie,void 0,void 0,(function(){var re;return ae(this,(function(ie){switch(ie.label){case 0:if(false){}return[4,dequeue()];case 1:re=ie.sent();if(re.done===true){return[2,re]}return[3,0];case 2:return[2]}}))}))},head:function(){return se(ie,void 0,void 0,(function(){var ie,ie,se;return ae(this,(function(ae){switch(ae.label){case 0:if(oe.length>0){ie=oe[0];if(isError(ie)){throw ie}return[2,ie]}ce.resolvable=createResolvablePromise();ae.label=1;case 1:ae.trys.push([1,3,4,5]);return[4,ce.resolvable.promise];case 2:ie=ae.sent();oe.unshift(ie);return[2,ie];case 3:se=ae.sent();oe.unshift(se);throw se;case 4:re();return[7];case 5:return[2]}}))}))},get size(){return oe.length}};return ue};return Result}();Symbol.toStringTag;function captureStacktrace(){var re=new Error("");if(re.stack!=null){return re.stack.replace(/^Error(\n\r)*/,"")}return null}function replaceStacktrace(re,ie){if(ie!=null){re.stack=re.toString()+"\n"+ie}}ie["default"]=pe},55739:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};var ae=this&&this.__generator||function(re,ie){var oe={label:0,sent:function(){if(ce[0]&1)throw ce[1];return ce[1]},trys:[],ops:[]},se,ae,ce,ue;return ue={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol==="function"&&(ue[Symbol.iterator]=function(){return this}),ue;function verb(re){return function(ie){return step([re,ie])}}function step(le){if(se)throw new TypeError("Generator is already executing.");while(ue&&(ue=0,le[0]&&(oe=0)),oe)try{if(se=1,ae&&(ce=le[0]&2?ae["return"]:le[0]?ae["throw"]||((ce=ae["return"])&&ce.call(ae),0):ae.next)&&!(ce=ce.call(ae,le[1])).done)return ce;if(ae=0,ce)le=[le[0]&2,ce.value];switch(le[0]){case 0:case 1:ce=le;break;case 4:oe.label++;return{value:le[1],done:false};case 5:oe.label++;ae=le[1];le=[0];continue;case 7:le=oe.ops.pop();oe.trys.pop();continue;default:if(!(ce=oe.trys,ce=ce.length>0&&ce[ce.length-1])&&(le[0]===6||le[0]===2)){oe=0;continue}if(le[0]===3&&(!ce||le[1]>ce[0]&&le[1]0)&&!(ae=se.next()).done)ce.push(ae.value)}catch(re){ue={error:re}}finally{try{if(ae&&!ae.done&&(oe=se["return"]))oe.call(se)}finally{if(ue)throw ue.error}}return ce};var ue=this&&this.__spreadArray||function(re,ie,oe){if(oe||arguments.length===2)for(var se=0,ae=ie.length,ce;se{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.isPoint=ie.Point=void 0;var se=oe(56517);var ae="__isPoint__";var ce=function(){function Point(re,ie,oe,ae){this.srid=(0,se.assertNumberOrInteger)(re,"SRID");this.x=(0,se.assertNumber)(ie,"X coordinate");this.y=(0,se.assertNumber)(oe,"Y coordinate");this.z=ae===null||ae===undefined?ae:(0,se.assertNumber)(ae,"Z coordinate");Object.freeze(this)}Point.prototype.toString=function(){return this.z!=null&&!isNaN(this.z)?"Point{srid=".concat(formatAsFloat(this.srid),", x=").concat(formatAsFloat(this.x),", y=").concat(formatAsFloat(this.y),", z=").concat(formatAsFloat(this.z),"}"):"Point{srid=".concat(formatAsFloat(this.srid),", x=").concat(formatAsFloat(this.x),", y=").concat(formatAsFloat(this.y),"}")};return Point}();ie.Point=ce;function formatAsFloat(re){return Number.isInteger(re)?re.toString()+".0":re.toString()}Object.defineProperty(ce.prototype,ae,{value:true,enumerable:false,configurable:false,writable:false});function isPoint(re){var ie=re;return re!=null&&ie[ae]===true}ie.isPoint=isPoint},45797:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};var ue=this&&this.__read||function(re,ie){var oe=typeof Symbol==="function"&&re[Symbol.iterator];if(!oe)return re;var se=oe.call(re),ae,ce=[],ue;try{while((ie===void 0||ie-- >0)&&!(ae=se.next()).done)ce.push(ae.value)}catch(re){ue={error:re}}finally{try{if(ae&&!ae.done&&(oe=se["return"]))oe.call(se)}finally{if(ue)throw ue.error}}return ce};Object.defineProperty(ie,"__esModule",{value:true});ie.isDateTime=ie.DateTime=ie.isLocalDateTime=ie.LocalDateTime=ie.isDate=ie.Date=ie.isTime=ie.Time=ie.isLocalTime=ie.LocalTime=ie.isDuration=ie.Duration=void 0;var le=ce(oe(87151));var fe=oe(56517);var de=oe(5542);var pe=ce(oe(6049));var he={value:true,enumerable:false,configurable:false,writable:false};var Ae="__isDuration__";var ge="__isLocalTime__";var me="__isTime__";var ye="__isDate__";var ve="__isLocalDateTime__";var be="__isDateTime__";var we=function(){function Duration(re,ie,oe,se){this.months=(0,fe.assertNumberOrInteger)(re,"Months");this.days=(0,fe.assertNumberOrInteger)(ie,"Days");(0,fe.assertNumberOrInteger)(oe,"Seconds");(0,fe.assertNumberOrInteger)(se,"Nanoseconds");this.seconds=le.normalizeSecondsForDuration(oe,se);this.nanoseconds=le.normalizeNanosecondsForDuration(se);Object.freeze(this)}Duration.prototype.toString=function(){return le.durationToIsoString(this.months,this.days,this.seconds,this.nanoseconds)};return Duration}();ie.Duration=we;Object.defineProperty(we.prototype,Ae,he);function isDuration(re){return hasIdentifierProperty(re,Ae)}ie.isDuration=isDuration;var _e=function(){function LocalTime(re,ie,oe,se){this.hour=le.assertValidHour(re);this.minute=le.assertValidMinute(ie);this.second=le.assertValidSecond(oe);this.nanosecond=le.assertValidNanosecond(se);Object.freeze(this)}LocalTime.fromStandardDate=function(re,ie){verifyStandardDateAndNanos(re,ie);var oe=le.totalNanoseconds(re,ie);return new LocalTime(re.getHours(),re.getMinutes(),re.getSeconds(),oe instanceof pe.default?oe.toInt():typeof oe==="bigint"?(0,pe.int)(oe).toInt():oe)};LocalTime.prototype.toString=function(){return le.timeToIsoString(this.hour,this.minute,this.second,this.nanosecond)};return LocalTime}();ie.LocalTime=_e;Object.defineProperty(_e.prototype,ge,he);function isLocalTime(re){return hasIdentifierProperty(re,ge)}ie.isLocalTime=isLocalTime;var Ee=function(){function Time(re,ie,oe,se,ae){this.hour=le.assertValidHour(re);this.minute=le.assertValidMinute(ie);this.second=le.assertValidSecond(oe);this.nanosecond=le.assertValidNanosecond(se);this.timeZoneOffsetSeconds=(0,fe.assertNumberOrInteger)(ae,"Time zone offset in seconds");Object.freeze(this)}Time.fromStandardDate=function(re,ie){verifyStandardDateAndNanos(re,ie);return new Time(re.getHours(),re.getMinutes(),re.getSeconds(),(0,pe.toNumber)(le.totalNanoseconds(re,ie)),le.timeZoneOffsetInSeconds(re))};Time.prototype.toString=function(){return le.timeToIsoString(this.hour,this.minute,this.second,this.nanosecond)+le.timeZoneOffsetToIsoString(this.timeZoneOffsetSeconds)};return Time}();ie.Time=Ee;Object.defineProperty(Ee.prototype,me,he);function isTime(re){return hasIdentifierProperty(re,me)}ie.isTime=isTime;var Ce=function(){function Date(re,ie,oe){this.year=le.assertValidYear(re);this.month=le.assertValidMonth(ie);this.day=le.assertValidDay(oe);Object.freeze(this)}Date.fromStandardDate=function(re){verifyStandardDateAndNanos(re);return new Date(re.getFullYear(),re.getMonth()+1,re.getDate())};Date.prototype.toStandardDate=function(){return le.isoStringToStandardDate(this.toString())};Date.prototype.toString=function(){return le.dateToIsoString(this.year,this.month,this.day)};return Date}();ie.Date=Ce;Object.defineProperty(Ce.prototype,ye,he);function isDate(re){return hasIdentifierProperty(re,ye)}ie.isDate=isDate;var Ie=function(){function LocalDateTime(re,ie,oe,se,ae,ce,ue){this.year=le.assertValidYear(re);this.month=le.assertValidMonth(ie);this.day=le.assertValidDay(oe);this.hour=le.assertValidHour(se);this.minute=le.assertValidMinute(ae);this.second=le.assertValidSecond(ce);this.nanosecond=le.assertValidNanosecond(ue);Object.freeze(this)}LocalDateTime.fromStandardDate=function(re,ie){verifyStandardDateAndNanos(re,ie);return new LocalDateTime(re.getFullYear(),re.getMonth()+1,re.getDate(),re.getHours(),re.getMinutes(),re.getSeconds(),(0,pe.toNumber)(le.totalNanoseconds(re,ie)))};LocalDateTime.prototype.toStandardDate=function(){return le.isoStringToStandardDate(this.toString())};LocalDateTime.prototype.toString=function(){return localDateTimeToString(this.year,this.month,this.day,this.hour,this.minute,this.second,this.nanosecond)};return LocalDateTime}();ie.LocalDateTime=Ie;Object.defineProperty(Ie.prototype,ve,he);function isLocalDateTime(re){return hasIdentifierProperty(re,ve)}ie.isLocalDateTime=isLocalDateTime;var Se=function(){function DateTime(re,ie,oe,se,ae,ce,fe,de,pe){this.year=le.assertValidYear(re);this.month=le.assertValidMonth(ie);this.day=le.assertValidDay(oe);this.hour=le.assertValidHour(se);this.minute=le.assertValidMinute(ae);this.second=le.assertValidSecond(ce);this.nanosecond=le.assertValidNanosecond(fe);var he=ue(verifyTimeZoneArguments(de,pe),2),Ae=he[0],ge=he[1];this.timeZoneOffsetSeconds=Ae;this.timeZoneId=ge!==null&&ge!==void 0?ge:undefined;Object.freeze(this)}DateTime.fromStandardDate=function(re,ie){verifyStandardDateAndNanos(re,ie);return new DateTime(re.getFullYear(),re.getMonth()+1,re.getDate(),re.getHours(),re.getMinutes(),re.getSeconds(),(0,pe.toNumber)(le.totalNanoseconds(re,ie)),le.timeZoneOffsetInSeconds(re),null)};DateTime.prototype.toStandardDate=function(){return le.toStandardDate(this._toUTC())};DateTime.prototype.toString=function(){var re;var ie=localDateTimeToString(this.year,this.month,this.day,this.hour,this.minute,this.second,this.nanosecond);var oe=this.timeZoneOffsetSeconds!=null?le.timeZoneOffsetToIsoString((re=this.timeZoneOffsetSeconds)!==null&&re!==void 0?re:0):"";var se=this.timeZoneId!=null?"[".concat(this.timeZoneId,"]"):"";return ie+oe+se};DateTime.prototype._toUTC=function(){var re;if(this.timeZoneOffsetSeconds===undefined){throw new Error("Requires DateTime created with time zone offset")}var ie=le.localDateTimeToEpochSecond(this.year,this.month,this.day,this.hour,this.minute,this.second,this.nanosecond);var oe=ie.subtract((re=this.timeZoneOffsetSeconds)!==null&&re!==void 0?re:0);return(0,pe.int)(oe).multiply(1e3).add((0,pe.int)(this.nanosecond).div(1e6)).toNumber()};return DateTime}();ie.DateTime=Se;Object.defineProperty(Se.prototype,be,he);function isDateTime(re){return hasIdentifierProperty(re,be)}ie.isDateTime=isDateTime;function hasIdentifierProperty(re,ie){return re!=null&&re[ie]===true}function localDateTimeToString(re,ie,oe,se,ae,ce,ue){return le.dateToIsoString(re,ie,oe)+"T"+le.timeToIsoString(se,ae,ce,ue)}function verifyTimeZoneArguments(re,ie){var oe=re!==null&&re!==undefined;var se=ie!==null&&ie!==undefined&&ie!=="";if(!oe&&!se){throw(0,de.newError)("Unable to create DateTime without either time zone offset or id. Please specify either of them. Given offset: ".concat(re," and id: ").concat(ie))}var ae=[undefined,undefined];if(oe){(0,fe.assertNumberOrInteger)(re,"Time zone offset in seconds");ae[0]=re}if(se){(0,fe.assertString)(ie,"Time zone ID");le.assertValidZoneId("Time zone ID",ie);ae[1]=ie}return ae}function verifyStandardDateAndNanos(re,ie){(0,fe.assertValidDate)(re,"Standard date");if(ie!==null&&ie!==undefined){(0,fe.assertNumberOrInteger)(ie,"Nanosecond")}}},93169:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});var oe=function(){function ManagedTransaction(re){var ie=re.run;this._run=ie}ManagedTransaction.fromTransaction=function(re){return new ManagedTransaction({run:re.run.bind(re)})};ManagedTransaction.prototype.run=function(re,ie){return this._run(re,ie)};return ManagedTransaction}();ie["default"]=oe},37269:function(re,ie,oe){"use strict";var se=this&&this.__extends||function(){var extendStatics=function(re,ie){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,ie){re.__proto__=ie}||function(re,ie){for(var oe in ie)if(Object.prototype.hasOwnProperty.call(ie,oe))re[oe]=ie[oe]};return extendStatics(re,ie)};return function(re,ie){if(typeof ie!=="function"&&ie!==null)throw new TypeError("Class extends value "+String(ie)+" is not a constructor or null");extendStatics(re,ie);function __(){this.constructor=re}re.prototype=ie===null?Object.create(ie):(__.prototype=ie.prototype,new __)}}();var ae=this&&this.__assign||function(){ae=Object.assign||function(re){for(var ie,oe=1,se=arguments.length;oe0&&ce[ce.length-1])&&(le[0]===6||le[0]===2)){oe=0;continue}if(le[0]===3&&(!ce||le[1]>ce[0]&&le[1]0||oe===le){return oe}else if(oe===0||oe<0){throw new Error("The fetch size can only be a positive value or ".concat(le," for ALL. However fetchSize = ").concat(oe))}else{return ie}}ie["default"]=pe},42934:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};var ae=this&&this.__generator||function(re,ie){var oe={label:0,sent:function(){if(ce[0]&1)throw ce[1];return ce[1]},trys:[],ops:[]},se,ae,ce,ue;return ue={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol==="function"&&(ue[Symbol.iterator]=function(){return this}),ue;function verb(re){return function(ie){return step([re,ie])}}function step(le){if(se)throw new TypeError("Generator is already executing.");while(ue&&(ue=0,le[0]&&(oe=0)),oe)try{if(se=1,ae&&(ce=le[0]&2?ae["return"]:le[0]?ae["throw"]||((ce=ae["return"])&&ce.call(ae),0):ae.next)&&!(ce=ce.call(ae,le[1])).done)return ce;if(ae=0,ce)le=[le[0]&2,ce.value];switch(le[0]){case 0:case 1:ce=le;break;case 4:oe.label++;return{value:le[1],done:false};case 5:oe.label++;ae=le[1];le=[0];continue;case 7:le=oe.ops.pop();oe.trys.pop();continue;default:if(!(ce=oe.trys,ce=ce.length>0&&ce[ce.length-1])&&(le[0]===6||le[0]===2)){oe=0;continue}if(le[0]===3&&(!ce||le[1]>ce[0]&&le[1]{"use strict";Object.defineProperty(ie,"__esModule",{value:true});var se=oe(55065);var ae=oe(1752);var ce=oe(50749);var ue=se.internal.logger.Logger;var le=se.error.SERVICE_UNAVAILABLE;var fe=30*1e3;var de=1e3;var pe=2;var he=.2;var Ae=function(){function RxRetryLogic(re){var ie=re===void 0?{}:re,oe=ie.maxRetryTimeout,se=oe===void 0?fe:oe,ae=ie.initialDelay,ce=ae===void 0?de:ae,ue=ie.delayMultiplier,le=ue===void 0?pe:ue,Ae=ie.delayJitter,ge=Ae===void 0?he:Ae,me=ie.logger,ye=me===void 0?null:me;this._maxRetryTimeout=valueOrDefault(se,fe);this._initialDelay=valueOrDefault(ce,de);this._delayMultiplier=valueOrDefault(le,pe);this._delayJitter=valueOrDefault(ge,he);this._logger=ye}RxRetryLogic.prototype.retry=function(re){var ie=this;return re.pipe((0,ce.retryWhen)((function(re){var oe=[];var ue=Date.now();var fe=1;var de=ie._initialDelay;return re.pipe((0,ce.mergeMap)((function(re){if(!(0,se.isRetriableError)(re)){return(0,ae.throwError)((function(){return re}))}oe.push(re);if(fe>=2&&Date.now()-ue>=ie._maxRetryTimeout){var pe=(0,se.newError)("Failed after retried for ".concat(fe," times in ").concat(ie._maxRetryTimeout," ms. Make sure that your database is online and retry again."),le);pe.seenErrors=oe;return(0,ae.throwError)((function(){return pe}))}var he=ie._computeNextDelay(de);de=de*ie._delayMultiplier;fe++;if(ie._logger){ie._logger.warn("Transaction failed and will be retried in ".concat(he))}return(0,ae.of)(1).pipe((0,ce.delay)(he))})))})))};RxRetryLogic.prototype._computeNextDelay=function(re){var ie=re*this._delayJitter;return re-ie+2*ie*Math.random()};return RxRetryLogic}();ie["default"]=Ae;function valueOrDefault(re,ie){if(re||re===0){return re}return ie}},70211:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};var ae=this&&this.__generator||function(re,ie){var oe={label:0,sent:function(){if(ce[0]&1)throw ce[1];return ce[1]},trys:[],ops:[]},se,ae,ce,ue;return ue={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol==="function"&&(ue[Symbol.iterator]=function(){return this}),ue;function verb(re){return function(ie){return step([re,ie])}}function step(le){if(se)throw new TypeError("Generator is already executing.");while(ue&&(ue=0,le[0]&&(oe=0)),oe)try{if(se=1,ae&&(ce=le[0]&2?ae["return"]:le[0]?ae["throw"]||((ce=ae["return"])&&ce.call(ae),0):ae.next)&&!(ce=ce.call(ae,le[1])).done)return ce;if(ae=0,ce)le=[le[0]&2,ce.value];switch(le[0]){case 0:case 1:ce=le;break;case 4:oe.label++;return{value:le[1],done:false};case 5:oe.label++;ae=le[1];le=[0];continue;case 7:le=oe.ops.pop();oe.trys.pop();continue;default:if(!(ce=oe.trys,ce=ce.length>0&&ce[ce.length-1])&&(le[0]===6||le[0]===2)){oe=0;continue}if(le[0]===3&&(!ce||le[1]>ce[0]&&le[1]{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie["default"]="5.9.1"},7846:(re,ie,oe)=>{re.exports=oe(30006)},30006:(re,ie,oe)=>{var se=oe(6113);function zeros(re){var ie=new Buffer(re);ie.fill(0);return ie.toString()}function HKDF(re,ie,oe){this.hashAlg=re;var ae=se.createHash(this.hashAlg);this.hashLength=ae.digest().length;this.salt=ie||zeros(this.hashLength);this.ikm=oe;var ce=se.createHmac(this.hashAlg,this.salt);ce.update(this.ikm);this.prk=ce.digest()}HKDF.prototype={derive:function(re,ie){var oe=new Buffer(0);var ae;var ce=[];var ue=Math.ceil(ie/this.hashLength);re=new Buffer(re);for(var le=0;le{ -/*! - * RSA library for Node.js - * - * Author: rzcoder - * License MIT - */ -var se=oe(22057);var ae=oe(41546);var ce=oe(6113);var ue=oe(80970).Ber;var le=oe(56752)._;var fe=oe(56752);var de=oe(36435);var pe=oe(51240);if(typeof se.RSA_NO_PADDING==="undefined"){se.RSA_NO_PADDING=3}re.exports=function(){var re={node10:["md4","md5","ripemd160","sha1","sha224","sha256","sha384","sha512"],node:["md4","md5","ripemd160","sha1","sha224","sha256","sha384","sha512"],iojs:["md4","md5","ripemd160","sha1","sha224","sha256","sha384","sha512"],browser:["md5","ripemd160","sha1","sha256","sha512"]};var ie="pkcs1_oaep";var oe="pkcs1";var se="private";var ce={private:"pkcs1-private-pem","private-der":"pkcs1-private-der",public:"pkcs8-public-pem","public-der":"pkcs8-public-der"};function NodeRSA(re,se,ce){if(!(this instanceof NodeRSA)){return new NodeRSA(re,se,ce)}if(le.isObject(se)){ce=se;se=undefined}this.$options={signingScheme:oe,signingSchemeOptions:{hash:"sha256",saltLength:null},encryptionScheme:ie,encryptionSchemeOptions:{hash:"sha1",label:null},environment:fe.detectEnvironment(),rsaUtils:this};this.keyPair=new ae.Key;this.$cache={};if(Buffer.isBuffer(re)||le.isString(re)){this.importKey(re,se)}else if(le.isObject(re)){this.generateKeyPair(re.b,re.e)}this.setOptions(ce)}NodeRSA.prototype.setOptions=function(se){se=se||{};if(se.environment){this.$options.environment=se.environment}if(se.signingScheme){if(le.isString(se.signingScheme)){var ae=se.signingScheme.toLowerCase().split("-");if(ae.length==1){if(re.node.indexOf(ae[0])>-1){this.$options.signingSchemeOptions={hash:ae[0]};this.$options.signingScheme=oe}else{this.$options.signingScheme=ae[0];this.$options.signingSchemeOptions={hash:null}}}else{this.$options.signingSchemeOptions={hash:ae[1]};this.$options.signingScheme=ae[0]}}else if(le.isObject(se.signingScheme)){this.$options.signingScheme=se.signingScheme.scheme||oe;this.$options.signingSchemeOptions=le.omit(se.signingScheme,"scheme")}if(!de.isSignature(this.$options.signingScheme)){throw Error("Unsupported signing scheme")}if(this.$options.signingSchemeOptions.hash&&re[this.$options.environment].indexOf(this.$options.signingSchemeOptions.hash)===-1){throw Error("Unsupported hashing algorithm for "+this.$options.environment+" environment")}}if(se.encryptionScheme){if(le.isString(se.encryptionScheme)){this.$options.encryptionScheme=se.encryptionScheme.toLowerCase();this.$options.encryptionSchemeOptions={}}else if(le.isObject(se.encryptionScheme)){this.$options.encryptionScheme=se.encryptionScheme.scheme||ie;this.$options.encryptionSchemeOptions=le.omit(se.encryptionScheme,"scheme")}if(!de.isEncryption(this.$options.encryptionScheme)){throw Error("Unsupported encryption scheme")}if(this.$options.encryptionSchemeOptions.hash&&re[this.$options.environment].indexOf(this.$options.encryptionSchemeOptions.hash)===-1){throw Error("Unsupported hashing algorithm for "+this.$options.environment+" environment")}}this.keyPair.setOptions(this.$options)};NodeRSA.prototype.generateKeyPair=function(re,ie){re=re||2048;ie=ie||65537;if(re%8!==0){throw Error("Key size must be a multiple of 8.")}this.keyPair.generate(re,ie.toString(16));this.$cache={};return this};NodeRSA.prototype.importKey=function(re,ie){if(!re){throw Error("Empty key given")}if(ie){ie=ce[ie]||ie}if(!pe.detectAndImport(this.keyPair,re,ie)&&ie===undefined){throw Error("Key format must be specified")}this.$cache={};return this};NodeRSA.prototype.exportKey=function(re){re=re||se;re=ce[re]||re;if(!this.$cache[re]){this.$cache[re]=pe.detectAndExport(this.keyPair,re)}return this.$cache[re]};NodeRSA.prototype.isPrivate=function(){return this.keyPair.isPrivate()};NodeRSA.prototype.isPublic=function(re){return this.keyPair.isPublic(re)};NodeRSA.prototype.isEmpty=function(re){return!(this.keyPair.n||this.keyPair.e||this.keyPair.d)};NodeRSA.prototype.encrypt=function(re,ie,oe){return this.$$encryptKey(false,re,ie,oe)};NodeRSA.prototype.decrypt=function(re,ie){return this.$$decryptKey(false,re,ie)};NodeRSA.prototype.encryptPrivate=function(re,ie,oe){return this.$$encryptKey(true,re,ie,oe)};NodeRSA.prototype.decryptPublic=function(re,ie){return this.$$decryptKey(true,re,ie)};NodeRSA.prototype.$$encryptKey=function(re,ie,oe,se){try{var ae=this.keyPair.encrypt(this.$getDataForEncrypt(ie,se),re);if(oe=="buffer"||!oe){return ae}else{return ae.toString(oe)}}catch(re){throw Error("Error during encryption. Original error: "+re)}};NodeRSA.prototype.$$decryptKey=function(re,ie,oe){try{ie=le.isString(ie)?Buffer.from(ie,"base64"):ie;var se=this.keyPair.decrypt(ie,re);if(se===null){throw Error("Key decrypt method returns null.")}return this.$getDecryptedData(se,oe)}catch(re){throw Error("Error during decryption (probably incorrect key). Original error: "+re)}};NodeRSA.prototype.sign=function(re,ie,oe){if(!this.isPrivate()){throw Error("This is not private key")}var se=this.keyPair.sign(this.$getDataForEncrypt(re,oe));if(ie&&ie!="buffer"){se=se.toString(ie)}return se};NodeRSA.prototype.verify=function(re,ie,oe,se){if(!this.isPublic()){throw Error("This is not public key")}se=!se||se=="buffer"?null:se;return this.keyPair.verify(this.$getDataForEncrypt(re,oe),ie,se)};NodeRSA.prototype.getKeySize=function(){return this.keyPair.keySize};NodeRSA.prototype.getMaxMessageSize=function(){return this.keyPair.maxMessageLength};NodeRSA.prototype.$getDataForEncrypt=function(re,ie){if(le.isString(re)||le.isNumber(re)){return Buffer.from(""+re,ie||"utf8")}else if(Buffer.isBuffer(re)){return re}else if(le.isObject(re)){return Buffer.from(JSON.stringify(re))}else{throw Error("Unexpected data type")}};NodeRSA.prototype.$getDecryptedData=function(re,ie){ie=ie||"buffer";if(ie=="buffer"){return re}else if(ie=="json"){return JSON.parse(re.toString())}else{return re.toString(ie)}};return NodeRSA}()},61321:(re,ie,oe)=>{var se=oe(6113);re.exports={getEngine:function(re,ie){var ae=oe(53109);if(ie.environment==="node"){if(typeof se.publicEncrypt==="function"&&typeof se.privateDecrypt==="function"){if(typeof se.privateEncrypt==="function"&&typeof se.publicDecrypt==="function"){ae=oe(69834)}else{ae=oe(9610)}}}return ae(re,ie)}}},69834:(re,ie,oe)=>{var se=oe(6113);var ae=oe(22057);var ce=oe(36435);re.exports=function(re,ie){var oe=ce.pkcs1.makeScheme(re,ie);return{encrypt:function(re,ce){var ue;if(ce){ue=ae.RSA_PKCS1_PADDING;if(ie.encryptionSchemeOptions&&ie.encryptionSchemeOptions.padding){ue=ie.encryptionSchemeOptions.padding}return se.privateEncrypt({key:ie.rsaUtils.exportKey("private"),padding:ue},re)}else{ue=ae.RSA_PKCS1_OAEP_PADDING;if(ie.encryptionScheme==="pkcs1"){ue=ae.RSA_PKCS1_PADDING}if(ie.encryptionSchemeOptions&&ie.encryptionSchemeOptions.padding){ue=ie.encryptionSchemeOptions.padding}var le=re;if(ue===ae.RSA_NO_PADDING){le=oe.pkcs0pad(re)}return se.publicEncrypt({key:ie.rsaUtils.exportKey("public"),padding:ue},le)}},decrypt:function(re,ce){var ue;if(ce){ue=ae.RSA_PKCS1_PADDING;if(ie.encryptionSchemeOptions&&ie.encryptionSchemeOptions.padding){ue=ie.encryptionSchemeOptions.padding}return se.publicDecrypt({key:ie.rsaUtils.exportKey("public"),padding:ue},re)}else{ue=ae.RSA_PKCS1_OAEP_PADDING;if(ie.encryptionScheme==="pkcs1"){ue=ae.RSA_PKCS1_PADDING}if(ie.encryptionSchemeOptions&&ie.encryptionSchemeOptions.padding){ue=ie.encryptionSchemeOptions.padding}var le=se.privateDecrypt({key:ie.rsaUtils.exportKey("private"),padding:ue},re);if(ue===ae.RSA_NO_PADDING){return oe.pkcs0unpad(le)}return le}}}}},53109:(re,ie,oe)=>{var se=oe(96763);var ae=oe(36435);re.exports=function(re,ie){var oe=ae.pkcs1.makeScheme(re,ie);return{encrypt:function(ie,ae){var ce,ue;if(ae){ce=new se(oe.encPad(ie,{type:1}));ue=re.$doPrivate(ce)}else{ce=new se(re.encryptionScheme.encPad(ie));ue=re.$doPublic(ce)}return ue.toBuffer(re.encryptedDataLength)},decrypt:function(ie,ae){var ce,ue=new se(ie);if(ae){ce=re.$doPublic(ue);return oe.encUnPad(ce.toBuffer(re.encryptedDataLength),{type:1})}else{ce=re.$doPrivate(ue);return re.encryptionScheme.encUnPad(ce.toBuffer(re.encryptedDataLength))}}}}},9610:(re,ie,oe)=>{var se=oe(6113);var ae=oe(22057);var ce=oe(36435);re.exports=function(re,ie){var ue=oe(53109)(re,ie);var le=ce.pkcs1.makeScheme(re,ie);return{encrypt:function(re,oe){if(oe){return ue.encrypt(re,oe)}var ce=ae.RSA_PKCS1_OAEP_PADDING;if(ie.encryptionScheme==="pkcs1"){ce=ae.RSA_PKCS1_PADDING}if(ie.encryptionSchemeOptions&&ie.encryptionSchemeOptions.padding){ce=ie.encryptionSchemeOptions.padding}var fe=re;if(ce===ae.RSA_NO_PADDING){fe=le.pkcs0pad(re)}return se.publicEncrypt({key:ie.rsaUtils.exportKey("public"),padding:ce},fe)},decrypt:function(re,oe){if(oe){return ue.decrypt(re,oe)}var ce=ae.RSA_PKCS1_OAEP_PADDING;if(ie.encryptionScheme==="pkcs1"){ce=ae.RSA_PKCS1_PADDING}if(ie.encryptionSchemeOptions&&ie.encryptionSchemeOptions.padding){ce=ie.encryptionSchemeOptions.padding}var fe=se.privateDecrypt({key:ie.rsaUtils.exportKey("private"),padding:ce},re);if(ce===ae.RSA_NO_PADDING){return le.pkcs0unpad(fe)}return fe}}}},50328:(re,ie,oe)=>{var se=oe(56752)._;var ae=oe(56752);re.exports={privateExport:function(re,ie){return{n:re.n.toBuffer(),e:re.e,d:re.d.toBuffer(),p:re.p.toBuffer(),q:re.q.toBuffer(),dmp1:re.dmp1.toBuffer(),dmq1:re.dmq1.toBuffer(),coeff:re.coeff.toBuffer()}},privateImport:function(re,ie,oe){if(ie.n&&ie.e&&ie.d&&ie.p&&ie.q&&ie.dmp1&&ie.dmq1&&ie.coeff){re.setPrivate(ie.n,ie.e,ie.d,ie.p,ie.q,ie.dmp1,ie.dmq1,ie.coeff)}else{throw Error("Invalid key data")}},publicExport:function(re,ie){return{n:re.n.toBuffer(),e:re.e}},publicImport:function(re,ie,oe){if(ie.n&&ie.e){re.setPublic(ie.n,ie.e)}else{throw Error("Invalid key data")}},autoImport:function(ie,oe){if(oe.n&&oe.e){if(oe.d&&oe.p&&oe.q&&oe.dmp1&&oe.dmq1&&oe.coeff){re.exports.privateImport(ie,oe);return true}else{re.exports.publicImport(ie,oe);return true}}return false}}},51240:(re,ie,oe)=>{var se=oe(56752)._;function formatParse(re){re=re.split("-");var ie="private";var oe={type:"default"};for(var se=1;se{var se=oe(56752)._;var ae=oe(56752);var ce=oe(96763);const ue="-----BEGIN OPENSSH PRIVATE KEY-----";const le="-----END OPENSSH PRIVATE KEY-----";re.exports={privateExport:function(re,ie){const oe=re.n.toBuffer();let se=Buffer.alloc(4);se.writeUInt32BE(re.e,0);while(se[0]===0)se=se.slice(1);const ce=re.d.toBuffer();const fe=re.coeff.toBuffer();const de=re.p.toBuffer();const pe=re.q.toBuffer();let he;if(typeof re.sshcomment!=="undefined"){he=Buffer.from(re.sshcomment)}else{he=Buffer.from([])}const Ae=11+4+se.byteLength+4+oe.byteLength;const ge=8+11+4+oe.byteLength+4+se.byteLength+4+ce.byteLength+4+fe.byteLength+4+de.byteLength+4+pe.byteLength+4+he.byteLength;let me=15+16+4+4+4+Ae+4+ge;const ye=Math.ceil(ge/8)*8-ge;me+=ye;const ve=Buffer.alloc(me);const be={buf:ve,off:0};ve.write("openssh-key-v1","utf8");ve.writeUInt8(0,14);be.off+=15;writeOpenSSHKeyString(be,Buffer.from("none"));writeOpenSSHKeyString(be,Buffer.from("none"));writeOpenSSHKeyString(be,Buffer.from(""));be.off=be.buf.writeUInt32BE(1,be.off);be.off=be.buf.writeUInt32BE(Ae,be.off);writeOpenSSHKeyString(be,Buffer.from("ssh-rsa"));writeOpenSSHKeyString(be,se);writeOpenSSHKeyString(be,oe);be.off=be.buf.writeUInt32BE(me-47-Ae,be.off);be.off+=8;writeOpenSSHKeyString(be,Buffer.from("ssh-rsa"));writeOpenSSHKeyString(be,oe);writeOpenSSHKeyString(be,se);writeOpenSSHKeyString(be,ce);writeOpenSSHKeyString(be,fe);writeOpenSSHKeyString(be,de);writeOpenSSHKeyString(be,pe);writeOpenSSHKeyString(be,he);let we=1;while(be.off{var se=oe(80970).Ber;var ae=oe(56752)._;var ce=oe(56752);const ue="-----BEGIN RSA PRIVATE KEY-----";const le="-----END RSA PRIVATE KEY-----";const fe="-----BEGIN RSA PUBLIC KEY-----";const de="-----END RSA PUBLIC KEY-----";re.exports={privateExport:function(re,ie){ie=ie||{};var oe=re.n.toBuffer();var ae=re.d.toBuffer();var fe=re.p.toBuffer();var de=re.q.toBuffer();var pe=re.dmp1.toBuffer();var he=re.dmq1.toBuffer();var Ae=re.coeff.toBuffer();var ge=oe.length+ae.length+fe.length+de.length+pe.length+he.length+Ae.length+512;var me=new se.Writer({size:ge});me.startSequence();me.writeInt(0);me.writeBuffer(oe,2);me.writeInt(re.e);me.writeBuffer(ae,2);me.writeBuffer(fe,2);me.writeBuffer(de,2);me.writeBuffer(pe,2);me.writeBuffer(he,2);me.writeBuffer(Ae,2);me.endSequence();if(ie.type==="der"){return me.buffer}else{return ue+"\n"+ce.linebrk(me.buffer.toString("base64"),64)+"\n"+le}},privateImport:function(re,ie,oe){oe=oe||{};var fe;if(oe.type!=="der"){if(Buffer.isBuffer(ie)){ie=ie.toString("utf8")}if(ae.isString(ie)){var de=ce.trimSurroundingText(ie,ue,le).replace(/\s+|\n\r|\n|\r$/gm,"");fe=Buffer.from(de,"base64")}else{throw Error("Unsupported key format")}}else if(Buffer.isBuffer(ie)){fe=ie}else{throw Error("Unsupported key format")}var pe=new se.Reader(fe);pe.readSequence();pe.readString(2,true);re.setPrivate(pe.readString(2,true),pe.readString(2,true),pe.readString(2,true),pe.readString(2,true),pe.readString(2,true),pe.readString(2,true),pe.readString(2,true),pe.readString(2,true))},publicExport:function(re,ie){ie=ie||{};var oe=re.n.toBuffer();var ae=oe.length+512;var ue=new se.Writer({size:ae});ue.startSequence();ue.writeBuffer(oe,2);ue.writeInt(re.e);ue.endSequence();if(ie.type==="der"){return ue.buffer}else{return fe+"\n"+ce.linebrk(ue.buffer.toString("base64"),64)+"\n"+de}},publicImport:function(re,ie,oe){oe=oe||{};var ue;if(oe.type!=="der"){if(Buffer.isBuffer(ie)){ie=ie.toString("utf8")}if(ae.isString(ie)){var le=ce.trimSurroundingText(ie,fe,de).replace(/\s+|\n\r|\n|\r$/gm,"");ue=Buffer.from(le,"base64")}}else if(Buffer.isBuffer(ie)){ue=ie}else{throw Error("Unsupported key format")}var pe=new se.Reader(ue);pe.readSequence();re.setPublic(pe.readString(2,true),pe.readString(2,true))},autoImport:function(ie,oe){if(/^[\S\s]*-----BEGIN RSA PRIVATE KEY-----\s*(?=(([A-Za-z0-9+/=]+\s*)+))\1-----END RSA PRIVATE KEY-----[\S\s]*$/g.test(oe)){re.exports.privateImport(ie,oe);return true}if(/^[\S\s]*-----BEGIN RSA PUBLIC KEY-----\s*(?=(([A-Za-z0-9+/=]+\s*)+))\1-----END RSA PUBLIC KEY-----[\S\s]*$/g.test(oe)){re.exports.publicImport(ie,oe);return true}return false}}},5391:(re,ie,oe)=>{var se=oe(80970).Ber;var ae=oe(56752)._;var ce="1.2.840.113549.1.1.1";var ue=oe(56752);const le="-----BEGIN PRIVATE KEY-----";const fe="-----END PRIVATE KEY-----";const de="-----BEGIN PUBLIC KEY-----";const pe="-----END PUBLIC KEY-----";re.exports={privateExport:function(re,ie){ie=ie||{};var oe=re.n.toBuffer();var ae=re.d.toBuffer();var de=re.p.toBuffer();var pe=re.q.toBuffer();var he=re.dmp1.toBuffer();var Ae=re.dmq1.toBuffer();var ge=re.coeff.toBuffer();var me=oe.length+ae.length+de.length+pe.length+he.length+Ae.length+ge.length+512;var ye=new se.Writer({size:me});ye.startSequence();ye.writeInt(0);ye.writeBuffer(oe,2);ye.writeInt(re.e);ye.writeBuffer(ae,2);ye.writeBuffer(de,2);ye.writeBuffer(pe,2);ye.writeBuffer(he,2);ye.writeBuffer(Ae,2);ye.writeBuffer(ge,2);ye.endSequence();var ve=new se.Writer({size:me});ve.startSequence();ve.writeInt(0);ve.startSequence();ve.writeOID(ce);ve.writeNull();ve.endSequence();ve.writeBuffer(ye.buffer,4);ve.endSequence();if(ie.type==="der"){return ve.buffer}else{return le+"\n"+ue.linebrk(ve.buffer.toString("base64"),64)+"\n"+fe}},privateImport:function(re,ie,oe){oe=oe||{};var de;if(oe.type!=="der"){if(Buffer.isBuffer(ie)){ie=ie.toString("utf8")}if(ae.isString(ie)){var pe=ue.trimSurroundingText(ie,le,fe).replace("-----END PRIVATE KEY-----","").replace(/\s+|\n\r|\n|\r$/gm,"");de=Buffer.from(pe,"base64")}else{throw Error("Unsupported key format")}}else if(Buffer.isBuffer(ie)){de=ie}else{throw Error("Unsupported key format")}var he=new se.Reader(de);he.readSequence();he.readInt(0);var Ae=new se.Reader(he.readString(48,true));if(Ae.readOID(6,true)!==ce){throw Error("Invalid Public key format")}var ge=new se.Reader(he.readString(4,true));ge.readSequence();ge.readString(2,true);re.setPrivate(ge.readString(2,true),ge.readString(2,true),ge.readString(2,true),ge.readString(2,true),ge.readString(2,true),ge.readString(2,true),ge.readString(2,true),ge.readString(2,true))},publicExport:function(re,ie){ie=ie||{};var oe=re.n.toBuffer();var ae=oe.length+512;var le=new se.Writer({size:ae});le.writeByte(0);le.startSequence();le.writeBuffer(oe,2);le.writeInt(re.e);le.endSequence();var fe=new se.Writer({size:ae});fe.startSequence();fe.startSequence();fe.writeOID(ce);fe.writeNull();fe.endSequence();fe.writeBuffer(le.buffer,3);fe.endSequence();if(ie.type==="der"){return fe.buffer}else{return de+"\n"+ue.linebrk(fe.buffer.toString("base64"),64)+"\n"+pe}},publicImport:function(re,ie,oe){oe=oe||{};var le;if(oe.type!=="der"){if(Buffer.isBuffer(ie)){ie=ie.toString("utf8")}if(ae.isString(ie)){var fe=ue.trimSurroundingText(ie,de,pe).replace(/\s+|\n\r|\n|\r$/gm,"");le=Buffer.from(fe,"base64")}}else if(Buffer.isBuffer(ie)){le=ie}else{throw Error("Unsupported key format")}var he=new se.Reader(le);he.readSequence();var Ae=new se.Reader(he.readString(48,true));if(Ae.readOID(6,true)!==ce){throw Error("Invalid Public key format")}var ge=new se.Reader(he.readString(3,true));ge.readByte();ge.readSequence();re.setPublic(ge.readString(2,true),ge.readString(2,true))},autoImport:function(ie,oe){if(/^[\S\s]*-----BEGIN PRIVATE KEY-----\s*(?=(([A-Za-z0-9+/=]+\s*)+))\1-----END PRIVATE KEY-----[\S\s]*$/g.test(oe)){re.exports.privateImport(ie,oe);return true}if(/^[\S\s]*-----BEGIN PUBLIC KEY-----\s*(?=(([A-Za-z0-9+/=]+\s*)+))\1-----END PUBLIC KEY-----[\S\s]*$/g.test(oe)){re.exports.publicImport(ie,oe);return true}return false}}},96763:(re,ie,oe)=>{var se=oe(6113);var ae=oe(56752)._;var ce;var ue=0xdeadbeefcafe;var le=(ue&16777215)==15715070;function BigInteger(re,ie){if(re!=null){if("number"==typeof re){this.fromNumber(re,ie)}else if(Buffer.isBuffer(re)){this.fromBuffer(re)}else if(ie==null&&"string"!=typeof re){this.fromByteArray(re)}else{this.fromString(re,ie)}}}function nbi(){return new BigInteger(null)}function am1(re,ie,oe,se,ae,ce){while(--ce>=0){var ue=ie*this[re++]+oe[se]+ae;ae=Math.floor(ue/67108864);oe[se++]=ue&67108863}return ae}function am2(re,ie,oe,se,ae,ce){var ue=ie&32767,le=ie>>15;while(--ce>=0){var fe=this[re]&32767;var de=this[re++]>>15;var pe=le*fe+de*ue;fe=ue*fe+((pe&32767)<<15)+oe[se]+(ae&1073741823);ae=(fe>>>30)+(pe>>>15)+le*de+(ae>>>30);oe[se++]=fe&1073741823}return ae}function am3(re,ie,oe,se,ae,ce){var ue=ie&16383,le=ie>>14;while(--ce>=0){var fe=this[re]&16383;var de=this[re++]>>14;var pe=le*fe+de*ue;fe=ue*fe+((pe&16383)<<14)+oe[se]+ae;ae=(fe>>28)+(pe>>14)+le*de;oe[se++]=fe&268435455}return ae}BigInteger.prototype.am=am3;ce=28;BigInteger.prototype.DB=ce;BigInteger.prototype.DM=(1<=0;--ie)re[ie]=this[ie];re.t=this.t;re.s=this.s}function bnpFromInt(re){this.t=1;this.s=re<0?-1:0;if(re>0)this[0]=re;else if(re<-1)this[0]=re+DV;else this.t=0}function nbv(re){var ie=nbi();ie.fromInt(re);return ie}function bnpFromString(re,ie,oe){var se;switch(ie){case 2:se=1;break;case 4:se=2;break;case 8:se=3;break;case 16:se=4;break;case 32:se=5;break;case 256:se=8;break;default:this.fromRadix(re,ie);return}this.t=0;this.s=0;var ae=re.length;var ce=false;var ue=0;while(--ae>=0){var le=se==8?re[ae]&255:intAt(re,ae);if(le<0){if(re.charAt(ae)=="-")ce=true;continue}ce=false;if(ue===0)this[this.t++]=le;else if(ue+se>this.DB){this[this.t-1]|=(le&(1<>this.DB-ue}else this[this.t-1]|=le<=this.DB)ue-=this.DB}if(!oe&&se==8&&(re[0]&128)!=0){this.s=-1;if(ue>0)this[this.t-1]|=(1<0&&this[this.t-1]==re)--this.t}function bnToString(re){if(this.s<0)return"-"+this.negate().toString(re);var ie;if(re==16)ie=4;else if(re==8)ie=3;else if(re==2)ie=1;else if(re==32)ie=5;else if(re==4)ie=2;else return this.toRadix(re);var oe=(1<0){if(le>le)>0){ae=true;ce=int2char(se)}while(ue>=0){if(le>(le+=this.DB-ie)}else{se=this[ue]>>(le-=ie)&oe;if(le<=0){le+=this.DB;--ue}}if(se>0)ae=true;if(ae)ce+=int2char(se)}}return ae?ce:"0"}function bnNegate(){var re=nbi();BigInteger.ZERO.subTo(this,re);return re}function bnAbs(){return this.s<0?this.negate():this}function bnCompareTo(re){var ie=this.s-re.s;if(ie!=0)return ie;var oe=this.t;ie=oe-re.t;if(ie!=0)return this.s<0?-ie:ie;while(--oe>=0)if((ie=this[oe]-re[oe])!=0)return ie;return 0}function nbits(re){var ie=1,oe;if((oe=re>>>16)!=0){re=oe;ie+=16}if((oe=re>>8)!=0){re=oe;ie+=8}if((oe=re>>4)!=0){re=oe;ie+=4}if((oe=re>>2)!=0){re=oe;ie+=2}if((oe=re>>1)!=0){re=oe;ie+=1}return ie}function bnBitLength(){if(this.t<=0)return 0;return this.DB*(this.t-1)+nbits(this[this.t-1]^this.s&this.DM)}function bnpDLShiftTo(re,ie){var oe;for(oe=this.t-1;oe>=0;--oe)ie[oe+re]=this[oe];for(oe=re-1;oe>=0;--oe)ie[oe]=0;ie.t=this.t+re;ie.s=this.s}function bnpDRShiftTo(re,ie){for(var oe=re;oe=0;--le){ie[le+ce+1]=this[le]>>se|ue;ue=(this[le]&ae)<=0;--le)ie[le]=0;ie[ce]=ue;ie.t=this.t+ce+1;ie.s=this.s;ie.clamp()}function bnpRShiftTo(re,ie){ie.s=this.s;var oe=Math.floor(re/this.DB);if(oe>=this.t){ie.t=0;return}var se=re%this.DB;var ae=this.DB-se;var ce=(1<>se;for(var ue=oe+1;ue>se}if(se>0)ie[this.t-oe-1]|=(this.s&ce)<>=this.DB}if(re.t>=this.DB}se+=this.s}else{se+=this.s;while(oe>=this.DB}se-=re.s}ie.s=se<0?-1:0;if(se<-1)ie[oe++]=this.DV+se;else if(se>0)ie[oe++]=se;ie.t=oe;ie.clamp()}function bnpMultiplyTo(re,ie){var oe=this.abs(),se=re.abs();var ae=oe.t;ie.t=ae+se.t;while(--ae>=0)ie[ae]=0;for(ae=0;ae=0)re[oe]=0;for(oe=0;oe=ie.DV){re[oe+ie.t]-=ie.DV;re[oe+ie.t+1]=1}}if(re.t>0)re[re.t-1]+=ie.am(oe,ie[oe],re,2*oe,0,1);re.s=0;re.clamp()}function bnpDivRemTo(re,ie,oe){var se=re.abs();if(se.t<=0)return;var ae=this.abs();if(ae.t0){se.lShiftTo(fe,ce);ae.lShiftTo(fe,oe)}else{se.copyTo(ce);ae.copyTo(oe)}var de=ce.t;var pe=ce[de-1];if(pe===0)return;var he=pe*(1<1?ce[de-2]>>this.F2:0);var Ae=this.FV/he,ge=(1<=0){oe[oe.t++]=1;oe.subTo(be,oe)}BigInteger.ONE.dlShiftTo(de,be);be.subTo(ce,ce);while(ce.t=0){var we=oe[--ye]==pe?this.DM:Math.floor(oe[ye]*Ae+(oe[ye-1]+me)*ge);if((oe[ye]+=ce.am(0,we,oe,ve,0,de))0)oe.rShiftTo(fe,oe);if(ue<0)BigInteger.ZERO.subTo(oe,oe)}function bnMod(re){var ie=nbi();this.abs().divRemTo(re,null,ie);if(this.s<0&&ie.compareTo(BigInteger.ZERO)>0)re.subTo(ie,ie);return ie}function Classic(re){this.m=re}function cConvert(re){if(re.s<0||re.compareTo(this.m)>=0)return re.mod(this.m);else return re}function cRevert(re){return re}function cReduce(re){re.divRemTo(this.m,null,re)}function cMulTo(re,ie,oe){re.multiplyTo(ie,oe);this.reduce(oe)}function cSqrTo(re,ie){re.squareTo(ie);this.reduce(ie)}Classic.prototype.convert=cConvert;Classic.prototype.revert=cRevert;Classic.prototype.reduce=cReduce;Classic.prototype.mulTo=cMulTo;Classic.prototype.sqrTo=cSqrTo;function bnpInvDigit(){if(this.t<1)return 0;var re=this[0];if((re&1)===0)return 0;var ie=re&3;ie=ie*(2-(re&15)*ie)&15;ie=ie*(2-(re&255)*ie)&255;ie=ie*(2-((re&65535)*ie&65535))&65535;ie=ie*(2-re*ie%this.DV)%this.DV;return ie>0?this.DV-ie:-ie}function Montgomery(re){this.m=re;this.mp=re.invDigit();this.mpl=this.mp&32767;this.mph=this.mp>>15;this.um=(1<0)this.m.subTo(ie,ie);return ie}function montRevert(re){var ie=nbi();re.copyTo(ie);this.reduce(ie);return ie}function montReduce(re){while(re.t<=this.mt2)re[re.t++]=0;for(var ie=0;ie>15)*this.mpl&this.um)<<15)&re.DM;oe=ie+this.m.t;re[oe]+=this.m.am(0,se,re,ie,0,this.m.t);while(re[oe]>=re.DV){re[oe]-=re.DV;re[++oe]++}}re.clamp();re.drShiftTo(this.m.t,re);if(re.compareTo(this.m)>=0)re.subTo(this.m,re)}function montSqrTo(re,ie){re.squareTo(ie);this.reduce(ie)}function montMulTo(re,ie,oe){re.multiplyTo(ie,oe);this.reduce(oe)}Montgomery.prototype.convert=montConvert;Montgomery.prototype.revert=montRevert;Montgomery.prototype.reduce=montReduce;Montgomery.prototype.mulTo=montMulTo;Montgomery.prototype.sqrTo=montSqrTo;function bnpIsEven(){return(this.t>0?this[0]&1:this.s)===0}function bnpExp(re,ie){if(re>4294967295||re<1)return BigInteger.ONE;var oe=nbi(),se=nbi(),ae=ie.convert(this),ce=nbits(re)-1;ae.copyTo(oe);while(--ce>=0){ie.sqrTo(oe,se);if((re&1<0)ie.mulTo(se,ae,oe);else{var ue=oe;oe=se;se=ue}}return ie.revert(oe)}function bnModPowInt(re,ie){var oe;if(re<256||ie.isEven())oe=new Classic(ie);else oe=new Montgomery(ie);return this.exp(re,oe)}function bnClone(){var re=nbi();this.copyTo(re);return re}function bnIntValue(){if(this.s<0){if(this.t==1)return this[0]-this.DV;else if(this.t===0)return-1}else if(this.t==1)return this[0];else if(this.t===0)return 0;return(this[1]&(1<<32-this.DB)-1)<>24}function bnShortValue(){return this.t==0?this.s:this[0]<<16>>16}function bnpChunkSize(re){return Math.floor(Math.LN2*this.DB/Math.log(re))}function bnSigNum(){if(this.s<0)return-1;else if(this.t<=0||this.t==1&&this[0]<=0)return 0;else return 1}function bnpToRadix(re){if(re==null)re=10;if(this.signum()===0||re<2||re>36)return"0";var ie=this.chunkSize(re);var oe=Math.pow(re,ie);var se=nbv(oe),ae=nbi(),ce=nbi(),ue="";this.divRemTo(se,ae,ce);while(ae.signum()>0){ue=(oe+ce.intValue()).toString(re).substr(1)+ue;ae.divRemTo(se,ae,ce)}return ce.intValue().toString(re)+ue}function bnpFromRadix(re,ie){this.fromInt(0);if(ie==null)ie=10;var oe=this.chunkSize(ie);var se=Math.pow(ie,oe),ae=false,ce=0,ue=0;for(var le=0;le=oe){this.dMultiply(se);this.dAddOffset(ue,0);ce=0;ue=0}}if(ce>0){this.dMultiply(Math.pow(ie,ce));this.dAddOffset(ue,0)}if(ae)BigInteger.ZERO.subTo(this,this)}function bnpFromNumber(re,ie){if("number"==typeof ie){if(re<2)this.fromInt(1);else{this.fromNumber(re);if(!this.testBit(re-1))this.bitwiseTo(BigInteger.ONE.shiftLeft(re-1),op_or,this);if(this.isEven())this.dAddOffset(1,0);while(!this.isProbablePrime(ie)){this.dAddOffset(2,0);if(this.bitLength()>re)this.subTo(BigInteger.ONE.shiftLeft(re-1),this)}}}else{var oe=se.randomBytes((re>>3)+1);var ae=re&7;if(ae>0)oe[0]&=(1<0){if(oe>oe)!=(this.s&this.DM)>>oe)ie[ae++]=se|this.s<=0){if(oe<8){se=(this[re]&(1<>(oe+=this.DB-8)}else{se=this[re]>>(oe-=8)&255;if(oe<=0){oe+=this.DB;--re}}if((se&128)!=0)se|=-256;if(ae===0&&(this.s&128)!=(se&128))++ae;if(ae>0||se!=this.s)ie[ae++]=se}}return ie}function bnToBuffer(re){var ie=Buffer.from(this.toByteArray());if(re===true&&ie[0]===0){ie=ie.slice(1)}else if(ae.isNumber(re)){if(ie.length>re){for(var oe=0;oe0?this:re}function bnpBitwiseTo(re,ie,oe){var se,ae,ce=Math.min(re.t,this.t);for(se=0;se>=16;ie+=16}if((re&255)===0){re>>=8;ie+=8}if((re&15)===0){re>>=4;ie+=4}if((re&3)===0){re>>=2;ie+=2}if((re&1)===0)++ie;return ie}function bnGetLowestSetBit(){for(var re=0;re=this.t)return this.s!=0;return(this[ie]&1<>=this.DB}if(re.t>=this.DB}se+=this.s}else{se+=this.s;while(oe>=this.DB}se+=re.s}ie.s=se<0?-1:0;if(se>0)ie[oe++]=se;else if(se<-1)ie[oe++]=this.DV+se;ie.t=oe;ie.clamp()}function bnAdd(re){var ie=nbi();this.addTo(re,ie);return ie}function bnSubtract(re){var ie=nbi();this.subTo(re,ie);return ie}function bnMultiply(re){var ie=nbi();this.multiplyTo(re,ie);return ie}function bnSquare(){var re=nbi();this.squareTo(re);return re}function bnDivide(re){var ie=nbi();this.divRemTo(re,ie,null);return ie}function bnRemainder(re){var ie=nbi();this.divRemTo(re,null,ie);return ie}function bnDivideAndRemainder(re){var ie=nbi(),oe=nbi();this.divRemTo(re,ie,oe);return new Array(ie,oe)}function bnpDMultiply(re){this[this.t]=this.am(0,re-1,this,0,0,this.t);++this.t;this.clamp()}function bnpDAddOffset(re,ie){if(re===0)return;while(this.t<=ie)this[this.t++]=0;this[ie]+=re;while(this[ie]>=this.DV){this[ie]-=this.DV;if(++ie>=this.t)this[this.t++]=0;++this[ie]}}function NullExp(){}function nNop(re){return re}function nMulTo(re,ie,oe){re.multiplyTo(ie,oe)}function nSqrTo(re,ie){re.squareTo(ie)}NullExp.prototype.convert=nNop;NullExp.prototype.revert=nNop;NullExp.prototype.mulTo=nMulTo;NullExp.prototype.sqrTo=nSqrTo;function bnPow(re){return this.exp(re,new NullExp)}function bnpMultiplyLowerTo(re,ie,oe){var se=Math.min(this.t+re.t,ie);oe.s=0;oe.t=se;while(se>0)oe[--se]=0;var ae;for(ae=oe.t-this.t;se=0)oe[se]=0;for(se=Math.max(ie-this.t,0);se2*this.m.t)return re.mod(this.m);else if(re.compareTo(this.m)<0)return re;else{var ie=nbi();re.copyTo(ie);this.reduce(ie);return ie}}function barrettRevert(re){return re}function barrettReduce(re){re.drShiftTo(this.m.t-1,this.r2);if(re.t>this.m.t+1){re.t=this.m.t+1;re.clamp()}this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3);this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);while(re.compareTo(this.r2)<0)re.dAddOffset(1,this.m.t+1);re.subTo(this.r2,re);while(re.compareTo(this.m)>=0)re.subTo(this.m,re)}function barrettSqrTo(re,ie){re.squareTo(ie);this.reduce(ie)}function barrettMulTo(re,ie,oe){re.multiplyTo(ie,oe);this.reduce(oe)}Barrett.prototype.convert=barrettConvert;Barrett.prototype.revert=barrettRevert;Barrett.prototype.reduce=barrettReduce;Barrett.prototype.mulTo=barrettMulTo;Barrett.prototype.sqrTo=barrettSqrTo;function bnModPow(re,ie){var oe=re.bitLength(),se,ae=nbv(1),ce;if(oe<=0)return ae;else if(oe<18)se=1;else if(oe<48)se=3;else if(oe<144)se=4;else if(oe<768)se=5;else se=6;if(oe<8)ce=new Classic(ie);else if(ie.isEven())ce=new Barrett(ie);else ce=new Montgomery(ie);var ue=new Array,le=3,fe=se-1,de=(1<1){var pe=nbi();ce.sqrTo(ue[1],pe);while(le<=de){ue[le]=nbi();ce.mulTo(pe,ue[le-2],ue[le]);le+=2}}var he=re.t-1,Ae,ge=true,me=nbi(),ye;oe=nbits(re[he])-1;while(he>=0){if(oe>=fe)Ae=re[he]>>oe-fe&de;else{Ae=(re[he]&(1<0)Ae|=re[he-1]>>this.DB+oe-fe}le=se;while((Ae&1)===0){Ae>>=1;--le}if((oe-=le)<0){oe+=this.DB;--he}if(ge){ue[Ae].copyTo(ae);ge=false}else{while(le>1){ce.sqrTo(ae,me);ce.sqrTo(me,ae);le-=2}if(le>0)ce.sqrTo(ae,me);else{ye=ae;ae=me;me=ye}ce.mulTo(me,ue[Ae],ae)}while(he>=0&&(re[he]&1<0){ie.rShiftTo(ce,ie);oe.rShiftTo(ce,oe)}while(ie.signum()>0){if((ae=ie.getLowestSetBit())>0)ie.rShiftTo(ae,ie);if((ae=oe.getLowestSetBit())>0)oe.rShiftTo(ae,oe);if(ie.compareTo(oe)>=0){ie.subTo(oe,ie);ie.rShiftTo(1,ie)}else{oe.subTo(ie,oe);oe.rShiftTo(1,oe)}}if(ce>0)oe.lShiftTo(ce,oe);return oe}function bnpModInt(re){if(re<=0)return 0;var ie=this.DV%re,oe=this.s<0?re-1:0;if(this.t>0)if(ie===0)oe=this[0]%re;else for(var se=this.t-1;se>=0;--se)oe=(ie*oe+this[se])%re;return oe}function bnModInverse(re){var ie=re.isEven();if(this.isEven()&&ie||re.signum()===0)return BigInteger.ZERO;var oe=re.clone(),se=this.clone();var ae=nbv(1),ce=nbv(0),ue=nbv(0),le=nbv(1);while(oe.signum()!=0){while(oe.isEven()){oe.rShiftTo(1,oe);if(ie){if(!ae.isEven()||!ce.isEven()){ae.addTo(this,ae);ce.subTo(re,ce)}ae.rShiftTo(1,ae)}else if(!ce.isEven())ce.subTo(re,ce);ce.rShiftTo(1,ce)}while(se.isEven()){se.rShiftTo(1,se);if(ie){if(!ue.isEven()||!le.isEven()){ue.addTo(this,ue);le.subTo(re,le)}ue.rShiftTo(1,ue)}else if(!le.isEven())le.subTo(re,le);le.rShiftTo(1,le)}if(oe.compareTo(se)>=0){oe.subTo(se,oe);if(ie)ae.subTo(ue,ae);ce.subTo(le,ce)}else{se.subTo(oe,se);if(ie)ue.subTo(ae,ue);le.subTo(ce,le)}}if(se.compareTo(BigInteger.ONE)!=0)return BigInteger.ZERO;if(le.compareTo(re)>=0)return le.subtract(re);if(le.signum()<0)le.addTo(re,le);else return le;if(le.signum()<0)return le.add(re);else return le}var ge=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997];var me=(1<<26)/ge[ge.length-1];function bnIsProbablePrime(re){var ie,oe=this.abs();if(oe.t==1&&oe[0]<=ge[ge.length-1]){for(ie=0;ie>1;if(re>ge.length)re=ge.length;var ae=nbi();for(var ce=0;ce{var se=oe(56752)._;var ae=oe(6113);var ce=oe(96763);var ue=oe(56752);var le=oe(36435);var fe=oe(61321);ie.BigInteger=ce;re.exports.Key=function(){function RSAKey(){this.n=null;this.e=0;this.d=null;this.p=null;this.q=null;this.dmp1=null;this.dmq1=null;this.coeff=null}RSAKey.prototype.setOptions=function(re){var ie=le[re.signingScheme];var oe=le[re.encryptionScheme];if(ie===oe){this.signingScheme=this.encryptionScheme=oe.makeScheme(this,re)}else{this.encryptionScheme=oe.makeScheme(this,re);this.signingScheme=ie.makeScheme(this,re)}this.encryptEngine=fe.getEngine(this,re)};RSAKey.prototype.generate=function(re,ie){var oe=re>>1;this.e=parseInt(ie,16);var se=new ce(ie,16);while(true){while(true){this.p=new ce(re-oe,1);if(this.p.subtract(ce.ONE).gcd(se).compareTo(ce.ONE)===0&&this.p.isProbablePrime(10))break}while(true){this.q=new ce(oe,1);if(this.q.subtract(ce.ONE).gcd(se).compareTo(ce.ONE)===0&&this.q.isProbablePrime(10))break}if(this.p.compareTo(this.q)<=0){var ae=this.p;this.p=this.q;this.q=ae}var ue=this.p.subtract(ce.ONE);var le=this.q.subtract(ce.ONE);var fe=ue.multiply(le);if(fe.gcd(se).compareTo(ce.ONE)===0){this.n=this.p.multiply(this.q);if(this.n.bitLength()0&&(se.isNumber(ie)||ie.length>0)&&oe.length>0){this.n=new ce(re);this.e=se.isNumber(ie)?ie:ue.get32IntFromBuffer(ie,0);this.d=new ce(oe);if(ae&&le&&fe&&de&&pe){this.p=new ce(ae);this.q=new ce(le);this.dmp1=new ce(fe);this.dmq1=new ce(de);this.coeff=new ce(pe)}else{}this.$$recalculateCache()}else{throw Error("Invalid RSA private key")}};RSAKey.prototype.setPublic=function(re,ie){if(re&&ie&&re.length>0&&(se.isNumber(ie)||ie.length>0)){this.n=new ce(re);this.e=se.isNumber(ie)?ie:ue.get32IntFromBuffer(ie,0);this.$$recalculateCache()}else{throw Error("Invalid RSA public key")}};RSAKey.prototype.$doPrivate=function(re){if(this.p||this.q){return re.modPow(this.d,this.n)}var ie=re.mod(this.p).modPow(this.dmp1,this.p);var oe=re.mod(this.q).modPow(this.dmq1,this.q);while(ie.compareTo(oe)<0){ie=ie.add(this.p)}return ie.subtract(oe).multiply(this.coeff).mod(this.p).multiply(this.q).add(oe)};RSAKey.prototype.$doPublic=function(re){return re.modPowInt(this.e,this.n)};RSAKey.prototype.encrypt=function(re,ie){var oe=[];var se=[];var ae=re.length;var ce=Math.ceil(ae/this.maxMessageLength)||1;var ue=Math.ceil(ae/ce||1);if(ce==1){oe.push(re)}else{for(var le=0;le0){throw Error("Incorrect data or key")}var oe=[];var se=0;var ae=0;var ce=re.length/this.encryptedDataLength;for(var ue=0;ue>3};return RSAKey}()},93914:(re,ie,oe)=>{var se=oe(96763);var ae=oe(6113);re.exports={isEncryption:true,isSignature:false};re.exports.digestLength={md4:16,md5:16,ripemd160:20,rmd160:20,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64};var ce="sha1";re.exports.eme_oaep_mgf1=function(ie,oe,se){se=se||ce;var ue=re.exports.digestLength[se];var le=Math.ceil(oe/ue);var fe=Buffer.alloc(ue*le);var de=Buffer.alloc(4);for(var pe=0;pele-2*fe-2){throw new Error("Message is too long to encode into an encoded message with a length of "+le+" bytes, increase"+"emLen to fix this error (minimum value for given parameters and options: "+(le-2*fe-2)+")")}var de=ae.createHash(oe);de.update(ue);de=de.digest();var pe=Buffer.alloc(le-ie.length-2*fe-1);pe.fill(0);pe[pe.length-1]=1;var he=Buffer.concat([de,pe,ie]);var Ae=ae.randomBytes(fe);var ge=se(Ae,he.length,oe);for(var me=0;me{var se=oe(96763);var ae=oe(6113);var ce=oe(22057);var ue={md2:Buffer.from("3020300c06082a864886f70d020205000410","hex"),md5:Buffer.from("3020300c06082a864886f70d020505000410","hex"),sha1:Buffer.from("3021300906052b0e03021a05000414","hex"),sha224:Buffer.from("302d300d06096086480165030402040500041c","hex"),sha256:Buffer.from("3031300d060960864801650304020105000420","hex"),sha384:Buffer.from("3041300d060960864801650304020205000430","hex"),sha512:Buffer.from("3051300d060960864801650304020305000440","hex"),ripemd160:Buffer.from("3021300906052b2403020105000414","hex"),rmd160:Buffer.from("3021300906052b2403020105000414","hex")};var le={ripemd160:"rmd160"};var fe="sha256";re.exports={isEncryption:true,isSignature:true};re.exports.makeScheme=function(re,ie){function Scheme(re,ie){this.key=re;this.options=ie}Scheme.prototype.maxMessageLength=function(){if(this.options.encryptionSchemeOptions&&this.options.encryptionSchemeOptions.padding==ce.RSA_NO_PADDING){return this.key.encryptedDataLength}return this.key.encryptedDataLength-11};Scheme.prototype.encPad=function(re,ie){ie=ie||{};var oe;if(re.length>this.key.maxMessageLength){throw new Error("Message too long for RSA (n="+this.key.encryptedDataLength+", l="+re.length+")")}if(this.options.encryptionSchemeOptions&&this.options.encryptionSchemeOptions.padding==ce.RSA_NO_PADDING){oe=Buffer.alloc(this.key.maxMessageLength-re.length);oe.fill(0);return Buffer.concat([oe,re])}if(ie.type===1){oe=Buffer.alloc(this.key.encryptedDataLength-re.length-1);oe.fill(255,0,oe.length-1);oe[0]=1;oe[oe.length-1]=0;return Buffer.concat([oe,re])}else{oe=Buffer.alloc(this.key.encryptedDataLength-re.length);oe[0]=0;oe[1]=2;var se=ae.randomBytes(oe.length-3);for(var ue=0;ue=re.length){return null}}}else{if(re[0]!==0||re[1]!==2){return null}oe=3;while(re[oe]!==0){if(++oe>=re.length){return null}}}return re.slice(oe+1,re.length)};Scheme.prototype.sign=function(re){var ie=this.options.signingSchemeOptions.hash||fe;if(this.options.environment==="browser"){ie=le[ie]||ie;var oe=ae.createHash(ie);oe.update(re);var ce=this.pkcs1pad(oe.digest(),ie);var ue=this.key.$doPrivate(new se(ce)).toBuffer(this.key.encryptedDataLength);return ue}else{var de=ae.createSign("RSA-"+ie.toUpperCase());de.update(re);return de.sign(this.options.rsaUtils.exportKey("private"))}};Scheme.prototype.verify=function(re,ie,oe){if(this.options.encryptionSchemeOptions&&this.options.encryptionSchemeOptions.padding==ce.RSA_NO_PADDING){return false}var ue=this.options.signingSchemeOptions.hash||fe;if(this.options.environment==="browser"){ue=le[ue]||ue;if(oe){ie=Buffer.from(ie,oe)}var de=ae.createHash(ue);de.update(re);var pe=this.pkcs1pad(de.digest(),ue);var he=this.key.$doPublic(new se(ie));return he.toBuffer().toString("hex")==pe.toString("hex")}else{var Ae=ae.createVerify("RSA-"+ue.toUpperCase());Ae.update(re);return Ae.verify(this.options.rsaUtils.exportKey("public"),ie,oe)}};Scheme.prototype.pkcs0pad=function(re){var ie=Buffer.alloc(this.key.maxMessageLength-re.length);ie.fill(0);return Buffer.concat([ie,re])};Scheme.prototype.pkcs0unpad=function(re){var ie;if(typeof re.lastIndexOf=="function"){ie=re.slice(re.lastIndexOf("\0")+1,re.length)}else{ie=re.slice(String.prototype.lastIndexOf.call(re,"\0")+1,re.length)}return ie};Scheme.prototype.pkcs1pad=function(re,ie){var oe=ue[ie];if(!oe){throw Error("Unsupported hash algorithm")}var se=Buffer.concat([oe,re]);if(se.length+10>this.key.encryptedDataLength){throw Error("Key is too short for signing algorithm ("+ie+")")}var ae=Buffer.alloc(this.key.encryptedDataLength-se.length-1);ae.fill(255,0,ae.length-1);ae[0]=1;ae[ae.length-1]=0;var ce=Buffer.concat([ae,se]);return ce};return new Scheme(re,ie)}},86076:(re,ie,oe)=>{var se=oe(96763);var ae=oe(6113);re.exports={isEncryption:false,isSignature:true};var ce="sha1";var ue=20;re.exports.makeScheme=function(re,ie){var le=oe(36435).pkcs1_oaep;function Scheme(re,ie){this.key=re;this.options=ie}Scheme.prototype.sign=function(re){var ie=ae.createHash(this.options.signingSchemeOptions.hash||ce);ie.update(re);var oe=this.emsa_pss_encode(ie.digest(),this.key.keySize-1);return this.key.$doPrivate(new se(oe)).toBuffer(this.key.encryptedDataLength)};Scheme.prototype.verify=function(re,ie,oe){if(oe){ie=Buffer.from(ie,oe)}ie=new se(ie);var ue=Math.ceil((this.key.keySize-1)/8);var le=this.key.$doPublic(ie).toBuffer(ue);var fe=ae.createHash(this.options.signingSchemeOptions.hash||ce);fe.update(re);return this.emsa_pss_verify(fe.digest(),le,this.key.keySize-1)};Scheme.prototype.emsa_pss_encode=function(re,ie){var oe=this.options.signingSchemeOptions.hash||ce;var se=this.options.signingSchemeOptions.mgf||le.eme_oaep_mgf1;var fe=this.options.signingSchemeOptions.saltLength||ue;var de=le.digestLength[oe];var pe=Math.ceil(ie/8);if(pe>8-_e<<8-_e;be[0]=be[0]&Ee;var Ce=Buffer.alloc(be.length+ge.length+1);be.copy(Ce,0);ge.copy(Ce,be.length);Ce[Ce.length-1]=188;return Ce};Scheme.prototype.emsa_pss_verify=function(re,ie,oe){var se=this.options.signingSchemeOptions.hash||ce;var fe=this.options.signingSchemeOptions.mgf||le.eme_oaep_mgf1;var de=this.options.signingSchemeOptions.saltLength||ue;var pe=le.digestLength[se];var he=Math.ceil(oe/8);if(he>8-ye<<8-ye;Ae[0]=Ae[0]≥for(me=0;Ae[me]===0&&me{re.exports={pkcs1:oe(71693),pkcs1_oaep:oe(93914),pss:oe(86076),isEncryption:function(ie){return re.exports[ie]&&re.exports[ie].isEncryption},isSignature:function(ie){return re.exports[ie]&&re.exports[ie].isSignature}}},56752:(re,ie,oe)=>{var se=oe(6113);re.exports.linebrk=function(re,ie){var oe="";var se=0;while(se+ie0){if(oe>=4){return re.readUIntBE(ie,oe)}else{var se=0;for(var ae=ie+oe,ce=0;ae>ie;ae--,ce+=2){se+=re[ae-1]*Math.pow(16,ce)}return se}}else{return NaN}};re.exports._={isObject:function(re){var ie=typeof re;return!!re&&(ie=="object"||ie=="function")},isString:function(re){return typeof re=="string"||re instanceof String},isNumber:function(re){return typeof re=="number"||!isNaN(parseFloat(re))&&isFinite(re)},omit:function(re,ie){var oe={};for(var se in re){if(!re.hasOwnProperty(se)||se===ie){continue}oe[se]=re[se]}return oe}};re.exports.trimSurroundingText=function(re,ie,oe){var se=0;var ae=re.length;var ce=re.indexOf(ie);if(ce>=0){se=ce+ie.length}var ue=re.indexOf(oe,ce);if(ue>=0){ae=ue}return re.substring(se,ae)}},75070:(re,ie,oe)=>{"use strict";const se=oe(12781);const{Buffer:ae}=oe(14300);const ce=new TextDecoder("utf8",{fatal:true,ignoreBOM:true});class NoFilter extends se.Transform{constructor(re,ie,oe={}){let se=null;let ce=null;switch(typeof re){case"object":if(ae.isBuffer(re)){se=re}else if(re){oe=re}break;case"string":se=re;break;case"undefined":break;default:throw new TypeError("Invalid input")}switch(typeof ie){case"object":if(ie){oe=ie}break;case"string":ce=ie;break;case"undefined":break;default:throw new TypeError("Invalid inputEncoding")}if(!oe||typeof oe!=="object"){throw new TypeError("Invalid options")}if(se==null){se=oe.input}if(ce==null){ce=oe.inputEncoding}delete oe.input;delete oe.inputEncoding;const ue=oe.watchPipe==null?true:oe.watchPipe;delete oe.watchPipe;const le=Boolean(oe.readError);delete oe.readError;super(oe);this.readError=le;if(ue){this.on("pipe",(re=>{const ie=re._readableState.objectMode;if(this.length>0&&ie!==this._readableState.objectMode){throw new Error("Do not switch objectMode in the middle of the stream")}this._readableState.objectMode=ie;this._writableState.objectMode=ie}))}if(se!=null){this.end(se,ce)}}static isNoFilter(re){return re instanceof this}static compare(re,ie){if(!(re instanceof this)){throw new TypeError("Arguments must be NoFilters")}if(re===ie){return 0}return re.compare(ie)}static concat(re,ie){if(!Array.isArray(re)){throw new TypeError("list argument must be an Array of NoFilters")}if(re.length===0||ie===0){return ae.alloc(0)}if(ie==null){ie=re.reduce(((re,ie)=>{if(!(ie instanceof NoFilter)){throw new TypeError("list argument must be an Array of NoFilters")}return re+ie.length}),0)}let oe=true;let se=true;const ce=re.map((re=>{if(!(re instanceof NoFilter)){throw new TypeError("list argument must be an Array of NoFilters")}const ie=re.slice();if(ae.isBuffer(ie)){se=false}else{oe=false}return ie}));if(oe){return ae.concat(ce,ie)}if(se){return[].concat(...ce).slice(0,ie)}throw new Error("Concatenating mixed object and byte streams not supported")}_transform(re,ie,oe){if(!this._readableState.objectMode&&!ae.isBuffer(re)){re=ae.from(re,ie)}this.push(re);oe()}_bufArray(){let re=this._readableState.buffer;if(!Array.isArray(re)){let ie=re.head;re=[];while(ie!=null){re.push(ie.data);ie=ie.next}}return re}read(re){const ie=super.read(re);if(ie!=null){this.emit("read",ie);if(this.readError&&ie.length{if(this.length>=re){ae(this.read(re));return}if(this.writableFinished){ce(new Error(`Stream finished before ${re} bytes were available`));return}ie=ie=>{if(this.length>=re){ae(this.read(re))}};oe=()=>{ce(new Error(`Stream finished before ${re} bytes were available`))};se=ce;this.on("readable",ie);this.on("error",se);this.on("finish",oe)})).finally((()=>{if(ie){this.removeListener("readable",ie);this.removeListener("error",se);this.removeListener("finish",oe)}}))}promise(re){let ie=false;return new Promise(((oe,se)=>{this.on("finish",(()=>{const se=this.read();if(re!=null&&!ie){ie=true;re(null,se)}oe(se)}));this.on("error",(oe=>{if(re!=null&&!ie){ie=true;re(oe)}se(oe)}))}))}compare(re){if(!(re instanceof NoFilter)){throw new TypeError("Arguments must be NoFilters")}if(this===re){return 0}const ie=this.slice();const oe=re.slice();if(ae.isBuffer(ie)&&ae.isBuffer(oe)){return ie.compare(oe)}throw new Error("Cannot compare streams in object mode")}equals(re){return this.compare(re)===0}slice(re,ie){if(this._readableState.objectMode){return this._bufArray().slice(re,ie)}const oe=this._bufArray();switch(oe.length){case 0:return ae.alloc(0);case 1:return oe[0].slice(re,ie);default:{const se=ae.concat(oe);return se.slice(re,ie)}}}get(re){return this.slice()[re]}toJSON(){const re=this.slice();if(ae.isBuffer(re)){return re.toJSON()}return re}toString(re,ie,oe){const se=this.slice(ie,oe);if(!ae.isBuffer(se)){return JSON.stringify(se)}if(!re||re==="utf8"){return ce.decode(se)}return se.toString(re)}[Symbol.for("nodejs.util.inspect.custom")](re,ie){const oe=this._bufArray();const se=oe.map((re=>{if(ae.isBuffer(re)){return ie.stylize(re.toString("hex"),"string")}return JSON.stringify(re)})).join(", ");return`${this.constructor.name} [${se}]`}get length(){return this._readableState.length}writeBigInt(re){let ie=re.toString(16);if(re<0){const oe=BigInt(Math.floor(ie.length/2));const se=BigInt(1)<{"use strict";const{Deflate:se,deflate:ae,deflateRaw:ce,gzip:ue}=oe(17265);const{Inflate:le,inflate:fe,inflateRaw:de,ungzip:pe}=oe(96522);const he=oe(58282);re.exports.Deflate=se;re.exports.deflate=ae;re.exports.deflateRaw=ce;re.exports.gzip=ue;re.exports.Inflate=le;re.exports.inflate=fe;re.exports.inflateRaw=de;re.exports.ungzip=pe;re.exports.constants=he},17265:(re,ie,oe)=>{"use strict";const se=oe(70978);const ae=oe(5483);const ce=oe(42380);const ue=oe(1890);const le=oe(86442);const fe=Object.prototype.toString;const{Z_NO_FLUSH:de,Z_SYNC_FLUSH:pe,Z_FULL_FLUSH:he,Z_FINISH:Ae,Z_OK:ge,Z_STREAM_END:me,Z_DEFAULT_COMPRESSION:ye,Z_DEFAULT_STRATEGY:ve,Z_DEFLATED:be}=oe(58282);function Deflate(re){this.options=ae.assign({level:ye,method:be,chunkSize:16384,windowBits:15,memLevel:8,strategy:ve},re||{});let ie=this.options;if(ie.raw&&ie.windowBits>0){ie.windowBits=-ie.windowBits}else if(ie.gzip&&ie.windowBits>0&&ie.windowBits<16){ie.windowBits+=16}this.err=0;this.msg="";this.ended=false;this.chunks=[];this.strm=new le;this.strm.avail_out=0;let oe=se.deflateInit2(this.strm,ie.level,ie.method,ie.windowBits,ie.memLevel,ie.strategy);if(oe!==ge){throw new Error(ue[oe])}if(ie.header){se.deflateSetHeader(this.strm,ie.header)}if(ie.dictionary){let re;if(typeof ie.dictionary==="string"){re=ce.string2buf(ie.dictionary)}else if(fe.call(ie.dictionary)==="[object ArrayBuffer]"){re=new Uint8Array(ie.dictionary)}else{re=ie.dictionary}oe=se.deflateSetDictionary(this.strm,re);if(oe!==ge){throw new Error(ue[oe])}this._dict_set=true}}Deflate.prototype.push=function(re,ie){const oe=this.strm;const ae=this.options.chunkSize;let ue,le;if(this.ended){return false}if(ie===~~ie)le=ie;else le=ie===true?Ae:de;if(typeof re==="string"){oe.input=ce.string2buf(re)}else if(fe.call(re)==="[object ArrayBuffer]"){oe.input=new Uint8Array(re)}else{oe.input=re}oe.next_in=0;oe.avail_in=oe.input.length;for(;;){if(oe.avail_out===0){oe.output=new Uint8Array(ae);oe.next_out=0;oe.avail_out=ae}if((le===pe||le===he)&&oe.avail_out<=6){this.onData(oe.output.subarray(0,oe.next_out));oe.avail_out=0;continue}ue=se.deflate(oe,le);if(ue===me){if(oe.next_out>0){this.onData(oe.output.subarray(0,oe.next_out))}ue=se.deflateEnd(this.strm);this.onEnd(ue);this.ended=true;return ue===ge}if(oe.avail_out===0){this.onData(oe.output);continue}if(le>0&&oe.next_out>0){this.onData(oe.output.subarray(0,oe.next_out));oe.avail_out=0;continue}if(oe.avail_in===0)break}return true};Deflate.prototype.onData=function(re){this.chunks.push(re)};Deflate.prototype.onEnd=function(re){if(re===ge){this.result=ae.flattenChunks(this.chunks)}this.chunks=[];this.err=re;this.msg=this.strm.msg};function deflate(re,ie){const oe=new Deflate(ie);oe.push(re,true);if(oe.err){throw oe.msg||ue[oe.err]}return oe.result}function deflateRaw(re,ie){ie=ie||{};ie.raw=true;return deflate(re,ie)}function gzip(re,ie){ie=ie||{};ie.gzip=true;return deflate(re,ie)}re.exports.Deflate=Deflate;re.exports.deflate=deflate;re.exports.deflateRaw=deflateRaw;re.exports.gzip=gzip;re.exports.constants=oe(58282)},96522:(re,ie,oe)=>{"use strict";const se=oe(90409);const ae=oe(5483);const ce=oe(42380);const ue=oe(1890);const le=oe(86442);const fe=oe(35105);const de=Object.prototype.toString;const{Z_NO_FLUSH:pe,Z_FINISH:he,Z_OK:Ae,Z_STREAM_END:ge,Z_NEED_DICT:me,Z_STREAM_ERROR:ye,Z_DATA_ERROR:ve,Z_MEM_ERROR:be}=oe(58282);function Inflate(re){this.options=ae.assign({chunkSize:1024*64,windowBits:15,to:""},re||{});const ie=this.options;if(ie.raw&&ie.windowBits>=0&&ie.windowBits<16){ie.windowBits=-ie.windowBits;if(ie.windowBits===0){ie.windowBits=-15}}if(ie.windowBits>=0&&ie.windowBits<16&&!(re&&re.windowBits)){ie.windowBits+=32}if(ie.windowBits>15&&ie.windowBits<48){if((ie.windowBits&15)===0){ie.windowBits|=15}}this.err=0;this.msg="";this.ended=false;this.chunks=[];this.strm=new le;this.strm.avail_out=0;let oe=se.inflateInit2(this.strm,ie.windowBits);if(oe!==Ae){throw new Error(ue[oe])}this.header=new fe;se.inflateGetHeader(this.strm,this.header);if(ie.dictionary){if(typeof ie.dictionary==="string"){ie.dictionary=ce.string2buf(ie.dictionary)}else if(de.call(ie.dictionary)==="[object ArrayBuffer]"){ie.dictionary=new Uint8Array(ie.dictionary)}if(ie.raw){oe=se.inflateSetDictionary(this.strm,ie.dictionary);if(oe!==Ae){throw new Error(ue[oe])}}}}Inflate.prototype.push=function(re,ie){const oe=this.strm;const ae=this.options.chunkSize;const ue=this.options.dictionary;let le,fe,we;if(this.ended)return false;if(ie===~~ie)fe=ie;else fe=ie===true?he:pe;if(de.call(re)==="[object ArrayBuffer]"){oe.input=new Uint8Array(re)}else{oe.input=re}oe.next_in=0;oe.avail_in=oe.input.length;for(;;){if(oe.avail_out===0){oe.output=new Uint8Array(ae);oe.next_out=0;oe.avail_out=ae}le=se.inflate(oe,fe);if(le===me&&ue){le=se.inflateSetDictionary(oe,ue);if(le===Ae){le=se.inflate(oe,fe)}else if(le===ve){le=me}}while(oe.avail_in>0&&le===ge&&oe.state.wrap>0&&re[oe.next_in]!==0){se.inflateReset(oe);le=se.inflate(oe,fe)}switch(le){case ye:case ve:case me:case be:this.onEnd(le);this.ended=true;return false}we=oe.avail_out;if(oe.next_out){if(oe.avail_out===0||le===ge){if(this.options.to==="string"){let re=ce.utf8border(oe.output,oe.next_out);let ie=oe.next_out-re;let se=ce.buf2string(oe.output,re);oe.next_out=ie;oe.avail_out=ae-ie;if(ie)oe.output.set(oe.output.subarray(re,re+ie),0);this.onData(se)}else{this.onData(oe.output.length===oe.next_out?oe.output:oe.output.subarray(0,oe.next_out))}}}if(le===Ae&&we===0)continue;if(le===ge){le=se.inflateEnd(this.strm);this.onEnd(le);this.ended=true;return true}if(oe.avail_in===0)break}return true};Inflate.prototype.onData=function(re){this.chunks.push(re)};Inflate.prototype.onEnd=function(re){if(re===Ae){if(this.options.to==="string"){this.result=this.chunks.join("")}else{this.result=ae.flattenChunks(this.chunks)}}this.chunks=[];this.err=re;this.msg=this.strm.msg};function inflate(re,ie){const oe=new Inflate(ie);oe.push(re);if(oe.err)throw oe.msg||ue[oe.err];return oe.result}function inflateRaw(re,ie){ie=ie||{};ie.raw=true;return inflate(re,ie)}re.exports.Inflate=Inflate;re.exports.inflate=inflate;re.exports.inflateRaw=inflateRaw;re.exports.ungzip=inflate;re.exports.constants=oe(58282)},5483:re=>{"use strict";const _has=(re,ie)=>Object.prototype.hasOwnProperty.call(re,ie);re.exports.assign=function(re){const ie=Array.prototype.slice.call(arguments,1);while(ie.length){const oe=ie.shift();if(!oe){continue}if(typeof oe!=="object"){throw new TypeError(oe+"must be non-object")}for(const ie in oe){if(_has(oe,ie)){re[ie]=oe[ie]}}}return re};re.exports.flattenChunks=re=>{let ie=0;for(let oe=0,se=re.length;oe{"use strict";let ie=true;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(re){ie=false}const oe=new Uint8Array(256);for(let re=0;re<256;re++){oe[re]=re>=252?6:re>=248?5:re>=240?4:re>=224?3:re>=192?2:1}oe[254]=oe[254]=1;re.exports.string2buf=re=>{if(typeof TextEncoder==="function"&&TextEncoder.prototype.encode){return(new TextEncoder).encode(re)}let ie,oe,se,ae,ce,ue=re.length,le=0;for(ae=0;ae>>6;ie[ce++]=128|oe&63}else if(oe<65536){ie[ce++]=224|oe>>>12;ie[ce++]=128|oe>>>6&63;ie[ce++]=128|oe&63}else{ie[ce++]=240|oe>>>18;ie[ce++]=128|oe>>>12&63;ie[ce++]=128|oe>>>6&63;ie[ce++]=128|oe&63}}return ie};const buf2binstring=(re,oe)=>{if(oe<65534){if(re.subarray&&ie){return String.fromCharCode.apply(null,re.length===oe?re:re.subarray(0,oe))}}let se="";for(let ie=0;ie{const se=ie||re.length;if(typeof TextDecoder==="function"&&TextDecoder.prototype.decode){return(new TextDecoder).decode(re.subarray(0,ie))}let ae,ce;const ue=new Array(se*2);for(ce=0,ae=0;ae4){ue[ce++]=65533;ae+=le-1;continue}ie&=le===2?31:le===3?15:7;while(le>1&&ae1){ue[ce++]=65533;continue}if(ie<65536){ue[ce++]=ie}else{ie-=65536;ue[ce++]=55296|ie>>10&1023;ue[ce++]=56320|ie&1023}}return buf2binstring(ue,ce)};re.exports.utf8border=(re,ie)=>{ie=ie||re.length;if(ie>re.length){ie=re.length}let se=ie-1;while(se>=0&&(re[se]&192)===128){se--}if(se<0){return ie}if(se===0){return ie}return se+oe[re[se]]>ie?se:ie}},86924:re=>{"use strict";const adler32=(re,ie,oe,se)=>{let ae=re&65535|0,ce=re>>>16&65535|0,ue=0;while(oe!==0){ue=oe>2e3?2e3:oe;oe-=ue;do{ae=ae+ie[se++]|0;ce=ce+ae|0}while(--ue);ae%=65521;ce%=65521}return ae|ce<<16|0};re.exports=adler32},58282:re=>{"use strict";re.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},87242:re=>{"use strict";const makeTable=()=>{let re,ie=[];for(var oe=0;oe<256;oe++){re=oe;for(var se=0;se<8;se++){re=re&1?3988292384^re>>>1:re>>>1}ie[oe]=re}return ie};const ie=new Uint32Array(makeTable());const crc32=(re,oe,se,ae)=>{const ce=ie;const ue=ae+se;re^=-1;for(let ie=ae;ie>>8^ce[(re^oe[ie])&255]}return re^-1};re.exports=crc32},70978:(re,ie,oe)=>{"use strict";const{_tr_init:se,_tr_stored_block:ae,_tr_flush_block:ce,_tr_tally:ue,_tr_align:le}=oe(78754);const fe=oe(86924);const de=oe(87242);const pe=oe(1890);const{Z_NO_FLUSH:he,Z_PARTIAL_FLUSH:Ae,Z_FULL_FLUSH:ge,Z_FINISH:me,Z_BLOCK:ye,Z_OK:ve,Z_STREAM_END:be,Z_STREAM_ERROR:we,Z_DATA_ERROR:_e,Z_BUF_ERROR:Ee,Z_DEFAULT_COMPRESSION:Ce,Z_FILTERED:Ie,Z_HUFFMAN_ONLY:Se,Z_RLE:Be,Z_FIXED:xe,Z_DEFAULT_STRATEGY:ke,Z_UNKNOWN:Oe,Z_DEFLATED:De}=oe(58282);const Pe=9;const Te=15;const Qe=8;const Re=29;const Me=256;const Ne=Me+1+Re;const je=30;const Le=19;const Fe=2*Ne+1;const Ue=15;const He=3;const qe=258;const Ke=qe+He+1;const Ve=32;const Je=42;const We=57;const Ge=69;const Ye=73;const ze=91;const $e=103;const Ze=113;const Xe=666;const et=1;const tt=2;const rt=3;const nt=4;const it=3;const err=(re,ie)=>{re.msg=pe[ie];return ie};const rank=re=>re*2-(re>4?9:0);const zero=re=>{let ie=re.length;while(--ie>=0){re[ie]=0}};const slide_hash=re=>{let ie,oe;let se;let ae=re.w_size;ie=re.hash_size;se=ie;do{oe=re.head[--se];re.head[se]=oe>=ae?oe-ae:0}while(--ie);ie=ae;se=ie;do{oe=re.prev[--se];re.prev[se]=oe>=ae?oe-ae:0}while(--ie)};let HASH_ZLIB=(re,ie,oe)=>(ie<{const ie=re.state;let oe=ie.pending;if(oe>re.avail_out){oe=re.avail_out}if(oe===0){return}re.output.set(ie.pending_buf.subarray(ie.pending_out,ie.pending_out+oe),re.next_out);re.next_out+=oe;ie.pending_out+=oe;re.total_out+=oe;re.avail_out-=oe;ie.pending-=oe;if(ie.pending===0){ie.pending_out=0}};const flush_block_only=(re,ie)=>{ce(re,re.block_start>=0?re.block_start:-1,re.strstart-re.block_start,ie);re.block_start=re.strstart;flush_pending(re.strm)};const put_byte=(re,ie)=>{re.pending_buf[re.pending++]=ie};const putShortMSB=(re,ie)=>{re.pending_buf[re.pending++]=ie>>>8&255;re.pending_buf[re.pending++]=ie&255};const read_buf=(re,ie,oe,se)=>{let ae=re.avail_in;if(ae>se){ae=se}if(ae===0){return 0}re.avail_in-=ae;ie.set(re.input.subarray(re.next_in,re.next_in+ae),oe);if(re.state.wrap===1){re.adler=fe(re.adler,ie,ae,oe)}else if(re.state.wrap===2){re.adler=de(re.adler,ie,ae,oe)}re.next_in+=ae;re.total_in+=ae;return ae};const longest_match=(re,ie)=>{let oe=re.max_chain_length;let se=re.strstart;let ae;let ce;let ue=re.prev_length;let le=re.nice_match;const fe=re.strstart>re.w_size-Ke?re.strstart-(re.w_size-Ke):0;const de=re.window;const pe=re.w_mask;const he=re.prev;const Ae=re.strstart+qe;let ge=de[se+ue-1];let me=de[se+ue];if(re.prev_length>=re.good_match){oe>>=2}if(le>re.lookahead){le=re.lookahead}do{ae=ie;if(de[ae+ue]!==me||de[ae+ue-1]!==ge||de[ae]!==de[se]||de[++ae]!==de[se+1]){continue}se+=2;ae++;do{}while(de[++se]===de[++ae]&&de[++se]===de[++ae]&&de[++se]===de[++ae]&&de[++se]===de[++ae]&&de[++se]===de[++ae]&&de[++se]===de[++ae]&&de[++se]===de[++ae]&&de[++se]===de[++ae]&&seue){re.match_start=ie;ue=ce;if(ce>=le){break}ge=de[se+ue-1];me=de[se+ue]}}while((ie=he[ie&pe])>fe&&--oe!==0);if(ue<=re.lookahead){return ue}return re.lookahead};const fill_window=re=>{const ie=re.w_size;let oe,se,ae;do{se=re.window_size-re.lookahead-re.strstart;if(re.strstart>=ie+(ie-Ke)){re.window.set(re.window.subarray(ie,ie+ie-se),0);re.match_start-=ie;re.strstart-=ie;re.block_start-=ie;if(re.insert>re.strstart){re.insert=re.strstart}slide_hash(re);se+=ie}if(re.strm.avail_in===0){break}oe=read_buf(re.strm,re.window,re.strstart+re.lookahead,se);re.lookahead+=oe;if(re.lookahead+re.insert>=He){ae=re.strstart-re.insert;re.ins_h=re.window[ae];re.ins_h=ot(re,re.ins_h,re.window[ae+1]);while(re.insert){re.ins_h=ot(re,re.ins_h,re.window[ae+He-1]);re.prev[ae&re.w_mask]=re.head[re.ins_h];re.head[re.ins_h]=ae;ae++;re.insert--;if(re.lookahead+re.insert{let oe=re.pending_buf_size-5>re.w_size?re.w_size:re.pending_buf_size-5;let se,ce,ue,le=0;let fe=re.strm.avail_in;do{se=65535;ue=re.bi_valid+42>>3;if(re.strm.avail_outce+re.strm.avail_in){se=ce+re.strm.avail_in}if(se>ue){se=ue}if(se>8;re.pending_buf[re.pending-2]=~se;re.pending_buf[re.pending-1]=~se>>8;flush_pending(re.strm);if(ce){if(ce>se){ce=se}re.strm.output.set(re.window.subarray(re.block_start,re.block_start+ce),re.strm.next_out);re.strm.next_out+=ce;re.strm.avail_out-=ce;re.strm.total_out+=ce;re.block_start+=ce;se-=ce}if(se){read_buf(re.strm,re.strm.output,re.strm.next_out,se);re.strm.next_out+=se;re.strm.avail_out-=se;re.strm.total_out+=se}}while(le===0);fe-=re.strm.avail_in;if(fe){if(fe>=re.w_size){re.matches=2;re.window.set(re.strm.input.subarray(re.strm.next_in-re.w_size,re.strm.next_in),0);re.strstart=re.w_size;re.insert=re.strstart}else{if(re.window_size-re.strstart<=fe){re.strstart-=re.w_size;re.window.set(re.window.subarray(re.w_size,re.w_size+re.strstart),0);if(re.matches<2){re.matches++}if(re.insert>re.strstart){re.insert=re.strstart}}re.window.set(re.strm.input.subarray(re.strm.next_in-fe,re.strm.next_in),re.strstart);re.strstart+=fe;re.insert+=fe>re.w_size-re.insert?re.w_size-re.insert:fe}re.block_start=re.strstart}if(re.high_waterue&&re.block_start>=re.w_size){re.block_start-=re.w_size;re.strstart-=re.w_size;re.window.set(re.window.subarray(re.w_size,re.w_size+re.strstart),0);if(re.matches<2){re.matches++}ue+=re.w_size;if(re.insert>re.strstart){re.insert=re.strstart}}if(ue>re.strm.avail_in){ue=re.strm.avail_in}if(ue){read_buf(re.strm,re.window,re.strstart,ue);re.strstart+=ue;re.insert+=ue>re.w_size-re.insert?re.w_size-re.insert:ue}if(re.high_water>3;ue=re.pending_buf_size-ue>65535?65535:re.pending_buf_size-ue;oe=ue>re.w_size?re.w_size:ue;ce=re.strstart-re.block_start;if(ce>=oe||(ce||ie===me)&&ie!==he&&re.strm.avail_in===0&&ce<=ue){se=ce>ue?ue:ce;le=ie===me&&re.strm.avail_in===0&&se===ce?1:0;ae(re,re.block_start,se,le);re.block_start+=se;flush_pending(re.strm)}return le?rt:et};const deflate_fast=(re,ie)=>{let oe;let se;for(;;){if(re.lookahead=He){re.ins_h=ot(re,re.ins_h,re.window[re.strstart+He-1]);oe=re.prev[re.strstart&re.w_mask]=re.head[re.ins_h];re.head[re.ins_h]=re.strstart}if(oe!==0&&re.strstart-oe<=re.w_size-Ke){re.match_length=longest_match(re,oe)}if(re.match_length>=He){se=ue(re,re.strstart-re.match_start,re.match_length-He);re.lookahead-=re.match_length;if(re.match_length<=re.max_lazy_match&&re.lookahead>=He){re.match_length--;do{re.strstart++;re.ins_h=ot(re,re.ins_h,re.window[re.strstart+He-1]);oe=re.prev[re.strstart&re.w_mask]=re.head[re.ins_h];re.head[re.ins_h]=re.strstart}while(--re.match_length!==0);re.strstart++}else{re.strstart+=re.match_length;re.match_length=0;re.ins_h=re.window[re.strstart];re.ins_h=ot(re,re.ins_h,re.window[re.strstart+1])}}else{se=ue(re,0,re.window[re.strstart]);re.lookahead--;re.strstart++}if(se){flush_block_only(re,false);if(re.strm.avail_out===0){return et}}}re.insert=re.strstart{let oe;let se;let ae;for(;;){if(re.lookahead=He){re.ins_h=ot(re,re.ins_h,re.window[re.strstart+He-1]);oe=re.prev[re.strstart&re.w_mask]=re.head[re.ins_h];re.head[re.ins_h]=re.strstart}re.prev_length=re.match_length;re.prev_match=re.match_start;re.match_length=He-1;if(oe!==0&&re.prev_length4096)){re.match_length=He-1}}if(re.prev_length>=He&&re.match_length<=re.prev_length){ae=re.strstart+re.lookahead-He;se=ue(re,re.strstart-1-re.prev_match,re.prev_length-He);re.lookahead-=re.prev_length-1;re.prev_length-=2;do{if(++re.strstart<=ae){re.ins_h=ot(re,re.ins_h,re.window[re.strstart+He-1]);oe=re.prev[re.strstart&re.w_mask]=re.head[re.ins_h];re.head[re.ins_h]=re.strstart}}while(--re.prev_length!==0);re.match_available=0;re.match_length=He-1;re.strstart++;if(se){flush_block_only(re,false);if(re.strm.avail_out===0){return et}}}else if(re.match_available){se=ue(re,0,re.window[re.strstart-1]);if(se){flush_block_only(re,false)}re.strstart++;re.lookahead--;if(re.strm.avail_out===0){return et}}else{re.match_available=1;re.strstart++;re.lookahead--}}if(re.match_available){se=ue(re,0,re.window[re.strstart-1]);re.match_available=0}re.insert=re.strstart{let oe;let se;let ae,ce;const le=re.window;for(;;){if(re.lookahead<=qe){fill_window(re);if(re.lookahead<=qe&&ie===he){return et}if(re.lookahead===0){break}}re.match_length=0;if(re.lookahead>=He&&re.strstart>0){ae=re.strstart-1;se=le[ae];if(se===le[++ae]&&se===le[++ae]&&se===le[++ae]){ce=re.strstart+qe;do{}while(se===le[++ae]&&se===le[++ae]&&se===le[++ae]&&se===le[++ae]&&se===le[++ae]&&se===le[++ae]&&se===le[++ae]&&se===le[++ae]&&aere.lookahead){re.match_length=re.lookahead}}}if(re.match_length>=He){oe=ue(re,1,re.match_length-He);re.lookahead-=re.match_length;re.strstart+=re.match_length;re.match_length=0}else{oe=ue(re,0,re.window[re.strstart]);re.lookahead--;re.strstart++}if(oe){flush_block_only(re,false);if(re.strm.avail_out===0){return et}}}re.insert=0;if(ie===me){flush_block_only(re,true);if(re.strm.avail_out===0){return rt}return nt}if(re.sym_next){flush_block_only(re,false);if(re.strm.avail_out===0){return et}}return tt};const deflate_huff=(re,ie)=>{let oe;for(;;){if(re.lookahead===0){fill_window(re);if(re.lookahead===0){if(ie===he){return et}break}}re.match_length=0;oe=ue(re,0,re.window[re.strstart]);re.lookahead--;re.strstart++;if(oe){flush_block_only(re,false);if(re.strm.avail_out===0){return et}}}re.insert=0;if(ie===me){flush_block_only(re,true);if(re.strm.avail_out===0){return rt}return nt}if(re.sym_next){flush_block_only(re,false);if(re.strm.avail_out===0){return et}}return tt};function Config(re,ie,oe,se,ae){this.good_length=re;this.max_lazy=ie;this.nice_length=oe;this.max_chain=se;this.func=ae}const st=[new Config(0,0,0,0,deflate_stored),new Config(4,4,8,4,deflate_fast),new Config(4,5,16,8,deflate_fast),new Config(4,6,32,32,deflate_fast),new Config(4,4,16,16,deflate_slow),new Config(8,16,32,32,deflate_slow),new Config(8,16,128,128,deflate_slow),new Config(8,32,128,256,deflate_slow),new Config(32,128,258,1024,deflate_slow),new Config(32,258,258,4096,deflate_slow)];const lm_init=re=>{re.window_size=2*re.w_size;zero(re.head);re.max_lazy_match=st[re.level].max_lazy;re.good_match=st[re.level].good_length;re.nice_match=st[re.level].nice_length;re.max_chain_length=st[re.level].max_chain;re.strstart=0;re.block_start=0;re.lookahead=0;re.insert=0;re.match_length=re.prev_length=He-1;re.match_available=0;re.ins_h=0};function DeflateState(){this.strm=null;this.status=0;this.pending_buf=null;this.pending_buf_size=0;this.pending_out=0;this.pending=0;this.wrap=0;this.gzhead=null;this.gzindex=0;this.method=De;this.last_flush=-1;this.w_size=0;this.w_bits=0;this.w_mask=0;this.window=null;this.window_size=0;this.prev=null;this.head=null;this.ins_h=0;this.hash_size=0;this.hash_bits=0;this.hash_mask=0;this.hash_shift=0;this.block_start=0;this.match_length=0;this.prev_match=0;this.match_available=0;this.strstart=0;this.match_start=0;this.lookahead=0;this.prev_length=0;this.max_chain_length=0;this.max_lazy_match=0;this.level=0;this.strategy=0;this.good_match=0;this.nice_match=0;this.dyn_ltree=new Uint16Array(Fe*2);this.dyn_dtree=new Uint16Array((2*je+1)*2);this.bl_tree=new Uint16Array((2*Le+1)*2);zero(this.dyn_ltree);zero(this.dyn_dtree);zero(this.bl_tree);this.l_desc=null;this.d_desc=null;this.bl_desc=null;this.bl_count=new Uint16Array(Ue+1);this.heap=new Uint16Array(2*Ne+1);zero(this.heap);this.heap_len=0;this.heap_max=0;this.depth=new Uint16Array(2*Ne+1);zero(this.depth);this.sym_buf=0;this.lit_bufsize=0;this.sym_next=0;this.sym_end=0;this.opt_len=0;this.static_len=0;this.matches=0;this.insert=0;this.bi_buf=0;this.bi_valid=0}const deflateStateCheck=re=>{if(!re){return 1}const ie=re.state;if(!ie||ie.strm!==re||ie.status!==Je&&ie.status!==We&&ie.status!==Ge&&ie.status!==Ye&&ie.status!==ze&&ie.status!==$e&&ie.status!==Ze&&ie.status!==Xe){return 1}return 0};const deflateResetKeep=re=>{if(deflateStateCheck(re)){return err(re,we)}re.total_in=re.total_out=0;re.data_type=Oe;const ie=re.state;ie.pending=0;ie.pending_out=0;if(ie.wrap<0){ie.wrap=-ie.wrap}ie.status=ie.wrap===2?We:ie.wrap?Je:Ze;re.adler=ie.wrap===2?0:1;ie.last_flush=-2;se(ie);return ve};const deflateReset=re=>{const ie=deflateResetKeep(re);if(ie===ve){lm_init(re.state)}return ie};const deflateSetHeader=(re,ie)=>{if(deflateStateCheck(re)||re.state.wrap!==2){return we}re.state.gzhead=ie;return ve};const deflateInit2=(re,ie,oe,se,ae,ce)=>{if(!re){return we}let ue=1;if(ie===Ce){ie=6}if(se<0){ue=0;se=-se}else if(se>15){ue=2;se-=16}if(ae<1||ae>Pe||oe!==De||se<8||se>15||ie<0||ie>9||ce<0||ce>xe||se===8&&ue!==1){return err(re,we)}if(se===8){se=9}const le=new DeflateState;re.state=le;le.strm=re;le.status=Je;le.wrap=ue;le.gzhead=null;le.w_bits=se;le.w_size=1<deflateInit2(re,ie,De,Te,Qe,ke);const deflate=(re,ie)=>{if(deflateStateCheck(re)||ie>ye||ie<0){return re?err(re,we):we}const oe=re.state;if(!re.output||re.avail_in!==0&&!re.input||oe.status===Xe&&ie!==me){return err(re,re.avail_out===0?Ee:we)}const se=oe.last_flush;oe.last_flush=ie;if(oe.pending!==0){flush_pending(re);if(re.avail_out===0){oe.last_flush=-1;return ve}}else if(re.avail_in===0&&rank(ie)<=rank(se)&&ie!==me){return err(re,Ee)}if(oe.status===Xe&&re.avail_in!==0){return err(re,Ee)}if(oe.status===Je&&oe.wrap===0){oe.status=Ze}if(oe.status===Je){let ie=De+(oe.w_bits-8<<4)<<8;let se=-1;if(oe.strategy>=Se||oe.level<2){se=0}else if(oe.level<6){se=1}else if(oe.level===6){se=2}else{se=3}ie|=se<<6;if(oe.strstart!==0){ie|=Ve}ie+=31-ie%31;putShortMSB(oe,ie);if(oe.strstart!==0){putShortMSB(oe,re.adler>>>16);putShortMSB(oe,re.adler&65535)}re.adler=1;oe.status=Ze;flush_pending(re);if(oe.pending!==0){oe.last_flush=-1;return ve}}if(oe.status===We){re.adler=0;put_byte(oe,31);put_byte(oe,139);put_byte(oe,8);if(!oe.gzhead){put_byte(oe,0);put_byte(oe,0);put_byte(oe,0);put_byte(oe,0);put_byte(oe,0);put_byte(oe,oe.level===9?2:oe.strategy>=Se||oe.level<2?4:0);put_byte(oe,it);oe.status=Ze;flush_pending(re);if(oe.pending!==0){oe.last_flush=-1;return ve}}else{put_byte(oe,(oe.gzhead.text?1:0)+(oe.gzhead.hcrc?2:0)+(!oe.gzhead.extra?0:4)+(!oe.gzhead.name?0:8)+(!oe.gzhead.comment?0:16));put_byte(oe,oe.gzhead.time&255);put_byte(oe,oe.gzhead.time>>8&255);put_byte(oe,oe.gzhead.time>>16&255);put_byte(oe,oe.gzhead.time>>24&255);put_byte(oe,oe.level===9?2:oe.strategy>=Se||oe.level<2?4:0);put_byte(oe,oe.gzhead.os&255);if(oe.gzhead.extra&&oe.gzhead.extra.length){put_byte(oe,oe.gzhead.extra.length&255);put_byte(oe,oe.gzhead.extra.length>>8&255)}if(oe.gzhead.hcrc){re.adler=de(re.adler,oe.pending_buf,oe.pending,0)}oe.gzindex=0;oe.status=Ge}}if(oe.status===Ge){if(oe.gzhead.extra){let ie=oe.pending;let se=(oe.gzhead.extra.length&65535)-oe.gzindex;while(oe.pending+se>oe.pending_buf_size){let ae=oe.pending_buf_size-oe.pending;oe.pending_buf.set(oe.gzhead.extra.subarray(oe.gzindex,oe.gzindex+ae),oe.pending);oe.pending=oe.pending_buf_size;if(oe.gzhead.hcrc&&oe.pending>ie){re.adler=de(re.adler,oe.pending_buf,oe.pending-ie,ie)}oe.gzindex+=ae;flush_pending(re);if(oe.pending!==0){oe.last_flush=-1;return ve}ie=0;se-=ae}let ae=new Uint8Array(oe.gzhead.extra);oe.pending_buf.set(ae.subarray(oe.gzindex,oe.gzindex+se),oe.pending);oe.pending+=se;if(oe.gzhead.hcrc&&oe.pending>ie){re.adler=de(re.adler,oe.pending_buf,oe.pending-ie,ie)}oe.gzindex=0}oe.status=Ye}if(oe.status===Ye){if(oe.gzhead.name){let ie=oe.pending;let se;do{if(oe.pending===oe.pending_buf_size){if(oe.gzhead.hcrc&&oe.pending>ie){re.adler=de(re.adler,oe.pending_buf,oe.pending-ie,ie)}flush_pending(re);if(oe.pending!==0){oe.last_flush=-1;return ve}ie=0}if(oe.gzindexie){re.adler=de(re.adler,oe.pending_buf,oe.pending-ie,ie)}oe.gzindex=0}oe.status=ze}if(oe.status===ze){if(oe.gzhead.comment){let ie=oe.pending;let se;do{if(oe.pending===oe.pending_buf_size){if(oe.gzhead.hcrc&&oe.pending>ie){re.adler=de(re.adler,oe.pending_buf,oe.pending-ie,ie)}flush_pending(re);if(oe.pending!==0){oe.last_flush=-1;return ve}ie=0}if(oe.gzindexie){re.adler=de(re.adler,oe.pending_buf,oe.pending-ie,ie)}}oe.status=$e}if(oe.status===$e){if(oe.gzhead.hcrc){if(oe.pending+2>oe.pending_buf_size){flush_pending(re);if(oe.pending!==0){oe.last_flush=-1;return ve}}put_byte(oe,re.adler&255);put_byte(oe,re.adler>>8&255);re.adler=0}oe.status=Ze;flush_pending(re);if(oe.pending!==0){oe.last_flush=-1;return ve}}if(re.avail_in!==0||oe.lookahead!==0||ie!==he&&oe.status!==Xe){let se=oe.level===0?deflate_stored(oe,ie):oe.strategy===Se?deflate_huff(oe,ie):oe.strategy===Be?deflate_rle(oe,ie):st[oe.level].func(oe,ie);if(se===rt||se===nt){oe.status=Xe}if(se===et||se===rt){if(re.avail_out===0){oe.last_flush=-1}return ve}if(se===tt){if(ie===Ae){le(oe)}else if(ie!==ye){ae(oe,0,0,false);if(ie===ge){zero(oe.head);if(oe.lookahead===0){oe.strstart=0;oe.block_start=0;oe.insert=0}}}flush_pending(re);if(re.avail_out===0){oe.last_flush=-1;return ve}}}if(ie!==me){return ve}if(oe.wrap<=0){return be}if(oe.wrap===2){put_byte(oe,re.adler&255);put_byte(oe,re.adler>>8&255);put_byte(oe,re.adler>>16&255);put_byte(oe,re.adler>>24&255);put_byte(oe,re.total_in&255);put_byte(oe,re.total_in>>8&255);put_byte(oe,re.total_in>>16&255);put_byte(oe,re.total_in>>24&255)}else{putShortMSB(oe,re.adler>>>16);putShortMSB(oe,re.adler&65535)}flush_pending(re);if(oe.wrap>0){oe.wrap=-oe.wrap}return oe.pending!==0?ve:be};const deflateEnd=re=>{if(deflateStateCheck(re)){return we}const ie=re.state.status;re.state=null;return ie===Ze?err(re,_e):ve};const deflateSetDictionary=(re,ie)=>{let oe=ie.length;if(deflateStateCheck(re)){return we}const se=re.state;const ae=se.wrap;if(ae===2||ae===1&&se.status!==Je||se.lookahead){return we}if(ae===1){re.adler=fe(re.adler,ie,oe,0)}se.wrap=0;if(oe>=se.w_size){if(ae===0){zero(se.head);se.strstart=0;se.block_start=0;se.insert=0}let re=new Uint8Array(se.w_size);re.set(ie.subarray(oe-se.w_size,oe),0);ie=re;oe=se.w_size}const ce=re.avail_in;const ue=re.next_in;const le=re.input;re.avail_in=oe;re.next_in=0;re.input=ie;fill_window(se);while(se.lookahead>=He){let re=se.strstart;let ie=se.lookahead-(He-1);do{se.ins_h=ot(se,se.ins_h,se.window[re+He-1]);se.prev[re&se.w_mask]=se.head[se.ins_h];se.head[se.ins_h]=re;re++}while(--ie);se.strstart=re;se.lookahead=He-1;fill_window(se)}se.strstart+=se.lookahead;se.block_start=se.strstart;se.insert=se.lookahead;se.lookahead=0;se.match_length=se.prev_length=He-1;se.match_available=0;re.next_in=ue;re.input=le;re.avail_in=ce;se.wrap=ae;return ve};re.exports.deflateInit=deflateInit;re.exports.deflateInit2=deflateInit2;re.exports.deflateReset=deflateReset;re.exports.deflateResetKeep=deflateResetKeep;re.exports.deflateSetHeader=deflateSetHeader;re.exports.deflate=deflate;re.exports.deflateEnd=deflateEnd;re.exports.deflateSetDictionary=deflateSetDictionary;re.exports.deflateInfo="pako deflate (from Nodeca project)"},35105:re=>{"use strict";function GZheader(){this.text=0;this.time=0;this.xflags=0;this.os=0;this.extra=null;this.extra_len=0;this.name="";this.comment="";this.hcrc=0;this.done=false}re.exports=GZheader},65349:re=>{"use strict";const ie=16209;const oe=16191;re.exports=function inflate_fast(re,se){let ae;let ce;let ue;let le;let fe;let de;let pe;let he;let Ae;let ge;let me;let ye;let ve;let be;let we;let _e;let Ee;let Ce;let Ie;let Se;let Be;let xe;let ke,Oe;const De=re.state;ae=re.next_in;ke=re.input;ce=ae+(re.avail_in-5);ue=re.next_out;Oe=re.output;le=ue-(se-re.avail_out);fe=ue+(re.avail_out-257);de=De.dmax;pe=De.wsize;he=De.whave;Ae=De.wnext;ge=De.window;me=De.hold;ye=De.bits;ve=De.lencode;be=De.distcode;we=(1<>>24;me>>>=Ce;ye-=Ce;Ce=Ee>>>16&255;if(Ce===0){Oe[ue++]=Ee&65535}else if(Ce&16){Ie=Ee&65535;Ce&=15;if(Ce){if(ye>>=Ce;ye-=Ce}if(ye<15){me+=ke[ae++]<>>24;me>>>=Ce;ye-=Ce;Ce=Ee>>>16&255;if(Ce&16){Se=Ee&65535;Ce&=15;if(yede){re.msg="invalid distance too far back";De.mode=ie;break e}me>>>=Ce;ye-=Ce;Ce=ue-le;if(Se>Ce){Ce=Se-Ce;if(Ce>he){if(De.sane){re.msg="invalid distance too far back";De.mode=ie;break e}}Be=0;xe=ge;if(Ae===0){Be+=pe-Ce;if(Ce2){Oe[ue++]=xe[Be++];Oe[ue++]=xe[Be++];Oe[ue++]=xe[Be++];Ie-=3}if(Ie){Oe[ue++]=xe[Be++];if(Ie>1){Oe[ue++]=xe[Be++]}}}else{Be=ue-Se;do{Oe[ue++]=Oe[Be++];Oe[ue++]=Oe[Be++];Oe[ue++]=Oe[Be++];Ie-=3}while(Ie>2);if(Ie){Oe[ue++]=Oe[Be++];if(Ie>1){Oe[ue++]=Oe[Be++]}}}}else if((Ce&64)===0){Ee=be[(Ee&65535)+(me&(1<>3;ae-=Ie;ye-=Ie<<3;me&=(1<{"use strict";const se=oe(86924);const ae=oe(87242);const ce=oe(65349);const ue=oe(56895);const le=0;const fe=1;const de=2;const{Z_FINISH:pe,Z_BLOCK:he,Z_TREES:Ae,Z_OK:ge,Z_STREAM_END:me,Z_NEED_DICT:ye,Z_STREAM_ERROR:ve,Z_DATA_ERROR:be,Z_MEM_ERROR:we,Z_BUF_ERROR:_e,Z_DEFLATED:Ee}=oe(58282);const Ce=16180;const Ie=16181;const Se=16182;const Be=16183;const xe=16184;const ke=16185;const Oe=16186;const De=16187;const Pe=16188;const Te=16189;const Qe=16190;const Re=16191;const Me=16192;const Ne=16193;const je=16194;const Le=16195;const Fe=16196;const Ue=16197;const He=16198;const qe=16199;const Ke=16200;const Ve=16201;const Je=16202;const We=16203;const Ge=16204;const Ye=16205;const ze=16206;const $e=16207;const Ze=16208;const Xe=16209;const et=16210;const tt=16211;const rt=852;const nt=592;const it=15;const ot=it;const zswap32=re=>(re>>>24&255)+(re>>>8&65280)+((re&65280)<<8)+((re&255)<<24);function InflateState(){this.strm=null;this.mode=0;this.last=false;this.wrap=0;this.havedict=false;this.flags=0;this.dmax=0;this.check=0;this.total=0;this.head=null;this.wbits=0;this.wsize=0;this.whave=0;this.wnext=0;this.window=null;this.hold=0;this.bits=0;this.length=0;this.offset=0;this.extra=0;this.lencode=null;this.distcode=null;this.lenbits=0;this.distbits=0;this.ncode=0;this.nlen=0;this.ndist=0;this.have=0;this.next=null;this.lens=new Uint16Array(320);this.work=new Uint16Array(288);this.lendyn=null;this.distdyn=null;this.sane=0;this.back=0;this.was=0}const inflateStateCheck=re=>{if(!re){return 1}const ie=re.state;if(!ie||ie.strm!==re||ie.modett){return 1}return 0};const inflateResetKeep=re=>{if(inflateStateCheck(re)){return ve}const ie=re.state;re.total_in=re.total_out=ie.total=0;re.msg="";if(ie.wrap){re.adler=ie.wrap&1}ie.mode=Ce;ie.last=0;ie.havedict=0;ie.flags=-1;ie.dmax=32768;ie.head=null;ie.hold=0;ie.bits=0;ie.lencode=ie.lendyn=new Int32Array(rt);ie.distcode=ie.distdyn=new Int32Array(nt);ie.sane=1;ie.back=-1;return ge};const inflateReset=re=>{if(inflateStateCheck(re)){return ve}const ie=re.state;ie.wsize=0;ie.whave=0;ie.wnext=0;return inflateResetKeep(re)};const inflateReset2=(re,ie)=>{let oe;if(inflateStateCheck(re)){return ve}const se=re.state;if(ie<0){oe=0;ie=-ie}else{oe=(ie>>4)+5;if(ie<48){ie&=15}}if(ie&&(ie<8||ie>15)){return ve}if(se.window!==null&&se.wbits!==ie){se.window=null}se.wrap=oe;se.wbits=ie;return inflateReset(re)};const inflateInit2=(re,ie)=>{if(!re){return ve}const oe=new InflateState;re.state=oe;oe.strm=re;oe.window=null;oe.mode=Ce;const se=inflateReset2(re,ie);if(se!==ge){re.state=null}return se};const inflateInit=re=>inflateInit2(re,ot);let st=true;let at,ct;const fixedtables=re=>{if(st){at=new Int32Array(512);ct=new Int32Array(32);let ie=0;while(ie<144){re.lens[ie++]=8}while(ie<256){re.lens[ie++]=9}while(ie<280){re.lens[ie++]=7}while(ie<288){re.lens[ie++]=8}ue(fe,re.lens,0,288,at,0,re.work,{bits:9});ie=0;while(ie<32){re.lens[ie++]=5}ue(de,re.lens,0,32,ct,0,re.work,{bits:5});st=false}re.lencode=at;re.lenbits=9;re.distcode=ct;re.distbits=5};const updatewindow=(re,ie,oe,se)=>{let ae;const ce=re.state;if(ce.window===null){ce.wsize=1<=ce.wsize){ce.window.set(ie.subarray(oe-ce.wsize,oe),0);ce.wnext=0;ce.whave=ce.wsize}else{ae=ce.wsize-ce.wnext;if(ae>se){ae=se}ce.window.set(ie.subarray(oe-se,oe-se+ae),ce.wnext);se-=ae;if(se){ce.window.set(ie.subarray(oe-se,oe),0);ce.wnext=se;ce.whave=ce.wsize}else{ce.wnext+=ae;if(ce.wnext===ce.wsize){ce.wnext=0}if(ce.whave{let oe;let rt,nt;let it;let ot;let st,at;let ct;let ut;let ft,dt;let pt;let ht;let At;let mt=0;let yt,vt,bt;let wt,_t,Et;let Ct;let It;const St=new Uint8Array(4);let Bt;let xt;const kt=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(inflateStateCheck(re)||!re.output||!re.input&&re.avail_in!==0){return ve}oe=re.state;if(oe.mode===Re){oe.mode=Me}ot=re.next_out;nt=re.output;at=re.avail_out;it=re.next_in;rt=re.input;st=re.avail_in;ct=oe.hold;ut=oe.bits;ft=st;dt=at;It=ge;e:for(;;){switch(oe.mode){case Ce:if(oe.wrap===0){oe.mode=Me;break}while(ut<16){if(st===0){break e}st--;ct+=rt[it++]<>>8&255;oe.check=ae(oe.check,St,2,0);ct=0;ut=0;oe.mode=Ie;break}if(oe.head){oe.head.done=false}if(!(oe.wrap&1)||(((ct&255)<<8)+(ct>>8))%31){re.msg="incorrect header check";oe.mode=Xe;break}if((ct&15)!==Ee){re.msg="unknown compression method";oe.mode=Xe;break}ct>>>=4;ut-=4;Ct=(ct&15)+8;if(oe.wbits===0){oe.wbits=Ct}if(Ct>15||Ct>oe.wbits){re.msg="invalid window size";oe.mode=Xe;break}oe.dmax=1<>8&1}if(oe.flags&512&&oe.wrap&4){St[0]=ct&255;St[1]=ct>>>8&255;oe.check=ae(oe.check,St,2,0)}ct=0;ut=0;oe.mode=Se;case Se:while(ut<32){if(st===0){break e}st--;ct+=rt[it++]<>>8&255;St[2]=ct>>>16&255;St[3]=ct>>>24&255;oe.check=ae(oe.check,St,4,0)}ct=0;ut=0;oe.mode=Be;case Be:while(ut<16){if(st===0){break e}st--;ct+=rt[it++]<>8}if(oe.flags&512&&oe.wrap&4){St[0]=ct&255;St[1]=ct>>>8&255;oe.check=ae(oe.check,St,2,0)}ct=0;ut=0;oe.mode=xe;case xe:if(oe.flags&1024){while(ut<16){if(st===0){break e}st--;ct+=rt[it++]<>>8&255;oe.check=ae(oe.check,St,2,0)}ct=0;ut=0}else if(oe.head){oe.head.extra=null}oe.mode=ke;case ke:if(oe.flags&1024){pt=oe.length;if(pt>st){pt=st}if(pt){if(oe.head){Ct=oe.head.extra_len-oe.length;if(!oe.head.extra){oe.head.extra=new Uint8Array(oe.head.extra_len)}oe.head.extra.set(rt.subarray(it,it+pt),Ct)}if(oe.flags&512&&oe.wrap&4){oe.check=ae(oe.check,rt,pt,it)}st-=pt;it+=pt;oe.length-=pt}if(oe.length){break e}}oe.length=0;oe.mode=Oe;case Oe:if(oe.flags&2048){if(st===0){break e}pt=0;do{Ct=rt[it+pt++];if(oe.head&&Ct&&oe.length<65536){oe.head.name+=String.fromCharCode(Ct)}}while(Ct&&pt>9&1;oe.head.done=true}re.adler=oe.check=0;oe.mode=Re;break;case Te:while(ut<32){if(st===0){break e}st--;ct+=rt[it++]<>>=ut&7;ut-=ut&7;oe.mode=ze;break}while(ut<3){if(st===0){break e}st--;ct+=rt[it++]<>>=1;ut-=1;switch(ct&3){case 0:oe.mode=Ne;break;case 1:fixedtables(oe);oe.mode=qe;if(ie===Ae){ct>>>=2;ut-=2;break e}break;case 2:oe.mode=Fe;break;case 3:re.msg="invalid block type";oe.mode=Xe}ct>>>=2;ut-=2;break;case Ne:ct>>>=ut&7;ut-=ut&7;while(ut<32){if(st===0){break e}st--;ct+=rt[it++]<>>16^65535)){re.msg="invalid stored block lengths";oe.mode=Xe;break}oe.length=ct&65535;ct=0;ut=0;oe.mode=je;if(ie===Ae){break e}case je:oe.mode=Le;case Le:pt=oe.length;if(pt){if(pt>st){pt=st}if(pt>at){pt=at}if(pt===0){break e}nt.set(rt.subarray(it,it+pt),ot);st-=pt;it+=pt;at-=pt;ot+=pt;oe.length-=pt;break}oe.mode=Re;break;case Fe:while(ut<14){if(st===0){break e}st--;ct+=rt[it++]<>>=5;ut-=5;oe.ndist=(ct&31)+1;ct>>>=5;ut-=5;oe.ncode=(ct&15)+4;ct>>>=4;ut-=4;if(oe.nlen>286||oe.ndist>30){re.msg="too many length or distance symbols";oe.mode=Xe;break}oe.have=0;oe.mode=Ue;case Ue:while(oe.have>>=3;ut-=3}while(oe.have<19){oe.lens[kt[oe.have++]]=0}oe.lencode=oe.lendyn;oe.lenbits=7;Bt={bits:oe.lenbits};It=ue(le,oe.lens,0,19,oe.lencode,0,oe.work,Bt);oe.lenbits=Bt.bits;if(It){re.msg="invalid code lengths set";oe.mode=Xe;break}oe.have=0;oe.mode=He;case He:while(oe.have>>24;vt=mt>>>16&255;bt=mt&65535;if(yt<=ut){break}if(st===0){break e}st--;ct+=rt[it++]<>>=yt;ut-=yt;oe.lens[oe.have++]=bt}else{if(bt===16){xt=yt+2;while(ut>>=yt;ut-=yt;if(oe.have===0){re.msg="invalid bit length repeat";oe.mode=Xe;break}Ct=oe.lens[oe.have-1];pt=3+(ct&3);ct>>>=2;ut-=2}else if(bt===17){xt=yt+3;while(ut>>=yt;ut-=yt;Ct=0;pt=3+(ct&7);ct>>>=3;ut-=3}else{xt=yt+7;while(ut>>=yt;ut-=yt;Ct=0;pt=11+(ct&127);ct>>>=7;ut-=7}if(oe.have+pt>oe.nlen+oe.ndist){re.msg="invalid bit length repeat";oe.mode=Xe;break}while(pt--){oe.lens[oe.have++]=Ct}}}if(oe.mode===Xe){break}if(oe.lens[256]===0){re.msg="invalid code -- missing end-of-block";oe.mode=Xe;break}oe.lenbits=9;Bt={bits:oe.lenbits};It=ue(fe,oe.lens,0,oe.nlen,oe.lencode,0,oe.work,Bt);oe.lenbits=Bt.bits;if(It){re.msg="invalid literal/lengths set";oe.mode=Xe;break}oe.distbits=6;oe.distcode=oe.distdyn;Bt={bits:oe.distbits};It=ue(de,oe.lens,oe.nlen,oe.ndist,oe.distcode,0,oe.work,Bt);oe.distbits=Bt.bits;if(It){re.msg="invalid distances set";oe.mode=Xe;break}oe.mode=qe;if(ie===Ae){break e}case qe:oe.mode=Ke;case Ke:if(st>=6&&at>=258){re.next_out=ot;re.avail_out=at;re.next_in=it;re.avail_in=st;oe.hold=ct;oe.bits=ut;ce(re,dt);ot=re.next_out;nt=re.output;at=re.avail_out;it=re.next_in;rt=re.input;st=re.avail_in;ct=oe.hold;ut=oe.bits;if(oe.mode===Re){oe.back=-1}break}oe.back=0;for(;;){mt=oe.lencode[ct&(1<>>24;vt=mt>>>16&255;bt=mt&65535;if(yt<=ut){break}if(st===0){break e}st--;ct+=rt[it++]<>wt)];yt=mt>>>24;vt=mt>>>16&255;bt=mt&65535;if(wt+yt<=ut){break}if(st===0){break e}st--;ct+=rt[it++]<>>=wt;ut-=wt;oe.back+=wt}ct>>>=yt;ut-=yt;oe.back+=yt;oe.length=bt;if(vt===0){oe.mode=Ye;break}if(vt&32){oe.back=-1;oe.mode=Re;break}if(vt&64){re.msg="invalid literal/length code";oe.mode=Xe;break}oe.extra=vt&15;oe.mode=Ve;case Ve:if(oe.extra){xt=oe.extra;while(ut>>=oe.extra;ut-=oe.extra;oe.back+=oe.extra}oe.was=oe.length;oe.mode=Je;case Je:for(;;){mt=oe.distcode[ct&(1<>>24;vt=mt>>>16&255;bt=mt&65535;if(yt<=ut){break}if(st===0){break e}st--;ct+=rt[it++]<>wt)];yt=mt>>>24;vt=mt>>>16&255;bt=mt&65535;if(wt+yt<=ut){break}if(st===0){break e}st--;ct+=rt[it++]<>>=wt;ut-=wt;oe.back+=wt}ct>>>=yt;ut-=yt;oe.back+=yt;if(vt&64){re.msg="invalid distance code";oe.mode=Xe;break}oe.offset=bt;oe.extra=vt&15;oe.mode=We;case We:if(oe.extra){xt=oe.extra;while(ut>>=oe.extra;ut-=oe.extra;oe.back+=oe.extra}if(oe.offset>oe.dmax){re.msg="invalid distance too far back";oe.mode=Xe;break}oe.mode=Ge;case Ge:if(at===0){break e}pt=dt-at;if(oe.offset>pt){pt=oe.offset-pt;if(pt>oe.whave){if(oe.sane){re.msg="invalid distance too far back";oe.mode=Xe;break}}if(pt>oe.wnext){pt-=oe.wnext;ht=oe.wsize-pt}else{ht=oe.wnext-pt}if(pt>oe.length){pt=oe.length}At=oe.window}else{At=nt;ht=ot-oe.offset;pt=oe.length}if(pt>at){pt=at}at-=pt;oe.length-=pt;do{nt[ot++]=At[ht++]}while(--pt);if(oe.length===0){oe.mode=Ke}break;case Ye:if(at===0){break e}nt[ot++]=oe.length;at--;oe.mode=Ke;break;case ze:if(oe.wrap){while(ut<32){if(st===0){break e}st--;ct|=rt[it++]<{if(inflateStateCheck(re)){return ve}let ie=re.state;if(ie.window){ie.window=null}re.state=null;return ge};const inflateGetHeader=(re,ie)=>{if(inflateStateCheck(re)){return ve}const oe=re.state;if((oe.wrap&2)===0){return ve}oe.head=ie;ie.done=false;return ge};const inflateSetDictionary=(re,ie)=>{const oe=ie.length;let ae;let ce;let ue;if(inflateStateCheck(re)){return ve}ae=re.state;if(ae.wrap!==0&&ae.mode!==Qe){return ve}if(ae.mode===Qe){ce=1;ce=se(ce,ie,oe,0);if(ce!==ae.check){return be}}ue=updatewindow(re,ie,oe,oe);if(ue){ae.mode=et;return we}ae.havedict=1;return ge};re.exports.inflateReset=inflateReset;re.exports.inflateReset2=inflateReset2;re.exports.inflateResetKeep=inflateResetKeep;re.exports.inflateInit=inflateInit;re.exports.inflateInit2=inflateInit2;re.exports.inflate=inflate;re.exports.inflateEnd=inflateEnd;re.exports.inflateGetHeader=inflateGetHeader;re.exports.inflateSetDictionary=inflateSetDictionary;re.exports.inflateInfo="pako inflate (from Nodeca project)"},56895:re=>{"use strict";const ie=15;const oe=852;const se=592;const ae=0;const ce=1;const ue=2;const le=new Uint16Array([3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0]);const fe=new Uint8Array([16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78]);const de=new Uint16Array([1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0]);const pe=new Uint8Array([16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64]);const inflate_table=(re,he,Ae,ge,me,ye,ve,be)=>{const we=be.bits;let _e=0;let Ee=0;let Ce=0,Ie=0;let Se=0;let Be=0;let xe=0;let ke=0;let Oe=0;let De=0;let Pe;let Te;let Qe;let Re;let Me;let Ne=null;let je;const Le=new Uint16Array(ie+1);const Fe=new Uint16Array(ie+1);let Ue=null;let He,qe,Ke;for(_e=0;_e<=ie;_e++){Le[_e]=0}for(Ee=0;Ee=1;Ie--){if(Le[Ie]!==0){break}}if(Se>Ie){Se=Ie}if(Ie===0){me[ye++]=1<<24|64<<16|0;me[ye++]=1<<24|64<<16|0;be.bits=1;return 0}for(Ce=1;Ce0&&(re===ae||Ie!==1)){return-1}Fe[1]=0;for(_e=1;_eoe||re===ue&&Oe>se){return 1}for(;;){He=_e-xe;if(ve[Ee]+1=je){qe=Ue[ve[Ee]-je];Ke=Ne[ve[Ee]-je]}else{qe=32+64;Ke=0}Pe=1<<_e-xe;Te=1<>xe)+Te]=He<<24|qe<<16|Ke|0}while(Te!==0);Pe=1<<_e-1;while(De&Pe){Pe>>=1}if(Pe!==0){De&=Pe-1;De+=Pe}else{De=0}Ee++;if(--Le[_e]===0){if(_e===Ie){break}_e=he[Ae+ve[Ee]]}if(_e>Se&&(De&Re)!==Qe){if(xe===0){xe=Se}Me+=Ce;Be=_e-xe;ke=1<oe||re===ue&&Oe>se){return 1}Qe=Deℜme[Qe]=Se<<24|Be<<16|Me-ye|0}}if(De!==0){me[Me+De]=_e-xe<<24|64<<16|0}be.bits=Se;return 0};re.exports=inflate_table},1890:re=>{"use strict";re.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},78754:re=>{"use strict";const ie=4;const oe=0;const se=1;const ae=2;function zero(re){let ie=re.length;while(--ie>=0){re[ie]=0}}const ce=0;const ue=1;const le=2;const fe=3;const de=258;const pe=29;const he=256;const Ae=he+1+pe;const ge=30;const me=19;const ye=2*Ae+1;const ve=15;const be=16;const we=7;const _e=256;const Ee=16;const Ce=17;const Ie=18;const Se=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]);const Be=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]);const xe=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]);const ke=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);const Oe=512;const De=new Array((Ae+2)*2);zero(De);const Pe=new Array(ge*2);zero(Pe);const Te=new Array(Oe);zero(Te);const Qe=new Array(de-fe+1);zero(Qe);const Re=new Array(pe);zero(Re);const Me=new Array(ge);zero(Me);function StaticTreeDesc(re,ie,oe,se,ae){this.static_tree=re;this.extra_bits=ie;this.extra_base=oe;this.elems=se;this.max_length=ae;this.has_stree=re&&re.length}let Ne;let je;let Le;function TreeDesc(re,ie){this.dyn_tree=re;this.max_code=0;this.stat_desc=ie}const d_code=re=>re<256?Te[re]:Te[256+(re>>>7)];const put_short=(re,ie)=>{re.pending_buf[re.pending++]=ie&255;re.pending_buf[re.pending++]=ie>>>8&255};const send_bits=(re,ie,oe)=>{if(re.bi_valid>be-oe){re.bi_buf|=ie<>be-re.bi_valid;re.bi_valid+=oe-be}else{re.bi_buf|=ie<{send_bits(re,oe[ie*2],oe[ie*2+1])};const bi_reverse=(re,ie)=>{let oe=0;do{oe|=re&1;re>>>=1;oe<<=1}while(--ie>0);return oe>>>1};const bi_flush=re=>{if(re.bi_valid===16){put_short(re,re.bi_buf);re.bi_buf=0;re.bi_valid=0}else if(re.bi_valid>=8){re.pending_buf[re.pending++]=re.bi_buf&255;re.bi_buf>>=8;re.bi_valid-=8}};const gen_bitlen=(re,ie)=>{const oe=ie.dyn_tree;const se=ie.max_code;const ae=ie.stat_desc.static_tree;const ce=ie.stat_desc.has_stree;const ue=ie.stat_desc.extra_bits;const le=ie.stat_desc.extra_base;const fe=ie.stat_desc.max_length;let de;let pe,he;let Ae;let ge;let me;let be=0;for(Ae=0;Ae<=ve;Ae++){re.bl_count[Ae]=0}oe[re.heap[re.heap_max]*2+1]=0;for(de=re.heap_max+1;defe){Ae=fe;be++}oe[pe*2+1]=Ae;if(pe>se){continue}re.bl_count[Ae]++;ge=0;if(pe>=le){ge=ue[pe-le]}me=oe[pe*2];re.opt_len+=me*(Ae+ge);if(ce){re.static_len+=me*(ae[pe*2+1]+ge)}}if(be===0){return}do{Ae=fe-1;while(re.bl_count[Ae]===0){Ae--}re.bl_count[Ae]--;re.bl_count[Ae+1]+=2;re.bl_count[fe]--;be-=2}while(be>0);for(Ae=fe;Ae!==0;Ae--){pe=re.bl_count[Ae];while(pe!==0){he=re.heap[--de];if(he>se){continue}if(oe[he*2+1]!==Ae){re.opt_len+=(Ae-oe[he*2+1])*oe[he*2];oe[he*2+1]=Ae}pe--}}};const gen_codes=(re,ie,oe)=>{const se=new Array(ve+1);let ae=0;let ce;let ue;for(ce=1;ce<=ve;ce++){ae=ae+oe[ce-1]<<1;se[ce]=ae}for(ue=0;ue<=ie;ue++){let ie=re[ue*2+1];if(ie===0){continue}re[ue*2]=bi_reverse(se[ie]++,ie)}};const tr_static_init=()=>{let re;let ie;let oe;let se;let ae;const ce=new Array(ve+1);oe=0;for(se=0;se>=7;for(;se{let ie;for(ie=0;ie{if(re.bi_valid>8){put_short(re,re.bi_buf)}else if(re.bi_valid>0){re.pending_buf[re.pending++]=re.bi_buf}re.bi_buf=0;re.bi_valid=0};const smaller=(re,ie,oe,se)=>{const ae=ie*2;const ce=oe*2;return re[ae]{const se=re.heap[oe];let ae=oe<<1;while(ae<=re.heap_len){if(ae{let se;let ae;let ce=0;let ue;let le;if(re.sym_next!==0){do{se=re.pending_buf[re.sym_buf+ce++]&255;se+=(re.pending_buf[re.sym_buf+ce++]&255)<<8;ae=re.pending_buf[re.sym_buf+ce++];if(se===0){send_code(re,ae,ie)}else{ue=Qe[ae];send_code(re,ue+he+1,ie);le=Se[ue];if(le!==0){ae-=Re[ue];send_bits(re,ae,le)}se--;ue=d_code(se);send_code(re,ue,oe);le=Be[ue];if(le!==0){se-=Me[ue];send_bits(re,se,le)}}}while(ce{const oe=ie.dyn_tree;const se=ie.stat_desc.static_tree;const ae=ie.stat_desc.has_stree;const ce=ie.stat_desc.elems;let ue,le;let fe=-1;let de;re.heap_len=0;re.heap_max=ye;for(ue=0;ue>1;ue>=1;ue--){pqdownheap(re,oe,ue)}de=ce;do{ue=re.heap[1];re.heap[1]=re.heap[re.heap_len--];pqdownheap(re,oe,1);le=re.heap[1];re.heap[--re.heap_max]=ue;re.heap[--re.heap_max]=le;oe[de*2]=oe[ue*2]+oe[le*2];re.depth[de]=(re.depth[ue]>=re.depth[le]?re.depth[ue]:re.depth[le])+1;oe[ue*2+1]=oe[le*2+1]=de;re.heap[1]=de++;pqdownheap(re,oe,1)}while(re.heap_len>=2);re.heap[--re.heap_max]=re.heap[1];gen_bitlen(re,ie);gen_codes(oe,fe,re.bl_count)};const scan_tree=(re,ie,oe)=>{let se;let ae=-1;let ce;let ue=ie[0*2+1];let le=0;let fe=7;let de=4;if(ue===0){fe=138;de=3}ie[(oe+1)*2+1]=65535;for(se=0;se<=oe;se++){ce=ue;ue=ie[(se+1)*2+1];if(++le{let se;let ae=-1;let ce;let ue=ie[0*2+1];let le=0;let fe=7;let de=4;if(ue===0){fe=138;de=3}for(se=0;se<=oe;se++){ce=ue;ue=ie[(se+1)*2+1];if(++le{let ie;scan_tree(re,re.dyn_ltree,re.l_desc.max_code);scan_tree(re,re.dyn_dtree,re.d_desc.max_code);build_tree(re,re.bl_desc);for(ie=me-1;ie>=3;ie--){if(re.bl_tree[ke[ie]*2+1]!==0){break}}re.opt_len+=3*(ie+1)+5+5+4;return ie};const send_all_trees=(re,ie,oe,se)=>{let ae;send_bits(re,ie-257,5);send_bits(re,oe-1,5);send_bits(re,se-4,4);for(ae=0;ae{let ie=4093624447;let ae;for(ae=0;ae<=31;ae++,ie>>>=1){if(ie&1&&re.dyn_ltree[ae*2]!==0){return oe}}if(re.dyn_ltree[9*2]!==0||re.dyn_ltree[10*2]!==0||re.dyn_ltree[13*2]!==0){return se}for(ae=32;ae{if(!Fe){tr_static_init();Fe=true}re.l_desc=new TreeDesc(re.dyn_ltree,Ne);re.d_desc=new TreeDesc(re.dyn_dtree,je);re.bl_desc=new TreeDesc(re.bl_tree,Le);re.bi_buf=0;re.bi_valid=0;init_block(re)};const _tr_stored_block=(re,ie,oe,se)=>{send_bits(re,(ce<<1)+(se?1:0),3);bi_windup(re);put_short(re,oe);put_short(re,~oe);if(oe){re.pending_buf.set(re.window.subarray(ie,ie+oe),re.pending)}re.pending+=oe};const _tr_align=re=>{send_bits(re,ue<<1,3);send_code(re,_e,De);bi_flush(re)};const _tr_flush_block=(re,oe,se,ce)=>{let fe,de;let pe=0;if(re.level>0){if(re.strm.data_type===ae){re.strm.data_type=detect_data_type(re)}build_tree(re,re.l_desc);build_tree(re,re.d_desc);pe=build_bl_tree(re);fe=re.opt_len+3+7>>>3;de=re.static_len+3+7>>>3;if(de<=fe){fe=de}}else{fe=de=se+5}if(se+4<=fe&&oe!==-1){_tr_stored_block(re,oe,se,ce)}else if(re.strategy===ie||de===fe){send_bits(re,(ue<<1)+(ce?1:0),3);compress_block(re,De,Pe)}else{send_bits(re,(le<<1)+(ce?1:0),3);send_all_trees(re,re.l_desc.max_code+1,re.d_desc.max_code+1,pe+1);compress_block(re,re.dyn_ltree,re.dyn_dtree)}init_block(re);if(ce){bi_windup(re)}};const _tr_tally=(re,ie,oe)=>{re.pending_buf[re.sym_buf+re.sym_next++]=ie;re.pending_buf[re.sym_buf+re.sym_next++]=ie>>8;re.pending_buf[re.sym_buf+re.sym_next++]=oe;if(ie===0){re.dyn_ltree[oe*2]++}else{re.matches++;ie--;re.dyn_ltree[(Qe[oe]+he+1)*2]++;re.dyn_dtree[d_code(ie)*2]++}return re.sym_next===re.sym_end};re.exports._tr_init=_tr_init;re.exports._tr_stored_block=_tr_stored_block;re.exports._tr_flush_block=_tr_flush_block;re.exports._tr_tally=_tr_tally;re.exports._tr_align=_tr_align},86442:re=>{"use strict";function ZStream(){this.input=null;this.next_in=0;this.avail_in=0;this.total_in=0;this.output=null;this.next_out=0;this.avail_out=0;this.total_out=0;this.msg="";this.state=null;this.data_type=2;this.adler=0}re.exports=ZStream},63329:(re,ie,oe)=>{"use strict";var se=oe(57310).parse;var ae={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443};var ce=String.prototype.endsWith||function(re){return re.length<=this.length&&this.indexOf(re,this.length-re.length)!==-1};function getProxyForUrl(re){var ie=typeof re==="string"?se(re):re||{};var oe=ie.protocol;var ce=ie.host;var ue=ie.port;if(typeof ce!=="string"||!ce||typeof oe!=="string"){return""}oe=oe.split(":",1)[0];ce=ce.replace(/:\d*$/,"");ue=parseInt(ue)||ae[oe]||0;if(!shouldProxy(ce,ue)){return""}var le=getEnv("npm_config_"+oe+"_proxy")||getEnv(oe+"_proxy")||getEnv("npm_config_proxy")||getEnv("all_proxy");if(le&&le.indexOf("://")===-1){le=oe+"://"+le}return le}function shouldProxy(re,ie){var oe=(getEnv("npm_config_no_proxy")||getEnv("no_proxy")).toLowerCase();if(!oe){return true}if(oe==="*"){return false}return oe.split(/[,\s]/).every((function(oe){if(!oe){return true}var se=oe.match(/^(.+):(\d+)$/);var ae=se?se[1]:oe;var ue=se?parseInt(se[2]):0;if(ue&&ue!==ie){return true}if(!/^[.*]/.test(ae)){return re!==ae}if(ae.charAt(0)==="*"){ae=ae.slice(1)}return!ce.call(re,ae)}))}function getEnv(re){return process.env[re.toLowerCase()]||process.env[re.toUpperCase()]||""}ie.getProxyForUrl=getProxyForUrl},22420:(re,ie)=>{"use strict"; +hooks.version="2.30.1";setHookCallback(createLocal);hooks.fn=Xt;hooks.min=min;hooks.max=max;hooks.now=now;hooks.utc=createUTC;hooks.unix=createUnix;hooks.months=listMonths;hooks.isDate=isDate;hooks.locale=getSetGlobalLocale;hooks.invalid=createInvalid;hooks.duration=createDuration;hooks.isMoment=isMoment;hooks.weekdays=listWeekdays;hooks.parseZone=createInZone;hooks.localeData=getLocale;hooks.isDuration=isDuration;hooks.monthsShort=listMonthsShort;hooks.weekdaysMin=listWeekdaysMin;hooks.defineLocale=defineLocale;hooks.updateLocale=updateLocale;hooks.locales=listLocales;hooks.weekdaysShort=listWeekdaysShort;hooks.normalizeUnits=normalizeUnits;hooks.relativeTimeRounding=getSetRelativeTimeRounding;hooks.relativeTimeThreshold=getSetRelativeTimeThreshold;hooks.calendarFormat=getCalendarFormat;hooks.prototype=Xt;hooks.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};return hooks}))},80900:R=>{var pe=1e3;var Ae=pe*60;var he=Ae*60;var ge=he*24;var me=ge*7;var ye=ge*365.25;R.exports=function(R,pe){pe=pe||{};var Ae=typeof R;if(Ae==="string"&&R.length>0){return parse(R)}else if(Ae==="number"&&isFinite(R)){return pe.long?fmtLong(R):fmtShort(R)}throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(R))};function parse(R){R=String(R);if(R.length>100){return}var ve=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(R);if(!ve){return}var be=parseFloat(ve[1]);var Ee=(ve[2]||"ms").toLowerCase();switch(Ee){case"years":case"year":case"yrs":case"yr":case"y":return be*ye;case"weeks":case"week":case"w":return be*me;case"days":case"day":case"d":return be*ge;case"hours":case"hour":case"hrs":case"hr":case"h":return be*he;case"minutes":case"minute":case"mins":case"min":case"m":return be*Ae;case"seconds":case"second":case"secs":case"sec":case"s":return be*pe;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return be;default:return undefined}}function fmtShort(R){var me=Math.abs(R);if(me>=ge){return Math.round(R/ge)+"d"}if(me>=he){return Math.round(R/he)+"h"}if(me>=Ae){return Math.round(R/Ae)+"m"}if(me>=pe){return Math.round(R/pe)+"s"}return R+"ms"}function fmtLong(R){var me=Math.abs(R);if(me>=ge){return plural(R,me,ge,"day")}if(me>=he){return plural(R,me,he,"hour")}if(me>=Ae){return plural(R,me,Ae,"minute")}if(me>=pe){return plural(R,me,pe,"second")}return R+" ms"}function plural(R,pe,Ae,he){var ge=pe>=Ae*1.5;return Math.round(R/Ae)+" "+he+(ge?"s":"")}},93653:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.assertNotificationFilterIsEmpty=pe.assertImpersonatedUserIsEmpty=pe.assertTxConfigIsEmpty=pe.assertDatabaseIsEmpty=void 0;var he=Ae(55065);var ge=Ae(17526);function assertTxConfigIsEmpty(R,pe,Ae){if(pe===void 0){pe=function(){}}if(R&&!R.isEmpty()){var ge=(0,he.newError)("Driver is connected to the database that does not support transaction configuration. "+"Please upgrade to neo4j 3.5.0 or later in order to use this functionality");pe(ge.message);Ae.onError(ge);throw ge}}pe.assertTxConfigIsEmpty=assertTxConfigIsEmpty;function assertDatabaseIsEmpty(R,pe,Ae){if(pe===void 0){pe=function(){}}if(R){var ge=(0,he.newError)("Driver is connected to the database that does not support multiple databases. "+"Please upgrade to neo4j 4.0.0 or later in order to use this functionality");pe(ge.message);Ae.onError(ge);throw ge}}pe.assertDatabaseIsEmpty=assertDatabaseIsEmpty;function assertImpersonatedUserIsEmpty(R,pe,Ae){if(pe===void 0){pe=function(){}}if(R){var ge=(0,he.newError)("Driver is connected to the database that does not support user impersonation. "+"Please upgrade to neo4j 4.4.0 or later in order to use this functionality. "+"Trying to impersonate ".concat(R,"."));pe(ge.message);Ae.onError(ge);throw ge}}pe.assertImpersonatedUserIsEmpty=assertImpersonatedUserIsEmpty;function assertNotificationFilterIsEmpty(R,pe,Ae){if(pe===void 0){pe=function(){}}if(R!==undefined){var ge=(0,he.newError)("Driver is connected to a database that does not support user notification filters. "+"Please upgrade to Neo4j 5.7.0 or later in order to use this functionality. "+"Trying to set notifications to ".concat(he.json.stringify(R),"."));pe(ge.message);Ae.onError(ge);throw ge}}pe.assertNotificationFilterIsEmpty=assertNotificationFilterIsEmpty},54472:function(R,pe,Ae){"use strict";var he=this&&this.__createBinding||(Object.create?function(R,pe,Ae,he){if(he===undefined)he=Ae;var ge=Object.getOwnPropertyDescriptor(pe,Ae);if(!ge||("get"in ge?!pe.__esModule:ge.writable||ge.configurable)){ge={enumerable:true,get:function(){return pe[Ae]}}}Object.defineProperty(R,he,ge)}:function(R,pe,Ae,he){if(he===undefined)he=Ae;R[he]=pe[Ae]});var ge=this&&this.__setModuleDefault||(Object.create?function(R,pe){Object.defineProperty(R,"default",{enumerable:true,value:pe})}:function(R,pe){R["default"]=pe});var me=this&&this.__importStar||function(R){if(R&&R.__esModule)return R;var pe={};if(R!=null)for(var Ae in R)if(Ae!=="default"&&Object.prototype.hasOwnProperty.call(R,Ae))he(pe,R,Ae);ge(pe,R);return pe};var ye=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});var ve=Ae(93653);var be=Ae(31131);var Ee=Ae(32423);var Ce=me(Ae(67923));var we=Ae(17526);var Ie=Ae(55065);var _e=ye(Ae(16383));var Be=ye(Ae(28859));var Se=Ie.internal.bookmarks.Bookmarks,Qe=Ie.internal.constants,xe=Qe.ACCESS_MODE_WRITE,De=Qe.BOLT_PROTOCOL_V1,ke=Ie.internal.logger.Logger,Oe=Ie.internal.txConfig.TxConfig;var Re=function(){function BoltProtocol(R,pe,Ae,he,ge,me){var ye=Ae===void 0?{}:Ae,ve=ye.disableLosslessIntegers,be=ye.useBigInt;if(he===void 0){he=function(){return null}}this._server=R||{};this._chunker=pe;this._packer=this._createPacker(pe);this._unpacker=this._createUnpacker(ve,be);this._responseHandler=he(this);this._log=ge;this._onProtocolError=me;this._fatalError=null;this._lastMessageSignature=null;this._config={disableLosslessIntegers:ve,useBigInt:be}}Object.defineProperty(BoltProtocol.prototype,"transformer",{get:function(){var R=this;if(this._transformer===undefined){this._transformer=new Be.default(Object.values(_e.default).map((function(pe){return pe(R._config,R._log)})))}return this._transformer},enumerable:false,configurable:true});Object.defineProperty(BoltProtocol.prototype,"version",{get:function(){return De},enumerable:false,configurable:true});Object.defineProperty(BoltProtocol.prototype,"supportsReAuth",{get:function(){return false},enumerable:false,configurable:true});Object.defineProperty(BoltProtocol.prototype,"initialized",{get:function(){return!!this._initialized},enumerable:false,configurable:true});Object.defineProperty(BoltProtocol.prototype,"authToken",{get:function(){return this._authToken},enumerable:false,configurable:true});BoltProtocol.prototype.packer=function(){return this._packer};BoltProtocol.prototype.packable=function(R){return this._packer.packable(R,this.transformer.toStructure)};BoltProtocol.prototype.unpacker=function(){return this._unpacker};BoltProtocol.prototype.unpack=function(R){return this._unpacker.unpack(R,this.transformer.fromStructure)};BoltProtocol.prototype.transformMetadata=function(R){return R};BoltProtocol.prototype.initialize=function(R){var pe=this;var Ae=R===void 0?{}:R,he=Ae.userAgent,ge=Ae.boltAgent,me=Ae.authToken,ye=Ae.notificationFilter,be=Ae.onError,Ee=Ae.onComplete;var Ie=new we.LoginObserver({onError:function(R){return pe._onLoginError(R,be)},onCompleted:function(R){return pe._onLoginCompleted(R,Ee)}});(0,ve.assertNotificationFilterIsEmpty)(ye,this._onProtocolError,Ie);this.write(Ce.default.init(he,me),Ie,true);return Ie};BoltProtocol.prototype.logoff=function(R){var pe=R===void 0?{}:R,Ae=pe.onComplete,he=pe.onError,ge=pe.flush;var me=new we.LogoffObserver({onCompleted:Ae,onError:he});var ye=(0,Ie.newError)("Driver is connected to a database that does not support logoff. "+"Please upgrade to Neo4j 5.5.0 or later in order to use this functionality.");this._onProtocolError(ye.message);me.onError(ye);throw ye};BoltProtocol.prototype.logon=function(R){var pe=this;var Ae=R===void 0?{}:R,he=Ae.authToken,ge=Ae.onComplete,me=Ae.onError,ye=Ae.flush;var ve=new we.LoginObserver({onCompleted:function(){return pe._onLoginCompleted({},he,ge)},onError:function(R){return pe._onLoginError(R,me)}});var be=(0,Ie.newError)("Driver is connected to a database that does not support logon. "+"Please upgrade to Neo4j 5.5.0 or later in order to use this functionality.");this._onProtocolError(be.message);ve.onError(be);throw be};BoltProtocol.prototype.prepareToClose=function(){};BoltProtocol.prototype.beginTransaction=function(R){var pe=R===void 0?{}:R,Ae=pe.bookmarks,he=pe.txConfig,ge=pe.database,me=pe.mode,ye=pe.impersonatedUser,ve=pe.notificationFilter,be=pe.beforeError,Ee=pe.afterError,Ce=pe.beforeComplete,we=pe.afterComplete;return this.run("BEGIN",Ae?Ae.asBeginTransactionParameters():{},{bookmarks:Ae,txConfig:he,database:ge,mode:me,impersonatedUser:ye,notificationFilter:ve,beforeError:be,afterError:Ee,beforeComplete:Ce,afterComplete:we,flush:false})};BoltProtocol.prototype.commitTransaction=function(R){var pe=R===void 0?{}:R,Ae=pe.beforeError,he=pe.afterError,ge=pe.beforeComplete,me=pe.afterComplete;return this.run("COMMIT",{},{bookmarks:Se.empty(),txConfig:Oe.empty(),mode:xe,beforeError:Ae,afterError:he,beforeComplete:ge,afterComplete:me})};BoltProtocol.prototype.rollbackTransaction=function(R){var pe=R===void 0?{}:R,Ae=pe.beforeError,he=pe.afterError,ge=pe.beforeComplete,me=pe.afterComplete;return this.run("ROLLBACK",{},{bookmarks:Se.empty(),txConfig:Oe.empty(),mode:xe,beforeError:Ae,afterError:he,beforeComplete:ge,afterComplete:me})};BoltProtocol.prototype.run=function(R,pe,Ae){var he=Ae===void 0?{}:Ae,ge=he.bookmarks,me=he.txConfig,ye=he.database,be=he.mode,Ee=he.impersonatedUser,Ie=he.notificationFilter,_e=he.beforeKeys,Be=he.afterKeys,Se=he.beforeError,Qe=he.afterError,xe=he.beforeComplete,De=he.afterComplete,ke=he.flush,Oe=ke===void 0?true:ke,Re=he.highRecordWatermark,Pe=Re===void 0?Number.MAX_VALUE:Re,Te=he.lowRecordWatermark,Ne=Te===void 0?Number.MAX_VALUE:Te;var Me=new we.ResultStreamObserver({server:this._server,beforeKeys:_e,afterKeys:Be,beforeError:Se,afterError:Qe,beforeComplete:xe,afterComplete:De,highRecordWatermark:Pe,lowRecordWatermark:Ne});(0,ve.assertTxConfigIsEmpty)(me,this._onProtocolError,Me);(0,ve.assertDatabaseIsEmpty)(ye,this._onProtocolError,Me);(0,ve.assertImpersonatedUserIsEmpty)(Ee,this._onProtocolError,Me);(0,ve.assertNotificationFilterIsEmpty)(Ie,this._onProtocolError,Me);this.write(Ce.default.run(R,pe),Me,false);this.write(Ce.default.pullAll(),Me,Oe);return Me};Object.defineProperty(BoltProtocol.prototype,"currentFailure",{get:function(){return this._responseHandler.currentFailure},enumerable:false,configurable:true});BoltProtocol.prototype.reset=function(R){var pe=R===void 0?{}:R,Ae=pe.onError,he=pe.onComplete;var ge=new we.ResetObserver({onProtocolError:this._onProtocolError,onError:Ae,onComplete:he});this.write(Ce.default.reset(),ge,true);return ge};BoltProtocol.prototype.telemetry=function(R,pe){var Ae=R.api;var he=pe===void 0?{}:pe,ge=he.onError,me=he.onCompleted;var ye=new we.CompletedObserver;if(me){me()}return ye};BoltProtocol.prototype._createPacker=function(R){return new Ee.v1.Packer(R)};BoltProtocol.prototype._createUnpacker=function(R,pe){return new Ee.v1.Unpacker(R,pe)};BoltProtocol.prototype.write=function(R,pe,Ae){var he=this.queueObserverIfProtocolIsNotBroken(pe);if(he){if(this._log.isDebugEnabled()){this._log.debug("C: ".concat(R))}this._lastMessageSignature=R.signature;var ge=new Ee.structure.Structure(R.signature,R.fields);this.packable(ge)();this._chunker.messageBoundary();if(Ae){this._chunker.flush()}}};BoltProtocol.prototype.isLastMessageLogon=function(){return this._lastMessageSignature===Ce.SIGNATURES.HELLO||this._lastMessageSignature===Ce.SIGNATURES.LOGON};BoltProtocol.prototype.isLastMessageReset=function(){return this._lastMessageSignature===Ce.SIGNATURES.RESET};BoltProtocol.prototype.notifyFatalError=function(R){this._fatalError=R;return this._responseHandler._notifyErrorToObservers(R)};BoltProtocol.prototype.updateCurrentObserver=function(){return this._responseHandler._updateCurrentObserver()};BoltProtocol.prototype.hasOngoingObservableRequests=function(){return this._responseHandler.hasOngoingObservableRequests()};BoltProtocol.prototype.queueObserverIfProtocolIsNotBroken=function(R){if(this.isBroken()){this.notifyFatalErrorToObserver(R);return false}return this._responseHandler._queueObserver(R)};BoltProtocol.prototype.isBroken=function(){return!!this._fatalError};BoltProtocol.prototype.notifyFatalErrorToObserver=function(R){if(R&&R.onError){R.onError(this._fatalError)}};BoltProtocol.prototype.resetFailure=function(){this._responseHandler._resetFailure()};BoltProtocol.prototype._onLoginCompleted=function(R,pe,Ae){this._initialized=true;this._authToken=pe;if(R){var he=R.server;if(!this._server.version){this._server.version=he}}if(Ae){Ae(R)}};BoltProtocol.prototype._onLoginError=function(R,pe){this._onProtocolError(R.message);if(pe){pe(R)}};return BoltProtocol}();pe["default"]=Re},16383:function(R,pe,Ae){"use strict";var he=this&&this.__read||function(R,pe){var Ae=typeof Symbol==="function"&&R[Symbol.iterator];if(!Ae)return R;var he=Ae.call(R),ge,me=[],ye;try{while((pe===void 0||pe-- >0)&&!(ge=he.next()).done)me.push(ge.value)}catch(R){ye={error:R}}finally{try{if(ge&&!ge.done&&(Ae=he["return"]))Ae.call(he)}finally{if(ye)throw ye.error}}return me};Object.defineProperty(pe,"__esModule",{value:true});var ge=Ae(55065);var me=Ae(32423);var ye=Ae(28859);var ve=ge.error.PROTOCOL_ERROR;var be=78;var Ee=3;var Ce=82;var we=5;var Ie=114;var _e=3;var Be=80;var Se=3;function createNodeTransformer(){return new ye.TypeTransformer({signature:be,isTypeInstance:function(R){return R instanceof ge.Node},toStructure:function(R){throw(0,ge.newError)("It is not allowed to pass nodes in query parameters, given: ".concat(R),ve)},fromStructure:function(R){me.structure.verifyStructSize("Node",Ee,R.size);var pe=he(R.fields,3),Ae=pe[0],ye=pe[1],ve=pe[2];return new ge.Node(Ae,ye,ve)}})}function createRelationshipTransformer(){return new ye.TypeTransformer({signature:Ce,isTypeInstance:function(R){return R instanceof ge.Relationship},toStructure:function(R){throw(0,ge.newError)("It is not allowed to pass relationships in query parameters, given: ".concat(R),ve)},fromStructure:function(R){me.structure.verifyStructSize("Relationship",we,R.size);var pe=he(R.fields,5),Ae=pe[0],ye=pe[1],ve=pe[2],be=pe[3],Ee=pe[4];return new ge.Relationship(Ae,ye,ve,be,Ee)}})}function createUnboundRelationshipTransformer(){return new ye.TypeTransformer({signature:Ie,isTypeInstance:function(R){return R instanceof ge.UnboundRelationship},toStructure:function(R){throw(0,ge.newError)("It is not allowed to pass unbound relationships in query parameters, given: ".concat(R),ve)},fromStructure:function(R){me.structure.verifyStructSize("UnboundRelationship",_e,R.size);var pe=he(R.fields,3),Ae=pe[0],ye=pe[1],ve=pe[2];return new ge.UnboundRelationship(Ae,ye,ve)}})}function createPathTransformer(){return new ye.TypeTransformer({signature:Be,isTypeInstance:function(R){return R instanceof ge.Path},toStructure:function(R){throw(0,ge.newError)("It is not allowed to pass paths in query parameters, given: ".concat(R),ve)},fromStructure:function(R){me.structure.verifyStructSize("Path",Se,R.size);var pe=he(R.fields,3),Ae=pe[0],ye=pe[1],ve=pe[2];var be=[];var Ee=Ae[0];for(var Ce=0;Ce0){_e=ye[Ie-1];if(_e instanceof ge.UnboundRelationship){ye[Ie-1]=_e=_e.bindTo(Ee,we)}}else{_e=ye[-Ie-1];if(_e instanceof ge.UnboundRelationship){ye[-Ie-1]=_e=_e.bindTo(we,Ee)}}be.push(new ge.PathSegment(Ee,_e,we));Ee=we}return new ge.Path(Ae[0],Ae[Ae.length-1],be)}})}pe["default"]={createNodeTransformer:createNodeTransformer,createRelationshipTransformer:createRelationshipTransformer,createUnboundRelationshipTransformer:createUnboundRelationshipTransformer,createPathTransformer:createPathTransformer}},65633:function(R,pe,Ae){"use strict";var he=this&&this.__extends||function(){var extendStatics=function(R,pe){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(R,pe){R.__proto__=pe}||function(R,pe){for(var Ae in pe)if(Object.prototype.hasOwnProperty.call(pe,Ae))R[Ae]=pe[Ae]};return extendStatics(R,pe)};return function(R,pe){if(typeof pe!=="function"&&pe!==null)throw new TypeError("Class extends value "+String(pe)+" is not a constructor or null");extendStatics(R,pe);function __(){this.constructor=R}R.prototype=pe===null?Object.create(pe):(__.prototype=pe.prototype,new __)}}();var ge=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});var me=ge(Ae(54472));var ye=ge(Ae(32423));var ve=Ae(55065);var be=ge(Ae(96859));var Ee=ge(Ae(28859));var Ce=ve.internal.constants.BOLT_PROTOCOL_V2;var we=function(R){he(BoltProtocol,R);function BoltProtocol(){return R!==null&&R.apply(this,arguments)||this}BoltProtocol.prototype._createPacker=function(R){return new ye.default.Packer(R)};BoltProtocol.prototype._createUnpacker=function(R,pe){return new ye.default.Unpacker(R,pe)};Object.defineProperty(BoltProtocol.prototype,"transformer",{get:function(){var R=this;if(this._transformer===undefined){this._transformer=new Ee.default(Object.values(be.default).map((function(pe){return pe(R._config,R._log)})))}return this._transformer},enumerable:false,configurable:true});Object.defineProperty(BoltProtocol.prototype,"version",{get:function(){return Ce},enumerable:false,configurable:true});return BoltProtocol}(me.default);pe["default"]=we},96859:function(R,pe,Ae){"use strict";var he=this&&this.__assign||function(){he=Object.assign||function(R){for(var pe,Ae=1,he=arguments.length;Ae0)&&!(ge=he.next()).done)me.push(ge.value)}catch(R){ye={error:R}}finally{try{if(ge&&!ge.done&&(Ae=he["return"]))Ae.call(he)}finally{if(ye)throw ye.error}}return me};var me=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});var ye=Ae(55065);var ve=Ae(32423);var be=Ae(28859);var Ee=Ae(35243);var Ce=me(Ae(16383));var we=ye.internal.temporalUtil,Ie=we.dateToEpochDay,_e=we.localDateTimeToEpochSecond,Be=we.localTimeToNanoOfDay;var Se=88;var Qe=3;var xe=89;var De=4;var ke=69;var Oe=4;var Re=116;var Pe=1;var Te=84;var Ne=2;var Me=68;var Fe=1;var je=100;var Le=2;var Ue=70;var He=3;var Ve=102;var We=3;function createPoint2DTransformer(){return new be.TypeTransformer({signature:Se,isTypeInstance:function(R){return(0,ye.isPoint)(R)&&(R.z===null||R.z===undefined)},toStructure:function(R){return new ve.structure.Structure(Se,[(0,ye.int)(R.srid),R.x,R.y])},fromStructure:function(R){ve.structure.verifyStructSize("Point2D",Qe,R.size);var pe=ge(R.fields,3),Ae=pe[0],he=pe[1],me=pe[2];return new ye.Point(Ae,he,me,undefined)}})}function createPoint3DTransformer(){return new be.TypeTransformer({signature:xe,isTypeInstance:function(R){return(0,ye.isPoint)(R)&&R.z!==null&&R.z!==undefined},toStructure:function(R){return new ve.structure.Structure(xe,[(0,ye.int)(R.srid),R.x,R.y,R.z])},fromStructure:function(R){ve.structure.verifyStructSize("Point3D",De,R.size);var pe=ge(R.fields,4),Ae=pe[0],he=pe[1],me=pe[2],be=pe[3];return new ye.Point(Ae,he,me,be)}})}function createDurationTransformer(){return new be.TypeTransformer({signature:ke,isTypeInstance:ye.isDuration,toStructure:function(R){var pe=(0,ye.int)(R.months);var Ae=(0,ye.int)(R.days);var he=(0,ye.int)(R.seconds);var ge=(0,ye.int)(R.nanoseconds);return new ve.structure.Structure(ke,[pe,Ae,he,ge])},fromStructure:function(R){ve.structure.verifyStructSize("Duration",Oe,R.size);var pe=ge(R.fields,4),Ae=pe[0],he=pe[1],me=pe[2],be=pe[3];return new ye.Duration(Ae,he,me,be)}})}function createLocalTimeTransformer(R){var pe=R.disableLosslessIntegers,Ae=R.useBigInt;return new be.TypeTransformer({signature:Re,isTypeInstance:ye.isLocalTime,toStructure:function(R){var pe=Be(R.hour,R.minute,R.second,R.nanosecond);return new ve.structure.Structure(Re,[pe])},fromStructure:function(R){ve.structure.verifyStructSize("LocalTime",Pe,R.size);var he=ge(R.fields,1),me=he[0];var ye=(0,Ee.nanoOfDayToLocalTime)(me);return convertIntegerPropsIfNeeded(ye,pe,Ae)}})}function createTimeTransformer(R){var pe=R.disableLosslessIntegers,Ae=R.useBigInt;return new be.TypeTransformer({signature:Te,isTypeInstance:ye.isTime,toStructure:function(R){var pe=Be(R.hour,R.minute,R.second,R.nanosecond);var Ae=(0,ye.int)(R.timeZoneOffsetSeconds);return new ve.structure.Structure(Te,[pe,Ae])},fromStructure:function(R){ve.structure.verifyStructSize("Time",Ne,R.size);var he=ge(R.fields,2),me=he[0],be=he[1];var Ce=(0,Ee.nanoOfDayToLocalTime)(me);var we=new ye.Time(Ce.hour,Ce.minute,Ce.second,Ce.nanosecond,be);return convertIntegerPropsIfNeeded(we,pe,Ae)}})}function createDateTransformer(R){var pe=R.disableLosslessIntegers,Ae=R.useBigInt;return new be.TypeTransformer({signature:Me,isTypeInstance:ye.isDate,toStructure:function(R){var pe=Ie(R.year,R.month,R.day);return new ve.structure.Structure(Me,[pe])},fromStructure:function(R){ve.structure.verifyStructSize("Date",Fe,R.size);var he=ge(R.fields,1),me=he[0];var ye=(0,Ee.epochDayToDate)(me);return convertIntegerPropsIfNeeded(ye,pe,Ae)}})}function createLocalDateTimeTransformer(R){var pe=R.disableLosslessIntegers,Ae=R.useBigInt;return new be.TypeTransformer({signature:je,isTypeInstance:ye.isLocalDateTime,toStructure:function(R){var pe=_e(R.year,R.month,R.day,R.hour,R.minute,R.second,R.nanosecond);var Ae=(0,ye.int)(R.nanosecond);return new ve.structure.Structure(je,[pe,Ae])},fromStructure:function(R){ve.structure.verifyStructSize("LocalDateTime",Le,R.size);var he=ge(R.fields,2),me=he[0],ye=he[1];var be=(0,Ee.epochSecondAndNanoToLocalDateTime)(me,ye);return convertIntegerPropsIfNeeded(be,pe,Ae)}})}function createDateTimeWithZoneIdTransformer(R){var pe=R.disableLosslessIntegers,Ae=R.useBigInt;return new be.TypeTransformer({signature:Ve,isTypeInstance:function(R){return(0,ye.isDateTime)(R)&&R.timeZoneId!=null},toStructure:function(R){var pe=_e(R.year,R.month,R.day,R.hour,R.minute,R.second,R.nanosecond);var Ae=(0,ye.int)(R.nanosecond);var he=R.timeZoneId;return new ve.structure.Structure(Ve,[pe,Ae,he])},fromStructure:function(R){ve.structure.verifyStructSize("DateTimeWithZoneId",We,R.size);var he=ge(R.fields,3),me=he[0],be=he[1],Ce=he[2];var we=(0,Ee.epochSecondAndNanoToLocalDateTime)(me,be);var Ie=new ye.DateTime(we.year,we.month,we.day,we.hour,we.minute,we.second,we.nanosecond,null,Ce);return convertIntegerPropsIfNeeded(Ie,pe,Ae)}})}function createDateTimeWithOffsetTransformer(R){var pe=R.disableLosslessIntegers,Ae=R.useBigInt;return new be.TypeTransformer({signature:Ue,isTypeInstance:function(R){return(0,ye.isDateTime)(R)&&R.timeZoneId==null},toStructure:function(R){var pe=_e(R.year,R.month,R.day,R.hour,R.minute,R.second,R.nanosecond);var Ae=(0,ye.int)(R.nanosecond);var he=(0,ye.int)(R.timeZoneOffsetSeconds);return new ve.structure.Structure(Ue,[pe,Ae,he])},fromStructure:function(R){ve.structure.verifyStructSize("DateTimeWithZoneOffset",He,R.size);var he=ge(R.fields,3),me=he[0],be=he[1],Ce=he[2];var we=(0,Ee.epochSecondAndNanoToLocalDateTime)(me,be);var Ie=new ye.DateTime(we.year,we.month,we.day,we.hour,we.minute,we.second,we.nanosecond,Ce,null);return convertIntegerPropsIfNeeded(Ie,pe,Ae)}})}function convertIntegerPropsIfNeeded(R,pe,Ae){if(!pe&&!Ae){return R}var convert=function(R){return Ae?R.toBigInt():R.toNumberOrInfinity()};var he=Object.create(Object.getPrototypeOf(R));for(var ge in R){if(Object.prototype.hasOwnProperty.call(R,ge)===true){var me=R[ge];he[ge]=(0,ye.isInt)(me)?convert(me):me}}Object.freeze(he);return he}pe["default"]=he(he({},Ce.default),{createPoint2DTransformer:createPoint2DTransformer,createPoint3DTransformer:createPoint3DTransformer,createDurationTransformer:createDurationTransformer,createLocalTimeTransformer:createLocalTimeTransformer,createTimeTransformer:createTimeTransformer,createDateTransformer:createDateTransformer,createLocalDateTimeTransformer:createLocalDateTimeTransformer,createDateTimeWithZoneIdTransformer:createDateTimeWithZoneIdTransformer,createDateTimeWithOffsetTransformer:createDateTimeWithOffsetTransformer})},35510:function(R,pe,Ae){"use strict";var he=this&&this.__extends||function(){var extendStatics=function(R,pe){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(R,pe){R.__proto__=pe}||function(R,pe){for(var Ae in pe)if(Object.prototype.hasOwnProperty.call(pe,Ae))R[Ae]=pe[Ae]};return extendStatics(R,pe)};return function(R,pe){if(typeof pe!=="function"&&pe!==null)throw new TypeError("Class extends value "+String(pe)+" is not a constructor or null");extendStatics(R,pe);function __(){this.constructor=R}R.prototype=pe===null?Object.create(pe):(__.prototype=pe.prototype,new __)}}();var ge=this&&this.__assign||function(){ge=Object.assign||function(R){for(var pe,Ae=1,he=arguments.length;Ae0)&&!(ge=he.next()).done)me.push(ge.value)}catch(R){ye={error:R}}finally{try{if(ge&&!ge.done&&(Ae=he["return"]))Ae.call(he)}finally{if(ye)throw ye.error}}return me};var me=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});var ye=Ae(32423);var ve=Ae(55065);var be=me(Ae(18966));var Ee=me(Ae(75522));var Ce=4;var we=8;var Ie=4;function createNodeTransformer(R){var pe=be.default.createNodeTransformer(R);return pe.extendsWith({fromStructure:function(R){ye.structure.verifyStructSize("Node",Ce,R.size);var pe=ge(R.fields,4),Ae=pe[0],he=pe[1],me=pe[2],be=pe[3];return new ve.Node(Ae,he,me,be)}})}function createRelationshipTransformer(R){var pe=be.default.createRelationshipTransformer(R);return pe.extendsWith({fromStructure:function(R){ye.structure.verifyStructSize("Relationship",we,R.size);var pe=ge(R.fields,8),Ae=pe[0],he=pe[1],me=pe[2],be=pe[3],Ee=pe[4],Ce=pe[5],Ie=pe[6],_e=pe[7];return new ve.Relationship(Ae,he,me,be,Ee,Ce,Ie,_e)}})}function createUnboundRelationshipTransformer(R){var pe=be.default.createUnboundRelationshipTransformer(R);return pe.extendsWith({fromStructure:function(R){ye.structure.verifyStructSize("UnboundRelationship",Ie,R.size);var pe=ge(R.fields,4),Ae=pe[0],he=pe[1],me=pe[2],be=pe[3];return new ve.UnboundRelationship(Ae,he,me,be)}})}pe["default"]=he(he(he({},be.default),Ee.default),{createNodeTransformer:createNodeTransformer,createRelationshipTransformer:createRelationshipTransformer,createUnboundRelationshipTransformer:createUnboundRelationshipTransformer})},75522:function(R,pe,Ae){"use strict";var he=this&&this.__read||function(R,pe){var Ae=typeof Symbol==="function"&&R[Symbol.iterator];if(!Ae)return R;var he=Ae.call(R),ge,me=[],ye;try{while((pe===void 0||pe-- >0)&&!(ge=he.next()).done)me.push(ge.value)}catch(R){ye={error:R}}finally{try{if(ge&&!ge.done&&(Ae=he["return"]))Ae.call(he)}finally{if(ye)throw ye.error}}return me};var ge=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});var me=Ae(32423);var ye=Ae(55065);var ve=ge(Ae(18966));var be=Ae(35243);var Ee=Ae(85625);var Ce=ye.internal.temporalUtil.localDateTimeToEpochSecond;var we=73;var Ie=3;var _e=105;var Be=3;function createDateTimeWithZoneIdTransformer(R,pe){var Ae=R.disableLosslessIntegers,ge=R.useBigInt;var be=ve.default.createDateTimeWithZoneIdTransformer(R);return be.extendsWith({signature:_e,fromStructure:function(R){me.structure.verifyStructSize("DateTimeWithZoneId",Be,R.size);var pe=he(R.fields,3),ve=pe[0],be=pe[1],Ee=pe[2];var Ce=getTimeInZoneId(Ee,ve,be);var we=new ye.DateTime(Ce.year,Ce.month,Ce.day,Ce.hour,Ce.minute,Ce.second,(0,ye.int)(be),Ce.timeZoneOffsetSeconds,Ee);return convertIntegerPropsIfNeeded(we,Ae,ge)},toStructure:function(R){var Ae=Ce(R.year,R.month,R.day,R.hour,R.minute,R.second,R.nanosecond);var he=R.timeZoneOffsetSeconds!=null?R.timeZoneOffsetSeconds:getOffsetFromZoneId(R.timeZoneId,Ae,R.nanosecond);if(R.timeZoneOffsetSeconds==null){pe.warn('DateTime objects without "timeZoneOffsetSeconds" property '+"are prune to bugs related to ambiguous times. For instance, "+"2022-10-30T2:30:00[Europe/Berlin] could be GMT+1 or GMT+2.")}var ge=Ae.subtract(he);var ve=(0,ye.int)(R.nanosecond);var be=R.timeZoneId;return new me.structure.Structure(_e,[ge,ve,be])}})}function getOffsetFromZoneId(R,pe,Ae){var he=getTimeInZoneId(R,pe,Ae);var ge=Ce(he.year,he.month,he.day,he.hour,he.minute,he.second,Ae);var me=ge.subtract(pe);var ye=pe.subtract(me);var ve=getTimeInZoneId(R,ye,Ae);var be=Ce(ve.year,ve.month,ve.day,ve.hour,ve.minute,ve.second,Ae);var Ee=be.subtract(ye);return Ee}var Se=new Map;function getDateTimeFormatForZoneId(R){if(!Se.has(R)){var pe=new Intl.DateTimeFormat("en-US",{timeZone:R,year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric",hour12:false,era:"narrow"});Se.set(R,pe)}return Se.get(R)}function getTimeInZoneId(R,pe,Ae){var he=getDateTimeFormatForZoneId(R);var ge=(0,ye.int)(pe).multiply(1e3).add((0,ye.int)(Ae).div(1e6)).toNumber();var me=he.formatToParts(ge);var ve=me.reduce((function(R,pe){if(pe.type==="era"){R.adjustEra=pe.value.toUpperCase()==="B"?function(R){return R.subtract(1).negate()}:Ee.identity}else if(pe.type==="hour"){R.hour=(0,ye.int)(pe.value).modulo(24)}else if(pe.type!=="literal"){R[pe.type]=(0,ye.int)(pe.value)}return R}),{});ve.year=ve.adjustEra(ve.year);var be=Ce(ve.year,ve.month,ve.day,ve.hour,ve.minute,ve.second,ve.nanosecond);ve.timeZoneOffsetSeconds=be.subtract(pe);ve.hour=ve.hour.modulo(24);return ve}function createDateTimeWithOffsetTransformer(R){var pe=R.disableLosslessIntegers,Ae=R.useBigInt;var ge=ve.default.createDateTimeWithOffsetTransformer(R);return ge.extendsWith({signature:we,toStructure:function(R){var pe=Ce(R.year,R.month,R.day,R.hour,R.minute,R.second,R.nanosecond);var Ae=(0,ye.int)(R.nanosecond);var he=(0,ye.int)(R.timeZoneOffsetSeconds);var ge=pe.subtract(he);return new me.structure.Structure(we,[ge,Ae,he])},fromStructure:function(R){me.structure.verifyStructSize("DateTimeWithZoneOffset",Ie,R.size);var ge=he(R.fields,3),ve=ge[0],Ee=ge[1],Ce=ge[2];var we=(0,ye.int)(ve).add(Ce);var _e=(0,be.epochSecondAndNanoToLocalDateTime)(we,Ee);var Be=new ye.DateTime(_e.year,_e.month,_e.day,_e.hour,_e.minute,_e.second,_e.nanosecond,Ce,null);return convertIntegerPropsIfNeeded(Be,pe,Ae)}})}function convertIntegerPropsIfNeeded(R,pe,Ae){if(!pe&&!Ae){return R}var convert=function(R){return Ae?R.toBigInt():R.toNumberOrInfinity()};var he=Object.create(Object.getPrototypeOf(R));for(var ge in R){if(Object.prototype.hasOwnProperty.call(R,ge)===true){var me=R[ge];he[ge]=(0,ye.isInt)(me)?convert(me):me}}Object.freeze(he);return he}pe["default"]={createDateTimeWithZoneIdTransformer:createDateTimeWithZoneIdTransformer,createDateTimeWithOffsetTransformer:createDateTimeWithOffsetTransformer}},59727:function(R,pe,Ae){"use strict";var he=this&&this.__extends||function(){var extendStatics=function(R,pe){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(R,pe){R.__proto__=pe}||function(R,pe){for(var Ae in pe)if(Object.prototype.hasOwnProperty.call(pe,Ae))R[Ae]=pe[Ae]};return extendStatics(R,pe)};return function(R,pe){if(typeof pe!=="function"&&pe!==null)throw new TypeError("Class extends value "+String(pe)+" is not a constructor or null");extendStatics(R,pe);function __(){this.constructor=R}R.prototype=pe===null?Object.create(pe):(__.prototype=pe.prototype,new __)}}();var ge=this&&this.__assign||function(){ge=Object.assign||function(R){for(var pe,Ae=1,he=arguments.length;Ae{"use strict";Object.defineProperty(pe,"__esModule",{value:true});var he=Ae(31131);var ge=Ae(55065);var me=1616949271;function version(R,pe){return{major:R,minor:pe}}function createHandshakeMessage(R){if(R.length>4){throw(0,ge.newError)("It should not have more than 4 versions of the protocol")}var pe=(0,he.alloc)(5*4);pe.writeInt32(me);R.forEach((function(R){if(R instanceof Array){var Ae=R[0],he=Ae.major,ge=Ae.minor;var me=R[1].minor;var ye=ge-me;pe.writeInt32(ye<<16|ge<<8|he)}else{var he=R.major,ge=R.minor;pe.writeInt32(ge<<8|he)}}));pe.reset();return pe}function parseNegotiatedResponse(R,pe){var Ae=[R.readUInt8(),R.readUInt8(),R.readUInt8(),R.readUInt8()];if(Ae[0]===72&&Ae[1]===84&&Ae[2]===84&&Ae[3]===80){pe.error("Handshake failed since server responded with HTTP.");throw(0,ge.newError)("Server responded HTTP. Make sure you are not trying to connect to the http endpoint "+"(HTTP defaults to port 7474 whereas BOLT defaults to port 7687)")}return Number(Ae[3]+"."+Ae[2])}function newHandshakeBuffer(){return createHandshakeMessage([[version(5,6),version(5,0)],[version(4,4),version(4,2)],version(4,1),version(3,0)])}function handshake(R,pe){var Ae=this;return new Promise((function(he,ge){var handshakeErrorHandler=function(R){ge(R)};R.onerror=handshakeErrorHandler.bind(Ae);if(R._error){handshakeErrorHandler(R._error)}R.onmessage=function(R){try{var Ae=parseNegotiatedResponse(R,pe);he({protocolVersion:Ae,consumeRemainingBuffer:function(pe){if(R.hasRemaining()){pe(R.readSlice(R.remaining()))}}})}catch(R){ge(R)}};R.write(newHandshakeBuffer())}))}pe["default"]=handshake},86934:function(R,pe,Ae){"use strict";var he=this&&this.__createBinding||(Object.create?function(R,pe,Ae,he){if(he===undefined)he=Ae;var ge=Object.getOwnPropertyDescriptor(pe,Ae);if(!ge||("get"in ge?!pe.__esModule:ge.writable||ge.configurable)){ge={enumerable:true,get:function(){return pe[Ae]}}}Object.defineProperty(R,he,ge)}:function(R,pe,Ae,he){if(he===undefined)he=Ae;R[he]=pe[Ae]});var ge=this&&this.__exportStar||function(R,pe){for(var Ae in R)if(Ae!=="default"&&!Object.prototype.hasOwnProperty.call(pe,Ae))he(pe,R,Ae)};var me=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});pe.RawRoutingTable=pe.BoltProtocol=void 0;var ye=me(Ae(34529));var ve=me(Ae(23536));var be=me(Ae(24519));var Ee=me(Ae(18805));ge(Ae(17526),pe);pe.BoltProtocol=be.default;pe.RawRoutingTable=Ee.default;pe["default"]={handshake:ye.default,create:ve.default}},67923:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.SIGNATURES=void 0;var he=Ae(55065);var ge=he.internal.constants,me=ge.ACCESS_MODE_READ,ye=ge.FETCH_ALL,ve=he.internal.util.assertString;var be=1;var Ee=14;var Ce=15;var we=16;var Ie=47;var _e=63;var Be=1;var Se=2;var Qe=17;var xe=18;var De=19;var ke=84;var Oe=102;var Re=106;var Pe=107;var Te=47;var Ne=63;var Me="r";var Fe=-1;var je=Object.freeze({INIT:be,RESET:Ce,RUN:we,PULL_ALL:_e,HELLO:Be,GOODBYE:Se,BEGIN:Qe,COMMIT:xe,ROLLBACK:De,TELEMETRY:ke,ROUTE:Oe,LOGON:Re,LOGOFF:Pe,DISCARD:Te,PULL:Ne});pe.SIGNATURES=je;var Le=function(){function RequestMessage(R,pe,Ae){this.signature=R;this.fields=pe;this.toString=Ae}RequestMessage.init=function(R,pe){return new RequestMessage(be,[R,pe],(function(){return"INIT ".concat(R," {...}")}))};RequestMessage.run=function(R,pe){return new RequestMessage(we,[R,pe],(function(){return"RUN ".concat(R," ").concat(he.json.stringify(pe))}))};RequestMessage.pullAll=function(){return Ue};RequestMessage.reset=function(){return He};RequestMessage.hello=function(R,pe,Ae,he){if(Ae===void 0){Ae=null}if(he===void 0){he=null}var ge=Object.assign({user_agent:R},pe);if(Ae){ge.routing=Ae}if(he){ge.patch_bolt=he}return new RequestMessage(Be,[ge],(function(){return"HELLO {user_agent: '".concat(R,"', ...}")}))};RequestMessage.hello5x1=function(R,pe){if(pe===void 0){pe=null}var Ae={user_agent:R};if(pe){Ae.routing=pe}return new RequestMessage(Be,[Ae],(function(){return"HELLO {user_agent: '".concat(R,"', ...}")}))};RequestMessage.hello5x2=function(R,pe,Ae){if(pe===void 0){pe=null}if(Ae===void 0){Ae=null}var ge={user_agent:R};appendLegacyNotificationFilterToMetadata(ge,pe);if(Ae){ge.routing=Ae}return new RequestMessage(Be,[ge],(function(){return"HELLO ".concat(he.json.stringify(ge))}))};RequestMessage.hello5x3=function(R,pe,Ae,ge){if(Ae===void 0){Ae=null}if(ge===void 0){ge=null}var me={};if(R){me.user_agent=R}if(pe){me.bolt_agent={product:pe.product,platform:pe.platform,language:pe.language,language_details:pe.languageDetails}}appendLegacyNotificationFilterToMetadata(me,Ae);if(ge){me.routing=ge}return new RequestMessage(Be,[me],(function(){return"HELLO ".concat(he.json.stringify(me))}))};RequestMessage.hello5x5=function(R,pe,Ae,ge){if(Ae===void 0){Ae=null}if(ge===void 0){ge=null}var me={};if(R){me.user_agent=R}if(pe){me.bolt_agent={product:pe.product,platform:pe.platform,language:pe.language,language_details:pe.languageDetails}}appendGqlNotificationFilterToMetadata(me,Ae);if(ge){me.routing=ge}return new RequestMessage(Be,[me],(function(){return"HELLO ".concat(he.json.stringify(me))}))};RequestMessage.logon=function(R){return new RequestMessage(Re,[R],(function(){return"LOGON { ... }"}))};RequestMessage.logoff=function(){return new RequestMessage(Pe,[],(function(){return"LOGOFF"}))};RequestMessage.begin=function(R){var pe=R===void 0?{}:R,Ae=pe.bookmarks,ge=pe.txConfig,me=pe.database,ye=pe.mode,ve=pe.impersonatedUser,be=pe.notificationFilter;var Ee=buildTxMetadata(Ae,ge,me,ye,ve,be);return new RequestMessage(Qe,[Ee],(function(){return"BEGIN ".concat(he.json.stringify(Ee))}))};RequestMessage.begin5x5=function(R){var pe=R===void 0?{}:R,Ae=pe.bookmarks,ge=pe.txConfig,me=pe.database,ye=pe.mode,ve=pe.impersonatedUser,be=pe.notificationFilter;var Ee=buildTxMetadata(Ae,ge,me,ye,ve,be,{appendNotificationFilter:appendGqlNotificationFilterToMetadata});return new RequestMessage(Qe,[Ee],(function(){return"BEGIN ".concat(he.json.stringify(Ee))}))};RequestMessage.commit=function(){return Ve};RequestMessage.rollback=function(){return We};RequestMessage.runWithMetadata=function(R,pe,Ae){var ge=Ae===void 0?{}:Ae,me=ge.bookmarks,ye=ge.txConfig,ve=ge.database,be=ge.mode,Ee=ge.impersonatedUser,Ce=ge.notificationFilter;var Ie=buildTxMetadata(me,ye,ve,be,Ee,Ce);return new RequestMessage(we,[R,pe,Ie],(function(){return"RUN ".concat(R," ").concat(he.json.stringify(pe)," ").concat(he.json.stringify(Ie))}))};RequestMessage.runWithMetadata5x5=function(R,pe,Ae){var ge=Ae===void 0?{}:Ae,me=ge.bookmarks,ye=ge.txConfig,ve=ge.database,be=ge.mode,Ee=ge.impersonatedUser,Ce=ge.notificationFilter;var Ie=buildTxMetadata(me,ye,ve,be,Ee,Ce,{appendNotificationFilter:appendGqlNotificationFilterToMetadata});return new RequestMessage(we,[R,pe,Ie],(function(){return"RUN ".concat(R," ").concat(he.json.stringify(pe)," ").concat(he.json.stringify(Ie))}))};RequestMessage.goodbye=function(){return Je};RequestMessage.pull=function(R){var pe=R===void 0?{}:R,Ae=pe.stmtId,ge=Ae===void 0?Fe:Ae,me=pe.n,ve=me===void 0?ye:me;var be=buildStreamMetadata(ge===null||ge===undefined?Fe:ge,ve||ye);return new RequestMessage(Ne,[be],(function(){return"PULL ".concat(he.json.stringify(be))}))};RequestMessage.discard=function(R){var pe=R===void 0?{}:R,Ae=pe.stmtId,ge=Ae===void 0?Fe:Ae,me=pe.n,ve=me===void 0?ye:me;var be=buildStreamMetadata(ge===null||ge===undefined?Fe:ge,ve||ye);return new RequestMessage(Te,[be],(function(){return"DISCARD ".concat(he.json.stringify(be))}))};RequestMessage.telemetry=function(R){var pe=R.api;var Ae=(0,he.int)(pe);return new RequestMessage(ke,[Ae],(function(){return"TELEMETRY ".concat(Ae.toString())}))};RequestMessage.route=function(R,pe,Ae){if(R===void 0){R={}}if(pe===void 0){pe=[]}if(Ae===void 0){Ae=null}return new RequestMessage(Oe,[R,pe,Ae],(function(){return"ROUTE ".concat(he.json.stringify(R)," ").concat(he.json.stringify(pe)," ").concat(Ae)}))};RequestMessage.routeV4x4=function(R,pe,Ae){if(R===void 0){R={}}if(pe===void 0){pe=[]}if(Ae===void 0){Ae={}}var ge={};if(Ae.databaseName){ge.db=Ae.databaseName}if(Ae.impersonatedUser){ge.imp_user=Ae.impersonatedUser}return new RequestMessage(Oe,[R,pe,ge],(function(){return"ROUTE ".concat(he.json.stringify(R)," ").concat(he.json.stringify(pe)," ").concat(he.json.stringify(ge))}))};return RequestMessage}();pe["default"]=Le;function buildTxMetadata(R,pe,Ae,he,ge,ye,be){var Ee;if(be===void 0){be={}}var Ce={};if(!R.isEmpty()){Ce.bookmarks=R.values()}if(pe.timeout!==null){Ce.tx_timeout=pe.timeout}if(pe.metadata){Ce.tx_metadata=pe.metadata}if(Ae){Ce.db=ve(Ae,"database")}if(ge){Ce.imp_user=ve(ge,"impersonatedUser")}if(he===me){Ce.mode=Me}var we=(Ee=be.appendNotificationFilter)!==null&&Ee!==void 0?Ee:appendLegacyNotificationFilterToMetadata;we(Ce,ye);return Ce}function buildStreamMetadata(R,pe){var Ae={n:(0,he.int)(pe)};if(R!==Fe){Ae.qid=(0,he.int)(R)}return Ae}function appendLegacyNotificationFilterToMetadata(R,pe){if(pe){if(pe.minimumSeverityLevel){R.notifications_minimum_severity=pe.minimumSeverityLevel}if(pe.disabledCategories){R.notifications_disabled_categories=pe.disabledCategories}if(pe.disabledClassifications){R.notifications_disabled_categories=pe.disabledClassifications}}}function appendGqlNotificationFilterToMetadata(R,pe){if(pe){if(pe.minimumSeverityLevel){R.notifications_minimum_severity=pe.minimumSeverityLevel}if(pe.disabledCategories){R.notifications_disabled_classifications=pe.disabledCategories}if(pe.disabledClassifications){R.notifications_disabled_classifications=pe.disabledClassifications}}}var Ue=new Le(_e,[],(function(){return"PULL_ALL"}));var He=new Le(Ce,[],(function(){return"RESET"}));var Ve=new Le(xe,[],(function(){return"COMMIT"}));var We=new Le(De,[],(function(){return"ROLLBACK"}));var Je=new Le(Se,[],(function(){return"GOODBYE"}))},61221:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});var he=Ae(55065);var ge=112;var me=113;var ye=126;var ve=127;function NO_OP(){}function NO_OP_IDENTITY(R){return R}var be={onNext:NO_OP,onCompleted:NO_OP,onError:NO_OP};var Ee=function(){function ResponseHandler(R){var pe=R===void 0?{}:R,Ae=pe.transformMetadata,he=pe.log,ge=pe.observer;this._pendingObservers=[];this._log=he;this._transformMetadata=Ae||NO_OP_IDENTITY;this._observer=Object.assign({onObserversCountChange:NO_OP,onError:NO_OP,onFailure:NO_OP,onErrorApplyTransformation:NO_OP_IDENTITY},ge)}Object.defineProperty(ResponseHandler.prototype,"currentFailure",{get:function(){return this._currentFailure},enumerable:false,configurable:true});ResponseHandler.prototype.handleResponse=function(R){var pe=R.fields[0];switch(R.signature){case me:if(this._log.isDebugEnabled()){this._log.debug("S: RECORD ".concat(he.json.stringify(R)))}this._currentObserver.onNext(pe);break;case ge:if(this._log.isDebugEnabled()){this._log.debug("S: SUCCESS ".concat(he.json.stringify(R)))}try{var Ae=this._transformMetadata(pe);this._currentObserver.onCompleted(Ae)}finally{this._updateCurrentObserver()}break;case ve:if(this._log.isDebugEnabled()){this._log.debug("S: FAILURE ".concat(he.json.stringify(R)))}try{var be=_standardizeCode(pe.code);var Ee=(0,he.newError)(pe.message,be);this._currentFailure=this._observer.onErrorApplyTransformation(Ee);this._currentObserver.onError(this._currentFailure)}finally{this._updateCurrentObserver();this._observer.onFailure(this._currentFailure)}break;case ye:if(this._log.isDebugEnabled()){this._log.debug("S: IGNORED ".concat(he.json.stringify(R)))}try{if(this._currentFailure&&this._currentObserver.onError){this._currentObserver.onError(this._currentFailure)}else if(this._currentObserver.onError){this._currentObserver.onError((0,he.newError)("Ignored either because of an error or RESET"))}}finally{this._updateCurrentObserver()}break;default:this._observer.onError((0,he.newError)("Unknown Bolt protocol message: "+R))}};ResponseHandler.prototype._updateCurrentObserver=function(){this._currentObserver=this._pendingObservers.shift();this._observer.onObserversCountChange(this._observersCount)};Object.defineProperty(ResponseHandler.prototype,"_observersCount",{get:function(){return this._currentObserver==null?this._pendingObservers.length:this._pendingObservers.length+1},enumerable:false,configurable:true});ResponseHandler.prototype._queueObserver=function(R){R=R||be;R.onCompleted=R.onCompleted||NO_OP;R.onError=R.onError||NO_OP;R.onNext=R.onNext||NO_OP;if(this._currentObserver===undefined){this._currentObserver=R}else{this._pendingObservers.push(R)}this._observer.onObserversCountChange(this._observersCount);return true};ResponseHandler.prototype._notifyErrorToObservers=function(R){if(this._currentObserver&&this._currentObserver.onError){this._currentObserver.onError(R)}while(this._pendingObservers.length>0){var pe=this._pendingObservers.shift();if(pe&&pe.onError){pe.onError(R)}}};ResponseHandler.prototype.hasOngoingObservableRequests=function(){return this._currentObserver!=null||this._pendingObservers.length>0};ResponseHandler.prototype._resetFailure=function(){this._currentFailure=null};return ResponseHandler}();pe["default"]=Ee;function _standardizeCode(R){if(R==="Neo.TransientError.Transaction.Terminated"){return"Neo.ClientError.Transaction.Terminated"}else if(R==="Neo.TransientError.Transaction.LockClientStopped"){return"Neo.ClientError.Transaction.LockClientStopped"}return R}},18805:function(R,pe,Ae){"use strict";var he=this&&this.__extends||function(){var extendStatics=function(R,pe){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(R,pe){R.__proto__=pe}||function(R,pe){for(var Ae in pe)if(Object.prototype.hasOwnProperty.call(pe,Ae))R[Ae]=pe[Ae]};return extendStatics(R,pe)};return function(R,pe){if(typeof pe!=="function"&&pe!==null)throw new TypeError("Class extends value "+String(pe)+" is not a constructor or null");extendStatics(R,pe);function __(){this.constructor=R}R.prototype=pe===null?Object.create(pe):(__.prototype=pe.prototype,new __)}}();var ge=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});var me=ge(Ae(55065));var ye=function(){function RawRoutingTable(){}RawRoutingTable.ofRecord=function(R){if(R===null){return RawRoutingTable.ofNull()}return new Ee(R)};RawRoutingTable.ofMessageResponse=function(R){if(R===null){return RawRoutingTable.ofNull()}return new ve(R)};RawRoutingTable.ofNull=function(){return new be};Object.defineProperty(RawRoutingTable.prototype,"ttl",{get:function(){throw new Error("Not implemented")},enumerable:false,configurable:true});Object.defineProperty(RawRoutingTable.prototype,"db",{get:function(){throw new Error("Not implemented")},enumerable:false,configurable:true});Object.defineProperty(RawRoutingTable.prototype,"servers",{get:function(){throw new Error("Not implemented")},enumerable:false,configurable:true});Object.defineProperty(RawRoutingTable.prototype,"isNull",{get:function(){throw new Error("Not implemented")},enumerable:false,configurable:true});return RawRoutingTable}();pe["default"]=ye;var ve=function(R){he(ResponseRawRoutingTable,R);function ResponseRawRoutingTable(pe){var Ae=R.call(this)||this;Ae._response=pe;return Ae}Object.defineProperty(ResponseRawRoutingTable.prototype,"ttl",{get:function(){return this._response.rt.ttl},enumerable:false,configurable:true});Object.defineProperty(ResponseRawRoutingTable.prototype,"servers",{get:function(){return this._response.rt.servers},enumerable:false,configurable:true});Object.defineProperty(ResponseRawRoutingTable.prototype,"db",{get:function(){return this._response.rt.db},enumerable:false,configurable:true});Object.defineProperty(ResponseRawRoutingTable.prototype,"isNull",{get:function(){return this._response===null},enumerable:false,configurable:true});return ResponseRawRoutingTable}(ye);var be=function(R){he(NullRawRoutingTable,R);function NullRawRoutingTable(){return R!==null&&R.apply(this,arguments)||this}Object.defineProperty(NullRawRoutingTable.prototype,"isNull",{get:function(){return true},enumerable:false,configurable:true});return NullRawRoutingTable}(ye);var Ee=function(R){he(RecordRawRoutingTable,R);function RecordRawRoutingTable(pe){var Ae=R.call(this)||this;Ae._record=pe;return Ae}Object.defineProperty(RecordRawRoutingTable.prototype,"ttl",{get:function(){return this._record.get("ttl")},enumerable:false,configurable:true});Object.defineProperty(RecordRawRoutingTable.prototype,"servers",{get:function(){return this._record.get("servers")},enumerable:false,configurable:true});Object.defineProperty(RecordRawRoutingTable.prototype,"db",{get:function(){return this._record.has("db")?this._record.get("db"):null},enumerable:false,configurable:true});Object.defineProperty(RecordRawRoutingTable.prototype,"isNull",{get:function(){return this._record===null},enumerable:false,configurable:true});return RecordRawRoutingTable}(ye)},17526:function(R,pe,Ae){"use strict";var he=this&&this.__extends||function(){var extendStatics=function(R,pe){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(R,pe){R.__proto__=pe}||function(R,pe){for(var Ae in pe)if(Object.prototype.hasOwnProperty.call(pe,Ae))R[Ae]=pe[Ae]};return extendStatics(R,pe)};return function(R,pe){if(typeof pe!=="function"&&pe!==null)throw new TypeError("Class extends value "+String(pe)+" is not a constructor or null");extendStatics(R,pe);function __(){this.constructor=R}R.prototype=pe===null?Object.create(pe):(__.prototype=pe.prototype,new __)}}();var ge=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});pe.TelemetryObserver=pe.ProcedureRouteObserver=pe.RouteObserver=pe.CompletedObserver=pe.FailedObserver=pe.ResetObserver=pe.LogoffObserver=pe.LoginObserver=pe.ResultStreamObserver=pe.StreamObserver=void 0;var me=Ae(55065);var ye=ge(Ae(18805));var ve=Ae(1059);var be=me.internal.constants.FETCH_ALL;var Ee=me.error.PROTOCOL_ERROR;var Ce=function(){function StreamObserver(){}StreamObserver.prototype.onNext=function(R){};StreamObserver.prototype.onError=function(R){};StreamObserver.prototype.onCompleted=function(R){};return StreamObserver}();pe.StreamObserver=Ce;var we=function(R){he(ResultStreamObserver,R);function ResultStreamObserver(pe){var Ae=pe===void 0?{}:pe,he=Ae.reactive,ge=he===void 0?false:he,me=Ae.moreFunction,ye=Ae.discardFunction,Ee=Ae.fetchSize,Ce=Ee===void 0?be:Ee,we=Ae.beforeError,Ie=Ae.afterError,_e=Ae.beforeKeys,Be=Ae.afterKeys,Se=Ae.beforeComplete,Qe=Ae.afterComplete,xe=Ae.server,De=Ae.highRecordWatermark,ke=De===void 0?Number.MAX_VALUE:De,Re=Ae.lowRecordWatermark,Pe=Re===void 0?Number.MAX_VALUE:Re,Te=Ae.enrichMetadata;var Ne=R.call(this)||this;Ne._fieldKeys=null;Ne._fieldLookup=null;Ne._head=null;Ne._queuedRecords=[];Ne._tail=null;Ne._error=null;Ne._observers=[];Ne._meta={};Ne._server=xe;Ne._beforeError=we;Ne._afterError=Ie;Ne._beforeKeys=_e;Ne._afterKeys=Be;Ne._beforeComplete=Se;Ne._afterComplete=Qe;Ne._enrichMetadata=Te||ve.functional.identity;Ne._queryId=null;Ne._moreFunction=me;Ne._discardFunction=ye;Ne._discard=false;Ne._fetchSize=Ce;Ne._lowRecordWatermark=Pe;Ne._highRecordWatermark=ke;Ne._setState(ge?Oe.READY:Oe.READY_STREAMING);Ne._setupAutoPull();Ne._paused=false;Ne._pulled=!ge;Ne._haveRecordStreamed=false;return Ne}ResultStreamObserver.prototype.pause=function(){this._paused=true};ResultStreamObserver.prototype.resume=function(){this._paused=false;this._setupAutoPull(true);this._state.pull(this)};ResultStreamObserver.prototype.onNext=function(R){this._haveRecordStreamed=true;var pe=new me.Record(this._fieldKeys,R,this._fieldLookup);if(this._observers.some((function(R){return R.onNext}))){this._observers.forEach((function(R){if(R.onNext){R.onNext(pe)}}))}else{this._queuedRecords.push(pe);if(this._queuedRecords.length>this._highRecordWatermark){this._autoPull=false}}};ResultStreamObserver.prototype.onCompleted=function(R){this._state.onSuccess(this,R)};ResultStreamObserver.prototype.onError=function(R){this._state.onError(this,R)};ResultStreamObserver.prototype.cancel=function(){this._discard=true};ResultStreamObserver.prototype.prepareToHandleSingleResponse=function(){this._head=[];this._fieldKeys=[];this._setState(Oe.STREAMING)};ResultStreamObserver.prototype.markCompleted=function(){this._head=[];this._fieldKeys=[];this._tail={};this._setState(Oe.SUCCEEDED)};ResultStreamObserver.prototype.subscribe=function(R){if(this._head&&R.onKeys){R.onKeys(this._head)}if(this._queuedRecords.length>0&&R.onNext){for(var pe=0;pe0}},R));if(![undefined,null,"r","w","rw","s"].includes(Ae.type)){this.onError((0,me.newError)('Server returned invalid query type. Expected one of [undefined, null, "r", "w", "rw", "s"] but got \''.concat(Ae.type,"'"),Ee));return}this._setState(Oe.SUCCEEDED);var he=null;if(this._beforeComplete){he=this._beforeComplete(Ae)}var continuation=function(){pe._tail=Ae;if(pe._observers.some((function(R){return R.onCompleted}))){pe._observers.forEach((function(R){if(R.onCompleted){R.onCompleted(Ae)}}))}if(pe._afterComplete){pe._afterComplete(Ae)}};if(he){Promise.resolve(he).then((function(){return continuation()}))}else{continuation()}};ResultStreamObserver.prototype._handleRunSuccess=function(R,pe){var Ae=this;if(this._fieldKeys===null){this._fieldKeys=[];this._fieldLookup={};if(R.fields&&R.fields.length>0){this._fieldKeys=R.fields;for(var he=0;he{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.epochSecondAndNanoToLocalDateTime=pe.nanoOfDayToLocalTime=pe.epochDayToDate=void 0;var he=Ae(55065);var ge=he.internal.temporalUtil,me=ge.DAYS_0000_TO_1970,ye=ge.DAYS_PER_400_YEAR_CYCLE,ve=ge.NANOS_PER_HOUR,be=ge.NANOS_PER_MINUTE,Ee=ge.NANOS_PER_SECOND,Ce=ge.SECONDS_PER_DAY,we=ge.floorDiv,Ie=ge.floorMod;function epochDayToDate(R){R=(0,he.int)(R);var pe=R.add(me).subtract(60);var Ae=(0,he.int)(0);if(pe.lessThan(0)){var ge=pe.add(1).div(ye).subtract(1);Ae=ge.multiply(400);pe=pe.add(ge.multiply(-ye))}var ve=pe.multiply(400).add(591).div(ye);var be=pe.subtract(ve.multiply(365).add(ve.div(4)).subtract(ve.div(100)).add(ve.div(400)));if(be.lessThan(0)){ve=ve.subtract(1);be=pe.subtract(ve.multiply(365).add(ve.div(4)).subtract(ve.div(100)).add(ve.div(400)))}ve=ve.add(Ae);var Ee=be;var Ce=Ee.multiply(5).add(2).div(153);var we=Ce.add(2).modulo(12).add(1);var Ie=Ee.subtract(Ce.multiply(306).add(5).div(10)).add(1);ve=ve.add(Ce.div(10));return new he.Date(ve,we,Ie)}pe.epochDayToDate=epochDayToDate;function nanoOfDayToLocalTime(R){R=(0,he.int)(R);var pe=R.div(ve);R=R.subtract(pe.multiply(ve));var Ae=R.div(be);R=R.subtract(Ae.multiply(be));var ge=R.div(Ee);var me=R.subtract(ge.multiply(Ee));return new he.LocalTime(pe,Ae,ge,me)}pe.nanoOfDayToLocalTime=nanoOfDayToLocalTime;function epochSecondAndNanoToLocalDateTime(R,pe){var Ae=we(R,Ce);var ge=Ie(R,Ce);var me=ge.multiply(Ee).add(pe);var ye=epochDayToDate(Ae);var ve=nanoOfDayToLocalTime(me);return new he.LocalDateTime(ye.year,ye.month,ye.day,ve.hour,ve.minute,ve.second,ve.nanosecond)}pe.epochSecondAndNanoToLocalDateTime=epochSecondAndNanoToLocalDateTime},28859:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.TypeTransformer=void 0;var he=Ae(32423);var ge=Ae(55065);var me=ge.internal.objectUtil;var ye=function(){function Transformer(R){this._transformers=R;this._transformersPerSignature=new Map(R.map((function(R){return[R.signature,R]})));this.fromStructure=this.fromStructure.bind(this);this.toStructure=this.toStructure.bind(this);Object.freeze(this)}Transformer.prototype.fromStructure=function(R){try{if(R instanceof he.structure.Structure&&this._transformersPerSignature.has(R.signature)){var pe=this._transformersPerSignature.get(R.signature).fromStructure;return pe(R)}return R}catch(R){return me.createBrokenObject(R)}};Transformer.prototype.toStructure=function(R){var pe=this._transformers.find((function(pe){var Ae=pe.isTypeInstance;return Ae(R)}));if(pe!==undefined){return pe.toStructure(R)}return R};return Transformer}();pe["default"]=ye;var ve=function(){function TypeTransformer(R){var pe=R.signature,Ae=R.fromStructure,he=R.toStructure,ge=R.isTypeInstance;this.signature=pe;this.isTypeInstance=ge;this.fromStructure=Ae;this.toStructure=he;Object.freeze(this)}TypeTransformer.prototype.extendsWith=function(R){var pe=R.signature,Ae=R.fromStructure,he=R.toStructure,ge=R.isTypeInstance;return new TypeTransformer({signature:pe||this.signature,fromStructure:Ae||this.fromStructure,toStructure:he||this.toStructure,isTypeInstance:ge||this.isTypeInstance})};return TypeTransformer}();pe.TypeTransformer=ve},15730:function(R,pe){"use strict";var Ae=this&&this.__extends||function(){var extendStatics=function(R,pe){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(R,pe){R.__proto__=pe}||function(R,pe){for(var Ae in pe)if(Object.prototype.hasOwnProperty.call(pe,Ae))R[Ae]=pe[Ae]};return extendStatics(R,pe)};return function(R,pe){if(typeof pe!=="function"&&pe!==null)throw new TypeError("Class extends value "+String(pe)+" is not a constructor or null");extendStatics(R,pe);function __(){this.constructor=R}R.prototype=pe===null?Object.create(pe):(__.prototype=pe.prototype,new __)}}();Object.defineProperty(pe,"__esModule",{value:true});var he=function(){function BaseBuffer(R){this.position=0;this.length=R}BaseBuffer.prototype.getUInt8=function(R){throw new Error("Not implemented")};BaseBuffer.prototype.getInt8=function(R){throw new Error("Not implemented")};BaseBuffer.prototype.getFloat64=function(R){throw new Error("Not implemented")};BaseBuffer.prototype.putUInt8=function(R,pe){throw new Error("Not implemented")};BaseBuffer.prototype.putInt8=function(R,pe){throw new Error("Not implemented")};BaseBuffer.prototype.putFloat64=function(R,pe){throw new Error("Not implemented")};BaseBuffer.prototype.getInt16=function(R){return this.getInt8(R)<<8|this.getUInt8(R+1)};BaseBuffer.prototype.getUInt16=function(R){return this.getUInt8(R)<<8|this.getUInt8(R+1)};BaseBuffer.prototype.getInt32=function(R){return this.getInt8(R)<<24|this.getUInt8(R+1)<<16|this.getUInt8(R+2)<<8|this.getUInt8(R+3)};BaseBuffer.prototype.getUInt32=function(R){return this.getUInt8(R)<<24|this.getUInt8(R+1)<<16|this.getUInt8(R+2)<<8|this.getUInt8(R+3)};BaseBuffer.prototype.getInt64=function(R){return this.getInt8(R)<<56|this.getUInt8(R+1)<<48|this.getUInt8(R+2)<<40|this.getUInt8(R+3)<<32|this.getUInt8(R+4)<<24|this.getUInt8(R+5)<<16|this.getUInt8(R+6)<<8|this.getUInt8(R+7)};BaseBuffer.prototype.getSlice=function(R,pe){return new ge(R,pe,this)};BaseBuffer.prototype.putInt16=function(R,pe){this.putInt8(R,pe>>8);this.putUInt8(R+1,pe&255)};BaseBuffer.prototype.putUInt16=function(R,pe){this.putUInt8(R,pe>>8&255);this.putUInt8(R+1,pe&255)};BaseBuffer.prototype.putInt32=function(R,pe){this.putInt8(R,pe>>24);this.putUInt8(R+1,pe>>16&255);this.putUInt8(R+2,pe>>8&255);this.putUInt8(R+3,pe&255)};BaseBuffer.prototype.putUInt32=function(R,pe){this.putUInt8(R,pe>>24&255);this.putUInt8(R+1,pe>>16&255);this.putUInt8(R+2,pe>>8&255);this.putUInt8(R+3,pe&255)};BaseBuffer.prototype.putInt64=function(R,pe){this.putInt8(R,pe>>48);this.putUInt8(R+1,pe>>42&255);this.putUInt8(R+2,pe>>36&255);this.putUInt8(R+3,pe>>30&255);this.putUInt8(R+4,pe>>24&255);this.putUInt8(R+5,pe>>16&255);this.putUInt8(R+6,pe>>8&255);this.putUInt8(R+7,pe&255)};BaseBuffer.prototype.putBytes=function(R,pe){for(var Ae=0,he=pe.remaining();Ae0};BaseBuffer.prototype.reset=function(){this.position=0};BaseBuffer.prototype.toString=function(){return this.constructor.name+"( position="+this.position+" )\n "+this.toHex()};BaseBuffer.prototype.toHex=function(){var R="";for(var pe=0;pe{"use strict";Object.defineProperty(pe,"__esModule",{value:true});var he=Ae(55065);var ge=he.internal.util,me=ge.ENCRYPTION_OFF,ye=ge.ENCRYPTION_ON;var ve=he.error.SERVICE_UNAVAILABLE;var be=[null,undefined,true,false,ye,me];var Ee=[null,undefined,"TRUST_ALL_CERTIFICATES","TRUST_CUSTOM_CA_SIGNED_CERTIFICATES","TRUST_SYSTEM_CA_SIGNED_CERTIFICATES"];var Ce=function(){function ChannelConfig(R,pe,Ae,he){this.address=R;this.encrypted=extractEncrypted(pe);this.trust=extractTrust(pe);this.trustedCertificates=extractTrustedCertificates(pe);this.knownHostsPath=extractKnownHostsPath(pe);this.connectionErrorCode=Ae||ve;this.connectionTimeout=pe.connectionTimeout;this.clientCertificate=he}return ChannelConfig}();pe["default"]=Ce;function extractEncrypted(R){var pe=R.encrypted;if(be.indexOf(pe)===-1){throw(0,he.newError)("Illegal value of the encrypted setting ".concat(pe,". Expected one of ").concat(be))}return pe}function extractTrust(R){var pe=R.trust;if(Ee.indexOf(pe)===-1){throw(0,he.newError)("Illegal value of the trust setting ".concat(pe,". Expected one of ").concat(Ee))}return pe}function extractTrustedCertificates(R){return R.trustedCertificates||[]}function extractKnownHostsPath(R){return R.knownHosts||null}},12613:function(R,pe,Ae){"use strict";var he=this&&this.__extends||function(){var extendStatics=function(R,pe){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(R,pe){R.__proto__=pe}||function(R,pe){for(var Ae in pe)if(Object.prototype.hasOwnProperty.call(pe,Ae))R[Ae]=pe[Ae]};return extendStatics(R,pe)};return function(R,pe){if(typeof pe!=="function"&&pe!==null)throw new TypeError("Class extends value "+String(pe)+" is not a constructor or null");extendStatics(R,pe);function __(){this.constructor=R}R.prototype=pe===null?Object.create(pe):(__.prototype=pe.prototype,new __)}}();var ge=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});pe.Dechunker=pe.Chunker=void 0;var me=ge(Ae(15730));var ye=Ae(27164);var ve=ge(Ae(33190));var be=2;var Ee=0;var Ce=1400;var we=function(R){he(Chunker,R);function Chunker(pe,Ae){var he=R.call(this,0)||this;he._bufferSize=Ae||Ce;he._ch=pe;he._buffer=(0,ye.alloc)(he._bufferSize);he._currentChunkStart=0;he._chunkOpen=false;return he}Chunker.prototype.putUInt8=function(R,pe){this._ensure(1);this._buffer.writeUInt8(pe)};Chunker.prototype.putInt8=function(R,pe){this._ensure(1);this._buffer.writeInt8(pe)};Chunker.prototype.putFloat64=function(R,pe){this._ensure(8);this._buffer.writeFloat64(pe)};Chunker.prototype.putBytes=function(R,pe){while(pe.remaining()>0){this._ensure(1);if(this._buffer.remaining()>pe.remaining()){this._buffer.writeBytes(pe)}else{this._buffer.writeBytes(pe.readSlice(this._buffer.remaining()))}}return this};Chunker.prototype.flush=function(){if(this._buffer.position>0){this._closeChunkIfOpen();var R=this._buffer;this._buffer=null;this._ch.write(R.getSlice(0,R.position));this._buffer=(0,ye.alloc)(this._bufferSize);this._chunkOpen=false}return this};Chunker.prototype.messageBoundary=function(){this._closeChunkIfOpen();if(this._buffer.remaining()=2){return this._onHeader(R.readUInt16())}else{this._partialChunkHeader=R.readUInt8()<<8;return this.IN_HEADER}};Dechunker.prototype.IN_HEADER=function(R){return this._onHeader((this._partialChunkHeader|R.readUInt8())&65535)};Dechunker.prototype.IN_CHUNK=function(R){if(this._chunkSize<=R.remaining()){this._currentMessage.push(R.readSlice(this._chunkSize));return this.AWAITING_CHUNK}else{this._chunkSize-=R.remaining();this._currentMessage.push(R.readSlice(R.remaining()));return this.IN_CHUNK}};Dechunker.prototype.CLOSED=function(R){};Dechunker.prototype._onHeader=function(R){if(R===0){var pe=void 0;switch(this._currentMessage.length){case 0:return this.AWAITING_CHUNK;case 1:pe=this._currentMessage[0];break;default:pe=new ve.default(this._currentMessage);break}this._currentMessage=[];this.onmessage(pe);return this.AWAITING_CHUNK}else{this._chunkSize=R;return this.IN_CHUNK}};Dechunker.prototype.write=function(R){while(R.hasRemaining()){this._state=this._state(R)}};return Dechunker}();pe.Dechunker=Ie},33190:function(R,pe,Ae){"use strict";var he=this&&this.__extends||function(){var extendStatics=function(R,pe){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(R,pe){R.__proto__=pe}||function(R,pe){for(var Ae in pe)if(Object.prototype.hasOwnProperty.call(pe,Ae))R[Ae]=pe[Ae]};return extendStatics(R,pe)};return function(R,pe){if(typeof pe!=="function"&&pe!==null)throw new TypeError("Class extends value "+String(pe)+" is not a constructor or null");extendStatics(R,pe);function __(){this.constructor=R}R.prototype=pe===null?Object.create(pe):(__.prototype=pe.prototype,new __)}}();Object.defineProperty(pe,"__esModule",{value:true});var ge=Ae(35509);var me=Ae(27164);var ye=function(R){he(CombinedBuffer,R);function CombinedBuffer(pe){var Ae=this;var he=0;for(var ge=0;ge=Ae.length){R-=Ae.length}else{return Ae.getUInt8(R)}}};CombinedBuffer.prototype.getInt8=function(R){for(var pe=0;pe=Ae.length){R-=Ae.length}else{return Ae.getInt8(R)}}};CombinedBuffer.prototype.getFloat64=function(R){var pe=(0,me.alloc)(8);for(var Ae=0;Ae<8;Ae++){pe.putUInt8(Ae,this.getUInt8(R+Ae))}return pe.getFloat64(0)};return CombinedBuffer}(ge.BaseBuffer);pe["default"]=ye},31131:function(R,pe,Ae){"use strict";var he=this&&this.__createBinding||(Object.create?function(R,pe,Ae,he){if(he===undefined)he=Ae;var ge=Object.getOwnPropertyDescriptor(pe,Ae);if(!ge||("get"in ge?!pe.__esModule:ge.writable||ge.configurable)){ge={enumerable:true,get:function(){return pe[Ae]}}}Object.defineProperty(R,he,ge)}:function(R,pe,Ae,he){if(he===undefined)he=Ae;R[he]=pe[Ae]});var ge=this&&this.__exportStar||function(R,pe){for(var Ae in R)if(Ae!=="default"&&!Object.prototype.hasOwnProperty.call(pe,Ae))he(pe,R,Ae)};var me=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});pe.utf8=pe.alloc=pe.ChannelConfig=void 0;ge(Ae(51567),pe);ge(Ae(12613),pe);var ye=Ae(83810);Object.defineProperty(pe,"ChannelConfig",{enumerable:true,get:function(){return me(ye).default}});var ve=Ae(27164);Object.defineProperty(pe,"alloc",{enumerable:true,get:function(){return ve.alloc}});var be=Ae(52864);Object.defineProperty(pe,"utf8",{enumerable:true,get:function(){return me(be).default}})},51567:function(R,pe,Ae){"use strict";var he=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});pe.ClientCertificatesLoader=pe.HostNameResolver=pe.Channel=void 0;var ge=he(Ae(26767));var me=he(Ae(30494));var ye=he(Ae(6312));pe.Channel=ge.default;pe.HostNameResolver=me.default;pe.ClientCertificatesLoader=ye.default},26767:function(R,pe,Ae){"use strict";var he=this&&this.__assign||function(){he=Object.assign||function(R){for(var pe,Ae=1,he=arguments.length;Ae0&&me[me.length-1])&&(ve[0]===6||ve[0]===2)){Ae=0;continue}if(ve[0]===3&&(!me||ve[1]>me[0]&&ve[1]0)&&!(ge=he.next()).done)me.push(ge.value)}catch(R){ye={error:R}}finally{try{if(ge&&!ge.done&&(Ae=he["return"]))Ae.call(he)}finally{if(ye)throw ye.error}}return me};var ye=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});var ve=ye(Ae(57147));function readFile(R){return new Promise((function(pe,Ae){return ve.default.readFile(R,(function(R,he){if(R){return Ae(R)}return pe(he)}))}))}function loadCert(R){if(Array.isArray(R)){return Promise.all(R.map(loadCert))}return readFile(R)}function loadKey(R){if(Array.isArray(R)){return Promise.all(R.map(loadKey))}if(typeof R==="string"){return readFile(R)}return readFile(R.path).then((function(pe){return{pem:pe,passphrase:R.password}}))}pe["default"]={load:function(R){return he(this,void 0,void 0,(function(){var pe,Ae,he,ye,ve;return ge(this,(function(ge){switch(ge.label){case 0:pe=loadCert(R.certfile);Ae=loadKey(R.keyfile);return[4,Promise.all([pe,Ae])];case 1:he=me.apply(void 0,[ge.sent(),2]),ye=he[0],ve=he[1];return[2,{cert:ye,key:ve,passphrase:R.password}]}}))}))}}},30494:function(R,pe,Ae){"use strict";var he=this&&this.__extends||function(){var extendStatics=function(R,pe){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(R,pe){R.__proto__=pe}||function(R,pe){for(var Ae in pe)if(Object.prototype.hasOwnProperty.call(pe,Ae))R[Ae]=pe[Ae]};return extendStatics(R,pe)};return function(R,pe){if(typeof pe!=="function"&&pe!==null)throw new TypeError("Class extends value "+String(pe)+" is not a constructor or null");extendStatics(R,pe);function __(){this.constructor=R}R.prototype=pe===null?Object.create(pe):(__.prototype=pe.prototype,new __)}}();var ge=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});var me=ge(Ae(9523));var ye=Ae(55065);var ve=ye.internal.resolver.BaseHostNameResolver;var be=function(R){he(NodeHostNameResolver,R);function NodeHostNameResolver(){return R!==null&&R.apply(this,arguments)||this}NodeHostNameResolver.prototype.resolve=function(R){return new Promise((function(pe){me.default.lookup(R.host(),{all:true},(function(Ae,he){if(Ae){pe([R])}else{var ge=he.map((function(pe){return R.resolveWith(pe.address)}));pe(ge)}}))}))};return NodeHostNameResolver}(ve);pe["default"]=be},52864:function(R,pe,Ae){"use strict";var he=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});var ge=he(Ae(27164));var me=Ae(55065);var ye=he(Ae(14300));var ve=Ae(71576);var be=new ve.StringDecoder("utf8");function encode(R){return new ge.default(newBuffer(R))}function decode(R,pe){if(Object.prototype.hasOwnProperty.call(R,"_buffer")){return decodeChannelBuffer(R,pe)}else if(Object.prototype.hasOwnProperty.call(R,"_buffers")){return decodeCombinedBuffer(R,pe)}else{throw(0,me.newError)("Don't know how to decode strings from '".concat(R,"'"))}}function decodeChannelBuffer(R,pe){var Ae=R.position;var he=Ae+pe;R.position=Math.min(he,R.length);return R._buffer.toString("utf8",Ae,he)}function decodeCombinedBuffer(R,pe){return streamDecodeCombinedBuffer(R,pe,(function(R){return be.write(R._buffer)}),(function(){return be.end()}))}function streamDecodeCombinedBuffer(R,pe,Ae,he){var ge=pe;var me=R.position;R._updatePos(Math.min(pe,R.length-me));var ye=R._buffers.reduce((function(R,pe){if(ge<=0){return R}else if(me>=pe.length){me-=pe.length;return""}else{pe._updatePos(me-pe.position);var he=Math.min(pe.length-me,ge);var ye=pe.readSlice(he);pe._updatePos(he);ge=Math.max(ge-ye.length,0);me=0;return R+Ae(ye)}}),"");return ye+he()}function newBuffer(R){if(typeof ye.default.Buffer.from==="function"){return ye.default.Buffer.from(R,"utf8")}else{return new ye.default.Buffer(R,"utf8")}}pe["default"]={encode:encode,decode:decode}},40050:function(R,pe,Ae){"use strict";var he=this&&this.__awaiter||function(R,pe,Ae,he){function adopt(R){return R instanceof Ae?R:new Ae((function(pe){pe(R)}))}return new(Ae||(Ae=Promise))((function(Ae,ge){function fulfilled(R){try{step(he.next(R))}catch(R){ge(R)}}function rejected(R){try{step(he["throw"](R))}catch(R){ge(R)}}function step(R){R.done?Ae(R.value):adopt(R.value).then(fulfilled,rejected)}step((he=he.apply(R,pe||[])).next())}))};var ge=this&&this.__generator||function(R,pe){var Ae={label:0,sent:function(){if(me[0]&1)throw me[1];return me[1]},trys:[],ops:[]},he,ge,me,ye;return ye={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol==="function"&&(ye[Symbol.iterator]=function(){return this}),ye;function verb(R){return function(pe){return step([R,pe])}}function step(ve){if(he)throw new TypeError("Generator is already executing.");while(ye&&(ye=0,ve[0]&&(Ae=0)),Ae)try{if(he=1,ge&&(me=ve[0]&2?ge["return"]:ve[0]?ge["throw"]||((me=ge["return"])&&me.call(ge),0):ge.next)&&!(me=me.call(ge,ve[1])).done)return me;if(ge=0,me)ve=[ve[0]&2,me.value];switch(ve[0]){case 0:case 1:me=ve;break;case 4:Ae.label++;return{value:ve[1],done:false};case 5:Ae.label++;ge=ve[1];ve=[0];continue;case 7:ve=Ae.ops.pop();Ae.trys.pop();continue;default:if(!(me=Ae.trys,me=me.length>0&&me[me.length-1])&&(ve[0]===6||ve[0]===2)){Ae=0;continue}if(ve[0]===3&&(!me||ve[1]>me[0]&&ve[1]0&&me[me.length-1])&&(ve[0]===6||ve[0]===2)){Ae=0;continue}if(ve[0]===3&&(!me||ve[1]>me[0]&&ve[1]0&&me[me.length-1])&&(ve[0]===6||ve[0]===2)){Ae=0;continue}if(ve[0]===3&&(!me||ve[1]>me[0]&&ve[1]=Ie}))];case 1:return[2,R.sent()]}}))}))};DirectConnectionProvider.prototype.getNegotiatedProtocolVersion=function(){var R=this;return new Promise((function(pe,Ae){R._hasProtocolVersion(pe).catch(Ae)}))};DirectConnectionProvider.prototype.supportsTransactionConfig=function(){return ge(this,void 0,void 0,(function(){return me(this,(function(R){switch(R.label){case 0:return[4,this._hasProtocolVersion((function(R){return R>=we}))];case 1:return[2,R.sent()]}}))}))};DirectConnectionProvider.prototype.supportsUserImpersonation=function(){return ge(this,void 0,void 0,(function(){return me(this,(function(R){switch(R.label){case 0:return[4,this._hasProtocolVersion((function(R){return R>=_e}))];case 1:return[2,R.sent()]}}))}))};DirectConnectionProvider.prototype.supportsSessionAuth=function(){return ge(this,void 0,void 0,(function(){return me(this,(function(R){switch(R.label){case 0:return[4,this._hasProtocolVersion((function(R){return R>=Be}))];case 1:return[2,R.sent()]}}))}))};DirectConnectionProvider.prototype.verifyAuthentication=function(R){var pe=R.auth;return ge(this,void 0,void 0,(function(){var R=this;return me(this,(function(Ae){return[2,this._verifyAuthentication({auth:pe,getAddress:function(){return R._address}})]}))}))};DirectConnectionProvider.prototype.verifyConnectivityAndGetServerInfo=function(){return ge(this,void 0,void 0,(function(){return me(this,(function(R){switch(R.label){case 0:return[4,this._verifyConnectivityAndGetServerVersion({address:this._address})];case 1:return[2,R.sent()]}}))}))};return DirectConnectionProvider}(ve.default);pe["default"]=Qe},65390:function(R,pe,Ae){"use strict";var he=this&&this.__extends||function(){var extendStatics=function(R,pe){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(R,pe){R.__proto__=pe}||function(R,pe){for(var Ae in pe)if(Object.prototype.hasOwnProperty.call(pe,Ae))R[Ae]=pe[Ae]};return extendStatics(R,pe)};return function(R,pe){if(typeof pe!=="function"&&pe!==null)throw new TypeError("Class extends value "+String(pe)+" is not a constructor or null");extendStatics(R,pe);function __(){this.constructor=R}R.prototype=pe===null?Object.create(pe):(__.prototype=pe.prototype,new __)}}();var ge=this&&this.__createBinding||(Object.create?function(R,pe,Ae,he){if(he===undefined)he=Ae;var ge=Object.getOwnPropertyDescriptor(pe,Ae);if(!ge||("get"in ge?!pe.__esModule:ge.writable||ge.configurable)){ge={enumerable:true,get:function(){return pe[Ae]}}}Object.defineProperty(R,he,ge)}:function(R,pe,Ae,he){if(he===undefined)he=Ae;R[he]=pe[Ae]});var me=this&&this.__setModuleDefault||(Object.create?function(R,pe){Object.defineProperty(R,"default",{enumerable:true,value:pe})}:function(R,pe){R["default"]=pe});var ye=this&&this.__importStar||function(R){if(R&&R.__esModule)return R;var pe={};if(R!=null)for(var Ae in R)if(Ae!=="default"&&Object.prototype.hasOwnProperty.call(R,Ae))ge(pe,R,Ae);me(pe,R);return pe};var ve=this&&this.__awaiter||function(R,pe,Ae,he){function adopt(R){return R instanceof Ae?R:new Ae((function(pe){pe(R)}))}return new(Ae||(Ae=Promise))((function(Ae,ge){function fulfilled(R){try{step(he.next(R))}catch(R){ge(R)}}function rejected(R){try{step(he["throw"](R))}catch(R){ge(R)}}function step(R){R.done?Ae(R.value):adopt(R.value).then(fulfilled,rejected)}step((he=he.apply(R,pe||[])).next())}))};var be=this&&this.__generator||function(R,pe){var Ae={label:0,sent:function(){if(me[0]&1)throw me[1];return me[1]},trys:[],ops:[]},he,ge,me,ye;return ye={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol==="function"&&(ye[Symbol.iterator]=function(){return this}),ye;function verb(R){return function(pe){return step([R,pe])}}function step(ve){if(he)throw new TypeError("Generator is already executing.");while(ye&&(ye=0,ve[0]&&(Ae=0)),Ae)try{if(he=1,ge&&(me=ve[0]&2?ge["return"]:ve[0]?ge["throw"]||((me=ge["return"])&&me.call(ge),0):ge.next)&&!(me=me.call(ge,ve[1])).done)return me;if(ge=0,me)ve=[ve[0]&2,me.value];switch(ve[0]){case 0:case 1:me=ve;break;case 4:Ae.label++;return{value:ve[1],done:false};case 5:Ae.label++;ge=ve[1];ve=[0];continue;case 7:ve=Ae.ops.pop();Ae.trys.pop();continue;default:if(!(me=Ae.trys,me=me.length>0&&me[me.length-1])&&(ve[0]===6||ve[0]===2)){Ae=0;continue}if(ve[0]===3&&(!me||ve[1]>me[0]&&ve[1]0)&&!(ge=he.next()).done)me.push(ge.value)}catch(R){ye={error:R}}finally{try{if(ge&&!ge.done&&(Ae=he["return"]))Ae.call(he)}finally{if(ye)throw ye.error}}return me};var Ce=this&&this.__spreadArray||function(R,pe,Ae){if(Ae||arguments.length===2)for(var he=0,ge=pe.length,me;hepe){return false}return true};PooledConnectionProvider.prototype._destroyConnection=function(R){delete this._openConnections[R.id];return R.close()};PooledConnectionProvider.prototype._verifyConnectivityAndGetServerVersion=function(R){var pe=R.address;return ve(this,void 0,void 0,(function(){var R,Ae;return be(this,(function(he){switch(he.label){case 0:return[4,this._connectionPool.acquire({},pe)];case 1:R=he.sent();Ae=new Be.ServerInfo(R.server,R.protocol().version);he.label=2;case 2:he.trys.push([2,,5,7]);if(!!R.protocol().isLastMessageLogon())return[3,4];return[4,R.resetAndFlush()];case 3:he.sent();he.label=4;case 4:return[3,7];case 5:return[4,R.release()];case 6:he.sent();return[7];case 7:return[2,Ae]}}))}))};PooledConnectionProvider.prototype._verifyAuthentication=function(R){var pe=R.getAddress,Ae=R.auth;return ve(this,void 0,void 0,(function(){var R,he,ge,me,ye,ve;return be(this,(function(be){switch(be.label){case 0:R=[];be.label=1;case 1:be.trys.push([1,8,9,11]);return[4,pe()];case 2:he=be.sent();return[4,this._connectionPool.acquire({auth:Ae,skipReAuth:true},he)];case 3:ge=be.sent();R.push(ge);me=!ge.protocol().isLastMessageLogon();if(!ge.supportsReAuth){throw(0,Be.newError)("Driver is connected to a database that does not support user switch.")}if(!(me&&ge.supportsReAuth))return[3,5];return[4,this._authenticationProvider.authenticate({connection:ge,auth:Ae,waitReAuth:true,forceReAuth:true})];case 4:be.sent();return[3,7];case 5:if(!(me&&!ge.supportsReAuth))return[3,7];return[4,this._connectionPool.acquire({auth:Ae},he,{requireNew:true})];case 6:ye=be.sent();ye._sticky=true;R.push(ye);be.label=7;case 7:return[2,true];case 8:ve=be.sent();if(Oe.includes(ve.code)){return[2,false]}throw ve;case 9:return[4,Promise.all(R.map((function(R){return R.release()})))];case 10:be.sent();return[7];case 11:return[2]}}))}))};PooledConnectionProvider.prototype._verifyStickyConnection=function(R){var pe=R.auth,Ae=R.connection,he=R.address;return ve(this,void 0,void 0,(function(){var R,he;return be(this,(function(ge){switch(ge.label){case 0:R=Qe.object.equals(pe,Ae.authToken);he=!R;Ae._sticky=R&&!Ae.supportsReAuth;if(!(he||Ae._sticky))return[3,2];return[4,Ae.release()];case 1:ge.sent();throw(0,Be.newError)("Driver is connected to a database that does not support user switch.");case 2:return[2]}}))}))};PooledConnectionProvider.prototype.close=function(){return ve(this,void 0,void 0,(function(){return be(this,(function(R){switch(R.label){case 0:return[4,this._connectionPool.close()];case 1:R.sent();return[4,Promise.all(Object.values(this._openConnections).map((function(R){return R.close()})))];case 2:R.sent();return[2]}}))}))};PooledConnectionProvider._installIdleObserverOnConnection=function(R,pe){R._setIdle(pe)};PooledConnectionProvider._removeIdleObserverOnConnection=function(R){R._unsetIdle()};PooledConnectionProvider.prototype._handleSecurityError=function(R,pe,Ae){var he=this._authenticationProvider.handleError({connection:Ae,code:R.code});if(he){R.retriable=true}if(R.code==="Neo.ClientError.Security.AuthorizationExpired"){this._connectionPool.apply(pe,(function(R){R.authToken=null}))}if(Ae){Ae.close().catch((function(){return undefined}))}return R};return PooledConnectionProvider}(Be.ConnectionProvider);pe["default"]=Re},2970:function(R,pe,Ae){"use strict";var he=this&&this.__extends||function(){var extendStatics=function(R,pe){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(R,pe){R.__proto__=pe}||function(R,pe){for(var Ae in pe)if(Object.prototype.hasOwnProperty.call(pe,Ae))R[Ae]=pe[Ae]};return extendStatics(R,pe)};return function(R,pe){if(typeof pe!=="function"&&pe!==null)throw new TypeError("Class extends value "+String(pe)+" is not a constructor or null");extendStatics(R,pe);function __(){this.constructor=R}R.prototype=pe===null?Object.create(pe):(__.prototype=pe.prototype,new __)}}();var ge=this&&this.__assign||function(){ge=Object.assign||function(R){for(var pe,Ae=1,he=arguments.length;Ae0&&me[me.length-1])&&(ve[0]===6||ve[0]===2)){Ae=0;continue}if(ve[0]===3&&(!me||ve[1]>me[0]&&ve[1]=R.length)R=void 0;return{value:R&&R[he++],done:!R}}};throw new TypeError(pe?"Object is not iterable.":"Symbol.iterator is not defined.")};var we=this&&this.__read||function(R,pe){var Ae=typeof Symbol==="function"&&R[Symbol.iterator];if(!Ae)return R;var he=Ae.call(R),ge,me=[],ye;try{while((pe===void 0||pe-- >0)&&!(ge=he.next()).done)me.push(ge.value)}catch(R){ye={error:R}}finally{try{if(ge&&!ge.done&&(Ae=he["return"]))Ae.call(he)}finally{if(ye)throw ye.error}}return me};var Ie=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});var _e=Ae(55065);var Be=ve(Ae(47845));var Se=Ae(31131);var Qe=Ie(Ae(59761));var xe=Ie(Ae(65390));var De=Ae(30247);var ke=Ae(55994);var Oe=Ae(1059);var Re=_e.error.SERVICE_UNAVAILABLE,Pe=_e.error.SESSION_EXPIRED;var Te=_e.internal.bookmarks.Bookmarks,Ne=_e.internal.constants,Me=Ne.ACCESS_MODE_READ,Fe=Ne.ACCESS_MODE_WRITE,je=Ne.BOLT_PROTOCOL_V3,Le=Ne.BOLT_PROTOCOL_V4_0,Ue=Ne.BOLT_PROTOCOL_V4_4,He=Ne.BOLT_PROTOCOL_V5_1;var Ve="Neo.ClientError.Procedure.ProcedureNotFound";var We="Neo.ClientError.Database.DatabaseNotFound";var Je="Neo.ClientError.Transaction.InvalidBookmark";var Ge="Neo.ClientError.Transaction.InvalidBookmarkMixture";var qe="Neo.ClientError.Security.AuthorizationExpired";var Ye="Neo.ClientError.Statement.ArgumentError";var Ke="Neo.ClientError.Request.Invalid";var ze="Neo.ClientError.Statement.TypeError";var $e="N/A";var Ze="system";var Xe=null;var et=(0,_e.int)(3e4);var tt=function(R){he(RoutingConnectionProvider,R);function RoutingConnectionProvider(pe){var Ae=pe.id,he=pe.address,me=pe.routingContext,ye=pe.hostNameResolver,ve=pe.config,Ce=pe.log,we=pe.userAgent,Ie=pe.boltAgent,Qe=pe.authTokenManager,xe=pe.routingTablePurgeDelay,Re=pe.newPool;var Pe=R.call(this,{id:Ae,config:ve,log:Ce,userAgent:we,boltAgent:Ie,authTokenManager:Qe,newPool:Re},(function(R){return be(Pe,void 0,void 0,(function(){var pe,Ae;return Ee(this,(function(he){switch(he.label){case 0:pe=ke.createChannelConnection;Ae=[R,this._config,this._createConnectionErrorHandler(),this._log];return[4,this._clientCertificateHolder.getClientCertificate()];case 1:return[2,pe.apply(void 0,Ae.concat([he.sent(),this._routingContext]))]}}))}))}))||this;Pe._routingContext=ge(ge({},me),{address:he.toString()});Pe._seedRouter=he;Pe._rediscovery=new Be.default(Pe._routingContext);Pe._loadBalancingStrategy=new De.LeastConnectedLoadBalancingStrategy(Pe._connectionPool);Pe._hostNameResolver=ye;Pe._dnsResolver=new Se.HostNameResolver;Pe._log=Ce;Pe._useSeedRouter=true;Pe._routingTableRegistry=new rt(xe?(0,_e.int)(xe):et);Pe._refreshRoutingTable=Oe.functional.reuseOngoingRequest(Pe._refreshRoutingTable,Pe);return Pe}RoutingConnectionProvider.prototype._createConnectionErrorHandler=function(){return new ke.ConnectionErrorHandler(Pe)};RoutingConnectionProvider.prototype._handleUnavailability=function(R,pe,Ae){this._log.warn("Routing driver ".concat(this._id," will forget ").concat(pe," for database '").concat(Ae,"' because of an error ").concat(R.code," '").concat(R.message,"'"));this.forget(pe,Ae||Xe);return R};RoutingConnectionProvider.prototype._handleSecurityError=function(pe,Ae,he,ge){this._log.warn("Routing driver ".concat(this._id," will close connections to ").concat(Ae," for database '").concat(ge,"' because of an error ").concat(pe.code," '").concat(pe.message,"'"));return R.prototype._handleSecurityError.call(this,pe,Ae,he,ge)};RoutingConnectionProvider.prototype._handleWriteFailure=function(R,pe,Ae){this._log.warn("Routing driver ".concat(this._id," will forget writer ").concat(pe," for database '").concat(Ae,"' because of an error ").concat(R.code," '").concat(R.message,"'"));this.forgetWriter(pe,Ae||Xe);return(0,_e.newError)("No longer possible to write to server at "+pe,Pe,R)};RoutingConnectionProvider.prototype.acquireConnection=function(R){var pe=R===void 0?{}:R,Ae=pe.accessMode,he=pe.database,ge=pe.bookmarks,me=pe.impersonatedUser,ye=pe.onDatabaseNameResolved,ve=pe.auth;return be(this,void 0,void 0,(function(){var R,pe,be,Ce,we,Ie,Be,Se;var Qe=this;return Ee(this,(function(Ee){switch(Ee.label){case 0:be={database:he||Xe};Ce=new ke.ConnectionErrorHandler(Pe,(function(R,pe){return Qe._handleUnavailability(R,pe,be.database)}),(function(R,pe){return Qe._handleWriteFailure(R,pe,be.database)}),(function(R,pe,Ae){return Qe._handleSecurityError(R,pe,Ae,be.database)}));return[4,this._freshRoutingTable({accessMode:Ae,database:be.database,bookmarks:ge,impersonatedUser:me,auth:ve,onDatabaseNameResolved:function(R){be.database=be.database||R;if(ye){ye(R)}}})];case 1:we=Ee.sent();if(Ae===Me){pe=this._loadBalancingStrategy.selectReader(we.readers);R="read"}else if(Ae===Fe){pe=this._loadBalancingStrategy.selectWriter(we.writers);R="write"}else{throw(0,_e.newError)("Illegal mode "+Ae)}if(!pe){throw(0,_e.newError)("Failed to obtain connection towards ".concat(R," server. Known routing table is: ").concat(we),Pe)}Ee.label=2;case 2:Ee.trys.push([2,6,,7]);return[4,this._connectionPool.acquire({auth:ve},pe)];case 3:Ie=Ee.sent();if(!ve)return[3,5];return[4,this._verifyStickyConnection({auth:ve,connection:Ie,address:pe})];case 4:Ee.sent();return[2,Ie];case 5:return[2,new ke.DelegateConnection(Ie,Ce)];case 6:Be=Ee.sent();Se=Ce.handleAndTransformError(Be,pe);throw Se;case 7:return[2]}}))}))};RoutingConnectionProvider.prototype._hasProtocolVersion=function(R){return be(this,void 0,void 0,(function(){var pe,Ae,he,ge,me,ye;return Ee(this,(function(ve){switch(ve.label){case 0:return[4,this._resolveSeedRouter(this._seedRouter)];case 1:pe=ve.sent();he=0;ve.label=2;case 2:if(!(he=Le}))];case 1:return[2,R.sent()]}}))}))};RoutingConnectionProvider.prototype.supportsTransactionConfig=function(){return be(this,void 0,void 0,(function(){return Ee(this,(function(R){switch(R.label){case 0:return[4,this._hasProtocolVersion((function(R){return R>=je}))];case 1:return[2,R.sent()]}}))}))};RoutingConnectionProvider.prototype.supportsUserImpersonation=function(){return be(this,void 0,void 0,(function(){return Ee(this,(function(R){switch(R.label){case 0:return[4,this._hasProtocolVersion((function(R){return R>=Ue}))];case 1:return[2,R.sent()]}}))}))};RoutingConnectionProvider.prototype.supportsSessionAuth=function(){return be(this,void 0,void 0,(function(){return Ee(this,(function(R){switch(R.label){case 0:return[4,this._hasProtocolVersion((function(R){return R>=He}))];case 1:return[2,R.sent()]}}))}))};RoutingConnectionProvider.prototype.getNegotiatedProtocolVersion=function(){var R=this;return new Promise((function(pe,Ae){R._hasProtocolVersion(pe).catch(Ae)}))};RoutingConnectionProvider.prototype.verifyAuthentication=function(R){var pe=R.database,Ae=R.accessMode,he=R.auth;return be(this,void 0,void 0,(function(){var R=this;return Ee(this,(function(ge){return[2,this._verifyAuthentication({auth:he,getAddress:function(){return be(R,void 0,void 0,(function(){var R,ge,me;return Ee(this,(function(ye){switch(ye.label){case 0:R={database:pe||Xe};return[4,this._freshRoutingTable({accessMode:Ae,database:R.database,auth:he,onDatabaseNameResolved:function(pe){R.database=R.database||pe}})];case 1:ge=ye.sent();me=Ae===Fe?ge.writers:ge.readers;if(me.length===0){throw(0,_e.newError)("No servers available for database '".concat(R.database,"' with access mode '").concat(Ae,"'"),Re)}return[2,me[0]]}}))}))}})]}))}))};RoutingConnectionProvider.prototype.verifyConnectivityAndGetServerInfo=function(R){var pe=R.database,Ae=R.accessMode;return be(this,void 0,void 0,(function(){var R,he,ge,me,ye,ve,be,we,Ie,Be;var Se,Qe;return Ee(this,(function(Ee){switch(Ee.label){case 0:R={database:pe||Xe};return[4,this._freshRoutingTable({accessMode:Ae,database:R.database,onDatabaseNameResolved:function(pe){R.database=R.database||pe}})];case 1:he=Ee.sent();ge=Ae===Fe?he.writers:he.readers;me=(0,_e.newError)("No servers available for database '".concat(R.database,"' with access mode '").concat(Ae,"'"),Re);Ee.label=2;case 2:Ee.trys.push([2,9,10,11]);ye=Ce(ge),ve=ye.next();Ee.label=3;case 3:if(!!ve.done)return[3,8];be=ve.value;Ee.label=4;case 4:Ee.trys.push([4,6,,7]);return[4,this._verifyConnectivityAndGetServerVersion({address:be})];case 5:we=Ee.sent();return[2,we];case 6:Ie=Ee.sent();me=Ie;return[3,7];case 7:ve=ye.next();return[3,3];case 8:return[3,11];case 9:Be=Ee.sent();Se={error:Be};return[3,11];case 10:try{if(ve&&!ve.done&&(Qe=ye.return))Qe.call(ye)}finally{if(Se)throw Se.error}return[7];case 11:throw me}}))}))};RoutingConnectionProvider.prototype.forget=function(R,pe){this._routingTableRegistry.apply(pe,{applyWhenExists:function(pe){return pe.forget(R)}});this._connectionPool.purge(R).catch((function(){}))};RoutingConnectionProvider.prototype.forgetWriter=function(R,pe){this._routingTableRegistry.apply(pe,{applyWhenExists:function(pe){return pe.forgetWriter(R)}})};RoutingConnectionProvider.prototype._freshRoutingTable=function(R){var pe=R===void 0?{}:R,Ae=pe.accessMode,he=pe.database,ge=pe.bookmarks,me=pe.impersonatedUser,ye=pe.onDatabaseNameResolved,ve=pe.auth;var be=this._routingTableRegistry.get(he,(function(){return new Be.RoutingTable({database:he})}));if(!be.isStaleFor(Ae)){return be}this._log.info('Routing table is stale for database: "'.concat(he,'" and access mode: "').concat(Ae,'": ').concat(be));return this._refreshRoutingTable(be,ge,me,ve).then((function(R){ye(R.database);return R}))};RoutingConnectionProvider.prototype._refreshRoutingTable=function(R,pe,Ae,he){var ge=R.routers;if(this._useSeedRouter){return this._fetchRoutingTableFromSeedRouterFallbackToKnownRouters(ge,R,pe,Ae,he)}return this._fetchRoutingTableFromKnownRoutersFallbackToSeedRouter(ge,R,pe,Ae,he)};RoutingConnectionProvider.prototype._fetchRoutingTableFromSeedRouterFallbackToKnownRouters=function(R,pe,Ae,he,ge){return be(this,void 0,void 0,(function(){var me,ye,ve,be,Ce,Ie,_e;return Ee(this,(function(Ee){switch(Ee.label){case 0:me=[];return[4,this._fetchRoutingTableUsingSeedRouter(me,this._seedRouter,pe,Ae,he,ge)];case 1:ye=we.apply(void 0,[Ee.sent(),2]),ve=ye[0],be=ye[1];if(!ve)return[3,2];this._useSeedRouter=false;return[3,4];case 2:return[4,this._fetchRoutingTableUsingKnownRouters(R,pe,Ae,he,ge)];case 3:Ce=we.apply(void 0,[Ee.sent(),2]),Ie=Ce[0],_e=Ce[1];ve=Ie;be=_e||be;Ee.label=4;case 4:return[4,this._applyRoutingTableIfPossible(pe,ve,be)];case 5:return[2,Ee.sent()]}}))}))};RoutingConnectionProvider.prototype._fetchRoutingTableFromKnownRoutersFallbackToSeedRouter=function(R,pe,Ae,he,ge){return be(this,void 0,void 0,(function(){var me,ye,ve;var be;return Ee(this,(function(Ee){switch(Ee.label){case 0:return[4,this._fetchRoutingTableUsingKnownRouters(R,pe,Ae,he,ge)];case 1:me=we.apply(void 0,[Ee.sent(),2]),ye=me[0],ve=me[1];if(!!ye)return[3,3];return[4,this._fetchRoutingTableUsingSeedRouter(R,this._seedRouter,pe,Ae,he,ge)];case 2:be=we.apply(void 0,[Ee.sent(),2]),ye=be[0],ve=be[1];Ee.label=3;case 3:return[4,this._applyRoutingTableIfPossible(pe,ye,ve)];case 4:return[2,Ee.sent()]}}))}))};RoutingConnectionProvider.prototype._fetchRoutingTableUsingKnownRouters=function(R,pe,Ae,he,ge){return be(this,void 0,void 0,(function(){var me,ye,ve,be;return Ee(this,(function(Ee){switch(Ee.label){case 0:return[4,this._fetchRoutingTable(R,pe,Ae,he,ge)];case 1:me=we.apply(void 0,[Ee.sent(),2]),ye=me[0],ve=me[1];if(ye){return[2,[ye,null]]}be=R.length-1;RoutingConnectionProvider._forgetRouter(pe,R,be);return[2,[null,ve]]}}))}))};RoutingConnectionProvider.prototype._fetchRoutingTableUsingSeedRouter=function(R,pe,Ae,he,ge,me){return be(this,void 0,void 0,(function(){var ye,ve;return Ee(this,(function(be){switch(be.label){case 0:return[4,this._resolveSeedRouter(pe)];case 1:ye=be.sent();ve=ye.filter((function(pe){return R.indexOf(pe)<0}));return[4,this._fetchRoutingTable(ve,Ae,he,ge,me)];case 2:return[2,be.sent()]}}))}))};RoutingConnectionProvider.prototype._resolveSeedRouter=function(R){return be(this,void 0,void 0,(function(){var pe,Ae;var he=this;return Ee(this,(function(ge){switch(ge.label){case 0:return[4,this._hostNameResolver.resolve(R)];case 1:pe=ge.sent();return[4,Promise.all(pe.map((function(R){return he._dnsResolver.resolve(R)})))];case 2:Ae=ge.sent();return[2,[].concat.apply([],Ae)]}}))}))};RoutingConnectionProvider.prototype._fetchRoutingTable=function(R,pe,Ae,he,ge){return be(this,void 0,void 0,(function(){var me=this;return Ee(this,(function(ye){return[2,R.reduce((function(ye,ve,Ce){return be(me,void 0,void 0,(function(){var me,be,Ie,_e,Be,Se,Qe;return Ee(this,(function(Ee){switch(Ee.label){case 0:return[4,ye];case 1:me=we.apply(void 0,[Ee.sent(),1]),be=me[0];if(be){return[2,[be,null]]}else{Ie=Ce-1;RoutingConnectionProvider._forgetRouter(pe,R,Ie)}return[4,this._createSessionForRediscovery(ve,Ae,he,ge)];case 2:_e=we.apply(void 0,[Ee.sent(),2]),Be=_e[0],Se=_e[1];if(!Be)return[3,8];Ee.label=3;case 3:Ee.trys.push([3,5,6,7]);return[4,this._rediscovery.lookupRoutingTableOnRouter(Be,pe.database,ve,he)];case 4:return[2,[Ee.sent(),null]];case 5:Qe=Ee.sent();return[2,this._handleRediscoveryError(Qe,ve)];case 6:Be.close();return[7];case 7:return[3,9];case 8:return[2,[null,Se]];case 9:return[2]}}))}))}),Promise.resolve([null,null]))]}))}))};RoutingConnectionProvider.prototype._createSessionForRediscovery=function(R,pe,Ae,he){return be(this,void 0,void 0,(function(){var ge,me,ye,ve,be,Ce;var we=this;return Ee(this,(function(Ee){switch(Ee.label){case 0:Ee.trys.push([0,4,,5]);return[4,this._connectionPool.acquire({auth:he},R)];case 1:ge=Ee.sent();if(!he)return[3,3];return[4,this._verifyStickyConnection({auth:he,connection:ge,address:R})];case 2:Ee.sent();Ee.label=3;case 3:me=ke.ConnectionErrorHandler.create({errorCode:Pe,handleSecurityError:function(R,pe,Ae){return we._handleSecurityError(R,pe,Ae)}});ye=!ge._sticky?new ke.DelegateConnection(ge,me):new ke.DelegateConnection(ge);ve=new Qe.default(ye);be=ge.protocol().version;if(be<4){return[2,[new _e.Session({mode:Fe,bookmarks:Te.empty(),connectionProvider:ve}),null]]}return[2,[new _e.Session({mode:Me,database:Ze,bookmarks:pe,connectionProvider:ve,impersonatedUser:Ae}),null]];case 4:Ce=Ee.sent();return[2,this._handleRediscoveryError(Ce,R)];case 5:return[2]}}))}))};RoutingConnectionProvider.prototype._handleRediscoveryError=function(R,pe){if(_isFailFastError(R)||_isFailFastSecurityError(R)){throw R}else if(R.code===Ve){throw(0,_e.newError)("Server at ".concat(pe.asHostPort()," can't perform routing. Make sure you are connecting to a causal cluster"),Re,R)}this._log.warn("unable to fetch routing table because of an error ".concat(R));return[null,R]};RoutingConnectionProvider.prototype._applyRoutingTableIfPossible=function(R,pe,Ae){return be(this,void 0,void 0,(function(){return Ee(this,(function(he){switch(he.label){case 0:if(!pe){throw(0,_e.newError)("Could not perform discovery. No routing servers available. Known routing table: ".concat(R),Re,Ae)}if(pe.writers.length===0){this._useSeedRouter=true}return[4,this._updateRoutingTable(pe)];case 1:he.sent();return[2,pe]}}))}))};RoutingConnectionProvider.prototype._updateRoutingTable=function(R){return be(this,void 0,void 0,(function(){return Ee(this,(function(pe){switch(pe.label){case 0:return[4,this._connectionPool.keepAll(R.allServers())];case 1:pe.sent();this._routingTableRegistry.removeExpired();this._routingTableRegistry.register(R);this._log.info("Updated routing table ".concat(R));return[2]}}))}))};RoutingConnectionProvider._forgetRouter=function(R,pe,Ae){var he=pe[Ae];if(R&&he){R.forgetRouter(he)}};return RoutingConnectionProvider}(xe.default);pe["default"]=tt;var rt=function(){function RoutingTableRegistry(R){this._tables=new Map;this._routingTablePurgeDelay=R}RoutingTableRegistry.prototype.register=function(R){this._tables.set(R.database,R);return this};RoutingTableRegistry.prototype.apply=function(R,pe){var Ae=pe===void 0?{}:pe,he=Ae.applyWhenExists,ge=Ae.applyWhenDontExists,me=ge===void 0?function(){}:ge;if(this._tables.has(R)){he(this._tables.get(R))}else if(typeof R==="string"||R===null){me()}else{this._forEach(he)}return this};RoutingTableRegistry.prototype.get=function(R,pe){if(this._tables.has(R)){return this._tables.get(R)}return typeof pe==="function"?pe():pe};RoutingTableRegistry.prototype.removeExpired=function(){var R=this;return this._removeIf((function(pe){return pe.isExpiredFor(R._routingTablePurgeDelay)}))};RoutingTableRegistry.prototype._forEach=function(R){var pe,Ae;try{for(var he=Ce(this._tables),ge=he.next();!ge.done;ge=he.next()){var me=we(ge.value,2),ye=me[1];R(ye)}}catch(R){pe={error:R}}finally{try{if(ge&&!ge.done&&(Ae=he.return))Ae.call(he)}finally{if(pe)throw pe.error}}return this};RoutingTableRegistry.prototype._remove=function(R){this._tables.delete(R);return this};RoutingTableRegistry.prototype._removeIf=function(R){var pe,Ae;try{for(var he=Ce(this._tables),ge=he.next();!ge.done;ge=he.next()){var me=we(ge.value,2),ye=me[0],ve=me[1];if(R(ve)){this._remove(ye)}}}catch(R){pe={error:R}}finally{try{if(ge&&!ge.done&&(Ae=he.return))Ae.call(he)}finally{if(pe)throw pe.error}}return this};return RoutingTableRegistry}();function _isFailFastError(R){return[We,Je,Ge,Ye,Ke,ze,$e].includes(R.code)}function _isFailFastSecurityError(R){return R.code.startsWith("Neo.ClientError.Security.")&&![qe].includes(R.code)}},59761:function(R,pe,Ae){"use strict";var he=this&&this.__extends||function(){var extendStatics=function(R,pe){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(R,pe){R.__proto__=pe}||function(R,pe){for(var Ae in pe)if(Object.prototype.hasOwnProperty.call(pe,Ae))R[Ae]=pe[Ae]};return extendStatics(R,pe)};return function(R,pe){if(typeof pe!=="function"&&pe!==null)throw new TypeError("Class extends value "+String(pe)+" is not a constructor or null");extendStatics(R,pe);function __(){this.constructor=R}R.prototype=pe===null?Object.create(pe):(__.prototype=pe.prototype,new __)}}();Object.defineProperty(pe,"__esModule",{value:true});var ge=Ae(55065);var me=function(R){he(SingleConnectionProvider,R);function SingleConnectionProvider(pe){var Ae=R.call(this)||this;Ae._connection=pe;return Ae}SingleConnectionProvider.prototype.acquireConnection=function(R){var pe=R===void 0?{}:R,Ae=pe.accessMode,he=pe.database,ge=pe.bookmarks;var me=this._connection;this._connection=null;return Promise.resolve(me)};return SingleConnectionProvider}(ge.ConnectionProvider);pe["default"]=me},73640:function(R,pe,Ae){"use strict";var he=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});pe.RoutingConnectionProvider=pe.DirectConnectionProvider=pe.PooledConnectionProvider=pe.SingleConnectionProvider=void 0;var ge=Ae(59761);Object.defineProperty(pe,"SingleConnectionProvider",{enumerable:true,get:function(){return he(ge).default}});var me=Ae(65390);Object.defineProperty(pe,"PooledConnectionProvider",{enumerable:true,get:function(){return he(me).default}});var ye=Ae(42808);Object.defineProperty(pe,"DirectConnectionProvider",{enumerable:true,get:function(){return he(ye).default}});var ve=Ae(2970);Object.defineProperty(pe,"RoutingConnectionProvider",{enumerable:true,get:function(){return he(ve).default}})},26327:function(R,pe){"use strict";var Ae=this&&this.__awaiter||function(R,pe,Ae,he){function adopt(R){return R instanceof Ae?R:new Ae((function(pe){pe(R)}))}return new(Ae||(Ae=Promise))((function(Ae,ge){function fulfilled(R){try{step(he.next(R))}catch(R){ge(R)}}function rejected(R){try{step(he["throw"](R))}catch(R){ge(R)}}function step(R){R.done?Ae(R.value):adopt(R.value).then(fulfilled,rejected)}step((he=he.apply(R,pe||[])).next())}))};var he=this&&this.__generator||function(R,pe){var Ae={label:0,sent:function(){if(me[0]&1)throw me[1];return me[1]},trys:[],ops:[]},he,ge,me,ye;return ye={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol==="function"&&(ye[Symbol.iterator]=function(){return this}),ye;function verb(R){return function(pe){return step([R,pe])}}function step(ve){if(he)throw new TypeError("Generator is already executing.");while(ye&&(ye=0,ve[0]&&(Ae=0)),Ae)try{if(he=1,ge&&(me=ve[0]&2?ge["return"]:ve[0]?ge["throw"]||((me=ge["return"])&&me.call(ge),0):ge.next)&&!(me=me.call(ge,ve[1])).done)return me;if(ge=0,me)ve=[ve[0]&2,me.value];switch(ve[0]){case 0:case 1:me=ve;break;case 4:Ae.label++;return{value:ve[1],done:false};case 5:Ae.label++;ge=ve[1];ve=[0];continue;case 7:ve=Ae.ops.pop();Ae.trys.pop();continue;default:if(!(me=Ae.trys,me=me.length>0&&me[me.length-1])&&(ve[0]===6||ve[0]===2)){Ae=0;continue}if(ve[0]===3&&(!me||ve[1]>me[0]&&ve[1]this._connectionLivenessCheckTimeout))return[3,2];return[4,R.resetAndFlush().then((function(){return true}))];case 1:return[2,Ae.sent()];case 2:return[2,true]}}))}))};Object.defineProperty(LivenessCheckProvider.prototype,"_isCheckDisabled",{get:function(){return this._connectionLivenessCheckTimeout==null||this._connectionLivenessCheckTimeout<0},enumerable:false,configurable:true});LivenessCheckProvider.prototype._isNewlyCreatedConnection=function(R){return R.authToken==null};return LivenessCheckProvider}();pe["default"]=ge},7176:function(R,pe,Ae){"use strict";var he=this&&this.__extends||function(){var extendStatics=function(R,pe){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(R,pe){R.__proto__=pe}||function(R,pe){for(var Ae in pe)if(Object.prototype.hasOwnProperty.call(pe,Ae))R[Ae]=pe[Ae]};return extendStatics(R,pe)};return function(R,pe){if(typeof pe!=="function"&&pe!==null)throw new TypeError("Class extends value "+String(pe)+" is not a constructor or null");extendStatics(R,pe);function __(){this.constructor=R}R.prototype=pe===null?Object.create(pe):(__.prototype=pe.prototype,new __)}}();var ge=this&&this.__awaiter||function(R,pe,Ae,he){function adopt(R){return R instanceof Ae?R:new Ae((function(pe){pe(R)}))}return new(Ae||(Ae=Promise))((function(Ae,ge){function fulfilled(R){try{step(he.next(R))}catch(R){ge(R)}}function rejected(R){try{step(he["throw"](R))}catch(R){ge(R)}}function step(R){R.done?Ae(R.value):adopt(R.value).then(fulfilled,rejected)}step((he=he.apply(R,pe||[])).next())}))};var me=this&&this.__generator||function(R,pe){var Ae={label:0,sent:function(){if(me[0]&1)throw me[1];return me[1]},trys:[],ops:[]},he,ge,me,ye;return ye={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol==="function"&&(ye[Symbol.iterator]=function(){return this}),ye;function verb(R){return function(pe){return step([R,pe])}}function step(ve){if(he)throw new TypeError("Generator is already executing.");while(ye&&(ye=0,ve[0]&&(Ae=0)),Ae)try{if(he=1,ge&&(me=ve[0]&2?ge["return"]:ve[0]?ge["throw"]||((me=ge["return"])&&me.call(ge),0):ge.next)&&!(me=me.call(ge,ve[1])).done)return me;if(ge=0,me)ve=[ve[0]&2,me.value];switch(ve[0]){case 0:case 1:me=ve;break;case 4:Ae.label++;return{value:ve[1],done:false};case 5:Ae.label++;ge=ve[1];ve=[0];continue;case 7:ve=Ae.ops.pop();Ae.trys.pop();continue;default:if(!(me=Ae.trys,me=me.length>0&&me[me.length-1])&&(ve[0]===6||ve[0]===2)){Ae=0;continue}if(ve[0]===3&&(!me||ve[1]>me[0]&&ve[1]0){he._ch.setupReceiveTimeout(ve*1e3)}else{he._log.info("Server located at ".concat(he._address," supplied an invalid connection receive timeout value (").concat(ve,"). ")+"Please, verify the server configuration and status because this can be the symptom of a bigger issue.")}}var Ee=R.hints["telemetry.enabled"];if(Ee===true){he._telemetryDisabledConnection=false}}}me(ge)}})}))};ChannelConnection.prototype.protocol=function(){return this._protocol};Object.defineProperty(ChannelConnection.prototype,"address",{get:function(){return this._address},enumerable:false,configurable:true});Object.defineProperty(ChannelConnection.prototype,"version",{get:function(){return this._server.version},set:function(R){this._server.version=R},enumerable:false,configurable:true});Object.defineProperty(ChannelConnection.prototype,"server",{get:function(){return this._server},enumerable:false,configurable:true});Object.defineProperty(ChannelConnection.prototype,"logger",{get:function(){return this._log},enumerable:false,configurable:true});ChannelConnection.prototype._handleFatalError=function(R){this._isBroken=true;this._error=this.handleAndTransformError(this._protocol.currentFailure||R,this._address);if(this._log.isErrorEnabled()){this._log.error("experienced a fatal error caused by ".concat(this._error," (").concat(be.json.stringify(this._error),")"))}this._protocol.notifyFatalError(this._error)};ChannelConnection.prototype._setIdle=function(R){this._idle=true;this._ch.stopReceiveTimeout();this._protocol.queueObserverIfProtocolIsNotBroken(R)};ChannelConnection.prototype._unsetIdle=function(){this._idle=false;this._updateCurrentObserver()};ChannelConnection.prototype._queueObserver=function(R){return this._protocol.queueObserverIfProtocolIsNotBroken(R)};ChannelConnection.prototype.hasOngoingObservableRequests=function(){return!this._idle&&this._protocol.hasOngoingObservableRequests()};ChannelConnection.prototype.resetAndFlush=function(){var R=this;return new Promise((function(pe,Ae){R._reset({onError:function(pe){if(R._isBroken){Ae(pe)}else{var he=R._handleProtocolError("Received FAILURE as a response for RESET: "+pe);Ae(he)}},onComplete:function(){pe()}})}))};ChannelConnection.prototype._resetOnFailure=function(){var R=this;if(!this.isOpen()){return}this._reset({onError:function(){R._protocol.resetFailure()},onComplete:function(){R._protocol.resetFailure()}})};ChannelConnection.prototype._reset=function(R){var pe=this;if(this._reseting){if(!this._protocol.isLastMessageReset()){this._protocol.reset({onError:function(pe){R.onError(pe)},onComplete:function(){R.onComplete()}})}else{this._resetObservers.push(R)}return}this._resetObservers.push(R);this._reseting=true;var notifyFinish=function(R){pe._reseting=false;var Ae=pe._resetObservers;pe._resetObservers=[];Ae.forEach(R)};this._protocol.reset({onError:function(R){notifyFinish((function(pe){return pe.onError(R)}))},onComplete:function(){notifyFinish((function(R){return R.onComplete()}))}})};ChannelConnection.prototype._updateCurrentObserver=function(){this._protocol.updateCurrentObserver()};ChannelConnection.prototype.isOpen=function(){return!this._isBroken&&this._ch._open};ChannelConnection.prototype._handleOngoingRequestsNumberChange=function(R){if(this._idle){return}if(R===0){this._ch.stopReceiveTimeout()}else{this._ch.startReceiveTimeout()}};ChannelConnection.prototype.close=function(){return ge(this,void 0,void 0,(function(){return me(this,(function(R){switch(R.label){case 0:if(this._log.isDebugEnabled()){this._log.debug("closing")}if(this._protocol&&this.isOpen()){this._protocol.prepareToClose()}return[4,this._ch.close()];case 1:R.sent();if(this._log.isDebugEnabled()){this._log.debug("closed")}return[2]}}))}))};ChannelConnection.prototype.toString=function(){return"Connection [".concat(this.id,"][").concat(this.databaseId||"","]")};ChannelConnection.prototype._handleProtocolError=function(R){this._protocol.resetFailure();this._updateCurrentObserver();var pe=(0,be.newError)(R,we);this._handleFatalError(pe);return pe};return ChannelConnection}(Ee.default);pe["default"]=Be;function createConnectionLogger(R,pe){return new Ie(pe._level,(function(Ae,he){return pe._loggerFunction(Ae,"".concat(R," ").concat(he))}))}},71209:function(R,pe,Ae){"use strict";var he=this&&this.__extends||function(){var extendStatics=function(R,pe){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(R,pe){R.__proto__=pe}||function(R,pe){for(var Ae in pe)if(Object.prototype.hasOwnProperty.call(pe,Ae))R[Ae]=pe[Ae]};return extendStatics(R,pe)};return function(R,pe){if(typeof pe!=="function"&&pe!==null)throw new TypeError("Class extends value "+String(pe)+" is not a constructor or null");extendStatics(R,pe);function __(){this.constructor=R}R.prototype=pe===null?Object.create(pe):(__.prototype=pe.prototype,new __)}}();var ge=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});var me=ge(Ae(27341));var ye=function(R){he(DelegateConnection,R);function DelegateConnection(pe,Ae){var he=R.call(this,Ae)||this;if(Ae){he._originalErrorHandler=pe._errorHandler;pe._errorHandler=he._errorHandler}he._delegate=pe;return he}DelegateConnection.prototype.beginTransaction=function(R){return this._delegate.beginTransaction(R)};DelegateConnection.prototype.run=function(R,pe,Ae){return this._delegate.run(R,pe,Ae)};DelegateConnection.prototype.commitTransaction=function(R){return this._delegate.commitTransaction(R)};DelegateConnection.prototype.rollbackTransaction=function(R){return this._delegate.rollbackTransaction(R)};DelegateConnection.prototype.getProtocolVersion=function(){return this._delegate.getProtocolVersion()};Object.defineProperty(DelegateConnection.prototype,"id",{get:function(){return this._delegate.id},enumerable:false,configurable:true});Object.defineProperty(DelegateConnection.prototype,"databaseId",{get:function(){return this._delegate.databaseId},set:function(R){this._delegate.databaseId=R},enumerable:false,configurable:true});Object.defineProperty(DelegateConnection.prototype,"server",{get:function(){return this._delegate.server},enumerable:false,configurable:true});Object.defineProperty(DelegateConnection.prototype,"authToken",{get:function(){return this._delegate.authToken},set:function(R){this._delegate.authToken=R},enumerable:false,configurable:true});Object.defineProperty(DelegateConnection.prototype,"supportsReAuth",{get:function(){return this._delegate.supportsReAuth},enumerable:false,configurable:true});Object.defineProperty(DelegateConnection.prototype,"address",{get:function(){return this._delegate.address},enumerable:false,configurable:true});Object.defineProperty(DelegateConnection.prototype,"version",{get:function(){return this._delegate.version},set:function(R){this._delegate.version=R},enumerable:false,configurable:true});Object.defineProperty(DelegateConnection.prototype,"creationTimestamp",{get:function(){return this._delegate.creationTimestamp},enumerable:false,configurable:true});Object.defineProperty(DelegateConnection.prototype,"idleTimestamp",{get:function(){return this._delegate.idleTimestamp},set:function(R){this._delegate.idleTimestamp=R},enumerable:false,configurable:true});DelegateConnection.prototype.isOpen=function(){return this._delegate.isOpen()};DelegateConnection.prototype.protocol=function(){return this._delegate.protocol()};DelegateConnection.prototype.connect=function(R,pe,Ae,he){return this._delegate.connect(R,pe,Ae,he)};DelegateConnection.prototype.write=function(R,pe,Ae){return this._delegate.write(R,pe,Ae)};DelegateConnection.prototype.resetAndFlush=function(){return this._delegate.resetAndFlush()};DelegateConnection.prototype.hasOngoingObservableRequests=function(){return this._delegate.hasOngoingObservableRequests()};DelegateConnection.prototype.close=function(){return this._delegate.close()};DelegateConnection.prototype.release=function(){if(this._originalErrorHandler){this._delegate._errorHandler=this._originalErrorHandler}return this._delegate.release()};return DelegateConnection}(me.default);pe["default"]=ye},95902:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});var he=Ae(55065);var ge=he.error.SERVICE_UNAVAILABLE,me=he.error.SESSION_EXPIRED;var ye=function(){function ConnectionErrorHandler(R,pe,Ae,he){this._errorCode=R;this._handleUnavailability=pe||noOpHandler;this._handleWriteFailure=Ae||noOpHandler;this._handleSecurityError=he||noOpHandler}ConnectionErrorHandler.create=function(R){var pe=R.errorCode,Ae=R.handleUnavailability,he=R.handleWriteFailure,ge=R.handleSecurityError;return new ConnectionErrorHandler(pe,Ae,he,ge)};ConnectionErrorHandler.prototype.errorCode=function(){return this._errorCode};ConnectionErrorHandler.prototype.handleAndTransformError=function(R,pe,Ae){if(isSecurityError(R)){return this._handleSecurityError(R,pe,Ae)}if(isAvailabilityError(R)){return this._handleUnavailability(R,pe,Ae)}if(isFailureToWrite(R)){return this._handleWriteFailure(R,pe,Ae)}return R};return ConnectionErrorHandler}();pe["default"]=ye;function isSecurityError(R){return R!=null&&R.code!=null&&R.code.startsWith("Neo.ClientError.Security.")}function isAvailabilityError(R){if(R){return R.code===me||R.code===ge||R.code==="Neo.TransientError.General.DatabaseUnavailable"}return false}function isFailureToWrite(R){if(R){return R.code==="Neo.ClientError.Cluster.NotALeader"||R.code==="Neo.ClientError.General.ForbiddenOnReadOnlyDatabase"}return false}function noOpHandler(R){return R}},27341:function(R,pe,Ae){"use strict";var he=this&&this.__extends||function(){var extendStatics=function(R,pe){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(R,pe){R.__proto__=pe}||function(R,pe){for(var Ae in pe)if(Object.prototype.hasOwnProperty.call(pe,Ae))R[Ae]=pe[Ae]};return extendStatics(R,pe)};return function(R,pe){if(typeof pe!=="function"&&pe!==null)throw new TypeError("Class extends value "+String(pe)+" is not a constructor or null");extendStatics(R,pe);function __(){this.constructor=R}R.prototype=pe===null?Object.create(pe):(__.prototype=pe.prototype,new __)}}();Object.defineProperty(pe,"__esModule",{value:true});var ge=Ae(86934);var me=Ae(55065);var ye=function(R){he(Connection,R);function Connection(pe){var Ae=R.call(this)||this;Ae._errorHandler=pe;return Ae}Object.defineProperty(Connection.prototype,"id",{get:function(){throw new Error("not implemented")},enumerable:false,configurable:true});Object.defineProperty(Connection.prototype,"databaseId",{get:function(){throw new Error("not implemented")},set:function(R){throw new Error("not implemented")},enumerable:false,configurable:true});Object.defineProperty(Connection.prototype,"authToken",{get:function(){throw new Error("not implemented")},set:function(R){throw new Error("not implemented")},enumerable:false,configurable:true});Object.defineProperty(Connection.prototype,"supportsReAuth",{get:function(){throw new Error("not implemented")},enumerable:false,configurable:true});Object.defineProperty(Connection.prototype,"creationTimestamp",{get:function(){throw new Error("not implemented")},enumerable:false,configurable:true});Object.defineProperty(Connection.prototype,"idleTimestamp",{get:function(){throw new Error("not implemented")},set:function(R){throw new Error("not implemented")},enumerable:false,configurable:true});Connection.prototype.protocol=function(){throw new Error("not implemented")};Object.defineProperty(Connection.prototype,"address",{get:function(){throw new Error("not implemented")},enumerable:false,configurable:true});Object.defineProperty(Connection.prototype,"version",{get:function(){throw new Error("not implemented")},set:function(R){throw new Error("not implemented")},enumerable:false,configurable:true});Object.defineProperty(Connection.prototype,"server",{get:function(){throw new Error("not implemented")},enumerable:false,configurable:true});Connection.prototype.connect=function(R,pe,Ae,he){throw new Error("not implemented")};Connection.prototype.write=function(R,pe,Ae){throw new Error("not implemented")};Connection.prototype.close=function(){throw new Error("not implemented")};Connection.prototype.handleAndTransformError=function(R,pe){if(this._errorHandler){return this._errorHandler.handleAndTransformError(R,pe,this)}return R};return Connection}(me.Connection);pe["default"]=ye},55994:function(R,pe,Ae){"use strict";var he=this&&this.__createBinding||(Object.create?function(R,pe,Ae,he){if(he===undefined)he=Ae;var ge=Object.getOwnPropertyDescriptor(pe,Ae);if(!ge||("get"in ge?!pe.__esModule:ge.writable||ge.configurable)){ge={enumerable:true,get:function(){return pe[Ae]}}}Object.defineProperty(R,he,ge)}:function(R,pe,Ae,he){if(he===undefined)he=Ae;R[he]=pe[Ae]});var ge=this&&this.__setModuleDefault||(Object.create?function(R,pe){Object.defineProperty(R,"default",{enumerable:true,value:pe})}:function(R,pe){R["default"]=pe});var me=this&&this.__importStar||function(R){if(R&&R.__esModule)return R;var pe={};if(R!=null)for(var Ae in R)if(Ae!=="default"&&Object.prototype.hasOwnProperty.call(R,Ae))he(pe,R,Ae);ge(pe,R);return pe};var ye=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});pe.createChannelConnection=pe.ConnectionErrorHandler=pe.DelegateConnection=pe.ChannelConnection=pe.Connection=void 0;var ve=ye(Ae(27341));pe.Connection=ve.default;var be=me(Ae(7176));pe.ChannelConnection=be.default;Object.defineProperty(pe,"createChannelConnection",{enumerable:true,get:function(){return be.createChannelConnection}});var Ee=ye(Ae(71209));pe.DelegateConnection=Ee.default;var Ce=ye(Ae(95902));pe.ConnectionErrorHandler=Ce.default;pe["default"]=ve.default},95167:function(R,pe,Ae){"use strict";var he=this&&this.__createBinding||(Object.create?function(R,pe,Ae,he){if(he===undefined)he=Ae;var ge=Object.getOwnPropertyDescriptor(pe,Ae);if(!ge||("get"in ge?!pe.__esModule:ge.writable||ge.configurable)){ge={enumerable:true,get:function(){return pe[Ae]}}}Object.defineProperty(R,he,ge)}:function(R,pe,Ae,he){if(he===undefined)he=Ae;R[he]=pe[Ae]});var ge=this&&this.__setModuleDefault||(Object.create?function(R,pe){Object.defineProperty(R,"default",{enumerable:true,value:pe})}:function(R,pe){R["default"]=pe});var me=this&&this.__importStar||function(R){if(R&&R.__esModule)return R;var pe={};if(R!=null)for(var Ae in R)if(Ae!=="default"&&Object.prototype.hasOwnProperty.call(R,Ae))he(pe,R,Ae);ge(pe,R);return pe};var ye=this&&this.__exportStar||function(R,pe){for(var Ae in R)if(Ae!=="default"&&!Object.prototype.hasOwnProperty.call(pe,Ae))he(pe,R,Ae)};Object.defineProperty(pe,"__esModule",{value:true});pe.pool=pe.packstream=pe.channel=pe.buf=pe.bolt=pe.loadBalancing=void 0;pe.loadBalancing=me(Ae(30247));pe.bolt=me(Ae(86934));pe.buf=me(Ae(35509));pe.channel=me(Ae(31131));pe.packstream=me(Ae(32423));pe.pool=me(Ae(38154));ye(Ae(73640),pe)},85625:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.reuseOngoingRequest=pe.identity=void 0;var he=Ae(55065);function identity(R){return R}pe.identity=identity;function reuseOngoingRequest(R,pe){if(pe===void 0){pe=null}var Ae=new Map;return function(){var ge=[];for(var me=0;me=R.length)R=void 0;return{value:R&&R[he++],done:!R}}};throw new TypeError(pe?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(pe,"__esModule",{value:true});pe.equals=void 0;function equals(R,pe){var he,ge;if(R===pe){return true}if(R===null||pe===null){return false}if(typeof R==="object"&&typeof pe==="object"){var me=Object.keys(R);var ye=Object.keys(pe);if(me.length!==ye.length){return false}try{for(var ve=Ae(me),be=ve.next();!be.done;be=ve.next()){var Ee=be.value;if(R[Ee]!==pe[Ee]){return false}}}catch(R){he={error:R}}finally{try{if(be&&!be.done&&(ge=ve.return))ge.call(ve)}finally{if(he)throw he.error}}return true}return false}pe.equals=equals},30247:function(R,pe,Ae){"use strict";var he=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});pe.LeastConnectedLoadBalancingStrategy=pe.LoadBalancingStrategy=void 0;var ge=he(Ae(59744));pe.LoadBalancingStrategy=ge.default;var me=he(Ae(10978));pe.LeastConnectedLoadBalancingStrategy=me.default;pe["default"]=me.default},10978:function(R,pe,Ae){"use strict";var he=this&&this.__extends||function(){var extendStatics=function(R,pe){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(R,pe){R.__proto__=pe}||function(R,pe){for(var Ae in pe)if(Object.prototype.hasOwnProperty.call(pe,Ae))R[Ae]=pe[Ae]};return extendStatics(R,pe)};return function(R,pe){if(typeof pe!=="function"&&pe!==null)throw new TypeError("Class extends value "+String(pe)+" is not a constructor or null");extendStatics(R,pe);function __(){this.constructor=R}R.prototype=pe===null?Object.create(pe):(__.prototype=pe.prototype,new __)}}();var ge=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});var me=ge(Ae(64450));var ye=ge(Ae(59744));var ve=function(R){he(LeastConnectedLoadBalancingStrategy,R);function LeastConnectedLoadBalancingStrategy(pe){var Ae=R.call(this)||this;Ae._readersIndex=new me.default;Ae._writersIndex=new me.default;Ae._connectionPool=pe;return Ae}LeastConnectedLoadBalancingStrategy.prototype.selectReader=function(R){return this._select(R,this._readersIndex)};LeastConnectedLoadBalancingStrategy.prototype.selectWriter=function(R){return this._select(R,this._writersIndex)};LeastConnectedLoadBalancingStrategy.prototype._select=function(R,pe){var Ae=R.length;if(Ae===0){return null}var he=pe.next(Ae);var ge=he;var me=null;var ye=Number.MAX_SAFE_INTEGER;do{var ve=R[ge];var be=this._connectionPool.activeResourceCount(ve);if(be{"use strict";Object.defineProperty(pe,"__esModule",{value:true});var Ae=function(){function LoadBalancingStrategy(){}LoadBalancingStrategy.prototype.selectReader=function(R){throw new Error("Abstract function")};LoadBalancingStrategy.prototype.selectWriter=function(R){throw new Error("Abstract function")};return LoadBalancingStrategy}();pe["default"]=Ae},64450:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});var Ae=function(){function RoundRobinArrayIndex(R){this._offset=R||0}RoundRobinArrayIndex.prototype.next=function(R){if(R===0){return-1}var pe=this._offset;this._offset+=1;if(this._offset===Number.MAX_SAFE_INTEGER){this._offset=0}return pe%R};return RoundRobinArrayIndex}();pe["default"]=Ae},32423:function(R,pe,Ae){"use strict";var he=this&&this.__createBinding||(Object.create?function(R,pe,Ae,he){if(he===undefined)he=Ae;var ge=Object.getOwnPropertyDescriptor(pe,Ae);if(!ge||("get"in ge?!pe.__esModule:ge.writable||ge.configurable)){ge={enumerable:true,get:function(){return pe[Ae]}}}Object.defineProperty(R,he,ge)}:function(R,pe,Ae,he){if(he===undefined)he=Ae;R[he]=pe[Ae]});var ge=this&&this.__setModuleDefault||(Object.create?function(R,pe){Object.defineProperty(R,"default",{enumerable:true,value:pe})}:function(R,pe){R["default"]=pe});var me=this&&this.__importStar||function(R){if(R&&R.__esModule)return R;var pe={};if(R!=null)for(var Ae in R)if(Ae!=="default"&&Object.prototype.hasOwnProperty.call(R,Ae))he(pe,R,Ae);ge(pe,R);return pe};Object.defineProperty(pe,"__esModule",{value:true});pe.structure=pe.v2=pe.v1=void 0;var ye=me(Ae(69607));pe.v1=ye;var ve=me(Ae(75261));pe.v2=ve;var be=me(Ae(48466));pe.structure=be;pe["default"]=ve},69607:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.Unpacker=pe.Packer=void 0;var he=Ae(31131);var ge=Ae(1059);var me=Ae(48466);var ye=Ae(55065);var ve=ye.error.PROTOCOL_ERROR;var be=128;var Ee=144;var Ce=160;var we=176;var Ie=192;var _e=193;var Be=194;var Se=195;var Qe=200;var xe=201;var De=202;var ke=203;var Oe=208;var Re=209;var Pe=210;var Te=212;var Ne=213;var Me=214;var Fe=204;var je=205;var Le=206;var Ue=216;var He=217;var Ve=218;var We=220;var Je=221;var Ge=function(){function Packer(R){this._ch=R;this._byteArraysSupported=true}Packer.prototype.packable=function(R,pe){var Ae=this;if(pe===void 0){pe=ge.functional.identity}try{R=pe(R)}catch(R){return function(){throw R}}if(R===null){return function(){return Ae._ch.writeUInt8(Ie)}}else if(R===true){return function(){return Ae._ch.writeUInt8(Se)}}else if(R===false){return function(){return Ae._ch.writeUInt8(Be)}}else if(typeof R==="number"){return function(){return Ae.packFloat(R)}}else if(typeof R==="string"){return function(){return Ae.packString(R)}}else if(typeof R==="bigint"){return function(){return Ae.packInteger((0,ye.int)(R))}}else if((0,ye.isInt)(R)){return function(){return Ae.packInteger(R)}}else if(R instanceof Int8Array){return function(){return Ae.packBytes(R)}}else if(R instanceof Array){return function(){Ae.packListHeader(R.length);for(var he=0;he>0);this._ch.writeUInt8(Ae%256);this._ch.writeBytes(pe)}else if(Ae<4294967296){this._ch.writeUInt8(Pe);this._ch.writeUInt8((Ae/16777216>>0)%256);this._ch.writeUInt8((Ae/65536>>0)%256);this._ch.writeUInt8((Ae/256>>0)%256);this._ch.writeUInt8(Ae%256);this._ch.writeBytes(pe)}else{throw(0,ye.newError)("UTF-8 strings of size "+Ae+" are not supported")}};Packer.prototype.packListHeader=function(R){if(R<16){this._ch.writeUInt8(Ee|R)}else if(R<256){this._ch.writeUInt8(Te);this._ch.writeUInt8(R)}else if(R<65536){this._ch.writeUInt8(Ne);this._ch.writeUInt8((R/256>>0)%256);this._ch.writeUInt8(R%256)}else if(R<4294967296){this._ch.writeUInt8(Me);this._ch.writeUInt8((R/16777216>>0)%256);this._ch.writeUInt8((R/65536>>0)%256);this._ch.writeUInt8((R/256>>0)%256);this._ch.writeUInt8(R%256)}else{throw(0,ye.newError)("Lists of size "+R+" are not supported")}};Packer.prototype.packBytes=function(R){if(this._byteArraysSupported){this.packBytesHeader(R.length);for(var pe=0;pe>0)%256);this._ch.writeUInt8(R%256)}else if(R<4294967296){this._ch.writeUInt8(Le);this._ch.writeUInt8((R/16777216>>0)%256);this._ch.writeUInt8((R/65536>>0)%256);this._ch.writeUInt8((R/256>>0)%256);this._ch.writeUInt8(R%256)}else{throw(0,ye.newError)("Byte arrays of size "+R+" are not supported")}};Packer.prototype.packMapHeader=function(R){if(R<16){this._ch.writeUInt8(Ce|R)}else if(R<256){this._ch.writeUInt8(Ue);this._ch.writeUInt8(R)}else if(R<65536){this._ch.writeUInt8(He);this._ch.writeUInt8(R/256>>0);this._ch.writeUInt8(R%256)}else if(R<4294967296){this._ch.writeUInt8(Ve);this._ch.writeUInt8((R/16777216>>0)%256);this._ch.writeUInt8((R/65536>>0)%256);this._ch.writeUInt8((R/256>>0)%256);this._ch.writeUInt8(R%256)}else{throw(0,ye.newError)("Maps of size "+R+" are not supported")}};Packer.prototype.packStructHeader=function(R,pe){if(R<16){this._ch.writeUInt8(we|R);this._ch.writeUInt8(pe)}else if(R<256){this._ch.writeUInt8(We);this._ch.writeUInt8(R);this._ch.writeUInt8(pe)}else if(R<65536){this._ch.writeUInt8(Je);this._ch.writeUInt8(R/256>>0);this._ch.writeUInt8(R%256)}else{throw(0,ye.newError)("Structures of size "+R+" are not supported")}};Packer.prototype.disableByteArrays=function(){this._byteArraysSupported=false};Packer.prototype._nonPackableValue=function(R){return function(){throw(0,ye.newError)(R,ve)}};return Packer}();pe.Packer=Ge;var qe=function(){function Unpacker(R,pe){if(R===void 0){R=false}if(pe===void 0){pe=false}this._disableLosslessIntegers=R;this._useBigInt=pe}Unpacker.prototype.unpack=function(R,pe){if(pe===void 0){pe=ge.functional.identity}var Ae=R.readUInt8();var he=Ae&240;var me=Ae&15;if(Ae===Ie){return null}var ve=this._unpackBoolean(Ae);if(ve!==null){return ve}var be=this._unpackNumberOrInteger(Ae,R);if(be!==null){if((0,ye.isInt)(be)){if(this._useBigInt){return be.toBigInt()}else if(this._disableLosslessIntegers){return be.toNumberOrInfinity()}}return be}var Ee=this._unpackString(Ae,he,me,R);if(Ee!==null){return Ee}var Ce=this._unpackList(Ae,he,me,R,pe);if(Ce!==null){return Ce}var we=this._unpackByteArray(Ae,R);if(we!==null){return we}var _e=this._unpackMap(Ae,he,me,R,pe);if(_e!==null){return _e}var Be=this._unpackStruct(Ae,he,me,R,pe);if(Be!==null){return Be}throw(0,ye.newError)("Unknown packed value with marker "+Ae.toString(16))};Unpacker.prototype.unpackInteger=function(R){var pe=R.readUInt8();var Ae=this._unpackInteger(pe,R);if(Ae==null){throw(0,ye.newError)("Unable to unpack integer value with marker "+pe.toString(16))}return Ae};Unpacker.prototype._unpackBoolean=function(R){if(R===Se){return true}else if(R===Be){return false}else{return null}};Unpacker.prototype._unpackNumberOrInteger=function(R,pe){if(R===_e){return pe.readFloat64()}else{return this._unpackInteger(R,pe)}};Unpacker.prototype._unpackInteger=function(R,pe){if(R>=0&&R<128){return(0,ye.int)(R)}else if(R>=240&&R<256){return(0,ye.int)(R-256)}else if(R===Qe){return(0,ye.int)(pe.readInt8())}else if(R===xe){return(0,ye.int)(pe.readInt16())}else if(R===De){var Ae=pe.readInt32();return(0,ye.int)(Ae)}else if(R===ke){var he=pe.readInt32();var ge=pe.readInt32();return new ye.Integer(ge,he)}else{return null}};Unpacker.prototype._unpackString=function(R,pe,Ae,ge){if(pe===be){return he.utf8.decode(ge,Ae)}else if(R===Oe){return he.utf8.decode(ge,ge.readUInt8())}else if(R===Re){return he.utf8.decode(ge,ge.readUInt16())}else if(R===Pe){return he.utf8.decode(ge,ge.readUInt32())}else{return null}};Unpacker.prototype._unpackList=function(R,pe,Ae,he,ge){if(pe===Ee){return this._unpackListWithSize(Ae,he,ge)}else if(R===Te){return this._unpackListWithSize(he.readUInt8(),he,ge)}else if(R===Ne){return this._unpackListWithSize(he.readUInt16(),he,ge)}else if(R===Me){return this._unpackListWithSize(he.readUInt32(),he,ge)}else{return null}};Unpacker.prototype._unpackListWithSize=function(R,pe,Ae){var he=[];for(var ge=0;ge{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.verifyStructSize=pe.Structure=void 0;var he=Ae(55065);var ge=he.error.PROTOCOL_ERROR;var me=function(){function Structure(R,pe){this.signature=R;this.fields=pe}Object.defineProperty(Structure.prototype,"size",{get:function(){return this.fields.length},enumerable:false,configurable:true});Structure.prototype.toString=function(){var R="";for(var pe=0;pe0){R+=", "}R+=this.fields[pe]}return"Structure("+this.signature+", ["+R+"])"};return Structure}();pe.Structure=me;function verifyStructSize(R,pe,Ae){if(pe!==Ae){throw(0,he.newError)("Wrong struct size for ".concat(R,", expected ").concat(pe," but was ").concat(Ae),ge)}}pe.verifyStructSize=verifyStructSize;pe["default"]=me},38154:function(R,pe,Ae){"use strict";var he=this&&this.__createBinding||(Object.create?function(R,pe,Ae,he){if(he===undefined)he=Ae;var ge=Object.getOwnPropertyDescriptor(pe,Ae);if(!ge||("get"in ge?!pe.__esModule:ge.writable||ge.configurable)){ge={enumerable:true,get:function(){return pe[Ae]}}}Object.defineProperty(R,he,ge)}:function(R,pe,Ae,he){if(he===undefined)he=Ae;R[he]=pe[Ae]});var ge=this&&this.__setModuleDefault||(Object.create?function(R,pe){Object.defineProperty(R,"default",{enumerable:true,value:pe})}:function(R,pe){R["default"]=pe});var me=this&&this.__importStar||function(R){if(R&&R.__esModule)return R;var pe={};if(R!=null)for(var Ae in R)if(Ae!=="default"&&Object.prototype.hasOwnProperty.call(R,Ae))he(pe,R,Ae);ge(pe,R);return pe};var ye=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});pe.DEFAULT_MAX_SIZE=pe.DEFAULT_ACQUISITION_TIMEOUT=pe.PoolConfig=pe.Pool=void 0;var ve=me(Ae(3838));pe.PoolConfig=ve.default;Object.defineProperty(pe,"DEFAULT_ACQUISITION_TIMEOUT",{enumerable:true,get:function(){return ve.DEFAULT_ACQUISITION_TIMEOUT}});Object.defineProperty(pe,"DEFAULT_MAX_SIZE",{enumerable:true,get:function(){return ve.DEFAULT_MAX_SIZE}});var be=ye(Ae(64736));pe.Pool=be.default;pe["default"]=be.default},3838:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.DEFAULT_ACQUISITION_TIMEOUT=pe.DEFAULT_MAX_SIZE=void 0;var Ae=100;pe.DEFAULT_MAX_SIZE=Ae;var he=60*1e3;pe.DEFAULT_ACQUISITION_TIMEOUT=he;var ge=function(){function PoolConfig(R,pe){this.maxSize=valueOrDefault(R,Ae);this.acquisitionTimeout=valueOrDefault(pe,he)}PoolConfig.defaultConfig=function(){return new PoolConfig(Ae,he)};PoolConfig.fromDriverConfig=function(R){var pe=isConfigured(R.maxConnectionPoolSize);var ge=pe?R.maxConnectionPoolSize:Ae;var me=isConfigured(R.connectionAcquisitionTimeout);var ye=me?R.connectionAcquisitionTimeout:he;return new PoolConfig(ge,ye)};return PoolConfig}();pe["default"]=ge;function valueOrDefault(R,pe){return R===0||R?R:pe}function isConfigured(R){return R===0||R}},64736:function(R,pe,Ae){"use strict";var he=this&&this.__awaiter||function(R,pe,Ae,he){function adopt(R){return R instanceof Ae?R:new Ae((function(pe){pe(R)}))}return new(Ae||(Ae=Promise))((function(Ae,ge){function fulfilled(R){try{step(he.next(R))}catch(R){ge(R)}}function rejected(R){try{step(he["throw"](R))}catch(R){ge(R)}}function step(R){R.done?Ae(R.value):adopt(R.value).then(fulfilled,rejected)}step((he=he.apply(R,pe||[])).next())}))};var ge=this&&this.__generator||function(R,pe){var Ae={label:0,sent:function(){if(me[0]&1)throw me[1];return me[1]},trys:[],ops:[]},he,ge,me,ye;return ye={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol==="function"&&(ye[Symbol.iterator]=function(){return this}),ye;function verb(R){return function(pe){return step([R,pe])}}function step(ve){if(he)throw new TypeError("Generator is already executing.");while(ye&&(ye=0,ve[0]&&(Ae=0)),Ae)try{if(he=1,ge&&(me=ve[0]&2?ge["return"]:ve[0]?ge["throw"]||((me=ge["return"])&&me.call(ge),0):ge.next)&&!(me=me.call(ge,ve[1])).done)return me;if(ge=0,me)ve=[ve[0]&2,me.value];switch(ve[0]){case 0:case 1:me=ve;break;case 4:Ae.label++;return{value:ve[1],done:false};case 5:Ae.label++;ge=ve[1];ve=[0];continue;case 7:ve=Ae.ops.pop();Ae.trys.pop();continue;default:if(!(me=Ae.trys,me=me.length>0&&me[me.length-1])&&(ve[0]===6||ve[0]===2)){Ae=0;continue}if(ve[0]===3&&(!me||ve[1]>me[0]&&ve[1]0){be=this.activeResourceCount(pe)+this._pendingCreates[he];if(be>=this._maxSize){return[2,{resource:null,pool:me}]}}this._pendingCreates[he]=this._pendingCreates[he]+1;ge.label=7;case 7:ge.trys.push([7,,11,12]);be=this.activeResourceCount(pe)+me.length;if(!(be>=this._maxSize&&Ae))return[3,9];Ce=me.pop();if(this._removeIdleObserver){this._removeIdleObserver(Ce)}me.removeInUse(Ce);return[4,this._destroy(Ce)];case 8:ge.sent();ge.label=9;case 9:return[4,this._create(R,pe,(function(R,pe){return we._release(R,pe,me)}))];case 10:Ee=ge.sent();me.pushInUse(Ee);resourceAcquired(he,this._activeResourceCounts);if(this._log.isDebugEnabled()){this._log.debug("".concat(Ee," created for the pool ").concat(he))}return[3,12];case 11:this._pendingCreates[he]=this._pendingCreates[he]-1;return[7];case 12:return[2,{resource:Ee,pool:me}]}}))}))};Pool.prototype._release=function(R,pe,Ae){return he(this,void 0,void 0,(function(){var he;var me=this;return ge(this,(function(ge){switch(ge.label){case 0:he=R.asKey();ge.label=1;case 1:ge.trys.push([1,,9,10]);if(!Ae.isActive())return[3,6];return[4,this._validateOnRelease(pe)];case 2:if(!!ge.sent())return[3,4];if(this._log.isDebugEnabled()){this._log.debug("".concat(pe," destroyed and can't be released to the pool ").concat(he," because it is not functional"))}Ae.removeInUse(pe);return[4,this._destroy(pe)];case 3:ge.sent();return[3,5];case 4:if(this._installIdleObserver){this._installIdleObserver(pe,{onError:function(R){me._log.debug("Idle connection ".concat(pe," destroyed because of error: ").concat(R));var Ae=me._pools[he];if(Ae){me._pools[he]=Ae.filter((function(R){return R!==pe}));Ae.removeInUse(pe)}me._destroy(pe).catch((function(){}))}})}Ae.push(pe);if(this._log.isDebugEnabled()){this._log.debug("".concat(pe," released to the pool ").concat(he))}ge.label=5;case 5:return[3,8];case 6:if(this._log.isDebugEnabled()){this._log.debug("".concat(pe," destroyed and can't be released to the pool ").concat(he," because pool has been purged"))}Ae.removeInUse(pe);return[4,this._destroy(pe)];case 7:ge.sent();ge.label=8;case 8:return[3,10];case 9:resourceReleased(he,this._activeResourceCounts);this._processPendingAcquireRequests(R);return[7];case 10:return[2]}}))}))};Pool.prototype._purgeKey=function(R){return he(this,void 0,void 0,(function(){var pe,Ae,he;return ge(this,(function(ge){switch(ge.label){case 0:pe=this._pools[R];Ae=[];if(!pe)return[3,2];while(pe.length){he=pe.pop();if(this._removeIdleObserver){this._removeIdleObserver(he)}Ae.push(this._destroy(he))}pe.close();delete this._pools[R];return[4,Promise.all(Ae)];case 1:ge.sent();ge.label=2;case 2:return[2]}}))}))};Pool.prototype._processPendingAcquireRequests=function(R){var pe=this;var Ae=R.asKey();var he=this._acquireRequests[Ae];if(he){var ge=he.shift();if(ge){this._acquire(ge.context,R,ge.requireNew).catch((function(R){ge.reject(R);return{resource:null}})).then((function(he){var me=he.resource,ye=he.pool;if(me){if(ge.isCompleted()){pe._release(R,me,ye)}else{ge.resolve(me)}}else{if(!ge.isCompleted()){if(!pe._acquireRequests[Ae]){pe._acquireRequests[Ae]=[]}pe._acquireRequests[Ae].unshift(ge)}}}))}else{delete this._acquireRequests[Ae]}}};return Pool}();function resourceAcquired(R,pe){var Ae=pe[R]||0;pe[R]=Ae+1}function resourceReleased(R,pe){var Ae=pe[R]||0;var he=Ae-1;if(he>0){pe[R]=he}else{delete pe[R]}}var Ce=function(){function PendingRequest(R,pe,Ae,he,ge,me,ye){this._key=R;this._context=pe;this._resolve=he;this._reject=ge;this._timeoutId=me;this._log=ye;this._completed=false;this._config=Ae||{}}Object.defineProperty(PendingRequest.prototype,"context",{get:function(){return this._context},enumerable:false,configurable:true});Object.defineProperty(PendingRequest.prototype,"requireNew",{get:function(){return this._config.requireNew||false},enumerable:false,configurable:true});PendingRequest.prototype.isCompleted=function(){return this._completed};PendingRequest.prototype.resolve=function(R){if(this._completed){return}this._completed=true;clearTimeout(this._timeoutId);if(this._log.isDebugEnabled()){this._log.debug("".concat(R," acquired from the pool ").concat(this._key))}this._resolve(R)};PendingRequest.prototype.reject=function(R){if(this._completed){return}this._completed=true;clearTimeout(this._timeoutId);this._reject(R)};return PendingRequest}();var we=function(){function SingleAddressPool(){this._active=true;this._elements=[];this._elementsInUse=new Set}SingleAddressPool.prototype.isActive=function(){return this._active};SingleAddressPool.prototype.close=function(){this._active=false;this._elements=[];this._elementsInUse=new Set};SingleAddressPool.prototype.filter=function(R){this._elements=this._elements.filter(R);return this};SingleAddressPool.prototype.apply=function(R){this._elements.forEach(R);this._elementsInUse.forEach(R)};Object.defineProperty(SingleAddressPool.prototype,"length",{get:function(){return this._elements.length},enumerable:false,configurable:true});SingleAddressPool.prototype.pop=function(){var R=this._elements.pop();this._elementsInUse.add(R);return R};SingleAddressPool.prototype.push=function(R){this._elementsInUse.delete(R);return this._elements.push(R)};SingleAddressPool.prototype.pushInUse=function(R){this._elementsInUse.add(R)};SingleAddressPool.prototype.removeInUse=function(R){this._elementsInUse.delete(R)};return SingleAddressPool}();pe["default"]=Ee},47845:function(R,pe,Ae){"use strict";var he=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});pe.RoutingTable=pe.Rediscovery=void 0;var ge=he(Ae(73159));pe.Rediscovery=ge.default;var me=he(Ae(36478));pe.RoutingTable=me.default;pe["default"]=ge.default},73159:function(R,pe,Ae){"use strict";var he=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});var ge=he(Ae(36478));var me=Ae(55065);var ye=function(){function Rediscovery(R){this._routingContext=R}Rediscovery.prototype.lookupRoutingTableOnRouter=function(R,pe,Ae,he){var me=this;return R._acquireConnection((function(ye){return me._requestRawRoutingTable(ye,R,pe,Ae,he).then((function(R){if(R.isNull){return null}return ge.default.fromRawRoutingTable(pe,Ae,R)}))}))};Rediscovery.prototype._requestRawRoutingTable=function(R,pe,Ae,he,ge){var me=this;return new Promise((function(he,ye){R.protocol().requestRoutingInformation({routingContext:me._routingContext,databaseName:Ae,impersonatedUser:ge,sessionContext:{bookmarks:pe._lastBookmarks,mode:pe._mode,database:pe._database,afterComplete:pe._onComplete},onCompleted:he,onError:ye})}))};return Rediscovery}();pe["default"]=ye},36478:function(R,pe,Ae){"use strict";var he=this&&this.__read||function(R,pe){var Ae=typeof Symbol==="function"&&R[Symbol.iterator];if(!Ae)return R;var he=Ae.call(R),ge,me=[],ye;try{while((pe===void 0||pe-- >0)&&!(ge=he.next()).done)me.push(ge.value)}catch(R){ye={error:R}}finally{try{if(ge&&!ge.done&&(Ae=he["return"]))Ae.call(he)}finally{if(ye)throw ye.error}}return me};var ge=this&&this.__spreadArray||function(R,pe,Ae){if(Ae||arguments.length===2)for(var he=0,ge=pe.length,me;he0&&me[me.length-1])&&(ve[0]===6||ve[0]===2)){Ae=0;continue}if(ve[0]===3&&(!me||ve[1]>me[0]&&ve[1]{"use strict";Object.defineProperty(pe,"__esModule",{value:true});var Ae={basic:function(R,pe,Ae){if(Ae!=null){return{scheme:"basic",principal:R,credentials:pe,realm:Ae}}else{return{scheme:"basic",principal:R,credentials:pe}}},kerberos:function(R){return{scheme:"kerberos",principal:"",credentials:R}},bearer:function(R){return{scheme:"bearer",credentials:R}},none:function(){return{scheme:"none"}},custom:function(R,pe,Ae,he,ge){var me={scheme:he,principal:R};if(isNotEmpty(pe)){me.credentials=pe}if(isNotEmpty(Ae)){me.realm=Ae}if(isNotEmpty(ge)){me.parameters=ge}return me}};function isNotEmpty(R){return!(R===null||R===undefined||R===""||Object.getPrototypeOf(R)===Object.prototype&&Object.keys(R).length===0)}pe["default"]=Ae},81445:function(R,pe){"use strict";var Ae=this&&this.__awaiter||function(R,pe,Ae,he){function adopt(R){return R instanceof Ae?R:new Ae((function(pe){pe(R)}))}return new(Ae||(Ae=Promise))((function(Ae,ge){function fulfilled(R){try{step(he.next(R))}catch(R){ge(R)}}function rejected(R){try{step(he["throw"](R))}catch(R){ge(R)}}function step(R){R.done?Ae(R.value):adopt(R.value).then(fulfilled,rejected)}step((he=he.apply(R,pe||[])).next())}))};var he=this&&this.__generator||function(R,pe){var Ae={label:0,sent:function(){if(me[0]&1)throw me[1];return me[1]},trys:[],ops:[]},he,ge,me,ye;return ye={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol==="function"&&(ye[Symbol.iterator]=function(){return this}),ye;function verb(R){return function(pe){return step([R,pe])}}function step(ve){if(he)throw new TypeError("Generator is already executing.");while(ye&&(ye=0,ve[0]&&(Ae=0)),Ae)try{if(he=1,ge&&(me=ve[0]&2?ge["return"]:ve[0]?ge["throw"]||((me=ge["return"])&&me.call(ge),0):ge.next)&&!(me=me.call(ge,ve[1])).done)return me;if(ge=0,me)ve=[ve[0]&2,me.value];switch(ve[0]){case 0:case 1:me=ve;break;case 4:Ae.label++;return{value:ve[1],done:false};case 5:Ae.label++;ge=ve[1];ve=[0];continue;case 7:ve=Ae.ops.pop();Ae.trys.pop();continue;default:if(!(me=Ae.trys,me=me.length>0&&me[me.length-1])&&(ve[0]===6||ve[0]===2)){Ae=0;continue}if(ve[0]===3&&(!me||ve[1]>me[0]&&ve[1]=R.length)R=void 0;return{value:R&&R[he++],done:!R}}};throw new TypeError(pe?"Object is not iterable.":"Symbol.iterator is not defined.")};var me=this&&this.__read||function(R,pe){var Ae=typeof Symbol==="function"&&R[Symbol.iterator];if(!Ae)return R;var he=Ae.call(R),ge,me=[],ye;try{while((pe===void 0||pe-- >0)&&!(ge=he.next()).done)me.push(ge.value)}catch(R){ye={error:R}}finally{try{if(ge&&!ge.done&&(Ae=he["return"]))Ae.call(he)}finally{if(ye)throw ye.error}}return me};var ye=this&&this.__spreadArray||function(R,pe,Ae){if(Ae||arguments.length===2)for(var he=0,ge=pe.length,me;he0)&&R.filter(pe).length===R.length}function isStringOrNotPresent(R,pe){return!(R in pe)||pe[R]==null||typeof pe[R]==="string"}var Be=function(){function InternalRotatingClientCertificateProvider(R,pe){if(pe===void 0){pe=false}this._certificate=R;this._updated=pe}InternalRotatingClientCertificateProvider.prototype.hasUpdate=function(){try{return this._updated}finally{this._updated=false}};InternalRotatingClientCertificateProvider.prototype.getClientCertificate=function(){return this._certificate};InternalRotatingClientCertificateProvider.prototype.updateCertificate=function(R){if(!isClientClientCertificate(R)){throw new TypeError("certificate should be ClientCertificate, but got ".concat(be.stringify(R)))}this._certificate=ge({},R);this._updated=true};return InternalRotatingClientCertificateProvider}()},50651:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.Releasable=void 0;var Ae=function(){function Releasable(){}Releasable.prototype.release=function(){throw new Error("Not implemented")};return Releasable}();pe.Releasable=Ae;var he=function(){function ConnectionProvider(){}ConnectionProvider.prototype.acquireConnection=function(R){throw Error("Not implemented")};ConnectionProvider.prototype.supportsMultiDb=function(){throw Error("Not implemented")};ConnectionProvider.prototype.supportsTransactionConfig=function(){throw Error("Not implemented")};ConnectionProvider.prototype.supportsUserImpersonation=function(){throw Error("Not implemented")};ConnectionProvider.prototype.supportsSessionAuth=function(){throw Error("Not implemented")};ConnectionProvider.prototype.verifyConnectivityAndGetServerInfo=function(R){throw Error("Not implemented")};ConnectionProvider.prototype.verifyAuthentication=function(R){throw Error("Not implemented")};ConnectionProvider.prototype.getNegotiatedProtocolVersion=function(){throw Error("Not Implemented")};ConnectionProvider.prototype.close=function(){throw Error("Not implemented")};return ConnectionProvider}();pe["default"]=he},10985:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});var Ae=function(){function Connection(){}Connection.prototype.beginTransaction=function(R){throw new Error("Not implemented")};Connection.prototype.run=function(R,pe,Ae){throw new Error("Not implemented")};Connection.prototype.commitTransaction=function(R){throw new Error("Not implemented")};Connection.prototype.rollbackTransaction=function(R){throw new Error("Not implemented")};Connection.prototype.resetAndFlush=function(){throw new Error("Not implemented")};Connection.prototype.isOpen=function(){throw new Error("Not implemented")};Connection.prototype.getProtocolVersion=function(){throw new Error("Not implemented")};Connection.prototype.hasOngoingObservableRequests=function(){throw new Error("Not implemented")};return Connection}();pe["default"]=Ae},92148:function(R,pe,Ae){"use strict";var he=this&&this.__awaiter||function(R,pe,Ae,he){function adopt(R){return R instanceof Ae?R:new Ae((function(pe){pe(R)}))}return new(Ae||(Ae=Promise))((function(Ae,ge){function fulfilled(R){try{step(he.next(R))}catch(R){ge(R)}}function rejected(R){try{step(he["throw"](R))}catch(R){ge(R)}}function step(R){R.done?Ae(R.value):adopt(R.value).then(fulfilled,rejected)}step((he=he.apply(R,pe||[])).next())}))};var ge=this&&this.__generator||function(R,pe){var Ae={label:0,sent:function(){if(me[0]&1)throw me[1];return me[1]},trys:[],ops:[]},he,ge,me,ye;return ye={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol==="function"&&(ye[Symbol.iterator]=function(){return this}),ye;function verb(R){return function(pe){return step([R,pe])}}function step(ve){if(he)throw new TypeError("Generator is already executing.");while(ye&&(ye=0,ve[0]&&(Ae=0)),Ae)try{if(he=1,ge&&(me=ve[0]&2?ge["return"]:ve[0]?ge["throw"]||((me=ge["return"])&&me.call(ge),0):ge.next)&&!(me=me.call(ge,ve[1])).done)return me;if(ge=0,me)ve=[ve[0]&2,me.value];switch(ve[0]){case 0:case 1:me=ve;break;case 4:Ae.label++;return{value:ve[1],done:false};case 5:Ae.label++;ge=ve[1];ve=[0];continue;case 7:ve=Ae.ops.pop();Ae.trys.pop();continue;default:if(!(me=Ae.trys,me=me.length>0&&me[me.length-1])&&(ve[0]===6||ve[0]===2)){Ae=0;continue}if(ve[0]===3&&(!me||ve[1]>me[0]&&ve[1]0||Ae===0){return Ae}else if(Ae<0){return Number.MAX_SAFE_INTEGER}else{return pe}}function validateFetchSizeValue(R,pe){var Ae=parseInt(R,10);if(Ae>0||Ae===be.FETCH_ALL){return Ae}else if(Ae===0||Ae<0){throw new Error("The fetch size can only be a positive value or ".concat(be.FETCH_ALL," for ALL. However fetchSize = ").concat(Ae))}else{return pe}}function extractConnectionTimeout(R){var pe=parseInt(R.connectionTimeout,10);if(pe===0){return null}else if(!isNaN(pe)&&pe<0){return null}else if(isNaN(pe)){return be.DEFAULT_CONNECTION_TIMEOUT_MILLIS}else{return pe}}function validateConnectionLivenessCheckTimeoutSizeValue(R){if(R==null){return undefined}var pe=parseInt(R,10);if(pe<0||Number.isNaN(pe)){throw new Error("The connectionLivenessCheckTimeout can only be a positive value or 0 for always. However connectionLivenessCheckTimeout = ".concat(pe))}return pe}function createHostNameResolver(R){return new ve.default(R.resolver)}pe["default"]=Fe},5542:function(R,pe){"use strict";var Ae=this&&this.__extends||function(){var extendStatics=function(R,pe){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(R,pe){R.__proto__=pe}||function(R,pe){for(var Ae in pe)if(Object.prototype.hasOwnProperty.call(pe,Ae))R[Ae]=pe[Ae]};return extendStatics(R,pe)};return function(R,pe){if(typeof pe!=="function"&&pe!==null)throw new TypeError("Class extends value "+String(pe)+" is not a constructor or null");extendStatics(R,pe);function __(){this.constructor=R}R.prototype=pe===null?Object.create(pe):(__.prototype=pe.prototype,new __)}}();Object.defineProperty(pe,"__esModule",{value:true});pe.PROTOCOL_ERROR=pe.SESSION_EXPIRED=pe.SERVICE_UNAVAILABLE=pe.Neo4jError=pe.isRetriableError=pe.newError=void 0;var he="ServiceUnavailable";pe.SERVICE_UNAVAILABLE=he;var ge="SessionExpired";pe.SESSION_EXPIRED=ge;var me="ProtocolError";pe.PROTOCOL_ERROR=me;var ye="N/A";var ve=function(R){Ae(Neo4jError,R);function Neo4jError(pe,Ae,he){var ge=R.call(this,pe,he!=null?{cause:he}:undefined)||this;ge.constructor=Neo4jError;ge.__proto__=Neo4jError.prototype;ge.code=Ae;ge.name="Neo4jError";ge.retriable=_isRetriableCode(Ae);return ge}Neo4jError.isRetriable=function(R){return R!==null&&R!==undefined&&R instanceof Neo4jError&&R.retriable};return Neo4jError}(Error);pe.Neo4jError=ve;function newError(R,pe,Ae){return new ve(R,pe!==null&&pe!==void 0?pe:ye,Ae)}pe.newError=newError;var be=ve.isRetriable;pe.isRetriableError=be;function _isRetriableCode(R){return R===he||R===ge||_isAuthorizationExpired(R)||_isTransientError(R)}function _isTransientError(R){return(R===null||R===void 0?void 0:R.includes("TransientError"))===true}function _isAuthorizationExpired(R){return R==="Neo.ClientError.Security.AuthorizationExpired"}},86847:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.isPathSegment=pe.PathSegment=pe.isPath=pe.Path=pe.isUnboundRelationship=pe.UnboundRelationship=pe.isRelationship=pe.Relationship=pe.isNode=pe.Node=void 0;var he=Ae(86322);var ge={value:true,enumerable:false,configurable:false,writable:false};var me="__isNode__";var ye="__isRelationship__";var ve="__isUnboundRelationship__";var be="__isPath__";var Ee="__isPathSegment__";function hasIdentifierProperty(R,pe){return R!=null&&R[pe]===true}var Ce=function(){function Node(R,pe,Ae,he){this.identity=R;this.labels=pe;this.properties=Ae;this.elementId=_valueOrGetDefault(he,(function(){return R.toString()}))}Node.prototype.toString=function(){var R="("+this.elementId;for(var pe=0;pe0){R+=" {";for(var pe=0;pe0)R+=",";R+=Ae[pe]+":"+(0,he.stringify)(this.properties[Ae[pe]])}R+="}"}R+=")";return R};return Node}();pe.Node=Ce;Object.defineProperty(Ce.prototype,me,ge);function isNode(R){return hasIdentifierProperty(R,me)}pe.isNode=isNode;var we=function(){function Relationship(R,pe,Ae,he,ge,me,ye,ve){this.identity=R;this.start=pe;this.end=Ae;this.type=he;this.properties=ge;this.elementId=_valueOrGetDefault(me,(function(){return R.toString()}));this.startNodeElementId=_valueOrGetDefault(ye,(function(){return pe.toString()}));this.endNodeElementId=_valueOrGetDefault(ve,(function(){return Ae.toString()}))}Relationship.prototype.toString=function(){var R="("+this.startNodeElementId+")-[:"+this.type;var pe=Object.keys(this.properties);if(pe.length>0){R+=" {";for(var Ae=0;Ae0)R+=",";R+=pe[Ae]+":"+(0,he.stringify)(this.properties[pe[Ae]])}R+="}"}R+="]->("+this.endNodeElementId+")";return R};return Relationship}();pe.Relationship=we;Object.defineProperty(we.prototype,ye,ge);function isRelationship(R){return hasIdentifierProperty(R,ye)}pe.isRelationship=isRelationship;var Ie=function(){function UnboundRelationship(R,pe,Ae,he){this.identity=R;this.type=pe;this.properties=Ae;this.elementId=_valueOrGetDefault(he,(function(){return R.toString()}))}UnboundRelationship.prototype.bind=function(R,pe){return new we(this.identity,R,pe,this.type,this.properties,this.elementId)};UnboundRelationship.prototype.bindTo=function(R,pe){return new we(this.identity,R.identity,pe.identity,this.type,this.properties,this.elementId,R.elementId,pe.elementId)};UnboundRelationship.prototype.toString=function(){var R="-[:"+this.type;var pe=Object.keys(this.properties);if(pe.length>0){R+=" {";for(var Ae=0;Ae0)R+=",";R+=pe[Ae]+":"+(0,he.stringify)(this.properties[pe[Ae]])}R+="}"}R+="]->";return R};return UnboundRelationship}();pe.UnboundRelationship=Ie;Object.defineProperty(Ie.prototype,ve,ge);function isUnboundRelationship(R){return hasIdentifierProperty(R,ve)}pe.isUnboundRelationship=isUnboundRelationship;var _e=function(){function PathSegment(R,pe,Ae){this.start=R;this.relationship=pe;this.end=Ae}return PathSegment}();pe.PathSegment=_e;Object.defineProperty(_e.prototype,Ee,ge);function isPathSegment(R){return hasIdentifierProperty(R,Ee)}pe.isPathSegment=isPathSegment;var Be=function(){function Path(R,pe,Ae){this.start=R;this.end=pe;this.segments=Ae;this.length=Ae.length}return Path}();pe.Path=Be;Object.defineProperty(Be.prototype,be,ge);function isPath(R){return hasIdentifierProperty(R,be)}pe.isPath=isPath;function _valueOrGetDefault(R,pe){return R===undefined||R===null?pe():R}},55065:function(R,pe,Ae){"use strict";var he=this&&this.__createBinding||(Object.create?function(R,pe,Ae,he){if(he===undefined)he=Ae;var ge=Object.getOwnPropertyDescriptor(pe,Ae);if(!ge||("get"in ge?!pe.__esModule:ge.writable||ge.configurable)){ge={enumerable:true,get:function(){return pe[Ae]}}}Object.defineProperty(R,he,ge)}:function(R,pe,Ae,he){if(he===undefined)he=Ae;R[he]=pe[Ae]});var ge=this&&this.__setModuleDefault||(Object.create?function(R,pe){Object.defineProperty(R,"default",{enumerable:true,value:pe})}:function(R,pe){R["default"]=pe});var me=this&&this.__importStar||function(R){if(R&&R.__esModule)return R;var pe={};if(R!=null)for(var Ae in R)if(Ae!=="default"&&Object.prototype.hasOwnProperty.call(R,Ae))he(pe,R,Ae);ge(pe,R);return pe};var ye=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});pe.Releasable=pe.ConnectionProvider=pe.EagerResult=pe.Result=pe.Stats=pe.QueryStatistics=pe.ProfiledPlan=pe.Plan=pe.GqlStatusObject=pe.Notification=pe.ServerInfo=pe.queryType=pe.ResultSummary=pe.Record=pe.isPathSegment=pe.PathSegment=pe.isPath=pe.Path=pe.isUnboundRelationship=pe.UnboundRelationship=pe.isRelationship=pe.Relationship=pe.isNode=pe.Node=pe.Time=pe.LocalTime=pe.LocalDateTime=pe.isTime=pe.isLocalTime=pe.isLocalDateTime=pe.isDuration=pe.isDateTime=pe.isDate=pe.Duration=pe.DateTime=pe.Date=pe.Point=pe.isPoint=pe.internal=pe.toString=pe.toNumber=pe.inSafeRange=pe.isInt=pe.int=pe.Integer=pe.error=pe.isRetriableError=pe.Neo4jError=pe.newError=pe.authTokenManagers=void 0;pe.resolveCertificateProvider=pe.clientCertificateProviders=pe.notificationFilterMinimumSeverityLevel=pe.notificationFilterDisabledClassification=pe.notificationFilterDisabledCategory=pe.notificationSeverityLevel=pe.notificationClassification=pe.notificationCategory=pe.resultTransformers=pe.routing=pe.staticAuthTokenManager=pe.bookmarkManager=pe.auth=pe.json=pe.driver=pe.types=pe.Driver=pe.Session=pe.TransactionPromise=pe.ManagedTransaction=pe.Transaction=pe.Connection=void 0;var ve=Ae(5542);Object.defineProperty(pe,"newError",{enumerable:true,get:function(){return ve.newError}});Object.defineProperty(pe,"Neo4jError",{enumerable:true,get:function(){return ve.Neo4jError}});Object.defineProperty(pe,"isRetriableError",{enumerable:true,get:function(){return ve.isRetriableError}});var be=me(Ae(6049));pe.Integer=be.default;Object.defineProperty(pe,"int",{enumerable:true,get:function(){return be.int}});Object.defineProperty(pe,"isInt",{enumerable:true,get:function(){return be.isInt}});Object.defineProperty(pe,"inSafeRange",{enumerable:true,get:function(){return be.inSafeRange}});Object.defineProperty(pe,"toNumber",{enumerable:true,get:function(){return be.toNumber}});Object.defineProperty(pe,"toString",{enumerable:true,get:function(){return be.toString}});var Ee=Ae(45797);Object.defineProperty(pe,"Date",{enumerable:true,get:function(){return Ee.Date}});Object.defineProperty(pe,"DateTime",{enumerable:true,get:function(){return Ee.DateTime}});Object.defineProperty(pe,"Duration",{enumerable:true,get:function(){return Ee.Duration}});Object.defineProperty(pe,"isDate",{enumerable:true,get:function(){return Ee.isDate}});Object.defineProperty(pe,"isDateTime",{enumerable:true,get:function(){return Ee.isDateTime}});Object.defineProperty(pe,"isDuration",{enumerable:true,get:function(){return Ee.isDuration}});Object.defineProperty(pe,"isLocalDateTime",{enumerable:true,get:function(){return Ee.isLocalDateTime}});Object.defineProperty(pe,"isLocalTime",{enumerable:true,get:function(){return Ee.isLocalTime}});Object.defineProperty(pe,"isTime",{enumerable:true,get:function(){return Ee.isTime}});Object.defineProperty(pe,"LocalDateTime",{enumerable:true,get:function(){return Ee.LocalDateTime}});Object.defineProperty(pe,"LocalTime",{enumerable:true,get:function(){return Ee.LocalTime}});Object.defineProperty(pe,"Time",{enumerable:true,get:function(){return Ee.Time}});var Ce=Ae(86847);Object.defineProperty(pe,"Node",{enumerable:true,get:function(){return Ce.Node}});Object.defineProperty(pe,"isNode",{enumerable:true,get:function(){return Ce.isNode}});Object.defineProperty(pe,"Relationship",{enumerable:true,get:function(){return Ce.Relationship}});Object.defineProperty(pe,"isRelationship",{enumerable:true,get:function(){return Ce.isRelationship}});Object.defineProperty(pe,"UnboundRelationship",{enumerable:true,get:function(){return Ce.UnboundRelationship}});Object.defineProperty(pe,"isUnboundRelationship",{enumerable:true,get:function(){return Ce.isUnboundRelationship}});Object.defineProperty(pe,"Path",{enumerable:true,get:function(){return Ce.Path}});Object.defineProperty(pe,"isPath",{enumerable:true,get:function(){return Ce.isPath}});Object.defineProperty(pe,"PathSegment",{enumerable:true,get:function(){return Ce.PathSegment}});Object.defineProperty(pe,"isPathSegment",{enumerable:true,get:function(){return Ce.isPathSegment}});var we=ye(Ae(62918));pe.Record=we.default;var Ie=Ae(66364);Object.defineProperty(pe,"isPoint",{enumerable:true,get:function(){return Ie.isPoint}});Object.defineProperty(pe,"Point",{enumerable:true,get:function(){return Ie.Point}});var _e=me(Ae(1381));pe.ResultSummary=_e.default;Object.defineProperty(pe,"queryType",{enumerable:true,get:function(){return _e.queryType}});Object.defineProperty(pe,"ServerInfo",{enumerable:true,get:function(){return _e.ServerInfo}});Object.defineProperty(pe,"Plan",{enumerable:true,get:function(){return _e.Plan}});Object.defineProperty(pe,"ProfiledPlan",{enumerable:true,get:function(){return _e.ProfiledPlan}});Object.defineProperty(pe,"QueryStatistics",{enumerable:true,get:function(){return _e.QueryStatistics}});Object.defineProperty(pe,"Stats",{enumerable:true,get:function(){return _e.Stats}});var Be=me(Ae(64777));pe.Notification=Be.default;Object.defineProperty(pe,"GqlStatusObject",{enumerable:true,get:function(){return Be.GqlStatusObject}});Object.defineProperty(pe,"notificationCategory",{enumerable:true,get:function(){return Be.notificationCategory}});Object.defineProperty(pe,"notificationClassification",{enumerable:true,get:function(){return Be.notificationClassification}});Object.defineProperty(pe,"notificationSeverityLevel",{enumerable:true,get:function(){return Be.notificationSeverityLevel}});var Se=Ae(66007);Object.defineProperty(pe,"notificationFilterDisabledCategory",{enumerable:true,get:function(){return Se.notificationFilterDisabledCategory}});Object.defineProperty(pe,"notificationFilterDisabledClassification",{enumerable:true,get:function(){return Se.notificationFilterDisabledClassification}});Object.defineProperty(pe,"notificationFilterMinimumSeverityLevel",{enumerable:true,get:function(){return Se.notificationFilterMinimumSeverityLevel}});var Qe=ye(Ae(58536));pe.Result=Qe.default;var xe=ye(Ae(6391));pe.EagerResult=xe.default;var De=me(Ae(50651));pe.ConnectionProvider=De.default;Object.defineProperty(pe,"Releasable",{enumerable:true,get:function(){return De.Releasable}});var ke=ye(Ae(10985));pe.Connection=ke.default;var Oe=ye(Ae(32241));pe.Transaction=Oe.default;var Re=ye(Ae(93169));pe.ManagedTransaction=Re.default;var Pe=ye(Ae(37269));pe.TransactionPromise=Pe.default;var Te=ye(Ae(55739));pe.Session=Te.default;var Ne=me(Ae(92148)),Me=Ne;pe.Driver=Ne.default;pe.driver=Me;var Fe=ye(Ae(8841));pe.auth=Fe.default;var je=Ae(81445);Object.defineProperty(pe,"bookmarkManager",{enumerable:true,get:function(){return je.bookmarkManager}});var Le=Ae(57432);Object.defineProperty(pe,"authTokenManagers",{enumerable:true,get:function(){return Le.authTokenManagers}});Object.defineProperty(pe,"staticAuthTokenManager",{enumerable:true,get:function(){return Le.staticAuthTokenManager}});var Ue=Ae(92148);Object.defineProperty(pe,"routing",{enumerable:true,get:function(){return Ue.routing}});var He=me(Ae(47558));pe.types=He;var Ve=me(Ae(86322));pe.json=Ve;var We=ye(Ae(36584));pe.resultTransformers=We.default;var Je=Ae(65177);Object.defineProperty(pe,"clientCertificateProviders",{enumerable:true,get:function(){return Je.clientCertificateProviders}});Object.defineProperty(pe,"resolveCertificateProvider",{enumerable:true,get:function(){return Je.resolveCertificateProvider}});var Ge=me(Ae(9318));pe.internal=Ge;var qe={SERVICE_UNAVAILABLE:ve.SERVICE_UNAVAILABLE,SESSION_EXPIRED:ve.SESSION_EXPIRED,PROTOCOL_ERROR:ve.PROTOCOL_ERROR};pe.error=qe;var Ye={authTokenManagers:Le.authTokenManagers,newError:ve.newError,Neo4jError:ve.Neo4jError,isRetriableError:ve.isRetriableError,error:qe,Integer:be.default,int:be.int,isInt:be.isInt,inSafeRange:be.inSafeRange,toNumber:be.toNumber,toString:be.toString,internal:Ge,isPoint:Ie.isPoint,Point:Ie.Point,Date:Ee.Date,DateTime:Ee.DateTime,Duration:Ee.Duration,isDate:Ee.isDate,isDateTime:Ee.isDateTime,isDuration:Ee.isDuration,isLocalDateTime:Ee.isLocalDateTime,isLocalTime:Ee.isLocalTime,isTime:Ee.isTime,LocalDateTime:Ee.LocalDateTime,LocalTime:Ee.LocalTime,Time:Ee.Time,Node:Ce.Node,isNode:Ce.isNode,Relationship:Ce.Relationship,isRelationship:Ce.isRelationship,UnboundRelationship:Ce.UnboundRelationship,isUnboundRelationship:Ce.isUnboundRelationship,Path:Ce.Path,isPath:Ce.isPath,PathSegment:Ce.PathSegment,isPathSegment:Ce.isPathSegment,Record:we.default,ResultSummary:_e.default,queryType:_e.queryType,ServerInfo:_e.ServerInfo,Notification:Be.default,GqlStatusObject:Be.GqlStatusObject,Plan:_e.Plan,ProfiledPlan:_e.ProfiledPlan,QueryStatistics:_e.QueryStatistics,Stats:_e.Stats,Result:Qe.default,EagerResult:xe.default,Transaction:Oe.default,ManagedTransaction:Re.default,TransactionPromise:Pe.default,Session:Te.default,Driver:Ne.default,Connection:ke.default,Releasable:De.Releasable,types:He,driver:Me,json:Ve,auth:Fe.default,bookmarkManager:je.bookmarkManager,routing:Ue.routing,resultTransformers:We.default,notificationCategory:Be.notificationCategory,notificationClassification:Be.notificationClassification,notificationSeverityLevel:Be.notificationSeverityLevel,notificationFilterDisabledCategory:Se.notificationFilterDisabledCategory,notificationFilterDisabledClassification:Se.notificationFilterDisabledClassification,notificationFilterMinimumSeverityLevel:Se.notificationFilterMinimumSeverityLevel,clientCertificateProviders:Je.clientCertificateProviders,resolveCertificateProvider:Je.resolveCertificateProvider};pe["default"]=Ye},6049:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.toString=pe.toNumber=pe.inSafeRange=pe.isInt=pe.int=void 0;var he=Ae(5542);var ge=new Map;var me=function(){function Integer(R,pe){this.low=R!==null&&R!==void 0?R:0;this.high=pe!==null&&pe!==void 0?pe:0}Integer.prototype.inSafeRange=function(){return this.greaterThanOrEqual(Integer.MIN_SAFE_VALUE)&&this.lessThanOrEqual(Integer.MAX_SAFE_VALUE)};Integer.prototype.toInt=function(){return this.low};Integer.prototype.toNumber=function(){return this.high*be+(this.low>>>0)};Integer.prototype.toBigInt=function(){if(this.isZero()){return BigInt(0)}else if(this.isPositive()){return BigInt(this.high>>>0)*BigInt(be)+BigInt(this.low>>>0)}else{var R=this.negate();return BigInt(-1)*(BigInt(R.high>>>0)*BigInt(be)+BigInt(R.low>>>0))}};Integer.prototype.toNumberOrInfinity=function(){if(this.lessThan(Integer.MIN_SAFE_VALUE)){return Number.NEGATIVE_INFINITY}else if(this.greaterThan(Integer.MAX_SAFE_VALUE)){return Number.POSITIVE_INFINITY}else{return this.toNumber()}};Integer.prototype.toString=function(R){R=R!==null&&R!==void 0?R:10;if(R<2||R>36){throw RangeError("radix out of range: "+R.toString())}if(this.isZero()){return"0"}var pe;if(this.isNegative()){if(this.equals(Integer.MIN_VALUE)){var Ae=Integer.fromNumber(R);var he=this.div(Ae);pe=he.multiply(Ae).subtract(this);return he.toString(R)+pe.toInt().toString(R)}else{return"-"+this.negate().toString(R)}}var ge=Integer.fromNumber(Math.pow(R,6));pe=this;var me="";while(true){var ye=pe.div(ge);var ve=pe.subtract(ye.multiply(ge)).toInt()>>>0;var be=ve.toString(R);pe=ye;if(pe.isZero()){return be+me}else{while(be.length<6){be="0"+be}me=""+be+me}}};Integer.prototype.valueOf=function(){return this.toBigInt()};Integer.prototype.getHighBits=function(){return this.high};Integer.prototype.getLowBits=function(){return this.low};Integer.prototype.getNumBitsAbs=function(){if(this.isNegative()){return this.equals(Integer.MIN_VALUE)?64:this.negate().getNumBitsAbs()}var R=this.high!==0?this.high:this.low;var pe=0;for(pe=31;pe>0;pe--){if((R&1<=0};Integer.prototype.isOdd=function(){return(this.low&1)===1};Integer.prototype.isEven=function(){return(this.low&1)===0};Integer.prototype.equals=function(R){var pe=Integer.fromValue(R);return this.high===pe.high&&this.low===pe.low};Integer.prototype.notEquals=function(R){return!this.equals(R)};Integer.prototype.lessThan=function(R){return this.compare(R)<0};Integer.prototype.lessThanOrEqual=function(R){return this.compare(R)<=0};Integer.prototype.greaterThan=function(R){return this.compare(R)>0};Integer.prototype.greaterThanOrEqual=function(R){return this.compare(R)>=0};Integer.prototype.compare=function(R){var pe=Integer.fromValue(R);if(this.equals(pe)){return 0}var Ae=this.isNegative();var he=pe.isNegative();if(Ae&&!he){return-1}if(!Ae&&he){return 1}return this.subtract(pe).isNegative()?-1:1};Integer.prototype.negate=function(){if(this.equals(Integer.MIN_VALUE)){return Integer.MIN_VALUE}return this.not().add(Integer.ONE)};Integer.prototype.add=function(R){var pe=Integer.fromValue(R);var Ae=this.high>>>16;var he=this.high&65535;var ge=this.low>>>16;var me=this.low&65535;var ye=pe.high>>>16;var ve=pe.high&65535;var be=pe.low>>>16;var Ee=pe.low&65535;var Ce=0;var we=0;var Ie=0;var _e=0;_e+=me+Ee;Ie+=_e>>>16;_e&=65535;Ie+=ge+be;we+=Ie>>>16;Ie&=65535;we+=he+ve;Ce+=we>>>16;we&=65535;Ce+=Ae+ye;Ce&=65535;return Integer.fromBits(Ie<<16|_e,Ce<<16|we)};Integer.prototype.subtract=function(R){var pe=Integer.fromValue(R);return this.add(pe.negate())};Integer.prototype.multiply=function(R){if(this.isZero()){return Integer.ZERO}var pe=Integer.fromValue(R);if(pe.isZero()){return Integer.ZERO}if(this.equals(Integer.MIN_VALUE)){return pe.isOdd()?Integer.MIN_VALUE:Integer.ZERO}if(pe.equals(Integer.MIN_VALUE)){return this.isOdd()?Integer.MIN_VALUE:Integer.ZERO}if(this.isNegative()){if(pe.isNegative()){return this.negate().multiply(pe.negate())}else{return this.negate().multiply(pe).negate()}}else if(pe.isNegative()){return this.multiply(pe.negate()).negate()}if(this.lessThan(we)&&pe.lessThan(we)){return Integer.fromNumber(this.toNumber()*pe.toNumber())}var Ae=this.high>>>16;var he=this.high&65535;var ge=this.low>>>16;var me=this.low&65535;var ye=pe.high>>>16;var ve=pe.high&65535;var be=pe.low>>>16;var Ee=pe.low&65535;var Ce=0;var Ie=0;var _e=0;var Be=0;Be+=me*Ee;_e+=Be>>>16;Be&=65535;_e+=ge*Ee;Ie+=_e>>>16;_e&=65535;_e+=me*be;Ie+=_e>>>16;_e&=65535;Ie+=he*Ee;Ce+=Ie>>>16;Ie&=65535;Ie+=ge*be;Ce+=Ie>>>16;Ie&=65535;Ie+=me*ve;Ce+=Ie>>>16;Ie&=65535;Ce+=Ae*Ee+he*be+ge*ve+me*ye;Ce&=65535;return Integer.fromBits(_e<<16|Be,Ce<<16|Ie)};Integer.prototype.div=function(R){var pe=Integer.fromValue(R);if(pe.isZero()){throw(0,he.newError)("division by zero")}if(this.isZero()){return Integer.ZERO}var Ae,ge,me;if(this.equals(Integer.MIN_VALUE)){if(pe.equals(Integer.ONE)||pe.equals(Integer.NEG_ONE)){return Integer.MIN_VALUE}if(pe.equals(Integer.MIN_VALUE)){return Integer.ONE}else{var ye=this.shiftRight(1);Ae=ye.div(pe).shiftLeft(1);if(Ae.equals(Integer.ZERO)){return pe.isNegative()?Integer.ONE:Integer.NEG_ONE}else{ge=this.subtract(pe.multiply(Ae));me=Ae.add(ge.div(pe));return me}}}else if(pe.equals(Integer.MIN_VALUE)){return Integer.ZERO}if(this.isNegative()){if(pe.isNegative()){return this.negate().div(pe.negate())}return this.negate().div(pe).negate()}else if(pe.isNegative()){return this.div(pe.negate()).negate()}me=Integer.ZERO;ge=this;while(ge.greaterThanOrEqual(pe)){Ae=Math.max(1,Math.floor(ge.toNumber()/pe.toNumber()));var ve=Math.ceil(Math.log(Ae)/Math.LN2);var be=ve<=48?1:Math.pow(2,ve-48);var Ee=Integer.fromNumber(Ae);var Ce=Ee.multiply(pe);while(Ce.isNegative()||Ce.greaterThan(ge)){Ae-=be;Ee=Integer.fromNumber(Ae);Ce=Ee.multiply(pe)}if(Ee.isZero()){Ee=Integer.ONE}me=me.add(Ee);ge=ge.subtract(Ce)}return me};Integer.prototype.modulo=function(R){var pe=Integer.fromValue(R);return this.subtract(this.div(pe).multiply(pe))};Integer.prototype.not=function(){return Integer.fromBits(~this.low,~this.high)};Integer.prototype.and=function(R){var pe=Integer.fromValue(R);return Integer.fromBits(this.low&pe.low,this.high&pe.high)};Integer.prototype.or=function(R){var pe=Integer.fromValue(R);return Integer.fromBits(this.low|pe.low,this.high|pe.high)};Integer.prototype.xor=function(R){var pe=Integer.fromValue(R);return Integer.fromBits(this.low^pe.low,this.high^pe.high)};Integer.prototype.shiftLeft=function(R){var pe=Integer.toNumber(R);if((pe&=63)===0){return Integer.ZERO}else if(pe<32){return Integer.fromBits(this.low<>>32-pe)}else{return Integer.fromBits(0,this.low<>>pe|this.high<<32-pe,this.high>>pe)}else{return Integer.fromBits(this.high>>pe-32,this.high>=0?0:-1)}};Integer.isInteger=function(R){return(R===null||R===void 0?void 0:R.__isInteger__)===true};Integer.fromInt=function(R){var pe;R=R|0;if(R>=-128&&R<128){pe=ge.get(R);if(pe!=null){return pe}}var Ae=new Integer(R,R<0?-1:0);if(R>=-128&&R<128){ge.set(R,Ae)}return Ae};Integer.fromBits=function(R,pe){return new Integer(R,pe)};Integer.fromNumber=function(R){if(isNaN(R)||!isFinite(R)){return Integer.ZERO}if(R<=-Ce){return Integer.MIN_VALUE}if(R+1>=Ce){return Integer.MAX_VALUE}if(R<0){return Integer.fromNumber(-R).negate()}return new Integer(R%be|0,R/be|0)};Integer.fromString=function(R,pe,Ae){var ge=Ae===void 0?{}:Ae,me=ge.strictStringValidation;if(R.length===0){throw(0,he.newError)("number format error: empty string")}if(R==="NaN"||R==="Infinity"||R==="+Infinity"||R==="-Infinity"){return Integer.ZERO}pe=pe!==null&&pe!==void 0?pe:10;if(pe<2||pe>36){throw(0,he.newError)("radix out of range: "+pe.toString())}var ye;if((ye=R.indexOf("-"))>0){throw(0,he.newError)('number format error: interior "-" character: '+R)}else if(ye===0){return Integer.fromString(R.substring(1),pe).negate()}var ve=Integer.fromNumber(Math.pow(pe,8));var be=Integer.ZERO;for(var Ee=0;Ee{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.fromVersion=void 0;var he=Ae(22037);function fromVersion(R,pe){if(pe===void 0){pe=function(){return{hostArch:process.config.variables.host_arch,nodeVersion:process.versions.node,v8Version:process.versions.v8,get platform(){return(0,he.platform)()},get release(){return(0,he.release)()}}}}var Ae=pe();var ge=Ae.hostArch;var me="Node/"+Ae.nodeVersion;var ye=Ae.v8Version;var ve="".concat(Ae.platform," ").concat(Ae.release);return{product:"neo4j-javascript/".concat(R),platform:"".concat(ve,"; ").concat(ge),languageDetails:"".concat(me," (v8 ").concat(ye,")")}}pe.fromVersion=fromVersion},17571:function(R,pe,Ae){"use strict";var he=this&&this.__createBinding||(Object.create?function(R,pe,Ae,he){if(he===undefined)he=Ae;var ge=Object.getOwnPropertyDescriptor(pe,Ae);if(!ge||("get"in ge?!pe.__esModule:ge.writable||ge.configurable)){ge={enumerable:true,get:function(){return pe[Ae]}}}Object.defineProperty(R,he,ge)}:function(R,pe,Ae,he){if(he===undefined)he=Ae;R[he]=pe[Ae]});var ge=this&&this.__exportStar||function(R,pe){for(var Ae in R)if(Ae!=="default"&&!Object.prototype.hasOwnProperty.call(pe,Ae))he(pe,R,Ae)};Object.defineProperty(pe,"__esModule",{value:true});ge(Ae(14874),pe)},54108:function(R,pe,Ae){"use strict";var he=this&&this.__createBinding||(Object.create?function(R,pe,Ae,he){if(he===undefined)he=Ae;var ge=Object.getOwnPropertyDescriptor(pe,Ae);if(!ge||("get"in ge?!pe.__esModule:ge.writable||ge.configurable)){ge={enumerable:true,get:function(){return pe[Ae]}}}Object.defineProperty(R,he,ge)}:function(R,pe,Ae,he){if(he===undefined)he=Ae;R[he]=pe[Ae]});var ge=this&&this.__setModuleDefault||(Object.create?function(R,pe){Object.defineProperty(R,"default",{enumerable:true,value:pe})}:function(R,pe){R["default"]=pe});var me=this&&this.__importStar||function(R){if(R&&R.__esModule)return R;var pe={};if(R!=null)for(var Ae in R)if(Ae!=="default"&&Object.prototype.hasOwnProperty.call(R,Ae))he(pe,R,Ae);ge(pe,R);return pe};var ye=this&&this.__read||function(R,pe){var Ae=typeof Symbol==="function"&&R[Symbol.iterator];if(!Ae)return R;var he=Ae.call(R),ge,me=[],ye;try{while((pe===void 0||pe-- >0)&&!(ge=he.next()).done)me.push(ge.value)}catch(R){ye={error:R}}finally{try{if(ge&&!ge.done&&(Ae=he["return"]))Ae.call(he)}finally{if(ye)throw ye.error}}return me};var ve=this&&this.__spreadArray||function(R,pe,Ae){if(Ae||arguments.length===2)for(var he=0,ge=pe.length,me;he0&&me[me.length-1])&&(ve[0]===6||ve[0]===2)){Ae=0;continue}if(ve[0]===3&&(!me||ve[1]>me[0]&&ve[1]{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.TELEMETRY_APIS=pe.BOLT_PROTOCOL_V5_6=pe.BOLT_PROTOCOL_V5_5=pe.BOLT_PROTOCOL_V5_4=pe.BOLT_PROTOCOL_V5_3=pe.BOLT_PROTOCOL_V5_2=pe.BOLT_PROTOCOL_V5_1=pe.BOLT_PROTOCOL_V5_0=pe.BOLT_PROTOCOL_V4_4=pe.BOLT_PROTOCOL_V4_3=pe.BOLT_PROTOCOL_V4_2=pe.BOLT_PROTOCOL_V4_1=pe.BOLT_PROTOCOL_V4_0=pe.BOLT_PROTOCOL_V3=pe.BOLT_PROTOCOL_V2=pe.BOLT_PROTOCOL_V1=pe.DEFAULT_POOL_MAX_SIZE=pe.DEFAULT_POOL_ACQUISITION_TIMEOUT=pe.DEFAULT_CONNECTION_TIMEOUT_MILLIS=pe.ACCESS_MODE_WRITE=pe.ACCESS_MODE_READ=pe.FETCH_ALL=void 0;var Ae=-1;pe.FETCH_ALL=Ae;var he=60*1e3;pe.DEFAULT_POOL_ACQUISITION_TIMEOUT=he;var ge=100;pe.DEFAULT_POOL_MAX_SIZE=ge;var me=3e4;pe.DEFAULT_CONNECTION_TIMEOUT_MILLIS=me;var ye="READ";pe.ACCESS_MODE_READ=ye;var ve="WRITE";pe.ACCESS_MODE_WRITE=ve;var be=1;pe.BOLT_PROTOCOL_V1=be;var Ee=2;pe.BOLT_PROTOCOL_V2=Ee;var Ce=3;pe.BOLT_PROTOCOL_V3=Ce;var we=4;pe.BOLT_PROTOCOL_V4_0=we;var Ie=4.1;pe.BOLT_PROTOCOL_V4_1=Ie;var _e=4.2;pe.BOLT_PROTOCOL_V4_2=_e;var Be=4.3;pe.BOLT_PROTOCOL_V4_3=Be;var Se=4.4;pe.BOLT_PROTOCOL_V4_4=Se;var Qe=5;pe.BOLT_PROTOCOL_V5_0=Qe;var xe=5.1;pe.BOLT_PROTOCOL_V5_1=xe;var De=5.2;pe.BOLT_PROTOCOL_V5_2=De;var ke=5.3;pe.BOLT_PROTOCOL_V5_3=ke;var Oe=5.4;pe.BOLT_PROTOCOL_V5_4=Oe;var Re=5.5;pe.BOLT_PROTOCOL_V5_5=Re;var Pe=5.6;pe.BOLT_PROTOCOL_V5_6=Pe;var Te={MANAGED_TRANSACTION:0,UNMANAGED_TRANSACTION:1,AUTO_COMMIT_TRANSACTION:2,EXECUTE_QUERY:3};pe.TELEMETRY_APIS=Te},9318:function(R,pe,Ae){"use strict";var he=this&&this.__createBinding||(Object.create?function(R,pe,Ae,he){if(he===undefined)he=Ae;var ge=Object.getOwnPropertyDescriptor(pe,Ae);if(!ge||("get"in ge?!pe.__esModule:ge.writable||ge.configurable)){ge={enumerable:true,get:function(){return pe[Ae]}}}Object.defineProperty(R,he,ge)}:function(R,pe,Ae,he){if(he===undefined)he=Ae;R[he]=pe[Ae]});var ge=this&&this.__setModuleDefault||(Object.create?function(R,pe){Object.defineProperty(R,"default",{enumerable:true,value:pe})}:function(R,pe){R["default"]=pe});var me=this&&this.__importStar||function(R){if(R&&R.__esModule)return R;var pe={};if(R!=null)for(var Ae in R)if(Ae!=="default"&&Object.prototype.hasOwnProperty.call(R,Ae))he(pe,R,Ae);ge(pe,R);return pe};Object.defineProperty(pe,"__esModule",{value:true});pe.boltAgent=pe.objectUtil=pe.resolver=pe.serverAddress=pe.urlUtil=pe.logger=pe.transactionExecutor=pe.txConfig=pe.connectionHolder=pe.constants=pe.bookmarks=pe.observer=pe.temporalUtil=pe.util=void 0;var ye=me(Ae(56517));pe.util=ye;var ve=me(Ae(87151));pe.temporalUtil=ve;var be=me(Ae(95400));pe.observer=be;var Ee=me(Ae(54108));pe.bookmarks=Ee;var Ce=me(Ae(8178));pe.constants=Ce;var we=me(Ae(95461));pe.connectionHolder=we;var Ie=me(Ae(74059));pe.txConfig=Ie;var _e=me(Ae(59480));pe.transactionExecutor=_e;var Be=me(Ae(11425));pe.logger=Be;var Se=me(Ae(48842));pe.urlUtil=Se;var Qe=me(Ae(19728));pe.serverAddress=Qe;var xe=me(Ae(19379));pe.resolver=xe;var De=me(Ae(58690));pe.objectUtil=De;var ke=me(Ae(23007));pe.boltAgent=ke},11425:function(R,pe,Ae){"use strict";var he=this&&this.__extends||function(){var extendStatics=function(R,pe){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(R,pe){R.__proto__=pe}||function(R,pe){for(var Ae in pe)if(Object.prototype.hasOwnProperty.call(pe,Ae))R[Ae]=pe[Ae]};return extendStatics(R,pe)};return function(R,pe){if(typeof pe!=="function"&&pe!==null)throw new TypeError("Class extends value "+String(pe)+" is not a constructor or null");extendStatics(R,pe);function __(){this.constructor=R}R.prototype=pe===null?Object.create(pe):(__.prototype=pe.prototype,new __)}}();var ge;Object.defineProperty(pe,"__esModule",{value:true});pe.Logger=void 0;var me=Ae(5542);var ye="error";var ve="warn";var be="info";var Ee="debug";var Ce=be;var we=(ge={},ge[ye]=0,ge[ve]=1,ge[be]=2,ge[Ee]=3,ge);var Ie=function(){function Logger(R,pe){this._level=R;this._loggerFunction=pe}Logger.create=function(R){if((R===null||R===void 0?void 0:R.logging)!=null){var pe=R.logging;var Ae=extractConfiguredLevel(pe);var he=extractConfiguredLogger(pe);return new Logger(Ae,he)}return this.noOp()};Logger.noOp=function(){return Be};Logger.prototype.isErrorEnabled=function(){return isLevelEnabled(this._level,ye)};Logger.prototype.error=function(R){if(this.isErrorEnabled()){this._loggerFunction(ye,R)}};Logger.prototype.isWarnEnabled=function(){return isLevelEnabled(this._level,ve)};Logger.prototype.warn=function(R){if(this.isWarnEnabled()){this._loggerFunction(ve,R)}};Logger.prototype.isInfoEnabled=function(){return isLevelEnabled(this._level,be)};Logger.prototype.info=function(R){if(this.isInfoEnabled()){this._loggerFunction(be,R)}};Logger.prototype.isDebugEnabled=function(){return isLevelEnabled(this._level,Ee)};Logger.prototype.debug=function(R){if(this.isDebugEnabled()){this._loggerFunction(Ee,R)}};return Logger}();pe.Logger=Ie;var _e=function(R){he(NoOpLogger,R);function NoOpLogger(){return R.call(this,be,(function(R,pe){}))||this}NoOpLogger.prototype.isErrorEnabled=function(){return false};NoOpLogger.prototype.error=function(R){};NoOpLogger.prototype.isWarnEnabled=function(){return false};NoOpLogger.prototype.warn=function(R){};NoOpLogger.prototype.isInfoEnabled=function(){return false};NoOpLogger.prototype.info=function(R){};NoOpLogger.prototype.isDebugEnabled=function(){return false};NoOpLogger.prototype.debug=function(R){};return NoOpLogger}(Ie);var Be=new _e;function isLevelEnabled(R,pe){return we[R]>=we[pe]}function extractConfiguredLevel(R){if((R===null||R===void 0?void 0:R.level)!=null){var pe=R.level;var Ae=we[pe];if(Ae==null&&Ae!==0){throw(0,me.newError)("Illegal logging level: ".concat(pe,". Supported levels are: ").concat(Object.keys(we).toString()))}return pe}return Ce}function extractConfiguredLogger(R){var pe,Ae;if((R===null||R===void 0?void 0:R.logger)!=null){var he=R.logger;if(he!=null&&typeof he==="function"){return he}}throw(0,me.newError)("Illegal logger function: ".concat((Ae=(pe=R===null||R===void 0?void 0:R.logger)===null||pe===void 0?void 0:pe.toString())!==null&&Ae!==void 0?Ae:"undefined"))}},58690:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.getBrokenObjectReason=pe.isBrokenObject=pe.createBrokenObject=void 0;var Ae="__isBrokenObject__";var he="__reason__";function createBrokenObject(R,pe){if(pe===void 0){pe={}}var fail=function(){throw R};return new Proxy(pe,{get:function(pe,ge){if(ge===Ae){return true}else if(ge===he){return R}else if(ge==="toJSON"){return undefined}fail()},set:fail,apply:fail,construct:fail,defineProperty:fail,deleteProperty:fail,getOwnPropertyDescriptor:fail,getPrototypeOf:fail,has:fail,isExtensible:fail,ownKeys:fail,preventExtensions:fail,setPrototypeOf:fail})}pe.createBrokenObject=createBrokenObject;function isBrokenObject(R){return R!==null&&typeof R==="object"&&R[Ae]===true}pe.isBrokenObject=isBrokenObject;function getBrokenObjectReason(R){return R[he]}pe.getBrokenObjectReason=getBrokenObjectReason},95400:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.FailedObserver=pe.CompletedObserver=void 0;var Ae=function(){function CompletedObserver(){}CompletedObserver.prototype.subscribe=function(R){apply(R,R.onKeys,[]);apply(R,R.onCompleted,{})};CompletedObserver.prototype.cancel=function(){};CompletedObserver.prototype.pause=function(){};CompletedObserver.prototype.resume=function(){};CompletedObserver.prototype.prepareToHandleSingleResponse=function(){};CompletedObserver.prototype.markCompleted=function(){};CompletedObserver.prototype.onError=function(R){throw new Error("CompletedObserver not supposed to call onError",{cause:R})};return CompletedObserver}();pe.CompletedObserver=Ae;var he=function(){function FailedObserver(R){var pe=R.error,Ae=R.onError;this._error=pe;this._beforeError=Ae;this._observers=[];this.onError(pe)}FailedObserver.prototype.subscribe=function(R){apply(R,R.onError,this._error);this._observers.push(R)};FailedObserver.prototype.onError=function(R){apply(this,this._beforeError,R);this._observers.forEach((function(pe){return apply(pe,pe.onError,R)}))};FailedObserver.prototype.cancel=function(){};FailedObserver.prototype.pause=function(){};FailedObserver.prototype.resume=function(){};FailedObserver.prototype.markCompleted=function(){};FailedObserver.prototype.prepareToHandleSingleResponse=function(){};return FailedObserver}();pe.FailedObserver=he;function apply(R,pe,Ae){if(pe!=null){pe.bind(R)(Ae)}}},99051:function(R,pe,Ae){"use strict";var he=this&&this.__awaiter||function(R,pe,Ae,he){function adopt(R){return R instanceof Ae?R:new Ae((function(pe){pe(R)}))}return new(Ae||(Ae=Promise))((function(Ae,ge){function fulfilled(R){try{step(he.next(R))}catch(R){ge(R)}}function rejected(R){try{step(he["throw"](R))}catch(R){ge(R)}}function step(R){R.done?Ae(R.value):adopt(R.value).then(fulfilled,rejected)}step((he=he.apply(R,pe||[])).next())}))};var ge=this&&this.__generator||function(R,pe){var Ae={label:0,sent:function(){if(me[0]&1)throw me[1];return me[1]},trys:[],ops:[]},he,ge,me,ye;return ye={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol==="function"&&(ye[Symbol.iterator]=function(){return this}),ye;function verb(R){return function(pe){return step([R,pe])}}function step(ve){if(he)throw new TypeError("Generator is already executing.");while(ye&&(ye=0,ve[0]&&(Ae=0)),Ae)try{if(he=1,ge&&(me=ve[0]&2?ge["return"]:ve[0]?ge["throw"]||((me=ge["return"])&&me.call(ge),0):ge.next)&&!(me=me.call(ge,ve[1])).done)return me;if(ge=0,me)ve=[ve[0]&2,me.value];switch(ve[0]){case 0:case 1:me=ve;break;case 4:Ae.label++;return{value:ve[1],done:false};case 5:Ae.label++;ge=ve[1];ve=[0];continue;case 7:ve=Ae.ops.pop();Ae.trys.pop();continue;default:if(!(me=Ae.trys,me=me.length>0&&me[me.length-1])&&(ve[0]===6||ve[0]===2)){Ae=0;continue}if(ve[0]===3&&(!me||ve[1]>me[0]&&ve[1]{"use strict";Object.defineProperty(pe,"__esModule",{value:true});var Ae=function(){function BaseHostNameResolver(){}BaseHostNameResolver.prototype.resolve=function(){throw new Error("Abstract function")};BaseHostNameResolver.prototype._resolveToItself=function(R){return Promise.resolve([R])};return BaseHostNameResolver}();pe["default"]=Ae},51992:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});var he=Ae(19728);function resolveToSelf(R){return Promise.resolve([R])}var ge=function(){function ConfiguredCustomResolver(R){this._resolverFunction=R!==null&&R!==void 0?R:resolveToSelf}ConfiguredCustomResolver.prototype.resolve=function(R){var pe=this;return new Promise((function(Ae){return Ae(pe._resolverFunction(R.asHostPort()))})).then((function(R){if(!Array.isArray(R)){throw new TypeError("Configured resolver function should either return an array of addresses or a Promise resolved with an array of addresses."+"Each address is ':'. Got: ".concat(R))}return R.map((function(R){return he.ServerAddress.fromUrl(R)}))}))};return ConfiguredCustomResolver}();pe["default"]=ge},19379:function(R,pe,Ae){"use strict";var he=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});pe.ConfiguredCustomResolver=pe.BaseHostNameResolver=void 0;var ge=he(Ae(31061));pe.BaseHostNameResolver=ge.default;var me=he(Ae(51992));pe.ConfiguredCustomResolver=me.default},19728:function(R,pe,Ae){"use strict";var he=this&&this.__createBinding||(Object.create?function(R,pe,Ae,he){if(he===undefined)he=Ae;var ge=Object.getOwnPropertyDescriptor(pe,Ae);if(!ge||("get"in ge?!pe.__esModule:ge.writable||ge.configurable)){ge={enumerable:true,get:function(){return pe[Ae]}}}Object.defineProperty(R,he,ge)}:function(R,pe,Ae,he){if(he===undefined)he=Ae;R[he]=pe[Ae]});var ge=this&&this.__setModuleDefault||(Object.create?function(R,pe){Object.defineProperty(R,"default",{enumerable:true,value:pe})}:function(R,pe){R["default"]=pe});var me=this&&this.__importStar||function(R){if(R&&R.__esModule)return R;var pe={};if(R!=null)for(var Ae in R)if(Ae!=="default"&&Object.prototype.hasOwnProperty.call(R,Ae))he(pe,R,Ae);ge(pe,R);return pe};Object.defineProperty(pe,"__esModule",{value:true});pe.ServerAddress=void 0;var ye=Ae(56517);var ve=me(Ae(48842));var be=function(){function ServerAddress(R,pe,Ae,he){this._host=(0,ye.assertString)(R,"host");this._resolved=pe!=null?(0,ye.assertString)(pe,"resolved"):null;this._port=(0,ye.assertNumber)(Ae,"port");this._hostPort=he;this._stringValue=pe!=null?"".concat(he,"(").concat(pe,")"):"".concat(he)}ServerAddress.prototype.host=function(){return this._host};ServerAddress.prototype.resolvedHost=function(){return this._resolved!=null?this._resolved:this._host};ServerAddress.prototype.port=function(){return this._port};ServerAddress.prototype.resolveWith=function(R){return new ServerAddress(this._host,R,this._port,this._hostPort)};ServerAddress.prototype.asHostPort=function(){return this._hostPort};ServerAddress.prototype.asKey=function(){return this._hostPort};ServerAddress.prototype.toString=function(){return this._stringValue};ServerAddress.fromUrl=function(R){var pe=ve.parseDatabaseUrl(R);return new ServerAddress(pe.host,null,pe.port,pe.hostAndPort)};return ServerAddress}();pe.ServerAddress=be},87151:function(R,pe,Ae){"use strict";var he=this&&this.__createBinding||(Object.create?function(R,pe,Ae,he){if(he===undefined)he=Ae;var ge=Object.getOwnPropertyDescriptor(pe,Ae);if(!ge||("get"in ge?!pe.__esModule:ge.writable||ge.configurable)){ge={enumerable:true,get:function(){return pe[Ae]}}}Object.defineProperty(R,he,ge)}:function(R,pe,Ae,he){if(he===undefined)he=Ae;R[he]=pe[Ae]});var ge=this&&this.__setModuleDefault||(Object.create?function(R,pe){Object.defineProperty(R,"default",{enumerable:true,value:pe})}:function(R,pe){R["default"]=pe});var me=this&&this.__importStar||function(R){if(R&&R.__esModule)return R;var pe={};if(R!=null)for(var Ae in R)if(Ae!=="default"&&Object.prototype.hasOwnProperty.call(R,Ae))he(pe,R,Ae);ge(pe,R);return pe};Object.defineProperty(pe,"__esModule",{value:true});pe.floorMod=pe.floorDiv=pe.assertValidZoneId=pe.assertValidNanosecond=pe.assertValidSecond=pe.assertValidMinute=pe.assertValidHour=pe.assertValidDay=pe.assertValidMonth=pe.assertValidYear=pe.timeZoneOffsetInSeconds=pe.totalNanoseconds=pe.newDate=pe.toStandardDate=pe.isoStringToStandardDate=pe.dateToIsoString=pe.timeZoneOffsetToIsoString=pe.timeToIsoString=pe.durationToIsoString=pe.dateToEpochDay=pe.localDateTimeToEpochSecond=pe.localTimeToNanoOfDay=pe.normalizeNanosecondsForDuration=pe.normalizeSecondsForDuration=pe.SECONDS_PER_DAY=pe.DAYS_PER_400_YEAR_CYCLE=pe.DAYS_0000_TO_1970=pe.NANOS_PER_HOUR=pe.NANOS_PER_MINUTE=pe.NANOS_PER_MILLISECOND=pe.NANOS_PER_SECOND=pe.SECONDS_PER_HOUR=pe.SECONDS_PER_MINUTE=pe.MINUTES_PER_HOUR=pe.NANOSECOND_OF_SECOND_RANGE=pe.SECOND_OF_MINUTE_RANGE=pe.MINUTE_OF_HOUR_RANGE=pe.HOUR_OF_DAY_RANGE=pe.DAY_OF_MONTH_RANGE=pe.MONTH_OF_YEAR_RANGE=pe.YEAR_RANGE=void 0;var ye=me(Ae(6049));var ve=Ae(5542);var be=Ae(56517);var Ee=function(){function ValueRange(R,pe){this._minNumber=R;this._maxNumber=pe;this._minInteger=(0,ye.int)(R);this._maxInteger=(0,ye.int)(pe)}ValueRange.prototype.contains=function(R){if((0,ye.isInt)(R)&&R instanceof ye.default){return R.greaterThanOrEqual(this._minInteger)&&R.lessThanOrEqual(this._maxInteger)}else if(typeof R==="bigint"){var pe=(0,ye.int)(R);return pe.greaterThanOrEqual(this._minInteger)&&pe.lessThanOrEqual(this._maxInteger)}else{return R>=this._minNumber&&R<=this._maxNumber}};ValueRange.prototype.toString=function(){return"[".concat(this._minNumber,", ").concat(this._maxNumber,"]")};return ValueRange}();pe.YEAR_RANGE=new Ee(-999999999,999999999);pe.MONTH_OF_YEAR_RANGE=new Ee(1,12);pe.DAY_OF_MONTH_RANGE=new Ee(1,31);pe.HOUR_OF_DAY_RANGE=new Ee(0,23);pe.MINUTE_OF_HOUR_RANGE=new Ee(0,59);pe.SECOND_OF_MINUTE_RANGE=new Ee(0,59);pe.NANOSECOND_OF_SECOND_RANGE=new Ee(0,999999999);pe.MINUTES_PER_HOUR=60;pe.SECONDS_PER_MINUTE=60;pe.SECONDS_PER_HOUR=pe.SECONDS_PER_MINUTE*pe.MINUTES_PER_HOUR;pe.NANOS_PER_SECOND=1e9;pe.NANOS_PER_MILLISECOND=1e6;pe.NANOS_PER_MINUTE=pe.NANOS_PER_SECOND*pe.SECONDS_PER_MINUTE;pe.NANOS_PER_HOUR=pe.NANOS_PER_MINUTE*pe.MINUTES_PER_HOUR;pe.DAYS_0000_TO_1970=719528;pe.DAYS_PER_400_YEAR_CYCLE=146097;pe.SECONDS_PER_DAY=86400;function normalizeSecondsForDuration(R,Ae){return(0,ye.int)(R).add(floorDiv(Ae,pe.NANOS_PER_SECOND))}pe.normalizeSecondsForDuration=normalizeSecondsForDuration;function normalizeNanosecondsForDuration(R){return floorMod(R,pe.NANOS_PER_SECOND)}pe.normalizeNanosecondsForDuration=normalizeNanosecondsForDuration;function localTimeToNanoOfDay(R,Ae,he,ge){R=(0,ye.int)(R);Ae=(0,ye.int)(Ae);he=(0,ye.int)(he);ge=(0,ye.int)(ge);var me=R.multiply(pe.NANOS_PER_HOUR);me=me.add(Ae.multiply(pe.NANOS_PER_MINUTE));me=me.add(he.multiply(pe.NANOS_PER_SECOND));return me.add(ge)}pe.localTimeToNanoOfDay=localTimeToNanoOfDay;function localDateTimeToEpochSecond(R,Ae,he,ge,me,ye,ve){var be=dateToEpochDay(R,Ae,he);var Ee=localTimeToSecondOfDay(ge,me,ye);return be.multiply(pe.SECONDS_PER_DAY).add(Ee)}pe.localDateTimeToEpochSecond=localDateTimeToEpochSecond;function dateToEpochDay(R,Ae,he){R=(0,ye.int)(R);Ae=(0,ye.int)(Ae);he=(0,ye.int)(he);var ge=R.multiply(365);if(R.greaterThanOrEqual(0)){ge=ge.add(R.add(3).div(4).subtract(R.add(99).div(100)).add(R.add(399).div(400)))}else{ge=ge.subtract(R.div(-4).subtract(R.div(-100)).add(R.div(-400)))}ge=ge.add(Ae.multiply(367).subtract(362).div(12));ge=ge.add(he.subtract(1));if(Ae.greaterThan(2)){ge=ge.subtract(1);if(!isLeapYear(R)){ge=ge.subtract(1)}}return ge.subtract(pe.DAYS_0000_TO_1970)}pe.dateToEpochDay=dateToEpochDay;function durationToIsoString(R,pe,Ae,he){var ge=formatNumber(R);var me=formatNumber(pe);var ye=formatSecondsAndNanosecondsForDuration(Ae,he);return"P".concat(ge,"M").concat(me,"DT").concat(ye,"S")}pe.durationToIsoString=durationToIsoString;function timeToIsoString(R,pe,Ae,he){var ge=formatNumber(R,2);var me=formatNumber(pe,2);var ye=formatNumber(Ae,2);var ve=formatNanosecond(he);return"".concat(ge,":").concat(me,":").concat(ye).concat(ve)}pe.timeToIsoString=timeToIsoString;function timeZoneOffsetToIsoString(R){R=(0,ye.int)(R);if(R.equals(0)){return"Z"}var Ae=R.isNegative();if(Ae){R=R.multiply(-1)}var he=Ae?"-":"+";var ge=formatNumber(R.div(pe.SECONDS_PER_HOUR),2);var me=formatNumber(R.div(pe.SECONDS_PER_MINUTE).modulo(pe.MINUTES_PER_HOUR),2);var ve=R.modulo(pe.SECONDS_PER_MINUTE);var be=ve.equals(0)?null:formatNumber(ve,2);return be!=null?"".concat(he).concat(ge,":").concat(me,":").concat(be):"".concat(he).concat(ge,":").concat(me)}pe.timeZoneOffsetToIsoString=timeZoneOffsetToIsoString;function dateToIsoString(R,pe,Ae){var he=formatYear(R);var ge=formatNumber(pe,2);var me=formatNumber(Ae,2);return"".concat(he,"-").concat(ge,"-").concat(me)}pe.dateToIsoString=dateToIsoString;function isoStringToStandardDate(R){return new Date(R)}pe.isoStringToStandardDate=isoStringToStandardDate;function toStandardDate(R){return new Date(R)}pe.toStandardDate=toStandardDate;function newDate(R){return new Date(R)}pe.newDate=newDate;function totalNanoseconds(R,Ae){Ae=Ae!==null&&Ae!==void 0?Ae:0;var he=R.getMilliseconds()*pe.NANOS_PER_MILLISECOND;return add(Ae,he)}pe.totalNanoseconds=totalNanoseconds;function timeZoneOffsetInSeconds(R){var Ae=R.getSeconds()>=R.getUTCSeconds()?R.getSeconds()-R.getUTCSeconds():R.getSeconds()-R.getUTCSeconds()+60;var he=R.getTimezoneOffset();if(he===0){return 0+Ae}return-1*he*pe.SECONDS_PER_MINUTE+Ae}pe.timeZoneOffsetInSeconds=timeZoneOffsetInSeconds;function assertValidYear(R){return assertValidTemporalValue(R,pe.YEAR_RANGE,"Year")}pe.assertValidYear=assertValidYear;function assertValidMonth(R){return assertValidTemporalValue(R,pe.MONTH_OF_YEAR_RANGE,"Month")}pe.assertValidMonth=assertValidMonth;function assertValidDay(R){return assertValidTemporalValue(R,pe.DAY_OF_MONTH_RANGE,"Day")}pe.assertValidDay=assertValidDay;function assertValidHour(R){return assertValidTemporalValue(R,pe.HOUR_OF_DAY_RANGE,"Hour")}pe.assertValidHour=assertValidHour;function assertValidMinute(R){return assertValidTemporalValue(R,pe.MINUTE_OF_HOUR_RANGE,"Minute")}pe.assertValidMinute=assertValidMinute;function assertValidSecond(R){return assertValidTemporalValue(R,pe.SECOND_OF_MINUTE_RANGE,"Second")}pe.assertValidSecond=assertValidSecond;function assertValidNanosecond(R){return assertValidTemporalValue(R,pe.NANOSECOND_OF_SECOND_RANGE,"Nanosecond")}pe.assertValidNanosecond=assertValidNanosecond;var Ce=new Map;var newInvalidZoneIdError=function(R,pe){return(0,ve.newError)("".concat(pe,' is expected to be a valid ZoneId but was: "').concat(R,'"'))};function assertValidZoneId(R,pe){var Ae=Ce.get(pe);if(Ae===true){return}if(Ae===false){throw newInvalidZoneIdError(pe,R)}try{Intl.DateTimeFormat(undefined,{timeZone:pe});Ce.set(pe,true)}catch(Ae){Ce.set(pe,false);throw newInvalidZoneIdError(pe,R)}}pe.assertValidZoneId=assertValidZoneId;function assertValidTemporalValue(R,pe,Ae){(0,be.assertNumberOrInteger)(R,Ae);if(!pe.contains(R)){throw(0,ve.newError)("".concat(Ae," is expected to be in range ").concat(pe.toString()," but was: ").concat(R.toString()))}return R}function localTimeToSecondOfDay(R,Ae,he){R=(0,ye.int)(R);Ae=(0,ye.int)(Ae);he=(0,ye.int)(he);var ge=R.multiply(pe.SECONDS_PER_HOUR);ge=ge.add(Ae.multiply(pe.SECONDS_PER_MINUTE));return ge.add(he)}function isLeapYear(R){R=(0,ye.int)(R);if(!R.modulo(4).equals(0)){return false}else if(!R.modulo(100).equals(0)){return true}else if(!R.modulo(400).equals(0)){return false}else{return true}}function floorDiv(R,pe){R=(0,ye.int)(R);pe=(0,ye.int)(pe);var Ae=R.div(pe);if(R.isPositive()!==pe.isPositive()&&Ae.multiply(pe).notEquals(R)){Ae=Ae.subtract(1)}return Ae}pe.floorDiv=floorDiv;function floorMod(R,pe){R=(0,ye.int)(R);pe=(0,ye.int)(pe);return R.subtract(floorDiv(R,pe).multiply(pe))}pe.floorMod=floorMod;function formatSecondsAndNanosecondsForDuration(R,Ae){R=(0,ye.int)(R);Ae=(0,ye.int)(Ae);var he;var ge;var me=R.isNegative();var ve=Ae.greaterThan(0);if(me&&ve){if(R.equals(-1)){he="-0"}else{he=R.add(1).toString()}}else{he=R.toString()}if(ve){if(me){ge=formatNanosecond(Ae.negate().add(2*pe.NANOS_PER_SECOND).modulo(pe.NANOS_PER_SECOND))}else{ge=formatNanosecond(Ae.add(pe.NANOS_PER_SECOND).modulo(pe.NANOS_PER_SECOND))}}return ge!=null?he+ge:he}function formatNanosecond(R){R=(0,ye.int)(R);return R.equals(0)?"":"."+formatNumber(R,9)}function formatYear(R){var pe=(0,ye.int)(R);if(pe.isNegative()||pe.greaterThan(9999)){return formatNumber(pe,6,{usePositiveSign:true})}return formatNumber(pe,4)}function formatNumber(R,pe,Ae){R=(0,ye.int)(R);var he=R.isNegative();if(he){R=R.negate()}var ge=R.toString();if(pe!=null){while(ge.length0&&me[me.length-1])&&(ve[0]===6||ve[0]===2)){Ae=0;continue}if(ve[0]===3&&(!me||ve[1]>me[0]&&ve[1]0)&&!(ge=he.next()).done)me.push(ge.value)}catch(R){ye={error:R}}finally{try{if(ge&&!ge.done&&(Ae=he["return"]))Ae.call(he)}finally{if(ye)throw ye.error}}return me};var ve=this&&this.__spreadArray||function(R,pe,Ae){if(Ae||arguments.length===2)for(var he=0,ge=pe.length,me;hethis._maxRetryTimeMs||!(0,be.isRetriableError)(Ae)){return Promise.reject(Ae)}return new Promise((function(Ae,he){var be=ve._computeDelayWithJitter(ge);var Ee=ve._setTimeout((function(){ve._inFlightTimeoutIds=ve._inFlightTimeoutIds.filter((function(R){return R!==Ee}));ve._executeTransactionInsidePromise(R,pe,Ae,he,me,ye).catch(he)}),be);ve._inFlightTimeoutIds.push(Ee)})).catch((function(Ae){var be=ge*ve._multiplier;return ve._retryTransactionPromise(R,pe,Ae,he,be,me,ye)}))};TransactionExecutor.prototype._executeTransactionInsidePromise=function(R,pe,Ae,ye,ve,be){return ge(this,void 0,void 0,(function(){var ge,Ee,Ce,we,Ie,_e,Be;var Se=this;return me(this,(function(me){switch(me.label){case 0:me.trys.push([0,4,,5]);Ee=R((be===null||be===void 0?void 0:be.apiTransactionConfig)!=null?he({},be===null||be===void 0?void 0:be.apiTransactionConfig):undefined);if(!this.pipelineBegin)return[3,1];Ce=Ee;return[3,3];case 1:return[4,Ee];case 2:Ce=me.sent();me.label=3;case 3:ge=Ce;return[3,5];case 4:we=me.sent();ye(we);return[2];case 5:Ie=ve!==null&&ve!==void 0?ve:function(R){return R};_e=Ie(ge);Be=this._safeExecuteTransactionWork(_e,pe);Be.then((function(R){return Se._handleTransactionWorkSuccess(R,ge,Ae,ye)})).catch((function(R){return Se._handleTransactionWorkFailure(R,ge,ye)}));return[2]}}))}))};TransactionExecutor.prototype._safeExecuteTransactionWork=function(R,pe){try{var Ae=pe(R);return Promise.resolve(Ae)}catch(R){return Promise.reject(R)}};TransactionExecutor.prototype._handleTransactionWorkSuccess=function(R,pe,Ae,he){if(pe.isOpen()){pe.commit().then((function(){Ae(R)})).catch((function(R){he(R)}))}else{Ae(R)}};TransactionExecutor.prototype._handleTransactionWorkFailure=function(R,pe,Ae){if(pe.isOpen()){pe.rollback().catch((function(R){})).then((function(){return Ae(R)})).catch(Ae)}else{Ae(R)}};TransactionExecutor.prototype._computeDelayWithJitter=function(R){var pe=R*this._jitterFactor;var Ae=R-pe;var he=R+pe;return Math.random()*(he-Ae)+Ae};TransactionExecutor.prototype._verifyAfterConstruction=function(){if(this._maxRetryTimeMs<0){throw(0,be.newError)("Max retry time should be >= 0: "+this._maxRetryTimeMs.toString())}if(this._initialRetryDelayMs<0){throw(0,be.newError)("Initial retry delay should >= 0: "+this._initialRetryDelayMs.toString())}if(this._multiplier<1){throw(0,be.newError)("Multiplier should be >= 1.0: "+this._multiplier.toString())}if(this._jitterFactor<0||this._jitterFactor>1){throw(0,be.newError)("Jitter factor should be in [0.0, 1.0]: "+this._jitterFactor.toFixed())}};return TransactionExecutor}();pe.TransactionExecutor=Be;function _valueOrDefault(R,pe){if(R!=null){return R}return pe}},74059:function(R,pe,Ae){"use strict";var he=this&&this.__createBinding||(Object.create?function(R,pe,Ae,he){if(he===undefined)he=Ae;var ge=Object.getOwnPropertyDescriptor(pe,Ae);if(!ge||("get"in ge?!pe.__esModule:ge.writable||ge.configurable)){ge={enumerable:true,get:function(){return pe[Ae]}}}Object.defineProperty(R,he,ge)}:function(R,pe,Ae,he){if(he===undefined)he=Ae;R[he]=pe[Ae]});var ge=this&&this.__setModuleDefault||(Object.create?function(R,pe){Object.defineProperty(R,"default",{enumerable:true,value:pe})}:function(R,pe){R["default"]=pe});var me=this&&this.__importStar||function(R){if(R&&R.__esModule)return R;var pe={};if(R!=null)for(var Ae in R)if(Ae!=="default"&&Object.prototype.hasOwnProperty.call(R,Ae))he(pe,R,Ae);ge(pe,R);return pe};Object.defineProperty(pe,"__esModule",{value:true});pe.TxConfig=void 0;var ye=me(Ae(56517));var ve=Ae(5542);var be=Ae(6049);var Ee=function(){function TxConfig(R,pe){assertValidConfig(R);this.timeout=extractTimeout(R,pe);this.metadata=extractMetadata(R)}TxConfig.empty=function(){return Ce};TxConfig.prototype.isEmpty=function(){return Object.values(this).every((function(R){return R==null}))};return TxConfig}();pe.TxConfig=Ee;var Ce=new Ee({});function extractTimeout(R,pe){if(ye.isObject(R)&&R.timeout!=null){ye.assertNumberOrInteger(R.timeout,"Transaction timeout");if(isTimeoutFloat(R)&&(pe===null||pe===void 0?void 0:pe.isInfoEnabled())===true){pe===null||pe===void 0?void 0:pe.info("Transaction timeout expected to be an integer, got: ".concat(R.timeout,". The value will be rounded up."))}var Ae=(0,be.int)(R.timeout,{ceilFloat:true});if(Ae.isNegative()){throw(0,ve.newError)("Transaction timeout should not be negative")}return Ae}return null}function isTimeoutFloat(R){return typeof R.timeout==="number"&&!Number.isInteger(R.timeout)}function extractMetadata(R){if(ye.isObject(R)&&R.metadata!=null){var pe=R.metadata;ye.assertObject(pe,"config.metadata");if(Object.keys(pe).length!==0){return pe}}return null}function assertValidConfig(R){if(R!=null){ye.assertObject(R,"Transaction config")}}},48842:function(R,pe,Ae){"use strict";var he=this&&this.__assign||function(){he=Object.assign||function(R){for(var pe,Ae=1,he=arguments.length;Ae0)&&!(ge=he.next()).done)me.push(ge.value)}catch(R){ye={error:R}}finally{try{if(ge&&!ge.done&&(Ae=he["return"]))Ae.call(he)}finally{if(ye)throw ye.error}}return me};Object.defineProperty(pe,"__esModule",{value:true});pe.Url=pe.formatIPv6Address=pe.formatIPv4Address=pe.defaultPortForScheme=pe.parseDatabaseUrl=void 0;var me=Ae(56517);var ye=7687;var ve=7474;var be=7473;var Ee=function(){function Url(R,pe,Ae,he,ge){this.scheme=R;this.host=pe;this.port=Ae;this.hostAndPort=he;this.query=ge}return Url}();pe.Url=Ee;function parseDatabaseUrl(R){var pe;(0,me.assertString)(R,"URL");var Ae=sanitizeUrl(R);var he=uriJsParse(Ae.url);var ge=Ae.schemeMissing?null:extractScheme(he.scheme);var ye=extractHost(he.host);var ve=formatHost(ye);var be=extractPort(he.port,ge);var Ce="".concat(ve,":").concat(be);var we=extractQuery((pe=he.query)!==null&&pe!==void 0?pe:extractResourceQueryString(he.resourceName),R);return new Ee(ge,ye,be,Ce,we)}pe.parseDatabaseUrl=parseDatabaseUrl;function extractResourceQueryString(R){if(typeof R!=="string"){return null}var pe=ge(R.split("?"),2),Ae=pe[1];return Ae}function sanitizeUrl(R){R=R.trim();if(!R.includes("://")){return{schemeMissing:true,url:"none://".concat(R)}}return{schemeMissing:false,url:R}}function extractScheme(R){if(R!=null){R=R.trim();if(R.charAt(R.length-1)===":"){R=R.substring(0,R.length-1)}return R}return null}function extractHost(R,pe){if(R==null){throw new Error("Unable to extract host from null or undefined URL")}return R.trim()}function extractPort(R,pe){var Ae=typeof R==="string"?parseInt(R,10):R;return Ae!=null&&!isNaN(Ae)?Ae:defaultPortForScheme(pe)}function extractQuery(R,pe){var Ae=R!=null?trimAndSanitizeQuery(R):null;var he={};if(Ae!=null){Ae.split("&").forEach((function(R){var Ae=R.split("=");if(Ae.length!==2){throw new Error("Invalid parameters: '".concat(Ae.toString(),"' in URL '").concat(pe,"'."))}var ge=trimAndVerifyQueryElement(Ae[0],"key",pe);var me=trimAndVerifyQueryElement(Ae[1],"value",pe);if(he[ge]!==undefined){throw new Error("Duplicated query parameters with key '".concat(ge,"' in URL '").concat(pe,"'"))}he[ge]=me}))}return he}function trimAndSanitizeQuery(R){R=(R!==null&&R!==void 0?R:"").trim();if((R===null||R===void 0?void 0:R.charAt(0))==="?"){R=R.substring(1,R.length)}return R}function trimAndVerifyQueryElement(R,pe,Ae){R=(R!==null&&R!==void 0?R:"").trim();if(R===""){throw new Error("Illegal empty ".concat(pe," in URL query '").concat(Ae,"'"))}return R}function escapeIPv6Address(R){var pe=R.charAt(0)==="[";var Ae=R.charAt(R.length-1)==="]";if(!pe&&!Ae){return"[".concat(R,"]")}else if(pe&&Ae){return R}else{throw new Error("Illegal IPv6 address ".concat(R))}}function formatHost(R){if(R===""||R==null){throw new Error("Illegal host ".concat(R))}var pe=R.includes(":");return pe?escapeIPv6Address(R):R}function formatIPv4Address(R,pe){return"".concat(R,":").concat(pe)}pe.formatIPv4Address=formatIPv4Address;function formatIPv6Address(R,pe){var Ae=escapeIPv6Address(R);return"".concat(Ae,":").concat(pe)}pe.formatIPv6Address=formatIPv6Address;function defaultPortForScheme(R){if(R==="http"){return ve}else if(R==="https"){return be}else{return ye}}pe.defaultPortForScheme=defaultPortForScheme;function uriJsParse(R){function partition(R,pe){var Ae=R.indexOf(pe);if(Ae>=0)return[R.substring(0,Ae),R[Ae],R.substring(Ae+1)];else return[R,"",""]}function rpartition(R,pe){var Ae=R.lastIndexOf(pe);if(Ae>=0)return[R.substring(0,Ae),R[Ae],R.substring(Ae+1)];else return["","",R]}function between(R,pe,Ae){var he=partition(R,pe);var ge=partition(he[2],Ae);return[ge[0],ge[2]]}function parseAuthority(R){var pe={};var Ae;Ae=rpartition(R,"@");if(Ae[1]==="@"){pe.userInfo=decodeURIComponent(Ae[0]);R=Ae[2]}var he=ge(between(R,"[","]"),2),me=he[0],ye=he[1];if(me!==""){pe.host=me;Ae=partition(ye,":")}else{Ae=partition(R,":");pe.host=Ae[0]}if(Ae[1]===":"){pe.port=Ae[2]}return pe}var pe={};var Ae;Ae=partition(R,":");if(Ae[1]===":"){pe.scheme=decodeURIComponent(Ae[0]);R=Ae[2]}Ae=partition(R,"#");if(Ae[1]==="#"){pe.fragment=decodeURIComponent(Ae[2]);R=Ae[0]}Ae=partition(R,"?");if(Ae[1]==="?"){pe.query=Ae[2];R=Ae[0]}if(R.startsWith("//")){Ae=partition(R.substr(2),"/");pe=he(he({},pe),parseAuthority(Ae[0]));pe.path=Ae[1]+Ae[2]}else{pe.path=R}return pe}},56517:function(R,pe,Ae){"use strict";var he=this&&this.__createBinding||(Object.create?function(R,pe,Ae,he){if(he===undefined)he=Ae;var ge=Object.getOwnPropertyDescriptor(pe,Ae);if(!ge||("get"in ge?!pe.__esModule:ge.writable||ge.configurable)){ge={enumerable:true,get:function(){return pe[Ae]}}}Object.defineProperty(R,he,ge)}:function(R,pe,Ae,he){if(he===undefined)he=Ae;R[he]=pe[Ae]});var ge=this&&this.__setModuleDefault||(Object.create?function(R,pe){Object.defineProperty(R,"default",{enumerable:true,value:pe})}:function(R,pe){R["default"]=pe});var me=this&&this.__importStar||function(R){if(R&&R.__esModule)return R;var pe={};if(R!=null)for(var Ae in R)if(Ae!=="default"&&Object.prototype.hasOwnProperty.call(R,Ae))he(pe,R,Ae);ge(pe,R);return pe};var ye=this&&this.__values||function(R){var pe=typeof Symbol==="function"&&Symbol.iterator,Ae=pe&&R[pe],he=0;if(Ae)return Ae.call(R);if(R&&typeof R.length==="number")return{next:function(){if(R&&he>=R.length)R=void 0;return{value:R&&R[he++],done:!R}}};throw new TypeError(pe?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(pe,"__esModule",{value:true});pe.ENCRYPTION_OFF=pe.ENCRYPTION_ON=pe.equals=pe.validateQueryAndParameters=pe.toNumber=pe.assertValidDate=pe.assertNumberOrInteger=pe.assertNumber=pe.assertString=pe.assertObject=pe.isString=pe.isObject=pe.isEmptyObjectOrNull=void 0;var ve=me(Ae(6049));var be=Ae(86322);var Ee="ENCRYPTION_ON";pe.ENCRYPTION_ON=Ee;var Ce="ENCRYPTION_OFF";pe.ENCRYPTION_OFF=Ce;function isEmptyObjectOrNull(R){if(R===null){return true}if(!isObject(R)){return false}for(var pe in R){if(R[pe]!==undefined){return false}}return true}pe.isEmptyObjectOrNull=isEmptyObjectOrNull;function isObject(R){return typeof R==="object"&&!Array.isArray(R)&&R!==null}pe.isObject=isObject;function validateQueryAndParameters(R,pe,Ae){var he,ge;var me="";var ye=pe!==null&&pe!==void 0?pe:{};var ve=(he=Ae===null||Ae===void 0?void 0:Ae.skipAsserts)!==null&&he!==void 0?he:false;if(typeof R==="string"){me=R}else if(R instanceof String){me=R.toString()}else if(typeof R==="object"&&R.text!=null){me=R.text;ye=(ge=R.parameters)!==null&&ge!==void 0?ge:{}}if(!ve){assertCypherQuery(me);assertQueryParameters(ye)}return{validatedQuery:me,params:ye}}pe.validateQueryAndParameters=validateQueryAndParameters;function assertObject(R,pe){if(!isObject(R)){throw new TypeError(pe+" expected to be an object but was: "+(0,be.stringify)(R))}return R}pe.assertObject=assertObject;function assertString(R,pe){if(!isString(R)){throw new TypeError((0,be.stringify)(pe)+" expected to be string but was: "+(0,be.stringify)(R))}return R}pe.assertString=assertString;function assertNumber(R,pe){if(typeof R!=="number"){throw new TypeError(pe+" expected to be a number but was: "+(0,be.stringify)(R))}return R}pe.assertNumber=assertNumber;function assertNumberOrInteger(R,pe){if(typeof R!=="number"&&typeof R!=="bigint"&&!(0,ve.isInt)(R)){throw new TypeError(pe+" expected to be either a number or an Integer object but was: "+(0,be.stringify)(R))}return R}pe.assertNumberOrInteger=assertNumberOrInteger;function assertValidDate(R,pe){if(Object.prototype.toString.call(R)!=="[object Date]"){throw new TypeError(pe+" expected to be a standard JavaScript Date but was: "+(0,be.stringify)(R))}if(Number.isNaN(R.getTime())){throw new TypeError(pe+" expected to be valid JavaScript Date but its time was NaN: "+(0,be.stringify)(R))}return R}pe.assertValidDate=assertValidDate;function assertCypherQuery(R){assertString(R,"Cypher query");if(R.trim().length===0){throw new TypeError("Cypher query is expected to be a non-empty string.")}}function assertQueryParameters(R){if(!isObject(R)){var pe=R.constructor!=null?" "+R.constructor.name:"";throw new TypeError("Query parameters are expected to either be undefined/null or an object, given:".concat(pe," ").concat(JSON.stringify(R)))}}function isString(R){return Object.prototype.toString.call(R)==="[object String]"}pe.isString=isString;function equals(R,pe){var Ae,he;if(R===pe){return true}if(R===null||pe===null){return false}if(typeof R==="object"&&typeof pe==="object"){var ge=Object.keys(R);var me=Object.keys(pe);if(ge.length!==me.length){return false}try{for(var ve=ye(ge),be=ve.next();!be.done;be=ve.next()){var Ee=be.value;if(!equals(R[Ee],pe[Ee])){return false}}}catch(R){Ae={error:R}}finally{try{if(be&&!be.done&&(he=ve.return))he.call(ve)}finally{if(Ae)throw Ae.error}}return true}return false}pe.equals=equals;function toNumber(R){if(R instanceof ve.default){return R.toNumber()}else if(typeof R==="bigint"){return(0,ve.int)(R).toNumber()}else{return R}}pe.toNumber=toNumber},86322:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.stringify=void 0;var he=Ae(58690);function stringify(R,pe){return JSON.stringify(R,(function(R,Ae){if((0,he.isBrokenObject)(Ae)){return{__isBrokenObject__:true,__reason__:(0,he.getBrokenObjectReason)(Ae)}}if(typeof Ae==="bigint"){return"".concat(Ae,"n")}if((pe===null||pe===void 0?void 0:pe.useCustomToString)===true&&typeof Ae==="object"&&!Array.isArray(Ae)&&typeof Ae.toString==="function"&&Ae.toString!==Object.prototype.toString){return Ae===null||Ae===void 0?void 0:Ae.toString()}return Ae}))}pe.stringify=stringify},66007:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.notificationFilterDisabledClassification=pe.notificationFilterDisabledCategory=pe.notificationFilterMinimumSeverityLevel=void 0;var Ae={OFF:"OFF",WARNING:"WARNING",INFORMATION:"INFORMATION"};pe.notificationFilterMinimumSeverityLevel=Ae;Object.freeze(Ae);var he={HINT:"HINT",UNRECOGNIZED:"UNRECOGNIZED",UNSUPPORTED:"UNSUPPORTED",PERFORMANCE:"PERFORMANCE",TOPOLOGY:"TOPOLOGY",SECURITY:"SECURITY",DEPRECATION:"DEPRECATION",GENERIC:"GENERIC"};pe.notificationFilterDisabledCategory=he;Object.freeze(he);var ge=he;pe.notificationFilterDisabledClassification=ge;var me=function(){function NotificationFilter(){this.minimumSeverityLevel=undefined;this.disabledCategories=undefined;this.disabledClassifications=undefined;throw new Error("Not implemented")}return NotificationFilter}();pe["default"]=me},64777:function(R,pe,Ae){"use strict";var he=this&&this.__assign||function(){he=Object.assign||function(R){for(var pe,Ae=1,he=arguments.length;Ae0)&&!(ge=he.next()).done)me.push(ge.value)}catch(R){ye={error:R}}finally{try{if(ge&&!ge.done&&(Ae=he["return"]))Ae.call(he)}finally{if(ye)throw ye.error}}return me};var be=this&&this.__spreadArray||function(R,pe,Ae){if(Ae||arguments.length===2)for(var he=0,ge=pe.length,me;he0&&me[me.length-1])&&(ve[0]===6||ve[0]===2)){Ae=0;continue}if(ve[0]===3&&(!me||ve[1]>me[0]&&ve[1]=R.length)R=void 0;return{value:R&&R[he++],done:!R}}};throw new TypeError(pe?"Object is not iterable.":"Symbol.iterator is not defined.")};var me=this&&this.__read||function(R,pe){var Ae=typeof Symbol==="function"&&R[Symbol.iterator];if(!Ae)return R;var he=Ae.call(R),ge,me=[],ye;try{while((pe===void 0||pe-- >0)&&!(ge=he.next()).done)me.push(ge.value)}catch(R){ye={error:R}}finally{try{if(ge&&!ge.done&&(Ae=he["return"]))Ae.call(he)}finally{if(ye)throw ye.error}}return me};Object.defineProperty(pe,"__esModule",{value:true});var ye=Ae(5542);function generateFieldLookup(R){var pe={};R.forEach((function(R,Ae){pe[R]=Ae}));return pe}var ve=function(){function Record(R,pe,Ae){this.keys=R;this.length=R.length;this._fields=pe;this._fieldLookup=Ae!==null&&Ae!==void 0?Ae:generateFieldLookup(R)}Record.prototype.forEach=function(R){var pe,Ae;try{for(var he=ge(this.entries()),ye=he.next();!ye.done;ye=he.next()){var ve=me(ye.value,2),be=ve[0],Ee=ve[1];R(Ee,be,this)}}catch(R){pe={error:R}}finally{try{if(ye&&!ye.done&&(Ae=he.return))Ae.call(he)}finally{if(pe)throw pe.error}}};Record.prototype.map=function(R){var pe,Ae;var he=[];try{for(var ye=ge(this.entries()),ve=ye.next();!ve.done;ve=ye.next()){var be=me(ve.value,2),Ee=be[0],Ce=be[1];he.push(R(Ce,Ee,this))}}catch(R){pe={error:R}}finally{try{if(ve&&!ve.done&&(Ae=ye.return))Ae.call(ye)}finally{if(pe)throw pe.error}}return he};Record.prototype.entries=function(){var R;return he(this,(function(pe){switch(pe.label){case 0:R=0;pe.label=1;case 1:if(!(Rthis._fields.length-1||pe<0){throw(0,ye.newError)("This record has no field with index '"+pe.toString()+"'. Remember that indexes start at `0`, "+"and make sure your query returns records in the shape you meant it to.")}return this._fields[pe]};Record.prototype.has=function(R){if(typeof R==="number"){return R>=0&&R{"use strict";Object.defineProperty(pe,"__esModule",{value:true});var Ae=function(){function EagerResult(R,pe,Ae){this.keys=R;this.records=pe;this.summary=Ae}return EagerResult}();pe["default"]=Ae},1381:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.Stats=pe.QueryStatistics=pe.ProfiledPlan=pe.Plan=pe.ServerInfo=pe.queryType=void 0;var he=Ae(9318);var ge=Ae(64777);var me=function(){function ResultSummary(R,pe,Ae,he){var me,be,we;this.query={text:R,parameters:pe};this.queryType=Ae.type;this.counters=new Ee((me=Ae.stats)!==null&&me!==void 0?me:{});this.updateStatistics=this.counters;this.plan=Ae.plan!=null||Ae.profile!=null?new ye((be=Ae.plan)!==null&&be!==void 0?be:Ae.profile):false;this.profile=Ae.profile!=null?new ve(Ae.profile):false;this.notifications=(0,ge.buildNotificationsFromMetadata)(Ae);this.gqlStatusObjects=(0,ge.buildGqlStatusObjectFromMetadata)(Ae);this.server=new Ce(Ae.server,he);this.resultConsumedAfter=Ae.result_consumed_after;this.resultAvailableAfter=Ae.result_available_after;this.database={name:(we=Ae.db)!==null&&we!==void 0?we:null}}ResultSummary.prototype.hasPlan=function(){return this.plan instanceof ye};ResultSummary.prototype.hasProfile=function(){return this.profile instanceof ve};return ResultSummary}();var ye=function(){function Plan(R){this.operatorType=R.operatorType;this.identifiers=R.identifiers;this.arguments=R.args;this.children=R.children!=null?R.children.map((function(R){return new Plan(R)})):[]}return Plan}();pe.Plan=ye;var ve=function(){function ProfiledPlan(R){this.operatorType=R.operatorType;this.identifiers=R.identifiers;this.arguments=R.args;this.dbHits=valueOrDefault("dbHits",R);this.rows=valueOrDefault("rows",R);this.pageCacheMisses=valueOrDefault("pageCacheMisses",R);this.pageCacheHits=valueOrDefault("pageCacheHits",R);this.pageCacheHitRatio=valueOrDefault("pageCacheHitRatio",R);this.time=valueOrDefault("time",R);this.children=R.children!=null?R.children.map((function(R){return new ProfiledPlan(R)})):[]}ProfiledPlan.prototype.hasPageCacheStats=function(){return this.pageCacheMisses>0||this.pageCacheHits>0||this.pageCacheHitRatio>0};return ProfiledPlan}();pe.ProfiledPlan=ve;var be=function(){function Stats(){this.nodesCreated=0;this.nodesDeleted=0;this.relationshipsCreated=0;this.relationshipsDeleted=0;this.propertiesSet=0;this.labelsAdded=0;this.labelsRemoved=0;this.indexesAdded=0;this.indexesRemoved=0;this.constraintsAdded=0;this.constraintsRemoved=0}return Stats}();pe.Stats=be;var Ee=function(){function QueryStatistics(R){var pe=this;this._stats={nodesCreated:0,nodesDeleted:0,relationshipsCreated:0,relationshipsDeleted:0,propertiesSet:0,labelsAdded:0,labelsRemoved:0,indexesAdded:0,indexesRemoved:0,constraintsAdded:0,constraintsRemoved:0};this._systemUpdates=0;Object.keys(R).forEach((function(Ae){var ge=Ae.replace(/(-\w)/g,(function(R){return R[1].toUpperCase()}));if(ge in pe._stats){pe._stats[ge]=he.util.toNumber(R[Ae])}else if(ge==="systemUpdates"){pe._systemUpdates=he.util.toNumber(R[Ae])}else if(ge==="containsSystemUpdates"){pe._containsSystemUpdates=R[Ae]}else if(ge==="containsUpdates"){pe._containsUpdates=R[Ae]}}));this._stats=Object.freeze(this._stats)}QueryStatistics.prototype.containsUpdates=function(){var R=this;return this._containsUpdates!==undefined?this._containsUpdates:Object.keys(this._stats).reduce((function(pe,Ae){return pe+R._stats[Ae]}),0)>0};QueryStatistics.prototype.updates=function(){return this._stats};QueryStatistics.prototype.containsSystemUpdates=function(){return this._containsSystemUpdates!==undefined?this._containsSystemUpdates:this._systemUpdates>0};QueryStatistics.prototype.systemUpdates=function(){return this._systemUpdates};return QueryStatistics}();pe.QueryStatistics=Ee;var Ce=function(){function ServerInfo(R,pe){if(R!=null){this.address=R.address;this.agent=R.version}this.protocolVersion=pe}return ServerInfo}();pe.ServerInfo=Ce;function valueOrDefault(R,pe,Ae){if(Ae===void 0){Ae=0}if(pe!==false&&R in pe){var ge=pe[R];return he.util.toNumber(ge)}else{return Ae}}var we={READ_ONLY:"r",READ_WRITE:"rw",WRITE_ONLY:"w",SCHEMA_WRITE:"s"};pe.queryType=we;pe["default"]=me},36584:function(R,pe,Ae){"use strict";var he=this&&this.__awaiter||function(R,pe,Ae,he){function adopt(R){return R instanceof Ae?R:new Ae((function(pe){pe(R)}))}return new(Ae||(Ae=Promise))((function(Ae,ge){function fulfilled(R){try{step(he.next(R))}catch(R){ge(R)}}function rejected(R){try{step(he["throw"](R))}catch(R){ge(R)}}function step(R){R.done?Ae(R.value):adopt(R.value).then(fulfilled,rejected)}step((he=he.apply(R,pe||[])).next())}))};var ge=this&&this.__generator||function(R,pe){var Ae={label:0,sent:function(){if(me[0]&1)throw me[1];return me[1]},trys:[],ops:[]},he,ge,me,ye;return ye={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol==="function"&&(ye[Symbol.iterator]=function(){return this}),ye;function verb(R){return function(pe){return step([R,pe])}}function step(ve){if(he)throw new TypeError("Generator is already executing.");while(ye&&(ye=0,ve[0]&&(Ae=0)),Ae)try{if(he=1,ge&&(me=ve[0]&2?ge["return"]:ve[0]?ge["throw"]||((me=ge["return"])&&me.call(ge),0):ge.next)&&!(me=me.call(ge,ve[1])).done)return me;if(ge=0,me)ve=[ve[0]&2,me.value];switch(ve[0]){case 0:case 1:me=ve;break;case 4:Ae.label++;return{value:ve[1],done:false};case 5:Ae.label++;ge=ve[1];ve=[0];continue;case 7:ve=Ae.ops.pop();Ae.trys.pop();continue;default:if(!(me=Ae.trys,me=me.length>0&&me[me.length-1])&&(ve[0]===6||ve[0]===2)){Ae=0;continue}if(ve[0]===3&&(!me||ve[1]>me[0]&&ve[1]0&&me[me.length-1])&&(ve[0]===6||ve[0]===2)){Ae=0;continue}if(ve[0]===3&&(!me||ve[1]>me[0]&&ve[1]=R._watermarks.high;var ye=ge<=R._watermarks.low;if(me&&!Ae.paused){Ae.paused=true;Ae.streaming.pause()}else if(ye&&Ae.paused||Ae.firstRun&&!me){Ae.firstRun=false;Ae.paused=false;Ae.streaming.resume()}};var initializeObserver=function(){return he(R,void 0,void 0,(function(){var R;return ge(this,(function(pe){switch(pe.label){case 0:if(!(Ae.queuedObserver===undefined))return[3,2];Ae.queuedObserver=this._createQueuedResultObserver(controlFlow);R=Ae;return[4,this._subscribe(Ae.queuedObserver,true).catch((function(){return undefined}))];case 1:R.streaming=pe.sent();controlFlow();pe.label=2;case 2:return[2,Ae.queuedObserver]}}))}))};var assertSummary=function(R){if(R===undefined){throw(0,Ee.newError)("InvalidState: Result stream finished without Summary",Ee.PROTOCOL_ERROR)}return true};return{next:function(){return he(R,void 0,void 0,(function(){var R,pe;return ge(this,(function(he){switch(he.label){case 0:if(Ae.finished){if(assertSummary(Ae.summary)){return[2,{done:true,value:Ae.summary}]}}return[4,initializeObserver()];case 1:R=he.sent();return[4,R.dequeue()];case 2:pe=he.sent();if(pe.done===true){Ae.finished=pe.done;Ae.summary=pe.value}return[2,pe]}}))}))},return:function(pe){return he(R,void 0,void 0,(function(){var R,he;var me;return ge(this,(function(ge){switch(ge.label){case 0:if(Ae.finished){if(assertSummary(Ae.summary)){return[2,{done:true,value:pe!==null&&pe!==void 0?pe:Ae.summary}]}}(me=Ae.streaming)===null||me===void 0?void 0:me.cancel();return[4,initializeObserver()];case 1:R=ge.sent();return[4,R.dequeueUntilDone()];case 2:he=ge.sent();Ae.finished=true;he.value=pe!==null&&pe!==void 0?pe:he.value;Ae.summary=he.value;return[2,he]}}))}))},peek:function(){return he(R,void 0,void 0,(function(){var R;return ge(this,(function(pe){switch(pe.label){case 0:if(Ae.finished){if(assertSummary(Ae.summary)){return[2,{done:true,value:Ae.summary}]}}return[4,initializeObserver()];case 1:R=pe.sent();return[4,R.head()];case 2:return[2,pe.sent()]}}))}))}}};Result.prototype.then=function(R,pe){return this._getOrCreatePromise().then(R,pe)};Result.prototype.catch=function(R){return this._getOrCreatePromise().catch(R)};Result.prototype.finally=function(R){return this._getOrCreatePromise().finally(R)};Result.prototype.subscribe=function(R){this._subscribe(R).catch((function(){}))};Result.prototype.isOpen=function(){return this._summary===null&&this._error===null};Result.prototype._subscribe=function(R,pe){if(pe===void 0){pe=false}var Ae=this._decorateObserver(R);return this._streamObserverPromise.then((function(R){if(pe){R.pause()}R.subscribe(Ae);return R})).catch((function(R){if(Ae.onError!=null){Ae.onError(R)}return Promise.reject(R)}))};Result.prototype._decorateObserver=function(R){var pe=this;var Ae,he,ge;var me=(Ae=R.onCompleted)!==null&&Ae!==void 0?Ae:DEFAULT_ON_COMPLETED;var ye=(he=R.onError)!==null&&he!==void 0?he:DEFAULT_ON_ERROR;var ve=(ge=R.onKeys)!==null&&ge!==void 0?ge:DEFAULT_ON_KEYS;var onCompletedWrapper=function(Ae){pe._releaseConnectionAndGetSummary(Ae).then((function(Ae){if(pe._summary!==null){return me.call(R,pe._summary)}pe._summary=Ae;return me.call(R,Ae)})).catch(ye)};var onErrorWrapper=function(Ae){pe._connectionHolder.releaseConnection().then((function(){replaceStacktrace(Ae,pe._stack);pe._error=Ae;ye.call(R,Ae)})).catch(ye)};var onKeysWrapper=function(Ae){pe._keys=Ae;return ve.call(R,Ae)};return{onNext:R.onNext!=null?R.onNext.bind(R):undefined,onKeys:onKeysWrapper,onCompleted:onCompletedWrapper,onError:onErrorWrapper}};Result.prototype._cancel=function(){if(this._summary===null&&this._error===null){this._streamObserverPromise.then((function(R){return R.cancel()})).catch((function(){}))}};Result.prototype._releaseConnectionAndGetSummary=function(R){var pe=be.util.validateQueryAndParameters(this._query,this._parameters,{skipAsserts:true}),Ae=pe.validatedQuery,he=pe.params;var ge=this._connectionHolder;return ge.getConnection().then((function(R){return ge.releaseConnection().then((function(){return R===null||R===void 0?void 0:R.getProtocolVersion()}))}),(function(R){return undefined})).then((function(pe){return new ve.default(Ae,he,R,pe)}))};Result.prototype._createQueuedResultObserver=function(R){var pe=this;function createResolvablePromise(){var R={};R.promise=new Promise((function(pe,Ae){R.resolve=pe;R.reject=Ae}));return R}function isError(R){return R instanceof Error}function dequeue(){var pe;return he(this,void 0,void 0,(function(){var he;return ge(this,(function(ge){switch(ge.label){case 0:if(Ae.length>0){he=(pe=Ae.shift())!==null&&pe!==void 0?pe:(0,Ee.newError)("Unexpected empty buffer",Ee.PROTOCOL_ERROR);R();if(isError(he)){throw he}return[2,he]}me.resolvable=createResolvablePromise();return[4,me.resolvable.promise];case 1:return[2,ge.sent()]}}))}))}var Ae=[];var me={resolvable:null};var ye={onNext:function(R){ye._push({done:false,value:R})},onCompleted:function(R){ye._push({done:true,value:R})},onError:function(R){ye._push(R)},_push:function(pe){if(me.resolvable!==null){var he=me.resolvable;me.resolvable=null;if(isError(pe)){he.reject(pe)}else{he.resolve(pe)}}else{Ae.push(pe);R()}},dequeue:dequeue,dequeueUntilDone:function(){return he(pe,void 0,void 0,(function(){var R;return ge(this,(function(pe){switch(pe.label){case 0:if(false){}return[4,dequeue()];case 1:R=pe.sent();if(R.done===true){return[2,R]}return[3,0];case 2:return[2]}}))}))},head:function(){return he(pe,void 0,void 0,(function(){var pe,pe,he;return ge(this,(function(ge){switch(ge.label){case 0:if(Ae.length>0){pe=Ae[0];if(isError(pe)){throw pe}return[2,pe]}me.resolvable=createResolvablePromise();ge.label=1;case 1:ge.trys.push([1,3,4,5]);return[4,me.resolvable.promise];case 2:pe=ge.sent();Ae.unshift(pe);return[2,pe];case 3:he=ge.sent();Ae.unshift(he);throw he;case 4:R();return[7];case 5:return[2]}}))}))},get size(){return Ae.length}};return ye};return Result}();ye=Symbol.toStringTag;function captureStacktrace(){var R=new Error("");if(R.stack!=null){return R.stack.replace(/^Error(\n\r)*/,"")}return null}function replaceStacktrace(R,pe){if(pe!=null){R.stack=R.toString()+"\n"+pe}}pe["default"]=we},55739:function(R,pe,Ae){"use strict";var he=this&&this.__awaiter||function(R,pe,Ae,he){function adopt(R){return R instanceof Ae?R:new Ae((function(pe){pe(R)}))}return new(Ae||(Ae=Promise))((function(Ae,ge){function fulfilled(R){try{step(he.next(R))}catch(R){ge(R)}}function rejected(R){try{step(he["throw"](R))}catch(R){ge(R)}}function step(R){R.done?Ae(R.value):adopt(R.value).then(fulfilled,rejected)}step((he=he.apply(R,pe||[])).next())}))};var ge=this&&this.__generator||function(R,pe){var Ae={label:0,sent:function(){if(me[0]&1)throw me[1];return me[1]},trys:[],ops:[]},he,ge,me,ye;return ye={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol==="function"&&(ye[Symbol.iterator]=function(){return this}),ye;function verb(R){return function(pe){return step([R,pe])}}function step(ve){if(he)throw new TypeError("Generator is already executing.");while(ye&&(ye=0,ve[0]&&(Ae=0)),Ae)try{if(he=1,ge&&(me=ve[0]&2?ge["return"]:ve[0]?ge["throw"]||((me=ge["return"])&&me.call(ge),0):ge.next)&&!(me=me.call(ge,ve[1])).done)return me;if(ge=0,me)ve=[ve[0]&2,me.value];switch(ve[0]){case 0:case 1:me=ve;break;case 4:Ae.label++;return{value:ve[1],done:false};case 5:Ae.label++;ge=ve[1];ve=[0];continue;case 7:ve=Ae.ops.pop();Ae.trys.pop();continue;default:if(!(me=Ae.trys,me=me.length>0&&me[me.length-1])&&(ve[0]===6||ve[0]===2)){Ae=0;continue}if(ve[0]===3&&(!me||ve[1]>me[0]&&ve[1]0)&&!(ge=he.next()).done)me.push(ge.value)}catch(R){ye={error:R}}finally{try{if(ge&&!ge.done&&(Ae=he["return"]))Ae.call(he)}finally{if(ye)throw ye.error}}return me};var ye=this&&this.__spreadArray||function(R,pe,Ae){if(Ae||arguments.length===2)for(var he=0,ge=pe.length,me;he{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.isPoint=pe.Point=void 0;var he=Ae(56517);var ge="__isPoint__";var me=function(){function Point(R,pe,Ae,ge){this.srid=(0,he.assertNumberOrInteger)(R,"SRID");this.x=(0,he.assertNumber)(pe,"X coordinate");this.y=(0,he.assertNumber)(Ae,"Y coordinate");this.z=ge===null||ge===undefined?ge:(0,he.assertNumber)(ge,"Z coordinate");Object.freeze(this)}Point.prototype.toString=function(){return this.z!=null&&!isNaN(this.z)?"Point{srid=".concat(formatAsFloat(this.srid),", x=").concat(formatAsFloat(this.x),", y=").concat(formatAsFloat(this.y),", z=").concat(formatAsFloat(this.z),"}"):"Point{srid=".concat(formatAsFloat(this.srid),", x=").concat(formatAsFloat(this.x),", y=").concat(formatAsFloat(this.y),"}")};return Point}();pe.Point=me;function formatAsFloat(R){return Number.isInteger(R)?R.toString()+".0":R.toString()}Object.defineProperty(me.prototype,ge,{value:true,enumerable:false,configurable:false,writable:false});function isPoint(R){var pe=R;return R!=null&&pe[ge]===true}pe.isPoint=isPoint},45797:function(R,pe,Ae){"use strict";var he=this&&this.__createBinding||(Object.create?function(R,pe,Ae,he){if(he===undefined)he=Ae;var ge=Object.getOwnPropertyDescriptor(pe,Ae);if(!ge||("get"in ge?!pe.__esModule:ge.writable||ge.configurable)){ge={enumerable:true,get:function(){return pe[Ae]}}}Object.defineProperty(R,he,ge)}:function(R,pe,Ae,he){if(he===undefined)he=Ae;R[he]=pe[Ae]});var ge=this&&this.__setModuleDefault||(Object.create?function(R,pe){Object.defineProperty(R,"default",{enumerable:true,value:pe})}:function(R,pe){R["default"]=pe});var me=this&&this.__importStar||function(R){if(R&&R.__esModule)return R;var pe={};if(R!=null)for(var Ae in R)if(Ae!=="default"&&Object.prototype.hasOwnProperty.call(R,Ae))he(pe,R,Ae);ge(pe,R);return pe};var ye=this&&this.__read||function(R,pe){var Ae=typeof Symbol==="function"&&R[Symbol.iterator];if(!Ae)return R;var he=Ae.call(R),ge,me=[],ye;try{while((pe===void 0||pe-- >0)&&!(ge=he.next()).done)me.push(ge.value)}catch(R){ye={error:R}}finally{try{if(ge&&!ge.done&&(Ae=he["return"]))Ae.call(he)}finally{if(ye)throw ye.error}}return me};Object.defineProperty(pe,"__esModule",{value:true});pe.isDateTime=pe.DateTime=pe.isLocalDateTime=pe.LocalDateTime=pe.isDate=pe.Date=pe.isTime=pe.Time=pe.isLocalTime=pe.LocalTime=pe.isDuration=pe.Duration=void 0;var ve=me(Ae(87151));var be=Ae(56517);var Ee=Ae(5542);var Ce=me(Ae(6049));var we={value:true,enumerable:false,configurable:false,writable:false};var Ie="__isDuration__";var _e="__isLocalTime__";var Be="__isTime__";var Se="__isDate__";var Qe="__isLocalDateTime__";var xe="__isDateTime__";var De=function(){function Duration(R,pe,Ae,he){this.months=(0,be.assertNumberOrInteger)(R,"Months");this.days=(0,be.assertNumberOrInteger)(pe,"Days");(0,be.assertNumberOrInteger)(Ae,"Seconds");(0,be.assertNumberOrInteger)(he,"Nanoseconds");this.seconds=ve.normalizeSecondsForDuration(Ae,he);this.nanoseconds=ve.normalizeNanosecondsForDuration(he);Object.freeze(this)}Duration.prototype.toString=function(){return ve.durationToIsoString(this.months,this.days,this.seconds,this.nanoseconds)};return Duration}();pe.Duration=De;Object.defineProperty(De.prototype,Ie,we);function isDuration(R){return hasIdentifierProperty(R,Ie)}pe.isDuration=isDuration;var ke=function(){function LocalTime(R,pe,Ae,he){this.hour=ve.assertValidHour(R);this.minute=ve.assertValidMinute(pe);this.second=ve.assertValidSecond(Ae);this.nanosecond=ve.assertValidNanosecond(he);Object.freeze(this)}LocalTime.fromStandardDate=function(R,pe){verifyStandardDateAndNanos(R,pe);var Ae=ve.totalNanoseconds(R,pe);return new LocalTime(R.getHours(),R.getMinutes(),R.getSeconds(),Ae instanceof Ce.default?Ae.toInt():typeof Ae==="bigint"?(0,Ce.int)(Ae).toInt():Ae)};LocalTime.prototype.toString=function(){return ve.timeToIsoString(this.hour,this.minute,this.second,this.nanosecond)};return LocalTime}();pe.LocalTime=ke;Object.defineProperty(ke.prototype,_e,we);function isLocalTime(R){return hasIdentifierProperty(R,_e)}pe.isLocalTime=isLocalTime;var Oe=function(){function Time(R,pe,Ae,he,ge){this.hour=ve.assertValidHour(R);this.minute=ve.assertValidMinute(pe);this.second=ve.assertValidSecond(Ae);this.nanosecond=ve.assertValidNanosecond(he);this.timeZoneOffsetSeconds=(0,be.assertNumberOrInteger)(ge,"Time zone offset in seconds");Object.freeze(this)}Time.fromStandardDate=function(R,pe){verifyStandardDateAndNanos(R,pe);return new Time(R.getHours(),R.getMinutes(),R.getSeconds(),(0,Ce.toNumber)(ve.totalNanoseconds(R,pe)),ve.timeZoneOffsetInSeconds(R))};Time.prototype.toString=function(){return ve.timeToIsoString(this.hour,this.minute,this.second,this.nanosecond)+ve.timeZoneOffsetToIsoString(this.timeZoneOffsetSeconds)};return Time}();pe.Time=Oe;Object.defineProperty(Oe.prototype,Be,we);function isTime(R){return hasIdentifierProperty(R,Be)}pe.isTime=isTime;var Re=function(){function Date(R,pe,Ae){this.year=ve.assertValidYear(R);this.month=ve.assertValidMonth(pe);this.day=ve.assertValidDay(Ae);Object.freeze(this)}Date.fromStandardDate=function(R){verifyStandardDateAndNanos(R);return new Date(R.getFullYear(),R.getMonth()+1,R.getDate())};Date.prototype.toStandardDate=function(){return ve.isoStringToStandardDate(this.toString())};Date.prototype.toString=function(){return ve.dateToIsoString(this.year,this.month,this.day)};return Date}();pe.Date=Re;Object.defineProperty(Re.prototype,Se,we);function isDate(R){return hasIdentifierProperty(R,Se)}pe.isDate=isDate;var Pe=function(){function LocalDateTime(R,pe,Ae,he,ge,me,ye){this.year=ve.assertValidYear(R);this.month=ve.assertValidMonth(pe);this.day=ve.assertValidDay(Ae);this.hour=ve.assertValidHour(he);this.minute=ve.assertValidMinute(ge);this.second=ve.assertValidSecond(me);this.nanosecond=ve.assertValidNanosecond(ye);Object.freeze(this)}LocalDateTime.fromStandardDate=function(R,pe){verifyStandardDateAndNanos(R,pe);return new LocalDateTime(R.getFullYear(),R.getMonth()+1,R.getDate(),R.getHours(),R.getMinutes(),R.getSeconds(),(0,Ce.toNumber)(ve.totalNanoseconds(R,pe)))};LocalDateTime.prototype.toStandardDate=function(){return ve.isoStringToStandardDate(this.toString())};LocalDateTime.prototype.toString=function(){return localDateTimeToString(this.year,this.month,this.day,this.hour,this.minute,this.second,this.nanosecond)};return LocalDateTime}();pe.LocalDateTime=Pe;Object.defineProperty(Pe.prototype,Qe,we);function isLocalDateTime(R){return hasIdentifierProperty(R,Qe)}pe.isLocalDateTime=isLocalDateTime;var Te=function(){function DateTime(R,pe,Ae,he,ge,me,be,Ee,Ce){this.year=ve.assertValidYear(R);this.month=ve.assertValidMonth(pe);this.day=ve.assertValidDay(Ae);this.hour=ve.assertValidHour(he);this.minute=ve.assertValidMinute(ge);this.second=ve.assertValidSecond(me);this.nanosecond=ve.assertValidNanosecond(be);var we=ye(verifyTimeZoneArguments(Ee,Ce),2),Ie=we[0],_e=we[1];this.timeZoneOffsetSeconds=Ie;this.timeZoneId=_e!==null&&_e!==void 0?_e:undefined;Object.freeze(this)}DateTime.fromStandardDate=function(R,pe){verifyStandardDateAndNanos(R,pe);return new DateTime(R.getFullYear(),R.getMonth()+1,R.getDate(),R.getHours(),R.getMinutes(),R.getSeconds(),(0,Ce.toNumber)(ve.totalNanoseconds(R,pe)),ve.timeZoneOffsetInSeconds(R),null)};DateTime.prototype.toStandardDate=function(){return ve.toStandardDate(this._toUTC())};DateTime.prototype.toString=function(){var R;var pe=localDateTimeToString(this.year,this.month,this.day,this.hour,this.minute,this.second,this.nanosecond);var Ae=this.timeZoneOffsetSeconds!=null?ve.timeZoneOffsetToIsoString((R=this.timeZoneOffsetSeconds)!==null&&R!==void 0?R:0):"";var he=this.timeZoneId!=null?"[".concat(this.timeZoneId,"]"):"";return pe+Ae+he};DateTime.prototype._toUTC=function(){var R;if(this.timeZoneOffsetSeconds===undefined){throw new Error("Requires DateTime created with time zone offset")}var pe=ve.localDateTimeToEpochSecond(this.year,this.month,this.day,this.hour,this.minute,this.second,this.nanosecond);var Ae=pe.subtract((R=this.timeZoneOffsetSeconds)!==null&&R!==void 0?R:0);return(0,Ce.int)(Ae).multiply(1e3).add((0,Ce.int)(this.nanosecond).div(1e6)).toNumber()};return DateTime}();pe.DateTime=Te;Object.defineProperty(Te.prototype,xe,we);function isDateTime(R){return hasIdentifierProperty(R,xe)}pe.isDateTime=isDateTime;function hasIdentifierProperty(R,pe){return R!=null&&R[pe]===true}function localDateTimeToString(R,pe,Ae,he,ge,me,ye){return ve.dateToIsoString(R,pe,Ae)+"T"+ve.timeToIsoString(he,ge,me,ye)}function verifyTimeZoneArguments(R,pe){var Ae=R!==null&&R!==undefined;var he=pe!==null&&pe!==undefined&&pe!=="";if(!Ae&&!he){throw(0,Ee.newError)("Unable to create DateTime without either time zone offset or id. Please specify either of them. Given offset: ".concat(R," and id: ").concat(pe))}var ge=[undefined,undefined];if(Ae){(0,be.assertNumberOrInteger)(R,"Time zone offset in seconds");ge[0]=R}if(he){(0,be.assertString)(pe,"Time zone ID");ve.assertValidZoneId("Time zone ID",pe);ge[1]=pe}return ge}function verifyStandardDateAndNanos(R,pe){(0,be.assertValidDate)(R,"Standard date");if(pe!==null&&pe!==undefined){(0,be.assertNumberOrInteger)(pe,"Nanosecond")}}},93169:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});var Ae=function(){function ManagedTransaction(R){var pe=R.run;this._run=pe}ManagedTransaction.fromTransaction=function(R){return new ManagedTransaction({run:R.run.bind(R)})};ManagedTransaction.prototype.run=function(R,pe){return this._run(R,pe)};return ManagedTransaction}();pe["default"]=Ae},37269:function(R,pe,Ae){"use strict";var he=this&&this.__extends||function(){var extendStatics=function(R,pe){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(R,pe){R.__proto__=pe}||function(R,pe){for(var Ae in pe)if(Object.prototype.hasOwnProperty.call(pe,Ae))R[Ae]=pe[Ae]};return extendStatics(R,pe)};return function(R,pe){if(typeof pe!=="function"&&pe!==null)throw new TypeError("Class extends value "+String(pe)+" is not a constructor or null");extendStatics(R,pe);function __(){this.constructor=R}R.prototype=pe===null?Object.create(pe):(__.prototype=pe.prototype,new __)}}();var ge=this&&this.__assign||function(){ge=Object.assign||function(R){for(var pe,Ae=1,he=arguments.length;Ae0&&me[me.length-1])&&(ve[0]===6||ve[0]===2)){Ae=0;continue}if(ve[0]===3&&(!me||ve[1]>me[0]&&ve[1]0||Ae===ve){return Ae}else if(Ae===0||Ae<0){throw new Error("The fetch size can only be a positive value or ".concat(ve," for ALL. However fetchSize = ").concat(Ae))}else{return pe}}pe["default"]=Ce},42934:function(R,pe,Ae){"use strict";var he=this&&this.__awaiter||function(R,pe,Ae,he){function adopt(R){return R instanceof Ae?R:new Ae((function(pe){pe(R)}))}return new(Ae||(Ae=Promise))((function(Ae,ge){function fulfilled(R){try{step(he.next(R))}catch(R){ge(R)}}function rejected(R){try{step(he["throw"](R))}catch(R){ge(R)}}function step(R){R.done?Ae(R.value):adopt(R.value).then(fulfilled,rejected)}step((he=he.apply(R,pe||[])).next())}))};var ge=this&&this.__generator||function(R,pe){var Ae={label:0,sent:function(){if(me[0]&1)throw me[1];return me[1]},trys:[],ops:[]},he,ge,me,ye;return ye={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol==="function"&&(ye[Symbol.iterator]=function(){return this}),ye;function verb(R){return function(pe){return step([R,pe])}}function step(ve){if(he)throw new TypeError("Generator is already executing.");while(ye&&(ye=0,ve[0]&&(Ae=0)),Ae)try{if(he=1,ge&&(me=ve[0]&2?ge["return"]:ve[0]?ge["throw"]||((me=ge["return"])&&me.call(ge),0):ge.next)&&!(me=me.call(ge,ve[1])).done)return me;if(ge=0,me)ve=[ve[0]&2,me.value];switch(ve[0]){case 0:case 1:me=ve;break;case 4:Ae.label++;return{value:ve[1],done:false};case 5:Ae.label++;ge=ve[1];ve=[0];continue;case 7:ve=Ae.ops.pop();Ae.trys.pop();continue;default:if(!(me=Ae.trys,me=me.length>0&&me[me.length-1])&&(ve[0]===6||ve[0]===2)){Ae=0;continue}if(ve[0]===3&&(!me||ve[1]>me[0]&&ve[1]{"use strict";Object.defineProperty(pe,"__esModule",{value:true});var he=Ae(55065);var ge=Ae(1752);var me=Ae(50749);var ye=he.internal.logger.Logger;var ve=he.error.SERVICE_UNAVAILABLE;var be=30*1e3;var Ee=1e3;var Ce=2;var we=.2;var Ie=function(){function RxRetryLogic(R){var pe=R===void 0?{}:R,Ae=pe.maxRetryTimeout,he=Ae===void 0?be:Ae,ge=pe.initialDelay,me=ge===void 0?Ee:ge,ye=pe.delayMultiplier,ve=ye===void 0?Ce:ye,Ie=pe.delayJitter,_e=Ie===void 0?we:Ie,Be=pe.logger,Se=Be===void 0?null:Be;this._maxRetryTimeout=valueOrDefault(he,be);this._initialDelay=valueOrDefault(me,Ee);this._delayMultiplier=valueOrDefault(ve,Ce);this._delayJitter=valueOrDefault(_e,we);this._logger=Se}RxRetryLogic.prototype.retry=function(R){var pe=this;return R.pipe((0,me.retryWhen)((function(R){var Ae=[];var ye=Date.now();var be=1;var Ee=pe._initialDelay;return R.pipe((0,me.mergeMap)((function(R){if(!(0,he.isRetriableError)(R)){return(0,ge.throwError)((function(){return R}))}Ae.push(R);if(be>=2&&Date.now()-ye>=pe._maxRetryTimeout){var Ce=(0,he.newError)("Failed after retried for ".concat(be," times in ").concat(pe._maxRetryTimeout," ms. Make sure that your database is online and retry again."),ve);Ce.seenErrors=Ae;return(0,ge.throwError)((function(){return Ce}))}var we=pe._computeNextDelay(Ee);Ee=Ee*pe._delayMultiplier;be++;if(pe._logger){pe._logger.warn("Transaction failed and will be retried in ".concat(we))}return(0,ge.of)(1).pipe((0,me.delay)(we))})))})))};RxRetryLogic.prototype._computeNextDelay=function(R){var pe=R*this._delayJitter;return R-pe+2*pe*Math.random()};return RxRetryLogic}();pe["default"]=Ie;function valueOrDefault(R,pe){if(R||R===0){return R}return pe}},70211:function(R,pe,Ae){"use strict";var he=this&&this.__awaiter||function(R,pe,Ae,he){function adopt(R){return R instanceof Ae?R:new Ae((function(pe){pe(R)}))}return new(Ae||(Ae=Promise))((function(Ae,ge){function fulfilled(R){try{step(he.next(R))}catch(R){ge(R)}}function rejected(R){try{step(he["throw"](R))}catch(R){ge(R)}}function step(R){R.done?Ae(R.value):adopt(R.value).then(fulfilled,rejected)}step((he=he.apply(R,pe||[])).next())}))};var ge=this&&this.__generator||function(R,pe){var Ae={label:0,sent:function(){if(me[0]&1)throw me[1];return me[1]},trys:[],ops:[]},he,ge,me,ye;return ye={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol==="function"&&(ye[Symbol.iterator]=function(){return this}),ye;function verb(R){return function(pe){return step([R,pe])}}function step(ve){if(he)throw new TypeError("Generator is already executing.");while(ye&&(ye=0,ve[0]&&(Ae=0)),Ae)try{if(he=1,ge&&(me=ve[0]&2?ge["return"]:ve[0]?ge["throw"]||((me=ge["return"])&&me.call(ge),0):ge.next)&&!(me=me.call(ge,ve[1])).done)return me;if(ge=0,me)ve=[ve[0]&2,me.value];switch(ve[0]){case 0:case 1:me=ve;break;case 4:Ae.label++;return{value:ve[1],done:false};case 5:Ae.label++;ge=ve[1];ve=[0];continue;case 7:ve=Ae.ops.pop();Ae.trys.pop();continue;default:if(!(me=Ae.trys,me=me.length>0&&me[me.length-1])&&(ve[0]===6||ve[0]===2)){Ae=0;continue}if(ve[0]===3&&(!me||ve[1]>me[0]&&ve[1]{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe["default"]="5.23.0"},63329:(R,pe,Ae)=>{"use strict";var he=Ae(57310).parse;var ge={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443};var me=String.prototype.endsWith||function(R){return R.length<=this.length&&this.indexOf(R,this.length-R.length)!==-1};function getProxyForUrl(R){var pe=typeof R==="string"?he(R):R||{};var Ae=pe.protocol;var me=pe.host;var ye=pe.port;if(typeof me!=="string"||!me||typeof Ae!=="string"){return""}Ae=Ae.split(":",1)[0];me=me.replace(/:\d*$/,"");ye=parseInt(ye)||ge[Ae]||0;if(!shouldProxy(me,ye)){return""}var ve=getEnv("npm_config_"+Ae+"_proxy")||getEnv(Ae+"_proxy")||getEnv("npm_config_proxy")||getEnv("all_proxy");if(ve&&ve.indexOf("://")===-1){ve=Ae+"://"+ve}return ve}function shouldProxy(R,pe){var Ae=(getEnv("npm_config_no_proxy")||getEnv("no_proxy")).toLowerCase();if(!Ae){return true}if(Ae==="*"){return false}return Ae.split(/[,\s]/).every((function(Ae){if(!Ae){return true}var he=Ae.match(/^(.+):(\d+)$/);var ge=he?he[1]:Ae;var ye=he?parseInt(he[2]):0;if(ye&&ye!==pe){return true}if(!/^[.*]/.test(ge)){return R!==ge}if(ge.charAt(0)==="*"){ge=ge.slice(1)}return!me.call(R,ge)}))}function getEnv(R){return process.env[R.toLowerCase()]||process.env[R.toUpperCase()]||""}pe.getProxyForUrl=getProxyForUrl},22420:(R,pe)=>{"use strict"; /*! * MIT License * @@ -180,28 +161,28 @@ var se=oe(22057);var ae=oe(41546);var ce=oe(6113);var ue=oe(80970).Ber;var le=oe * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. * - */const oe="[object ArrayBuffer]";class BufferSourceConverter{static isArrayBuffer(re){return Object.prototype.toString.call(re)===oe}static toArrayBuffer(re){if(this.isArrayBuffer(re)){return re}if(re.byteLength===re.buffer.byteLength){return re.buffer}if(re.byteOffset===0&&re.byteLength===re.buffer.byteLength){return re.buffer}return this.toUint8Array(re.buffer).slice(re.byteOffset,re.byteOffset+re.byteLength).buffer}static toUint8Array(re){return this.toView(re,Uint8Array)}static toView(re,ie){if(re.constructor===ie){return re}if(this.isArrayBuffer(re)){return new ie(re)}if(this.isArrayBufferView(re)){return new ie(re.buffer,re.byteOffset,re.byteLength)}throw new TypeError("The provided value is not of type '(ArrayBuffer or ArrayBufferView)'")}static isBufferSource(re){return this.isArrayBufferView(re)||this.isArrayBuffer(re)}static isArrayBufferView(re){return ArrayBuffer.isView(re)||re&&this.isArrayBuffer(re.buffer)}static isEqual(re,ie){const oe=BufferSourceConverter.toUint8Array(re);const se=BufferSourceConverter.toUint8Array(ie);if(oe.length!==se.byteLength){return false}for(let re=0;rere.byteLength)).reduce(((re,ie)=>re+ie));const oe=new Uint8Array(ie);let se=0;re.map((re=>new Uint8Array(re))).forEach((re=>{for(const ie of re){oe[se++]=ie}}));return oe.buffer}function isEqual(re,ie){if(!(re&&ie)){return false}if(re.byteLength!==ie.byteLength){return false}const oe=new Uint8Array(re);const se=new Uint8Array(ie);for(let ie=0;ie{"use strict"; + */const Ae="[object ArrayBuffer]";class BufferSourceConverter{static isArrayBuffer(R){return Object.prototype.toString.call(R)===Ae}static toArrayBuffer(R){if(this.isArrayBuffer(R)){return R}if(R.byteLength===R.buffer.byteLength){return R.buffer}if(R.byteOffset===0&&R.byteLength===R.buffer.byteLength){return R.buffer}return this.toUint8Array(R.buffer).slice(R.byteOffset,R.byteOffset+R.byteLength).buffer}static toUint8Array(R){return this.toView(R,Uint8Array)}static toView(R,pe){if(R.constructor===pe){return R}if(this.isArrayBuffer(R)){return new pe(R)}if(this.isArrayBufferView(R)){return new pe(R.buffer,R.byteOffset,R.byteLength)}throw new TypeError("The provided value is not of type '(ArrayBuffer or ArrayBufferView)'")}static isBufferSource(R){return this.isArrayBufferView(R)||this.isArrayBuffer(R)}static isArrayBufferView(R){return ArrayBuffer.isView(R)||R&&this.isArrayBuffer(R.buffer)}static isEqual(R,pe){const Ae=BufferSourceConverter.toUint8Array(R);const he=BufferSourceConverter.toUint8Array(pe);if(Ae.length!==he.byteLength){return false}for(let R=0;RR.byteLength)).reduce(((R,pe)=>R+pe));const Ae=new Uint8Array(pe);let he=0;R.map((R=>new Uint8Array(R))).forEach((R=>{for(const pe of R){Ae[he++]=pe}}));return Ae.buffer}function isEqual(R,pe){if(!(R&&pe)){return false}if(R.byteLength!==pe.byteLength){return false}const Ae=new Uint8Array(R);const he=new Uint8Array(pe);for(let pe=0;pe{"use strict"; /*! Copyright (c) Peculiar Ventures, LLC -*/Object.defineProperty(ie,"__esModule",{value:true});function getUTCDate(re){return new Date(re.getTime()+re.getTimezoneOffset()*6e4)}function getParametersValue(re,ie,oe){var se;if(re instanceof Object===false){return oe}return(se=re[ie])!==null&&se!==void 0?se:oe}function bufferToHexCodes(re,ie=0,oe=re.byteLength-ie,se=false){let ae="";for(const ce of new Uint8Array(re,ie,oe)){const re=ce.toString(16).toUpperCase();if(re.length===1){ae+="0"}ae+=re;if(se){ae+=" "}}return ae.trim()}function checkBufferParams(re,ie,oe,se){if(!(ie instanceof ArrayBuffer)){re.error='Wrong parameter: inputBuffer must be "ArrayBuffer"';return false}if(!ie.byteLength){re.error="Wrong parameter: inputBuffer has zero length";return false}if(oe<0){re.error="Wrong parameter: inputOffset less than zero";return false}if(se<0){re.error="Wrong parameter: inputLength less than zero";return false}if(ie.byteLength-oe-se<0){re.error="End of input reached before message was fully decoded (inconsistent offset and length values)";return false}return true}function utilFromBase(re,ie){let oe=0;if(re.length===1){return re[0]}for(let se=re.length-1;se>=0;se--){oe+=re[re.length-1-se]*Math.pow(2,ie*se)}return oe}function utilToBase(re,ie,oe=-1){const se=oe;let ae=re;let ce=0;let ue=Math.pow(2,ie);for(let oe=1;oe<8;oe++){if(re=0;re--){const oe=Math.pow(2,re*ie);ue[ce-re-1]=Math.floor(ae/oe);ae-=ue[ce-re-1]*oe}return re}ue*=Math.pow(2,ie)}return new ArrayBuffer(0)}function utilConcatBuf(...re){let ie=0;let oe=0;for(const oe of re){ie+=oe.byteLength}const se=new ArrayBuffer(ie);const ae=new Uint8Array(se);for(const ie of re){ae.set(new Uint8Array(ie),oe);oe+=ie.byteLength}return se}function utilConcatView(...re){let ie=0;let oe=0;for(const oe of re){ie+=oe.length}const se=new ArrayBuffer(ie);const ae=new Uint8Array(se);for(const ie of re){ae.set(ie,oe);oe+=ie.length}return ae}function utilDecodeTC(){const re=new Uint8Array(this.valueHex);if(this.valueHex.byteLength>=2){const ie=re[0]===255&&re[1]&128;const oe=re[0]===0&&(re[1]&128)===0;if(ie||oe){this.warnings.push("Needlessly long format")}}const ie=new ArrayBuffer(this.valueHex.byteLength);const oe=new Uint8Array(ie);for(let re=0;re=re.length){le=1}const oe=re.charCodeAt(ue++);if(ue>=re.length){fe=1}const se=re.charCodeAt(ue++);const ce=ie>>2;const he=(ie&3)<<4|oe>>4;let Ae=(oe&15)<<2|se>>6;let ge=se&63;if(le===1){Ae=ge=64}else{if(fe===1){ge=64}}if(ae){if(Ae===64){de+=`${pe.charAt(ce)}${pe.charAt(he)}`}else{if(ge===64){de+=`${pe.charAt(ce)}${pe.charAt(he)}${pe.charAt(Ae)}`}else{de+=`${pe.charAt(ce)}${pe.charAt(he)}${pe.charAt(Ae)}${pe.charAt(ge)}`}}}else{de+=`${pe.charAt(ce)}${pe.charAt(he)}${pe.charAt(Ae)}${pe.charAt(ge)}`}}return de}function fromBase64(re,ie=false,ae=false){const ce=ie?se:oe;function indexOf(re){for(let ie=0;ie<64;ie++){if(ce.charAt(ie)===re)return ie}return 64}function test(re){return re===64?0:re}let ue=0;let le="";while(ue=re.length?0:indexOf(re.charAt(ue++));const se=ue>=re.length?0:indexOf(re.charAt(ue++));const ae=ue>=re.length?0:indexOf(re.charAt(ue++));const ce=test(ie)<<2|test(oe)>>4;const fe=(test(oe)&15)<<4|test(se)>>2;const de=(test(se)&3)<<6|test(ae);le+=String.fromCharCode(ce);if(se!==64){le+=String.fromCharCode(fe)}if(ae!==64){le+=String.fromCharCode(de)}}if(ae){const re=le.length;let ie=-1;for(let oe=re-1;oe>=0;oe--){if(le.charCodeAt(oe)!==0){ie=oe;break}}if(ie!==-1){le=le.slice(0,ie+1)}else{le=""}}return le}function arrayBufferToString(re){let ie="";const oe=new Uint8Array(re);for(const re of oe){ie+=String.fromCharCode(re)}return ie}function stringToArrayBuffer(re){const ie=re.length;const oe=new ArrayBuffer(ie);const se=new Uint8Array(oe);for(let oe=0;oe{var se=oe(571),ae=oe(44383),ce=" ",ue=" ",toCell=function(re){return re?ce:ue},repeat=function(re){return{times:function(ie){return new Array(ie).join(re)}}},fill=function(re,ie){var oe=new Array(re);for(var se=0;se{var se=oe(29301);function QR8bitByte(re){this.mode=se.MODE_8BIT_BYTE;this.data=re}QR8bitByte.prototype={getLength:function(){return this.data.length},write:function(re){for(var ie=0;ie{function QRBitBuffer(){this.buffer=[];this.length=0}QRBitBuffer.prototype={get:function(re){var ie=Math.floor(re/8);return(this.buffer[ie]>>>7-re%8&1)==1},put:function(re,ie){for(var oe=0;oe>>ie-oe-1&1)==1)}},getLengthInBits:function(){return this.length},putBit:function(re){var ie=Math.floor(this.length/8);if(this.buffer.length<=ie){this.buffer.push(0)}if(re){this.buffer[ie]|=128>>>this.length%8}this.length++}};re.exports=QRBitBuffer},44383:re=>{re.exports={L:1,M:0,Q:3,H:2}},26887:re=>{re.exports={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7}},8997:re=>{var ie={glog:function(re){if(re<1){throw new Error("glog("+re+")")}return ie.LOG_TABLE[re]},gexp:function(re){while(re<0){re+=255}while(re>=256){re-=255}return ie.EXP_TABLE[re]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)};for(var oe=0;oe<8;oe++){ie.EXP_TABLE[oe]=1<{re.exports={MODE_NUMBER:1<<0,MODE_ALPHA_NUM:1<<1,MODE_8BIT_BYTE:1<<2,MODE_KANJI:1<<3}},43021:(re,ie,oe)=>{var se=oe(8997);function QRPolynomial(re,ie){if(re.length===undefined){throw new Error(re.length+"/"+ie)}var oe=0;while(oe{var se=oe(44383);function QRRSBlock(re,ie){this.totalCount=re;this.dataCount=ie}QRRSBlock.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]];QRRSBlock.getRSBlocks=function(re,ie){var oe=QRRSBlock.getRsBlockTable(re,ie);if(oe===undefined){throw new Error("bad rs block @ typeNumber:"+re+"/errorCorrectLevel:"+ie)}var se=oe.length/3;var ae=[];for(var ce=0;ce{var se=oe(29301);var ae=oe(43021);var ce=oe(8997);var ue=oe(26887);var le={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1<<10|1<<8|1<<5|1<<4|1<<2|1<<1|1<<0,G18:1<<12|1<<11|1<<10|1<<9|1<<8|1<<5|1<<2|1<<0,G15_MASK:1<<14|1<<12|1<<10|1<<4|1<<1,getBCHTypeInfo:function(re){var ie=re<<10;while(le.getBCHDigit(ie)-le.getBCHDigit(le.G15)>=0){ie^=le.G15<=0){ie^=le.G18<>>=1}return ie},getPatternPosition:function(re){return le.PATTERN_POSITION_TABLE[re-1]},getMask:function(re,ie,oe){switch(re){case ue.PATTERN000:return(ie+oe)%2===0;case ue.PATTERN001:return ie%2===0;case ue.PATTERN010:return oe%3===0;case ue.PATTERN011:return(ie+oe)%3===0;case ue.PATTERN100:return(Math.floor(ie/2)+Math.floor(oe/3))%2===0;case ue.PATTERN101:return ie*oe%2+ie*oe%3===0;case ue.PATTERN110:return(ie*oe%2+ie*oe%3)%2===0;case ue.PATTERN111:return(ie*oe%3+(ie+oe)%2)%2===0;default:throw new Error("bad maskPattern:"+re)}},getErrorCorrectPolynomial:function(re){var ie=new ae([1],0);for(var oe=0;oe5){oe+=3+ce-5}}}for(se=0;se{var se=oe(75436);var ae=oe(72832);var ce=oe(43021);var ue=oe(90649);var le=oe(74471);function QRCode(re,ie){this.typeNumber=re;this.errorCorrectLevel=ie;this.modules=null;this.moduleCount=0;this.dataCache=null;this.dataList=[]}QRCode.prototype={addData:function(re){var ie=new se(re);this.dataList.push(ie);this.dataCache=null},isDark:function(re,ie){if(re<0||this.moduleCount<=re||ie<0||this.moduleCount<=ie){throw new Error(re+","+ie)}return this.modules[re][ie]},getModuleCount:function(){return this.moduleCount},make:function(){if(this.typeNumber<1){var re=1;for(re=1;re<40;re++){var ie=ue.getRSBlocks(re,this.errorCorrectLevel);var oe=new le;var se=0;for(var ce=0;ce=7){this.setupTypeNumber(re)}if(this.dataCache===null){this.dataCache=QRCode.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)}this.mapData(this.dataCache,ie)},setupPositionProbePattern:function(re,ie){for(var oe=-1;oe<=7;oe++){if(re+oe<=-1||this.moduleCount<=re+oe)continue;for(var se=-1;se<=7;se++){if(ie+se<=-1||this.moduleCount<=ie+se)continue;if(0<=oe&&oe<=6&&(se===0||se===6)||0<=se&&se<=6&&(oe===0||oe===6)||2<=oe&&oe<=4&&2<=se&&se<=4){this.modules[re+oe][ie+se]=true}else{this.modules[re+oe][ie+se]=false}}}},getBestMaskPattern:function(){var re=0;var ie=0;for(var oe=0;oe<8;oe++){this.makeImpl(true,oe);var se=ae.getLostPoint(this);if(oe===0||re>se){re=se;ie=oe}}return ie},createMovieClip:function(re,ie,oe){var se=re.createEmptyMovieClip(ie,oe);var ae=1;this.make();for(var ce=0;ce>se&1)===1;this.modules[Math.floor(se/3)][se%3+this.moduleCount-8-3]=oe}for(var ce=0;ce<18;ce++){oe=!re&&(ie>>ce&1)===1;this.modules[ce%3+this.moduleCount-8-3][Math.floor(ce/3)]=oe}},setupTypeInfo:function(re,ie){var oe=this.errorCorrectLevel<<3|ie;var se=ae.getBCHTypeInfo(oe);var ce;for(var ue=0;ue<15;ue++){ce=!re&&(se>>ue&1)===1;if(ue<6){this.modules[ue][8]=ce}else if(ue<8){this.modules[ue+1][8]=ce}else{this.modules[this.moduleCount-15+ue][8]=ce}}for(var le=0;le<15;le++){ce=!re&&(se>>le&1)===1;if(le<8){this.modules[8][this.moduleCount-le-1]=ce}else if(le<9){this.modules[8][15-le-1+1]=ce}else{this.modules[8][15-le-1]=ce}}this.modules[this.moduleCount-8][8]=!re},mapData:function(re,ie){var oe=-1;var se=this.moduleCount-1;var ce=7;var ue=0;for(var le=this.moduleCount-1;le>0;le-=2){if(le===6)le--;while(true){for(var fe=0;fe<2;fe++){if(this.modules[se][le-fe]===null){var de=false;if(ue>>ce&1)===1}var pe=ae.getMask(ie,se,le-fe);if(pe){de=!de}this.modules[se][le-fe]=de;ce--;if(ce===-1){ue++;ce=7}}}se+=oe;if(se<0||this.moduleCount<=se){se-=oe;oe=-oe;break}}}}};QRCode.PAD0=236;QRCode.PAD1=17;QRCode.createData=function(re,ie,oe){var se=ue.getRSBlocks(re,ie);var ce=new le;for(var fe=0;fepe*8){throw new Error("code length overflow. ("+ce.getLengthInBits()+">"+pe*8+")")}if(ce.getLengthInBits()+4<=pe*8){ce.put(0,4)}while(ce.getLengthInBits()%8!==0){ce.putBit(false)}while(true){if(ce.getLengthInBits()>=pe*8){break}ce.put(QRCode.PAD0,8);if(ce.getLengthInBits()>=pe*8){break}ce.put(QRCode.PAD1,8)}return QRCode.createBytes(ce,se)};QRCode.createBytes=function(re,ie){var oe=0;var se=0;var ue=0;var le=new Array(ie.length);var fe=new Array(ie.length);for(var de=0;de=0?ye.get(be):0}}var we=0;for(var _e=0;_e{re.exports=oe(26874)},11239:re=>{"use strict";re.exports=class IdentifierIssuer{constructor(re,ie=new Map,oe=0){this.prefix=re;this._existing=ie;this.counter=oe}clone(){const{prefix:re,_existing:ie,counter:oe}=this;return new IdentifierIssuer(re,new Map(ie),oe)}getId(re){const ie=re&&this._existing.get(re);if(ie){return ie}const oe=this.prefix+this.counter;this.counter++;if(re){this._existing.set(re,oe)}return oe}hasId(re){return this._existing.has(re)}getOldIds(){return[...this._existing.keys()]}}},82282:(re,ie,oe)=>{"use strict";const se=oe(6113);re.exports=class MessageDigest{constructor(re){this.md=se.createHash(re)}update(re){this.md.update(re,"utf8")}digest(){return this.md.digest("hex")}}},31e3:re=>{"use strict"; +*/Object.defineProperty(pe,"__esModule",{value:true});function getUTCDate(R){return new Date(R.getTime()+R.getTimezoneOffset()*6e4)}function getParametersValue(R,pe,Ae){var he;if(R instanceof Object===false){return Ae}return(he=R[pe])!==null&&he!==void 0?he:Ae}function bufferToHexCodes(R,pe=0,Ae=R.byteLength-pe,he=false){let ge="";for(const me of new Uint8Array(R,pe,Ae)){const R=me.toString(16).toUpperCase();if(R.length===1){ge+="0"}ge+=R;if(he){ge+=" "}}return ge.trim()}function checkBufferParams(R,pe,Ae,he){if(!(pe instanceof ArrayBuffer)){R.error='Wrong parameter: inputBuffer must be "ArrayBuffer"';return false}if(!pe.byteLength){R.error="Wrong parameter: inputBuffer has zero length";return false}if(Ae<0){R.error="Wrong parameter: inputOffset less than zero";return false}if(he<0){R.error="Wrong parameter: inputLength less than zero";return false}if(pe.byteLength-Ae-he<0){R.error="End of input reached before message was fully decoded (inconsistent offset and length values)";return false}return true}function utilFromBase(R,pe){let Ae=0;if(R.length===1){return R[0]}for(let he=R.length-1;he>=0;he--){Ae+=R[R.length-1-he]*Math.pow(2,pe*he)}return Ae}function utilToBase(R,pe,Ae=-1){const he=Ae;let ge=R;let me=0;let ye=Math.pow(2,pe);for(let Ae=1;Ae<8;Ae++){if(R=0;R--){const Ae=Math.pow(2,R*pe);ye[me-R-1]=Math.floor(ge/Ae);ge-=ye[me-R-1]*Ae}return R}ye*=Math.pow(2,pe)}return new ArrayBuffer(0)}function utilConcatBuf(...R){let pe=0;let Ae=0;for(const Ae of R){pe+=Ae.byteLength}const he=new ArrayBuffer(pe);const ge=new Uint8Array(he);for(const pe of R){ge.set(new Uint8Array(pe),Ae);Ae+=pe.byteLength}return he}function utilConcatView(...R){let pe=0;let Ae=0;for(const Ae of R){pe+=Ae.length}const he=new ArrayBuffer(pe);const ge=new Uint8Array(he);for(const pe of R){ge.set(pe,Ae);Ae+=pe.length}return ge}function utilDecodeTC(){const R=new Uint8Array(this.valueHex);if(this.valueHex.byteLength>=2){const pe=R[0]===255&&R[1]&128;const Ae=R[0]===0&&(R[1]&128)===0;if(pe||Ae){this.warnings.push("Needlessly long format")}}const pe=new ArrayBuffer(this.valueHex.byteLength);const Ae=new Uint8Array(pe);for(let R=0;R=R.length){ve=1}const Ae=R.charCodeAt(ye++);if(ye>=R.length){be=1}const he=R.charCodeAt(ye++);const me=pe>>2;const we=(pe&3)<<4|Ae>>4;let Ie=(Ae&15)<<2|he>>6;let _e=he&63;if(ve===1){Ie=_e=64}else{if(be===1){_e=64}}if(ge){if(Ie===64){Ee+=`${Ce.charAt(me)}${Ce.charAt(we)}`}else{if(_e===64){Ee+=`${Ce.charAt(me)}${Ce.charAt(we)}${Ce.charAt(Ie)}`}else{Ee+=`${Ce.charAt(me)}${Ce.charAt(we)}${Ce.charAt(Ie)}${Ce.charAt(_e)}`}}}else{Ee+=`${Ce.charAt(me)}${Ce.charAt(we)}${Ce.charAt(Ie)}${Ce.charAt(_e)}`}}return Ee}function fromBase64(R,pe=false,ge=false){const me=pe?he:Ae;function indexOf(R){for(let pe=0;pe<64;pe++){if(me.charAt(pe)===R)return pe}return 64}function test(R){return R===64?0:R}let ye=0;let ve="";while(ye=R.length?0:indexOf(R.charAt(ye++));const he=ye>=R.length?0:indexOf(R.charAt(ye++));const ge=ye>=R.length?0:indexOf(R.charAt(ye++));const me=test(pe)<<2|test(Ae)>>4;const be=(test(Ae)&15)<<4|test(he)>>2;const Ee=(test(he)&3)<<6|test(ge);ve+=String.fromCharCode(me);if(he!==64){ve+=String.fromCharCode(be)}if(ge!==64){ve+=String.fromCharCode(Ee)}}if(ge){const R=ve.length;let pe=-1;for(let Ae=R-1;Ae>=0;Ae--){if(ve.charCodeAt(Ae)!==0){pe=Ae;break}}if(pe!==-1){ve=ve.slice(0,pe+1)}else{ve=""}}return ve}function arrayBufferToString(R){let pe="";const Ae=new Uint8Array(R);for(const R of Ae){pe+=String.fromCharCode(R)}return pe}function stringToArrayBuffer(R){const pe=R.length;const Ae=new ArrayBuffer(pe);const he=new Uint8Array(Ae);for(let Ae=0;Ae{var he=Ae(571),ge=Ae(44383),me=" ",ye=" ",toCell=function(R){return R?me:ye},repeat=function(R){return{times:function(pe){return new Array(pe).join(R)}}},fill=function(R,pe){var Ae=new Array(R);for(var he=0;he{var he=Ae(29301);function QR8bitByte(R){this.mode=he.MODE_8BIT_BYTE;this.data=R}QR8bitByte.prototype={getLength:function(){return this.data.length},write:function(R){for(var pe=0;pe{function QRBitBuffer(){this.buffer=[];this.length=0}QRBitBuffer.prototype={get:function(R){var pe=Math.floor(R/8);return(this.buffer[pe]>>>7-R%8&1)==1},put:function(R,pe){for(var Ae=0;Ae>>pe-Ae-1&1)==1)}},getLengthInBits:function(){return this.length},putBit:function(R){var pe=Math.floor(this.length/8);if(this.buffer.length<=pe){this.buffer.push(0)}if(R){this.buffer[pe]|=128>>>this.length%8}this.length++}};R.exports=QRBitBuffer},44383:R=>{R.exports={L:1,M:0,Q:3,H:2}},26887:R=>{R.exports={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7}},8997:R=>{var pe={glog:function(R){if(R<1){throw new Error("glog("+R+")")}return pe.LOG_TABLE[R]},gexp:function(R){while(R<0){R+=255}while(R>=256){R-=255}return pe.EXP_TABLE[R]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)};for(var Ae=0;Ae<8;Ae++){pe.EXP_TABLE[Ae]=1<{R.exports={MODE_NUMBER:1<<0,MODE_ALPHA_NUM:1<<1,MODE_8BIT_BYTE:1<<2,MODE_KANJI:1<<3}},43021:(R,pe,Ae)=>{var he=Ae(8997);function QRPolynomial(R,pe){if(R.length===undefined){throw new Error(R.length+"/"+pe)}var Ae=0;while(Ae{var he=Ae(44383);function QRRSBlock(R,pe){this.totalCount=R;this.dataCount=pe}QRRSBlock.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]];QRRSBlock.getRSBlocks=function(R,pe){var Ae=QRRSBlock.getRsBlockTable(R,pe);if(Ae===undefined){throw new Error("bad rs block @ typeNumber:"+R+"/errorCorrectLevel:"+pe)}var he=Ae.length/3;var ge=[];for(var me=0;me{var he=Ae(29301);var ge=Ae(43021);var me=Ae(8997);var ye=Ae(26887);var ve={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1<<10|1<<8|1<<5|1<<4|1<<2|1<<1|1<<0,G18:1<<12|1<<11|1<<10|1<<9|1<<8|1<<5|1<<2|1<<0,G15_MASK:1<<14|1<<12|1<<10|1<<4|1<<1,getBCHTypeInfo:function(R){var pe=R<<10;while(ve.getBCHDigit(pe)-ve.getBCHDigit(ve.G15)>=0){pe^=ve.G15<=0){pe^=ve.G18<>>=1}return pe},getPatternPosition:function(R){return ve.PATTERN_POSITION_TABLE[R-1]},getMask:function(R,pe,Ae){switch(R){case ye.PATTERN000:return(pe+Ae)%2===0;case ye.PATTERN001:return pe%2===0;case ye.PATTERN010:return Ae%3===0;case ye.PATTERN011:return(pe+Ae)%3===0;case ye.PATTERN100:return(Math.floor(pe/2)+Math.floor(Ae/3))%2===0;case ye.PATTERN101:return pe*Ae%2+pe*Ae%3===0;case ye.PATTERN110:return(pe*Ae%2+pe*Ae%3)%2===0;case ye.PATTERN111:return(pe*Ae%3+(pe+Ae)%2)%2===0;default:throw new Error("bad maskPattern:"+R)}},getErrorCorrectPolynomial:function(R){var pe=new ge([1],0);for(var Ae=0;Ae5){Ae+=3+me-5}}}for(he=0;he{var he=Ae(75436);var ge=Ae(72832);var me=Ae(43021);var ye=Ae(90649);var ve=Ae(74471);function QRCode(R,pe){this.typeNumber=R;this.errorCorrectLevel=pe;this.modules=null;this.moduleCount=0;this.dataCache=null;this.dataList=[]}QRCode.prototype={addData:function(R){var pe=new he(R);this.dataList.push(pe);this.dataCache=null},isDark:function(R,pe){if(R<0||this.moduleCount<=R||pe<0||this.moduleCount<=pe){throw new Error(R+","+pe)}return this.modules[R][pe]},getModuleCount:function(){return this.moduleCount},make:function(){if(this.typeNumber<1){var R=1;for(R=1;R<40;R++){var pe=ye.getRSBlocks(R,this.errorCorrectLevel);var Ae=new ve;var he=0;for(var me=0;me=7){this.setupTypeNumber(R)}if(this.dataCache===null){this.dataCache=QRCode.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)}this.mapData(this.dataCache,pe)},setupPositionProbePattern:function(R,pe){for(var Ae=-1;Ae<=7;Ae++){if(R+Ae<=-1||this.moduleCount<=R+Ae)continue;for(var he=-1;he<=7;he++){if(pe+he<=-1||this.moduleCount<=pe+he)continue;if(0<=Ae&&Ae<=6&&(he===0||he===6)||0<=he&&he<=6&&(Ae===0||Ae===6)||2<=Ae&&Ae<=4&&2<=he&&he<=4){this.modules[R+Ae][pe+he]=true}else{this.modules[R+Ae][pe+he]=false}}}},getBestMaskPattern:function(){var R=0;var pe=0;for(var Ae=0;Ae<8;Ae++){this.makeImpl(true,Ae);var he=ge.getLostPoint(this);if(Ae===0||R>he){R=he;pe=Ae}}return pe},createMovieClip:function(R,pe,Ae){var he=R.createEmptyMovieClip(pe,Ae);var ge=1;this.make();for(var me=0;me>he&1)===1;this.modules[Math.floor(he/3)][he%3+this.moduleCount-8-3]=Ae}for(var me=0;me<18;me++){Ae=!R&&(pe>>me&1)===1;this.modules[me%3+this.moduleCount-8-3][Math.floor(me/3)]=Ae}},setupTypeInfo:function(R,pe){var Ae=this.errorCorrectLevel<<3|pe;var he=ge.getBCHTypeInfo(Ae);var me;for(var ye=0;ye<15;ye++){me=!R&&(he>>ye&1)===1;if(ye<6){this.modules[ye][8]=me}else if(ye<8){this.modules[ye+1][8]=me}else{this.modules[this.moduleCount-15+ye][8]=me}}for(var ve=0;ve<15;ve++){me=!R&&(he>>ve&1)===1;if(ve<8){this.modules[8][this.moduleCount-ve-1]=me}else if(ve<9){this.modules[8][15-ve-1+1]=me}else{this.modules[8][15-ve-1]=me}}this.modules[this.moduleCount-8][8]=!R},mapData:function(R,pe){var Ae=-1;var he=this.moduleCount-1;var me=7;var ye=0;for(var ve=this.moduleCount-1;ve>0;ve-=2){if(ve===6)ve--;while(true){for(var be=0;be<2;be++){if(this.modules[he][ve-be]===null){var Ee=false;if(ye>>me&1)===1}var Ce=ge.getMask(pe,he,ve-be);if(Ce){Ee=!Ee}this.modules[he][ve-be]=Ee;me--;if(me===-1){ye++;me=7}}}he+=Ae;if(he<0||this.moduleCount<=he){he-=Ae;Ae=-Ae;break}}}}};QRCode.PAD0=236;QRCode.PAD1=17;QRCode.createData=function(R,pe,Ae){var he=ye.getRSBlocks(R,pe);var me=new ve;for(var be=0;beCe*8){throw new Error("code length overflow. ("+me.getLengthInBits()+">"+Ce*8+")")}if(me.getLengthInBits()+4<=Ce*8){me.put(0,4)}while(me.getLengthInBits()%8!==0){me.putBit(false)}while(true){if(me.getLengthInBits()>=Ce*8){break}me.put(QRCode.PAD0,8);if(me.getLengthInBits()>=Ce*8){break}me.put(QRCode.PAD1,8)}return QRCode.createBytes(me,he)};QRCode.createBytes=function(R,pe){var Ae=0;var he=0;var ye=0;var ve=new Array(pe.length);var be=new Array(pe.length);for(var Ee=0;Ee=0?Se.get(xe):0}}var De=0;for(var ke=0;ke{R.exports=Ae(26874)},11239:R=>{"use strict";R.exports=class IdentifierIssuer{constructor(R,pe=new Map,Ae=0){this.prefix=R;this._existing=pe;this.counter=Ae}clone(){const{prefix:R,_existing:pe,counter:Ae}=this;return new IdentifierIssuer(R,new Map(pe),Ae)}getId(R){const pe=R&&this._existing.get(R);if(pe){return pe}const Ae=this.prefix+this.counter;this.counter++;if(R){this._existing.set(R,Ae)}return Ae}hasId(R){return this._existing.has(R)}getOldIds(){return[...this._existing.keys()]}}},82282:(R,pe,Ae)=>{"use strict";const he=Ae(6113);R.exports=class MessageDigest{constructor(R){this.md=he.createHash(R)}update(R){this.md.update(R,"utf8")}digest(){return this.md.digest("hex")}}},31e3:R=>{"use strict"; /*! * Copyright (c) 2016-2022 Digital Bazaar, Inc. All rights reserved. - */const ie=null&&["subject","predicate","object","graph"];const oe="http://www.w3.org/1999/02/22-rdf-syntax-ns#";const se=oe+"langString";const ae="http://www.w3.org/2001/XMLSchema#string";const ce="NamedNode";const ue="BlankNode";const le="Literal";const fe="DefaultGraph";const de={};(()=>{const re="(?:<([^:]+:[^>]*)>)";const ie="A-Z"+"a-z"+"À-Ö"+"Ø-ö"+"ø-˿"+"Ͱ-ͽ"+"Ϳ-῿"+"‌-‍"+"⁰-↏"+"Ⰰ-⿯"+"、-퟿"+"豈-﷏"+"ﷰ-�";const oe=ie+"_";const se=oe+"0-9"+"-"+"·"+"̀-ͯ"+"‿-⁀";const ae="(_:"+"(?:["+oe+"0-9])"+"(?:(?:["+se+".])*(?:["+se+"]))?"+")";const ce=ae;const ue='"([^"\\\\]*(?:\\\\.[^"\\\\]*)*)"';const le="(?:\\^\\^"+re+")";const fe="(?:@([a-zA-Z]+(?:-[a-zA-Z0-9]+)*))";const pe="(?:"+ue+"(?:"+le+"|"+fe+")?)";const he="[ \\t]+";const Ae="[ \\t]*";const ge="(?:"+re+"|"+ce+")"+he;const me=re+he;const ye="(?:"+re+"|"+ce+"|"+pe+")"+Ae;const ve="(?:\\.|(?:(?:"+re+"|"+ce+")"+Ae+"\\.))";de.eoln=/(?:\r\n)|(?:\n)|(?:\r)/g;de.empty=new RegExp("^"+Ae+"$");de.quad=new RegExp("^"+Ae+ge+me+ye+ve+Ae+"$")})();re.exports=class NQuads{static parse(re){const ie=[];const oe={};const pe=re.split(de.eoln);let he=0;for(const re of pe){he++;if(de.empty.test(re)){continue}const pe=re.match(de.quad);if(pe===null){throw new Error("N-Quads parse error on line "+he+".")}const Ae={subject:null,predicate:null,object:null,graph:null};if(pe[1]!==undefined){Ae.subject={termType:ce,value:pe[1]}}else{Ae.subject={termType:ue,value:pe[2]}}Ae.predicate={termType:ce,value:pe[3]};if(pe[4]!==undefined){Ae.object={termType:ce,value:pe[4]}}else if(pe[5]!==undefined){Ae.object={termType:ue,value:pe[5]}}else{Ae.object={termType:le,value:undefined,datatype:{termType:ce}};if(pe[7]!==undefined){Ae.object.datatype.value=pe[7]}else if(pe[8]!==undefined){Ae.object.datatype.value=se;Ae.object.language=pe[8]}else{Ae.object.datatype.value=ae}Ae.object.value=_unescape(pe[6])}if(pe[9]!==undefined){Ae.graph={termType:ce,value:pe[9]}}else if(pe[10]!==undefined){Ae.graph={termType:ue,value:pe[10]}}else{Ae.graph={termType:fe,value:""}}if(!(Ae.graph.value in oe)){oe[Ae.graph.value]=[Ae];ie.push(Ae)}else{let re=true;const se=oe[Ae.graph.value];for(const ie of se){if(_compareTriples(ie,Ae)){re=false;break}}if(re){se.push(Ae);ie.push(Ae)}}}return ie}static serialize(re){if(!Array.isArray(re)){re=NQuads.legacyDatasetToQuads(re)}const ie=[];for(const oe of re){ie.push(NQuads.serializeQuad(oe))}return ie.sort().join("")}static serializeQuadComponents(re,ie,oe,le){let fe="";if(re.termType===ce){fe+=`<${re.value}>`}else{fe+=`${re.value}`}fe+=` <${ie.value}> `;if(oe.termType===ce){fe+=`<${oe.value}>`}else if(oe.termType===ue){fe+=oe.value}else{fe+=`"${_escape(oe.value)}"`;if(oe.datatype.value===se){if(oe.language){fe+=`@${oe.language}`}}else if(oe.datatype.value!==ae){fe+=`^^<${oe.datatype.value}>`}}if(le.termType===ce){fe+=` <${le.value}>`}else if(le.termType===ue){fe+=` ${le.value}`}fe+=" .\n";return fe}static serializeQuad(re){return NQuads.serializeQuadComponents(re.subject,re.predicate,re.object,re.graph)}static legacyDatasetToQuads(re){const ie=[];const oe={"blank node":ue,IRI:ce,literal:le};for(const de in re){const pe=re[de];pe.forEach((re=>{const pe={};for(const ie in re){const ue=re[ie];const fe={termType:oe[ue.type],value:ue.value};if(fe.termType===le){fe.datatype={termType:ce};if("datatype"in ue){fe.datatype.value=ue.datatype}if("language"in ue){if(!("datatype"in ue)){fe.datatype.value=se}fe.language=ue.language}else if(!("datatype"in ue)){fe.datatype.value=ae}}pe[ie]=fe}if(de==="@default"){pe.graph={termType:fe,value:""}}else{pe.graph={termType:de.startsWith("_:")?ue:ce,value:de}}ie.push(pe)}))}return ie}};function _compareTriples(re,ie){if(!(re.subject.termType===ie.subject.termType&&re.object.termType===ie.object.termType)){return false}if(!(re.subject.value===ie.subject.value&&re.predicate.value===ie.predicate.value&&re.object.value===ie.object.value)){return false}if(re.object.termType!==le){return true}return re.object.datatype.termType===ie.object.datatype.termType&&re.object.language===ie.object.language&&re.object.datatype.value===ie.object.datatype.value}const pe=/["\\\n\r]/g;function _escape(re){return re.replace(pe,(function(re){switch(re){case'"':return'\\"';case"\\":return"\\\\";case"\n":return"\\n";case"\r":return"\\r"}}))}const he=/(?:\\([tbnrf"'\\]))|(?:\\u([0-9A-Fa-f]{4}))|(?:\\U([0-9A-Fa-f]{8}))/g;function _unescape(re){return re.replace(he,(function(re,ie,oe,se){if(ie){switch(ie){case"t":return"\t";case"b":return"\b";case"n":return"\n";case"r":return"\r";case"f":return"\f";case'"':return'"';case"'":return"'";case"\\":return"\\"}}if(oe){return String.fromCharCode(parseInt(oe,16))}if(se){throw new Error("Unsupported U escape")}}))}},14099:re=>{"use strict"; + */const pe=null&&["subject","predicate","object","graph"];const Ae="http://www.w3.org/1999/02/22-rdf-syntax-ns#";const he=Ae+"langString";const ge="http://www.w3.org/2001/XMLSchema#string";const me="NamedNode";const ye="BlankNode";const ve="Literal";const be="DefaultGraph";const Ee={};(()=>{const R="(?:<([^:]+:[^>]*)>)";const pe="A-Z"+"a-z"+"À-Ö"+"Ø-ö"+"ø-˿"+"Ͱ-ͽ"+"Ϳ-῿"+"‌-‍"+"⁰-↏"+"Ⰰ-⿯"+"、-퟿"+"豈-﷏"+"ﷰ-�";const Ae=pe+"_";const he=Ae+"0-9"+"-"+"·"+"̀-ͯ"+"‿-⁀";const ge="(_:"+"(?:["+Ae+"0-9])"+"(?:(?:["+he+".])*(?:["+he+"]))?"+")";const me=ge;const ye='"([^"\\\\]*(?:\\\\.[^"\\\\]*)*)"';const ve="(?:\\^\\^"+R+")";const be="(?:@([a-zA-Z]+(?:-[a-zA-Z0-9]+)*))";const Ce="(?:"+ye+"(?:"+ve+"|"+be+")?)";const we="[ \\t]+";const Ie="[ \\t]*";const _e="(?:"+R+"|"+me+")"+we;const Be=R+we;const Se="(?:"+R+"|"+me+"|"+Ce+")"+Ie;const Qe="(?:\\.|(?:(?:"+R+"|"+me+")"+Ie+"\\.))";Ee.eoln=/(?:\r\n)|(?:\n)|(?:\r)/g;Ee.empty=new RegExp("^"+Ie+"$");Ee.quad=new RegExp("^"+Ie+_e+Be+Se+Qe+Ie+"$")})();R.exports=class NQuads{static parse(R){const pe=[];const Ae={};const Ce=R.split(Ee.eoln);let we=0;for(const R of Ce){we++;if(Ee.empty.test(R)){continue}const Ce=R.match(Ee.quad);if(Ce===null){throw new Error("N-Quads parse error on line "+we+".")}const Ie={subject:null,predicate:null,object:null,graph:null};if(Ce[1]!==undefined){Ie.subject={termType:me,value:Ce[1]}}else{Ie.subject={termType:ye,value:Ce[2]}}Ie.predicate={termType:me,value:Ce[3]};if(Ce[4]!==undefined){Ie.object={termType:me,value:Ce[4]}}else if(Ce[5]!==undefined){Ie.object={termType:ye,value:Ce[5]}}else{Ie.object={termType:ve,value:undefined,datatype:{termType:me}};if(Ce[7]!==undefined){Ie.object.datatype.value=Ce[7]}else if(Ce[8]!==undefined){Ie.object.datatype.value=he;Ie.object.language=Ce[8]}else{Ie.object.datatype.value=ge}Ie.object.value=_unescape(Ce[6])}if(Ce[9]!==undefined){Ie.graph={termType:me,value:Ce[9]}}else if(Ce[10]!==undefined){Ie.graph={termType:ye,value:Ce[10]}}else{Ie.graph={termType:be,value:""}}if(!(Ie.graph.value in Ae)){Ae[Ie.graph.value]=[Ie];pe.push(Ie)}else{let R=true;const he=Ae[Ie.graph.value];for(const pe of he){if(_compareTriples(pe,Ie)){R=false;break}}if(R){he.push(Ie);pe.push(Ie)}}}return pe}static serialize(R){if(!Array.isArray(R)){R=NQuads.legacyDatasetToQuads(R)}const pe=[];for(const Ae of R){pe.push(NQuads.serializeQuad(Ae))}return pe.sort().join("")}static serializeQuadComponents(R,pe,Ae,ve){let be="";if(R.termType===me){be+=`<${R.value}>`}else{be+=`${R.value}`}be+=` <${pe.value}> `;if(Ae.termType===me){be+=`<${Ae.value}>`}else if(Ae.termType===ye){be+=Ae.value}else{be+=`"${_escape(Ae.value)}"`;if(Ae.datatype.value===he){if(Ae.language){be+=`@${Ae.language}`}}else if(Ae.datatype.value!==ge){be+=`^^<${Ae.datatype.value}>`}}if(ve.termType===me){be+=` <${ve.value}>`}else if(ve.termType===ye){be+=` ${ve.value}`}be+=" .\n";return be}static serializeQuad(R){return NQuads.serializeQuadComponents(R.subject,R.predicate,R.object,R.graph)}static legacyDatasetToQuads(R){const pe=[];const Ae={"blank node":ye,IRI:me,literal:ve};for(const Ee in R){const Ce=R[Ee];Ce.forEach((R=>{const Ce={};for(const pe in R){const ye=R[pe];const be={termType:Ae[ye.type],value:ye.value};if(be.termType===ve){be.datatype={termType:me};if("datatype"in ye){be.datatype.value=ye.datatype}if("language"in ye){if(!("datatype"in ye)){be.datatype.value=he}be.language=ye.language}else if(!("datatype"in ye)){be.datatype.value=ge}}Ce[pe]=be}if(Ee==="@default"){Ce.graph={termType:be,value:""}}else{Ce.graph={termType:Ee.startsWith("_:")?ye:me,value:Ee}}pe.push(Ce)}))}return pe}};function _compareTriples(R,pe){if(!(R.subject.termType===pe.subject.termType&&R.object.termType===pe.object.termType)){return false}if(!(R.subject.value===pe.subject.value&&R.predicate.value===pe.predicate.value&&R.object.value===pe.object.value)){return false}if(R.object.termType!==ve){return true}return R.object.datatype.termType===pe.object.datatype.termType&&R.object.language===pe.object.language&&R.object.datatype.value===pe.object.datatype.value}const Ce=/["\\\n\r]/g;function _escape(R){return R.replace(Ce,(function(R){switch(R){case'"':return'\\"';case"\\":return"\\\\";case"\n":return"\\n";case"\r":return"\\r"}}))}const we=/(?:\\([tbnrf"'\\]))|(?:\\u([0-9A-Fa-f]{4}))|(?:\\U([0-9A-Fa-f]{8}))/g;function _unescape(R){return R.replace(we,(function(R,pe,Ae,he){if(pe){switch(pe){case"t":return"\t";case"b":return"\b";case"n":return"\n";case"r":return"\r";case"f":return"\f";case'"':return'"';case"'":return"'";case"\\":return"\\"}}if(Ae){return String.fromCharCode(parseInt(Ae,16))}if(he){throw new Error("Unsupported U escape")}}))}},14099:R=>{"use strict"; /*! * Copyright (c) 2016-2022 Digital Bazaar, Inc. All rights reserved. - */re.exports=class Permuter{constructor(re){this.current=re.sort();this.done=false;this.dir=new Map;for(let ie=0;iese)&&(le&&oe>0&&ue>re[oe-1]||!le&&oere[oe+1])){se=ue;ae=oe}}if(se===null){this.done=true}else{const oe=ie.get(se)?ae-1:ae+1;re[ae]=re[oe];re[oe]=se;for(const oe of re){if(oe>se){ie.set(oe,!ie.get(oe))}}}return oe}}},78721:(re,ie,oe)=>{"use strict"; + */R.exports=class Permuter{constructor(R){this.current=R.sort();this.done=false;this.dir=new Map;for(let pe=0;pehe)&&(ve&&Ae>0&&ye>R[Ae-1]||!ve&&AeR[Ae+1])){he=ye;ge=Ae}}if(he===null){this.done=true}else{const Ae=pe.get(he)?ge-1:ge+1;R[ge]=R[Ae];R[Ae]=he;for(const Ae of R){if(Ae>he){pe.set(Ae,!pe.get(Ae))}}}return Ae}}},78721:(R,pe,Ae)=>{"use strict"; /*! * Copyright (c) 2016-2022 Digital Bazaar, Inc. All rights reserved. - */const se=oe(11239);const ae=oe(82282);const ce=oe(14099);const ue=oe(31e3);re.exports=class URDNA2015{constructor({createMessageDigest:re=(()=>new ae("sha256")),canonicalIdMap:ie=new Map,maxDeepIterations:oe=Infinity}={}){this.name="URDNA2015";this.blankNodeInfo=new Map;this.canonicalIssuer=new se("_:c14n",ie);this.createMessageDigest=re;this.maxDeepIterations=oe;this.quads=null;this.deepIterations=null}async main(re){this.deepIterations=new Map;this.quads=re;for(const ie of re){this._addBlankNodeQuadInfo({quad:ie,component:ie.subject});this._addBlankNodeQuadInfo({quad:ie,component:ie.object});this._addBlankNodeQuadInfo({quad:ie,component:ie.graph})}const ie=new Map;const oe=[...this.blankNodeInfo.keys()];let ae=0;for(const re of oe){if(++ae%100===0){await this._yield()}await this._hashAndTrackBlankNode({id:re,hashToBlankNodes:ie})}const ce=[...ie.keys()].sort();const le=[];for(const re of ce){const oe=ie.get(re);if(oe.length>1){le.push(oe);continue}const se=oe[0];this.canonicalIssuer.getId(se)}for(const re of le){const ie=[];for(const oe of re){if(this.canonicalIssuer.hasId(oe)){continue}const re=new se("_:b");re.getId(oe);const ae=await this.hashNDegreeQuads(oe,re);ie.push(ae)}ie.sort(_stringHashCompare);for(const re of ie){const ie=re.issuer.getOldIds();for(const re of ie){this.canonicalIssuer.getId(re)}}}const fe=[];for(const re of this.quads){const ie=ue.serializeQuadComponents(this._componentWithCanonicalId(re.subject),re.predicate,this._componentWithCanonicalId(re.object),this._componentWithCanonicalId(re.graph));fe.push(ie)}fe.sort();return fe.join("")}async hashFirstDegreeQuads(re){const ie=[];const oe=this.blankNodeInfo.get(re);const se=oe.quads;for(const oe of se){const se={subject:null,predicate:oe.predicate,object:null,graph:null};se.subject=this.modifyFirstDegreeComponent(re,oe.subject,"subject");se.object=this.modifyFirstDegreeComponent(re,oe.object,"object");se.graph=this.modifyFirstDegreeComponent(re,oe.graph,"graph");ie.push(ue.serializeQuad(se))}ie.sort();const ae=this.createMessageDigest();for(const re of ie){ae.update(re)}oe.hash=await ae.digest();return oe.hash}async hashRelatedBlankNode(re,ie,oe,se){let ae;if(this.canonicalIssuer.hasId(re)){ae=this.canonicalIssuer.getId(re)}else if(oe.hasId(re)){ae=oe.getId(re)}else{ae=this.blankNodeInfo.get(re).hash}const ce=this.createMessageDigest();ce.update(se);if(se!=="g"){ce.update(this.getRelatedPredicate(ie))}ce.update(ae);return ce.digest()}async hashNDegreeQuads(re,ie){const oe=this.deepIterations.get(re)||0;if(oe>this.maxDeepIterations){throw new Error(`Maximum deep iterations (${this.maxDeepIterations}) exceeded.`)}this.deepIterations.set(re,oe+1);const se=this.createMessageDigest();const ae=await this.createHashToRelated(re,ie);const ue=[...ae.keys()].sort();for(const re of ue){se.update(re);let oe="";let ue;const le=new ce(ae.get(re));let fe=0;while(le.hasNext()){const re=le.next();if(++fe%3===0){await this._yield()}let se=ie.clone();let ae="";const ce=[];let de=false;for(const ie of re){if(this.canonicalIssuer.hasId(ie)){ae+=this.canonicalIssuer.getId(ie)}else{if(!se.hasId(ie)){ce.push(ie)}ae+=se.getId(ie)}if(oe.length!==0&&ae>oe){de=true;break}}if(de){continue}for(const re of ce){const ie=await this.hashNDegreeQuads(re,se);ae+=se.getId(re);ae+=`<${ie.hash}>`;se=ie.issuer;if(oe.length!==0&&ae>oe){de=true;break}}if(de){continue}if(oe.length===0||ae`}async createHashToRelated(re,ie){const oe=new Map;const se=this.blankNodeInfo.get(re).quads;let ae=0;for(const ce of se){if(++ae%100===0){await this._yield()}await Promise.all([this._addRelatedBlankNodeHash({quad:ce,component:ce.subject,position:"s",id:re,issuer:ie,hashToRelated:oe}),this._addRelatedBlankNodeHash({quad:ce,component:ce.object,position:"o",id:re,issuer:ie,hashToRelated:oe}),this._addRelatedBlankNodeHash({quad:ce,component:ce.graph,position:"g",id:re,issuer:ie,hashToRelated:oe})])}return oe}async _hashAndTrackBlankNode({id:re,hashToBlankNodes:ie}){const oe=await this.hashFirstDegreeQuads(re);const se=ie.get(oe);if(!se){ie.set(oe,[re])}else{se.push(re)}}_addBlankNodeQuadInfo({quad:re,component:ie}){if(ie.termType!=="BlankNode"){return}const oe=ie.value;const se=this.blankNodeInfo.get(oe);if(se){se.quads.add(re)}else{this.blankNodeInfo.set(oe,{quads:new Set([re]),hash:null})}}async _addRelatedBlankNodeHash({quad:re,component:ie,position:oe,id:se,issuer:ae,hashToRelated:ce}){if(!(ie.termType==="BlankNode"&&ie.value!==se)){return}const ue=ie.value;const le=await this.hashRelatedBlankNode(ue,re,ae,oe);const fe=ce.get(le);if(fe){fe.push(ue)}else{ce.set(le,[ue])}}_componentWithCanonicalId(re){if(re.termType==="BlankNode"&&!re.value.startsWith(this.canonicalIssuer.prefix)){return{termType:"BlankNode",value:this.canonicalIssuer.getId(re.value)}}return re}async _yield(){return new Promise((re=>setImmediate(re)))}};function _stringHashCompare(re,ie){return re.hashie.hash?1:0}},23153:(re,ie,oe)=>{"use strict"; + */const he=Ae(11239);const ge=Ae(82282);const me=Ae(14099);const ye=Ae(31e3);R.exports=class URDNA2015{constructor({createMessageDigest:R=(()=>new ge("sha256")),canonicalIdMap:pe=new Map,maxDeepIterations:Ae=Infinity}={}){this.name="URDNA2015";this.blankNodeInfo=new Map;this.canonicalIssuer=new he("_:c14n",pe);this.createMessageDigest=R;this.maxDeepIterations=Ae;this.quads=null;this.deepIterations=null}async main(R){this.deepIterations=new Map;this.quads=R;for(const pe of R){this._addBlankNodeQuadInfo({quad:pe,component:pe.subject});this._addBlankNodeQuadInfo({quad:pe,component:pe.object});this._addBlankNodeQuadInfo({quad:pe,component:pe.graph})}const pe=new Map;const Ae=[...this.blankNodeInfo.keys()];let ge=0;for(const R of Ae){if(++ge%100===0){await this._yield()}await this._hashAndTrackBlankNode({id:R,hashToBlankNodes:pe})}const me=[...pe.keys()].sort();const ve=[];for(const R of me){const Ae=pe.get(R);if(Ae.length>1){ve.push(Ae);continue}const he=Ae[0];this.canonicalIssuer.getId(he)}for(const R of ve){const pe=[];for(const Ae of R){if(this.canonicalIssuer.hasId(Ae)){continue}const R=new he("_:b");R.getId(Ae);const ge=await this.hashNDegreeQuads(Ae,R);pe.push(ge)}pe.sort(_stringHashCompare);for(const R of pe){const pe=R.issuer.getOldIds();for(const R of pe){this.canonicalIssuer.getId(R)}}}const be=[];for(const R of this.quads){const pe=ye.serializeQuadComponents(this._componentWithCanonicalId(R.subject),R.predicate,this._componentWithCanonicalId(R.object),this._componentWithCanonicalId(R.graph));be.push(pe)}be.sort();return be.join("")}async hashFirstDegreeQuads(R){const pe=[];const Ae=this.blankNodeInfo.get(R);const he=Ae.quads;for(const Ae of he){const he={subject:null,predicate:Ae.predicate,object:null,graph:null};he.subject=this.modifyFirstDegreeComponent(R,Ae.subject,"subject");he.object=this.modifyFirstDegreeComponent(R,Ae.object,"object");he.graph=this.modifyFirstDegreeComponent(R,Ae.graph,"graph");pe.push(ye.serializeQuad(he))}pe.sort();const ge=this.createMessageDigest();for(const R of pe){ge.update(R)}Ae.hash=await ge.digest();return Ae.hash}async hashRelatedBlankNode(R,pe,Ae,he){let ge;if(this.canonicalIssuer.hasId(R)){ge=this.canonicalIssuer.getId(R)}else if(Ae.hasId(R)){ge=Ae.getId(R)}else{ge=this.blankNodeInfo.get(R).hash}const me=this.createMessageDigest();me.update(he);if(he!=="g"){me.update(this.getRelatedPredicate(pe))}me.update(ge);return me.digest()}async hashNDegreeQuads(R,pe){const Ae=this.deepIterations.get(R)||0;if(Ae>this.maxDeepIterations){throw new Error(`Maximum deep iterations (${this.maxDeepIterations}) exceeded.`)}this.deepIterations.set(R,Ae+1);const he=this.createMessageDigest();const ge=await this.createHashToRelated(R,pe);const ye=[...ge.keys()].sort();for(const R of ye){he.update(R);let Ae="";let ye;const ve=new me(ge.get(R));let be=0;while(ve.hasNext()){const R=ve.next();if(++be%3===0){await this._yield()}let he=pe.clone();let ge="";const me=[];let Ee=false;for(const pe of R){if(this.canonicalIssuer.hasId(pe)){ge+=this.canonicalIssuer.getId(pe)}else{if(!he.hasId(pe)){me.push(pe)}ge+=he.getId(pe)}if(Ae.length!==0&&ge>Ae){Ee=true;break}}if(Ee){continue}for(const R of me){const pe=await this.hashNDegreeQuads(R,he);ge+=he.getId(R);ge+=`<${pe.hash}>`;he=pe.issuer;if(Ae.length!==0&&ge>Ae){Ee=true;break}}if(Ee){continue}if(Ae.length===0||ge`}async createHashToRelated(R,pe){const Ae=new Map;const he=this.blankNodeInfo.get(R).quads;let ge=0;for(const me of he){if(++ge%100===0){await this._yield()}await Promise.all([this._addRelatedBlankNodeHash({quad:me,component:me.subject,position:"s",id:R,issuer:pe,hashToRelated:Ae}),this._addRelatedBlankNodeHash({quad:me,component:me.object,position:"o",id:R,issuer:pe,hashToRelated:Ae}),this._addRelatedBlankNodeHash({quad:me,component:me.graph,position:"g",id:R,issuer:pe,hashToRelated:Ae})])}return Ae}async _hashAndTrackBlankNode({id:R,hashToBlankNodes:pe}){const Ae=await this.hashFirstDegreeQuads(R);const he=pe.get(Ae);if(!he){pe.set(Ae,[R])}else{he.push(R)}}_addBlankNodeQuadInfo({quad:R,component:pe}){if(pe.termType!=="BlankNode"){return}const Ae=pe.value;const he=this.blankNodeInfo.get(Ae);if(he){he.quads.add(R)}else{this.blankNodeInfo.set(Ae,{quads:new Set([R]),hash:null})}}async _addRelatedBlankNodeHash({quad:R,component:pe,position:Ae,id:he,issuer:ge,hashToRelated:me}){if(!(pe.termType==="BlankNode"&&pe.value!==he)){return}const ye=pe.value;const ve=await this.hashRelatedBlankNode(ye,R,ge,Ae);const be=me.get(ve);if(be){be.push(ye)}else{me.set(ve,[ye])}}_componentWithCanonicalId(R){if(R.termType==="BlankNode"&&!R.value.startsWith(this.canonicalIssuer.prefix)){return{termType:"BlankNode",value:this.canonicalIssuer.getId(R.value)}}return R}async _yield(){return new Promise((R=>setImmediate(R)))}};function _stringHashCompare(R,pe){return R.hashpe.hash?1:0}},23153:(R,pe,Ae)=>{"use strict"; /*! * Copyright (c) 2016-2022 Digital Bazaar, Inc. All rights reserved. - */const se=oe(11239);const ae=oe(82282);const ce=oe(14099);const ue=oe(31e3);re.exports=class URDNA2015Sync{constructor({createMessageDigest:re=(()=>new ae("sha256")),canonicalIdMap:ie=new Map,maxDeepIterations:oe=Infinity}={}){this.name="URDNA2015";this.blankNodeInfo=new Map;this.canonicalIssuer=new se("_:c14n",ie);this.createMessageDigest=re;this.maxDeepIterations=oe;this.quads=null;this.deepIterations=null}main(re){this.deepIterations=new Map;this.quads=re;for(const ie of re){this._addBlankNodeQuadInfo({quad:ie,component:ie.subject});this._addBlankNodeQuadInfo({quad:ie,component:ie.object});this._addBlankNodeQuadInfo({quad:ie,component:ie.graph})}const ie=new Map;const oe=[...this.blankNodeInfo.keys()];for(const re of oe){this._hashAndTrackBlankNode({id:re,hashToBlankNodes:ie})}const ae=[...ie.keys()].sort();const ce=[];for(const re of ae){const oe=ie.get(re);if(oe.length>1){ce.push(oe);continue}const se=oe[0];this.canonicalIssuer.getId(se)}for(const re of ce){const ie=[];for(const oe of re){if(this.canonicalIssuer.hasId(oe)){continue}const re=new se("_:b");re.getId(oe);const ae=this.hashNDegreeQuads(oe,re);ie.push(ae)}ie.sort(_stringHashCompare);for(const re of ie){const ie=re.issuer.getOldIds();for(const re of ie){this.canonicalIssuer.getId(re)}}}const le=[];for(const re of this.quads){const ie=ue.serializeQuadComponents(this._componentWithCanonicalId({component:re.subject}),re.predicate,this._componentWithCanonicalId({component:re.object}),this._componentWithCanonicalId({component:re.graph}));le.push(ie)}le.sort();return le.join("")}hashFirstDegreeQuads(re){const ie=[];const oe=this.blankNodeInfo.get(re);const se=oe.quads;for(const oe of se){const se={subject:null,predicate:oe.predicate,object:null,graph:null};se.subject=this.modifyFirstDegreeComponent(re,oe.subject,"subject");se.object=this.modifyFirstDegreeComponent(re,oe.object,"object");se.graph=this.modifyFirstDegreeComponent(re,oe.graph,"graph");ie.push(ue.serializeQuad(se))}ie.sort();const ae=this.createMessageDigest();for(const re of ie){ae.update(re)}oe.hash=ae.digest();return oe.hash}hashRelatedBlankNode(re,ie,oe,se){let ae;if(this.canonicalIssuer.hasId(re)){ae=this.canonicalIssuer.getId(re)}else if(oe.hasId(re)){ae=oe.getId(re)}else{ae=this.blankNodeInfo.get(re).hash}const ce=this.createMessageDigest();ce.update(se);if(se!=="g"){ce.update(this.getRelatedPredicate(ie))}ce.update(ae);return ce.digest()}hashNDegreeQuads(re,ie){const oe=this.deepIterations.get(re)||0;if(oe>this.maxDeepIterations){throw new Error(`Maximum deep iterations (${this.maxDeepIterations}) exceeded.`)}this.deepIterations.set(re,oe+1);const se=this.createMessageDigest();const ae=this.createHashToRelated(re,ie);const ue=[...ae.keys()].sort();for(const re of ue){se.update(re);let oe="";let ue;const le=new ce(ae.get(re));while(le.hasNext()){const re=le.next();let se=ie.clone();let ae="";const ce=[];let fe=false;for(const ie of re){if(this.canonicalIssuer.hasId(ie)){ae+=this.canonicalIssuer.getId(ie)}else{if(!se.hasId(ie)){ce.push(ie)}ae+=se.getId(ie)}if(oe.length!==0&&ae>oe){fe=true;break}}if(fe){continue}for(const re of ce){const ie=this.hashNDegreeQuads(re,se);ae+=se.getId(re);ae+=`<${ie.hash}>`;se=ie.issuer;if(oe.length!==0&&ae>oe){fe=true;break}}if(fe){continue}if(oe.length===0||ae`}createHashToRelated(re,ie){const oe=new Map;const se=this.blankNodeInfo.get(re).quads;for(const ae of se){this._addRelatedBlankNodeHash({quad:ae,component:ae.subject,position:"s",id:re,issuer:ie,hashToRelated:oe});this._addRelatedBlankNodeHash({quad:ae,component:ae.object,position:"o",id:re,issuer:ie,hashToRelated:oe});this._addRelatedBlankNodeHash({quad:ae,component:ae.graph,position:"g",id:re,issuer:ie,hashToRelated:oe})}return oe}_hashAndTrackBlankNode({id:re,hashToBlankNodes:ie}){const oe=this.hashFirstDegreeQuads(re);const se=ie.get(oe);if(!se){ie.set(oe,[re])}else{se.push(re)}}_addBlankNodeQuadInfo({quad:re,component:ie}){if(ie.termType!=="BlankNode"){return}const oe=ie.value;const se=this.blankNodeInfo.get(oe);if(se){se.quads.add(re)}else{this.blankNodeInfo.set(oe,{quads:new Set([re]),hash:null})}}_addRelatedBlankNodeHash({quad:re,component:ie,position:oe,id:se,issuer:ae,hashToRelated:ce}){if(!(ie.termType==="BlankNode"&&ie.value!==se)){return}const ue=ie.value;const le=this.hashRelatedBlankNode(ue,re,ae,oe);const fe=ce.get(le);if(fe){fe.push(ue)}else{ce.set(le,[ue])}}_componentWithCanonicalId({component:re}){if(re.termType==="BlankNode"&&!re.value.startsWith(this.canonicalIssuer.prefix)){return{termType:"BlankNode",value:this.canonicalIssuer.getId(re.value)}}return re}};function _stringHashCompare(re,ie){return re.hashie.hash?1:0}},61100:(re,ie,oe)=>{"use strict"; + */const he=Ae(11239);const ge=Ae(82282);const me=Ae(14099);const ye=Ae(31e3);R.exports=class URDNA2015Sync{constructor({createMessageDigest:R=(()=>new ge("sha256")),canonicalIdMap:pe=new Map,maxDeepIterations:Ae=Infinity}={}){this.name="URDNA2015";this.blankNodeInfo=new Map;this.canonicalIssuer=new he("_:c14n",pe);this.createMessageDigest=R;this.maxDeepIterations=Ae;this.quads=null;this.deepIterations=null}main(R){this.deepIterations=new Map;this.quads=R;for(const pe of R){this._addBlankNodeQuadInfo({quad:pe,component:pe.subject});this._addBlankNodeQuadInfo({quad:pe,component:pe.object});this._addBlankNodeQuadInfo({quad:pe,component:pe.graph})}const pe=new Map;const Ae=[...this.blankNodeInfo.keys()];for(const R of Ae){this._hashAndTrackBlankNode({id:R,hashToBlankNodes:pe})}const ge=[...pe.keys()].sort();const me=[];for(const R of ge){const Ae=pe.get(R);if(Ae.length>1){me.push(Ae);continue}const he=Ae[0];this.canonicalIssuer.getId(he)}for(const R of me){const pe=[];for(const Ae of R){if(this.canonicalIssuer.hasId(Ae)){continue}const R=new he("_:b");R.getId(Ae);const ge=this.hashNDegreeQuads(Ae,R);pe.push(ge)}pe.sort(_stringHashCompare);for(const R of pe){const pe=R.issuer.getOldIds();for(const R of pe){this.canonicalIssuer.getId(R)}}}const ve=[];for(const R of this.quads){const pe=ye.serializeQuadComponents(this._componentWithCanonicalId({component:R.subject}),R.predicate,this._componentWithCanonicalId({component:R.object}),this._componentWithCanonicalId({component:R.graph}));ve.push(pe)}ve.sort();return ve.join("")}hashFirstDegreeQuads(R){const pe=[];const Ae=this.blankNodeInfo.get(R);const he=Ae.quads;for(const Ae of he){const he={subject:null,predicate:Ae.predicate,object:null,graph:null};he.subject=this.modifyFirstDegreeComponent(R,Ae.subject,"subject");he.object=this.modifyFirstDegreeComponent(R,Ae.object,"object");he.graph=this.modifyFirstDegreeComponent(R,Ae.graph,"graph");pe.push(ye.serializeQuad(he))}pe.sort();const ge=this.createMessageDigest();for(const R of pe){ge.update(R)}Ae.hash=ge.digest();return Ae.hash}hashRelatedBlankNode(R,pe,Ae,he){let ge;if(this.canonicalIssuer.hasId(R)){ge=this.canonicalIssuer.getId(R)}else if(Ae.hasId(R)){ge=Ae.getId(R)}else{ge=this.blankNodeInfo.get(R).hash}const me=this.createMessageDigest();me.update(he);if(he!=="g"){me.update(this.getRelatedPredicate(pe))}me.update(ge);return me.digest()}hashNDegreeQuads(R,pe){const Ae=this.deepIterations.get(R)||0;if(Ae>this.maxDeepIterations){throw new Error(`Maximum deep iterations (${this.maxDeepIterations}) exceeded.`)}this.deepIterations.set(R,Ae+1);const he=this.createMessageDigest();const ge=this.createHashToRelated(R,pe);const ye=[...ge.keys()].sort();for(const R of ye){he.update(R);let Ae="";let ye;const ve=new me(ge.get(R));while(ve.hasNext()){const R=ve.next();let he=pe.clone();let ge="";const me=[];let be=false;for(const pe of R){if(this.canonicalIssuer.hasId(pe)){ge+=this.canonicalIssuer.getId(pe)}else{if(!he.hasId(pe)){me.push(pe)}ge+=he.getId(pe)}if(Ae.length!==0&&ge>Ae){be=true;break}}if(be){continue}for(const R of me){const pe=this.hashNDegreeQuads(R,he);ge+=he.getId(R);ge+=`<${pe.hash}>`;he=pe.issuer;if(Ae.length!==0&&ge>Ae){be=true;break}}if(be){continue}if(Ae.length===0||ge`}createHashToRelated(R,pe){const Ae=new Map;const he=this.blankNodeInfo.get(R).quads;for(const ge of he){this._addRelatedBlankNodeHash({quad:ge,component:ge.subject,position:"s",id:R,issuer:pe,hashToRelated:Ae});this._addRelatedBlankNodeHash({quad:ge,component:ge.object,position:"o",id:R,issuer:pe,hashToRelated:Ae});this._addRelatedBlankNodeHash({quad:ge,component:ge.graph,position:"g",id:R,issuer:pe,hashToRelated:Ae})}return Ae}_hashAndTrackBlankNode({id:R,hashToBlankNodes:pe}){const Ae=this.hashFirstDegreeQuads(R);const he=pe.get(Ae);if(!he){pe.set(Ae,[R])}else{he.push(R)}}_addBlankNodeQuadInfo({quad:R,component:pe}){if(pe.termType!=="BlankNode"){return}const Ae=pe.value;const he=this.blankNodeInfo.get(Ae);if(he){he.quads.add(R)}else{this.blankNodeInfo.set(Ae,{quads:new Set([R]),hash:null})}}_addRelatedBlankNodeHash({quad:R,component:pe,position:Ae,id:he,issuer:ge,hashToRelated:me}){if(!(pe.termType==="BlankNode"&&pe.value!==he)){return}const ye=pe.value;const ve=this.hashRelatedBlankNode(ye,R,ge,Ae);const be=me.get(ve);if(be){be.push(ye)}else{me.set(ve,[ye])}}_componentWithCanonicalId({component:R}){if(R.termType==="BlankNode"&&!R.value.startsWith(this.canonicalIssuer.prefix)){return{termType:"BlankNode",value:this.canonicalIssuer.getId(R.value)}}return R}};function _stringHashCompare(R,pe){return R.hashpe.hash?1:0}},61100:(R,pe,Ae)=>{"use strict"; /*! * Copyright (c) 2016-2022 Digital Bazaar, Inc. All rights reserved. - */const se=oe(82282);const ae=oe(78721);re.exports=class URDNA2012 extends ae{constructor(){super();this.name="URGNA2012";this.createMessageDigest=()=>new se("sha1")}modifyFirstDegreeComponent(re,ie,oe){if(ie.termType!=="BlankNode"){return ie}if(oe==="graph"){return{termType:"BlankNode",value:"_:g"}}return{termType:"BlankNode",value:ie.value===re?"_:a":"_:z"}}getRelatedPredicate(re){return re.predicate.value}async createHashToRelated(re,ie){const oe=new Map;const se=this.blankNodeInfo.get(re).quads;let ae=0;for(const ce of se){let se;let ue;if(ce.subject.termType==="BlankNode"&&ce.subject.value!==re){ue=ce.subject.value;se="p"}else if(ce.object.termType==="BlankNode"&&ce.object.value!==re){ue=ce.object.value;se="r"}else{continue}if(++ae%100===0){await this._yield()}const le=await this.hashRelatedBlankNode(ue,ce,ie,se);const fe=oe.get(le);if(fe){fe.push(ue)}else{oe.set(le,[ue])}}return oe}}},99921:(re,ie,oe)=>{"use strict"; + */const he=Ae(82282);const ge=Ae(78721);R.exports=class URDNA2012 extends ge{constructor(){super();this.name="URGNA2012";this.createMessageDigest=()=>new he("sha1")}modifyFirstDegreeComponent(R,pe,Ae){if(pe.termType!=="BlankNode"){return pe}if(Ae==="graph"){return{termType:"BlankNode",value:"_:g"}}return{termType:"BlankNode",value:pe.value===R?"_:a":"_:z"}}getRelatedPredicate(R){return R.predicate.value}async createHashToRelated(R,pe){const Ae=new Map;const he=this.blankNodeInfo.get(R).quads;let ge=0;for(const me of he){let he;let ye;if(me.subject.termType==="BlankNode"&&me.subject.value!==R){ye=me.subject.value;he="p"}else if(me.object.termType==="BlankNode"&&me.object.value!==R){ye=me.object.value;he="r"}else{continue}if(++ge%100===0){await this._yield()}const ve=await this.hashRelatedBlankNode(ye,me,pe,he);const be=Ae.get(ve);if(be){be.push(ye)}else{Ae.set(ve,[ye])}}return Ae}}},99921:(R,pe,Ae)=>{"use strict"; /*! * Copyright (c) 2016-2021 Digital Bazaar, Inc. All rights reserved. - */const se=oe(82282);const ae=oe(23153);re.exports=class URDNA2012Sync extends ae{constructor(){super();this.name="URGNA2012";this.createMessageDigest=()=>new se("sha1")}modifyFirstDegreeComponent(re,ie,oe){if(ie.termType!=="BlankNode"){return ie}if(oe==="graph"){return{termType:"BlankNode",value:"_:g"}}return{termType:"BlankNode",value:ie.value===re?"_:a":"_:z"}}getRelatedPredicate(re){return re.predicate.value}createHashToRelated(re,ie){const oe=new Map;const se=this.blankNodeInfo.get(re).quads;for(const ae of se){let se;let ce;if(ae.subject.termType==="BlankNode"&&ae.subject.value!==re){ce=ae.subject.value;se="p"}else if(ae.object.termType==="BlankNode"&&ae.object.value!==re){ce=ae.object.value;se="r"}else{continue}const ue=this.hashRelatedBlankNode(ce,ae,ie,se);const le=oe.get(ue);if(le){le.push(ce)}else{oe.set(ue,[ce])}}return oe}}},26874:(re,ie,oe)=>{"use strict";const se=oe(78721);const ae=oe(61100);const ce=oe(23153);const ue=oe(99921);let le;try{le=oe(12276)}catch(re){}function _inputToDataset(re){if(!Array.isArray(re)){return ie.NQuads.legacyDatasetToQuads(re)}return re}ie.NQuads=oe(31e3);ie.IdentifierIssuer=oe(11239);ie._rdfCanonizeNative=function(re){if(re){le=re}return le};ie.canonize=async function(re,ie){const oe=_inputToDataset(re,ie);if(ie.useNative){if(!le){throw new Error("rdf-canonize-native not available")}if(ie.createMessageDigest){throw new Error('"createMessageDigest" cannot be used with "useNative".')}return new Promise(((re,se)=>le.canonize(oe,ie,((ie,oe)=>ie?se(ie):re(oe)))))}if(ie.algorithm==="URDNA2015"){return new se(ie).main(oe)}if(ie.algorithm==="URGNA2012"){if(ie.createMessageDigest){throw new Error('"createMessageDigest" cannot be used with "URGNA2012".')}return new ae(ie).main(oe)}if(!("algorithm"in ie)){throw new Error("No RDF Dataset Canonicalization algorithm specified.")}throw new Error("Invalid RDF Dataset Canonicalization algorithm: "+ie.algorithm)};ie._canonizeSync=function(re,ie){const oe=_inputToDataset(re,ie);if(ie.useNative){if(!le){throw new Error("rdf-canonize-native not available")}if(ie.createMessageDigest){throw new Error('"createMessageDigest" cannot be used with "useNative".')}return le.canonizeSync(oe,ie)}if(ie.algorithm==="URDNA2015"){return new ce(ie).main(oe)}if(ie.algorithm==="URGNA2012"){if(ie.createMessageDigest){throw new Error('"createMessageDigest" cannot be used with "URGNA2012".')}return new ue(ie).main(oe)}if(!("algorithm"in ie)){throw new Error("No RDF Dataset Canonicalization algorithm specified.")}throw new Error("Invalid RDF Dataset Canonicalization algorithm: "+ie.algorithm)}},89200:(re,ie,oe)=>{"use strict";var se=oe(57147),ae=oe(71017).join,ce=oe(71017).resolve,ue=oe(71017).dirname,le={extensions:["js","json","coffee"],recurse:true,rename:function(re){return re},visit:function(re){return re}};function checkFileInclusion(re,ie,oe){return new RegExp("\\.("+oe.extensions.join("|")+")$","i").test(ie)&&!(oe.include&&oe.include instanceof RegExp&&!oe.include.test(re))&&!(oe.include&&typeof oe.include==="function"&&!oe.include(re,ie))&&!(oe.exclude&&oe.exclude instanceof RegExp&&oe.exclude.test(re))&&!(oe.exclude&&typeof oe.exclude==="function"&&oe.exclude(re,ie))}function requireDirectory(re,ie,oe){var fe={};if(ie&&!oe&&typeof ie!=="string"){oe=ie;ie=null}oe=oe||{};for(var de in le){if(typeof oe[de]==="undefined"){oe[de]=le[de]}}ie=!ie?ue(re.filename):ce(ue(re.filename),ie);se.readdirSync(ie).forEach((function(ce){var ue=ae(ie,ce),le,de,pe;if(se.statSync(ue).isDirectory()&&oe.recurse){le=requireDirectory(re,ue,oe);if(Object.keys(le).length){fe[oe.rename(ce,ue,ce)]=le}}else{if(ue!==re.filename&&checkFileInclusion(ue,ce,oe)){de=ce.substring(0,ce.lastIndexOf("."));pe=re.require(ue);fe[oe.rename(de,ue,ce)]=oe.visit(pe,ue,ce)||pe}}}));return fe}re.exports=requireDirectory;re.exports.defaults=le},1752:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;Object.defineProperty(re,se,{enumerable:true,get:function(){return ie[oe]}})}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__exportStar||function(re,ie){for(var oe in re)if(oe!=="default"&&!Object.prototype.hasOwnProperty.call(ie,oe))se(ie,re,oe)};Object.defineProperty(ie,"__esModule",{value:true});ie.interval=ie.iif=ie.generate=ie.fromEventPattern=ie.fromEvent=ie.from=ie.forkJoin=ie.empty=ie.defer=ie.connectable=ie.concat=ie.combineLatest=ie.bindNodeCallback=ie.bindCallback=ie.UnsubscriptionError=ie.TimeoutError=ie.SequenceError=ie.ObjectUnsubscribedError=ie.NotFoundError=ie.EmptyError=ie.ArgumentOutOfRangeError=ie.firstValueFrom=ie.lastValueFrom=ie.isObservable=ie.identity=ie.noop=ie.pipe=ie.NotificationKind=ie.Notification=ie.Subscriber=ie.Subscription=ie.Scheduler=ie.VirtualAction=ie.VirtualTimeScheduler=ie.animationFrameScheduler=ie.animationFrame=ie.queueScheduler=ie.queue=ie.asyncScheduler=ie.async=ie.asapScheduler=ie.asap=ie.AsyncSubject=ie.ReplaySubject=ie.BehaviorSubject=ie.Subject=ie.animationFrames=ie.observable=ie.ConnectableObservable=ie.Observable=void 0;ie.filter=ie.expand=ie.exhaustMap=ie.exhaustAll=ie.exhaust=ie.every=ie.endWith=ie.elementAt=ie.distinctUntilKeyChanged=ie.distinctUntilChanged=ie.distinct=ie.dematerialize=ie.delayWhen=ie.delay=ie.defaultIfEmpty=ie.debounceTime=ie.debounce=ie.count=ie.connect=ie.concatWith=ie.concatMapTo=ie.concatMap=ie.concatAll=ie.combineLatestWith=ie.combineLatestAll=ie.combineAll=ie.catchError=ie.bufferWhen=ie.bufferToggle=ie.bufferTime=ie.bufferCount=ie.buffer=ie.auditTime=ie.audit=ie.config=ie.NEVER=ie.EMPTY=ie.scheduled=ie.zip=ie.using=ie.timer=ie.throwError=ie.range=ie.race=ie.partition=ie.pairs=ie.onErrorResumeNext=ie.of=ie.never=ie.merge=void 0;ie.switchMap=ie.switchAll=ie.subscribeOn=ie.startWith=ie.skipWhile=ie.skipUntil=ie.skipLast=ie.skip=ie.single=ie.shareReplay=ie.share=ie.sequenceEqual=ie.scan=ie.sampleTime=ie.sample=ie.refCount=ie.retryWhen=ie.retry=ie.repeatWhen=ie.repeat=ie.reduce=ie.raceWith=ie.publishReplay=ie.publishLast=ie.publishBehavior=ie.publish=ie.pluck=ie.pairwise=ie.onErrorResumeNextWith=ie.observeOn=ie.multicast=ie.min=ie.mergeWith=ie.mergeScan=ie.mergeMapTo=ie.mergeMap=ie.flatMap=ie.mergeAll=ie.max=ie.materialize=ie.mapTo=ie.map=ie.last=ie.isEmpty=ie.ignoreElements=ie.groupBy=ie.first=ie.findIndex=ie.find=ie.finalize=void 0;ie.zipWith=ie.zipAll=ie.withLatestFrom=ie.windowWhen=ie.windowToggle=ie.windowTime=ie.windowCount=ie.window=ie.toArray=ie.timestamp=ie.timeoutWith=ie.timeout=ie.timeInterval=ie.throwIfEmpty=ie.throttleTime=ie.throttle=ie.tap=ie.takeWhile=ie.takeUntil=ie.takeLast=ie.take=ie.switchScan=ie.switchMapTo=void 0;var ce=oe(53014);Object.defineProperty(ie,"Observable",{enumerable:true,get:function(){return ce.Observable}});var ue=oe(30420);Object.defineProperty(ie,"ConnectableObservable",{enumerable:true,get:function(){return ue.ConnectableObservable}});var le=oe(17186);Object.defineProperty(ie,"observable",{enumerable:true,get:function(){return le.observable}});var fe=oe(38197);Object.defineProperty(ie,"animationFrames",{enumerable:true,get:function(){return fe.animationFrames}});var de=oe(49944);Object.defineProperty(ie,"Subject",{enumerable:true,get:function(){return de.Subject}});var pe=oe(23473);Object.defineProperty(ie,"BehaviorSubject",{enumerable:true,get:function(){return pe.BehaviorSubject}});var he=oe(22351);Object.defineProperty(ie,"ReplaySubject",{enumerable:true,get:function(){return he.ReplaySubject}});var Ae=oe(9747);Object.defineProperty(ie,"AsyncSubject",{enumerable:true,get:function(){return Ae.AsyncSubject}});var ge=oe(43905);Object.defineProperty(ie,"asap",{enumerable:true,get:function(){return ge.asap}});Object.defineProperty(ie,"asapScheduler",{enumerable:true,get:function(){return ge.asapScheduler}});var me=oe(76072);Object.defineProperty(ie,"async",{enumerable:true,get:function(){return me.async}});Object.defineProperty(ie,"asyncScheduler",{enumerable:true,get:function(){return me.asyncScheduler}});var ye=oe(82059);Object.defineProperty(ie,"queue",{enumerable:true,get:function(){return ye.queue}});Object.defineProperty(ie,"queueScheduler",{enumerable:true,get:function(){return ye.queueScheduler}});var ve=oe(51359);Object.defineProperty(ie,"animationFrame",{enumerable:true,get:function(){return ve.animationFrame}});Object.defineProperty(ie,"animationFrameScheduler",{enumerable:true,get:function(){return ve.animationFrameScheduler}});var be=oe(75348);Object.defineProperty(ie,"VirtualTimeScheduler",{enumerable:true,get:function(){return be.VirtualTimeScheduler}});Object.defineProperty(ie,"VirtualAction",{enumerable:true,get:function(){return be.VirtualAction}});var we=oe(76243);Object.defineProperty(ie,"Scheduler",{enumerable:true,get:function(){return we.Scheduler}});var _e=oe(79548);Object.defineProperty(ie,"Subscription",{enumerable:true,get:function(){return _e.Subscription}});var Ee=oe(67121);Object.defineProperty(ie,"Subscriber",{enumerable:true,get:function(){return Ee.Subscriber}});var Ce=oe(12241);Object.defineProperty(ie,"Notification",{enumerable:true,get:function(){return Ce.Notification}});Object.defineProperty(ie,"NotificationKind",{enumerable:true,get:function(){return Ce.NotificationKind}});var Ie=oe(49587);Object.defineProperty(ie,"pipe",{enumerable:true,get:function(){return Ie.pipe}});var Se=oe(11642);Object.defineProperty(ie,"noop",{enumerable:true,get:function(){return Se.noop}});var Be=oe(60283);Object.defineProperty(ie,"identity",{enumerable:true,get:function(){return Be.identity}});var xe=oe(72259);Object.defineProperty(ie,"isObservable",{enumerable:true,get:function(){return xe.isObservable}});var ke=oe(49713);Object.defineProperty(ie,"lastValueFrom",{enumerable:true,get:function(){return ke.lastValueFrom}});var Oe=oe(19369);Object.defineProperty(ie,"firstValueFrom",{enumerable:true,get:function(){return Oe.firstValueFrom}});var De=oe(49796);Object.defineProperty(ie,"ArgumentOutOfRangeError",{enumerable:true,get:function(){return De.ArgumentOutOfRangeError}});var Pe=oe(99391);Object.defineProperty(ie,"EmptyError",{enumerable:true,get:function(){return Pe.EmptyError}});var Te=oe(74431);Object.defineProperty(ie,"NotFoundError",{enumerable:true,get:function(){return Te.NotFoundError}});var Qe=oe(95266);Object.defineProperty(ie,"ObjectUnsubscribedError",{enumerable:true,get:function(){return Qe.ObjectUnsubscribedError}});var Re=oe(49048);Object.defineProperty(ie,"SequenceError",{enumerable:true,get:function(){return Re.SequenceError}});var Me=oe(12051);Object.defineProperty(ie,"TimeoutError",{enumerable:true,get:function(){return Me.TimeoutError}});var Ne=oe(56776);Object.defineProperty(ie,"UnsubscriptionError",{enumerable:true,get:function(){return Ne.UnsubscriptionError}});var je=oe(16949);Object.defineProperty(ie,"bindCallback",{enumerable:true,get:function(){return je.bindCallback}});var Le=oe(51150);Object.defineProperty(ie,"bindNodeCallback",{enumerable:true,get:function(){return Le.bindNodeCallback}});var Fe=oe(46843);Object.defineProperty(ie,"combineLatest",{enumerable:true,get:function(){return Fe.combineLatest}});var Ue=oe(4675);Object.defineProperty(ie,"concat",{enumerable:true,get:function(){return Ue.concat}});var He=oe(13152);Object.defineProperty(ie,"connectable",{enumerable:true,get:function(){return He.connectable}});var qe=oe(27672);Object.defineProperty(ie,"defer",{enumerable:true,get:function(){return qe.defer}});var Ke=oe(70437);Object.defineProperty(ie,"empty",{enumerable:true,get:function(){return Ke.empty}});var Ve=oe(47358);Object.defineProperty(ie,"forkJoin",{enumerable:true,get:function(){return Ve.forkJoin}});var Je=oe(18309);Object.defineProperty(ie,"from",{enumerable:true,get:function(){return Je.from}});var We=oe(93238);Object.defineProperty(ie,"fromEvent",{enumerable:true,get:function(){return We.fromEvent}});var Ge=oe(65680);Object.defineProperty(ie,"fromEventPattern",{enumerable:true,get:function(){return Ge.fromEventPattern}});var Ye=oe(52668);Object.defineProperty(ie,"generate",{enumerable:true,get:function(){return Ye.generate}});var ze=oe(26514);Object.defineProperty(ie,"iif",{enumerable:true,get:function(){return ze.iif}});var $e=oe(20029);Object.defineProperty(ie,"interval",{enumerable:true,get:function(){return $e.interval}});var Ze=oe(75122);Object.defineProperty(ie,"merge",{enumerable:true,get:function(){return Ze.merge}});var Xe=oe(6228);Object.defineProperty(ie,"never",{enumerable:true,get:function(){return Xe.never}});var et=oe(72163);Object.defineProperty(ie,"of",{enumerable:true,get:function(){return et.of}});var tt=oe(16089);Object.defineProperty(ie,"onErrorResumeNext",{enumerable:true,get:function(){return tt.onErrorResumeNext}});var rt=oe(30505);Object.defineProperty(ie,"pairs",{enumerable:true,get:function(){return rt.pairs}});var nt=oe(15506);Object.defineProperty(ie,"partition",{enumerable:true,get:function(){return nt.partition}});var it=oe(16940);Object.defineProperty(ie,"race",{enumerable:true,get:function(){return it.race}});var ot=oe(88538);Object.defineProperty(ie,"range",{enumerable:true,get:function(){return ot.range}});var st=oe(66381);Object.defineProperty(ie,"throwError",{enumerable:true,get:function(){return st.throwError}});var at=oe(59757);Object.defineProperty(ie,"timer",{enumerable:true,get:function(){return at.timer}});var ct=oe(8445);Object.defineProperty(ie,"using",{enumerable:true,get:function(){return ct.using}});var ut=oe(62504);Object.defineProperty(ie,"zip",{enumerable:true,get:function(){return ut.zip}});var ft=oe(6151);Object.defineProperty(ie,"scheduled",{enumerable:true,get:function(){return ft.scheduled}});var dt=oe(70437);Object.defineProperty(ie,"EMPTY",{enumerable:true,get:function(){return dt.EMPTY}});var pt=oe(6228);Object.defineProperty(ie,"NEVER",{enumerable:true,get:function(){return pt.NEVER}});ae(oe(36639),ie);var ht=oe(92233);Object.defineProperty(ie,"config",{enumerable:true,get:function(){return ht.config}});var At=oe(82704);Object.defineProperty(ie,"audit",{enumerable:true,get:function(){return At.audit}});var mt=oe(18780);Object.defineProperty(ie,"auditTime",{enumerable:true,get:function(){return mt.auditTime}});var yt=oe(34253);Object.defineProperty(ie,"buffer",{enumerable:true,get:function(){return yt.buffer}});var vt=oe(17253);Object.defineProperty(ie,"bufferCount",{enumerable:true,get:function(){return vt.bufferCount}});var bt=oe(73102);Object.defineProperty(ie,"bufferTime",{enumerable:true,get:function(){return bt.bufferTime}});var wt=oe(83781);Object.defineProperty(ie,"bufferToggle",{enumerable:true,get:function(){return wt.bufferToggle}});var _t=oe(82855);Object.defineProperty(ie,"bufferWhen",{enumerable:true,get:function(){return _t.bufferWhen}});var Et=oe(37765);Object.defineProperty(ie,"catchError",{enumerable:true,get:function(){return Et.catchError}});var Ct=oe(88817);Object.defineProperty(ie,"combineAll",{enumerable:true,get:function(){return Ct.combineAll}});var It=oe(91063);Object.defineProperty(ie,"combineLatestAll",{enumerable:true,get:function(){return It.combineLatestAll}});var St=oe(19044);Object.defineProperty(ie,"combineLatestWith",{enumerable:true,get:function(){return St.combineLatestWith}});var Bt=oe(88049);Object.defineProperty(ie,"concatAll",{enumerable:true,get:function(){return Bt.concatAll}});var xt=oe(19130);Object.defineProperty(ie,"concatMap",{enumerable:true,get:function(){return xt.concatMap}});var kt=oe(61596);Object.defineProperty(ie,"concatMapTo",{enumerable:true,get:function(){return kt.concatMapTo}});var Ot=oe(97998);Object.defineProperty(ie,"concatWith",{enumerable:true,get:function(){return Ot.concatWith}});var Dt=oe(51101);Object.defineProperty(ie,"connect",{enumerable:true,get:function(){return Dt.connect}});var Pt=oe(36571);Object.defineProperty(ie,"count",{enumerable:true,get:function(){return Pt.count}});var Tt=oe(19348);Object.defineProperty(ie,"debounce",{enumerable:true,get:function(){return Tt.debounce}});var Qt=oe(62379);Object.defineProperty(ie,"debounceTime",{enumerable:true,get:function(){return Qt.debounceTime}});var Rt=oe(30621);Object.defineProperty(ie,"defaultIfEmpty",{enumerable:true,get:function(){return Rt.defaultIfEmpty}});var Mt=oe(99818);Object.defineProperty(ie,"delay",{enumerable:true,get:function(){return Mt.delay}});var Nt=oe(16994);Object.defineProperty(ie,"delayWhen",{enumerable:true,get:function(){return Nt.delayWhen}});var jt=oe(95338);Object.defineProperty(ie,"dematerialize",{enumerable:true,get:function(){return jt.dematerialize}});var Lt=oe(52594);Object.defineProperty(ie,"distinct",{enumerable:true,get:function(){return Lt.distinct}});var Ft=oe(20632);Object.defineProperty(ie,"distinctUntilChanged",{enumerable:true,get:function(){return Ft.distinctUntilChanged}});var Ut=oe(13809);Object.defineProperty(ie,"distinctUntilKeyChanged",{enumerable:true,get:function(){return Ut.distinctUntilKeyChanged}});var Ht=oe(73381);Object.defineProperty(ie,"elementAt",{enumerable:true,get:function(){return Ht.elementAt}});var qt=oe(42961);Object.defineProperty(ie,"endWith",{enumerable:true,get:function(){return qt.endWith}});var Kt=oe(69559);Object.defineProperty(ie,"every",{enumerable:true,get:function(){return Kt.every}});var Vt=oe(75686);Object.defineProperty(ie,"exhaust",{enumerable:true,get:function(){return Vt.exhaust}});var Jt=oe(79777);Object.defineProperty(ie,"exhaustAll",{enumerable:true,get:function(){return Jt.exhaustAll}});var Wt=oe(21527);Object.defineProperty(ie,"exhaustMap",{enumerable:true,get:function(){return Wt.exhaustMap}});var Gt=oe(21585);Object.defineProperty(ie,"expand",{enumerable:true,get:function(){return Gt.expand}});var Yt=oe(36894);Object.defineProperty(ie,"filter",{enumerable:true,get:function(){return Yt.filter}});var zt=oe(4013);Object.defineProperty(ie,"finalize",{enumerable:true,get:function(){return zt.finalize}});var $t=oe(28981);Object.defineProperty(ie,"find",{enumerable:true,get:function(){return $t.find}});var Zt=oe(92602);Object.defineProperty(ie,"findIndex",{enumerable:true,get:function(){return Zt.findIndex}});var Xt=oe(63345);Object.defineProperty(ie,"first",{enumerable:true,get:function(){return Xt.first}});var er=oe(51650);Object.defineProperty(ie,"groupBy",{enumerable:true,get:function(){return er.groupBy}});var tr=oe(31062);Object.defineProperty(ie,"ignoreElements",{enumerable:true,get:function(){return tr.ignoreElements}});var rr=oe(77722);Object.defineProperty(ie,"isEmpty",{enumerable:true,get:function(){return rr.isEmpty}});var nr=oe(46831);Object.defineProperty(ie,"last",{enumerable:true,get:function(){return nr.last}});var ir=oe(5987);Object.defineProperty(ie,"map",{enumerable:true,get:function(){return ir.map}});var sr=oe(52300);Object.defineProperty(ie,"mapTo",{enumerable:true,get:function(){return sr.mapTo}});var ar=oe(67108);Object.defineProperty(ie,"materialize",{enumerable:true,get:function(){return ar.materialize}});var cr=oe(17314);Object.defineProperty(ie,"max",{enumerable:true,get:function(){return cr.max}});var ur=oe(2057);Object.defineProperty(ie,"mergeAll",{enumerable:true,get:function(){return ur.mergeAll}});var lr=oe(40186);Object.defineProperty(ie,"flatMap",{enumerable:true,get:function(){return lr.flatMap}});var fr=oe(69914);Object.defineProperty(ie,"mergeMap",{enumerable:true,get:function(){return fr.mergeMap}});var dr=oe(49151);Object.defineProperty(ie,"mergeMapTo",{enumerable:true,get:function(){return dr.mergeMapTo}});var pr=oe(11519);Object.defineProperty(ie,"mergeScan",{enumerable:true,get:function(){return pr.mergeScan}});var hr=oe(31564);Object.defineProperty(ie,"mergeWith",{enumerable:true,get:function(){return hr.mergeWith}});var Ar=oe(87641);Object.defineProperty(ie,"min",{enumerable:true,get:function(){return Ar.min}});var gr=oe(65457);Object.defineProperty(ie,"multicast",{enumerable:true,get:function(){return gr.multicast}});var mr=oe(22451);Object.defineProperty(ie,"observeOn",{enumerable:true,get:function(){return mr.observeOn}});var yr=oe(33569);Object.defineProperty(ie,"onErrorResumeNextWith",{enumerable:true,get:function(){return yr.onErrorResumeNextWith}});var vr=oe(52206);Object.defineProperty(ie,"pairwise",{enumerable:true,get:function(){return vr.pairwise}});var br=oe(16073);Object.defineProperty(ie,"pluck",{enumerable:true,get:function(){return br.pluck}});var wr=oe(84084);Object.defineProperty(ie,"publish",{enumerable:true,get:function(){return wr.publish}});var _r=oe(40045);Object.defineProperty(ie,"publishBehavior",{enumerable:true,get:function(){return _r.publishBehavior}});var Er=oe(84149);Object.defineProperty(ie,"publishLast",{enumerable:true,get:function(){return Er.publishLast}});var Cr=oe(47656);Object.defineProperty(ie,"publishReplay",{enumerable:true,get:function(){return Cr.publishReplay}});var Ir=oe(58008);Object.defineProperty(ie,"raceWith",{enumerable:true,get:function(){return Ir.raceWith}});var Sr=oe(62087);Object.defineProperty(ie,"reduce",{enumerable:true,get:function(){return Sr.reduce}});var Br=oe(22418);Object.defineProperty(ie,"repeat",{enumerable:true,get:function(){return Br.repeat}});var xr=oe(70754);Object.defineProperty(ie,"repeatWhen",{enumerable:true,get:function(){return xr.repeatWhen}});var kr=oe(56251);Object.defineProperty(ie,"retry",{enumerable:true,get:function(){return kr.retry}});var Or=oe(69018);Object.defineProperty(ie,"retryWhen",{enumerable:true,get:function(){return Or.retryWhen}});var Dr=oe(2331);Object.defineProperty(ie,"refCount",{enumerable:true,get:function(){return Dr.refCount}});var Pr=oe(13774);Object.defineProperty(ie,"sample",{enumerable:true,get:function(){return Pr.sample}});var Tr=oe(49807);Object.defineProperty(ie,"sampleTime",{enumerable:true,get:function(){return Tr.sampleTime}});var Qr=oe(25578);Object.defineProperty(ie,"scan",{enumerable:true,get:function(){return Qr.scan}});var Rr=oe(16126);Object.defineProperty(ie,"sequenceEqual",{enumerable:true,get:function(){return Rr.sequenceEqual}});var Mr=oe(48960);Object.defineProperty(ie,"share",{enumerable:true,get:function(){return Mr.share}});var Nr=oe(92118);Object.defineProperty(ie,"shareReplay",{enumerable:true,get:function(){return Nr.shareReplay}});var jr=oe(58441);Object.defineProperty(ie,"single",{enumerable:true,get:function(){return jr.single}});var Lr=oe(80947);Object.defineProperty(ie,"skip",{enumerable:true,get:function(){return Lr.skip}});var Fr=oe(65865);Object.defineProperty(ie,"skipLast",{enumerable:true,get:function(){return Fr.skipLast}});var Ur=oe(41110);Object.defineProperty(ie,"skipUntil",{enumerable:true,get:function(){return Ur.skipUntil}});var Hr=oe(92550);Object.defineProperty(ie,"skipWhile",{enumerable:true,get:function(){return Hr.skipWhile}});var qr=oe(25471);Object.defineProperty(ie,"startWith",{enumerable:true,get:function(){return qr.startWith}});var Kr=oe(7224);Object.defineProperty(ie,"subscribeOn",{enumerable:true,get:function(){return Kr.subscribeOn}});var Vr=oe(40327);Object.defineProperty(ie,"switchAll",{enumerable:true,get:function(){return Vr.switchAll}});var Jr=oe(26704);Object.defineProperty(ie,"switchMap",{enumerable:true,get:function(){return Jr.switchMap}});var Wr=oe(1713);Object.defineProperty(ie,"switchMapTo",{enumerable:true,get:function(){return Wr.switchMapTo}});var Gr=oe(13355);Object.defineProperty(ie,"switchScan",{enumerable:true,get:function(){return Gr.switchScan}});var Yr=oe(33698);Object.defineProperty(ie,"take",{enumerable:true,get:function(){return Yr.take}});var zr=oe(65041);Object.defineProperty(ie,"takeLast",{enumerable:true,get:function(){return zr.takeLast}});var $r=oe(55150);Object.defineProperty(ie,"takeUntil",{enumerable:true,get:function(){return $r.takeUntil}});var Zr=oe(76700);Object.defineProperty(ie,"takeWhile",{enumerable:true,get:function(){return Zr.takeWhile}});var Xr=oe(48845);Object.defineProperty(ie,"tap",{enumerable:true,get:function(){return Xr.tap}});var en=oe(36713);Object.defineProperty(ie,"throttle",{enumerable:true,get:function(){return en.throttle}});var tn=oe(83435);Object.defineProperty(ie,"throttleTime",{enumerable:true,get:function(){return tn.throttleTime}});var rn=oe(91566);Object.defineProperty(ie,"throwIfEmpty",{enumerable:true,get:function(){return rn.throwIfEmpty}});var nn=oe(14643);Object.defineProperty(ie,"timeInterval",{enumerable:true,get:function(){return nn.timeInterval}});var on=oe(12051);Object.defineProperty(ie,"timeout",{enumerable:true,get:function(){return on.timeout}});var sn=oe(43540);Object.defineProperty(ie,"timeoutWith",{enumerable:true,get:function(){return sn.timeoutWith}});var an=oe(75518);Object.defineProperty(ie,"timestamp",{enumerable:true,get:function(){return an.timestamp}});var cn=oe(35114);Object.defineProperty(ie,"toArray",{enumerable:true,get:function(){return cn.toArray}});var un=oe(98255);Object.defineProperty(ie,"window",{enumerable:true,get:function(){return un.window}});var ln=oe(73144);Object.defineProperty(ie,"windowCount",{enumerable:true,get:function(){return ln.windowCount}});var fn=oe(2738);Object.defineProperty(ie,"windowTime",{enumerable:true,get:function(){return fn.windowTime}});var dn=oe(52741);Object.defineProperty(ie,"windowToggle",{enumerable:true,get:function(){return dn.windowToggle}});var pn=oe(82645);Object.defineProperty(ie,"windowWhen",{enumerable:true,get:function(){return pn.windowWhen}});var hn=oe(20501);Object.defineProperty(ie,"withLatestFrom",{enumerable:true,get:function(){return hn.withLatestFrom}});var An=oe(92335);Object.defineProperty(ie,"zipAll",{enumerable:true,get:function(){return An.zipAll}});var gn=oe(95520);Object.defineProperty(ie,"zipWith",{enumerable:true,get:function(){return gn.zipWith}})},9747:function(re,ie,oe){"use strict";var se=this&&this.__extends||function(){var extendStatics=function(re,ie){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,ie){re.__proto__=ie}||function(re,ie){for(var oe in ie)if(Object.prototype.hasOwnProperty.call(ie,oe))re[oe]=ie[oe]};return extendStatics(re,ie)};return function(re,ie){if(typeof ie!=="function"&&ie!==null)throw new TypeError("Class extends value "+String(ie)+" is not a constructor or null");extendStatics(re,ie);function __(){this.constructor=re}re.prototype=ie===null?Object.create(ie):(__.prototype=ie.prototype,new __)}}();Object.defineProperty(ie,"__esModule",{value:true});ie.AsyncSubject=void 0;var ae=oe(49944);var ce=function(re){se(AsyncSubject,re);function AsyncSubject(){var ie=re!==null&&re.apply(this,arguments)||this;ie._value=null;ie._hasValue=false;ie._isComplete=false;return ie}AsyncSubject.prototype._checkFinalizedStatuses=function(re){var ie=this,oe=ie.hasError,se=ie._hasValue,ae=ie._value,ce=ie.thrownError,ue=ie.isStopped,le=ie._isComplete;if(oe){re.error(ce)}else if(ue||le){se&&re.next(ae);re.complete()}};AsyncSubject.prototype.next=function(re){if(!this.isStopped){this._value=re;this._hasValue=true}};AsyncSubject.prototype.complete=function(){var ie=this,oe=ie._hasValue,se=ie._value,ae=ie._isComplete;if(!ae){this._isComplete=true;oe&&re.prototype.next.call(this,se);re.prototype.complete.call(this)}};return AsyncSubject}(ae.Subject);ie.AsyncSubject=ce},23473:function(re,ie,oe){"use strict";var se=this&&this.__extends||function(){var extendStatics=function(re,ie){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,ie){re.__proto__=ie}||function(re,ie){for(var oe in ie)if(Object.prototype.hasOwnProperty.call(ie,oe))re[oe]=ie[oe]};return extendStatics(re,ie)};return function(re,ie){if(typeof ie!=="function"&&ie!==null)throw new TypeError("Class extends value "+String(ie)+" is not a constructor or null");extendStatics(re,ie);function __(){this.constructor=re}re.prototype=ie===null?Object.create(ie):(__.prototype=ie.prototype,new __)}}();Object.defineProperty(ie,"__esModule",{value:true});ie.BehaviorSubject=void 0;var ae=oe(49944);var ce=function(re){se(BehaviorSubject,re);function BehaviorSubject(ie){var oe=re.call(this)||this;oe._value=ie;return oe}Object.defineProperty(BehaviorSubject.prototype,"value",{get:function(){return this.getValue()},enumerable:false,configurable:true});BehaviorSubject.prototype._subscribe=function(ie){var oe=re.prototype._subscribe.call(this,ie);!oe.closed&&ie.next(this._value);return oe};BehaviorSubject.prototype.getValue=function(){var re=this,ie=re.hasError,oe=re.thrownError,se=re._value;if(ie){throw oe}this._throwIfClosed();return se};BehaviorSubject.prototype.next=function(ie){re.prototype.next.call(this,this._value=ie)};return BehaviorSubject}(ae.Subject);ie.BehaviorSubject=ce},12241:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.observeNotification=ie.Notification=ie.NotificationKind=void 0;var se=oe(70437);var ae=oe(72163);var ce=oe(66381);var ue=oe(67206);var le;(function(re){re["NEXT"]="N";re["ERROR"]="E";re["COMPLETE"]="C"})(le=ie.NotificationKind||(ie.NotificationKind={}));var fe=function(){function Notification(re,ie,oe){this.kind=re;this.value=ie;this.error=oe;this.hasValue=re==="N"}Notification.prototype.observe=function(re){return observeNotification(this,re)};Notification.prototype.do=function(re,ie,oe){var se=this,ae=se.kind,ce=se.value,ue=se.error;return ae==="N"?re===null||re===void 0?void 0:re(ce):ae==="E"?ie===null||ie===void 0?void 0:ie(ue):oe===null||oe===void 0?void 0:oe()};Notification.prototype.accept=function(re,ie,oe){var se;return ue.isFunction((se=re)===null||se===void 0?void 0:se.next)?this.observe(re):this.do(re,ie,oe)};Notification.prototype.toObservable=function(){var re=this,ie=re.kind,oe=re.value,ue=re.error;var le=ie==="N"?ae.of(oe):ie==="E"?ce.throwError((function(){return ue})):ie==="C"?se.EMPTY:0;if(!le){throw new TypeError("Unexpected notification kind "+ie)}return le};Notification.createNext=function(re){return new Notification("N",re)};Notification.createError=function(re){return new Notification("E",undefined,re)};Notification.createComplete=function(){return Notification.completeNotification};Notification.completeNotification=new Notification("C");return Notification}();ie.Notification=fe;function observeNotification(re,ie){var oe,se,ae;var ce=re,ue=ce.kind,le=ce.value,fe=ce.error;if(typeof ue!=="string"){throw new TypeError('Invalid notification, missing "kind"')}ue==="N"?(oe=ie.next)===null||oe===void 0?void 0:oe.call(ie,le):ue==="E"?(se=ie.error)===null||se===void 0?void 0:se.call(ie,fe):(ae=ie.complete)===null||ae===void 0?void 0:ae.call(ie)}ie.observeNotification=observeNotification},2500:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.createNotification=ie.nextNotification=ie.errorNotification=ie.COMPLETE_NOTIFICATION=void 0;ie.COMPLETE_NOTIFICATION=function(){return createNotification("C",undefined,undefined)}();function errorNotification(re){return createNotification("E",undefined,re)}ie.errorNotification=errorNotification;function nextNotification(re){return createNotification("N",re,undefined)}ie.nextNotification=nextNotification;function createNotification(re,ie,oe){return{kind:re,value:ie,error:oe}}ie.createNotification=createNotification},53014:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.Observable=void 0;var se=oe(67121);var ae=oe(79548);var ce=oe(17186);var ue=oe(49587);var le=oe(92233);var fe=oe(67206);var de=oe(31199);var pe=function(){function Observable(re){if(re){this._subscribe=re}}Observable.prototype.lift=function(re){var ie=new Observable;ie.source=this;ie.operator=re;return ie};Observable.prototype.subscribe=function(re,ie,oe){var ae=this;var ce=isSubscriber(re)?re:new se.SafeSubscriber(re,ie,oe);de.errorContext((function(){var re=ae,ie=re.operator,oe=re.source;ce.add(ie?ie.call(ce,oe):oe?ae._subscribe(ce):ae._trySubscribe(ce))}));return ce};Observable.prototype._trySubscribe=function(re){try{return this._subscribe(re)}catch(ie){re.error(ie)}};Observable.prototype.forEach=function(re,ie){var oe=this;ie=getPromiseCtor(ie);return new ie((function(ie,ae){var ce=new se.SafeSubscriber({next:function(ie){try{re(ie)}catch(re){ae(re);ce.unsubscribe()}},error:ae,complete:ie});oe.subscribe(ce)}))};Observable.prototype._subscribe=function(re){var ie;return(ie=this.source)===null||ie===void 0?void 0:ie.subscribe(re)};Observable.prototype[ce.observable]=function(){return this};Observable.prototype.pipe=function(){var re=[];for(var ie=0;ie{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.Scheduler=void 0;var se=oe(91395);var ae=function(){function Scheduler(re,ie){if(ie===void 0){ie=Scheduler.now}this.schedulerActionCtor=re;this.now=ie}Scheduler.prototype.schedule=function(re,ie,oe){if(ie===void 0){ie=0}return new this.schedulerActionCtor(this,re).schedule(oe,ie)};Scheduler.now=se.dateTimestampProvider.now;return Scheduler}();ie.Scheduler=ae},49944:function(re,ie,oe){"use strict";var se=this&&this.__extends||function(){var extendStatics=function(re,ie){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,ie){re.__proto__=ie}||function(re,ie){for(var oe in ie)if(Object.prototype.hasOwnProperty.call(ie,oe))re[oe]=ie[oe]};return extendStatics(re,ie)};return function(re,ie){if(typeof ie!=="function"&&ie!==null)throw new TypeError("Class extends value "+String(ie)+" is not a constructor or null");extendStatics(re,ie);function __(){this.constructor=re}re.prototype=ie===null?Object.create(ie):(__.prototype=ie.prototype,new __)}}();var ae=this&&this.__values||function(re){var ie=typeof Symbol==="function"&&Symbol.iterator,oe=ie&&re[ie],se=0;if(oe)return oe.call(re);if(re&&typeof re.length==="number")return{next:function(){if(re&&se>=re.length)re=void 0;return{value:re&&re[se++],done:!re}}};throw new TypeError(ie?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(ie,"__esModule",{value:true});ie.AnonymousSubject=ie.Subject=void 0;var ce=oe(53014);var ue=oe(79548);var le=oe(95266);var fe=oe(68499);var de=oe(31199);var pe=function(re){se(Subject,re);function Subject(){var ie=re.call(this)||this;ie.closed=false;ie.currentObservers=null;ie.observers=[];ie.isStopped=false;ie.hasError=false;ie.thrownError=null;return ie}Subject.prototype.lift=function(re){var ie=new he(this,this);ie.operator=re;return ie};Subject.prototype._throwIfClosed=function(){if(this.closed){throw new le.ObjectUnsubscribedError}};Subject.prototype.next=function(re){var ie=this;de.errorContext((function(){var oe,se;ie._throwIfClosed();if(!ie.isStopped){if(!ie.currentObservers){ie.currentObservers=Array.from(ie.observers)}try{for(var ce=ae(ie.currentObservers),ue=ce.next();!ue.done;ue=ce.next()){var le=ue.value;le.next(re)}}catch(re){oe={error:re}}finally{try{if(ue&&!ue.done&&(se=ce.return))se.call(ce)}finally{if(oe)throw oe.error}}}}))};Subject.prototype.error=function(re){var ie=this;de.errorContext((function(){ie._throwIfClosed();if(!ie.isStopped){ie.hasError=ie.isStopped=true;ie.thrownError=re;var oe=ie.observers;while(oe.length){oe.shift().error(re)}}}))};Subject.prototype.complete=function(){var re=this;de.errorContext((function(){re._throwIfClosed();if(!re.isStopped){re.isStopped=true;var ie=re.observers;while(ie.length){ie.shift().complete()}}}))};Subject.prototype.unsubscribe=function(){this.isStopped=this.closed=true;this.observers=this.currentObservers=null};Object.defineProperty(Subject.prototype,"observed",{get:function(){var re;return((re=this.observers)===null||re===void 0?void 0:re.length)>0},enumerable:false,configurable:true});Subject.prototype._trySubscribe=function(ie){this._throwIfClosed();return re.prototype._trySubscribe.call(this,ie)};Subject.prototype._subscribe=function(re){this._throwIfClosed();this._checkFinalizedStatuses(re);return this._innerSubscribe(re)};Subject.prototype._innerSubscribe=function(re){var ie=this;var oe=this,se=oe.hasError,ae=oe.isStopped,ce=oe.observers;if(se||ae){return ue.EMPTY_SUBSCRIPTION}this.currentObservers=null;ce.push(re);return new ue.Subscription((function(){ie.currentObservers=null;fe.arrRemove(ce,re)}))};Subject.prototype._checkFinalizedStatuses=function(re){var ie=this,oe=ie.hasError,se=ie.thrownError,ae=ie.isStopped;if(oe){re.error(se)}else if(ae){re.complete()}};Subject.prototype.asObservable=function(){var re=new ce.Observable;re.source=this;return re};Subject.create=function(re,ie){return new he(re,ie)};return Subject}(ce.Observable);ie.Subject=pe;var he=function(re){se(AnonymousSubject,re);function AnonymousSubject(ie,oe){var se=re.call(this)||this;se.destination=ie;se.source=oe;return se}AnonymousSubject.prototype.next=function(re){var ie,oe;(oe=(ie=this.destination)===null||ie===void 0?void 0:ie.next)===null||oe===void 0?void 0:oe.call(ie,re)};AnonymousSubject.prototype.error=function(re){var ie,oe;(oe=(ie=this.destination)===null||ie===void 0?void 0:ie.error)===null||oe===void 0?void 0:oe.call(ie,re)};AnonymousSubject.prototype.complete=function(){var re,ie;(ie=(re=this.destination)===null||re===void 0?void 0:re.complete)===null||ie===void 0?void 0:ie.call(re)};AnonymousSubject.prototype._subscribe=function(re){var ie,oe;return(oe=(ie=this.source)===null||ie===void 0?void 0:ie.subscribe(re))!==null&&oe!==void 0?oe:ue.EMPTY_SUBSCRIPTION};return AnonymousSubject}(pe);ie.AnonymousSubject=he},67121:function(re,ie,oe){"use strict";var se=this&&this.__extends||function(){var extendStatics=function(re,ie){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,ie){re.__proto__=ie}||function(re,ie){for(var oe in ie)if(Object.prototype.hasOwnProperty.call(ie,oe))re[oe]=ie[oe]};return extendStatics(re,ie)};return function(re,ie){if(typeof ie!=="function"&&ie!==null)throw new TypeError("Class extends value "+String(ie)+" is not a constructor or null");extendStatics(re,ie);function __(){this.constructor=re}re.prototype=ie===null?Object.create(ie):(__.prototype=ie.prototype,new __)}}();Object.defineProperty(ie,"__esModule",{value:true});ie.EMPTY_OBSERVER=ie.SafeSubscriber=ie.Subscriber=void 0;var ae=oe(67206);var ce=oe(79548);var ue=oe(92233);var le=oe(92445);var fe=oe(11642);var de=oe(2500);var pe=oe(1613);var he=oe(31199);var Ae=function(re){se(Subscriber,re);function Subscriber(oe){var se=re.call(this)||this;se.isStopped=false;if(oe){se.destination=oe;if(ce.isSubscription(oe)){oe.add(se)}}else{se.destination=ie.EMPTY_OBSERVER}return se}Subscriber.create=function(re,ie,oe){return new ye(re,ie,oe)};Subscriber.prototype.next=function(re){if(this.isStopped){handleStoppedNotification(de.nextNotification(re),this)}else{this._next(re)}};Subscriber.prototype.error=function(re){if(this.isStopped){handleStoppedNotification(de.errorNotification(re),this)}else{this.isStopped=true;this._error(re)}};Subscriber.prototype.complete=function(){if(this.isStopped){handleStoppedNotification(de.COMPLETE_NOTIFICATION,this)}else{this.isStopped=true;this._complete()}};Subscriber.prototype.unsubscribe=function(){if(!this.closed){this.isStopped=true;re.prototype.unsubscribe.call(this);this.destination=null}};Subscriber.prototype._next=function(re){this.destination.next(re)};Subscriber.prototype._error=function(re){try{this.destination.error(re)}finally{this.unsubscribe()}};Subscriber.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}};return Subscriber}(ce.Subscription);ie.Subscriber=Ae;var ge=Function.prototype.bind;function bind(re,ie){return ge.call(re,ie)}var me=function(){function ConsumerObserver(re){this.partialObserver=re}ConsumerObserver.prototype.next=function(re){var ie=this.partialObserver;if(ie.next){try{ie.next(re)}catch(re){handleUnhandledError(re)}}};ConsumerObserver.prototype.error=function(re){var ie=this.partialObserver;if(ie.error){try{ie.error(re)}catch(re){handleUnhandledError(re)}}else{handleUnhandledError(re)}};ConsumerObserver.prototype.complete=function(){var re=this.partialObserver;if(re.complete){try{re.complete()}catch(re){handleUnhandledError(re)}}};return ConsumerObserver}();var ye=function(re){se(SafeSubscriber,re);function SafeSubscriber(ie,oe,se){var ce=re.call(this)||this;var le;if(ae.isFunction(ie)||!ie){le={next:ie!==null&&ie!==void 0?ie:undefined,error:oe!==null&&oe!==void 0?oe:undefined,complete:se!==null&&se!==void 0?se:undefined}}else{var fe;if(ce&&ue.config.useDeprecatedNextContext){fe=Object.create(ie);fe.unsubscribe=function(){return ce.unsubscribe()};le={next:ie.next&&bind(ie.next,fe),error:ie.error&&bind(ie.error,fe),complete:ie.complete&&bind(ie.complete,fe)}}else{le=ie}}ce.destination=new me(le);return ce}return SafeSubscriber}(Ae);ie.SafeSubscriber=ye;function handleUnhandledError(re){if(ue.config.useDeprecatedSynchronousErrorHandling){he.captureError(re)}else{le.reportUnhandledError(re)}}function defaultErrorHandler(re){throw re}function handleStoppedNotification(re,ie){var oe=ue.config.onStoppedNotification;oe&&pe.timeoutProvider.setTimeout((function(){return oe(re,ie)}))}ie.EMPTY_OBSERVER={closed:true,next:fe.noop,error:defaultErrorHandler,complete:fe.noop}},79548:function(re,ie,oe){"use strict";var se=this&&this.__values||function(re){var ie=typeof Symbol==="function"&&Symbol.iterator,oe=ie&&re[ie],se=0;if(oe)return oe.call(re);if(re&&typeof re.length==="number")return{next:function(){if(re&&se>=re.length)re=void 0;return{value:re&&re[se++],done:!re}}};throw new TypeError(ie?"Object is not iterable.":"Symbol.iterator is not defined.")};var ae=this&&this.__read||function(re,ie){var oe=typeof Symbol==="function"&&re[Symbol.iterator];if(!oe)return re;var se=oe.call(re),ae,ce=[],ue;try{while((ie===void 0||ie-- >0)&&!(ae=se.next()).done)ce.push(ae.value)}catch(re){ue={error:re}}finally{try{if(ae&&!ae.done&&(oe=se["return"]))oe.call(se)}finally{if(ue)throw ue.error}}return ce};var ce=this&&this.__spreadArray||function(re,ie){for(var oe=0,se=ie.length,ae=re.length;oe{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.config=void 0;ie.config={onUnhandledError:null,onStoppedNotification:null,Promise:undefined,useDeprecatedSynchronousErrorHandling:false,useDeprecatedNextContext:false}},19369:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.firstValueFrom=void 0;var se=oe(99391);var ae=oe(67121);function firstValueFrom(re,ie){var oe=typeof ie==="object";return new Promise((function(ce,ue){var le=new ae.SafeSubscriber({next:function(re){ce(re);le.unsubscribe()},error:ue,complete:function(){if(oe){ce(ie.defaultValue)}else{ue(new se.EmptyError)}}});re.subscribe(le)}))}ie.firstValueFrom=firstValueFrom},49713:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.lastValueFrom=void 0;var se=oe(99391);function lastValueFrom(re,ie){var oe=typeof ie==="object";return new Promise((function(ae,ce){var ue=false;var le;re.subscribe({next:function(re){le=re;ue=true},error:ce,complete:function(){if(ue){ae(le)}else if(oe){ae(ie.defaultValue)}else{ce(new se.EmptyError)}}})}))}ie.lastValueFrom=lastValueFrom},30420:function(re,ie,oe){"use strict";var se=this&&this.__extends||function(){var extendStatics=function(re,ie){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,ie){re.__proto__=ie}||function(re,ie){for(var oe in ie)if(Object.prototype.hasOwnProperty.call(ie,oe))re[oe]=ie[oe]};return extendStatics(re,ie)};return function(re,ie){if(typeof ie!=="function"&&ie!==null)throw new TypeError("Class extends value "+String(ie)+" is not a constructor or null");extendStatics(re,ie);function __(){this.constructor=re}re.prototype=ie===null?Object.create(ie):(__.prototype=ie.prototype,new __)}}();Object.defineProperty(ie,"__esModule",{value:true});ie.ConnectableObservable=void 0;var ae=oe(53014);var ce=oe(79548);var ue=oe(2331);var le=oe(69549);var fe=oe(38669);var de=function(re){se(ConnectableObservable,re);function ConnectableObservable(ie,oe){var se=re.call(this)||this;se.source=ie;se.subjectFactory=oe;se._subject=null;se._refCount=0;se._connection=null;if(fe.hasLift(ie)){se.lift=ie.lift}return se}ConnectableObservable.prototype._subscribe=function(re){return this.getSubject().subscribe(re)};ConnectableObservable.prototype.getSubject=function(){var re=this._subject;if(!re||re.isStopped){this._subject=this.subjectFactory()}return this._subject};ConnectableObservable.prototype._teardown=function(){this._refCount=0;var re=this._connection;this._subject=this._connection=null;re===null||re===void 0?void 0:re.unsubscribe()};ConnectableObservable.prototype.connect=function(){var re=this;var ie=this._connection;if(!ie){ie=this._connection=new ce.Subscription;var oe=this.getSubject();ie.add(this.source.subscribe(le.createOperatorSubscriber(oe,undefined,(function(){re._teardown();oe.complete()}),(function(ie){re._teardown();oe.error(ie)}),(function(){return re._teardown()}))));if(ie.closed){this._connection=null;ie=ce.Subscription.EMPTY}}return ie};ConnectableObservable.prototype.refCount=function(){return ue.refCount()(this)};return ConnectableObservable}(ae.Observable);ie.ConnectableObservable=de},16949:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.bindCallback=void 0;var se=oe(30585);function bindCallback(re,ie,oe){return se.bindCallbackInternals(false,re,ie,oe)}ie.bindCallback=bindCallback},30585:function(re,ie,oe){"use strict";var se=this&&this.__read||function(re,ie){var oe=typeof Symbol==="function"&&re[Symbol.iterator];if(!oe)return re;var se=oe.call(re),ae,ce=[],ue;try{while((ie===void 0||ie-- >0)&&!(ae=se.next()).done)ce.push(ae.value)}catch(re){ue={error:re}}finally{try{if(ae&&!ae.done&&(oe=se["return"]))oe.call(se)}finally{if(ue)throw ue.error}}return ce};var ae=this&&this.__spreadArray||function(re,ie){for(var oe=0,se=ie.length,ae=re.length;oe{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.bindNodeCallback=void 0;var se=oe(30585);function bindNodeCallback(re,ie,oe){return se.bindCallbackInternals(true,re,ie,oe)}ie.bindNodeCallback=bindNodeCallback},46843:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.combineLatestInit=ie.combineLatest=void 0;var se=oe(53014);var ae=oe(12920);var ce=oe(18309);var ue=oe(60283);var le=oe(78934);var fe=oe(34890);var de=oe(57834);var pe=oe(69549);var he=oe(82877);function combineLatest(){var re=[];for(var ie=0;ie{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.concat=void 0;var se=oe(88049);var ae=oe(34890);var ce=oe(18309);function concat(){var re=[];for(var ie=0;ie{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.connectable=void 0;var se=oe(49944);var ae=oe(53014);var ce=oe(27672);var ue={connector:function(){return new se.Subject},resetOnDisconnect:true};function connectable(re,ie){if(ie===void 0){ie=ue}var oe=null;var se=ie.connector,le=ie.resetOnDisconnect,fe=le===void 0?true:le;var de=se();var pe=new ae.Observable((function(re){return de.subscribe(re)}));pe.connect=function(){if(!oe||oe.closed){oe=ce.defer((function(){return re})).subscribe(de);if(fe){oe.add((function(){return de=se()}))}}return oe};return pe}ie.connectable=connectable},27672:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.defer=void 0;var se=oe(53014);var ae=oe(57105);function defer(re){return new se.Observable((function(ie){ae.innerFrom(re()).subscribe(ie)}))}ie.defer=defer},38197:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.animationFrames=void 0;var se=oe(53014);var ae=oe(70143);var ce=oe(62738);function animationFrames(re){return re?animationFramesFactory(re):ue}ie.animationFrames=animationFrames;function animationFramesFactory(re){return new se.Observable((function(ie){var oe=re||ae.performanceTimestampProvider;var se=oe.now();var ue=0;var run=function(){if(!ie.closed){ue=ce.animationFrameProvider.requestAnimationFrame((function(ae){ue=0;var ce=oe.now();ie.next({timestamp:re?ce:ae,elapsed:ce-se});run()}))}};run();return function(){if(ue){ce.animationFrameProvider.cancelAnimationFrame(ue)}}}))}var ue=animationFramesFactory()},70437:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.empty=ie.EMPTY=void 0;var se=oe(53014);ie.EMPTY=new se.Observable((function(re){return re.complete()}));function empty(re){return re?emptyScheduled(re):ie.EMPTY}ie.empty=empty;function emptyScheduled(re){return new se.Observable((function(ie){return re.schedule((function(){return ie.complete()}))}))}},47358:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.forkJoin=void 0;var se=oe(53014);var ae=oe(12920);var ce=oe(57105);var ue=oe(34890);var le=oe(69549);var fe=oe(78934);var de=oe(57834);function forkJoin(){var re=[];for(var ie=0;ie{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.from=void 0;var se=oe(6151);var ae=oe(57105);function from(re,ie){return ie?se.scheduled(re,ie):ae.innerFrom(re)}ie.from=from},93238:function(re,ie,oe){"use strict";var se=this&&this.__read||function(re,ie){var oe=typeof Symbol==="function"&&re[Symbol.iterator];if(!oe)return re;var se=oe.call(re),ae,ce=[],ue;try{while((ie===void 0||ie-- >0)&&!(ae=se.next()).done)ce.push(ae.value)}catch(re){ue={error:re}}finally{try{if(ae&&!ae.done&&(oe=se["return"]))oe.call(se)}finally{if(ue)throw ue.error}}return ce};Object.defineProperty(ie,"__esModule",{value:true});ie.fromEvent=void 0;var ae=oe(57105);var ce=oe(53014);var ue=oe(69914);var le=oe(24461);var fe=oe(67206);var de=oe(78934);var pe=["addListener","removeListener"];var he=["addEventListener","removeEventListener"];var Ae=["on","off"];function fromEvent(re,ie,oe,ge){if(fe.isFunction(oe)){ge=oe;oe=undefined}if(ge){return fromEvent(re,ie,oe).pipe(de.mapOneOrManyArgs(ge))}var me=se(isEventTarget(re)?he.map((function(se){return function(ae){return re[se](ie,ae,oe)}})):isNodeStyleEventEmitter(re)?pe.map(toCommonHandlerRegistry(re,ie)):isJQueryStyleEventEmitter(re)?Ae.map(toCommonHandlerRegistry(re,ie)):[],2),ye=me[0],ve=me[1];if(!ye){if(le.isArrayLike(re)){return ue.mergeMap((function(re){return fromEvent(re,ie,oe)}))(ae.innerFrom(re))}}if(!ye){throw new TypeError("Invalid event target")}return new ce.Observable((function(re){var handler=function(){var ie=[];for(var oe=0;oe{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.fromEventPattern=void 0;var se=oe(53014);var ae=oe(67206);var ce=oe(78934);function fromEventPattern(re,ie,oe){if(oe){return fromEventPattern(re,ie).pipe(ce.mapOneOrManyArgs(oe))}return new se.Observable((function(oe){var handler=function(){var re=[];for(var ie=0;ie{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.fromSubscribable=void 0;var se=oe(53014);function fromSubscribable(re){return new se.Observable((function(ie){return re.subscribe(ie)}))}ie.fromSubscribable=fromSubscribable},52668:function(re,ie,oe){"use strict";var se=this&&this.__generator||function(re,ie){var oe={label:0,sent:function(){if(ce[0]&1)throw ce[1];return ce[1]},trys:[],ops:[]},se,ae,ce,ue;return ue={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol==="function"&&(ue[Symbol.iterator]=function(){return this}),ue;function verb(re){return function(ie){return step([re,ie])}}function step(ue){if(se)throw new TypeError("Generator is already executing.");while(oe)try{if(se=1,ae&&(ce=ue[0]&2?ae["return"]:ue[0]?ae["throw"]||((ce=ae["return"])&&ce.call(ae),0):ae.next)&&!(ce=ce.call(ae,ue[1])).done)return ce;if(ae=0,ce)ue=[ue[0]&2,ce.value];switch(ue[0]){case 0:case 1:ce=ue;break;case 4:oe.label++;return{value:ue[1],done:false};case 5:oe.label++;ae=ue[1];ue=[0];continue;case 7:ue=oe.ops.pop();oe.trys.pop();continue;default:if(!(ce=oe.trys,ce=ce.length>0&&ce[ce.length-1])&&(ue[0]===6||ue[0]===2)){oe=0;continue}if(ue[0]===3&&(!ce||ue[1]>ce[0]&&ue[1]{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.iif=void 0;var se=oe(27672);function iif(re,ie,oe){return se.defer((function(){return re()?ie:oe}))}ie.iif=iif},57105:function(re,ie,oe){"use strict";var se=this&&this.__awaiter||function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};var ae=this&&this.__generator||function(re,ie){var oe={label:0,sent:function(){if(ce[0]&1)throw ce[1];return ce[1]},trys:[],ops:[]},se,ae,ce,ue;return ue={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol==="function"&&(ue[Symbol.iterator]=function(){return this}),ue;function verb(re){return function(ie){return step([re,ie])}}function step(ue){if(se)throw new TypeError("Generator is already executing.");while(oe)try{if(se=1,ae&&(ce=ue[0]&2?ae["return"]:ue[0]?ae["throw"]||((ce=ae["return"])&&ce.call(ae),0):ae.next)&&!(ce=ce.call(ae,ue[1])).done)return ce;if(ae=0,ce)ue=[ue[0]&2,ce.value];switch(ue[0]){case 0:case 1:ce=ue;break;case 4:oe.label++;return{value:ue[1],done:false};case 5:oe.label++;ae=ue[1];ue=[0];continue;case 7:ue=oe.ops.pop();oe.trys.pop();continue;default:if(!(ce=oe.trys,ce=ce.length>0&&ce[ce.length-1])&&(ue[0]===6||ue[0]===2)){oe=0;continue}if(ue[0]===3&&(!ce||ue[1]>ce[0]&&ue[1]=re.length)re=void 0;return{value:re&&re[se++],done:!re}}};throw new TypeError(ie?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(ie,"__esModule",{value:true});ie.fromReadableStreamLike=ie.fromAsyncIterable=ie.fromIterable=ie.fromPromise=ie.fromArrayLike=ie.fromInteropObservable=ie.innerFrom=void 0;var le=oe(24461);var fe=oe(65585);var de=oe(53014);var pe=oe(67984);var he=oe(44408);var Ae=oe(97364);var ge=oe(94292);var me=oe(99621);var ye=oe(67206);var ve=oe(92445);var be=oe(17186);function innerFrom(re){if(re instanceof de.Observable){return re}if(re!=null){if(pe.isInteropObservable(re)){return fromInteropObservable(re)}if(le.isArrayLike(re)){return fromArrayLike(re)}if(fe.isPromise(re)){return fromPromise(re)}if(he.isAsyncIterable(re)){return fromAsyncIterable(re)}if(ge.isIterable(re)){return fromIterable(re)}if(me.isReadableStreamLike(re)){return fromReadableStreamLike(re)}}throw Ae.createInvalidObservableTypeError(re)}ie.innerFrom=innerFrom;function fromInteropObservable(re){return new de.Observable((function(ie){var oe=re[be.observable]();if(ye.isFunction(oe.subscribe)){return oe.subscribe(ie)}throw new TypeError("Provided object does not correctly implement Symbol.observable")}))}ie.fromInteropObservable=fromInteropObservable;function fromArrayLike(re){return new de.Observable((function(ie){for(var oe=0;oe{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.interval=void 0;var se=oe(76072);var ae=oe(59757);function interval(re,ie){if(re===void 0){re=0}if(ie===void 0){ie=se.asyncScheduler}if(re<0){re=0}return ae.timer(re,re,ie)}ie.interval=interval},75122:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.merge=void 0;var se=oe(2057);var ae=oe(57105);var ce=oe(70437);var ue=oe(34890);var le=oe(18309);function merge(){var re=[];for(var ie=0;ie{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.never=ie.NEVER=void 0;var se=oe(53014);var ae=oe(11642);ie.NEVER=new se.Observable(ae.noop);function never(){return ie.NEVER}ie.never=never},72163:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.of=void 0;var se=oe(34890);var ae=oe(18309);function of(){var re=[];for(var ie=0;ie{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.onErrorResumeNext=void 0;var se=oe(53014);var ae=oe(18824);var ce=oe(69549);var ue=oe(11642);var le=oe(57105);function onErrorResumeNext(){var re=[];for(var ie=0;ie{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.pairs=void 0;var se=oe(18309);function pairs(re,ie){return se.from(Object.entries(re),ie)}ie.pairs=pairs},15506:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.partition=void 0;var se=oe(54338);var ae=oe(36894);var ce=oe(57105);function partition(re,ie,oe){return[ae.filter(ie,oe)(ce.innerFrom(re)),ae.filter(se.not(ie,oe))(ce.innerFrom(re))]}ie.partition=partition},16940:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.raceInit=ie.race=void 0;var se=oe(53014);var ae=oe(57105);var ce=oe(18824);var ue=oe(69549);function race(){var re=[];for(var ie=0;ie{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.range=void 0;var se=oe(53014);var ae=oe(70437);function range(re,ie,oe){if(ie==null){ie=re;re=0}if(ie<=0){return ae.EMPTY}var ce=ie+re;return new se.Observable(oe?function(ie){var se=re;return oe.schedule((function(){if(se{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.throwError=void 0;var se=oe(53014);var ae=oe(67206);function throwError(re,ie){var oe=ae.isFunction(re)?re:function(){return re};var init=function(re){return re.error(oe())};return new se.Observable(ie?function(re){return ie.schedule(init,0,re)}:init)}ie.throwError=throwError},59757:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.timer=void 0;var se=oe(53014);var ae=oe(76072);var ce=oe(84078);var ue=oe(60935);function timer(re,ie,oe){if(re===void 0){re=0}if(oe===void 0){oe=ae.async}var le=-1;if(ie!=null){if(ce.isScheduler(ie)){oe=ie}else{le=ie}}return new se.Observable((function(ie){var se=ue.isValidDate(re)?+re-oe.now():re;if(se<0){se=0}var ae=0;return oe.schedule((function(){if(!ie.closed){ie.next(ae++);if(0<=le){this.schedule(undefined,le)}else{ie.complete()}}}),se)}))}ie.timer=timer},8445:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.using=void 0;var se=oe(53014);var ae=oe(57105);var ce=oe(70437);function using(re,ie){return new se.Observable((function(oe){var se=re();var ue=ie(se);var le=ue?ae.innerFrom(ue):ce.EMPTY;le.subscribe(oe);return function(){if(se){se.unsubscribe()}}}))}ie.using=using},62504:function(re,ie,oe){"use strict";var se=this&&this.__read||function(re,ie){var oe=typeof Symbol==="function"&&re[Symbol.iterator];if(!oe)return re;var se=oe.call(re),ae,ce=[],ue;try{while((ie===void 0||ie-- >0)&&!(ae=se.next()).done)ce.push(ae.value)}catch(re){ue={error:re}}finally{try{if(ae&&!ae.done&&(oe=se["return"]))oe.call(se)}finally{if(ue)throw ue.error}}return ce};var ae=this&&this.__spreadArray||function(re,ie){for(var oe=0,se=ie.length,ae=re.length;oe{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.audit=void 0;var se=oe(38669);var ae=oe(57105);var ce=oe(69549);function audit(re){return se.operate((function(ie,oe){var se=false;var ue=null;var le=null;var fe=false;var endDuration=function(){le===null||le===void 0?void 0:le.unsubscribe();le=null;if(se){se=false;var re=ue;ue=null;oe.next(re)}fe&&oe.complete()};var cleanupDuration=function(){le=null;fe&&oe.complete()};ie.subscribe(ce.createOperatorSubscriber(oe,(function(ie){se=true;ue=ie;if(!le){ae.innerFrom(re(ie)).subscribe(le=ce.createOperatorSubscriber(oe,endDuration,cleanupDuration))}}),(function(){fe=true;(!se||!le||le.closed)&&oe.complete()})))}))}ie.audit=audit},18780:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.auditTime=void 0;var se=oe(76072);var ae=oe(82704);var ce=oe(59757);function auditTime(re,ie){if(ie===void 0){ie=se.asyncScheduler}return ae.audit((function(){return ce.timer(re,ie)}))}ie.auditTime=auditTime},34253:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.buffer=void 0;var se=oe(38669);var ae=oe(11642);var ce=oe(69549);var ue=oe(57105);function buffer(re){return se.operate((function(ie,oe){var se=[];ie.subscribe(ce.createOperatorSubscriber(oe,(function(re){return se.push(re)}),(function(){oe.next(se);oe.complete()})));ue.innerFrom(re).subscribe(ce.createOperatorSubscriber(oe,(function(){var re=se;se=[];oe.next(re)}),ae.noop));return function(){se=null}}))}ie.buffer=buffer},17253:function(re,ie,oe){"use strict";var se=this&&this.__values||function(re){var ie=typeof Symbol==="function"&&Symbol.iterator,oe=ie&&re[ie],se=0;if(oe)return oe.call(re);if(re&&typeof re.length==="number")return{next:function(){if(re&&se>=re.length)re=void 0;return{value:re&&re[se++],done:!re}}};throw new TypeError(ie?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(ie,"__esModule",{value:true});ie.bufferCount=void 0;var ae=oe(38669);var ce=oe(69549);var ue=oe(68499);function bufferCount(re,ie){if(ie===void 0){ie=null}ie=ie!==null&&ie!==void 0?ie:re;return ae.operate((function(oe,ae){var le=[];var fe=0;oe.subscribe(ce.createOperatorSubscriber(ae,(function(oe){var ce,de,pe,he;var Ae=null;if(fe++%ie===0){le.push([])}try{for(var ge=se(le),me=ge.next();!me.done;me=ge.next()){var ye=me.value;ye.push(oe);if(re<=ye.length){Ae=Ae!==null&&Ae!==void 0?Ae:[];Ae.push(ye)}}}catch(re){ce={error:re}}finally{try{if(me&&!me.done&&(de=ge.return))de.call(ge)}finally{if(ce)throw ce.error}}if(Ae){try{for(var ve=se(Ae),be=ve.next();!be.done;be=ve.next()){var ye=be.value;ue.arrRemove(le,ye);ae.next(ye)}}catch(re){pe={error:re}}finally{try{if(be&&!be.done&&(he=ve.return))he.call(ve)}finally{if(pe)throw pe.error}}}}),(function(){var re,ie;try{for(var oe=se(le),ce=oe.next();!ce.done;ce=oe.next()){var ue=ce.value;ae.next(ue)}}catch(ie){re={error:ie}}finally{try{if(ce&&!ce.done&&(ie=oe.return))ie.call(oe)}finally{if(re)throw re.error}}ae.complete()}),undefined,(function(){le=null})))}))}ie.bufferCount=bufferCount},73102:function(re,ie,oe){"use strict";var se=this&&this.__values||function(re){var ie=typeof Symbol==="function"&&Symbol.iterator,oe=ie&&re[ie],se=0;if(oe)return oe.call(re);if(re&&typeof re.length==="number")return{next:function(){if(re&&se>=re.length)re=void 0;return{value:re&&re[se++],done:!re}}};throw new TypeError(ie?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(ie,"__esModule",{value:true});ie.bufferTime=void 0;var ae=oe(79548);var ce=oe(38669);var ue=oe(69549);var le=oe(68499);var fe=oe(76072);var de=oe(34890);var pe=oe(82877);function bufferTime(re){var ie,oe;var he=[];for(var Ae=1;Ae=0){pe.executeSchedule(oe,ge,startBuffer,me,true)}else{fe=true}startBuffer();var de=ue.createOperatorSubscriber(oe,(function(re){var ie,oe;var ae=ce.slice();try{for(var ue=se(ae),le=ue.next();!le.done;le=ue.next()){var fe=le.value;var de=fe.buffer;de.push(re);ye<=de.length&&emit(fe)}}catch(re){ie={error:re}}finally{try{if(le&&!le.done&&(oe=ue.return))oe.call(ue)}finally{if(ie)throw ie.error}}}),(function(){while(ce===null||ce===void 0?void 0:ce.length){oe.next(ce.shift().buffer)}de===null||de===void 0?void 0:de.unsubscribe();oe.complete();oe.unsubscribe()}),undefined,(function(){return ce=null}));ie.subscribe(de)}))}ie.bufferTime=bufferTime},83781:function(re,ie,oe){"use strict";var se=this&&this.__values||function(re){var ie=typeof Symbol==="function"&&Symbol.iterator,oe=ie&&re[ie],se=0;if(oe)return oe.call(re);if(re&&typeof re.length==="number")return{next:function(){if(re&&se>=re.length)re=void 0;return{value:re&&re[se++],done:!re}}};throw new TypeError(ie?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(ie,"__esModule",{value:true});ie.bufferToggle=void 0;var ae=oe(79548);var ce=oe(38669);var ue=oe(57105);var le=oe(69549);var fe=oe(11642);var de=oe(68499);function bufferToggle(re,ie){return ce.operate((function(oe,ce){var pe=[];ue.innerFrom(re).subscribe(le.createOperatorSubscriber(ce,(function(re){var oe=[];pe.push(oe);var se=new ae.Subscription;var emitBuffer=function(){de.arrRemove(pe,oe);ce.next(oe);se.unsubscribe()};se.add(ue.innerFrom(ie(re)).subscribe(le.createOperatorSubscriber(ce,emitBuffer,fe.noop)))}),fe.noop));oe.subscribe(le.createOperatorSubscriber(ce,(function(re){var ie,oe;try{for(var ae=se(pe),ce=ae.next();!ce.done;ce=ae.next()){var ue=ce.value;ue.push(re)}}catch(re){ie={error:re}}finally{try{if(ce&&!ce.done&&(oe=ae.return))oe.call(ae)}finally{if(ie)throw ie.error}}}),(function(){while(pe.length>0){ce.next(pe.shift())}ce.complete()})))}))}ie.bufferToggle=bufferToggle},82855:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.bufferWhen=void 0;var se=oe(38669);var ae=oe(11642);var ce=oe(69549);var ue=oe(57105);function bufferWhen(re){return se.operate((function(ie,oe){var se=null;var le=null;var openBuffer=function(){le===null||le===void 0?void 0:le.unsubscribe();var ie=se;se=[];ie&&oe.next(ie);ue.innerFrom(re()).subscribe(le=ce.createOperatorSubscriber(oe,openBuffer,ae.noop))};openBuffer();ie.subscribe(ce.createOperatorSubscriber(oe,(function(re){return se===null||se===void 0?void 0:se.push(re)}),(function(){se&&oe.next(se);oe.complete()}),undefined,(function(){return se=le=null})))}))}ie.bufferWhen=bufferWhen},37765:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.catchError=void 0;var se=oe(57105);var ae=oe(69549);var ce=oe(38669);function catchError(re){return ce.operate((function(ie,oe){var ce=null;var ue=false;var le;ce=ie.subscribe(ae.createOperatorSubscriber(oe,undefined,undefined,(function(ae){le=se.innerFrom(re(ae,catchError(re)(ie)));if(ce){ce.unsubscribe();ce=null;le.subscribe(oe)}else{ue=true}})));if(ue){ce.unsubscribe();ce=null;le.subscribe(oe)}}))}ie.catchError=catchError},88817:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.combineAll=void 0;var se=oe(91063);ie.combineAll=se.combineLatestAll},96008:function(re,ie,oe){"use strict";var se=this&&this.__read||function(re,ie){var oe=typeof Symbol==="function"&&re[Symbol.iterator];if(!oe)return re;var se=oe.call(re),ae,ce=[],ue;try{while((ie===void 0||ie-- >0)&&!(ae=se.next()).done)ce.push(ae.value)}catch(re){ue={error:re}}finally{try{if(ae&&!ae.done&&(oe=se["return"]))oe.call(se)}finally{if(ue)throw ue.error}}return ce};var ae=this&&this.__spreadArray||function(re,ie){for(var oe=0,se=ie.length,ae=re.length;oe{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.combineLatestAll=void 0;var se=oe(46843);var ae=oe(29341);function combineLatestAll(re){return ae.joinAllInternals(se.combineLatest,re)}ie.combineLatestAll=combineLatestAll},19044:function(re,ie,oe){"use strict";var se=this&&this.__read||function(re,ie){var oe=typeof Symbol==="function"&&re[Symbol.iterator];if(!oe)return re;var se=oe.call(re),ae,ce=[],ue;try{while((ie===void 0||ie-- >0)&&!(ae=se.next()).done)ce.push(ae.value)}catch(re){ue={error:re}}finally{try{if(ae&&!ae.done&&(oe=se["return"]))oe.call(se)}finally{if(ue)throw ue.error}}return ce};var ae=this&&this.__spreadArray||function(re,ie){for(var oe=0,se=ie.length,ae=re.length;oe0)&&!(ae=se.next()).done)ce.push(ae.value)}catch(re){ue={error:re}}finally{try{if(ae&&!ae.done&&(oe=se["return"]))oe.call(se)}finally{if(ue)throw ue.error}}return ce};var ae=this&&this.__spreadArray||function(re,ie){for(var oe=0,se=ie.length,ae=re.length;oe{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.concatAll=void 0;var se=oe(2057);function concatAll(){return se.mergeAll(1)}ie.concatAll=concatAll},19130:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.concatMap=void 0;var se=oe(69914);var ae=oe(67206);function concatMap(re,ie){return ae.isFunction(ie)?se.mergeMap(re,ie,1):se.mergeMap(re,1)}ie.concatMap=concatMap},61596:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.concatMapTo=void 0;var se=oe(19130);var ae=oe(67206);function concatMapTo(re,ie){return ae.isFunction(ie)?se.concatMap((function(){return re}),ie):se.concatMap((function(){return re}))}ie.concatMapTo=concatMapTo},97998:function(re,ie,oe){"use strict";var se=this&&this.__read||function(re,ie){var oe=typeof Symbol==="function"&&re[Symbol.iterator];if(!oe)return re;var se=oe.call(re),ae,ce=[],ue;try{while((ie===void 0||ie-- >0)&&!(ae=se.next()).done)ce.push(ae.value)}catch(re){ue={error:re}}finally{try{if(ae&&!ae.done&&(oe=se["return"]))oe.call(se)}finally{if(ue)throw ue.error}}return ce};var ae=this&&this.__spreadArray||function(re,ie){for(var oe=0,se=ie.length,ae=re.length;oe{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.connect=void 0;var se=oe(49944);var ae=oe(57105);var ce=oe(38669);var ue=oe(66513);var le={connector:function(){return new se.Subject}};function connect(re,ie){if(ie===void 0){ie=le}var oe=ie.connector;return ce.operate((function(ie,se){var ce=oe();ae.innerFrom(re(ue.fromSubscribable(ce))).subscribe(se);se.add(ie.subscribe(ce))}))}ie.connect=connect},36571:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.count=void 0;var se=oe(62087);function count(re){return se.reduce((function(ie,oe,se){return!re||re(oe,se)?ie+1:ie}),0)}ie.count=count},19348:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.debounce=void 0;var se=oe(38669);var ae=oe(11642);var ce=oe(69549);var ue=oe(57105);function debounce(re){return se.operate((function(ie,oe){var se=false;var le=null;var fe=null;var emit=function(){fe===null||fe===void 0?void 0:fe.unsubscribe();fe=null;if(se){se=false;var re=le;le=null;oe.next(re)}};ie.subscribe(ce.createOperatorSubscriber(oe,(function(ie){fe===null||fe===void 0?void 0:fe.unsubscribe();se=true;le=ie;fe=ce.createOperatorSubscriber(oe,emit,ae.noop);ue.innerFrom(re(ie)).subscribe(fe)}),(function(){emit();oe.complete()}),undefined,(function(){le=fe=null})))}))}ie.debounce=debounce},62379:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.debounceTime=void 0;var se=oe(76072);var ae=oe(38669);var ce=oe(69549);function debounceTime(re,ie){if(ie===void 0){ie=se.asyncScheduler}return ae.operate((function(oe,se){var ae=null;var ue=null;var le=null;var emit=function(){if(ae){ae.unsubscribe();ae=null;var re=ue;ue=null;se.next(re)}};function emitWhenIdle(){var oe=le+re;var ce=ie.now();if(ce{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.defaultIfEmpty=void 0;var se=oe(38669);var ae=oe(69549);function defaultIfEmpty(re){return se.operate((function(ie,oe){var se=false;ie.subscribe(ae.createOperatorSubscriber(oe,(function(re){se=true;oe.next(re)}),(function(){if(!se){oe.next(re)}oe.complete()})))}))}ie.defaultIfEmpty=defaultIfEmpty},99818:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.delay=void 0;var se=oe(76072);var ae=oe(16994);var ce=oe(59757);function delay(re,ie){if(ie===void 0){ie=se.asyncScheduler}var oe=ce.timer(re,ie);return ae.delayWhen((function(){return oe}))}ie.delay=delay},16994:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.delayWhen=void 0;var se=oe(4675);var ae=oe(33698);var ce=oe(31062);var ue=oe(52300);var le=oe(69914);var fe=oe(57105);function delayWhen(re,ie){if(ie){return function(oe){return se.concat(ie.pipe(ae.take(1),ce.ignoreElements()),oe.pipe(delayWhen(re)))}}return le.mergeMap((function(ie,oe){return fe.innerFrom(re(ie,oe)).pipe(ae.take(1),ue.mapTo(ie))}))}ie.delayWhen=delayWhen},95338:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.dematerialize=void 0;var se=oe(12241);var ae=oe(38669);var ce=oe(69549);function dematerialize(){return ae.operate((function(re,ie){re.subscribe(ce.createOperatorSubscriber(ie,(function(re){return se.observeNotification(re,ie)})))}))}ie.dematerialize=dematerialize},52594:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.distinct=void 0;var se=oe(38669);var ae=oe(69549);var ce=oe(11642);var ue=oe(57105);function distinct(re,ie){return se.operate((function(oe,se){var le=new Set;oe.subscribe(ae.createOperatorSubscriber(se,(function(ie){var oe=re?re(ie):ie;if(!le.has(oe)){le.add(oe);se.next(ie)}})));ie&&ue.innerFrom(ie).subscribe(ae.createOperatorSubscriber(se,(function(){return le.clear()}),ce.noop))}))}ie.distinct=distinct},20632:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.distinctUntilChanged=void 0;var se=oe(60283);var ae=oe(38669);var ce=oe(69549);function distinctUntilChanged(re,ie){if(ie===void 0){ie=se.identity}re=re!==null&&re!==void 0?re:defaultCompare;return ae.operate((function(oe,se){var ae;var ue=true;oe.subscribe(ce.createOperatorSubscriber(se,(function(oe){var ce=ie(oe);if(ue||!re(ae,ce)){ue=false;ae=ce;se.next(oe)}})))}))}ie.distinctUntilChanged=distinctUntilChanged;function defaultCompare(re,ie){return re===ie}},13809:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.distinctUntilKeyChanged=void 0;var se=oe(20632);function distinctUntilKeyChanged(re,ie){return se.distinctUntilChanged((function(oe,se){return ie?ie(oe[re],se[re]):oe[re]===se[re]}))}ie.distinctUntilKeyChanged=distinctUntilKeyChanged},73381:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.elementAt=void 0;var se=oe(49796);var ae=oe(36894);var ce=oe(91566);var ue=oe(30621);var le=oe(33698);function elementAt(re,ie){if(re<0){throw new se.ArgumentOutOfRangeError}var oe=arguments.length>=2;return function(fe){return fe.pipe(ae.filter((function(ie,oe){return oe===re})),le.take(1),oe?ue.defaultIfEmpty(ie):ce.throwIfEmpty((function(){return new se.ArgumentOutOfRangeError})))}}ie.elementAt=elementAt},42961:function(re,ie,oe){"use strict";var se=this&&this.__read||function(re,ie){var oe=typeof Symbol==="function"&&re[Symbol.iterator];if(!oe)return re;var se=oe.call(re),ae,ce=[],ue;try{while((ie===void 0||ie-- >0)&&!(ae=se.next()).done)ce.push(ae.value)}catch(re){ue={error:re}}finally{try{if(ae&&!ae.done&&(oe=se["return"]))oe.call(se)}finally{if(ue)throw ue.error}}return ce};var ae=this&&this.__spreadArray||function(re,ie){for(var oe=0,se=ie.length,ae=re.length;oe{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.every=void 0;var se=oe(38669);var ae=oe(69549);function every(re,ie){return se.operate((function(oe,se){var ce=0;oe.subscribe(ae.createOperatorSubscriber(se,(function(ae){if(!re.call(ie,ae,ce++,oe)){se.next(false);se.complete()}}),(function(){se.next(true);se.complete()})))}))}ie.every=every},75686:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.exhaust=void 0;var se=oe(79777);ie.exhaust=se.exhaustAll},79777:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.exhaustAll=void 0;var se=oe(21527);var ae=oe(60283);function exhaustAll(){return se.exhaustMap(ae.identity)}ie.exhaustAll=exhaustAll},21527:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.exhaustMap=void 0;var se=oe(5987);var ae=oe(57105);var ce=oe(38669);var ue=oe(69549);function exhaustMap(re,ie){if(ie){return function(oe){return oe.pipe(exhaustMap((function(oe,ce){return ae.innerFrom(re(oe,ce)).pipe(se.map((function(re,se){return ie(oe,re,ce,se)})))})))}}return ce.operate((function(ie,oe){var se=0;var ce=null;var le=false;ie.subscribe(ue.createOperatorSubscriber(oe,(function(ie){if(!ce){ce=ue.createOperatorSubscriber(oe,undefined,(function(){ce=null;le&&oe.complete()}));ae.innerFrom(re(ie,se++)).subscribe(ce)}}),(function(){le=true;!ce&&oe.complete()})))}))}ie.exhaustMap=exhaustMap},21585:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.expand=void 0;var se=oe(38669);var ae=oe(48246);function expand(re,ie,oe){if(ie===void 0){ie=Infinity}ie=(ie||0)<1?Infinity:ie;return se.operate((function(se,ce){return ae.mergeInternals(se,ce,re,ie,undefined,true,oe)}))}ie.expand=expand},36894:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.filter=void 0;var se=oe(38669);var ae=oe(69549);function filter(re,ie){return se.operate((function(oe,se){var ce=0;oe.subscribe(ae.createOperatorSubscriber(se,(function(oe){return re.call(ie,oe,ce++)&&se.next(oe)})))}))}ie.filter=filter},4013:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.finalize=void 0;var se=oe(38669);function finalize(re){return se.operate((function(ie,oe){try{ie.subscribe(oe)}finally{oe.add(re)}}))}ie.finalize=finalize},28981:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.createFind=ie.find=void 0;var se=oe(38669);var ae=oe(69549);function find(re,ie){return se.operate(createFind(re,ie,"value"))}ie.find=find;function createFind(re,ie,oe){var se=oe==="index";return function(oe,ce){var ue=0;oe.subscribe(ae.createOperatorSubscriber(ce,(function(ae){var le=ue++;if(re.call(ie,ae,le,oe)){ce.next(se?le:ae);ce.complete()}}),(function(){ce.next(se?-1:undefined);ce.complete()})))}}ie.createFind=createFind},92602:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.findIndex=void 0;var se=oe(38669);var ae=oe(28981);function findIndex(re,ie){return se.operate(ae.createFind(re,ie,"index"))}ie.findIndex=findIndex},63345:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.first=void 0;var se=oe(99391);var ae=oe(36894);var ce=oe(33698);var ue=oe(30621);var le=oe(91566);var fe=oe(60283);function first(re,ie){var oe=arguments.length>=2;return function(de){return de.pipe(re?ae.filter((function(ie,oe){return re(ie,oe,de)})):fe.identity,ce.take(1),oe?ue.defaultIfEmpty(ie):le.throwIfEmpty((function(){return new se.EmptyError})))}}ie.first=first},40186:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.flatMap=void 0;var se=oe(69914);ie.flatMap=se.mergeMap},51650:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.groupBy=void 0;var se=oe(53014);var ae=oe(57105);var ce=oe(49944);var ue=oe(38669);var le=oe(69549);function groupBy(re,ie,oe,fe){return ue.operate((function(ue,de){var pe;if(!ie||typeof ie==="function"){pe=ie}else{oe=ie.duration,pe=ie.element,fe=ie.connector}var he=new Map;var notify=function(re){he.forEach(re);re(de)};var handleError=function(re){return notify((function(ie){return ie.error(re)}))};var Ae=0;var ge=false;var me=new le.OperatorSubscriber(de,(function(ie){try{var se=re(ie);var ue=he.get(se);if(!ue){he.set(se,ue=fe?fe():new ce.Subject);var Ae=createGroupedObservable(se,ue);de.next(Ae);if(oe){var ge=le.createOperatorSubscriber(ue,(function(){ue.complete();ge===null||ge===void 0?void 0:ge.unsubscribe()}),undefined,undefined,(function(){return he.delete(se)}));me.add(ae.innerFrom(oe(Ae)).subscribe(ge))}}ue.next(pe?pe(ie):ie)}catch(re){handleError(re)}}),(function(){return notify((function(re){return re.complete()}))}),handleError,(function(){return he.clear()}),(function(){ge=true;return Ae===0}));ue.subscribe(me);function createGroupedObservable(re,ie){var oe=new se.Observable((function(re){Ae++;var oe=ie.subscribe(re);return function(){oe.unsubscribe();--Ae===0&&ge&&me.unsubscribe()}}));oe.key=re;return oe}}))}ie.groupBy=groupBy},31062:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.ignoreElements=void 0;var se=oe(38669);var ae=oe(69549);var ce=oe(11642);function ignoreElements(){return se.operate((function(re,ie){re.subscribe(ae.createOperatorSubscriber(ie,ce.noop))}))}ie.ignoreElements=ignoreElements},77722:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.isEmpty=void 0;var se=oe(38669);var ae=oe(69549);function isEmpty(){return se.operate((function(re,ie){re.subscribe(ae.createOperatorSubscriber(ie,(function(){ie.next(false);ie.complete()}),(function(){ie.next(true);ie.complete()})))}))}ie.isEmpty=isEmpty},29341:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.joinAllInternals=void 0;var se=oe(60283);var ae=oe(78934);var ce=oe(49587);var ue=oe(69914);var le=oe(35114);function joinAllInternals(re,ie){return ce.pipe(le.toArray(),ue.mergeMap((function(ie){return re(ie)})),ie?ae.mapOneOrManyArgs(ie):se.identity)}ie.joinAllInternals=joinAllInternals},46831:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.last=void 0;var se=oe(99391);var ae=oe(36894);var ce=oe(65041);var ue=oe(91566);var le=oe(30621);var fe=oe(60283);function last(re,ie){var oe=arguments.length>=2;return function(de){return de.pipe(re?ae.filter((function(ie,oe){return re(ie,oe,de)})):fe.identity,ce.takeLast(1),oe?le.defaultIfEmpty(ie):ue.throwIfEmpty((function(){return new se.EmptyError})))}}ie.last=last},5987:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.map=void 0;var se=oe(38669);var ae=oe(69549);function map(re,ie){return se.operate((function(oe,se){var ce=0;oe.subscribe(ae.createOperatorSubscriber(se,(function(oe){se.next(re.call(ie,oe,ce++))})))}))}ie.map=map},52300:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.mapTo=void 0;var se=oe(5987);function mapTo(re){return se.map((function(){return re}))}ie.mapTo=mapTo},67108:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.materialize=void 0;var se=oe(12241);var ae=oe(38669);var ce=oe(69549);function materialize(){return ae.operate((function(re,ie){re.subscribe(ce.createOperatorSubscriber(ie,(function(re){ie.next(se.Notification.createNext(re))}),(function(){ie.next(se.Notification.createComplete());ie.complete()}),(function(re){ie.next(se.Notification.createError(re));ie.complete()})))}))}ie.materialize=materialize},17314:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.max=void 0;var se=oe(62087);var ae=oe(67206);function max(re){return se.reduce(ae.isFunction(re)?function(ie,oe){return re(ie,oe)>0?ie:oe}:function(re,ie){return re>ie?re:ie})}ie.max=max},39510:function(re,ie,oe){"use strict";var se=this&&this.__read||function(re,ie){var oe=typeof Symbol==="function"&&re[Symbol.iterator];if(!oe)return re;var se=oe.call(re),ae,ce=[],ue;try{while((ie===void 0||ie-- >0)&&!(ae=se.next()).done)ce.push(ae.value)}catch(re){ue={error:re}}finally{try{if(ae&&!ae.done&&(oe=se["return"]))oe.call(se)}finally{if(ue)throw ue.error}}return ce};var ae=this&&this.__spreadArray||function(re,ie){for(var oe=0,se=ie.length,ae=re.length;oe{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.mergeAll=void 0;var se=oe(69914);var ae=oe(60283);function mergeAll(re){if(re===void 0){re=Infinity}return se.mergeMap(ae.identity,re)}ie.mergeAll=mergeAll},48246:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.mergeInternals=void 0;var se=oe(57105);var ae=oe(82877);var ce=oe(69549);function mergeInternals(re,ie,oe,ue,le,fe,de,pe){var he=[];var Ae=0;var ge=0;var me=false;var checkComplete=function(){if(me&&!he.length&&!Ae){ie.complete()}};var outerNext=function(re){return Ae{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.mergeMap=void 0;var se=oe(5987);var ae=oe(57105);var ce=oe(38669);var ue=oe(48246);var le=oe(67206);function mergeMap(re,ie,oe){if(oe===void 0){oe=Infinity}if(le.isFunction(ie)){return mergeMap((function(oe,ce){return se.map((function(re,se){return ie(oe,re,ce,se)}))(ae.innerFrom(re(oe,ce)))}),oe)}else if(typeof ie==="number"){oe=ie}return ce.operate((function(ie,se){return ue.mergeInternals(ie,se,re,oe)}))}ie.mergeMap=mergeMap},49151:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.mergeMapTo=void 0;var se=oe(69914);var ae=oe(67206);function mergeMapTo(re,ie,oe){if(oe===void 0){oe=Infinity}if(ae.isFunction(ie)){return se.mergeMap((function(){return re}),ie,oe)}if(typeof ie==="number"){oe=ie}return se.mergeMap((function(){return re}),oe)}ie.mergeMapTo=mergeMapTo},11519:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.mergeScan=void 0;var se=oe(38669);var ae=oe(48246);function mergeScan(re,ie,oe){if(oe===void 0){oe=Infinity}return se.operate((function(se,ce){var ue=ie;return ae.mergeInternals(se,ce,(function(ie,oe){return re(ue,ie,oe)}),oe,(function(re){ue=re}),false,undefined,(function(){return ue=null}))}))}ie.mergeScan=mergeScan},31564:function(re,ie,oe){"use strict";var se=this&&this.__read||function(re,ie){var oe=typeof Symbol==="function"&&re[Symbol.iterator];if(!oe)return re;var se=oe.call(re),ae,ce=[],ue;try{while((ie===void 0||ie-- >0)&&!(ae=se.next()).done)ce.push(ae.value)}catch(re){ue={error:re}}finally{try{if(ae&&!ae.done&&(oe=se["return"]))oe.call(se)}finally{if(ue)throw ue.error}}return ce};var ae=this&&this.__spreadArray||function(re,ie){for(var oe=0,se=ie.length,ae=re.length;oe{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.min=void 0;var se=oe(62087);var ae=oe(67206);function min(re){return se.reduce(ae.isFunction(re)?function(ie,oe){return re(ie,oe)<0?ie:oe}:function(re,ie){return re{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.multicast=void 0;var se=oe(30420);var ae=oe(67206);var ce=oe(51101);function multicast(re,ie){var oe=ae.isFunction(re)?re:function(){return re};if(ae.isFunction(ie)){return ce.connect(ie,{connector:oe})}return function(re){return new se.ConnectableObservable(re,oe)}}ie.multicast=multicast},22451:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.observeOn=void 0;var se=oe(82877);var ae=oe(38669);var ce=oe(69549);function observeOn(re,ie){if(ie===void 0){ie=0}return ae.operate((function(oe,ae){oe.subscribe(ce.createOperatorSubscriber(ae,(function(oe){return se.executeSchedule(ae,re,(function(){return ae.next(oe)}),ie)}),(function(){return se.executeSchedule(ae,re,(function(){return ae.complete()}),ie)}),(function(oe){return se.executeSchedule(ae,re,(function(){return ae.error(oe)}),ie)})))}))}ie.observeOn=observeOn},33569:function(re,ie,oe){"use strict";var se=this&&this.__read||function(re,ie){var oe=typeof Symbol==="function"&&re[Symbol.iterator];if(!oe)return re;var se=oe.call(re),ae,ce=[],ue;try{while((ie===void 0||ie-- >0)&&!(ae=se.next()).done)ce.push(ae.value)}catch(re){ue={error:re}}finally{try{if(ae&&!ae.done&&(oe=se["return"]))oe.call(se)}finally{if(ue)throw ue.error}}return ce};var ae=this&&this.__spreadArray||function(re,ie){for(var oe=0,se=ie.length,ae=re.length;oe{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.pairwise=void 0;var se=oe(38669);var ae=oe(69549);function pairwise(){return se.operate((function(re,ie){var oe;var se=false;re.subscribe(ae.createOperatorSubscriber(ie,(function(re){var ae=oe;oe=re;se&&ie.next([ae,re]);se=true})))}))}ie.pairwise=pairwise},55949:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.partition=void 0;var se=oe(54338);var ae=oe(36894);function partition(re,ie){return function(oe){return[ae.filter(re,ie)(oe),ae.filter(se.not(re,ie))(oe)]}}ie.partition=partition},16073:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.pluck=void 0;var se=oe(5987);function pluck(){var re=[];for(var ie=0;ie{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.publish=void 0;var se=oe(49944);var ae=oe(65457);var ce=oe(51101);function publish(re){return re?function(ie){return ce.connect(re)(ie)}:function(re){return ae.multicast(new se.Subject)(re)}}ie.publish=publish},40045:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.publishBehavior=void 0;var se=oe(23473);var ae=oe(30420);function publishBehavior(re){return function(ie){var oe=new se.BehaviorSubject(re);return new ae.ConnectableObservable(ie,(function(){return oe}))}}ie.publishBehavior=publishBehavior},84149:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.publishLast=void 0;var se=oe(9747);var ae=oe(30420);function publishLast(){return function(re){var ie=new se.AsyncSubject;return new ae.ConnectableObservable(re,(function(){return ie}))}}ie.publishLast=publishLast},47656:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.publishReplay=void 0;var se=oe(22351);var ae=oe(65457);var ce=oe(67206);function publishReplay(re,ie,oe,ue){if(oe&&!ce.isFunction(oe)){ue=oe}var le=ce.isFunction(oe)?oe:undefined;return function(oe){return ae.multicast(new se.ReplaySubject(re,ie,ue),le)(oe)}}ie.publishReplay=publishReplay},85846:function(re,ie,oe){"use strict";var se=this&&this.__read||function(re,ie){var oe=typeof Symbol==="function"&&re[Symbol.iterator];if(!oe)return re;var se=oe.call(re),ae,ce=[],ue;try{while((ie===void 0||ie-- >0)&&!(ae=se.next()).done)ce.push(ae.value)}catch(re){ue={error:re}}finally{try{if(ae&&!ae.done&&(oe=se["return"]))oe.call(se)}finally{if(ue)throw ue.error}}return ce};var ae=this&&this.__spreadArray||function(re,ie){for(var oe=0,se=ie.length,ae=re.length;oe0)&&!(ae=se.next()).done)ce.push(ae.value)}catch(re){ue={error:re}}finally{try{if(ae&&!ae.done&&(oe=se["return"]))oe.call(se)}finally{if(ue)throw ue.error}}return ce};var ae=this&&this.__spreadArray||function(re,ie){for(var oe=0,se=ie.length,ae=re.length;oe{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.reduce=void 0;var se=oe(20998);var ae=oe(38669);function reduce(re,ie){return ae.operate(se.scanInternals(re,ie,arguments.length>=2,false,true))}ie.reduce=reduce},2331:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.refCount=void 0;var se=oe(38669);var ae=oe(69549);function refCount(){return se.operate((function(re,ie){var oe=null;re._refCount++;var se=ae.createOperatorSubscriber(ie,undefined,undefined,undefined,(function(){if(!re||re._refCount<=0||0<--re._refCount){oe=null;return}var se=re._connection;var ae=oe;oe=null;if(se&&(!ae||se===ae)){se.unsubscribe()}ie.unsubscribe()}));re.subscribe(se);if(!se.closed){oe=re.connect()}}))}ie.refCount=refCount},22418:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.repeat=void 0;var se=oe(70437);var ae=oe(38669);var ce=oe(69549);var ue=oe(57105);var le=oe(59757);function repeat(re){var ie;var oe=Infinity;var fe;if(re!=null){if(typeof re==="object"){ie=re.count,oe=ie===void 0?Infinity:ie,fe=re.delay}else{oe=re}}return oe<=0?function(){return se.EMPTY}:ae.operate((function(re,ie){var se=0;var ae;var resubscribe=function(){ae===null||ae===void 0?void 0:ae.unsubscribe();ae=null;if(fe!=null){var re=typeof fe==="number"?le.timer(fe):ue.innerFrom(fe(se));var oe=ce.createOperatorSubscriber(ie,(function(){oe.unsubscribe();subscribeToSource()}));re.subscribe(oe)}else{subscribeToSource()}};var subscribeToSource=function(){var ue=false;ae=re.subscribe(ce.createOperatorSubscriber(ie,undefined,(function(){if(++se{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.repeatWhen=void 0;var se=oe(57105);var ae=oe(49944);var ce=oe(38669);var ue=oe(69549);function repeatWhen(re){return ce.operate((function(ie,oe){var ce;var le=false;var fe;var de=false;var pe=false;var checkComplete=function(){return pe&&de&&(oe.complete(),true)};var getCompletionSubject=function(){if(!fe){fe=new ae.Subject;se.innerFrom(re(fe)).subscribe(ue.createOperatorSubscriber(oe,(function(){if(ce){subscribeForRepeatWhen()}else{le=true}}),(function(){de=true;checkComplete()})))}return fe};var subscribeForRepeatWhen=function(){pe=false;ce=ie.subscribe(ue.createOperatorSubscriber(oe,undefined,(function(){pe=true;!checkComplete()&&getCompletionSubject().next()})));if(le){ce.unsubscribe();ce=null;le=false;subscribeForRepeatWhen()}};subscribeForRepeatWhen()}))}ie.repeatWhen=repeatWhen},56251:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.retry=void 0;var se=oe(38669);var ae=oe(69549);var ce=oe(60283);var ue=oe(59757);var le=oe(57105);function retry(re){if(re===void 0){re=Infinity}var ie;if(re&&typeof re==="object"){ie=re}else{ie={count:re}}var oe=ie.count,fe=oe===void 0?Infinity:oe,de=ie.delay,pe=ie.resetOnSuccess,he=pe===void 0?false:pe;return fe<=0?ce.identity:se.operate((function(re,ie){var oe=0;var se;var subscribeForRetry=function(){var ce=false;se=re.subscribe(ae.createOperatorSubscriber(ie,(function(re){if(he){oe=0}ie.next(re)}),undefined,(function(re){if(oe++{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.retryWhen=void 0;var se=oe(57105);var ae=oe(49944);var ce=oe(38669);var ue=oe(69549);function retryWhen(re){return ce.operate((function(ie,oe){var ce;var le=false;var fe;var subscribeForRetryWhen=function(){ce=ie.subscribe(ue.createOperatorSubscriber(oe,undefined,undefined,(function(ie){if(!fe){fe=new ae.Subject;se.innerFrom(re(fe)).subscribe(ue.createOperatorSubscriber(oe,(function(){return ce?subscribeForRetryWhen():le=true})))}if(fe){fe.next(ie)}})));if(le){ce.unsubscribe();ce=null;le=false;subscribeForRetryWhen()}};subscribeForRetryWhen()}))}ie.retryWhen=retryWhen},13774:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.sample=void 0;var se=oe(57105);var ae=oe(38669);var ce=oe(11642);var ue=oe(69549);function sample(re){return ae.operate((function(ie,oe){var ae=false;var le=null;ie.subscribe(ue.createOperatorSubscriber(oe,(function(re){ae=true;le=re})));se.innerFrom(re).subscribe(ue.createOperatorSubscriber(oe,(function(){if(ae){ae=false;var re=le;le=null;oe.next(re)}}),ce.noop))}))}ie.sample=sample},49807:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.sampleTime=void 0;var se=oe(76072);var ae=oe(13774);var ce=oe(20029);function sampleTime(re,ie){if(ie===void 0){ie=se.asyncScheduler}return ae.sample(ce.interval(re,ie))}ie.sampleTime=sampleTime},25578:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.scan=void 0;var se=oe(38669);var ae=oe(20998);function scan(re,ie){return se.operate(ae.scanInternals(re,ie,arguments.length>=2,true))}ie.scan=scan},20998:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.scanInternals=void 0;var se=oe(69549);function scanInternals(re,ie,oe,ae,ce){return function(ue,le){var fe=oe;var de=ie;var pe=0;ue.subscribe(se.createOperatorSubscriber(le,(function(ie){var oe=pe++;de=fe?re(de,ie,oe):(fe=true,ie);ae&&le.next(de)}),ce&&function(){fe&&le.next(de);le.complete()}))}}ie.scanInternals=scanInternals},16126:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.sequenceEqual=void 0;var se=oe(38669);var ae=oe(69549);var ce=oe(57105);function sequenceEqual(re,ie){if(ie===void 0){ie=function(re,ie){return re===ie}}return se.operate((function(oe,se){var ue=createState();var le=createState();var emit=function(re){se.next(re);se.complete()};var createSubscriber=function(re,oe){var ce=ae.createOperatorSubscriber(se,(function(se){var ae=oe.buffer,ce=oe.complete;if(ae.length===0){ce?emit(false):re.buffer.push(se)}else{!ie(se,ae.shift())&&emit(false)}}),(function(){re.complete=true;var ie=oe.complete,se=oe.buffer;ie&&emit(se.length===0);ce===null||ce===void 0?void 0:ce.unsubscribe()}));return ce};oe.subscribe(createSubscriber(ue,le));ce.innerFrom(re).subscribe(createSubscriber(le,ue))}))}ie.sequenceEqual=sequenceEqual;function createState(){return{buffer:[],complete:false}}},48960:function(re,ie,oe){"use strict";var se=this&&this.__read||function(re,ie){var oe=typeof Symbol==="function"&&re[Symbol.iterator];if(!oe)return re;var se=oe.call(re),ae,ce=[],ue;try{while((ie===void 0||ie-- >0)&&!(ae=se.next()).done)ce.push(ae.value)}catch(re){ue={error:re}}finally{try{if(ae&&!ae.done&&(oe=se["return"]))oe.call(se)}finally{if(ue)throw ue.error}}return ce};var ae=this&&this.__spreadArray||function(re,ie){for(var oe=0,se=ie.length,ae=re.length;oe0){ie=new le.SafeSubscriber({next:function(re){return me.next(re)},error:function(re){ge=true;cancelReset();se=handleReset(reset,ae,re);me.error(re)},complete:function(){he=true;cancelReset();se=handleReset(reset,pe);me.complete()}});ce.innerFrom(re).subscribe(ie)}}))(re)}}ie.share=share;function handleReset(re,ie){var oe=[];for(var ue=2;ue{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.shareReplay=void 0;var se=oe(22351);var ae=oe(48960);function shareReplay(re,ie,oe){var ce,ue,le;var fe;var de=false;if(re&&typeof re==="object"){ce=re.bufferSize,fe=ce===void 0?Infinity:ce,ue=re.windowTime,ie=ue===void 0?Infinity:ue,le=re.refCount,de=le===void 0?false:le,oe=re.scheduler}else{fe=re!==null&&re!==void 0?re:Infinity}return ae.share({connector:function(){return new se.ReplaySubject(fe,ie,oe)},resetOnError:true,resetOnComplete:false,resetOnRefCountZero:de})}ie.shareReplay=shareReplay},58441:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.single=void 0;var se=oe(99391);var ae=oe(49048);var ce=oe(74431);var ue=oe(38669);var le=oe(69549);function single(re){return ue.operate((function(ie,oe){var ue=false;var fe;var de=false;var pe=0;ie.subscribe(le.createOperatorSubscriber(oe,(function(se){de=true;if(!re||re(se,pe++,ie)){ue&&oe.error(new ae.SequenceError("Too many matching values"));ue=true;fe=se}}),(function(){if(ue){oe.next(fe);oe.complete()}else{oe.error(de?new ce.NotFoundError("No matching values"):new se.EmptyError)}})))}))}ie.single=single},80947:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.skip=void 0;var se=oe(36894);function skip(re){return se.filter((function(ie,oe){return re<=oe}))}ie.skip=skip},65865:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.skipLast=void 0;var se=oe(60283);var ae=oe(38669);var ce=oe(69549);function skipLast(re){return re<=0?se.identity:ae.operate((function(ie,oe){var se=new Array(re);var ae=0;ie.subscribe(ce.createOperatorSubscriber(oe,(function(ie){var ce=ae++;if(ce{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.skipUntil=void 0;var se=oe(38669);var ae=oe(69549);var ce=oe(57105);var ue=oe(11642);function skipUntil(re){return se.operate((function(ie,oe){var se=false;var le=ae.createOperatorSubscriber(oe,(function(){le===null||le===void 0?void 0:le.unsubscribe();se=true}),ue.noop);ce.innerFrom(re).subscribe(le);ie.subscribe(ae.createOperatorSubscriber(oe,(function(re){return se&&oe.next(re)})))}))}ie.skipUntil=skipUntil},92550:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.skipWhile=void 0;var se=oe(38669);var ae=oe(69549);function skipWhile(re){return se.operate((function(ie,oe){var se=false;var ce=0;ie.subscribe(ae.createOperatorSubscriber(oe,(function(ie){return(se||(se=!re(ie,ce++)))&&oe.next(ie)})))}))}ie.skipWhile=skipWhile},25471:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.startWith=void 0;var se=oe(4675);var ae=oe(34890);var ce=oe(38669);function startWith(){var re=[];for(var ie=0;ie{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.subscribeOn=void 0;var se=oe(38669);function subscribeOn(re,ie){if(ie===void 0){ie=0}return se.operate((function(oe,se){se.add(re.schedule((function(){return oe.subscribe(se)}),ie))}))}ie.subscribeOn=subscribeOn},40327:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.switchAll=void 0;var se=oe(26704);var ae=oe(60283);function switchAll(){return se.switchMap(ae.identity)}ie.switchAll=switchAll},26704:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.switchMap=void 0;var se=oe(57105);var ae=oe(38669);var ce=oe(69549);function switchMap(re,ie){return ae.operate((function(oe,ae){var ue=null;var le=0;var fe=false;var checkComplete=function(){return fe&&!ue&&ae.complete()};oe.subscribe(ce.createOperatorSubscriber(ae,(function(oe){ue===null||ue===void 0?void 0:ue.unsubscribe();var fe=0;var de=le++;se.innerFrom(re(oe,de)).subscribe(ue=ce.createOperatorSubscriber(ae,(function(re){return ae.next(ie?ie(oe,re,de,fe++):re)}),(function(){ue=null;checkComplete()})))}),(function(){fe=true;checkComplete()})))}))}ie.switchMap=switchMap},1713:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.switchMapTo=void 0;var se=oe(26704);var ae=oe(67206);function switchMapTo(re,ie){return ae.isFunction(ie)?se.switchMap((function(){return re}),ie):se.switchMap((function(){return re}))}ie.switchMapTo=switchMapTo},13355:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.switchScan=void 0;var se=oe(26704);var ae=oe(38669);function switchScan(re,ie){return ae.operate((function(oe,ae){var ce=ie;se.switchMap((function(ie,oe){return re(ce,ie,oe)}),(function(re,ie){return ce=ie,ie}))(oe).subscribe(ae);return function(){ce=null}}))}ie.switchScan=switchScan},33698:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.take=void 0;var se=oe(70437);var ae=oe(38669);var ce=oe(69549);function take(re){return re<=0?function(){return se.EMPTY}:ae.operate((function(ie,oe){var se=0;ie.subscribe(ce.createOperatorSubscriber(oe,(function(ie){if(++se<=re){oe.next(ie);if(re<=se){oe.complete()}}})))}))}ie.take=take},65041:function(re,ie,oe){"use strict";var se=this&&this.__values||function(re){var ie=typeof Symbol==="function"&&Symbol.iterator,oe=ie&&re[ie],se=0;if(oe)return oe.call(re);if(re&&typeof re.length==="number")return{next:function(){if(re&&se>=re.length)re=void 0;return{value:re&&re[se++],done:!re}}};throw new TypeError(ie?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(ie,"__esModule",{value:true});ie.takeLast=void 0;var ae=oe(70437);var ce=oe(38669);var ue=oe(69549);function takeLast(re){return re<=0?function(){return ae.EMPTY}:ce.operate((function(ie,oe){var ae=[];ie.subscribe(ue.createOperatorSubscriber(oe,(function(ie){ae.push(ie);re{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.takeUntil=void 0;var se=oe(38669);var ae=oe(69549);var ce=oe(57105);var ue=oe(11642);function takeUntil(re){return se.operate((function(ie,oe){ce.innerFrom(re).subscribe(ae.createOperatorSubscriber(oe,(function(){return oe.complete()}),ue.noop));!oe.closed&&ie.subscribe(oe)}))}ie.takeUntil=takeUntil},76700:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.takeWhile=void 0;var se=oe(38669);var ae=oe(69549);function takeWhile(re,ie){if(ie===void 0){ie=false}return se.operate((function(oe,se){var ce=0;oe.subscribe(ae.createOperatorSubscriber(se,(function(oe){var ae=re(oe,ce++);(ae||ie)&&se.next(oe);!ae&&se.complete()})))}))}ie.takeWhile=takeWhile},48845:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.tap=void 0;var se=oe(67206);var ae=oe(38669);var ce=oe(69549);var ue=oe(60283);function tap(re,ie,oe){var le=se.isFunction(re)||ie||oe?{next:re,error:ie,complete:oe}:re;return le?ae.operate((function(re,ie){var oe;(oe=le.subscribe)===null||oe===void 0?void 0:oe.call(le);var se=true;re.subscribe(ce.createOperatorSubscriber(ie,(function(re){var oe;(oe=le.next)===null||oe===void 0?void 0:oe.call(le,re);ie.next(re)}),(function(){var re;se=false;(re=le.complete)===null||re===void 0?void 0:re.call(le);ie.complete()}),(function(re){var oe;se=false;(oe=le.error)===null||oe===void 0?void 0:oe.call(le,re);ie.error(re)}),(function(){var re,ie;if(se){(re=le.unsubscribe)===null||re===void 0?void 0:re.call(le)}(ie=le.finalize)===null||ie===void 0?void 0:ie.call(le)})))})):ue.identity}ie.tap=tap},36713:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.throttle=void 0;var se=oe(38669);var ae=oe(69549);var ce=oe(57105);function throttle(re,ie){return se.operate((function(oe,se){var ue=ie!==null&&ie!==void 0?ie:{},le=ue.leading,fe=le===void 0?true:le,de=ue.trailing,pe=de===void 0?false:de;var he=false;var Ae=null;var ge=null;var me=false;var endThrottling=function(){ge===null||ge===void 0?void 0:ge.unsubscribe();ge=null;if(pe){send();me&&se.complete()}};var cleanupThrottling=function(){ge=null;me&&se.complete()};var startThrottle=function(ie){return ge=ce.innerFrom(re(ie)).subscribe(ae.createOperatorSubscriber(se,endThrottling,cleanupThrottling))};var send=function(){if(he){he=false;var re=Ae;Ae=null;se.next(re);!me&&startThrottle(re)}};oe.subscribe(ae.createOperatorSubscriber(se,(function(re){he=true;Ae=re;!(ge&&!ge.closed)&&(fe?send():startThrottle(re))}),(function(){me=true;!(pe&&he&&ge&&!ge.closed)&&se.complete()})))}))}ie.throttle=throttle},83435:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.throttleTime=void 0;var se=oe(76072);var ae=oe(36713);var ce=oe(59757);function throttleTime(re,ie,oe){if(ie===void 0){ie=se.asyncScheduler}var ue=ce.timer(re,ie);return ae.throttle((function(){return ue}),oe)}ie.throttleTime=throttleTime},91566:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.throwIfEmpty=void 0;var se=oe(99391);var ae=oe(38669);var ce=oe(69549);function throwIfEmpty(re){if(re===void 0){re=defaultErrorFactory}return ae.operate((function(ie,oe){var se=false;ie.subscribe(ce.createOperatorSubscriber(oe,(function(re){se=true;oe.next(re)}),(function(){return se?oe.complete():oe.error(re())})))}))}ie.throwIfEmpty=throwIfEmpty;function defaultErrorFactory(){return new se.EmptyError}},14643:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.TimeInterval=ie.timeInterval=void 0;var se=oe(76072);var ae=oe(38669);var ce=oe(69549);function timeInterval(re){if(re===void 0){re=se.asyncScheduler}return ae.operate((function(ie,oe){var se=re.now();ie.subscribe(ce.createOperatorSubscriber(oe,(function(ie){var ae=re.now();var ce=ae-se;se=ae;oe.next(new ue(ie,ce))})))}))}ie.timeInterval=timeInterval;var ue=function(){function TimeInterval(re,ie){this.value=re;this.interval=ie}return TimeInterval}();ie.TimeInterval=ue},12051:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.timeout=ie.TimeoutError=void 0;var se=oe(76072);var ae=oe(60935);var ce=oe(38669);var ue=oe(57105);var le=oe(8858);var fe=oe(69549);var de=oe(82877);ie.TimeoutError=le.createErrorClass((function(re){return function TimeoutErrorImpl(ie){if(ie===void 0){ie=null}re(this);this.message="Timeout has occurred";this.name="TimeoutError";this.info=ie}}));function timeout(re,ie){var oe=ae.isValidDate(re)?{first:re}:typeof re==="number"?{each:re}:re,le=oe.first,pe=oe.each,he=oe.with,Ae=he===void 0?timeoutErrorFactory:he,ge=oe.scheduler,me=ge===void 0?ie!==null&&ie!==void 0?ie:se.asyncScheduler:ge,ye=oe.meta,ve=ye===void 0?null:ye;if(le==null&&pe==null){throw new TypeError("No timeout provided.")}return ce.operate((function(re,ie){var oe;var se;var ae=null;var ce=0;var startTimer=function(re){se=de.executeSchedule(ie,me,(function(){try{oe.unsubscribe();ue.innerFrom(Ae({meta:ve,lastValue:ae,seen:ce})).subscribe(ie)}catch(re){ie.error(re)}}),re)};oe=re.subscribe(fe.createOperatorSubscriber(ie,(function(re){se===null||se===void 0?void 0:se.unsubscribe();ce++;ie.next(ae=re);pe>0&&startTimer(pe)}),undefined,undefined,(function(){if(!(se===null||se===void 0?void 0:se.closed)){se===null||se===void 0?void 0:se.unsubscribe()}ae=null})));!ce&&startTimer(le!=null?typeof le==="number"?le:+le-me.now():pe)}))}ie.timeout=timeout;function timeoutErrorFactory(re){throw new ie.TimeoutError(re)}},43540:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.timeoutWith=void 0;var se=oe(76072);var ae=oe(60935);var ce=oe(12051);function timeoutWith(re,ie,oe){var ue;var le;var fe;oe=oe!==null&&oe!==void 0?oe:se.async;if(ae.isValidDate(re)){ue=re}else if(typeof re==="number"){le=re}if(ie){fe=function(){return ie}}else{throw new TypeError("No observable provided to switch to")}if(ue==null&&le==null){throw new TypeError("No timeout provided.")}return ce.timeout({first:ue,each:le,scheduler:oe,with:fe})}ie.timeoutWith=timeoutWith},75518:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.timestamp=void 0;var se=oe(91395);var ae=oe(5987);function timestamp(re){if(re===void 0){re=se.dateTimestampProvider}return ae.map((function(ie){return{value:ie,timestamp:re.now()}}))}ie.timestamp=timestamp},35114:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.toArray=void 0;var se=oe(62087);var ae=oe(38669);var arrReducer=function(re,ie){return re.push(ie),re};function toArray(){return ae.operate((function(re,ie){se.reduce(arrReducer,[])(re).subscribe(ie)}))}ie.toArray=toArray},98255:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.window=void 0;var se=oe(49944);var ae=oe(38669);var ce=oe(69549);var ue=oe(11642);var le=oe(57105);function window(re){return ae.operate((function(ie,oe){var ae=new se.Subject;oe.next(ae.asObservable());var errorHandler=function(re){ae.error(re);oe.error(re)};ie.subscribe(ce.createOperatorSubscriber(oe,(function(re){return ae===null||ae===void 0?void 0:ae.next(re)}),(function(){ae.complete();oe.complete()}),errorHandler));le.innerFrom(re).subscribe(ce.createOperatorSubscriber(oe,(function(){ae.complete();oe.next(ae=new se.Subject)}),ue.noop,errorHandler));return function(){ae===null||ae===void 0?void 0:ae.unsubscribe();ae=null}}))}ie.window=window},73144:function(re,ie,oe){"use strict";var se=this&&this.__values||function(re){var ie=typeof Symbol==="function"&&Symbol.iterator,oe=ie&&re[ie],se=0;if(oe)return oe.call(re);if(re&&typeof re.length==="number")return{next:function(){if(re&&se>=re.length)re=void 0;return{value:re&&re[se++],done:!re}}};throw new TypeError(ie?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(ie,"__esModule",{value:true});ie.windowCount=void 0;var ae=oe(49944);var ce=oe(38669);var ue=oe(69549);function windowCount(re,ie){if(ie===void 0){ie=0}var oe=ie>0?ie:re;return ce.operate((function(ie,ce){var le=[new ae.Subject];var fe=[];var de=0;ce.next(le[0].asObservable());ie.subscribe(ue.createOperatorSubscriber(ce,(function(ie){var ue,fe;try{for(var pe=se(le),he=pe.next();!he.done;he=pe.next()){var Ae=he.value;Ae.next(ie)}}catch(re){ue={error:re}}finally{try{if(he&&!he.done&&(fe=pe.return))fe.call(pe)}finally{if(ue)throw ue.error}}var ge=de-re+1;if(ge>=0&&ge%oe===0){le.shift().complete()}if(++de%oe===0){var me=new ae.Subject;le.push(me);ce.next(me.asObservable())}}),(function(){while(le.length>0){le.shift().complete()}ce.complete()}),(function(re){while(le.length>0){le.shift().error(re)}ce.error(re)}),(function(){fe=null;le=null})))}))}ie.windowCount=windowCount},2738:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.windowTime=void 0;var se=oe(49944);var ae=oe(76072);var ce=oe(79548);var ue=oe(38669);var le=oe(69549);var fe=oe(68499);var de=oe(34890);var pe=oe(82877);function windowTime(re){var ie,oe;var he=[];for(var Ae=1;Ae=0){pe.executeSchedule(oe,ge,startWindow,me,true)}else{ue=true}startWindow();var loop=function(re){return ae.slice().forEach(re)};var terminate=function(re){loop((function(ie){var oe=ie.window;return re(oe)}));re(oe);oe.unsubscribe()};ie.subscribe(le.createOperatorSubscriber(oe,(function(re){loop((function(ie){ie.window.next(re);ye<=++ie.seen&&closeWindow(ie)}))}),(function(){return terminate((function(re){return re.complete()}))}),(function(re){return terminate((function(ie){return ie.error(re)}))})));return function(){ae=null}}))}ie.windowTime=windowTime},52741:function(re,ie,oe){"use strict";var se=this&&this.__values||function(re){var ie=typeof Symbol==="function"&&Symbol.iterator,oe=ie&&re[ie],se=0;if(oe)return oe.call(re);if(re&&typeof re.length==="number")return{next:function(){if(re&&se>=re.length)re=void 0;return{value:re&&re[se++],done:!re}}};throw new TypeError(ie?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(ie,"__esModule",{value:true});ie.windowToggle=void 0;var ae=oe(49944);var ce=oe(79548);var ue=oe(38669);var le=oe(57105);var fe=oe(69549);var de=oe(11642);var pe=oe(68499);function windowToggle(re,ie){return ue.operate((function(oe,ue){var he=[];var handleError=function(re){while(0{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.windowWhen=void 0;var se=oe(49944);var ae=oe(38669);var ce=oe(69549);var ue=oe(57105);function windowWhen(re){return ae.operate((function(ie,oe){var ae;var le;var handleError=function(re){ae.error(re);oe.error(re)};var openWindow=function(){le===null||le===void 0?void 0:le.unsubscribe();ae===null||ae===void 0?void 0:ae.complete();ae=new se.Subject;oe.next(ae.asObservable());var ie;try{ie=ue.innerFrom(re())}catch(re){handleError(re);return}ie.subscribe(le=ce.createOperatorSubscriber(oe,openWindow,openWindow,handleError))};openWindow();ie.subscribe(ce.createOperatorSubscriber(oe,(function(re){return ae.next(re)}),(function(){ae.complete();oe.complete()}),handleError,(function(){le===null||le===void 0?void 0:le.unsubscribe();ae=null})))}))}ie.windowWhen=windowWhen},20501:function(re,ie,oe){"use strict";var se=this&&this.__read||function(re,ie){var oe=typeof Symbol==="function"&&re[Symbol.iterator];if(!oe)return re;var se=oe.call(re),ae,ce=[],ue;try{while((ie===void 0||ie-- >0)&&!(ae=se.next()).done)ce.push(ae.value)}catch(re){ue={error:re}}finally{try{if(ae&&!ae.done&&(oe=se["return"]))oe.call(se)}finally{if(ue)throw ue.error}}return ce};var ae=this&&this.__spreadArray||function(re,ie){for(var oe=0,se=ie.length,ae=re.length;oe0)&&!(ae=se.next()).done)ce.push(ae.value)}catch(re){ue={error:re}}finally{try{if(ae&&!ae.done&&(oe=se["return"]))oe.call(se)}finally{if(ue)throw ue.error}}return ce};var ae=this&&this.__spreadArray||function(re,ie){for(var oe=0,se=ie.length,ae=re.length;oe{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.zipAll=void 0;var se=oe(62504);var ae=oe(29341);function zipAll(re){return ae.joinAllInternals(se.zip,re)}ie.zipAll=zipAll},95520:function(re,ie,oe){"use strict";var se=this&&this.__read||function(re,ie){var oe=typeof Symbol==="function"&&re[Symbol.iterator];if(!oe)return re;var se=oe.call(re),ae,ce=[],ue;try{while((ie===void 0||ie-- >0)&&!(ae=se.next()).done)ce.push(ae.value)}catch(re){ue={error:re}}finally{try{if(ae&&!ae.done&&(oe=se["return"]))oe.call(se)}finally{if(ue)throw ue.error}}return ce};var ae=this&&this.__spreadArray||function(re,ie){for(var oe=0,se=ie.length,ae=re.length;oe{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.scheduleArray=void 0;var se=oe(53014);function scheduleArray(re,ie){return new se.Observable((function(oe){var se=0;return ie.schedule((function(){if(se===re.length){oe.complete()}else{oe.next(re[se++]);if(!oe.closed){this.schedule()}}}))}))}ie.scheduleArray=scheduleArray},75347:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.scheduleAsyncIterable=void 0;var se=oe(53014);var ae=oe(82877);function scheduleAsyncIterable(re,ie){if(!re){throw new Error("Iterable cannot be null")}return new se.Observable((function(oe){ae.executeSchedule(oe,ie,(function(){var se=re[Symbol.asyncIterator]();ae.executeSchedule(oe,ie,(function(){se.next().then((function(re){if(re.done){oe.complete()}else{oe.next(re.value)}}))}),0,true)}))}))}ie.scheduleAsyncIterable=scheduleAsyncIterable},59461:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.scheduleIterable=void 0;var se=oe(53014);var ae=oe(85517);var ce=oe(67206);var ue=oe(82877);function scheduleIterable(re,ie){return new se.Observable((function(oe){var se;ue.executeSchedule(oe,ie,(function(){se=re[ae.iterator]();ue.executeSchedule(oe,ie,(function(){var re;var ie;var ae;try{re=se.next(),ie=re.value,ae=re.done}catch(re){oe.error(re);return}if(ae){oe.complete()}else{oe.next(ie)}}),0,true)}));return function(){return ce.isFunction(se===null||se===void 0?void 0:se.return)&&se.return()}}))}ie.scheduleIterable=scheduleIterable},17096:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.scheduleObservable=void 0;var se=oe(57105);var ae=oe(22451);var ce=oe(7224);function scheduleObservable(re,ie){return se.innerFrom(re).pipe(ce.subscribeOn(ie),ae.observeOn(ie))}ie.scheduleObservable=scheduleObservable},24087:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.schedulePromise=void 0;var se=oe(57105);var ae=oe(22451);var ce=oe(7224);function schedulePromise(re,ie){return se.innerFrom(re).pipe(ce.subscribeOn(ie),ae.observeOn(ie))}ie.schedulePromise=schedulePromise},5967:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.scheduleReadableStreamLike=void 0;var se=oe(75347);var ae=oe(99621);function scheduleReadableStreamLike(re,ie){return se.scheduleAsyncIterable(ae.readableStreamLikeToAsyncGenerator(re),ie)}ie.scheduleReadableStreamLike=scheduleReadableStreamLike},6151:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.scheduled=void 0;var se=oe(17096);var ae=oe(24087);var ce=oe(11348);var ue=oe(59461);var le=oe(75347);var fe=oe(67984);var de=oe(65585);var pe=oe(24461);var he=oe(94292);var Ae=oe(44408);var ge=oe(97364);var me=oe(99621);var ye=oe(5967);function scheduled(re,ie){if(re!=null){if(fe.isInteropObservable(re)){return se.scheduleObservable(re,ie)}if(pe.isArrayLike(re)){return ce.scheduleArray(re,ie)}if(de.isPromise(re)){return ae.schedulePromise(re,ie)}if(Ae.isAsyncIterable(re)){return le.scheduleAsyncIterable(re,ie)}if(he.isIterable(re)){return ue.scheduleIterable(re,ie)}if(me.isReadableStreamLike(re)){return ye.scheduleReadableStreamLike(re,ie)}}throw ge.createInvalidObservableTypeError(re)}ie.scheduled=scheduled},83848:function(re,ie,oe){"use strict";var se=this&&this.__extends||function(){var extendStatics=function(re,ie){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,ie){re.__proto__=ie}||function(re,ie){for(var oe in ie)if(Object.prototype.hasOwnProperty.call(ie,oe))re[oe]=ie[oe]};return extendStatics(re,ie)};return function(re,ie){if(typeof ie!=="function"&&ie!==null)throw new TypeError("Class extends value "+String(ie)+" is not a constructor or null");extendStatics(re,ie);function __(){this.constructor=re}re.prototype=ie===null?Object.create(ie):(__.prototype=ie.prototype,new __)}}();Object.defineProperty(ie,"__esModule",{value:true});ie.Action=void 0;var ae=oe(79548);var ce=function(re){se(Action,re);function Action(ie,oe){return re.call(this)||this}Action.prototype.schedule=function(re,ie){if(ie===void 0){ie=0}return this};return Action}(ae.Subscription);ie.Action=ce},95991:function(re,ie,oe){"use strict";var se=this&&this.__extends||function(){var extendStatics=function(re,ie){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,ie){re.__proto__=ie}||function(re,ie){for(var oe in ie)if(Object.prototype.hasOwnProperty.call(ie,oe))re[oe]=ie[oe]};return extendStatics(re,ie)};return function(re,ie){if(typeof ie!=="function"&&ie!==null)throw new TypeError("Class extends value "+String(ie)+" is not a constructor or null");extendStatics(re,ie);function __(){this.constructor=re}re.prototype=ie===null?Object.create(ie):(__.prototype=ie.prototype,new __)}}();Object.defineProperty(ie,"__esModule",{value:true});ie.AnimationFrameAction=void 0;var ae=oe(13280);var ce=oe(62738);var ue=function(re){se(AnimationFrameAction,re);function AnimationFrameAction(ie,oe){var se=re.call(this,ie,oe)||this;se.scheduler=ie;se.work=oe;return se}AnimationFrameAction.prototype.requestAsyncId=function(ie,oe,se){if(se===void 0){se=0}if(se!==null&&se>0){return re.prototype.requestAsyncId.call(this,ie,oe,se)}ie.actions.push(this);return ie._scheduled||(ie._scheduled=ce.animationFrameProvider.requestAnimationFrame((function(){return ie.flush(undefined)})))};AnimationFrameAction.prototype.recycleAsyncId=function(ie,oe,se){var ae;if(se===void 0){se=0}if(se!=null?se>0:this.delay>0){return re.prototype.recycleAsyncId.call(this,ie,oe,se)}var ue=ie.actions;if(oe!=null&&((ae=ue[ue.length-1])===null||ae===void 0?void 0:ae.id)!==oe){ce.animationFrameProvider.cancelAnimationFrame(oe);ie._scheduled=undefined}return undefined};return AnimationFrameAction}(ae.AsyncAction);ie.AnimationFrameAction=ue},98768:function(re,ie,oe){"use strict";var se=this&&this.__extends||function(){var extendStatics=function(re,ie){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,ie){re.__proto__=ie}||function(re,ie){for(var oe in ie)if(Object.prototype.hasOwnProperty.call(ie,oe))re[oe]=ie[oe]};return extendStatics(re,ie)};return function(re,ie){if(typeof ie!=="function"&&ie!==null)throw new TypeError("Class extends value "+String(ie)+" is not a constructor or null");extendStatics(re,ie);function __(){this.constructor=re}re.prototype=ie===null?Object.create(ie):(__.prototype=ie.prototype,new __)}}();Object.defineProperty(ie,"__esModule",{value:true});ie.AnimationFrameScheduler=void 0;var ae=oe(61673);var ce=function(re){se(AnimationFrameScheduler,re);function AnimationFrameScheduler(){return re!==null&&re.apply(this,arguments)||this}AnimationFrameScheduler.prototype.flush=function(re){this._active=true;var ie=this._scheduled;this._scheduled=undefined;var oe=this.actions;var se;re=re||oe.shift();do{if(se=re.execute(re.state,re.delay)){break}}while((re=oe[0])&&re.id===ie&&oe.shift());this._active=false;if(se){while((re=oe[0])&&re.id===ie&&oe.shift()){re.unsubscribe()}throw se}};return AnimationFrameScheduler}(ae.AsyncScheduler);ie.AnimationFrameScheduler=ce},12424:function(re,ie,oe){"use strict";var se=this&&this.__extends||function(){var extendStatics=function(re,ie){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,ie){re.__proto__=ie}||function(re,ie){for(var oe in ie)if(Object.prototype.hasOwnProperty.call(ie,oe))re[oe]=ie[oe]};return extendStatics(re,ie)};return function(re,ie){if(typeof ie!=="function"&&ie!==null)throw new TypeError("Class extends value "+String(ie)+" is not a constructor or null");extendStatics(re,ie);function __(){this.constructor=re}re.prototype=ie===null?Object.create(ie):(__.prototype=ie.prototype,new __)}}();Object.defineProperty(ie,"__esModule",{value:true});ie.AsapAction=void 0;var ae=oe(13280);var ce=oe(63475);var ue=function(re){se(AsapAction,re);function AsapAction(ie,oe){var se=re.call(this,ie,oe)||this;se.scheduler=ie;se.work=oe;return se}AsapAction.prototype.requestAsyncId=function(ie,oe,se){if(se===void 0){se=0}if(se!==null&&se>0){return re.prototype.requestAsyncId.call(this,ie,oe,se)}ie.actions.push(this);return ie._scheduled||(ie._scheduled=ce.immediateProvider.setImmediate(ie.flush.bind(ie,undefined)))};AsapAction.prototype.recycleAsyncId=function(ie,oe,se){var ae;if(se===void 0){se=0}if(se!=null?se>0:this.delay>0){return re.prototype.recycleAsyncId.call(this,ie,oe,se)}var ue=ie.actions;if(oe!=null&&((ae=ue[ue.length-1])===null||ae===void 0?void 0:ae.id)!==oe){ce.immediateProvider.clearImmediate(oe);if(ie._scheduled===oe){ie._scheduled=undefined}}return undefined};return AsapAction}(ae.AsyncAction);ie.AsapAction=ue},76641:function(re,ie,oe){"use strict";var se=this&&this.__extends||function(){var extendStatics=function(re,ie){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,ie){re.__proto__=ie}||function(re,ie){for(var oe in ie)if(Object.prototype.hasOwnProperty.call(ie,oe))re[oe]=ie[oe]};return extendStatics(re,ie)};return function(re,ie){if(typeof ie!=="function"&&ie!==null)throw new TypeError("Class extends value "+String(ie)+" is not a constructor or null");extendStatics(re,ie);function __(){this.constructor=re}re.prototype=ie===null?Object.create(ie):(__.prototype=ie.prototype,new __)}}();Object.defineProperty(ie,"__esModule",{value:true});ie.AsapScheduler=void 0;var ae=oe(61673);var ce=function(re){se(AsapScheduler,re);function AsapScheduler(){return re!==null&&re.apply(this,arguments)||this}AsapScheduler.prototype.flush=function(re){this._active=true;var ie=this._scheduled;this._scheduled=undefined;var oe=this.actions;var se;re=re||oe.shift();do{if(se=re.execute(re.state,re.delay)){break}}while((re=oe[0])&&re.id===ie&&oe.shift());this._active=false;if(se){while((re=oe[0])&&re.id===ie&&oe.shift()){re.unsubscribe()}throw se}};return AsapScheduler}(ae.AsyncScheduler);ie.AsapScheduler=ce},13280:function(re,ie,oe){"use strict";var se=this&&this.__extends||function(){var extendStatics=function(re,ie){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,ie){re.__proto__=ie}||function(re,ie){for(var oe in ie)if(Object.prototype.hasOwnProperty.call(ie,oe))re[oe]=ie[oe]};return extendStatics(re,ie)};return function(re,ie){if(typeof ie!=="function"&&ie!==null)throw new TypeError("Class extends value "+String(ie)+" is not a constructor or null");extendStatics(re,ie);function __(){this.constructor=re}re.prototype=ie===null?Object.create(ie):(__.prototype=ie.prototype,new __)}}();Object.defineProperty(ie,"__esModule",{value:true});ie.AsyncAction=void 0;var ae=oe(83848);var ce=oe(55341);var ue=oe(68499);var le=function(re){se(AsyncAction,re);function AsyncAction(ie,oe){var se=re.call(this,ie,oe)||this;se.scheduler=ie;se.work=oe;se.pending=false;return se}AsyncAction.prototype.schedule=function(re,ie){var oe;if(ie===void 0){ie=0}if(this.closed){return this}this.state=re;var se=this.id;var ae=this.scheduler;if(se!=null){this.id=this.recycleAsyncId(ae,se,ie)}this.pending=true;this.delay=ie;this.id=(oe=this.id)!==null&&oe!==void 0?oe:this.requestAsyncId(ae,this.id,ie);return this};AsyncAction.prototype.requestAsyncId=function(re,ie,oe){if(oe===void 0){oe=0}return ce.intervalProvider.setInterval(re.flush.bind(re,this),oe)};AsyncAction.prototype.recycleAsyncId=function(re,ie,oe){if(oe===void 0){oe=0}if(oe!=null&&this.delay===oe&&this.pending===false){return ie}if(ie!=null){ce.intervalProvider.clearInterval(ie)}return undefined};AsyncAction.prototype.execute=function(re,ie){if(this.closed){return new Error("executing a cancelled action")}this.pending=false;var oe=this._execute(re,ie);if(oe){return oe}else if(this.pending===false&&this.id!=null){this.id=this.recycleAsyncId(this.scheduler,this.id,null)}};AsyncAction.prototype._execute=function(re,ie){var oe=false;var se;try{this.work(re)}catch(re){oe=true;se=re?re:new Error("Scheduled action threw falsy error")}if(oe){this.unsubscribe();return se}};AsyncAction.prototype.unsubscribe=function(){if(!this.closed){var ie=this,oe=ie.id,se=ie.scheduler;var ae=se.actions;this.work=this.state=this.scheduler=null;this.pending=false;ue.arrRemove(ae,this);if(oe!=null){this.id=this.recycleAsyncId(se,oe,null)}this.delay=null;re.prototype.unsubscribe.call(this)}};return AsyncAction}(ae.Action);ie.AsyncAction=le},61673:function(re,ie,oe){"use strict";var se=this&&this.__extends||function(){var extendStatics=function(re,ie){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,ie){re.__proto__=ie}||function(re,ie){for(var oe in ie)if(Object.prototype.hasOwnProperty.call(ie,oe))re[oe]=ie[oe]};return extendStatics(re,ie)};return function(re,ie){if(typeof ie!=="function"&&ie!==null)throw new TypeError("Class extends value "+String(ie)+" is not a constructor or null");extendStatics(re,ie);function __(){this.constructor=re}re.prototype=ie===null?Object.create(ie):(__.prototype=ie.prototype,new __)}}();Object.defineProperty(ie,"__esModule",{value:true});ie.AsyncScheduler=void 0;var ae=oe(76243);var ce=function(re){se(AsyncScheduler,re);function AsyncScheduler(ie,oe){if(oe===void 0){oe=ae.Scheduler.now}var se=re.call(this,ie,oe)||this;se.actions=[];se._active=false;return se}AsyncScheduler.prototype.flush=function(re){var ie=this.actions;if(this._active){ie.push(re);return}var oe;this._active=true;do{if(oe=re.execute(re.state,re.delay)){break}}while(re=ie.shift());this._active=false;if(oe){while(re=ie.shift()){re.unsubscribe()}throw oe}};return AsyncScheduler}(ae.Scheduler);ie.AsyncScheduler=ce},32161:function(re,ie,oe){"use strict";var se=this&&this.__extends||function(){var extendStatics=function(re,ie){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,ie){re.__proto__=ie}||function(re,ie){for(var oe in ie)if(Object.prototype.hasOwnProperty.call(ie,oe))re[oe]=ie[oe]};return extendStatics(re,ie)};return function(re,ie){if(typeof ie!=="function"&&ie!==null)throw new TypeError("Class extends value "+String(ie)+" is not a constructor or null");extendStatics(re,ie);function __(){this.constructor=re}re.prototype=ie===null?Object.create(ie):(__.prototype=ie.prototype,new __)}}();Object.defineProperty(ie,"__esModule",{value:true});ie.QueueAction=void 0;var ae=oe(13280);var ce=function(re){se(QueueAction,re);function QueueAction(ie,oe){var se=re.call(this,ie,oe)||this;se.scheduler=ie;se.work=oe;return se}QueueAction.prototype.schedule=function(ie,oe){if(oe===void 0){oe=0}if(oe>0){return re.prototype.schedule.call(this,ie,oe)}this.delay=oe;this.state=ie;this.scheduler.flush(this);return this};QueueAction.prototype.execute=function(ie,oe){return oe>0||this.closed?re.prototype.execute.call(this,ie,oe):this._execute(ie,oe)};QueueAction.prototype.requestAsyncId=function(ie,oe,se){if(se===void 0){se=0}if(se!=null&&se>0||se==null&&this.delay>0){return re.prototype.requestAsyncId.call(this,ie,oe,se)}ie.flush(this);return 0};return QueueAction}(ae.AsyncAction);ie.QueueAction=ce},48527:function(re,ie,oe){"use strict";var se=this&&this.__extends||function(){var extendStatics=function(re,ie){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,ie){re.__proto__=ie}||function(re,ie){for(var oe in ie)if(Object.prototype.hasOwnProperty.call(ie,oe))re[oe]=ie[oe]};return extendStatics(re,ie)};return function(re,ie){if(typeof ie!=="function"&&ie!==null)throw new TypeError("Class extends value "+String(ie)+" is not a constructor or null");extendStatics(re,ie);function __(){this.constructor=re}re.prototype=ie===null?Object.create(ie):(__.prototype=ie.prototype,new __)}}();Object.defineProperty(ie,"__esModule",{value:true});ie.QueueScheduler=void 0;var ae=oe(61673);var ce=function(re){se(QueueScheduler,re);function QueueScheduler(){return re!==null&&re.apply(this,arguments)||this}return QueueScheduler}(ae.AsyncScheduler);ie.QueueScheduler=ce},75348:function(re,ie,oe){"use strict";var se=this&&this.__extends||function(){var extendStatics=function(re,ie){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,ie){re.__proto__=ie}||function(re,ie){for(var oe in ie)if(Object.prototype.hasOwnProperty.call(ie,oe))re[oe]=ie[oe]};return extendStatics(re,ie)};return function(re,ie){if(typeof ie!=="function"&&ie!==null)throw new TypeError("Class extends value "+String(ie)+" is not a constructor or null");extendStatics(re,ie);function __(){this.constructor=re}re.prototype=ie===null?Object.create(ie):(__.prototype=ie.prototype,new __)}}();Object.defineProperty(ie,"__esModule",{value:true});ie.VirtualAction=ie.VirtualTimeScheduler=void 0;var ae=oe(13280);var ce=oe(79548);var ue=oe(61673);var le=function(re){se(VirtualTimeScheduler,re);function VirtualTimeScheduler(ie,oe){if(ie===void 0){ie=fe}if(oe===void 0){oe=Infinity}var se=re.call(this,ie,(function(){return se.frame}))||this;se.maxFrames=oe;se.frame=0;se.index=-1;return se}VirtualTimeScheduler.prototype.flush=function(){var re=this,ie=re.actions,oe=re.maxFrames;var se;var ae;while((ae=ie[0])&&ae.delay<=oe){ie.shift();this.frame=ae.delay;if(se=ae.execute(ae.state,ae.delay)){break}}if(se){while(ae=ie.shift()){ae.unsubscribe()}throw se}};VirtualTimeScheduler.frameTimeFactor=10;return VirtualTimeScheduler}(ue.AsyncScheduler);ie.VirtualTimeScheduler=le;var fe=function(re){se(VirtualAction,re);function VirtualAction(ie,oe,se){if(se===void 0){se=ie.index+=1}var ae=re.call(this,ie,oe)||this;ae.scheduler=ie;ae.work=oe;ae.index=se;ae.active=true;ae.index=ie.index=se;return ae}VirtualAction.prototype.schedule=function(ie,oe){if(oe===void 0){oe=0}if(Number.isFinite(oe)){if(!this.id){return re.prototype.schedule.call(this,ie,oe)}this.active=false;var se=new VirtualAction(this.scheduler,this.work);this.add(se);return se.schedule(ie,oe)}else{return ce.Subscription.EMPTY}};VirtualAction.prototype.requestAsyncId=function(re,ie,oe){if(oe===void 0){oe=0}this.delay=re.frame+oe;var se=re.actions;se.push(this);se.sort(VirtualAction.sortActions);return 1};VirtualAction.prototype.recycleAsyncId=function(re,ie,oe){if(oe===void 0){oe=0}return undefined};VirtualAction.prototype._execute=function(ie,oe){if(this.active===true){return re.prototype._execute.call(this,ie,oe)}};VirtualAction.sortActions=function(re,ie){if(re.delay===ie.delay){if(re.index===ie.index){return 0}else if(re.index>ie.index){return 1}else{return-1}}else if(re.delay>ie.delay){return 1}else{return-1}};return VirtualAction}(ae.AsyncAction);ie.VirtualAction=fe},51359:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.animationFrame=ie.animationFrameScheduler=void 0;var se=oe(95991);var ae=oe(98768);ie.animationFrameScheduler=new ae.AnimationFrameScheduler(se.AnimationFrameAction);ie.animationFrame=ie.animationFrameScheduler},62738:function(re,ie,oe){"use strict";var se=this&&this.__read||function(re,ie){var oe=typeof Symbol==="function"&&re[Symbol.iterator];if(!oe)return re;var se=oe.call(re),ae,ce=[],ue;try{while((ie===void 0||ie-- >0)&&!(ae=se.next()).done)ce.push(ae.value)}catch(re){ue={error:re}}finally{try{if(ae&&!ae.done&&(oe=se["return"]))oe.call(se)}finally{if(ue)throw ue.error}}return ce};var ae=this&&this.__spreadArray||function(re,ie){for(var oe=0,se=ie.length,ae=re.length;oe{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.asap=ie.asapScheduler=void 0;var se=oe(12424);var ae=oe(76641);ie.asapScheduler=new ae.AsapScheduler(se.AsapAction);ie.asap=ie.asapScheduler},76072:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.async=ie.asyncScheduler=void 0;var se=oe(13280);var ae=oe(61673);ie.asyncScheduler=new ae.AsyncScheduler(se.AsyncAction);ie.async=ie.asyncScheduler},91395:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.dateTimestampProvider=void 0;ie.dateTimestampProvider={now:function(){return(ie.dateTimestampProvider.delegate||Date).now()},delegate:undefined}},63475:function(re,ie,oe){"use strict";var se=this&&this.__read||function(re,ie){var oe=typeof Symbol==="function"&&re[Symbol.iterator];if(!oe)return re;var se=oe.call(re),ae,ce=[],ue;try{while((ie===void 0||ie-- >0)&&!(ae=se.next()).done)ce.push(ae.value)}catch(re){ue={error:re}}finally{try{if(ae&&!ae.done&&(oe=se["return"]))oe.call(se)}finally{if(ue)throw ue.error}}return ce};var ae=this&&this.__spreadArray||function(re,ie){for(var oe=0,se=ie.length,ae=re.length;oe0)&&!(ae=se.next()).done)ce.push(ae.value)}catch(re){ue={error:re}}finally{try{if(ae&&!ae.done&&(oe=se["return"]))oe.call(se)}finally{if(ue)throw ue.error}}return ce};var se=this&&this.__spreadArray||function(re,ie){for(var oe=0,se=ie.length,ae=re.length;oe{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.performanceTimestampProvider=void 0;ie.performanceTimestampProvider={now:function(){return(ie.performanceTimestampProvider.delegate||performance).now()},delegate:undefined}},82059:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.queue=ie.queueScheduler=void 0;var se=oe(32161);var ae=oe(48527);ie.queueScheduler=new ae.QueueScheduler(se.QueueAction);ie.queue=ie.queueScheduler},1613:function(re,ie){"use strict";var oe=this&&this.__read||function(re,ie){var oe=typeof Symbol==="function"&&re[Symbol.iterator];if(!oe)return re;var se=oe.call(re),ae,ce=[],ue;try{while((ie===void 0||ie-- >0)&&!(ae=se.next()).done)ce.push(ae.value)}catch(re){ue={error:re}}finally{try{if(ae&&!ae.done&&(oe=se["return"]))oe.call(se)}finally{if(ue)throw ue.error}}return ce};var se=this&&this.__spreadArray||function(re,ie){for(var oe=0,se=ie.length,ae=re.length;oe{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.iterator=ie.getSymbolIterator=void 0;function getSymbolIterator(){if(typeof Symbol!=="function"||!Symbol.iterator){return"@@iterator"}return Symbol.iterator}ie.getSymbolIterator=getSymbolIterator;ie.iterator=getSymbolIterator()},17186:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.observable=void 0;ie.observable=function(){return typeof Symbol==="function"&&Symbol.observable||"@@observable"}()},36639:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true})},49796:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.ArgumentOutOfRangeError=void 0;var se=oe(8858);ie.ArgumentOutOfRangeError=se.createErrorClass((function(re){return function ArgumentOutOfRangeErrorImpl(){re(this);this.name="ArgumentOutOfRangeError";this.message="argument out of range"}}))},99391:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.EmptyError=void 0;var se=oe(8858);ie.EmptyError=se.createErrorClass((function(re){return function EmptyErrorImpl(){re(this);this.name="EmptyError";this.message="no elements in sequence"}}))},73555:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.TestTools=ie.Immediate=void 0;var oe=1;var se;var ae={};function findAndClearHandle(re){if(re in ae){delete ae[re];return true}return false}ie.Immediate={setImmediate:function(re){var ie=oe++;ae[ie]=true;if(!se){se=Promise.resolve()}se.then((function(){return findAndClearHandle(ie)&&re()}));return ie},clearImmediate:function(re){findAndClearHandle(re)}};ie.TestTools={pending:function(){return Object.keys(ae).length}}},74431:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.NotFoundError=void 0;var se=oe(8858);ie.NotFoundError=se.createErrorClass((function(re){return function NotFoundErrorImpl(ie){re(this);this.name="NotFoundError";this.message=ie}}))},95266:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.ObjectUnsubscribedError=void 0;var se=oe(8858);ie.ObjectUnsubscribedError=se.createErrorClass((function(re){return function ObjectUnsubscribedErrorImpl(){re(this);this.name="ObjectUnsubscribedError";this.message="object unsubscribed"}}))},49048:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.SequenceError=void 0;var se=oe(8858);ie.SequenceError=se.createErrorClass((function(re){return function SequenceErrorImpl(ie){re(this);this.name="SequenceError";this.message=ie}}))},56776:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.UnsubscriptionError=void 0;var se=oe(8858);ie.UnsubscriptionError=se.createErrorClass((function(re){return function UnsubscriptionErrorImpl(ie){re(this);this.message=ie?ie.length+" errors occurred during unsubscription:\n"+ie.map((function(re,ie){return ie+1+") "+re.toString()})).join("\n "):"";this.name="UnsubscriptionError";this.errors=ie}}))},34890:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.popNumber=ie.popScheduler=ie.popResultSelector=void 0;var se=oe(67206);var ae=oe(84078);function last(re){return re[re.length-1]}function popResultSelector(re){return se.isFunction(last(re))?re.pop():undefined}ie.popResultSelector=popResultSelector;function popScheduler(re){return ae.isScheduler(last(re))?re.pop():undefined}ie.popScheduler=popScheduler;function popNumber(re,ie){return typeof last(re)==="number"?re.pop():ie}ie.popNumber=popNumber},12920:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.argsArgArrayOrObject=void 0;var oe=Array.isArray;var se=Object.getPrototypeOf,ae=Object.prototype,ce=Object.keys;function argsArgArrayOrObject(re){if(re.length===1){var ie=re[0];if(oe(ie)){return{args:ie,keys:null}}if(isPOJO(ie)){var se=ce(ie);return{args:se.map((function(re){return ie[re]})),keys:se}}}return{args:re,keys:null}}ie.argsArgArrayOrObject=argsArgArrayOrObject;function isPOJO(re){return re&&typeof re==="object"&&se(re)===ae}},18824:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.argsOrArgArray=void 0;var oe=Array.isArray;function argsOrArgArray(re){return re.length===1&&oe(re[0])?re[0]:re}ie.argsOrArgArray=argsOrArgArray},68499:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.arrRemove=void 0;function arrRemove(re,ie){if(re){var oe=re.indexOf(ie);0<=oe&&re.splice(oe,1)}}ie.arrRemove=arrRemove},8858:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.createErrorClass=void 0;function createErrorClass(re){var _super=function(re){Error.call(re);re.stack=(new Error).stack};var ie=re(_super);ie.prototype=Object.create(Error.prototype);ie.prototype.constructor=ie;return ie}ie.createErrorClass=createErrorClass},57834:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.createObject=void 0;function createObject(re,ie){return re.reduce((function(re,oe,se){return re[oe]=ie[se],re}),{})}ie.createObject=createObject},31199:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.captureError=ie.errorContext=void 0;var se=oe(92233);var ae=null;function errorContext(re){if(se.config.useDeprecatedSynchronousErrorHandling){var ie=!ae;if(ie){ae={errorThrown:false,error:null}}re();if(ie){var oe=ae,ce=oe.errorThrown,ue=oe.error;ae=null;if(ce){throw ue}}}else{re()}}ie.errorContext=errorContext;function captureError(re){if(se.config.useDeprecatedSynchronousErrorHandling&&ae){ae.errorThrown=true;ae.error=re}}ie.captureError=captureError},82877:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.executeSchedule=void 0;function executeSchedule(re,ie,oe,se,ae){if(se===void 0){se=0}if(ae===void 0){ae=false}var ce=ie.schedule((function(){oe();if(ae){re.add(this.schedule(null,se))}else{this.unsubscribe()}}),se);re.add(ce);if(!ae){return ce}}ie.executeSchedule=executeSchedule},60283:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.identity=void 0;function identity(re){return re}ie.identity=identity},24461:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.isArrayLike=void 0;ie.isArrayLike=function(re){return re&&typeof re.length==="number"&&typeof re!=="function"}},44408:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.isAsyncIterable=void 0;var se=oe(67206);function isAsyncIterable(re){return Symbol.asyncIterator&&se.isFunction(re===null||re===void 0?void 0:re[Symbol.asyncIterator])}ie.isAsyncIterable=isAsyncIterable},60935:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.isValidDate=void 0;function isValidDate(re){return re instanceof Date&&!isNaN(re)}ie.isValidDate=isValidDate},67206:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.isFunction=void 0;function isFunction(re){return typeof re==="function"}ie.isFunction=isFunction},67984:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.isInteropObservable=void 0;var se=oe(17186);var ae=oe(67206);function isInteropObservable(re){return ae.isFunction(re[se.observable])}ie.isInteropObservable=isInteropObservable},94292:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.isIterable=void 0;var se=oe(85517);var ae=oe(67206);function isIterable(re){return ae.isFunction(re===null||re===void 0?void 0:re[se.iterator])}ie.isIterable=isIterable},72259:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.isObservable=void 0;var se=oe(53014);var ae=oe(67206);function isObservable(re){return!!re&&(re instanceof se.Observable||ae.isFunction(re.lift)&&ae.isFunction(re.subscribe))}ie.isObservable=isObservable},65585:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.isPromise=void 0;var se=oe(67206);function isPromise(re){return se.isFunction(re===null||re===void 0?void 0:re.then)}ie.isPromise=isPromise},99621:function(re,ie,oe){"use strict";var se=this&&this.__generator||function(re,ie){var oe={label:0,sent:function(){if(ce[0]&1)throw ce[1];return ce[1]},trys:[],ops:[]},se,ae,ce,ue;return ue={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol==="function"&&(ue[Symbol.iterator]=function(){return this}),ue;function verb(re){return function(ie){return step([re,ie])}}function step(ue){if(se)throw new TypeError("Generator is already executing.");while(oe)try{if(se=1,ae&&(ce=ue[0]&2?ae["return"]:ue[0]?ae["throw"]||((ce=ae["return"])&&ce.call(ae),0):ae.next)&&!(ce=ce.call(ae,ue[1])).done)return ce;if(ae=0,ce)ue=[ue[0]&2,ce.value];switch(ue[0]){case 0:case 1:ce=ue;break;case 4:oe.label++;return{value:ue[1],done:false};case 5:oe.label++;ae=ue[1];ue=[0];continue;case 7:ue=oe.ops.pop();oe.trys.pop();continue;default:if(!(ce=oe.trys,ce=ce.length>0&&ce[ce.length-1])&&(ue[0]===6||ue[0]===2)){oe=0;continue}if(ue[0]===3&&(!ce||ue[1]>ce[0]&&ue[1]1||resume(re,ie)}))}}function resume(re,ie){try{step(se[re](ie))}catch(re){settle(ue[0][3],re)}}function step(re){re.value instanceof ae?Promise.resolve(re.value.v).then(fulfill,reject):settle(ue[0][2],re)}function fulfill(re){resume("next",re)}function reject(re){resume("throw",re)}function settle(re,ie){if(re(ie),ue.shift(),ue.length)resume(ue[0][0],ue[0][1])}};Object.defineProperty(ie,"__esModule",{value:true});ie.isReadableStreamLike=ie.readableStreamLikeToAsyncGenerator=void 0;var ue=oe(67206);function readableStreamLikeToAsyncGenerator(re){return ce(this,arguments,(function readableStreamLikeToAsyncGenerator_1(){var ie,oe,ce,ue;return se(this,(function(se){switch(se.label){case 0:ie=re.getReader();se.label=1;case 1:se.trys.push([1,,9,10]);se.label=2;case 2:if(false){}return[4,ae(ie.read())];case 3:oe=se.sent(),ce=oe.value,ue=oe.done;if(!ue)return[3,5];return[4,ae(void 0)];case 4:return[2,se.sent()];case 5:return[4,ae(ce)];case 6:return[4,se.sent()];case 7:se.sent();return[3,2];case 8:return[3,10];case 9:ie.releaseLock();return[7];case 10:return[2]}}))}))}ie.readableStreamLikeToAsyncGenerator=readableStreamLikeToAsyncGenerator;function isReadableStreamLike(re){return ue.isFunction(re===null||re===void 0?void 0:re.getReader)}ie.isReadableStreamLike=isReadableStreamLike},84078:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.isScheduler=void 0;var se=oe(67206);function isScheduler(re){return re&&se.isFunction(re.schedule)}ie.isScheduler=isScheduler},38669:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.operate=ie.hasLift=void 0;var se=oe(67206);function hasLift(re){return se.isFunction(re===null||re===void 0?void 0:re.lift)}ie.hasLift=hasLift;function operate(re){return function(ie){if(hasLift(ie)){return ie.lift((function(ie){try{return re(ie,this)}catch(re){this.error(re)}}))}throw new TypeError("Unable to lift unknown Observable type")}}ie.operate=operate},78934:function(re,ie,oe){"use strict";var se=this&&this.__read||function(re,ie){var oe=typeof Symbol==="function"&&re[Symbol.iterator];if(!oe)return re;var se=oe.call(re),ae,ce=[],ue;try{while((ie===void 0||ie-- >0)&&!(ae=se.next()).done)ce.push(ae.value)}catch(re){ue={error:re}}finally{try{if(ae&&!ae.done&&(oe=se["return"]))oe.call(se)}finally{if(ue)throw ue.error}}return ce};var ae=this&&this.__spreadArray||function(re,ie){for(var oe=0,se=ie.length,ae=re.length;oe{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.noop=void 0;function noop(){}ie.noop=noop},54338:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.not=void 0;function not(re,ie){return function(oe,se){return!re.call(ie,oe,se)}}ie.not=not},49587:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.pipeFromArray=ie.pipe=void 0;var se=oe(60283);function pipe(){var re=[];for(var ie=0;ie{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.reportUnhandledError=void 0;var se=oe(92233);var ae=oe(1613);function reportUnhandledError(re){ae.timeoutProvider.setTimeout((function(){var ie=se.config.onUnhandledError;if(ie){ie(re)}else{throw re}}))}ie.reportUnhandledError=reportUnhandledError},97364:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.createInvalidObservableTypeError=void 0;function createInvalidObservableTypeError(re){return new TypeError("You provided "+(re!==null&&typeof re==="object"?"an invalid object":"'"+re+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}ie.createInvalidObservableTypeError=createInvalidObservableTypeError},50749:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.mergeAll=ie.merge=ie.max=ie.materialize=ie.mapTo=ie.map=ie.last=ie.isEmpty=ie.ignoreElements=ie.groupBy=ie.first=ie.findIndex=ie.find=ie.finalize=ie.filter=ie.expand=ie.exhaustMap=ie.exhaustAll=ie.exhaust=ie.every=ie.endWith=ie.elementAt=ie.distinctUntilKeyChanged=ie.distinctUntilChanged=ie.distinct=ie.dematerialize=ie.delayWhen=ie.delay=ie.defaultIfEmpty=ie.debounceTime=ie.debounce=ie.count=ie.connect=ie.concatWith=ie.concatMapTo=ie.concatMap=ie.concatAll=ie.concat=ie.combineLatestWith=ie.combineLatest=ie.combineLatestAll=ie.combineAll=ie.catchError=ie.bufferWhen=ie.bufferToggle=ie.bufferTime=ie.bufferCount=ie.buffer=ie.auditTime=ie.audit=void 0;ie.timeInterval=ie.throwIfEmpty=ie.throttleTime=ie.throttle=ie.tap=ie.takeWhile=ie.takeUntil=ie.takeLast=ie.take=ie.switchScan=ie.switchMapTo=ie.switchMap=ie.switchAll=ie.subscribeOn=ie.startWith=ie.skipWhile=ie.skipUntil=ie.skipLast=ie.skip=ie.single=ie.shareReplay=ie.share=ie.sequenceEqual=ie.scan=ie.sampleTime=ie.sample=ie.refCount=ie.retryWhen=ie.retry=ie.repeatWhen=ie.repeat=ie.reduce=ie.raceWith=ie.race=ie.publishReplay=ie.publishLast=ie.publishBehavior=ie.publish=ie.pluck=ie.partition=ie.pairwise=ie.onErrorResumeNext=ie.observeOn=ie.multicast=ie.min=ie.mergeWith=ie.mergeScan=ie.mergeMapTo=ie.mergeMap=ie.flatMap=void 0;ie.zipWith=ie.zipAll=ie.zip=ie.withLatestFrom=ie.windowWhen=ie.windowToggle=ie.windowTime=ie.windowCount=ie.window=ie.toArray=ie.timestamp=ie.timeoutWith=ie.timeout=void 0;var se=oe(82704);Object.defineProperty(ie,"audit",{enumerable:true,get:function(){return se.audit}});var ae=oe(18780);Object.defineProperty(ie,"auditTime",{enumerable:true,get:function(){return ae.auditTime}});var ce=oe(34253);Object.defineProperty(ie,"buffer",{enumerable:true,get:function(){return ce.buffer}});var ue=oe(17253);Object.defineProperty(ie,"bufferCount",{enumerable:true,get:function(){return ue.bufferCount}});var le=oe(73102);Object.defineProperty(ie,"bufferTime",{enumerable:true,get:function(){return le.bufferTime}});var fe=oe(83781);Object.defineProperty(ie,"bufferToggle",{enumerable:true,get:function(){return fe.bufferToggle}});var de=oe(82855);Object.defineProperty(ie,"bufferWhen",{enumerable:true,get:function(){return de.bufferWhen}});var pe=oe(37765);Object.defineProperty(ie,"catchError",{enumerable:true,get:function(){return pe.catchError}});var he=oe(88817);Object.defineProperty(ie,"combineAll",{enumerable:true,get:function(){return he.combineAll}});var Ae=oe(91063);Object.defineProperty(ie,"combineLatestAll",{enumerable:true,get:function(){return Ae.combineLatestAll}});var ge=oe(96008);Object.defineProperty(ie,"combineLatest",{enumerable:true,get:function(){return ge.combineLatest}});var me=oe(19044);Object.defineProperty(ie,"combineLatestWith",{enumerable:true,get:function(){return me.combineLatestWith}});var ye=oe(18500);Object.defineProperty(ie,"concat",{enumerable:true,get:function(){return ye.concat}});var ve=oe(88049);Object.defineProperty(ie,"concatAll",{enumerable:true,get:function(){return ve.concatAll}});var be=oe(19130);Object.defineProperty(ie,"concatMap",{enumerable:true,get:function(){return be.concatMap}});var we=oe(61596);Object.defineProperty(ie,"concatMapTo",{enumerable:true,get:function(){return we.concatMapTo}});var _e=oe(97998);Object.defineProperty(ie,"concatWith",{enumerable:true,get:function(){return _e.concatWith}});var Ee=oe(51101);Object.defineProperty(ie,"connect",{enumerable:true,get:function(){return Ee.connect}});var Ce=oe(36571);Object.defineProperty(ie,"count",{enumerable:true,get:function(){return Ce.count}});var Ie=oe(19348);Object.defineProperty(ie,"debounce",{enumerable:true,get:function(){return Ie.debounce}});var Se=oe(62379);Object.defineProperty(ie,"debounceTime",{enumerable:true,get:function(){return Se.debounceTime}});var Be=oe(30621);Object.defineProperty(ie,"defaultIfEmpty",{enumerable:true,get:function(){return Be.defaultIfEmpty}});var xe=oe(99818);Object.defineProperty(ie,"delay",{enumerable:true,get:function(){return xe.delay}});var ke=oe(16994);Object.defineProperty(ie,"delayWhen",{enumerable:true,get:function(){return ke.delayWhen}});var Oe=oe(95338);Object.defineProperty(ie,"dematerialize",{enumerable:true,get:function(){return Oe.dematerialize}});var De=oe(52594);Object.defineProperty(ie,"distinct",{enumerable:true,get:function(){return De.distinct}});var Pe=oe(20632);Object.defineProperty(ie,"distinctUntilChanged",{enumerable:true,get:function(){return Pe.distinctUntilChanged}});var Te=oe(13809);Object.defineProperty(ie,"distinctUntilKeyChanged",{enumerable:true,get:function(){return Te.distinctUntilKeyChanged}});var Qe=oe(73381);Object.defineProperty(ie,"elementAt",{enumerable:true,get:function(){return Qe.elementAt}});var Re=oe(42961);Object.defineProperty(ie,"endWith",{enumerable:true,get:function(){return Re.endWith}});var Me=oe(69559);Object.defineProperty(ie,"every",{enumerable:true,get:function(){return Me.every}});var Ne=oe(75686);Object.defineProperty(ie,"exhaust",{enumerable:true,get:function(){return Ne.exhaust}});var je=oe(79777);Object.defineProperty(ie,"exhaustAll",{enumerable:true,get:function(){return je.exhaustAll}});var Le=oe(21527);Object.defineProperty(ie,"exhaustMap",{enumerable:true,get:function(){return Le.exhaustMap}});var Fe=oe(21585);Object.defineProperty(ie,"expand",{enumerable:true,get:function(){return Fe.expand}});var Ue=oe(36894);Object.defineProperty(ie,"filter",{enumerable:true,get:function(){return Ue.filter}});var He=oe(4013);Object.defineProperty(ie,"finalize",{enumerable:true,get:function(){return He.finalize}});var qe=oe(28981);Object.defineProperty(ie,"find",{enumerable:true,get:function(){return qe.find}});var Ke=oe(92602);Object.defineProperty(ie,"findIndex",{enumerable:true,get:function(){return Ke.findIndex}});var Ve=oe(63345);Object.defineProperty(ie,"first",{enumerable:true,get:function(){return Ve.first}});var Je=oe(51650);Object.defineProperty(ie,"groupBy",{enumerable:true,get:function(){return Je.groupBy}});var We=oe(31062);Object.defineProperty(ie,"ignoreElements",{enumerable:true,get:function(){return We.ignoreElements}});var Ge=oe(77722);Object.defineProperty(ie,"isEmpty",{enumerable:true,get:function(){return Ge.isEmpty}});var Ye=oe(46831);Object.defineProperty(ie,"last",{enumerable:true,get:function(){return Ye.last}});var ze=oe(5987);Object.defineProperty(ie,"map",{enumerable:true,get:function(){return ze.map}});var $e=oe(52300);Object.defineProperty(ie,"mapTo",{enumerable:true,get:function(){return $e.mapTo}});var Ze=oe(67108);Object.defineProperty(ie,"materialize",{enumerable:true,get:function(){return Ze.materialize}});var Xe=oe(17314);Object.defineProperty(ie,"max",{enumerable:true,get:function(){return Xe.max}});var et=oe(39510);Object.defineProperty(ie,"merge",{enumerable:true,get:function(){return et.merge}});var tt=oe(2057);Object.defineProperty(ie,"mergeAll",{enumerable:true,get:function(){return tt.mergeAll}});var rt=oe(40186);Object.defineProperty(ie,"flatMap",{enumerable:true,get:function(){return rt.flatMap}});var nt=oe(69914);Object.defineProperty(ie,"mergeMap",{enumerable:true,get:function(){return nt.mergeMap}});var it=oe(49151);Object.defineProperty(ie,"mergeMapTo",{enumerable:true,get:function(){return it.mergeMapTo}});var ot=oe(11519);Object.defineProperty(ie,"mergeScan",{enumerable:true,get:function(){return ot.mergeScan}});var st=oe(31564);Object.defineProperty(ie,"mergeWith",{enumerable:true,get:function(){return st.mergeWith}});var at=oe(87641);Object.defineProperty(ie,"min",{enumerable:true,get:function(){return at.min}});var ct=oe(65457);Object.defineProperty(ie,"multicast",{enumerable:true,get:function(){return ct.multicast}});var ut=oe(22451);Object.defineProperty(ie,"observeOn",{enumerable:true,get:function(){return ut.observeOn}});var ft=oe(33569);Object.defineProperty(ie,"onErrorResumeNext",{enumerable:true,get:function(){return ft.onErrorResumeNext}});var dt=oe(52206);Object.defineProperty(ie,"pairwise",{enumerable:true,get:function(){return dt.pairwise}});var pt=oe(55949);Object.defineProperty(ie,"partition",{enumerable:true,get:function(){return pt.partition}});var ht=oe(16073);Object.defineProperty(ie,"pluck",{enumerable:true,get:function(){return ht.pluck}});var At=oe(84084);Object.defineProperty(ie,"publish",{enumerable:true,get:function(){return At.publish}});var mt=oe(40045);Object.defineProperty(ie,"publishBehavior",{enumerable:true,get:function(){return mt.publishBehavior}});var yt=oe(84149);Object.defineProperty(ie,"publishLast",{enumerable:true,get:function(){return yt.publishLast}});var vt=oe(47656);Object.defineProperty(ie,"publishReplay",{enumerable:true,get:function(){return vt.publishReplay}});var bt=oe(85846);Object.defineProperty(ie,"race",{enumerable:true,get:function(){return bt.race}});var wt=oe(58008);Object.defineProperty(ie,"raceWith",{enumerable:true,get:function(){return wt.raceWith}});var _t=oe(62087);Object.defineProperty(ie,"reduce",{enumerable:true,get:function(){return _t.reduce}});var Et=oe(22418);Object.defineProperty(ie,"repeat",{enumerable:true,get:function(){return Et.repeat}});var Ct=oe(70754);Object.defineProperty(ie,"repeatWhen",{enumerable:true,get:function(){return Ct.repeatWhen}});var It=oe(56251);Object.defineProperty(ie,"retry",{enumerable:true,get:function(){return It.retry}});var St=oe(69018);Object.defineProperty(ie,"retryWhen",{enumerable:true,get:function(){return St.retryWhen}});var Bt=oe(2331);Object.defineProperty(ie,"refCount",{enumerable:true,get:function(){return Bt.refCount}});var xt=oe(13774);Object.defineProperty(ie,"sample",{enumerable:true,get:function(){return xt.sample}});var kt=oe(49807);Object.defineProperty(ie,"sampleTime",{enumerable:true,get:function(){return kt.sampleTime}});var Ot=oe(25578);Object.defineProperty(ie,"scan",{enumerable:true,get:function(){return Ot.scan}});var Dt=oe(16126);Object.defineProperty(ie,"sequenceEqual",{enumerable:true,get:function(){return Dt.sequenceEqual}});var Pt=oe(48960);Object.defineProperty(ie,"share",{enumerable:true,get:function(){return Pt.share}});var Tt=oe(92118);Object.defineProperty(ie,"shareReplay",{enumerable:true,get:function(){return Tt.shareReplay}});var Qt=oe(58441);Object.defineProperty(ie,"single",{enumerable:true,get:function(){return Qt.single}});var Rt=oe(80947);Object.defineProperty(ie,"skip",{enumerable:true,get:function(){return Rt.skip}});var Mt=oe(65865);Object.defineProperty(ie,"skipLast",{enumerable:true,get:function(){return Mt.skipLast}});var Nt=oe(41110);Object.defineProperty(ie,"skipUntil",{enumerable:true,get:function(){return Nt.skipUntil}});var jt=oe(92550);Object.defineProperty(ie,"skipWhile",{enumerable:true,get:function(){return jt.skipWhile}});var Lt=oe(25471);Object.defineProperty(ie,"startWith",{enumerable:true,get:function(){return Lt.startWith}});var Ft=oe(7224);Object.defineProperty(ie,"subscribeOn",{enumerable:true,get:function(){return Ft.subscribeOn}});var Ut=oe(40327);Object.defineProperty(ie,"switchAll",{enumerable:true,get:function(){return Ut.switchAll}});var Ht=oe(26704);Object.defineProperty(ie,"switchMap",{enumerable:true,get:function(){return Ht.switchMap}});var qt=oe(1713);Object.defineProperty(ie,"switchMapTo",{enumerable:true,get:function(){return qt.switchMapTo}});var Kt=oe(13355);Object.defineProperty(ie,"switchScan",{enumerable:true,get:function(){return Kt.switchScan}});var Vt=oe(33698);Object.defineProperty(ie,"take",{enumerable:true,get:function(){return Vt.take}});var Jt=oe(65041);Object.defineProperty(ie,"takeLast",{enumerable:true,get:function(){return Jt.takeLast}});var Wt=oe(55150);Object.defineProperty(ie,"takeUntil",{enumerable:true,get:function(){return Wt.takeUntil}});var Gt=oe(76700);Object.defineProperty(ie,"takeWhile",{enumerable:true,get:function(){return Gt.takeWhile}});var Yt=oe(48845);Object.defineProperty(ie,"tap",{enumerable:true,get:function(){return Yt.tap}});var zt=oe(36713);Object.defineProperty(ie,"throttle",{enumerable:true,get:function(){return zt.throttle}});var $t=oe(83435);Object.defineProperty(ie,"throttleTime",{enumerable:true,get:function(){return $t.throttleTime}});var Zt=oe(91566);Object.defineProperty(ie,"throwIfEmpty",{enumerable:true,get:function(){return Zt.throwIfEmpty}});var Xt=oe(14643);Object.defineProperty(ie,"timeInterval",{enumerable:true,get:function(){return Xt.timeInterval}});var er=oe(12051);Object.defineProperty(ie,"timeout",{enumerable:true,get:function(){return er.timeout}});var tr=oe(43540);Object.defineProperty(ie,"timeoutWith",{enumerable:true,get:function(){return tr.timeoutWith}});var rr=oe(75518);Object.defineProperty(ie,"timestamp",{enumerable:true,get:function(){return rr.timestamp}});var nr=oe(35114);Object.defineProperty(ie,"toArray",{enumerable:true,get:function(){return nr.toArray}});var ir=oe(98255);Object.defineProperty(ie,"window",{enumerable:true,get:function(){return ir.window}});var sr=oe(73144);Object.defineProperty(ie,"windowCount",{enumerable:true,get:function(){return sr.windowCount}});var ar=oe(2738);Object.defineProperty(ie,"windowTime",{enumerable:true,get:function(){return ar.windowTime}});var cr=oe(52741);Object.defineProperty(ie,"windowToggle",{enumerable:true,get:function(){return cr.windowToggle}});var ur=oe(82645);Object.defineProperty(ie,"windowWhen",{enumerable:true,get:function(){return ur.windowWhen}});var lr=oe(20501);Object.defineProperty(ie,"withLatestFrom",{enumerable:true,get:function(){return lr.withLatestFrom}});var fr=oe(17600);Object.defineProperty(ie,"zip",{enumerable:true,get:function(){return fr.zip}});var dr=oe(92335);Object.defineProperty(ie,"zipAll",{enumerable:true,get:function(){return dr.zipAll}});var pr=oe(95520);Object.defineProperty(ie,"zipWith",{enumerable:true,get:function(){return pr.zipWith}})},15118:(re,ie,oe)=>{"use strict";var se=oe(14300);var ae=se.Buffer;var ce={};var ue;for(ue in se){if(!se.hasOwnProperty(ue))continue;if(ue==="SlowBuffer"||ue==="Buffer")continue;ce[ue]=se[ue]}var le=ce.Buffer={};for(ue in ae){if(!ae.hasOwnProperty(ue))continue;if(ue==="allocUnsafe"||ue==="allocUnsafeSlow")continue;le[ue]=ae[ue]}ce.Buffer.prototype=ae.prototype;if(!le.from||le.from===Uint8Array.from){le.from=function(re,ie,oe){if(typeof re==="number"){throw new TypeError('The "value" argument must not be of type number. Received type '+typeof re)}if(re&&typeof re.length==="undefined"){throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof re)}return ae(re,ie,oe)}}if(!le.alloc){le.alloc=function(re,ie,oe){if(typeof re!=="number"){throw new TypeError('The "size" argument must be of type number. Received type '+typeof re)}if(re<0||re>=2*(1<<30)){throw new RangeError('The value "'+re+'" is invalid for option "size"')}var se=ae(re);if(!ie||ie.length===0){se.fill(0)}else if(typeof oe==="string"){se.fill(ie,oe)}else{se.fill(ie)}return se}}if(!ce.kStringMaxLength){try{ce.kStringMaxLength=process.binding("buffer").kStringMaxLength}catch(re){}}if(!ce.constants){ce.constants={MAX_LENGTH:ce.kMaxLength};if(ce.kStringMaxLength){ce.constants.MAX_STRING_LENGTH=ce.kStringMaxLength}}re.exports=ce},52405:re=>{"use strict";function memcmp(re,ie,oe,se,ae){for(let ce=0;ce1){for(let ie=0;ie-re._lookbehindSize)re._cb(true,pe,0,re._lookbehindSize+ce,false);else re._cb(true,undefined,0,0,true);return re._bufPos=ce+ae}ce+=de[se]}while(ce<0&&!matchNeedle(re,ie,ce,oe-ce))++ce;if(ce<0){const se=re._lookbehindSize+ce;if(se>0){re._cb(false,pe,0,se,false)}re._lookbehindSize-=se;pe.copy(pe,0,se,re._lookbehindSize);pe.set(ie,re._lookbehindSize);re._lookbehindSize+=oe;re._bufPos=oe;return oe}re._cb(false,pe,0,re._lookbehindSize,false);re._lookbehindSize=0}ce+=re._bufPos;const he=se[0];while(ce<=fe){const oe=ie[ce+ue];if(oe===le&&ie[ce]===he&&memcmp(se,0,ie,ce,ue)){++re.matches;if(ce>0)re._cb(true,ie,re._bufPos,ce,true);else re._cb(true,undefined,0,0,true);return re._bufPos=ce+ae}ce+=de[oe]}while(ce0)re._cb(false,ie,re._bufPos,ce{"use strict";const se=oe(45591);const ae=oe(64882);const ce=oe(18212);const stringWidth=re=>{if(typeof re!=="string"||re.length===0){return 0}re=se(re);if(re.length===0){return 0}re=re.replace(ce()," ");let ie=0;for(let oe=0;oe=127&&se<=159){continue}if(se>=768&&se<=879){continue}if(se>65535){oe++}ie+=ae(se)?2:1}return ie};re.exports=stringWidth;re.exports["default"]=stringWidth},45591:(re,ie,oe)=>{"use strict";const se=oe(65063);re.exports=re=>typeof re==="string"?re.replace(se(),""):re},59318:(re,ie,oe)=>{"use strict";const se=oe(22037);const ae=oe(76224);const ce=oe(31621);const{env:ue}=process;let le;if(ce("no-color")||ce("no-colors")||ce("color=false")||ce("color=never")){le=0}else if(ce("color")||ce("colors")||ce("color=true")||ce("color=always")){le=1}if("FORCE_COLOR"in ue){if(ue.FORCE_COLOR==="true"){le=1}else if(ue.FORCE_COLOR==="false"){le=0}else{le=ue.FORCE_COLOR.length===0?1:Math.min(parseInt(ue.FORCE_COLOR,10),3)}}function translateLevel(re){if(re===0){return false}return{level:re,hasBasic:true,has256:re>=2,has16m:re>=3}}function supportsColor(re,ie){if(le===0){return 0}if(ce("color=16m")||ce("color=full")||ce("color=truecolor")){return 3}if(ce("color=256")){return 2}if(re&&!ie&&le===undefined){return 0}const oe=le||0;if(ue.TERM==="dumb"){return oe}if(process.platform==="win32"){const re=se.release().split(".");if(Number(re[0])>=10&&Number(re[2])>=10586){return Number(re[2])>=14931?3:2}return 1}if("CI"in ue){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((re=>re in ue))||ue.CI_NAME==="codeship"){return 1}return oe}if("TEAMCITY_VERSION"in ue){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(ue.TEAMCITY_VERSION)?1:0}if(ue.COLORTERM==="truecolor"){return 3}if("TERM_PROGRAM"in ue){const re=parseInt((ue.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(ue.TERM_PROGRAM){case"iTerm.app":return re>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(ue.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(ue.TERM)){return 1}if("COLORTERM"in ue){return 1}return oe}function getSupportLevel(re){const ie=supportsColor(re,re&&re.isTTY);return translateLevel(ie)}re.exports={supportsColor:getSupportLevel,stdout:translateLevel(supportsColor(true,ae.isatty(1))),stderr:translateLevel(supportsColor(true,ae.isatty(2)))}},4351:re=>{ + */const he=Ae(82282);const ge=Ae(23153);R.exports=class URDNA2012Sync extends ge{constructor(){super();this.name="URGNA2012";this.createMessageDigest=()=>new he("sha1")}modifyFirstDegreeComponent(R,pe,Ae){if(pe.termType!=="BlankNode"){return pe}if(Ae==="graph"){return{termType:"BlankNode",value:"_:g"}}return{termType:"BlankNode",value:pe.value===R?"_:a":"_:z"}}getRelatedPredicate(R){return R.predicate.value}createHashToRelated(R,pe){const Ae=new Map;const he=this.blankNodeInfo.get(R).quads;for(const ge of he){let he;let me;if(ge.subject.termType==="BlankNode"&&ge.subject.value!==R){me=ge.subject.value;he="p"}else if(ge.object.termType==="BlankNode"&&ge.object.value!==R){me=ge.object.value;he="r"}else{continue}const ye=this.hashRelatedBlankNode(me,ge,pe,he);const ve=Ae.get(ye);if(ve){ve.push(me)}else{Ae.set(ye,[me])}}return Ae}}},26874:(R,pe,Ae)=>{"use strict";const he=Ae(78721);const ge=Ae(61100);const me=Ae(23153);const ye=Ae(99921);let ve;try{ve=Ae(12276)}catch(R){}function _inputToDataset(R){if(!Array.isArray(R)){return pe.NQuads.legacyDatasetToQuads(R)}return R}pe.NQuads=Ae(31e3);pe.IdentifierIssuer=Ae(11239);pe._rdfCanonizeNative=function(R){if(R){ve=R}return ve};pe.canonize=async function(R,pe){const Ae=_inputToDataset(R,pe);if(pe.useNative){if(!ve){throw new Error("rdf-canonize-native not available")}if(pe.createMessageDigest){throw new Error('"createMessageDigest" cannot be used with "useNative".')}return new Promise(((R,he)=>ve.canonize(Ae,pe,((pe,Ae)=>pe?he(pe):R(Ae)))))}if(pe.algorithm==="URDNA2015"){return new he(pe).main(Ae)}if(pe.algorithm==="URGNA2012"){if(pe.createMessageDigest){throw new Error('"createMessageDigest" cannot be used with "URGNA2012".')}return new ge(pe).main(Ae)}if(!("algorithm"in pe)){throw new Error("No RDF Dataset Canonicalization algorithm specified.")}throw new Error("Invalid RDF Dataset Canonicalization algorithm: "+pe.algorithm)};pe._canonizeSync=function(R,pe){const Ae=_inputToDataset(R,pe);if(pe.useNative){if(!ve){throw new Error("rdf-canonize-native not available")}if(pe.createMessageDigest){throw new Error('"createMessageDigest" cannot be used with "useNative".')}return ve.canonizeSync(Ae,pe)}if(pe.algorithm==="URDNA2015"){return new me(pe).main(Ae)}if(pe.algorithm==="URGNA2012"){if(pe.createMessageDigest){throw new Error('"createMessageDigest" cannot be used with "URGNA2012".')}return new ye(pe).main(Ae)}if(!("algorithm"in pe)){throw new Error("No RDF Dataset Canonicalization algorithm specified.")}throw new Error("Invalid RDF Dataset Canonicalization algorithm: "+pe.algorithm)}},89200:(R,pe,Ae)=>{"use strict";var he=Ae(57147),ge=Ae(71017).join,me=Ae(71017).resolve,ye=Ae(71017).dirname,ve={extensions:["js","json","coffee"],recurse:true,rename:function(R){return R},visit:function(R){return R}};function checkFileInclusion(R,pe,Ae){return new RegExp("\\.("+Ae.extensions.join("|")+")$","i").test(pe)&&!(Ae.include&&Ae.include instanceof RegExp&&!Ae.include.test(R))&&!(Ae.include&&typeof Ae.include==="function"&&!Ae.include(R,pe))&&!(Ae.exclude&&Ae.exclude instanceof RegExp&&Ae.exclude.test(R))&&!(Ae.exclude&&typeof Ae.exclude==="function"&&Ae.exclude(R,pe))}function requireDirectory(R,pe,Ae){var be={};if(pe&&!Ae&&typeof pe!=="string"){Ae=pe;pe=null}Ae=Ae||{};for(var Ee in ve){if(typeof Ae[Ee]==="undefined"){Ae[Ee]=ve[Ee]}}pe=!pe?ye(R.filename):me(ye(R.filename),pe);he.readdirSync(pe).forEach((function(me){var ye=ge(pe,me),ve,Ee,Ce;if(he.statSync(ye).isDirectory()&&Ae.recurse){ve=requireDirectory(R,ye,Ae);if(Object.keys(ve).length){be[Ae.rename(me,ye,me)]=ve}}else{if(ye!==R.filename&&checkFileInclusion(ye,me,Ae)){Ee=me.substring(0,me.lastIndexOf("."));Ce=R.require(ye);be[Ae.rename(Ee,ye,me)]=Ae.visit(Ce,ye,me)||Ce}}}));return be}R.exports=requireDirectory;R.exports.defaults=ve},1752:function(R,pe,Ae){"use strict";var he=this&&this.__createBinding||(Object.create?function(R,pe,Ae,he){if(he===undefined)he=Ae;Object.defineProperty(R,he,{enumerable:true,get:function(){return pe[Ae]}})}:function(R,pe,Ae,he){if(he===undefined)he=Ae;R[he]=pe[Ae]});var ge=this&&this.__exportStar||function(R,pe){for(var Ae in R)if(Ae!=="default"&&!Object.prototype.hasOwnProperty.call(pe,Ae))he(pe,R,Ae)};Object.defineProperty(pe,"__esModule",{value:true});pe.interval=pe.iif=pe.generate=pe.fromEventPattern=pe.fromEvent=pe.from=pe.forkJoin=pe.empty=pe.defer=pe.connectable=pe.concat=pe.combineLatest=pe.bindNodeCallback=pe.bindCallback=pe.UnsubscriptionError=pe.TimeoutError=pe.SequenceError=pe.ObjectUnsubscribedError=pe.NotFoundError=pe.EmptyError=pe.ArgumentOutOfRangeError=pe.firstValueFrom=pe.lastValueFrom=pe.isObservable=pe.identity=pe.noop=pe.pipe=pe.NotificationKind=pe.Notification=pe.Subscriber=pe.Subscription=pe.Scheduler=pe.VirtualAction=pe.VirtualTimeScheduler=pe.animationFrameScheduler=pe.animationFrame=pe.queueScheduler=pe.queue=pe.asyncScheduler=pe.async=pe.asapScheduler=pe.asap=pe.AsyncSubject=pe.ReplaySubject=pe.BehaviorSubject=pe.Subject=pe.animationFrames=pe.observable=pe.ConnectableObservable=pe.Observable=void 0;pe.filter=pe.expand=pe.exhaustMap=pe.exhaustAll=pe.exhaust=pe.every=pe.endWith=pe.elementAt=pe.distinctUntilKeyChanged=pe.distinctUntilChanged=pe.distinct=pe.dematerialize=pe.delayWhen=pe.delay=pe.defaultIfEmpty=pe.debounceTime=pe.debounce=pe.count=pe.connect=pe.concatWith=pe.concatMapTo=pe.concatMap=pe.concatAll=pe.combineLatestWith=pe.combineLatestAll=pe.combineAll=pe.catchError=pe.bufferWhen=pe.bufferToggle=pe.bufferTime=pe.bufferCount=pe.buffer=pe.auditTime=pe.audit=pe.config=pe.NEVER=pe.EMPTY=pe.scheduled=pe.zip=pe.using=pe.timer=pe.throwError=pe.range=pe.race=pe.partition=pe.pairs=pe.onErrorResumeNext=pe.of=pe.never=pe.merge=void 0;pe.switchMap=pe.switchAll=pe.subscribeOn=pe.startWith=pe.skipWhile=pe.skipUntil=pe.skipLast=pe.skip=pe.single=pe.shareReplay=pe.share=pe.sequenceEqual=pe.scan=pe.sampleTime=pe.sample=pe.refCount=pe.retryWhen=pe.retry=pe.repeatWhen=pe.repeat=pe.reduce=pe.raceWith=pe.publishReplay=pe.publishLast=pe.publishBehavior=pe.publish=pe.pluck=pe.pairwise=pe.onErrorResumeNextWith=pe.observeOn=pe.multicast=pe.min=pe.mergeWith=pe.mergeScan=pe.mergeMapTo=pe.mergeMap=pe.flatMap=pe.mergeAll=pe.max=pe.materialize=pe.mapTo=pe.map=pe.last=pe.isEmpty=pe.ignoreElements=pe.groupBy=pe.first=pe.findIndex=pe.find=pe.finalize=void 0;pe.zipWith=pe.zipAll=pe.withLatestFrom=pe.windowWhen=pe.windowToggle=pe.windowTime=pe.windowCount=pe.window=pe.toArray=pe.timestamp=pe.timeoutWith=pe.timeout=pe.timeInterval=pe.throwIfEmpty=pe.throttleTime=pe.throttle=pe.tap=pe.takeWhile=pe.takeUntil=pe.takeLast=pe.take=pe.switchScan=pe.switchMapTo=void 0;var me=Ae(53014);Object.defineProperty(pe,"Observable",{enumerable:true,get:function(){return me.Observable}});var ye=Ae(30420);Object.defineProperty(pe,"ConnectableObservable",{enumerable:true,get:function(){return ye.ConnectableObservable}});var ve=Ae(17186);Object.defineProperty(pe,"observable",{enumerable:true,get:function(){return ve.observable}});var be=Ae(38197);Object.defineProperty(pe,"animationFrames",{enumerable:true,get:function(){return be.animationFrames}});var Ee=Ae(49944);Object.defineProperty(pe,"Subject",{enumerable:true,get:function(){return Ee.Subject}});var Ce=Ae(23473);Object.defineProperty(pe,"BehaviorSubject",{enumerable:true,get:function(){return Ce.BehaviorSubject}});var we=Ae(22351);Object.defineProperty(pe,"ReplaySubject",{enumerable:true,get:function(){return we.ReplaySubject}});var Ie=Ae(9747);Object.defineProperty(pe,"AsyncSubject",{enumerable:true,get:function(){return Ie.AsyncSubject}});var _e=Ae(43905);Object.defineProperty(pe,"asap",{enumerable:true,get:function(){return _e.asap}});Object.defineProperty(pe,"asapScheduler",{enumerable:true,get:function(){return _e.asapScheduler}});var Be=Ae(76072);Object.defineProperty(pe,"async",{enumerable:true,get:function(){return Be.async}});Object.defineProperty(pe,"asyncScheduler",{enumerable:true,get:function(){return Be.asyncScheduler}});var Se=Ae(82059);Object.defineProperty(pe,"queue",{enumerable:true,get:function(){return Se.queue}});Object.defineProperty(pe,"queueScheduler",{enumerable:true,get:function(){return Se.queueScheduler}});var Qe=Ae(51359);Object.defineProperty(pe,"animationFrame",{enumerable:true,get:function(){return Qe.animationFrame}});Object.defineProperty(pe,"animationFrameScheduler",{enumerable:true,get:function(){return Qe.animationFrameScheduler}});var xe=Ae(75348);Object.defineProperty(pe,"VirtualTimeScheduler",{enumerable:true,get:function(){return xe.VirtualTimeScheduler}});Object.defineProperty(pe,"VirtualAction",{enumerable:true,get:function(){return xe.VirtualAction}});var De=Ae(76243);Object.defineProperty(pe,"Scheduler",{enumerable:true,get:function(){return De.Scheduler}});var ke=Ae(79548);Object.defineProperty(pe,"Subscription",{enumerable:true,get:function(){return ke.Subscription}});var Oe=Ae(67121);Object.defineProperty(pe,"Subscriber",{enumerable:true,get:function(){return Oe.Subscriber}});var Re=Ae(12241);Object.defineProperty(pe,"Notification",{enumerable:true,get:function(){return Re.Notification}});Object.defineProperty(pe,"NotificationKind",{enumerable:true,get:function(){return Re.NotificationKind}});var Pe=Ae(49587);Object.defineProperty(pe,"pipe",{enumerable:true,get:function(){return Pe.pipe}});var Te=Ae(11642);Object.defineProperty(pe,"noop",{enumerable:true,get:function(){return Te.noop}});var Ne=Ae(60283);Object.defineProperty(pe,"identity",{enumerable:true,get:function(){return Ne.identity}});var Me=Ae(72259);Object.defineProperty(pe,"isObservable",{enumerable:true,get:function(){return Me.isObservable}});var Fe=Ae(49713);Object.defineProperty(pe,"lastValueFrom",{enumerable:true,get:function(){return Fe.lastValueFrom}});var je=Ae(19369);Object.defineProperty(pe,"firstValueFrom",{enumerable:true,get:function(){return je.firstValueFrom}});var Le=Ae(49796);Object.defineProperty(pe,"ArgumentOutOfRangeError",{enumerable:true,get:function(){return Le.ArgumentOutOfRangeError}});var Ue=Ae(99391);Object.defineProperty(pe,"EmptyError",{enumerable:true,get:function(){return Ue.EmptyError}});var He=Ae(74431);Object.defineProperty(pe,"NotFoundError",{enumerable:true,get:function(){return He.NotFoundError}});var Ve=Ae(95266);Object.defineProperty(pe,"ObjectUnsubscribedError",{enumerable:true,get:function(){return Ve.ObjectUnsubscribedError}});var We=Ae(49048);Object.defineProperty(pe,"SequenceError",{enumerable:true,get:function(){return We.SequenceError}});var Je=Ae(12051);Object.defineProperty(pe,"TimeoutError",{enumerable:true,get:function(){return Je.TimeoutError}});var Ge=Ae(56776);Object.defineProperty(pe,"UnsubscriptionError",{enumerable:true,get:function(){return Ge.UnsubscriptionError}});var qe=Ae(16949);Object.defineProperty(pe,"bindCallback",{enumerable:true,get:function(){return qe.bindCallback}});var Ye=Ae(51150);Object.defineProperty(pe,"bindNodeCallback",{enumerable:true,get:function(){return Ye.bindNodeCallback}});var Ke=Ae(46843);Object.defineProperty(pe,"combineLatest",{enumerable:true,get:function(){return Ke.combineLatest}});var ze=Ae(4675);Object.defineProperty(pe,"concat",{enumerable:true,get:function(){return ze.concat}});var $e=Ae(13152);Object.defineProperty(pe,"connectable",{enumerable:true,get:function(){return $e.connectable}});var Ze=Ae(27672);Object.defineProperty(pe,"defer",{enumerable:true,get:function(){return Ze.defer}});var Xe=Ae(70437);Object.defineProperty(pe,"empty",{enumerable:true,get:function(){return Xe.empty}});var et=Ae(47358);Object.defineProperty(pe,"forkJoin",{enumerable:true,get:function(){return et.forkJoin}});var tt=Ae(18309);Object.defineProperty(pe,"from",{enumerable:true,get:function(){return tt.from}});var rt=Ae(93238);Object.defineProperty(pe,"fromEvent",{enumerable:true,get:function(){return rt.fromEvent}});var nt=Ae(65680);Object.defineProperty(pe,"fromEventPattern",{enumerable:true,get:function(){return nt.fromEventPattern}});var it=Ae(52668);Object.defineProperty(pe,"generate",{enumerable:true,get:function(){return it.generate}});var ot=Ae(26514);Object.defineProperty(pe,"iif",{enumerable:true,get:function(){return ot.iif}});var st=Ae(20029);Object.defineProperty(pe,"interval",{enumerable:true,get:function(){return st.interval}});var at=Ae(75122);Object.defineProperty(pe,"merge",{enumerable:true,get:function(){return at.merge}});var ct=Ae(6228);Object.defineProperty(pe,"never",{enumerable:true,get:function(){return ct.never}});var ut=Ae(72163);Object.defineProperty(pe,"of",{enumerable:true,get:function(){return ut.of}});var lt=Ae(16089);Object.defineProperty(pe,"onErrorResumeNext",{enumerable:true,get:function(){return lt.onErrorResumeNext}});var dt=Ae(30505);Object.defineProperty(pe,"pairs",{enumerable:true,get:function(){return dt.pairs}});var ft=Ae(15506);Object.defineProperty(pe,"partition",{enumerable:true,get:function(){return ft.partition}});var pt=Ae(16940);Object.defineProperty(pe,"race",{enumerable:true,get:function(){return pt.race}});var At=Ae(88538);Object.defineProperty(pe,"range",{enumerable:true,get:function(){return At.range}});var ht=Ae(66381);Object.defineProperty(pe,"throwError",{enumerable:true,get:function(){return ht.throwError}});var gt=Ae(59757);Object.defineProperty(pe,"timer",{enumerable:true,get:function(){return gt.timer}});var mt=Ae(8445);Object.defineProperty(pe,"using",{enumerable:true,get:function(){return mt.using}});var yt=Ae(62504);Object.defineProperty(pe,"zip",{enumerable:true,get:function(){return yt.zip}});var vt=Ae(6151);Object.defineProperty(pe,"scheduled",{enumerable:true,get:function(){return vt.scheduled}});var bt=Ae(70437);Object.defineProperty(pe,"EMPTY",{enumerable:true,get:function(){return bt.EMPTY}});var Et=Ae(6228);Object.defineProperty(pe,"NEVER",{enumerable:true,get:function(){return Et.NEVER}});ge(Ae(36639),pe);var Ct=Ae(92233);Object.defineProperty(pe,"config",{enumerable:true,get:function(){return Ct.config}});var wt=Ae(82704);Object.defineProperty(pe,"audit",{enumerable:true,get:function(){return wt.audit}});var It=Ae(18780);Object.defineProperty(pe,"auditTime",{enumerable:true,get:function(){return It.auditTime}});var _t=Ae(34253);Object.defineProperty(pe,"buffer",{enumerable:true,get:function(){return _t.buffer}});var Bt=Ae(17253);Object.defineProperty(pe,"bufferCount",{enumerable:true,get:function(){return Bt.bufferCount}});var St=Ae(73102);Object.defineProperty(pe,"bufferTime",{enumerable:true,get:function(){return St.bufferTime}});var Qt=Ae(83781);Object.defineProperty(pe,"bufferToggle",{enumerable:true,get:function(){return Qt.bufferToggle}});var xt=Ae(82855);Object.defineProperty(pe,"bufferWhen",{enumerable:true,get:function(){return xt.bufferWhen}});var Dt=Ae(37765);Object.defineProperty(pe,"catchError",{enumerable:true,get:function(){return Dt.catchError}});var kt=Ae(88817);Object.defineProperty(pe,"combineAll",{enumerable:true,get:function(){return kt.combineAll}});var Ot=Ae(91063);Object.defineProperty(pe,"combineLatestAll",{enumerable:true,get:function(){return Ot.combineLatestAll}});var Rt=Ae(19044);Object.defineProperty(pe,"combineLatestWith",{enumerable:true,get:function(){return Rt.combineLatestWith}});var Pt=Ae(88049);Object.defineProperty(pe,"concatAll",{enumerable:true,get:function(){return Pt.concatAll}});var Tt=Ae(19130);Object.defineProperty(pe,"concatMap",{enumerable:true,get:function(){return Tt.concatMap}});var Nt=Ae(61596);Object.defineProperty(pe,"concatMapTo",{enumerable:true,get:function(){return Nt.concatMapTo}});var Mt=Ae(97998);Object.defineProperty(pe,"concatWith",{enumerable:true,get:function(){return Mt.concatWith}});var Ft=Ae(51101);Object.defineProperty(pe,"connect",{enumerable:true,get:function(){return Ft.connect}});var jt=Ae(36571);Object.defineProperty(pe,"count",{enumerable:true,get:function(){return jt.count}});var Lt=Ae(19348);Object.defineProperty(pe,"debounce",{enumerable:true,get:function(){return Lt.debounce}});var Ut=Ae(62379);Object.defineProperty(pe,"debounceTime",{enumerable:true,get:function(){return Ut.debounceTime}});var Ht=Ae(30621);Object.defineProperty(pe,"defaultIfEmpty",{enumerable:true,get:function(){return Ht.defaultIfEmpty}});var Vt=Ae(99818);Object.defineProperty(pe,"delay",{enumerable:true,get:function(){return Vt.delay}});var Wt=Ae(16994);Object.defineProperty(pe,"delayWhen",{enumerable:true,get:function(){return Wt.delayWhen}});var Jt=Ae(95338);Object.defineProperty(pe,"dematerialize",{enumerable:true,get:function(){return Jt.dematerialize}});var Gt=Ae(52594);Object.defineProperty(pe,"distinct",{enumerable:true,get:function(){return Gt.distinct}});var qt=Ae(20632);Object.defineProperty(pe,"distinctUntilChanged",{enumerable:true,get:function(){return qt.distinctUntilChanged}});var Yt=Ae(13809);Object.defineProperty(pe,"distinctUntilKeyChanged",{enumerable:true,get:function(){return Yt.distinctUntilKeyChanged}});var Kt=Ae(73381);Object.defineProperty(pe,"elementAt",{enumerable:true,get:function(){return Kt.elementAt}});var zt=Ae(42961);Object.defineProperty(pe,"endWith",{enumerable:true,get:function(){return zt.endWith}});var $t=Ae(69559);Object.defineProperty(pe,"every",{enumerable:true,get:function(){return $t.every}});var Zt=Ae(75686);Object.defineProperty(pe,"exhaust",{enumerable:true,get:function(){return Zt.exhaust}});var Xt=Ae(79777);Object.defineProperty(pe,"exhaustAll",{enumerable:true,get:function(){return Xt.exhaustAll}});var er=Ae(21527);Object.defineProperty(pe,"exhaustMap",{enumerable:true,get:function(){return er.exhaustMap}});var tr=Ae(21585);Object.defineProperty(pe,"expand",{enumerable:true,get:function(){return tr.expand}});var rr=Ae(36894);Object.defineProperty(pe,"filter",{enumerable:true,get:function(){return rr.filter}});var nr=Ae(4013);Object.defineProperty(pe,"finalize",{enumerable:true,get:function(){return nr.finalize}});var ir=Ae(28981);Object.defineProperty(pe,"find",{enumerable:true,get:function(){return ir.find}});var or=Ae(92602);Object.defineProperty(pe,"findIndex",{enumerable:true,get:function(){return or.findIndex}});var sr=Ae(63345);Object.defineProperty(pe,"first",{enumerable:true,get:function(){return sr.first}});var ar=Ae(51650);Object.defineProperty(pe,"groupBy",{enumerable:true,get:function(){return ar.groupBy}});var cr=Ae(31062);Object.defineProperty(pe,"ignoreElements",{enumerable:true,get:function(){return cr.ignoreElements}});var ur=Ae(77722);Object.defineProperty(pe,"isEmpty",{enumerable:true,get:function(){return ur.isEmpty}});var lr=Ae(46831);Object.defineProperty(pe,"last",{enumerable:true,get:function(){return lr.last}});var dr=Ae(5987);Object.defineProperty(pe,"map",{enumerable:true,get:function(){return dr.map}});var fr=Ae(52300);Object.defineProperty(pe,"mapTo",{enumerable:true,get:function(){return fr.mapTo}});var pr=Ae(67108);Object.defineProperty(pe,"materialize",{enumerable:true,get:function(){return pr.materialize}});var Ar=Ae(17314);Object.defineProperty(pe,"max",{enumerable:true,get:function(){return Ar.max}});var hr=Ae(2057);Object.defineProperty(pe,"mergeAll",{enumerable:true,get:function(){return hr.mergeAll}});var gr=Ae(40186);Object.defineProperty(pe,"flatMap",{enumerable:true,get:function(){return gr.flatMap}});var mr=Ae(69914);Object.defineProperty(pe,"mergeMap",{enumerable:true,get:function(){return mr.mergeMap}});var yr=Ae(49151);Object.defineProperty(pe,"mergeMapTo",{enumerable:true,get:function(){return yr.mergeMapTo}});var vr=Ae(11519);Object.defineProperty(pe,"mergeScan",{enumerable:true,get:function(){return vr.mergeScan}});var br=Ae(31564);Object.defineProperty(pe,"mergeWith",{enumerable:true,get:function(){return br.mergeWith}});var Er=Ae(87641);Object.defineProperty(pe,"min",{enumerable:true,get:function(){return Er.min}});var Cr=Ae(65457);Object.defineProperty(pe,"multicast",{enumerable:true,get:function(){return Cr.multicast}});var wr=Ae(22451);Object.defineProperty(pe,"observeOn",{enumerable:true,get:function(){return wr.observeOn}});var Ir=Ae(33569);Object.defineProperty(pe,"onErrorResumeNextWith",{enumerable:true,get:function(){return Ir.onErrorResumeNextWith}});var _r=Ae(52206);Object.defineProperty(pe,"pairwise",{enumerable:true,get:function(){return _r.pairwise}});var Br=Ae(16073);Object.defineProperty(pe,"pluck",{enumerable:true,get:function(){return Br.pluck}});var Sr=Ae(84084);Object.defineProperty(pe,"publish",{enumerable:true,get:function(){return Sr.publish}});var Qr=Ae(40045);Object.defineProperty(pe,"publishBehavior",{enumerable:true,get:function(){return Qr.publishBehavior}});var xr=Ae(84149);Object.defineProperty(pe,"publishLast",{enumerable:true,get:function(){return xr.publishLast}});var Dr=Ae(47656);Object.defineProperty(pe,"publishReplay",{enumerable:true,get:function(){return Dr.publishReplay}});var kr=Ae(58008);Object.defineProperty(pe,"raceWith",{enumerable:true,get:function(){return kr.raceWith}});var Or=Ae(62087);Object.defineProperty(pe,"reduce",{enumerable:true,get:function(){return Or.reduce}});var Rr=Ae(22418);Object.defineProperty(pe,"repeat",{enumerable:true,get:function(){return Rr.repeat}});var Pr=Ae(70754);Object.defineProperty(pe,"repeatWhen",{enumerable:true,get:function(){return Pr.repeatWhen}});var Tr=Ae(56251);Object.defineProperty(pe,"retry",{enumerable:true,get:function(){return Tr.retry}});var Nr=Ae(69018);Object.defineProperty(pe,"retryWhen",{enumerable:true,get:function(){return Nr.retryWhen}});var Mr=Ae(2331);Object.defineProperty(pe,"refCount",{enumerable:true,get:function(){return Mr.refCount}});var Fr=Ae(13774);Object.defineProperty(pe,"sample",{enumerable:true,get:function(){return Fr.sample}});var jr=Ae(49807);Object.defineProperty(pe,"sampleTime",{enumerable:true,get:function(){return jr.sampleTime}});var Lr=Ae(25578);Object.defineProperty(pe,"scan",{enumerable:true,get:function(){return Lr.scan}});var Ur=Ae(16126);Object.defineProperty(pe,"sequenceEqual",{enumerable:true,get:function(){return Ur.sequenceEqual}});var Hr=Ae(48960);Object.defineProperty(pe,"share",{enumerable:true,get:function(){return Hr.share}});var Vr=Ae(92118);Object.defineProperty(pe,"shareReplay",{enumerable:true,get:function(){return Vr.shareReplay}});var Wr=Ae(58441);Object.defineProperty(pe,"single",{enumerable:true,get:function(){return Wr.single}});var Jr=Ae(80947);Object.defineProperty(pe,"skip",{enumerable:true,get:function(){return Jr.skip}});var Gr=Ae(65865);Object.defineProperty(pe,"skipLast",{enumerable:true,get:function(){return Gr.skipLast}});var qr=Ae(41110);Object.defineProperty(pe,"skipUntil",{enumerable:true,get:function(){return qr.skipUntil}});var Yr=Ae(92550);Object.defineProperty(pe,"skipWhile",{enumerable:true,get:function(){return Yr.skipWhile}});var Kr=Ae(25471);Object.defineProperty(pe,"startWith",{enumerable:true,get:function(){return Kr.startWith}});var zr=Ae(7224);Object.defineProperty(pe,"subscribeOn",{enumerable:true,get:function(){return zr.subscribeOn}});var $r=Ae(40327);Object.defineProperty(pe,"switchAll",{enumerable:true,get:function(){return $r.switchAll}});var Zr=Ae(26704);Object.defineProperty(pe,"switchMap",{enumerable:true,get:function(){return Zr.switchMap}});var Xr=Ae(1713);Object.defineProperty(pe,"switchMapTo",{enumerable:true,get:function(){return Xr.switchMapTo}});var en=Ae(13355);Object.defineProperty(pe,"switchScan",{enumerable:true,get:function(){return en.switchScan}});var tn=Ae(33698);Object.defineProperty(pe,"take",{enumerable:true,get:function(){return tn.take}});var rn=Ae(65041);Object.defineProperty(pe,"takeLast",{enumerable:true,get:function(){return rn.takeLast}});var nn=Ae(55150);Object.defineProperty(pe,"takeUntil",{enumerable:true,get:function(){return nn.takeUntil}});var on=Ae(76700);Object.defineProperty(pe,"takeWhile",{enumerable:true,get:function(){return on.takeWhile}});var sn=Ae(48845);Object.defineProperty(pe,"tap",{enumerable:true,get:function(){return sn.tap}});var an=Ae(36713);Object.defineProperty(pe,"throttle",{enumerable:true,get:function(){return an.throttle}});var cn=Ae(83435);Object.defineProperty(pe,"throttleTime",{enumerable:true,get:function(){return cn.throttleTime}});var un=Ae(91566);Object.defineProperty(pe,"throwIfEmpty",{enumerable:true,get:function(){return un.throwIfEmpty}});var ln=Ae(14643);Object.defineProperty(pe,"timeInterval",{enumerable:true,get:function(){return ln.timeInterval}});var dn=Ae(12051);Object.defineProperty(pe,"timeout",{enumerable:true,get:function(){return dn.timeout}});var fn=Ae(43540);Object.defineProperty(pe,"timeoutWith",{enumerable:true,get:function(){return fn.timeoutWith}});var pn=Ae(75518);Object.defineProperty(pe,"timestamp",{enumerable:true,get:function(){return pn.timestamp}});var An=Ae(35114);Object.defineProperty(pe,"toArray",{enumerable:true,get:function(){return An.toArray}});var hn=Ae(98255);Object.defineProperty(pe,"window",{enumerable:true,get:function(){return hn.window}});var gn=Ae(73144);Object.defineProperty(pe,"windowCount",{enumerable:true,get:function(){return gn.windowCount}});var mn=Ae(2738);Object.defineProperty(pe,"windowTime",{enumerable:true,get:function(){return mn.windowTime}});var yn=Ae(52741);Object.defineProperty(pe,"windowToggle",{enumerable:true,get:function(){return yn.windowToggle}});var vn=Ae(82645);Object.defineProperty(pe,"windowWhen",{enumerable:true,get:function(){return vn.windowWhen}});var bn=Ae(20501);Object.defineProperty(pe,"withLatestFrom",{enumerable:true,get:function(){return bn.withLatestFrom}});var En=Ae(92335);Object.defineProperty(pe,"zipAll",{enumerable:true,get:function(){return En.zipAll}});var Cn=Ae(95520);Object.defineProperty(pe,"zipWith",{enumerable:true,get:function(){return Cn.zipWith}})},9747:function(R,pe,Ae){"use strict";var he=this&&this.__extends||function(){var extendStatics=function(R,pe){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(R,pe){R.__proto__=pe}||function(R,pe){for(var Ae in pe)if(Object.prototype.hasOwnProperty.call(pe,Ae))R[Ae]=pe[Ae]};return extendStatics(R,pe)};return function(R,pe){if(typeof pe!=="function"&&pe!==null)throw new TypeError("Class extends value "+String(pe)+" is not a constructor or null");extendStatics(R,pe);function __(){this.constructor=R}R.prototype=pe===null?Object.create(pe):(__.prototype=pe.prototype,new __)}}();Object.defineProperty(pe,"__esModule",{value:true});pe.AsyncSubject=void 0;var ge=Ae(49944);var me=function(R){he(AsyncSubject,R);function AsyncSubject(){var pe=R!==null&&R.apply(this,arguments)||this;pe._value=null;pe._hasValue=false;pe._isComplete=false;return pe}AsyncSubject.prototype._checkFinalizedStatuses=function(R){var pe=this,Ae=pe.hasError,he=pe._hasValue,ge=pe._value,me=pe.thrownError,ye=pe.isStopped,ve=pe._isComplete;if(Ae){R.error(me)}else if(ye||ve){he&&R.next(ge);R.complete()}};AsyncSubject.prototype.next=function(R){if(!this.isStopped){this._value=R;this._hasValue=true}};AsyncSubject.prototype.complete=function(){var pe=this,Ae=pe._hasValue,he=pe._value,ge=pe._isComplete;if(!ge){this._isComplete=true;Ae&&R.prototype.next.call(this,he);R.prototype.complete.call(this)}};return AsyncSubject}(ge.Subject);pe.AsyncSubject=me},23473:function(R,pe,Ae){"use strict";var he=this&&this.__extends||function(){var extendStatics=function(R,pe){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(R,pe){R.__proto__=pe}||function(R,pe){for(var Ae in pe)if(Object.prototype.hasOwnProperty.call(pe,Ae))R[Ae]=pe[Ae]};return extendStatics(R,pe)};return function(R,pe){if(typeof pe!=="function"&&pe!==null)throw new TypeError("Class extends value "+String(pe)+" is not a constructor or null");extendStatics(R,pe);function __(){this.constructor=R}R.prototype=pe===null?Object.create(pe):(__.prototype=pe.prototype,new __)}}();Object.defineProperty(pe,"__esModule",{value:true});pe.BehaviorSubject=void 0;var ge=Ae(49944);var me=function(R){he(BehaviorSubject,R);function BehaviorSubject(pe){var Ae=R.call(this)||this;Ae._value=pe;return Ae}Object.defineProperty(BehaviorSubject.prototype,"value",{get:function(){return this.getValue()},enumerable:false,configurable:true});BehaviorSubject.prototype._subscribe=function(pe){var Ae=R.prototype._subscribe.call(this,pe);!Ae.closed&&pe.next(this._value);return Ae};BehaviorSubject.prototype.getValue=function(){var R=this,pe=R.hasError,Ae=R.thrownError,he=R._value;if(pe){throw Ae}this._throwIfClosed();return he};BehaviorSubject.prototype.next=function(pe){R.prototype.next.call(this,this._value=pe)};return BehaviorSubject}(ge.Subject);pe.BehaviorSubject=me},12241:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.observeNotification=pe.Notification=pe.NotificationKind=void 0;var he=Ae(70437);var ge=Ae(72163);var me=Ae(66381);var ye=Ae(67206);var ve;(function(R){R["NEXT"]="N";R["ERROR"]="E";R["COMPLETE"]="C"})(ve=pe.NotificationKind||(pe.NotificationKind={}));var be=function(){function Notification(R,pe,Ae){this.kind=R;this.value=pe;this.error=Ae;this.hasValue=R==="N"}Notification.prototype.observe=function(R){return observeNotification(this,R)};Notification.prototype.do=function(R,pe,Ae){var he=this,ge=he.kind,me=he.value,ye=he.error;return ge==="N"?R===null||R===void 0?void 0:R(me):ge==="E"?pe===null||pe===void 0?void 0:pe(ye):Ae===null||Ae===void 0?void 0:Ae()};Notification.prototype.accept=function(R,pe,Ae){var he;return ye.isFunction((he=R)===null||he===void 0?void 0:he.next)?this.observe(R):this.do(R,pe,Ae)};Notification.prototype.toObservable=function(){var R=this,pe=R.kind,Ae=R.value,ye=R.error;var ve=pe==="N"?ge.of(Ae):pe==="E"?me.throwError((function(){return ye})):pe==="C"?he.EMPTY:0;if(!ve){throw new TypeError("Unexpected notification kind "+pe)}return ve};Notification.createNext=function(R){return new Notification("N",R)};Notification.createError=function(R){return new Notification("E",undefined,R)};Notification.createComplete=function(){return Notification.completeNotification};Notification.completeNotification=new Notification("C");return Notification}();pe.Notification=be;function observeNotification(R,pe){var Ae,he,ge;var me=R,ye=me.kind,ve=me.value,be=me.error;if(typeof ye!=="string"){throw new TypeError('Invalid notification, missing "kind"')}ye==="N"?(Ae=pe.next)===null||Ae===void 0?void 0:Ae.call(pe,ve):ye==="E"?(he=pe.error)===null||he===void 0?void 0:he.call(pe,be):(ge=pe.complete)===null||ge===void 0?void 0:ge.call(pe)}pe.observeNotification=observeNotification},2500:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.createNotification=pe.nextNotification=pe.errorNotification=pe.COMPLETE_NOTIFICATION=void 0;pe.COMPLETE_NOTIFICATION=function(){return createNotification("C",undefined,undefined)}();function errorNotification(R){return createNotification("E",undefined,R)}pe.errorNotification=errorNotification;function nextNotification(R){return createNotification("N",R,undefined)}pe.nextNotification=nextNotification;function createNotification(R,pe,Ae){return{kind:R,value:pe,error:Ae}}pe.createNotification=createNotification},53014:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.Observable=void 0;var he=Ae(67121);var ge=Ae(79548);var me=Ae(17186);var ye=Ae(49587);var ve=Ae(92233);var be=Ae(67206);var Ee=Ae(31199);var Ce=function(){function Observable(R){if(R){this._subscribe=R}}Observable.prototype.lift=function(R){var pe=new Observable;pe.source=this;pe.operator=R;return pe};Observable.prototype.subscribe=function(R,pe,Ae){var ge=this;var me=isSubscriber(R)?R:new he.SafeSubscriber(R,pe,Ae);Ee.errorContext((function(){var R=ge,pe=R.operator,Ae=R.source;me.add(pe?pe.call(me,Ae):Ae?ge._subscribe(me):ge._trySubscribe(me))}));return me};Observable.prototype._trySubscribe=function(R){try{return this._subscribe(R)}catch(pe){R.error(pe)}};Observable.prototype.forEach=function(R,pe){var Ae=this;pe=getPromiseCtor(pe);return new pe((function(pe,ge){var me=new he.SafeSubscriber({next:function(pe){try{R(pe)}catch(R){ge(R);me.unsubscribe()}},error:ge,complete:pe});Ae.subscribe(me)}))};Observable.prototype._subscribe=function(R){var pe;return(pe=this.source)===null||pe===void 0?void 0:pe.subscribe(R)};Observable.prototype[me.observable]=function(){return this};Observable.prototype.pipe=function(){var R=[];for(var pe=0;pe{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.Scheduler=void 0;var he=Ae(91395);var ge=function(){function Scheduler(R,pe){if(pe===void 0){pe=Scheduler.now}this.schedulerActionCtor=R;this.now=pe}Scheduler.prototype.schedule=function(R,pe,Ae){if(pe===void 0){pe=0}return new this.schedulerActionCtor(this,R).schedule(Ae,pe)};Scheduler.now=he.dateTimestampProvider.now;return Scheduler}();pe.Scheduler=ge},49944:function(R,pe,Ae){"use strict";var he=this&&this.__extends||function(){var extendStatics=function(R,pe){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(R,pe){R.__proto__=pe}||function(R,pe){for(var Ae in pe)if(Object.prototype.hasOwnProperty.call(pe,Ae))R[Ae]=pe[Ae]};return extendStatics(R,pe)};return function(R,pe){if(typeof pe!=="function"&&pe!==null)throw new TypeError("Class extends value "+String(pe)+" is not a constructor or null");extendStatics(R,pe);function __(){this.constructor=R}R.prototype=pe===null?Object.create(pe):(__.prototype=pe.prototype,new __)}}();var ge=this&&this.__values||function(R){var pe=typeof Symbol==="function"&&Symbol.iterator,Ae=pe&&R[pe],he=0;if(Ae)return Ae.call(R);if(R&&typeof R.length==="number")return{next:function(){if(R&&he>=R.length)R=void 0;return{value:R&&R[he++],done:!R}}};throw new TypeError(pe?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(pe,"__esModule",{value:true});pe.AnonymousSubject=pe.Subject=void 0;var me=Ae(53014);var ye=Ae(79548);var ve=Ae(95266);var be=Ae(68499);var Ee=Ae(31199);var Ce=function(R){he(Subject,R);function Subject(){var pe=R.call(this)||this;pe.closed=false;pe.currentObservers=null;pe.observers=[];pe.isStopped=false;pe.hasError=false;pe.thrownError=null;return pe}Subject.prototype.lift=function(R){var pe=new we(this,this);pe.operator=R;return pe};Subject.prototype._throwIfClosed=function(){if(this.closed){throw new ve.ObjectUnsubscribedError}};Subject.prototype.next=function(R){var pe=this;Ee.errorContext((function(){var Ae,he;pe._throwIfClosed();if(!pe.isStopped){if(!pe.currentObservers){pe.currentObservers=Array.from(pe.observers)}try{for(var me=ge(pe.currentObservers),ye=me.next();!ye.done;ye=me.next()){var ve=ye.value;ve.next(R)}}catch(R){Ae={error:R}}finally{try{if(ye&&!ye.done&&(he=me.return))he.call(me)}finally{if(Ae)throw Ae.error}}}}))};Subject.prototype.error=function(R){var pe=this;Ee.errorContext((function(){pe._throwIfClosed();if(!pe.isStopped){pe.hasError=pe.isStopped=true;pe.thrownError=R;var Ae=pe.observers;while(Ae.length){Ae.shift().error(R)}}}))};Subject.prototype.complete=function(){var R=this;Ee.errorContext((function(){R._throwIfClosed();if(!R.isStopped){R.isStopped=true;var pe=R.observers;while(pe.length){pe.shift().complete()}}}))};Subject.prototype.unsubscribe=function(){this.isStopped=this.closed=true;this.observers=this.currentObservers=null};Object.defineProperty(Subject.prototype,"observed",{get:function(){var R;return((R=this.observers)===null||R===void 0?void 0:R.length)>0},enumerable:false,configurable:true});Subject.prototype._trySubscribe=function(pe){this._throwIfClosed();return R.prototype._trySubscribe.call(this,pe)};Subject.prototype._subscribe=function(R){this._throwIfClosed();this._checkFinalizedStatuses(R);return this._innerSubscribe(R)};Subject.prototype._innerSubscribe=function(R){var pe=this;var Ae=this,he=Ae.hasError,ge=Ae.isStopped,me=Ae.observers;if(he||ge){return ye.EMPTY_SUBSCRIPTION}this.currentObservers=null;me.push(R);return new ye.Subscription((function(){pe.currentObservers=null;be.arrRemove(me,R)}))};Subject.prototype._checkFinalizedStatuses=function(R){var pe=this,Ae=pe.hasError,he=pe.thrownError,ge=pe.isStopped;if(Ae){R.error(he)}else if(ge){R.complete()}};Subject.prototype.asObservable=function(){var R=new me.Observable;R.source=this;return R};Subject.create=function(R,pe){return new we(R,pe)};return Subject}(me.Observable);pe.Subject=Ce;var we=function(R){he(AnonymousSubject,R);function AnonymousSubject(pe,Ae){var he=R.call(this)||this;he.destination=pe;he.source=Ae;return he}AnonymousSubject.prototype.next=function(R){var pe,Ae;(Ae=(pe=this.destination)===null||pe===void 0?void 0:pe.next)===null||Ae===void 0?void 0:Ae.call(pe,R)};AnonymousSubject.prototype.error=function(R){var pe,Ae;(Ae=(pe=this.destination)===null||pe===void 0?void 0:pe.error)===null||Ae===void 0?void 0:Ae.call(pe,R)};AnonymousSubject.prototype.complete=function(){var R,pe;(pe=(R=this.destination)===null||R===void 0?void 0:R.complete)===null||pe===void 0?void 0:pe.call(R)};AnonymousSubject.prototype._subscribe=function(R){var pe,Ae;return(Ae=(pe=this.source)===null||pe===void 0?void 0:pe.subscribe(R))!==null&&Ae!==void 0?Ae:ye.EMPTY_SUBSCRIPTION};return AnonymousSubject}(Ce);pe.AnonymousSubject=we},67121:function(R,pe,Ae){"use strict";var he=this&&this.__extends||function(){var extendStatics=function(R,pe){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(R,pe){R.__proto__=pe}||function(R,pe){for(var Ae in pe)if(Object.prototype.hasOwnProperty.call(pe,Ae))R[Ae]=pe[Ae]};return extendStatics(R,pe)};return function(R,pe){if(typeof pe!=="function"&&pe!==null)throw new TypeError("Class extends value "+String(pe)+" is not a constructor or null");extendStatics(R,pe);function __(){this.constructor=R}R.prototype=pe===null?Object.create(pe):(__.prototype=pe.prototype,new __)}}();Object.defineProperty(pe,"__esModule",{value:true});pe.EMPTY_OBSERVER=pe.SafeSubscriber=pe.Subscriber=void 0;var ge=Ae(67206);var me=Ae(79548);var ye=Ae(92233);var ve=Ae(92445);var be=Ae(11642);var Ee=Ae(2500);var Ce=Ae(1613);var we=Ae(31199);var Ie=function(R){he(Subscriber,R);function Subscriber(Ae){var he=R.call(this)||this;he.isStopped=false;if(Ae){he.destination=Ae;if(me.isSubscription(Ae)){Ae.add(he)}}else{he.destination=pe.EMPTY_OBSERVER}return he}Subscriber.create=function(R,pe,Ae){return new Se(R,pe,Ae)};Subscriber.prototype.next=function(R){if(this.isStopped){handleStoppedNotification(Ee.nextNotification(R),this)}else{this._next(R)}};Subscriber.prototype.error=function(R){if(this.isStopped){handleStoppedNotification(Ee.errorNotification(R),this)}else{this.isStopped=true;this._error(R)}};Subscriber.prototype.complete=function(){if(this.isStopped){handleStoppedNotification(Ee.COMPLETE_NOTIFICATION,this)}else{this.isStopped=true;this._complete()}};Subscriber.prototype.unsubscribe=function(){if(!this.closed){this.isStopped=true;R.prototype.unsubscribe.call(this);this.destination=null}};Subscriber.prototype._next=function(R){this.destination.next(R)};Subscriber.prototype._error=function(R){try{this.destination.error(R)}finally{this.unsubscribe()}};Subscriber.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}};return Subscriber}(me.Subscription);pe.Subscriber=Ie;var _e=Function.prototype.bind;function bind(R,pe){return _e.call(R,pe)}var Be=function(){function ConsumerObserver(R){this.partialObserver=R}ConsumerObserver.prototype.next=function(R){var pe=this.partialObserver;if(pe.next){try{pe.next(R)}catch(R){handleUnhandledError(R)}}};ConsumerObserver.prototype.error=function(R){var pe=this.partialObserver;if(pe.error){try{pe.error(R)}catch(R){handleUnhandledError(R)}}else{handleUnhandledError(R)}};ConsumerObserver.prototype.complete=function(){var R=this.partialObserver;if(R.complete){try{R.complete()}catch(R){handleUnhandledError(R)}}};return ConsumerObserver}();var Se=function(R){he(SafeSubscriber,R);function SafeSubscriber(pe,Ae,he){var me=R.call(this)||this;var ve;if(ge.isFunction(pe)||!pe){ve={next:pe!==null&&pe!==void 0?pe:undefined,error:Ae!==null&&Ae!==void 0?Ae:undefined,complete:he!==null&&he!==void 0?he:undefined}}else{var be;if(me&&ye.config.useDeprecatedNextContext){be=Object.create(pe);be.unsubscribe=function(){return me.unsubscribe()};ve={next:pe.next&&bind(pe.next,be),error:pe.error&&bind(pe.error,be),complete:pe.complete&&bind(pe.complete,be)}}else{ve=pe}}me.destination=new Be(ve);return me}return SafeSubscriber}(Ie);pe.SafeSubscriber=Se;function handleUnhandledError(R){if(ye.config.useDeprecatedSynchronousErrorHandling){we.captureError(R)}else{ve.reportUnhandledError(R)}}function defaultErrorHandler(R){throw R}function handleStoppedNotification(R,pe){var Ae=ye.config.onStoppedNotification;Ae&&Ce.timeoutProvider.setTimeout((function(){return Ae(R,pe)}))}pe.EMPTY_OBSERVER={closed:true,next:be.noop,error:defaultErrorHandler,complete:be.noop}},79548:function(R,pe,Ae){"use strict";var he=this&&this.__values||function(R){var pe=typeof Symbol==="function"&&Symbol.iterator,Ae=pe&&R[pe],he=0;if(Ae)return Ae.call(R);if(R&&typeof R.length==="number")return{next:function(){if(R&&he>=R.length)R=void 0;return{value:R&&R[he++],done:!R}}};throw new TypeError(pe?"Object is not iterable.":"Symbol.iterator is not defined.")};var ge=this&&this.__read||function(R,pe){var Ae=typeof Symbol==="function"&&R[Symbol.iterator];if(!Ae)return R;var he=Ae.call(R),ge,me=[],ye;try{while((pe===void 0||pe-- >0)&&!(ge=he.next()).done)me.push(ge.value)}catch(R){ye={error:R}}finally{try{if(ge&&!ge.done&&(Ae=he["return"]))Ae.call(he)}finally{if(ye)throw ye.error}}return me};var me=this&&this.__spreadArray||function(R,pe){for(var Ae=0,he=pe.length,ge=R.length;Ae{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.config=void 0;pe.config={onUnhandledError:null,onStoppedNotification:null,Promise:undefined,useDeprecatedSynchronousErrorHandling:false,useDeprecatedNextContext:false}},19369:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.firstValueFrom=void 0;var he=Ae(99391);var ge=Ae(67121);function firstValueFrom(R,pe){var Ae=typeof pe==="object";return new Promise((function(me,ye){var ve=new ge.SafeSubscriber({next:function(R){me(R);ve.unsubscribe()},error:ye,complete:function(){if(Ae){me(pe.defaultValue)}else{ye(new he.EmptyError)}}});R.subscribe(ve)}))}pe.firstValueFrom=firstValueFrom},49713:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.lastValueFrom=void 0;var he=Ae(99391);function lastValueFrom(R,pe){var Ae=typeof pe==="object";return new Promise((function(ge,me){var ye=false;var ve;R.subscribe({next:function(R){ve=R;ye=true},error:me,complete:function(){if(ye){ge(ve)}else if(Ae){ge(pe.defaultValue)}else{me(new he.EmptyError)}}})}))}pe.lastValueFrom=lastValueFrom},30420:function(R,pe,Ae){"use strict";var he=this&&this.__extends||function(){var extendStatics=function(R,pe){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(R,pe){R.__proto__=pe}||function(R,pe){for(var Ae in pe)if(Object.prototype.hasOwnProperty.call(pe,Ae))R[Ae]=pe[Ae]};return extendStatics(R,pe)};return function(R,pe){if(typeof pe!=="function"&&pe!==null)throw new TypeError("Class extends value "+String(pe)+" is not a constructor or null");extendStatics(R,pe);function __(){this.constructor=R}R.prototype=pe===null?Object.create(pe):(__.prototype=pe.prototype,new __)}}();Object.defineProperty(pe,"__esModule",{value:true});pe.ConnectableObservable=void 0;var ge=Ae(53014);var me=Ae(79548);var ye=Ae(2331);var ve=Ae(69549);var be=Ae(38669);var Ee=function(R){he(ConnectableObservable,R);function ConnectableObservable(pe,Ae){var he=R.call(this)||this;he.source=pe;he.subjectFactory=Ae;he._subject=null;he._refCount=0;he._connection=null;if(be.hasLift(pe)){he.lift=pe.lift}return he}ConnectableObservable.prototype._subscribe=function(R){return this.getSubject().subscribe(R)};ConnectableObservable.prototype.getSubject=function(){var R=this._subject;if(!R||R.isStopped){this._subject=this.subjectFactory()}return this._subject};ConnectableObservable.prototype._teardown=function(){this._refCount=0;var R=this._connection;this._subject=this._connection=null;R===null||R===void 0?void 0:R.unsubscribe()};ConnectableObservable.prototype.connect=function(){var R=this;var pe=this._connection;if(!pe){pe=this._connection=new me.Subscription;var Ae=this.getSubject();pe.add(this.source.subscribe(ve.createOperatorSubscriber(Ae,undefined,(function(){R._teardown();Ae.complete()}),(function(pe){R._teardown();Ae.error(pe)}),(function(){return R._teardown()}))));if(pe.closed){this._connection=null;pe=me.Subscription.EMPTY}}return pe};ConnectableObservable.prototype.refCount=function(){return ye.refCount()(this)};return ConnectableObservable}(ge.Observable);pe.ConnectableObservable=Ee},16949:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.bindCallback=void 0;var he=Ae(30585);function bindCallback(R,pe,Ae){return he.bindCallbackInternals(false,R,pe,Ae)}pe.bindCallback=bindCallback},30585:function(R,pe,Ae){"use strict";var he=this&&this.__read||function(R,pe){var Ae=typeof Symbol==="function"&&R[Symbol.iterator];if(!Ae)return R;var he=Ae.call(R),ge,me=[],ye;try{while((pe===void 0||pe-- >0)&&!(ge=he.next()).done)me.push(ge.value)}catch(R){ye={error:R}}finally{try{if(ge&&!ge.done&&(Ae=he["return"]))Ae.call(he)}finally{if(ye)throw ye.error}}return me};var ge=this&&this.__spreadArray||function(R,pe){for(var Ae=0,he=pe.length,ge=R.length;Ae{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.bindNodeCallback=void 0;var he=Ae(30585);function bindNodeCallback(R,pe,Ae){return he.bindCallbackInternals(true,R,pe,Ae)}pe.bindNodeCallback=bindNodeCallback},46843:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.combineLatestInit=pe.combineLatest=void 0;var he=Ae(53014);var ge=Ae(12920);var me=Ae(18309);var ye=Ae(60283);var ve=Ae(78934);var be=Ae(34890);var Ee=Ae(57834);var Ce=Ae(69549);var we=Ae(82877);function combineLatest(){var R=[];for(var pe=0;pe{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.concat=void 0;var he=Ae(88049);var ge=Ae(34890);var me=Ae(18309);function concat(){var R=[];for(var pe=0;pe{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.connectable=void 0;var he=Ae(49944);var ge=Ae(53014);var me=Ae(27672);var ye={connector:function(){return new he.Subject},resetOnDisconnect:true};function connectable(R,pe){if(pe===void 0){pe=ye}var Ae=null;var he=pe.connector,ve=pe.resetOnDisconnect,be=ve===void 0?true:ve;var Ee=he();var Ce=new ge.Observable((function(R){return Ee.subscribe(R)}));Ce.connect=function(){if(!Ae||Ae.closed){Ae=me.defer((function(){return R})).subscribe(Ee);if(be){Ae.add((function(){return Ee=he()}))}}return Ae};return Ce}pe.connectable=connectable},27672:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.defer=void 0;var he=Ae(53014);var ge=Ae(57105);function defer(R){return new he.Observable((function(pe){ge.innerFrom(R()).subscribe(pe)}))}pe.defer=defer},38197:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.animationFrames=void 0;var he=Ae(53014);var ge=Ae(70143);var me=Ae(62738);function animationFrames(R){return R?animationFramesFactory(R):ye}pe.animationFrames=animationFrames;function animationFramesFactory(R){return new he.Observable((function(pe){var Ae=R||ge.performanceTimestampProvider;var he=Ae.now();var ye=0;var run=function(){if(!pe.closed){ye=me.animationFrameProvider.requestAnimationFrame((function(ge){ye=0;var me=Ae.now();pe.next({timestamp:R?me:ge,elapsed:me-he});run()}))}};run();return function(){if(ye){me.animationFrameProvider.cancelAnimationFrame(ye)}}}))}var ye=animationFramesFactory()},70437:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.empty=pe.EMPTY=void 0;var he=Ae(53014);pe.EMPTY=new he.Observable((function(R){return R.complete()}));function empty(R){return R?emptyScheduled(R):pe.EMPTY}pe.empty=empty;function emptyScheduled(R){return new he.Observable((function(pe){return R.schedule((function(){return pe.complete()}))}))}},47358:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.forkJoin=void 0;var he=Ae(53014);var ge=Ae(12920);var me=Ae(57105);var ye=Ae(34890);var ve=Ae(69549);var be=Ae(78934);var Ee=Ae(57834);function forkJoin(){var R=[];for(var pe=0;pe{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.from=void 0;var he=Ae(6151);var ge=Ae(57105);function from(R,pe){return pe?he.scheduled(R,pe):ge.innerFrom(R)}pe.from=from},93238:function(R,pe,Ae){"use strict";var he=this&&this.__read||function(R,pe){var Ae=typeof Symbol==="function"&&R[Symbol.iterator];if(!Ae)return R;var he=Ae.call(R),ge,me=[],ye;try{while((pe===void 0||pe-- >0)&&!(ge=he.next()).done)me.push(ge.value)}catch(R){ye={error:R}}finally{try{if(ge&&!ge.done&&(Ae=he["return"]))Ae.call(he)}finally{if(ye)throw ye.error}}return me};Object.defineProperty(pe,"__esModule",{value:true});pe.fromEvent=void 0;var ge=Ae(57105);var me=Ae(53014);var ye=Ae(69914);var ve=Ae(24461);var be=Ae(67206);var Ee=Ae(78934);var Ce=["addListener","removeListener"];var we=["addEventListener","removeEventListener"];var Ie=["on","off"];function fromEvent(R,pe,Ae,_e){if(be.isFunction(Ae)){_e=Ae;Ae=undefined}if(_e){return fromEvent(R,pe,Ae).pipe(Ee.mapOneOrManyArgs(_e))}var Be=he(isEventTarget(R)?we.map((function(he){return function(ge){return R[he](pe,ge,Ae)}})):isNodeStyleEventEmitter(R)?Ce.map(toCommonHandlerRegistry(R,pe)):isJQueryStyleEventEmitter(R)?Ie.map(toCommonHandlerRegistry(R,pe)):[],2),Se=Be[0],Qe=Be[1];if(!Se){if(ve.isArrayLike(R)){return ye.mergeMap((function(R){return fromEvent(R,pe,Ae)}))(ge.innerFrom(R))}}if(!Se){throw new TypeError("Invalid event target")}return new me.Observable((function(R){var handler=function(){var pe=[];for(var Ae=0;Ae{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.fromEventPattern=void 0;var he=Ae(53014);var ge=Ae(67206);var me=Ae(78934);function fromEventPattern(R,pe,Ae){if(Ae){return fromEventPattern(R,pe).pipe(me.mapOneOrManyArgs(Ae))}return new he.Observable((function(Ae){var handler=function(){var R=[];for(var pe=0;pe{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.fromSubscribable=void 0;var he=Ae(53014);function fromSubscribable(R){return new he.Observable((function(pe){return R.subscribe(pe)}))}pe.fromSubscribable=fromSubscribable},52668:function(R,pe,Ae){"use strict";var he=this&&this.__generator||function(R,pe){var Ae={label:0,sent:function(){if(me[0]&1)throw me[1];return me[1]},trys:[],ops:[]},he,ge,me,ye;return ye={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol==="function"&&(ye[Symbol.iterator]=function(){return this}),ye;function verb(R){return function(pe){return step([R,pe])}}function step(ye){if(he)throw new TypeError("Generator is already executing.");while(Ae)try{if(he=1,ge&&(me=ye[0]&2?ge["return"]:ye[0]?ge["throw"]||((me=ge["return"])&&me.call(ge),0):ge.next)&&!(me=me.call(ge,ye[1])).done)return me;if(ge=0,me)ye=[ye[0]&2,me.value];switch(ye[0]){case 0:case 1:me=ye;break;case 4:Ae.label++;return{value:ye[1],done:false};case 5:Ae.label++;ge=ye[1];ye=[0];continue;case 7:ye=Ae.ops.pop();Ae.trys.pop();continue;default:if(!(me=Ae.trys,me=me.length>0&&me[me.length-1])&&(ye[0]===6||ye[0]===2)){Ae=0;continue}if(ye[0]===3&&(!me||ye[1]>me[0]&&ye[1]{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.iif=void 0;var he=Ae(27672);function iif(R,pe,Ae){return he.defer((function(){return R()?pe:Ae}))}pe.iif=iif},57105:function(R,pe,Ae){"use strict";var he=this&&this.__awaiter||function(R,pe,Ae,he){function adopt(R){return R instanceof Ae?R:new Ae((function(pe){pe(R)}))}return new(Ae||(Ae=Promise))((function(Ae,ge){function fulfilled(R){try{step(he.next(R))}catch(R){ge(R)}}function rejected(R){try{step(he["throw"](R))}catch(R){ge(R)}}function step(R){R.done?Ae(R.value):adopt(R.value).then(fulfilled,rejected)}step((he=he.apply(R,pe||[])).next())}))};var ge=this&&this.__generator||function(R,pe){var Ae={label:0,sent:function(){if(me[0]&1)throw me[1];return me[1]},trys:[],ops:[]},he,ge,me,ye;return ye={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol==="function"&&(ye[Symbol.iterator]=function(){return this}),ye;function verb(R){return function(pe){return step([R,pe])}}function step(ye){if(he)throw new TypeError("Generator is already executing.");while(Ae)try{if(he=1,ge&&(me=ye[0]&2?ge["return"]:ye[0]?ge["throw"]||((me=ge["return"])&&me.call(ge),0):ge.next)&&!(me=me.call(ge,ye[1])).done)return me;if(ge=0,me)ye=[ye[0]&2,me.value];switch(ye[0]){case 0:case 1:me=ye;break;case 4:Ae.label++;return{value:ye[1],done:false};case 5:Ae.label++;ge=ye[1];ye=[0];continue;case 7:ye=Ae.ops.pop();Ae.trys.pop();continue;default:if(!(me=Ae.trys,me=me.length>0&&me[me.length-1])&&(ye[0]===6||ye[0]===2)){Ae=0;continue}if(ye[0]===3&&(!me||ye[1]>me[0]&&ye[1]=R.length)R=void 0;return{value:R&&R[he++],done:!R}}};throw new TypeError(pe?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(pe,"__esModule",{value:true});pe.fromReadableStreamLike=pe.fromAsyncIterable=pe.fromIterable=pe.fromPromise=pe.fromArrayLike=pe.fromInteropObservable=pe.innerFrom=void 0;var ve=Ae(24461);var be=Ae(65585);var Ee=Ae(53014);var Ce=Ae(67984);var we=Ae(44408);var Ie=Ae(97364);var _e=Ae(94292);var Be=Ae(99621);var Se=Ae(67206);var Qe=Ae(92445);var xe=Ae(17186);function innerFrom(R){if(R instanceof Ee.Observable){return R}if(R!=null){if(Ce.isInteropObservable(R)){return fromInteropObservable(R)}if(ve.isArrayLike(R)){return fromArrayLike(R)}if(be.isPromise(R)){return fromPromise(R)}if(we.isAsyncIterable(R)){return fromAsyncIterable(R)}if(_e.isIterable(R)){return fromIterable(R)}if(Be.isReadableStreamLike(R)){return fromReadableStreamLike(R)}}throw Ie.createInvalidObservableTypeError(R)}pe.innerFrom=innerFrom;function fromInteropObservable(R){return new Ee.Observable((function(pe){var Ae=R[xe.observable]();if(Se.isFunction(Ae.subscribe)){return Ae.subscribe(pe)}throw new TypeError("Provided object does not correctly implement Symbol.observable")}))}pe.fromInteropObservable=fromInteropObservable;function fromArrayLike(R){return new Ee.Observable((function(pe){for(var Ae=0;Ae{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.interval=void 0;var he=Ae(76072);var ge=Ae(59757);function interval(R,pe){if(R===void 0){R=0}if(pe===void 0){pe=he.asyncScheduler}if(R<0){R=0}return ge.timer(R,R,pe)}pe.interval=interval},75122:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.merge=void 0;var he=Ae(2057);var ge=Ae(57105);var me=Ae(70437);var ye=Ae(34890);var ve=Ae(18309);function merge(){var R=[];for(var pe=0;pe{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.never=pe.NEVER=void 0;var he=Ae(53014);var ge=Ae(11642);pe.NEVER=new he.Observable(ge.noop);function never(){return pe.NEVER}pe.never=never},72163:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.of=void 0;var he=Ae(34890);var ge=Ae(18309);function of(){var R=[];for(var pe=0;pe{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.onErrorResumeNext=void 0;var he=Ae(53014);var ge=Ae(18824);var me=Ae(69549);var ye=Ae(11642);var ve=Ae(57105);function onErrorResumeNext(){var R=[];for(var pe=0;pe{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.pairs=void 0;var he=Ae(18309);function pairs(R,pe){return he.from(Object.entries(R),pe)}pe.pairs=pairs},15506:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.partition=void 0;var he=Ae(54338);var ge=Ae(36894);var me=Ae(57105);function partition(R,pe,Ae){return[ge.filter(pe,Ae)(me.innerFrom(R)),ge.filter(he.not(pe,Ae))(me.innerFrom(R))]}pe.partition=partition},16940:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.raceInit=pe.race=void 0;var he=Ae(53014);var ge=Ae(57105);var me=Ae(18824);var ye=Ae(69549);function race(){var R=[];for(var pe=0;pe{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.range=void 0;var he=Ae(53014);var ge=Ae(70437);function range(R,pe,Ae){if(pe==null){pe=R;R=0}if(pe<=0){return ge.EMPTY}var me=pe+R;return new he.Observable(Ae?function(pe){var he=R;return Ae.schedule((function(){if(he{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.throwError=void 0;var he=Ae(53014);var ge=Ae(67206);function throwError(R,pe){var Ae=ge.isFunction(R)?R:function(){return R};var init=function(R){return R.error(Ae())};return new he.Observable(pe?function(R){return pe.schedule(init,0,R)}:init)}pe.throwError=throwError},59757:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.timer=void 0;var he=Ae(53014);var ge=Ae(76072);var me=Ae(84078);var ye=Ae(60935);function timer(R,pe,Ae){if(R===void 0){R=0}if(Ae===void 0){Ae=ge.async}var ve=-1;if(pe!=null){if(me.isScheduler(pe)){Ae=pe}else{ve=pe}}return new he.Observable((function(pe){var he=ye.isValidDate(R)?+R-Ae.now():R;if(he<0){he=0}var ge=0;return Ae.schedule((function(){if(!pe.closed){pe.next(ge++);if(0<=ve){this.schedule(undefined,ve)}else{pe.complete()}}}),he)}))}pe.timer=timer},8445:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.using=void 0;var he=Ae(53014);var ge=Ae(57105);var me=Ae(70437);function using(R,pe){return new he.Observable((function(Ae){var he=R();var ye=pe(he);var ve=ye?ge.innerFrom(ye):me.EMPTY;ve.subscribe(Ae);return function(){if(he){he.unsubscribe()}}}))}pe.using=using},62504:function(R,pe,Ae){"use strict";var he=this&&this.__read||function(R,pe){var Ae=typeof Symbol==="function"&&R[Symbol.iterator];if(!Ae)return R;var he=Ae.call(R),ge,me=[],ye;try{while((pe===void 0||pe-- >0)&&!(ge=he.next()).done)me.push(ge.value)}catch(R){ye={error:R}}finally{try{if(ge&&!ge.done&&(Ae=he["return"]))Ae.call(he)}finally{if(ye)throw ye.error}}return me};var ge=this&&this.__spreadArray||function(R,pe){for(var Ae=0,he=pe.length,ge=R.length;Ae{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.audit=void 0;var he=Ae(38669);var ge=Ae(57105);var me=Ae(69549);function audit(R){return he.operate((function(pe,Ae){var he=false;var ye=null;var ve=null;var be=false;var endDuration=function(){ve===null||ve===void 0?void 0:ve.unsubscribe();ve=null;if(he){he=false;var R=ye;ye=null;Ae.next(R)}be&&Ae.complete()};var cleanupDuration=function(){ve=null;be&&Ae.complete()};pe.subscribe(me.createOperatorSubscriber(Ae,(function(pe){he=true;ye=pe;if(!ve){ge.innerFrom(R(pe)).subscribe(ve=me.createOperatorSubscriber(Ae,endDuration,cleanupDuration))}}),(function(){be=true;(!he||!ve||ve.closed)&&Ae.complete()})))}))}pe.audit=audit},18780:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.auditTime=void 0;var he=Ae(76072);var ge=Ae(82704);var me=Ae(59757);function auditTime(R,pe){if(pe===void 0){pe=he.asyncScheduler}return ge.audit((function(){return me.timer(R,pe)}))}pe.auditTime=auditTime},34253:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.buffer=void 0;var he=Ae(38669);var ge=Ae(11642);var me=Ae(69549);var ye=Ae(57105);function buffer(R){return he.operate((function(pe,Ae){var he=[];pe.subscribe(me.createOperatorSubscriber(Ae,(function(R){return he.push(R)}),(function(){Ae.next(he);Ae.complete()})));ye.innerFrom(R).subscribe(me.createOperatorSubscriber(Ae,(function(){var R=he;he=[];Ae.next(R)}),ge.noop));return function(){he=null}}))}pe.buffer=buffer},17253:function(R,pe,Ae){"use strict";var he=this&&this.__values||function(R){var pe=typeof Symbol==="function"&&Symbol.iterator,Ae=pe&&R[pe],he=0;if(Ae)return Ae.call(R);if(R&&typeof R.length==="number")return{next:function(){if(R&&he>=R.length)R=void 0;return{value:R&&R[he++],done:!R}}};throw new TypeError(pe?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(pe,"__esModule",{value:true});pe.bufferCount=void 0;var ge=Ae(38669);var me=Ae(69549);var ye=Ae(68499);function bufferCount(R,pe){if(pe===void 0){pe=null}pe=pe!==null&&pe!==void 0?pe:R;return ge.operate((function(Ae,ge){var ve=[];var be=0;Ae.subscribe(me.createOperatorSubscriber(ge,(function(Ae){var me,Ee,Ce,we;var Ie=null;if(be++%pe===0){ve.push([])}try{for(var _e=he(ve),Be=_e.next();!Be.done;Be=_e.next()){var Se=Be.value;Se.push(Ae);if(R<=Se.length){Ie=Ie!==null&&Ie!==void 0?Ie:[];Ie.push(Se)}}}catch(R){me={error:R}}finally{try{if(Be&&!Be.done&&(Ee=_e.return))Ee.call(_e)}finally{if(me)throw me.error}}if(Ie){try{for(var Qe=he(Ie),xe=Qe.next();!xe.done;xe=Qe.next()){var Se=xe.value;ye.arrRemove(ve,Se);ge.next(Se)}}catch(R){Ce={error:R}}finally{try{if(xe&&!xe.done&&(we=Qe.return))we.call(Qe)}finally{if(Ce)throw Ce.error}}}}),(function(){var R,pe;try{for(var Ae=he(ve),me=Ae.next();!me.done;me=Ae.next()){var ye=me.value;ge.next(ye)}}catch(pe){R={error:pe}}finally{try{if(me&&!me.done&&(pe=Ae.return))pe.call(Ae)}finally{if(R)throw R.error}}ge.complete()}),undefined,(function(){ve=null})))}))}pe.bufferCount=bufferCount},73102:function(R,pe,Ae){"use strict";var he=this&&this.__values||function(R){var pe=typeof Symbol==="function"&&Symbol.iterator,Ae=pe&&R[pe],he=0;if(Ae)return Ae.call(R);if(R&&typeof R.length==="number")return{next:function(){if(R&&he>=R.length)R=void 0;return{value:R&&R[he++],done:!R}}};throw new TypeError(pe?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(pe,"__esModule",{value:true});pe.bufferTime=void 0;var ge=Ae(79548);var me=Ae(38669);var ye=Ae(69549);var ve=Ae(68499);var be=Ae(76072);var Ee=Ae(34890);var Ce=Ae(82877);function bufferTime(R){var pe,Ae;var we=[];for(var Ie=1;Ie=0){Ce.executeSchedule(Ae,_e,startBuffer,Be,true)}else{be=true}startBuffer();var Ee=ye.createOperatorSubscriber(Ae,(function(R){var pe,Ae;var ge=me.slice();try{for(var ye=he(ge),ve=ye.next();!ve.done;ve=ye.next()){var be=ve.value;var Ee=be.buffer;Ee.push(R);Se<=Ee.length&&emit(be)}}catch(R){pe={error:R}}finally{try{if(ve&&!ve.done&&(Ae=ye.return))Ae.call(ye)}finally{if(pe)throw pe.error}}}),(function(){while(me===null||me===void 0?void 0:me.length){Ae.next(me.shift().buffer)}Ee===null||Ee===void 0?void 0:Ee.unsubscribe();Ae.complete();Ae.unsubscribe()}),undefined,(function(){return me=null}));pe.subscribe(Ee)}))}pe.bufferTime=bufferTime},83781:function(R,pe,Ae){"use strict";var he=this&&this.__values||function(R){var pe=typeof Symbol==="function"&&Symbol.iterator,Ae=pe&&R[pe],he=0;if(Ae)return Ae.call(R);if(R&&typeof R.length==="number")return{next:function(){if(R&&he>=R.length)R=void 0;return{value:R&&R[he++],done:!R}}};throw new TypeError(pe?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(pe,"__esModule",{value:true});pe.bufferToggle=void 0;var ge=Ae(79548);var me=Ae(38669);var ye=Ae(57105);var ve=Ae(69549);var be=Ae(11642);var Ee=Ae(68499);function bufferToggle(R,pe){return me.operate((function(Ae,me){var Ce=[];ye.innerFrom(R).subscribe(ve.createOperatorSubscriber(me,(function(R){var Ae=[];Ce.push(Ae);var he=new ge.Subscription;var emitBuffer=function(){Ee.arrRemove(Ce,Ae);me.next(Ae);he.unsubscribe()};he.add(ye.innerFrom(pe(R)).subscribe(ve.createOperatorSubscriber(me,emitBuffer,be.noop)))}),be.noop));Ae.subscribe(ve.createOperatorSubscriber(me,(function(R){var pe,Ae;try{for(var ge=he(Ce),me=ge.next();!me.done;me=ge.next()){var ye=me.value;ye.push(R)}}catch(R){pe={error:R}}finally{try{if(me&&!me.done&&(Ae=ge.return))Ae.call(ge)}finally{if(pe)throw pe.error}}}),(function(){while(Ce.length>0){me.next(Ce.shift())}me.complete()})))}))}pe.bufferToggle=bufferToggle},82855:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.bufferWhen=void 0;var he=Ae(38669);var ge=Ae(11642);var me=Ae(69549);var ye=Ae(57105);function bufferWhen(R){return he.operate((function(pe,Ae){var he=null;var ve=null;var openBuffer=function(){ve===null||ve===void 0?void 0:ve.unsubscribe();var pe=he;he=[];pe&&Ae.next(pe);ye.innerFrom(R()).subscribe(ve=me.createOperatorSubscriber(Ae,openBuffer,ge.noop))};openBuffer();pe.subscribe(me.createOperatorSubscriber(Ae,(function(R){return he===null||he===void 0?void 0:he.push(R)}),(function(){he&&Ae.next(he);Ae.complete()}),undefined,(function(){return he=ve=null})))}))}pe.bufferWhen=bufferWhen},37765:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.catchError=void 0;var he=Ae(57105);var ge=Ae(69549);var me=Ae(38669);function catchError(R){return me.operate((function(pe,Ae){var me=null;var ye=false;var ve;me=pe.subscribe(ge.createOperatorSubscriber(Ae,undefined,undefined,(function(ge){ve=he.innerFrom(R(ge,catchError(R)(pe)));if(me){me.unsubscribe();me=null;ve.subscribe(Ae)}else{ye=true}})));if(ye){me.unsubscribe();me=null;ve.subscribe(Ae)}}))}pe.catchError=catchError},88817:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.combineAll=void 0;var he=Ae(91063);pe.combineAll=he.combineLatestAll},96008:function(R,pe,Ae){"use strict";var he=this&&this.__read||function(R,pe){var Ae=typeof Symbol==="function"&&R[Symbol.iterator];if(!Ae)return R;var he=Ae.call(R),ge,me=[],ye;try{while((pe===void 0||pe-- >0)&&!(ge=he.next()).done)me.push(ge.value)}catch(R){ye={error:R}}finally{try{if(ge&&!ge.done&&(Ae=he["return"]))Ae.call(he)}finally{if(ye)throw ye.error}}return me};var ge=this&&this.__spreadArray||function(R,pe){for(var Ae=0,he=pe.length,ge=R.length;Ae{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.combineLatestAll=void 0;var he=Ae(46843);var ge=Ae(29341);function combineLatestAll(R){return ge.joinAllInternals(he.combineLatest,R)}pe.combineLatestAll=combineLatestAll},19044:function(R,pe,Ae){"use strict";var he=this&&this.__read||function(R,pe){var Ae=typeof Symbol==="function"&&R[Symbol.iterator];if(!Ae)return R;var he=Ae.call(R),ge,me=[],ye;try{while((pe===void 0||pe-- >0)&&!(ge=he.next()).done)me.push(ge.value)}catch(R){ye={error:R}}finally{try{if(ge&&!ge.done&&(Ae=he["return"]))Ae.call(he)}finally{if(ye)throw ye.error}}return me};var ge=this&&this.__spreadArray||function(R,pe){for(var Ae=0,he=pe.length,ge=R.length;Ae0)&&!(ge=he.next()).done)me.push(ge.value)}catch(R){ye={error:R}}finally{try{if(ge&&!ge.done&&(Ae=he["return"]))Ae.call(he)}finally{if(ye)throw ye.error}}return me};var ge=this&&this.__spreadArray||function(R,pe){for(var Ae=0,he=pe.length,ge=R.length;Ae{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.concatAll=void 0;var he=Ae(2057);function concatAll(){return he.mergeAll(1)}pe.concatAll=concatAll},19130:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.concatMap=void 0;var he=Ae(69914);var ge=Ae(67206);function concatMap(R,pe){return ge.isFunction(pe)?he.mergeMap(R,pe,1):he.mergeMap(R,1)}pe.concatMap=concatMap},61596:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.concatMapTo=void 0;var he=Ae(19130);var ge=Ae(67206);function concatMapTo(R,pe){return ge.isFunction(pe)?he.concatMap((function(){return R}),pe):he.concatMap((function(){return R}))}pe.concatMapTo=concatMapTo},97998:function(R,pe,Ae){"use strict";var he=this&&this.__read||function(R,pe){var Ae=typeof Symbol==="function"&&R[Symbol.iterator];if(!Ae)return R;var he=Ae.call(R),ge,me=[],ye;try{while((pe===void 0||pe-- >0)&&!(ge=he.next()).done)me.push(ge.value)}catch(R){ye={error:R}}finally{try{if(ge&&!ge.done&&(Ae=he["return"]))Ae.call(he)}finally{if(ye)throw ye.error}}return me};var ge=this&&this.__spreadArray||function(R,pe){for(var Ae=0,he=pe.length,ge=R.length;Ae{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.connect=void 0;var he=Ae(49944);var ge=Ae(57105);var me=Ae(38669);var ye=Ae(66513);var ve={connector:function(){return new he.Subject}};function connect(R,pe){if(pe===void 0){pe=ve}var Ae=pe.connector;return me.operate((function(pe,he){var me=Ae();ge.innerFrom(R(ye.fromSubscribable(me))).subscribe(he);he.add(pe.subscribe(me))}))}pe.connect=connect},36571:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.count=void 0;var he=Ae(62087);function count(R){return he.reduce((function(pe,Ae,he){return!R||R(Ae,he)?pe+1:pe}),0)}pe.count=count},19348:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.debounce=void 0;var he=Ae(38669);var ge=Ae(11642);var me=Ae(69549);var ye=Ae(57105);function debounce(R){return he.operate((function(pe,Ae){var he=false;var ve=null;var be=null;var emit=function(){be===null||be===void 0?void 0:be.unsubscribe();be=null;if(he){he=false;var R=ve;ve=null;Ae.next(R)}};pe.subscribe(me.createOperatorSubscriber(Ae,(function(pe){be===null||be===void 0?void 0:be.unsubscribe();he=true;ve=pe;be=me.createOperatorSubscriber(Ae,emit,ge.noop);ye.innerFrom(R(pe)).subscribe(be)}),(function(){emit();Ae.complete()}),undefined,(function(){ve=be=null})))}))}pe.debounce=debounce},62379:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.debounceTime=void 0;var he=Ae(76072);var ge=Ae(38669);var me=Ae(69549);function debounceTime(R,pe){if(pe===void 0){pe=he.asyncScheduler}return ge.operate((function(Ae,he){var ge=null;var ye=null;var ve=null;var emit=function(){if(ge){ge.unsubscribe();ge=null;var R=ye;ye=null;he.next(R)}};function emitWhenIdle(){var Ae=ve+R;var me=pe.now();if(me{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.defaultIfEmpty=void 0;var he=Ae(38669);var ge=Ae(69549);function defaultIfEmpty(R){return he.operate((function(pe,Ae){var he=false;pe.subscribe(ge.createOperatorSubscriber(Ae,(function(R){he=true;Ae.next(R)}),(function(){if(!he){Ae.next(R)}Ae.complete()})))}))}pe.defaultIfEmpty=defaultIfEmpty},99818:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.delay=void 0;var he=Ae(76072);var ge=Ae(16994);var me=Ae(59757);function delay(R,pe){if(pe===void 0){pe=he.asyncScheduler}var Ae=me.timer(R,pe);return ge.delayWhen((function(){return Ae}))}pe.delay=delay},16994:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.delayWhen=void 0;var he=Ae(4675);var ge=Ae(33698);var me=Ae(31062);var ye=Ae(52300);var ve=Ae(69914);var be=Ae(57105);function delayWhen(R,pe){if(pe){return function(Ae){return he.concat(pe.pipe(ge.take(1),me.ignoreElements()),Ae.pipe(delayWhen(R)))}}return ve.mergeMap((function(pe,Ae){return be.innerFrom(R(pe,Ae)).pipe(ge.take(1),ye.mapTo(pe))}))}pe.delayWhen=delayWhen},95338:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.dematerialize=void 0;var he=Ae(12241);var ge=Ae(38669);var me=Ae(69549);function dematerialize(){return ge.operate((function(R,pe){R.subscribe(me.createOperatorSubscriber(pe,(function(R){return he.observeNotification(R,pe)})))}))}pe.dematerialize=dematerialize},52594:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.distinct=void 0;var he=Ae(38669);var ge=Ae(69549);var me=Ae(11642);var ye=Ae(57105);function distinct(R,pe){return he.operate((function(Ae,he){var ve=new Set;Ae.subscribe(ge.createOperatorSubscriber(he,(function(pe){var Ae=R?R(pe):pe;if(!ve.has(Ae)){ve.add(Ae);he.next(pe)}})));pe&&ye.innerFrom(pe).subscribe(ge.createOperatorSubscriber(he,(function(){return ve.clear()}),me.noop))}))}pe.distinct=distinct},20632:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.distinctUntilChanged=void 0;var he=Ae(60283);var ge=Ae(38669);var me=Ae(69549);function distinctUntilChanged(R,pe){if(pe===void 0){pe=he.identity}R=R!==null&&R!==void 0?R:defaultCompare;return ge.operate((function(Ae,he){var ge;var ye=true;Ae.subscribe(me.createOperatorSubscriber(he,(function(Ae){var me=pe(Ae);if(ye||!R(ge,me)){ye=false;ge=me;he.next(Ae)}})))}))}pe.distinctUntilChanged=distinctUntilChanged;function defaultCompare(R,pe){return R===pe}},13809:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.distinctUntilKeyChanged=void 0;var he=Ae(20632);function distinctUntilKeyChanged(R,pe){return he.distinctUntilChanged((function(Ae,he){return pe?pe(Ae[R],he[R]):Ae[R]===he[R]}))}pe.distinctUntilKeyChanged=distinctUntilKeyChanged},73381:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.elementAt=void 0;var he=Ae(49796);var ge=Ae(36894);var me=Ae(91566);var ye=Ae(30621);var ve=Ae(33698);function elementAt(R,pe){if(R<0){throw new he.ArgumentOutOfRangeError}var Ae=arguments.length>=2;return function(be){return be.pipe(ge.filter((function(pe,Ae){return Ae===R})),ve.take(1),Ae?ye.defaultIfEmpty(pe):me.throwIfEmpty((function(){return new he.ArgumentOutOfRangeError})))}}pe.elementAt=elementAt},42961:function(R,pe,Ae){"use strict";var he=this&&this.__read||function(R,pe){var Ae=typeof Symbol==="function"&&R[Symbol.iterator];if(!Ae)return R;var he=Ae.call(R),ge,me=[],ye;try{while((pe===void 0||pe-- >0)&&!(ge=he.next()).done)me.push(ge.value)}catch(R){ye={error:R}}finally{try{if(ge&&!ge.done&&(Ae=he["return"]))Ae.call(he)}finally{if(ye)throw ye.error}}return me};var ge=this&&this.__spreadArray||function(R,pe){for(var Ae=0,he=pe.length,ge=R.length;Ae{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.every=void 0;var he=Ae(38669);var ge=Ae(69549);function every(R,pe){return he.operate((function(Ae,he){var me=0;Ae.subscribe(ge.createOperatorSubscriber(he,(function(ge){if(!R.call(pe,ge,me++,Ae)){he.next(false);he.complete()}}),(function(){he.next(true);he.complete()})))}))}pe.every=every},75686:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.exhaust=void 0;var he=Ae(79777);pe.exhaust=he.exhaustAll},79777:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.exhaustAll=void 0;var he=Ae(21527);var ge=Ae(60283);function exhaustAll(){return he.exhaustMap(ge.identity)}pe.exhaustAll=exhaustAll},21527:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.exhaustMap=void 0;var he=Ae(5987);var ge=Ae(57105);var me=Ae(38669);var ye=Ae(69549);function exhaustMap(R,pe){if(pe){return function(Ae){return Ae.pipe(exhaustMap((function(Ae,me){return ge.innerFrom(R(Ae,me)).pipe(he.map((function(R,he){return pe(Ae,R,me,he)})))})))}}return me.operate((function(pe,Ae){var he=0;var me=null;var ve=false;pe.subscribe(ye.createOperatorSubscriber(Ae,(function(pe){if(!me){me=ye.createOperatorSubscriber(Ae,undefined,(function(){me=null;ve&&Ae.complete()}));ge.innerFrom(R(pe,he++)).subscribe(me)}}),(function(){ve=true;!me&&Ae.complete()})))}))}pe.exhaustMap=exhaustMap},21585:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.expand=void 0;var he=Ae(38669);var ge=Ae(48246);function expand(R,pe,Ae){if(pe===void 0){pe=Infinity}pe=(pe||0)<1?Infinity:pe;return he.operate((function(he,me){return ge.mergeInternals(he,me,R,pe,undefined,true,Ae)}))}pe.expand=expand},36894:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.filter=void 0;var he=Ae(38669);var ge=Ae(69549);function filter(R,pe){return he.operate((function(Ae,he){var me=0;Ae.subscribe(ge.createOperatorSubscriber(he,(function(Ae){return R.call(pe,Ae,me++)&&he.next(Ae)})))}))}pe.filter=filter},4013:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.finalize=void 0;var he=Ae(38669);function finalize(R){return he.operate((function(pe,Ae){try{pe.subscribe(Ae)}finally{Ae.add(R)}}))}pe.finalize=finalize},28981:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.createFind=pe.find=void 0;var he=Ae(38669);var ge=Ae(69549);function find(R,pe){return he.operate(createFind(R,pe,"value"))}pe.find=find;function createFind(R,pe,Ae){var he=Ae==="index";return function(Ae,me){var ye=0;Ae.subscribe(ge.createOperatorSubscriber(me,(function(ge){var ve=ye++;if(R.call(pe,ge,ve,Ae)){me.next(he?ve:ge);me.complete()}}),(function(){me.next(he?-1:undefined);me.complete()})))}}pe.createFind=createFind},92602:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.findIndex=void 0;var he=Ae(38669);var ge=Ae(28981);function findIndex(R,pe){return he.operate(ge.createFind(R,pe,"index"))}pe.findIndex=findIndex},63345:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.first=void 0;var he=Ae(99391);var ge=Ae(36894);var me=Ae(33698);var ye=Ae(30621);var ve=Ae(91566);var be=Ae(60283);function first(R,pe){var Ae=arguments.length>=2;return function(Ee){return Ee.pipe(R?ge.filter((function(pe,Ae){return R(pe,Ae,Ee)})):be.identity,me.take(1),Ae?ye.defaultIfEmpty(pe):ve.throwIfEmpty((function(){return new he.EmptyError})))}}pe.first=first},40186:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.flatMap=void 0;var he=Ae(69914);pe.flatMap=he.mergeMap},51650:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.groupBy=void 0;var he=Ae(53014);var ge=Ae(57105);var me=Ae(49944);var ye=Ae(38669);var ve=Ae(69549);function groupBy(R,pe,Ae,be){return ye.operate((function(ye,Ee){var Ce;if(!pe||typeof pe==="function"){Ce=pe}else{Ae=pe.duration,Ce=pe.element,be=pe.connector}var we=new Map;var notify=function(R){we.forEach(R);R(Ee)};var handleError=function(R){return notify((function(pe){return pe.error(R)}))};var Ie=0;var _e=false;var Be=new ve.OperatorSubscriber(Ee,(function(pe){try{var he=R(pe);var ye=we.get(he);if(!ye){we.set(he,ye=be?be():new me.Subject);var Ie=createGroupedObservable(he,ye);Ee.next(Ie);if(Ae){var _e=ve.createOperatorSubscriber(ye,(function(){ye.complete();_e===null||_e===void 0?void 0:_e.unsubscribe()}),undefined,undefined,(function(){return we.delete(he)}));Be.add(ge.innerFrom(Ae(Ie)).subscribe(_e))}}ye.next(Ce?Ce(pe):pe)}catch(R){handleError(R)}}),(function(){return notify((function(R){return R.complete()}))}),handleError,(function(){return we.clear()}),(function(){_e=true;return Ie===0}));ye.subscribe(Be);function createGroupedObservable(R,pe){var Ae=new he.Observable((function(R){Ie++;var Ae=pe.subscribe(R);return function(){Ae.unsubscribe();--Ie===0&&_e&&Be.unsubscribe()}}));Ae.key=R;return Ae}}))}pe.groupBy=groupBy},31062:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.ignoreElements=void 0;var he=Ae(38669);var ge=Ae(69549);var me=Ae(11642);function ignoreElements(){return he.operate((function(R,pe){R.subscribe(ge.createOperatorSubscriber(pe,me.noop))}))}pe.ignoreElements=ignoreElements},77722:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.isEmpty=void 0;var he=Ae(38669);var ge=Ae(69549);function isEmpty(){return he.operate((function(R,pe){R.subscribe(ge.createOperatorSubscriber(pe,(function(){pe.next(false);pe.complete()}),(function(){pe.next(true);pe.complete()})))}))}pe.isEmpty=isEmpty},29341:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.joinAllInternals=void 0;var he=Ae(60283);var ge=Ae(78934);var me=Ae(49587);var ye=Ae(69914);var ve=Ae(35114);function joinAllInternals(R,pe){return me.pipe(ve.toArray(),ye.mergeMap((function(pe){return R(pe)})),pe?ge.mapOneOrManyArgs(pe):he.identity)}pe.joinAllInternals=joinAllInternals},46831:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.last=void 0;var he=Ae(99391);var ge=Ae(36894);var me=Ae(65041);var ye=Ae(91566);var ve=Ae(30621);var be=Ae(60283);function last(R,pe){var Ae=arguments.length>=2;return function(Ee){return Ee.pipe(R?ge.filter((function(pe,Ae){return R(pe,Ae,Ee)})):be.identity,me.takeLast(1),Ae?ve.defaultIfEmpty(pe):ye.throwIfEmpty((function(){return new he.EmptyError})))}}pe.last=last},5987:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.map=void 0;var he=Ae(38669);var ge=Ae(69549);function map(R,pe){return he.operate((function(Ae,he){var me=0;Ae.subscribe(ge.createOperatorSubscriber(he,(function(Ae){he.next(R.call(pe,Ae,me++))})))}))}pe.map=map},52300:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.mapTo=void 0;var he=Ae(5987);function mapTo(R){return he.map((function(){return R}))}pe.mapTo=mapTo},67108:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.materialize=void 0;var he=Ae(12241);var ge=Ae(38669);var me=Ae(69549);function materialize(){return ge.operate((function(R,pe){R.subscribe(me.createOperatorSubscriber(pe,(function(R){pe.next(he.Notification.createNext(R))}),(function(){pe.next(he.Notification.createComplete());pe.complete()}),(function(R){pe.next(he.Notification.createError(R));pe.complete()})))}))}pe.materialize=materialize},17314:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.max=void 0;var he=Ae(62087);var ge=Ae(67206);function max(R){return he.reduce(ge.isFunction(R)?function(pe,Ae){return R(pe,Ae)>0?pe:Ae}:function(R,pe){return R>pe?R:pe})}pe.max=max},39510:function(R,pe,Ae){"use strict";var he=this&&this.__read||function(R,pe){var Ae=typeof Symbol==="function"&&R[Symbol.iterator];if(!Ae)return R;var he=Ae.call(R),ge,me=[],ye;try{while((pe===void 0||pe-- >0)&&!(ge=he.next()).done)me.push(ge.value)}catch(R){ye={error:R}}finally{try{if(ge&&!ge.done&&(Ae=he["return"]))Ae.call(he)}finally{if(ye)throw ye.error}}return me};var ge=this&&this.__spreadArray||function(R,pe){for(var Ae=0,he=pe.length,ge=R.length;Ae{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.mergeAll=void 0;var he=Ae(69914);var ge=Ae(60283);function mergeAll(R){if(R===void 0){R=Infinity}return he.mergeMap(ge.identity,R)}pe.mergeAll=mergeAll},48246:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.mergeInternals=void 0;var he=Ae(57105);var ge=Ae(82877);var me=Ae(69549);function mergeInternals(R,pe,Ae,ye,ve,be,Ee,Ce){var we=[];var Ie=0;var _e=0;var Be=false;var checkComplete=function(){if(Be&&!we.length&&!Ie){pe.complete()}};var outerNext=function(R){return Ie{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.mergeMap=void 0;var he=Ae(5987);var ge=Ae(57105);var me=Ae(38669);var ye=Ae(48246);var ve=Ae(67206);function mergeMap(R,pe,Ae){if(Ae===void 0){Ae=Infinity}if(ve.isFunction(pe)){return mergeMap((function(Ae,me){return he.map((function(R,he){return pe(Ae,R,me,he)}))(ge.innerFrom(R(Ae,me)))}),Ae)}else if(typeof pe==="number"){Ae=pe}return me.operate((function(pe,he){return ye.mergeInternals(pe,he,R,Ae)}))}pe.mergeMap=mergeMap},49151:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.mergeMapTo=void 0;var he=Ae(69914);var ge=Ae(67206);function mergeMapTo(R,pe,Ae){if(Ae===void 0){Ae=Infinity}if(ge.isFunction(pe)){return he.mergeMap((function(){return R}),pe,Ae)}if(typeof pe==="number"){Ae=pe}return he.mergeMap((function(){return R}),Ae)}pe.mergeMapTo=mergeMapTo},11519:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.mergeScan=void 0;var he=Ae(38669);var ge=Ae(48246);function mergeScan(R,pe,Ae){if(Ae===void 0){Ae=Infinity}return he.operate((function(he,me){var ye=pe;return ge.mergeInternals(he,me,(function(pe,Ae){return R(ye,pe,Ae)}),Ae,(function(R){ye=R}),false,undefined,(function(){return ye=null}))}))}pe.mergeScan=mergeScan},31564:function(R,pe,Ae){"use strict";var he=this&&this.__read||function(R,pe){var Ae=typeof Symbol==="function"&&R[Symbol.iterator];if(!Ae)return R;var he=Ae.call(R),ge,me=[],ye;try{while((pe===void 0||pe-- >0)&&!(ge=he.next()).done)me.push(ge.value)}catch(R){ye={error:R}}finally{try{if(ge&&!ge.done&&(Ae=he["return"]))Ae.call(he)}finally{if(ye)throw ye.error}}return me};var ge=this&&this.__spreadArray||function(R,pe){for(var Ae=0,he=pe.length,ge=R.length;Ae{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.min=void 0;var he=Ae(62087);var ge=Ae(67206);function min(R){return he.reduce(ge.isFunction(R)?function(pe,Ae){return R(pe,Ae)<0?pe:Ae}:function(R,pe){return R{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.multicast=void 0;var he=Ae(30420);var ge=Ae(67206);var me=Ae(51101);function multicast(R,pe){var Ae=ge.isFunction(R)?R:function(){return R};if(ge.isFunction(pe)){return me.connect(pe,{connector:Ae})}return function(R){return new he.ConnectableObservable(R,Ae)}}pe.multicast=multicast},22451:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.observeOn=void 0;var he=Ae(82877);var ge=Ae(38669);var me=Ae(69549);function observeOn(R,pe){if(pe===void 0){pe=0}return ge.operate((function(Ae,ge){Ae.subscribe(me.createOperatorSubscriber(ge,(function(Ae){return he.executeSchedule(ge,R,(function(){return ge.next(Ae)}),pe)}),(function(){return he.executeSchedule(ge,R,(function(){return ge.complete()}),pe)}),(function(Ae){return he.executeSchedule(ge,R,(function(){return ge.error(Ae)}),pe)})))}))}pe.observeOn=observeOn},33569:function(R,pe,Ae){"use strict";var he=this&&this.__read||function(R,pe){var Ae=typeof Symbol==="function"&&R[Symbol.iterator];if(!Ae)return R;var he=Ae.call(R),ge,me=[],ye;try{while((pe===void 0||pe-- >0)&&!(ge=he.next()).done)me.push(ge.value)}catch(R){ye={error:R}}finally{try{if(ge&&!ge.done&&(Ae=he["return"]))Ae.call(he)}finally{if(ye)throw ye.error}}return me};var ge=this&&this.__spreadArray||function(R,pe){for(var Ae=0,he=pe.length,ge=R.length;Ae{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.pairwise=void 0;var he=Ae(38669);var ge=Ae(69549);function pairwise(){return he.operate((function(R,pe){var Ae;var he=false;R.subscribe(ge.createOperatorSubscriber(pe,(function(R){var ge=Ae;Ae=R;he&&pe.next([ge,R]);he=true})))}))}pe.pairwise=pairwise},55949:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.partition=void 0;var he=Ae(54338);var ge=Ae(36894);function partition(R,pe){return function(Ae){return[ge.filter(R,pe)(Ae),ge.filter(he.not(R,pe))(Ae)]}}pe.partition=partition},16073:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.pluck=void 0;var he=Ae(5987);function pluck(){var R=[];for(var pe=0;pe{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.publish=void 0;var he=Ae(49944);var ge=Ae(65457);var me=Ae(51101);function publish(R){return R?function(pe){return me.connect(R)(pe)}:function(R){return ge.multicast(new he.Subject)(R)}}pe.publish=publish},40045:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.publishBehavior=void 0;var he=Ae(23473);var ge=Ae(30420);function publishBehavior(R){return function(pe){var Ae=new he.BehaviorSubject(R);return new ge.ConnectableObservable(pe,(function(){return Ae}))}}pe.publishBehavior=publishBehavior},84149:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.publishLast=void 0;var he=Ae(9747);var ge=Ae(30420);function publishLast(){return function(R){var pe=new he.AsyncSubject;return new ge.ConnectableObservable(R,(function(){return pe}))}}pe.publishLast=publishLast},47656:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.publishReplay=void 0;var he=Ae(22351);var ge=Ae(65457);var me=Ae(67206);function publishReplay(R,pe,Ae,ye){if(Ae&&!me.isFunction(Ae)){ye=Ae}var ve=me.isFunction(Ae)?Ae:undefined;return function(Ae){return ge.multicast(new he.ReplaySubject(R,pe,ye),ve)(Ae)}}pe.publishReplay=publishReplay},85846:function(R,pe,Ae){"use strict";var he=this&&this.__read||function(R,pe){var Ae=typeof Symbol==="function"&&R[Symbol.iterator];if(!Ae)return R;var he=Ae.call(R),ge,me=[],ye;try{while((pe===void 0||pe-- >0)&&!(ge=he.next()).done)me.push(ge.value)}catch(R){ye={error:R}}finally{try{if(ge&&!ge.done&&(Ae=he["return"]))Ae.call(he)}finally{if(ye)throw ye.error}}return me};var ge=this&&this.__spreadArray||function(R,pe){for(var Ae=0,he=pe.length,ge=R.length;Ae0)&&!(ge=he.next()).done)me.push(ge.value)}catch(R){ye={error:R}}finally{try{if(ge&&!ge.done&&(Ae=he["return"]))Ae.call(he)}finally{if(ye)throw ye.error}}return me};var ge=this&&this.__spreadArray||function(R,pe){for(var Ae=0,he=pe.length,ge=R.length;Ae{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.reduce=void 0;var he=Ae(20998);var ge=Ae(38669);function reduce(R,pe){return ge.operate(he.scanInternals(R,pe,arguments.length>=2,false,true))}pe.reduce=reduce},2331:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.refCount=void 0;var he=Ae(38669);var ge=Ae(69549);function refCount(){return he.operate((function(R,pe){var Ae=null;R._refCount++;var he=ge.createOperatorSubscriber(pe,undefined,undefined,undefined,(function(){if(!R||R._refCount<=0||0<--R._refCount){Ae=null;return}var he=R._connection;var ge=Ae;Ae=null;if(he&&(!ge||he===ge)){he.unsubscribe()}pe.unsubscribe()}));R.subscribe(he);if(!he.closed){Ae=R.connect()}}))}pe.refCount=refCount},22418:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.repeat=void 0;var he=Ae(70437);var ge=Ae(38669);var me=Ae(69549);var ye=Ae(57105);var ve=Ae(59757);function repeat(R){var pe;var Ae=Infinity;var be;if(R!=null){if(typeof R==="object"){pe=R.count,Ae=pe===void 0?Infinity:pe,be=R.delay}else{Ae=R}}return Ae<=0?function(){return he.EMPTY}:ge.operate((function(R,pe){var he=0;var ge;var resubscribe=function(){ge===null||ge===void 0?void 0:ge.unsubscribe();ge=null;if(be!=null){var R=typeof be==="number"?ve.timer(be):ye.innerFrom(be(he));var Ae=me.createOperatorSubscriber(pe,(function(){Ae.unsubscribe();subscribeToSource()}));R.subscribe(Ae)}else{subscribeToSource()}};var subscribeToSource=function(){var ye=false;ge=R.subscribe(me.createOperatorSubscriber(pe,undefined,(function(){if(++he{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.repeatWhen=void 0;var he=Ae(57105);var ge=Ae(49944);var me=Ae(38669);var ye=Ae(69549);function repeatWhen(R){return me.operate((function(pe,Ae){var me;var ve=false;var be;var Ee=false;var Ce=false;var checkComplete=function(){return Ce&&Ee&&(Ae.complete(),true)};var getCompletionSubject=function(){if(!be){be=new ge.Subject;he.innerFrom(R(be)).subscribe(ye.createOperatorSubscriber(Ae,(function(){if(me){subscribeForRepeatWhen()}else{ve=true}}),(function(){Ee=true;checkComplete()})))}return be};var subscribeForRepeatWhen=function(){Ce=false;me=pe.subscribe(ye.createOperatorSubscriber(Ae,undefined,(function(){Ce=true;!checkComplete()&&getCompletionSubject().next()})));if(ve){me.unsubscribe();me=null;ve=false;subscribeForRepeatWhen()}};subscribeForRepeatWhen()}))}pe.repeatWhen=repeatWhen},56251:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.retry=void 0;var he=Ae(38669);var ge=Ae(69549);var me=Ae(60283);var ye=Ae(59757);var ve=Ae(57105);function retry(R){if(R===void 0){R=Infinity}var pe;if(R&&typeof R==="object"){pe=R}else{pe={count:R}}var Ae=pe.count,be=Ae===void 0?Infinity:Ae,Ee=pe.delay,Ce=pe.resetOnSuccess,we=Ce===void 0?false:Ce;return be<=0?me.identity:he.operate((function(R,pe){var Ae=0;var he;var subscribeForRetry=function(){var me=false;he=R.subscribe(ge.createOperatorSubscriber(pe,(function(R){if(we){Ae=0}pe.next(R)}),undefined,(function(R){if(Ae++{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.retryWhen=void 0;var he=Ae(57105);var ge=Ae(49944);var me=Ae(38669);var ye=Ae(69549);function retryWhen(R){return me.operate((function(pe,Ae){var me;var ve=false;var be;var subscribeForRetryWhen=function(){me=pe.subscribe(ye.createOperatorSubscriber(Ae,undefined,undefined,(function(pe){if(!be){be=new ge.Subject;he.innerFrom(R(be)).subscribe(ye.createOperatorSubscriber(Ae,(function(){return me?subscribeForRetryWhen():ve=true})))}if(be){be.next(pe)}})));if(ve){me.unsubscribe();me=null;ve=false;subscribeForRetryWhen()}};subscribeForRetryWhen()}))}pe.retryWhen=retryWhen},13774:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.sample=void 0;var he=Ae(57105);var ge=Ae(38669);var me=Ae(11642);var ye=Ae(69549);function sample(R){return ge.operate((function(pe,Ae){var ge=false;var ve=null;pe.subscribe(ye.createOperatorSubscriber(Ae,(function(R){ge=true;ve=R})));he.innerFrom(R).subscribe(ye.createOperatorSubscriber(Ae,(function(){if(ge){ge=false;var R=ve;ve=null;Ae.next(R)}}),me.noop))}))}pe.sample=sample},49807:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.sampleTime=void 0;var he=Ae(76072);var ge=Ae(13774);var me=Ae(20029);function sampleTime(R,pe){if(pe===void 0){pe=he.asyncScheduler}return ge.sample(me.interval(R,pe))}pe.sampleTime=sampleTime},25578:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.scan=void 0;var he=Ae(38669);var ge=Ae(20998);function scan(R,pe){return he.operate(ge.scanInternals(R,pe,arguments.length>=2,true))}pe.scan=scan},20998:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.scanInternals=void 0;var he=Ae(69549);function scanInternals(R,pe,Ae,ge,me){return function(ye,ve){var be=Ae;var Ee=pe;var Ce=0;ye.subscribe(he.createOperatorSubscriber(ve,(function(pe){var Ae=Ce++;Ee=be?R(Ee,pe,Ae):(be=true,pe);ge&&ve.next(Ee)}),me&&function(){be&&ve.next(Ee);ve.complete()}))}}pe.scanInternals=scanInternals},16126:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.sequenceEqual=void 0;var he=Ae(38669);var ge=Ae(69549);var me=Ae(57105);function sequenceEqual(R,pe){if(pe===void 0){pe=function(R,pe){return R===pe}}return he.operate((function(Ae,he){var ye=createState();var ve=createState();var emit=function(R){he.next(R);he.complete()};var createSubscriber=function(R,Ae){var me=ge.createOperatorSubscriber(he,(function(he){var ge=Ae.buffer,me=Ae.complete;if(ge.length===0){me?emit(false):R.buffer.push(he)}else{!pe(he,ge.shift())&&emit(false)}}),(function(){R.complete=true;var pe=Ae.complete,he=Ae.buffer;pe&&emit(he.length===0);me===null||me===void 0?void 0:me.unsubscribe()}));return me};Ae.subscribe(createSubscriber(ye,ve));me.innerFrom(R).subscribe(createSubscriber(ve,ye))}))}pe.sequenceEqual=sequenceEqual;function createState(){return{buffer:[],complete:false}}},48960:function(R,pe,Ae){"use strict";var he=this&&this.__read||function(R,pe){var Ae=typeof Symbol==="function"&&R[Symbol.iterator];if(!Ae)return R;var he=Ae.call(R),ge,me=[],ye;try{while((pe===void 0||pe-- >0)&&!(ge=he.next()).done)me.push(ge.value)}catch(R){ye={error:R}}finally{try{if(ge&&!ge.done&&(Ae=he["return"]))Ae.call(he)}finally{if(ye)throw ye.error}}return me};var ge=this&&this.__spreadArray||function(R,pe){for(var Ae=0,he=pe.length,ge=R.length;Ae0){pe=new ve.SafeSubscriber({next:function(R){return Be.next(R)},error:function(R){_e=true;cancelReset();he=handleReset(reset,ge,R);Be.error(R)},complete:function(){we=true;cancelReset();he=handleReset(reset,Ce);Be.complete()}});me.innerFrom(R).subscribe(pe)}}))(R)}}pe.share=share;function handleReset(R,pe){var Ae=[];for(var ye=2;ye{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.shareReplay=void 0;var he=Ae(22351);var ge=Ae(48960);function shareReplay(R,pe,Ae){var me,ye,ve;var be;var Ee=false;if(R&&typeof R==="object"){me=R.bufferSize,be=me===void 0?Infinity:me,ye=R.windowTime,pe=ye===void 0?Infinity:ye,ve=R.refCount,Ee=ve===void 0?false:ve,Ae=R.scheduler}else{be=R!==null&&R!==void 0?R:Infinity}return ge.share({connector:function(){return new he.ReplaySubject(be,pe,Ae)},resetOnError:true,resetOnComplete:false,resetOnRefCountZero:Ee})}pe.shareReplay=shareReplay},58441:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.single=void 0;var he=Ae(99391);var ge=Ae(49048);var me=Ae(74431);var ye=Ae(38669);var ve=Ae(69549);function single(R){return ye.operate((function(pe,Ae){var ye=false;var be;var Ee=false;var Ce=0;pe.subscribe(ve.createOperatorSubscriber(Ae,(function(he){Ee=true;if(!R||R(he,Ce++,pe)){ye&&Ae.error(new ge.SequenceError("Too many matching values"));ye=true;be=he}}),(function(){if(ye){Ae.next(be);Ae.complete()}else{Ae.error(Ee?new me.NotFoundError("No matching values"):new he.EmptyError)}})))}))}pe.single=single},80947:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.skip=void 0;var he=Ae(36894);function skip(R){return he.filter((function(pe,Ae){return R<=Ae}))}pe.skip=skip},65865:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.skipLast=void 0;var he=Ae(60283);var ge=Ae(38669);var me=Ae(69549);function skipLast(R){return R<=0?he.identity:ge.operate((function(pe,Ae){var he=new Array(R);var ge=0;pe.subscribe(me.createOperatorSubscriber(Ae,(function(pe){var me=ge++;if(me{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.skipUntil=void 0;var he=Ae(38669);var ge=Ae(69549);var me=Ae(57105);var ye=Ae(11642);function skipUntil(R){return he.operate((function(pe,Ae){var he=false;var ve=ge.createOperatorSubscriber(Ae,(function(){ve===null||ve===void 0?void 0:ve.unsubscribe();he=true}),ye.noop);me.innerFrom(R).subscribe(ve);pe.subscribe(ge.createOperatorSubscriber(Ae,(function(R){return he&&Ae.next(R)})))}))}pe.skipUntil=skipUntil},92550:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.skipWhile=void 0;var he=Ae(38669);var ge=Ae(69549);function skipWhile(R){return he.operate((function(pe,Ae){var he=false;var me=0;pe.subscribe(ge.createOperatorSubscriber(Ae,(function(pe){return(he||(he=!R(pe,me++)))&&Ae.next(pe)})))}))}pe.skipWhile=skipWhile},25471:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.startWith=void 0;var he=Ae(4675);var ge=Ae(34890);var me=Ae(38669);function startWith(){var R=[];for(var pe=0;pe{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.subscribeOn=void 0;var he=Ae(38669);function subscribeOn(R,pe){if(pe===void 0){pe=0}return he.operate((function(Ae,he){he.add(R.schedule((function(){return Ae.subscribe(he)}),pe))}))}pe.subscribeOn=subscribeOn},40327:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.switchAll=void 0;var he=Ae(26704);var ge=Ae(60283);function switchAll(){return he.switchMap(ge.identity)}pe.switchAll=switchAll},26704:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.switchMap=void 0;var he=Ae(57105);var ge=Ae(38669);var me=Ae(69549);function switchMap(R,pe){return ge.operate((function(Ae,ge){var ye=null;var ve=0;var be=false;var checkComplete=function(){return be&&!ye&&ge.complete()};Ae.subscribe(me.createOperatorSubscriber(ge,(function(Ae){ye===null||ye===void 0?void 0:ye.unsubscribe();var be=0;var Ee=ve++;he.innerFrom(R(Ae,Ee)).subscribe(ye=me.createOperatorSubscriber(ge,(function(R){return ge.next(pe?pe(Ae,R,Ee,be++):R)}),(function(){ye=null;checkComplete()})))}),(function(){be=true;checkComplete()})))}))}pe.switchMap=switchMap},1713:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.switchMapTo=void 0;var he=Ae(26704);var ge=Ae(67206);function switchMapTo(R,pe){return ge.isFunction(pe)?he.switchMap((function(){return R}),pe):he.switchMap((function(){return R}))}pe.switchMapTo=switchMapTo},13355:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.switchScan=void 0;var he=Ae(26704);var ge=Ae(38669);function switchScan(R,pe){return ge.operate((function(Ae,ge){var me=pe;he.switchMap((function(pe,Ae){return R(me,pe,Ae)}),(function(R,pe){return me=pe,pe}))(Ae).subscribe(ge);return function(){me=null}}))}pe.switchScan=switchScan},33698:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.take=void 0;var he=Ae(70437);var ge=Ae(38669);var me=Ae(69549);function take(R){return R<=0?function(){return he.EMPTY}:ge.operate((function(pe,Ae){var he=0;pe.subscribe(me.createOperatorSubscriber(Ae,(function(pe){if(++he<=R){Ae.next(pe);if(R<=he){Ae.complete()}}})))}))}pe.take=take},65041:function(R,pe,Ae){"use strict";var he=this&&this.__values||function(R){var pe=typeof Symbol==="function"&&Symbol.iterator,Ae=pe&&R[pe],he=0;if(Ae)return Ae.call(R);if(R&&typeof R.length==="number")return{next:function(){if(R&&he>=R.length)R=void 0;return{value:R&&R[he++],done:!R}}};throw new TypeError(pe?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(pe,"__esModule",{value:true});pe.takeLast=void 0;var ge=Ae(70437);var me=Ae(38669);var ye=Ae(69549);function takeLast(R){return R<=0?function(){return ge.EMPTY}:me.operate((function(pe,Ae){var ge=[];pe.subscribe(ye.createOperatorSubscriber(Ae,(function(pe){ge.push(pe);R{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.takeUntil=void 0;var he=Ae(38669);var ge=Ae(69549);var me=Ae(57105);var ye=Ae(11642);function takeUntil(R){return he.operate((function(pe,Ae){me.innerFrom(R).subscribe(ge.createOperatorSubscriber(Ae,(function(){return Ae.complete()}),ye.noop));!Ae.closed&&pe.subscribe(Ae)}))}pe.takeUntil=takeUntil},76700:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.takeWhile=void 0;var he=Ae(38669);var ge=Ae(69549);function takeWhile(R,pe){if(pe===void 0){pe=false}return he.operate((function(Ae,he){var me=0;Ae.subscribe(ge.createOperatorSubscriber(he,(function(Ae){var ge=R(Ae,me++);(ge||pe)&&he.next(Ae);!ge&&he.complete()})))}))}pe.takeWhile=takeWhile},48845:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.tap=void 0;var he=Ae(67206);var ge=Ae(38669);var me=Ae(69549);var ye=Ae(60283);function tap(R,pe,Ae){var ve=he.isFunction(R)||pe||Ae?{next:R,error:pe,complete:Ae}:R;return ve?ge.operate((function(R,pe){var Ae;(Ae=ve.subscribe)===null||Ae===void 0?void 0:Ae.call(ve);var he=true;R.subscribe(me.createOperatorSubscriber(pe,(function(R){var Ae;(Ae=ve.next)===null||Ae===void 0?void 0:Ae.call(ve,R);pe.next(R)}),(function(){var R;he=false;(R=ve.complete)===null||R===void 0?void 0:R.call(ve);pe.complete()}),(function(R){var Ae;he=false;(Ae=ve.error)===null||Ae===void 0?void 0:Ae.call(ve,R);pe.error(R)}),(function(){var R,pe;if(he){(R=ve.unsubscribe)===null||R===void 0?void 0:R.call(ve)}(pe=ve.finalize)===null||pe===void 0?void 0:pe.call(ve)})))})):ye.identity}pe.tap=tap},36713:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.throttle=void 0;var he=Ae(38669);var ge=Ae(69549);var me=Ae(57105);function throttle(R,pe){return he.operate((function(Ae,he){var ye=pe!==null&&pe!==void 0?pe:{},ve=ye.leading,be=ve===void 0?true:ve,Ee=ye.trailing,Ce=Ee===void 0?false:Ee;var we=false;var Ie=null;var _e=null;var Be=false;var endThrottling=function(){_e===null||_e===void 0?void 0:_e.unsubscribe();_e=null;if(Ce){send();Be&&he.complete()}};var cleanupThrottling=function(){_e=null;Be&&he.complete()};var startThrottle=function(pe){return _e=me.innerFrom(R(pe)).subscribe(ge.createOperatorSubscriber(he,endThrottling,cleanupThrottling))};var send=function(){if(we){we=false;var R=Ie;Ie=null;he.next(R);!Be&&startThrottle(R)}};Ae.subscribe(ge.createOperatorSubscriber(he,(function(R){we=true;Ie=R;!(_e&&!_e.closed)&&(be?send():startThrottle(R))}),(function(){Be=true;!(Ce&&we&&_e&&!_e.closed)&&he.complete()})))}))}pe.throttle=throttle},83435:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.throttleTime=void 0;var he=Ae(76072);var ge=Ae(36713);var me=Ae(59757);function throttleTime(R,pe,Ae){if(pe===void 0){pe=he.asyncScheduler}var ye=me.timer(R,pe);return ge.throttle((function(){return ye}),Ae)}pe.throttleTime=throttleTime},91566:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.throwIfEmpty=void 0;var he=Ae(99391);var ge=Ae(38669);var me=Ae(69549);function throwIfEmpty(R){if(R===void 0){R=defaultErrorFactory}return ge.operate((function(pe,Ae){var he=false;pe.subscribe(me.createOperatorSubscriber(Ae,(function(R){he=true;Ae.next(R)}),(function(){return he?Ae.complete():Ae.error(R())})))}))}pe.throwIfEmpty=throwIfEmpty;function defaultErrorFactory(){return new he.EmptyError}},14643:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.TimeInterval=pe.timeInterval=void 0;var he=Ae(76072);var ge=Ae(38669);var me=Ae(69549);function timeInterval(R){if(R===void 0){R=he.asyncScheduler}return ge.operate((function(pe,Ae){var he=R.now();pe.subscribe(me.createOperatorSubscriber(Ae,(function(pe){var ge=R.now();var me=ge-he;he=ge;Ae.next(new ye(pe,me))})))}))}pe.timeInterval=timeInterval;var ye=function(){function TimeInterval(R,pe){this.value=R;this.interval=pe}return TimeInterval}();pe.TimeInterval=ye},12051:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.timeout=pe.TimeoutError=void 0;var he=Ae(76072);var ge=Ae(60935);var me=Ae(38669);var ye=Ae(57105);var ve=Ae(8858);var be=Ae(69549);var Ee=Ae(82877);pe.TimeoutError=ve.createErrorClass((function(R){return function TimeoutErrorImpl(pe){if(pe===void 0){pe=null}R(this);this.message="Timeout has occurred";this.name="TimeoutError";this.info=pe}}));function timeout(R,pe){var Ae=ge.isValidDate(R)?{first:R}:typeof R==="number"?{each:R}:R,ve=Ae.first,Ce=Ae.each,we=Ae.with,Ie=we===void 0?timeoutErrorFactory:we,_e=Ae.scheduler,Be=_e===void 0?pe!==null&&pe!==void 0?pe:he.asyncScheduler:_e,Se=Ae.meta,Qe=Se===void 0?null:Se;if(ve==null&&Ce==null){throw new TypeError("No timeout provided.")}return me.operate((function(R,pe){var Ae;var he;var ge=null;var me=0;var startTimer=function(R){he=Ee.executeSchedule(pe,Be,(function(){try{Ae.unsubscribe();ye.innerFrom(Ie({meta:Qe,lastValue:ge,seen:me})).subscribe(pe)}catch(R){pe.error(R)}}),R)};Ae=R.subscribe(be.createOperatorSubscriber(pe,(function(R){he===null||he===void 0?void 0:he.unsubscribe();me++;pe.next(ge=R);Ce>0&&startTimer(Ce)}),undefined,undefined,(function(){if(!(he===null||he===void 0?void 0:he.closed)){he===null||he===void 0?void 0:he.unsubscribe()}ge=null})));!me&&startTimer(ve!=null?typeof ve==="number"?ve:+ve-Be.now():Ce)}))}pe.timeout=timeout;function timeoutErrorFactory(R){throw new pe.TimeoutError(R)}},43540:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.timeoutWith=void 0;var he=Ae(76072);var ge=Ae(60935);var me=Ae(12051);function timeoutWith(R,pe,Ae){var ye;var ve;var be;Ae=Ae!==null&&Ae!==void 0?Ae:he.async;if(ge.isValidDate(R)){ye=R}else if(typeof R==="number"){ve=R}if(pe){be=function(){return pe}}else{throw new TypeError("No observable provided to switch to")}if(ye==null&&ve==null){throw new TypeError("No timeout provided.")}return me.timeout({first:ye,each:ve,scheduler:Ae,with:be})}pe.timeoutWith=timeoutWith},75518:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.timestamp=void 0;var he=Ae(91395);var ge=Ae(5987);function timestamp(R){if(R===void 0){R=he.dateTimestampProvider}return ge.map((function(pe){return{value:pe,timestamp:R.now()}}))}pe.timestamp=timestamp},35114:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.toArray=void 0;var he=Ae(62087);var ge=Ae(38669);var arrReducer=function(R,pe){return R.push(pe),R};function toArray(){return ge.operate((function(R,pe){he.reduce(arrReducer,[])(R).subscribe(pe)}))}pe.toArray=toArray},98255:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.window=void 0;var he=Ae(49944);var ge=Ae(38669);var me=Ae(69549);var ye=Ae(11642);var ve=Ae(57105);function window(R){return ge.operate((function(pe,Ae){var ge=new he.Subject;Ae.next(ge.asObservable());var errorHandler=function(R){ge.error(R);Ae.error(R)};pe.subscribe(me.createOperatorSubscriber(Ae,(function(R){return ge===null||ge===void 0?void 0:ge.next(R)}),(function(){ge.complete();Ae.complete()}),errorHandler));ve.innerFrom(R).subscribe(me.createOperatorSubscriber(Ae,(function(){ge.complete();Ae.next(ge=new he.Subject)}),ye.noop,errorHandler));return function(){ge===null||ge===void 0?void 0:ge.unsubscribe();ge=null}}))}pe.window=window},73144:function(R,pe,Ae){"use strict";var he=this&&this.__values||function(R){var pe=typeof Symbol==="function"&&Symbol.iterator,Ae=pe&&R[pe],he=0;if(Ae)return Ae.call(R);if(R&&typeof R.length==="number")return{next:function(){if(R&&he>=R.length)R=void 0;return{value:R&&R[he++],done:!R}}};throw new TypeError(pe?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(pe,"__esModule",{value:true});pe.windowCount=void 0;var ge=Ae(49944);var me=Ae(38669);var ye=Ae(69549);function windowCount(R,pe){if(pe===void 0){pe=0}var Ae=pe>0?pe:R;return me.operate((function(pe,me){var ve=[new ge.Subject];var be=[];var Ee=0;me.next(ve[0].asObservable());pe.subscribe(ye.createOperatorSubscriber(me,(function(pe){var ye,be;try{for(var Ce=he(ve),we=Ce.next();!we.done;we=Ce.next()){var Ie=we.value;Ie.next(pe)}}catch(R){ye={error:R}}finally{try{if(we&&!we.done&&(be=Ce.return))be.call(Ce)}finally{if(ye)throw ye.error}}var _e=Ee-R+1;if(_e>=0&&_e%Ae===0){ve.shift().complete()}if(++Ee%Ae===0){var Be=new ge.Subject;ve.push(Be);me.next(Be.asObservable())}}),(function(){while(ve.length>0){ve.shift().complete()}me.complete()}),(function(R){while(ve.length>0){ve.shift().error(R)}me.error(R)}),(function(){be=null;ve=null})))}))}pe.windowCount=windowCount},2738:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.windowTime=void 0;var he=Ae(49944);var ge=Ae(76072);var me=Ae(79548);var ye=Ae(38669);var ve=Ae(69549);var be=Ae(68499);var Ee=Ae(34890);var Ce=Ae(82877);function windowTime(R){var pe,Ae;var we=[];for(var Ie=1;Ie=0){Ce.executeSchedule(Ae,_e,startWindow,Be,true)}else{ye=true}startWindow();var loop=function(R){return ge.slice().forEach(R)};var terminate=function(R){loop((function(pe){var Ae=pe.window;return R(Ae)}));R(Ae);Ae.unsubscribe()};pe.subscribe(ve.createOperatorSubscriber(Ae,(function(R){loop((function(pe){pe.window.next(R);Se<=++pe.seen&&closeWindow(pe)}))}),(function(){return terminate((function(R){return R.complete()}))}),(function(R){return terminate((function(pe){return pe.error(R)}))})));return function(){ge=null}}))}pe.windowTime=windowTime},52741:function(R,pe,Ae){"use strict";var he=this&&this.__values||function(R){var pe=typeof Symbol==="function"&&Symbol.iterator,Ae=pe&&R[pe],he=0;if(Ae)return Ae.call(R);if(R&&typeof R.length==="number")return{next:function(){if(R&&he>=R.length)R=void 0;return{value:R&&R[he++],done:!R}}};throw new TypeError(pe?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(pe,"__esModule",{value:true});pe.windowToggle=void 0;var ge=Ae(49944);var me=Ae(79548);var ye=Ae(38669);var ve=Ae(57105);var be=Ae(69549);var Ee=Ae(11642);var Ce=Ae(68499);function windowToggle(R,pe){return ye.operate((function(Ae,ye){var we=[];var handleError=function(R){while(0{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.windowWhen=void 0;var he=Ae(49944);var ge=Ae(38669);var me=Ae(69549);var ye=Ae(57105);function windowWhen(R){return ge.operate((function(pe,Ae){var ge;var ve;var handleError=function(R){ge.error(R);Ae.error(R)};var openWindow=function(){ve===null||ve===void 0?void 0:ve.unsubscribe();ge===null||ge===void 0?void 0:ge.complete();ge=new he.Subject;Ae.next(ge.asObservable());var pe;try{pe=ye.innerFrom(R())}catch(R){handleError(R);return}pe.subscribe(ve=me.createOperatorSubscriber(Ae,openWindow,openWindow,handleError))};openWindow();pe.subscribe(me.createOperatorSubscriber(Ae,(function(R){return ge.next(R)}),(function(){ge.complete();Ae.complete()}),handleError,(function(){ve===null||ve===void 0?void 0:ve.unsubscribe();ge=null})))}))}pe.windowWhen=windowWhen},20501:function(R,pe,Ae){"use strict";var he=this&&this.__read||function(R,pe){var Ae=typeof Symbol==="function"&&R[Symbol.iterator];if(!Ae)return R;var he=Ae.call(R),ge,me=[],ye;try{while((pe===void 0||pe-- >0)&&!(ge=he.next()).done)me.push(ge.value)}catch(R){ye={error:R}}finally{try{if(ge&&!ge.done&&(Ae=he["return"]))Ae.call(he)}finally{if(ye)throw ye.error}}return me};var ge=this&&this.__spreadArray||function(R,pe){for(var Ae=0,he=pe.length,ge=R.length;Ae0)&&!(ge=he.next()).done)me.push(ge.value)}catch(R){ye={error:R}}finally{try{if(ge&&!ge.done&&(Ae=he["return"]))Ae.call(he)}finally{if(ye)throw ye.error}}return me};var ge=this&&this.__spreadArray||function(R,pe){for(var Ae=0,he=pe.length,ge=R.length;Ae{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.zipAll=void 0;var he=Ae(62504);var ge=Ae(29341);function zipAll(R){return ge.joinAllInternals(he.zip,R)}pe.zipAll=zipAll},95520:function(R,pe,Ae){"use strict";var he=this&&this.__read||function(R,pe){var Ae=typeof Symbol==="function"&&R[Symbol.iterator];if(!Ae)return R;var he=Ae.call(R),ge,me=[],ye;try{while((pe===void 0||pe-- >0)&&!(ge=he.next()).done)me.push(ge.value)}catch(R){ye={error:R}}finally{try{if(ge&&!ge.done&&(Ae=he["return"]))Ae.call(he)}finally{if(ye)throw ye.error}}return me};var ge=this&&this.__spreadArray||function(R,pe){for(var Ae=0,he=pe.length,ge=R.length;Ae{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.scheduleArray=void 0;var he=Ae(53014);function scheduleArray(R,pe){return new he.Observable((function(Ae){var he=0;return pe.schedule((function(){if(he===R.length){Ae.complete()}else{Ae.next(R[he++]);if(!Ae.closed){this.schedule()}}}))}))}pe.scheduleArray=scheduleArray},75347:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.scheduleAsyncIterable=void 0;var he=Ae(53014);var ge=Ae(82877);function scheduleAsyncIterable(R,pe){if(!R){throw new Error("Iterable cannot be null")}return new he.Observable((function(Ae){ge.executeSchedule(Ae,pe,(function(){var he=R[Symbol.asyncIterator]();ge.executeSchedule(Ae,pe,(function(){he.next().then((function(R){if(R.done){Ae.complete()}else{Ae.next(R.value)}}))}),0,true)}))}))}pe.scheduleAsyncIterable=scheduleAsyncIterable},59461:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.scheduleIterable=void 0;var he=Ae(53014);var ge=Ae(85517);var me=Ae(67206);var ye=Ae(82877);function scheduleIterable(R,pe){return new he.Observable((function(Ae){var he;ye.executeSchedule(Ae,pe,(function(){he=R[ge.iterator]();ye.executeSchedule(Ae,pe,(function(){var R;var pe;var ge;try{R=he.next(),pe=R.value,ge=R.done}catch(R){Ae.error(R);return}if(ge){Ae.complete()}else{Ae.next(pe)}}),0,true)}));return function(){return me.isFunction(he===null||he===void 0?void 0:he.return)&&he.return()}}))}pe.scheduleIterable=scheduleIterable},17096:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.scheduleObservable=void 0;var he=Ae(57105);var ge=Ae(22451);var me=Ae(7224);function scheduleObservable(R,pe){return he.innerFrom(R).pipe(me.subscribeOn(pe),ge.observeOn(pe))}pe.scheduleObservable=scheduleObservable},24087:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.schedulePromise=void 0;var he=Ae(57105);var ge=Ae(22451);var me=Ae(7224);function schedulePromise(R,pe){return he.innerFrom(R).pipe(me.subscribeOn(pe),ge.observeOn(pe))}pe.schedulePromise=schedulePromise},5967:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.scheduleReadableStreamLike=void 0;var he=Ae(75347);var ge=Ae(99621);function scheduleReadableStreamLike(R,pe){return he.scheduleAsyncIterable(ge.readableStreamLikeToAsyncGenerator(R),pe)}pe.scheduleReadableStreamLike=scheduleReadableStreamLike},6151:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.scheduled=void 0;var he=Ae(17096);var ge=Ae(24087);var me=Ae(11348);var ye=Ae(59461);var ve=Ae(75347);var be=Ae(67984);var Ee=Ae(65585);var Ce=Ae(24461);var we=Ae(94292);var Ie=Ae(44408);var _e=Ae(97364);var Be=Ae(99621);var Se=Ae(5967);function scheduled(R,pe){if(R!=null){if(be.isInteropObservable(R)){return he.scheduleObservable(R,pe)}if(Ce.isArrayLike(R)){return me.scheduleArray(R,pe)}if(Ee.isPromise(R)){return ge.schedulePromise(R,pe)}if(Ie.isAsyncIterable(R)){return ve.scheduleAsyncIterable(R,pe)}if(we.isIterable(R)){return ye.scheduleIterable(R,pe)}if(Be.isReadableStreamLike(R)){return Se.scheduleReadableStreamLike(R,pe)}}throw _e.createInvalidObservableTypeError(R)}pe.scheduled=scheduled},83848:function(R,pe,Ae){"use strict";var he=this&&this.__extends||function(){var extendStatics=function(R,pe){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(R,pe){R.__proto__=pe}||function(R,pe){for(var Ae in pe)if(Object.prototype.hasOwnProperty.call(pe,Ae))R[Ae]=pe[Ae]};return extendStatics(R,pe)};return function(R,pe){if(typeof pe!=="function"&&pe!==null)throw new TypeError("Class extends value "+String(pe)+" is not a constructor or null");extendStatics(R,pe);function __(){this.constructor=R}R.prototype=pe===null?Object.create(pe):(__.prototype=pe.prototype,new __)}}();Object.defineProperty(pe,"__esModule",{value:true});pe.Action=void 0;var ge=Ae(79548);var me=function(R){he(Action,R);function Action(pe,Ae){return R.call(this)||this}Action.prototype.schedule=function(R,pe){if(pe===void 0){pe=0}return this};return Action}(ge.Subscription);pe.Action=me},95991:function(R,pe,Ae){"use strict";var he=this&&this.__extends||function(){var extendStatics=function(R,pe){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(R,pe){R.__proto__=pe}||function(R,pe){for(var Ae in pe)if(Object.prototype.hasOwnProperty.call(pe,Ae))R[Ae]=pe[Ae]};return extendStatics(R,pe)};return function(R,pe){if(typeof pe!=="function"&&pe!==null)throw new TypeError("Class extends value "+String(pe)+" is not a constructor or null");extendStatics(R,pe);function __(){this.constructor=R}R.prototype=pe===null?Object.create(pe):(__.prototype=pe.prototype,new __)}}();Object.defineProperty(pe,"__esModule",{value:true});pe.AnimationFrameAction=void 0;var ge=Ae(13280);var me=Ae(62738);var ye=function(R){he(AnimationFrameAction,R);function AnimationFrameAction(pe,Ae){var he=R.call(this,pe,Ae)||this;he.scheduler=pe;he.work=Ae;return he}AnimationFrameAction.prototype.requestAsyncId=function(pe,Ae,he){if(he===void 0){he=0}if(he!==null&&he>0){return R.prototype.requestAsyncId.call(this,pe,Ae,he)}pe.actions.push(this);return pe._scheduled||(pe._scheduled=me.animationFrameProvider.requestAnimationFrame((function(){return pe.flush(undefined)})))};AnimationFrameAction.prototype.recycleAsyncId=function(pe,Ae,he){var ge;if(he===void 0){he=0}if(he!=null?he>0:this.delay>0){return R.prototype.recycleAsyncId.call(this,pe,Ae,he)}var ye=pe.actions;if(Ae!=null&&((ge=ye[ye.length-1])===null||ge===void 0?void 0:ge.id)!==Ae){me.animationFrameProvider.cancelAnimationFrame(Ae);pe._scheduled=undefined}return undefined};return AnimationFrameAction}(ge.AsyncAction);pe.AnimationFrameAction=ye},98768:function(R,pe,Ae){"use strict";var he=this&&this.__extends||function(){var extendStatics=function(R,pe){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(R,pe){R.__proto__=pe}||function(R,pe){for(var Ae in pe)if(Object.prototype.hasOwnProperty.call(pe,Ae))R[Ae]=pe[Ae]};return extendStatics(R,pe)};return function(R,pe){if(typeof pe!=="function"&&pe!==null)throw new TypeError("Class extends value "+String(pe)+" is not a constructor or null");extendStatics(R,pe);function __(){this.constructor=R}R.prototype=pe===null?Object.create(pe):(__.prototype=pe.prototype,new __)}}();Object.defineProperty(pe,"__esModule",{value:true});pe.AnimationFrameScheduler=void 0;var ge=Ae(61673);var me=function(R){he(AnimationFrameScheduler,R);function AnimationFrameScheduler(){return R!==null&&R.apply(this,arguments)||this}AnimationFrameScheduler.prototype.flush=function(R){this._active=true;var pe=this._scheduled;this._scheduled=undefined;var Ae=this.actions;var he;R=R||Ae.shift();do{if(he=R.execute(R.state,R.delay)){break}}while((R=Ae[0])&&R.id===pe&&Ae.shift());this._active=false;if(he){while((R=Ae[0])&&R.id===pe&&Ae.shift()){R.unsubscribe()}throw he}};return AnimationFrameScheduler}(ge.AsyncScheduler);pe.AnimationFrameScheduler=me},12424:function(R,pe,Ae){"use strict";var he=this&&this.__extends||function(){var extendStatics=function(R,pe){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(R,pe){R.__proto__=pe}||function(R,pe){for(var Ae in pe)if(Object.prototype.hasOwnProperty.call(pe,Ae))R[Ae]=pe[Ae]};return extendStatics(R,pe)};return function(R,pe){if(typeof pe!=="function"&&pe!==null)throw new TypeError("Class extends value "+String(pe)+" is not a constructor or null");extendStatics(R,pe);function __(){this.constructor=R}R.prototype=pe===null?Object.create(pe):(__.prototype=pe.prototype,new __)}}();Object.defineProperty(pe,"__esModule",{value:true});pe.AsapAction=void 0;var ge=Ae(13280);var me=Ae(63475);var ye=function(R){he(AsapAction,R);function AsapAction(pe,Ae){var he=R.call(this,pe,Ae)||this;he.scheduler=pe;he.work=Ae;return he}AsapAction.prototype.requestAsyncId=function(pe,Ae,he){if(he===void 0){he=0}if(he!==null&&he>0){return R.prototype.requestAsyncId.call(this,pe,Ae,he)}pe.actions.push(this);return pe._scheduled||(pe._scheduled=me.immediateProvider.setImmediate(pe.flush.bind(pe,undefined)))};AsapAction.prototype.recycleAsyncId=function(pe,Ae,he){var ge;if(he===void 0){he=0}if(he!=null?he>0:this.delay>0){return R.prototype.recycleAsyncId.call(this,pe,Ae,he)}var ye=pe.actions;if(Ae!=null&&((ge=ye[ye.length-1])===null||ge===void 0?void 0:ge.id)!==Ae){me.immediateProvider.clearImmediate(Ae);if(pe._scheduled===Ae){pe._scheduled=undefined}}return undefined};return AsapAction}(ge.AsyncAction);pe.AsapAction=ye},76641:function(R,pe,Ae){"use strict";var he=this&&this.__extends||function(){var extendStatics=function(R,pe){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(R,pe){R.__proto__=pe}||function(R,pe){for(var Ae in pe)if(Object.prototype.hasOwnProperty.call(pe,Ae))R[Ae]=pe[Ae]};return extendStatics(R,pe)};return function(R,pe){if(typeof pe!=="function"&&pe!==null)throw new TypeError("Class extends value "+String(pe)+" is not a constructor or null");extendStatics(R,pe);function __(){this.constructor=R}R.prototype=pe===null?Object.create(pe):(__.prototype=pe.prototype,new __)}}();Object.defineProperty(pe,"__esModule",{value:true});pe.AsapScheduler=void 0;var ge=Ae(61673);var me=function(R){he(AsapScheduler,R);function AsapScheduler(){return R!==null&&R.apply(this,arguments)||this}AsapScheduler.prototype.flush=function(R){this._active=true;var pe=this._scheduled;this._scheduled=undefined;var Ae=this.actions;var he;R=R||Ae.shift();do{if(he=R.execute(R.state,R.delay)){break}}while((R=Ae[0])&&R.id===pe&&Ae.shift());this._active=false;if(he){while((R=Ae[0])&&R.id===pe&&Ae.shift()){R.unsubscribe()}throw he}};return AsapScheduler}(ge.AsyncScheduler);pe.AsapScheduler=me},13280:function(R,pe,Ae){"use strict";var he=this&&this.__extends||function(){var extendStatics=function(R,pe){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(R,pe){R.__proto__=pe}||function(R,pe){for(var Ae in pe)if(Object.prototype.hasOwnProperty.call(pe,Ae))R[Ae]=pe[Ae]};return extendStatics(R,pe)};return function(R,pe){if(typeof pe!=="function"&&pe!==null)throw new TypeError("Class extends value "+String(pe)+" is not a constructor or null");extendStatics(R,pe);function __(){this.constructor=R}R.prototype=pe===null?Object.create(pe):(__.prototype=pe.prototype,new __)}}();Object.defineProperty(pe,"__esModule",{value:true});pe.AsyncAction=void 0;var ge=Ae(83848);var me=Ae(55341);var ye=Ae(68499);var ve=function(R){he(AsyncAction,R);function AsyncAction(pe,Ae){var he=R.call(this,pe,Ae)||this;he.scheduler=pe;he.work=Ae;he.pending=false;return he}AsyncAction.prototype.schedule=function(R,pe){var Ae;if(pe===void 0){pe=0}if(this.closed){return this}this.state=R;var he=this.id;var ge=this.scheduler;if(he!=null){this.id=this.recycleAsyncId(ge,he,pe)}this.pending=true;this.delay=pe;this.id=(Ae=this.id)!==null&&Ae!==void 0?Ae:this.requestAsyncId(ge,this.id,pe);return this};AsyncAction.prototype.requestAsyncId=function(R,pe,Ae){if(Ae===void 0){Ae=0}return me.intervalProvider.setInterval(R.flush.bind(R,this),Ae)};AsyncAction.prototype.recycleAsyncId=function(R,pe,Ae){if(Ae===void 0){Ae=0}if(Ae!=null&&this.delay===Ae&&this.pending===false){return pe}if(pe!=null){me.intervalProvider.clearInterval(pe)}return undefined};AsyncAction.prototype.execute=function(R,pe){if(this.closed){return new Error("executing a cancelled action")}this.pending=false;var Ae=this._execute(R,pe);if(Ae){return Ae}else if(this.pending===false&&this.id!=null){this.id=this.recycleAsyncId(this.scheduler,this.id,null)}};AsyncAction.prototype._execute=function(R,pe){var Ae=false;var he;try{this.work(R)}catch(R){Ae=true;he=R?R:new Error("Scheduled action threw falsy error")}if(Ae){this.unsubscribe();return he}};AsyncAction.prototype.unsubscribe=function(){if(!this.closed){var pe=this,Ae=pe.id,he=pe.scheduler;var ge=he.actions;this.work=this.state=this.scheduler=null;this.pending=false;ye.arrRemove(ge,this);if(Ae!=null){this.id=this.recycleAsyncId(he,Ae,null)}this.delay=null;R.prototype.unsubscribe.call(this)}};return AsyncAction}(ge.Action);pe.AsyncAction=ve},61673:function(R,pe,Ae){"use strict";var he=this&&this.__extends||function(){var extendStatics=function(R,pe){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(R,pe){R.__proto__=pe}||function(R,pe){for(var Ae in pe)if(Object.prototype.hasOwnProperty.call(pe,Ae))R[Ae]=pe[Ae]};return extendStatics(R,pe)};return function(R,pe){if(typeof pe!=="function"&&pe!==null)throw new TypeError("Class extends value "+String(pe)+" is not a constructor or null");extendStatics(R,pe);function __(){this.constructor=R}R.prototype=pe===null?Object.create(pe):(__.prototype=pe.prototype,new __)}}();Object.defineProperty(pe,"__esModule",{value:true});pe.AsyncScheduler=void 0;var ge=Ae(76243);var me=function(R){he(AsyncScheduler,R);function AsyncScheduler(pe,Ae){if(Ae===void 0){Ae=ge.Scheduler.now}var he=R.call(this,pe,Ae)||this;he.actions=[];he._active=false;return he}AsyncScheduler.prototype.flush=function(R){var pe=this.actions;if(this._active){pe.push(R);return}var Ae;this._active=true;do{if(Ae=R.execute(R.state,R.delay)){break}}while(R=pe.shift());this._active=false;if(Ae){while(R=pe.shift()){R.unsubscribe()}throw Ae}};return AsyncScheduler}(ge.Scheduler);pe.AsyncScheduler=me},32161:function(R,pe,Ae){"use strict";var he=this&&this.__extends||function(){var extendStatics=function(R,pe){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(R,pe){R.__proto__=pe}||function(R,pe){for(var Ae in pe)if(Object.prototype.hasOwnProperty.call(pe,Ae))R[Ae]=pe[Ae]};return extendStatics(R,pe)};return function(R,pe){if(typeof pe!=="function"&&pe!==null)throw new TypeError("Class extends value "+String(pe)+" is not a constructor or null");extendStatics(R,pe);function __(){this.constructor=R}R.prototype=pe===null?Object.create(pe):(__.prototype=pe.prototype,new __)}}();Object.defineProperty(pe,"__esModule",{value:true});pe.QueueAction=void 0;var ge=Ae(13280);var me=function(R){he(QueueAction,R);function QueueAction(pe,Ae){var he=R.call(this,pe,Ae)||this;he.scheduler=pe;he.work=Ae;return he}QueueAction.prototype.schedule=function(pe,Ae){if(Ae===void 0){Ae=0}if(Ae>0){return R.prototype.schedule.call(this,pe,Ae)}this.delay=Ae;this.state=pe;this.scheduler.flush(this);return this};QueueAction.prototype.execute=function(pe,Ae){return Ae>0||this.closed?R.prototype.execute.call(this,pe,Ae):this._execute(pe,Ae)};QueueAction.prototype.requestAsyncId=function(pe,Ae,he){if(he===void 0){he=0}if(he!=null&&he>0||he==null&&this.delay>0){return R.prototype.requestAsyncId.call(this,pe,Ae,he)}pe.flush(this);return 0};return QueueAction}(ge.AsyncAction);pe.QueueAction=me},48527:function(R,pe,Ae){"use strict";var he=this&&this.__extends||function(){var extendStatics=function(R,pe){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(R,pe){R.__proto__=pe}||function(R,pe){for(var Ae in pe)if(Object.prototype.hasOwnProperty.call(pe,Ae))R[Ae]=pe[Ae]};return extendStatics(R,pe)};return function(R,pe){if(typeof pe!=="function"&&pe!==null)throw new TypeError("Class extends value "+String(pe)+" is not a constructor or null");extendStatics(R,pe);function __(){this.constructor=R}R.prototype=pe===null?Object.create(pe):(__.prototype=pe.prototype,new __)}}();Object.defineProperty(pe,"__esModule",{value:true});pe.QueueScheduler=void 0;var ge=Ae(61673);var me=function(R){he(QueueScheduler,R);function QueueScheduler(){return R!==null&&R.apply(this,arguments)||this}return QueueScheduler}(ge.AsyncScheduler);pe.QueueScheduler=me},75348:function(R,pe,Ae){"use strict";var he=this&&this.__extends||function(){var extendStatics=function(R,pe){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(R,pe){R.__proto__=pe}||function(R,pe){for(var Ae in pe)if(Object.prototype.hasOwnProperty.call(pe,Ae))R[Ae]=pe[Ae]};return extendStatics(R,pe)};return function(R,pe){if(typeof pe!=="function"&&pe!==null)throw new TypeError("Class extends value "+String(pe)+" is not a constructor or null");extendStatics(R,pe);function __(){this.constructor=R}R.prototype=pe===null?Object.create(pe):(__.prototype=pe.prototype,new __)}}();Object.defineProperty(pe,"__esModule",{value:true});pe.VirtualAction=pe.VirtualTimeScheduler=void 0;var ge=Ae(13280);var me=Ae(79548);var ye=Ae(61673);var ve=function(R){he(VirtualTimeScheduler,R);function VirtualTimeScheduler(pe,Ae){if(pe===void 0){pe=be}if(Ae===void 0){Ae=Infinity}var he=R.call(this,pe,(function(){return he.frame}))||this;he.maxFrames=Ae;he.frame=0;he.index=-1;return he}VirtualTimeScheduler.prototype.flush=function(){var R=this,pe=R.actions,Ae=R.maxFrames;var he;var ge;while((ge=pe[0])&&ge.delay<=Ae){pe.shift();this.frame=ge.delay;if(he=ge.execute(ge.state,ge.delay)){break}}if(he){while(ge=pe.shift()){ge.unsubscribe()}throw he}};VirtualTimeScheduler.frameTimeFactor=10;return VirtualTimeScheduler}(ye.AsyncScheduler);pe.VirtualTimeScheduler=ve;var be=function(R){he(VirtualAction,R);function VirtualAction(pe,Ae,he){if(he===void 0){he=pe.index+=1}var ge=R.call(this,pe,Ae)||this;ge.scheduler=pe;ge.work=Ae;ge.index=he;ge.active=true;ge.index=pe.index=he;return ge}VirtualAction.prototype.schedule=function(pe,Ae){if(Ae===void 0){Ae=0}if(Number.isFinite(Ae)){if(!this.id){return R.prototype.schedule.call(this,pe,Ae)}this.active=false;var he=new VirtualAction(this.scheduler,this.work);this.add(he);return he.schedule(pe,Ae)}else{return me.Subscription.EMPTY}};VirtualAction.prototype.requestAsyncId=function(R,pe,Ae){if(Ae===void 0){Ae=0}this.delay=R.frame+Ae;var he=R.actions;he.push(this);he.sort(VirtualAction.sortActions);return 1};VirtualAction.prototype.recycleAsyncId=function(R,pe,Ae){if(Ae===void 0){Ae=0}return undefined};VirtualAction.prototype._execute=function(pe,Ae){if(this.active===true){return R.prototype._execute.call(this,pe,Ae)}};VirtualAction.sortActions=function(R,pe){if(R.delay===pe.delay){if(R.index===pe.index){return 0}else if(R.index>pe.index){return 1}else{return-1}}else if(R.delay>pe.delay){return 1}else{return-1}};return VirtualAction}(ge.AsyncAction);pe.VirtualAction=be},51359:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.animationFrame=pe.animationFrameScheduler=void 0;var he=Ae(95991);var ge=Ae(98768);pe.animationFrameScheduler=new ge.AnimationFrameScheduler(he.AnimationFrameAction);pe.animationFrame=pe.animationFrameScheduler},62738:function(R,pe,Ae){"use strict";var he=this&&this.__read||function(R,pe){var Ae=typeof Symbol==="function"&&R[Symbol.iterator];if(!Ae)return R;var he=Ae.call(R),ge,me=[],ye;try{while((pe===void 0||pe-- >0)&&!(ge=he.next()).done)me.push(ge.value)}catch(R){ye={error:R}}finally{try{if(ge&&!ge.done&&(Ae=he["return"]))Ae.call(he)}finally{if(ye)throw ye.error}}return me};var ge=this&&this.__spreadArray||function(R,pe){for(var Ae=0,he=pe.length,ge=R.length;Ae{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.asap=pe.asapScheduler=void 0;var he=Ae(12424);var ge=Ae(76641);pe.asapScheduler=new ge.AsapScheduler(he.AsapAction);pe.asap=pe.asapScheduler},76072:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.async=pe.asyncScheduler=void 0;var he=Ae(13280);var ge=Ae(61673);pe.asyncScheduler=new ge.AsyncScheduler(he.AsyncAction);pe.async=pe.asyncScheduler},91395:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.dateTimestampProvider=void 0;pe.dateTimestampProvider={now:function(){return(pe.dateTimestampProvider.delegate||Date).now()},delegate:undefined}},63475:function(R,pe,Ae){"use strict";var he=this&&this.__read||function(R,pe){var Ae=typeof Symbol==="function"&&R[Symbol.iterator];if(!Ae)return R;var he=Ae.call(R),ge,me=[],ye;try{while((pe===void 0||pe-- >0)&&!(ge=he.next()).done)me.push(ge.value)}catch(R){ye={error:R}}finally{try{if(ge&&!ge.done&&(Ae=he["return"]))Ae.call(he)}finally{if(ye)throw ye.error}}return me};var ge=this&&this.__spreadArray||function(R,pe){for(var Ae=0,he=pe.length,ge=R.length;Ae0)&&!(ge=he.next()).done)me.push(ge.value)}catch(R){ye={error:R}}finally{try{if(ge&&!ge.done&&(Ae=he["return"]))Ae.call(he)}finally{if(ye)throw ye.error}}return me};var he=this&&this.__spreadArray||function(R,pe){for(var Ae=0,he=pe.length,ge=R.length;Ae{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.performanceTimestampProvider=void 0;pe.performanceTimestampProvider={now:function(){return(pe.performanceTimestampProvider.delegate||performance).now()},delegate:undefined}},82059:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.queue=pe.queueScheduler=void 0;var he=Ae(32161);var ge=Ae(48527);pe.queueScheduler=new ge.QueueScheduler(he.QueueAction);pe.queue=pe.queueScheduler},1613:function(R,pe){"use strict";var Ae=this&&this.__read||function(R,pe){var Ae=typeof Symbol==="function"&&R[Symbol.iterator];if(!Ae)return R;var he=Ae.call(R),ge,me=[],ye;try{while((pe===void 0||pe-- >0)&&!(ge=he.next()).done)me.push(ge.value)}catch(R){ye={error:R}}finally{try{if(ge&&!ge.done&&(Ae=he["return"]))Ae.call(he)}finally{if(ye)throw ye.error}}return me};var he=this&&this.__spreadArray||function(R,pe){for(var Ae=0,he=pe.length,ge=R.length;Ae{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.iterator=pe.getSymbolIterator=void 0;function getSymbolIterator(){if(typeof Symbol!=="function"||!Symbol.iterator){return"@@iterator"}return Symbol.iterator}pe.getSymbolIterator=getSymbolIterator;pe.iterator=getSymbolIterator()},17186:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.observable=void 0;pe.observable=function(){return typeof Symbol==="function"&&Symbol.observable||"@@observable"}()},36639:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true})},49796:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.ArgumentOutOfRangeError=void 0;var he=Ae(8858);pe.ArgumentOutOfRangeError=he.createErrorClass((function(R){return function ArgumentOutOfRangeErrorImpl(){R(this);this.name="ArgumentOutOfRangeError";this.message="argument out of range"}}))},99391:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.EmptyError=void 0;var he=Ae(8858);pe.EmptyError=he.createErrorClass((function(R){return function EmptyErrorImpl(){R(this);this.name="EmptyError";this.message="no elements in sequence"}}))},73555:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.TestTools=pe.Immediate=void 0;var Ae=1;var he;var ge={};function findAndClearHandle(R){if(R in ge){delete ge[R];return true}return false}pe.Immediate={setImmediate:function(R){var pe=Ae++;ge[pe]=true;if(!he){he=Promise.resolve()}he.then((function(){return findAndClearHandle(pe)&&R()}));return pe},clearImmediate:function(R){findAndClearHandle(R)}};pe.TestTools={pending:function(){return Object.keys(ge).length}}},74431:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.NotFoundError=void 0;var he=Ae(8858);pe.NotFoundError=he.createErrorClass((function(R){return function NotFoundErrorImpl(pe){R(this);this.name="NotFoundError";this.message=pe}}))},95266:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.ObjectUnsubscribedError=void 0;var he=Ae(8858);pe.ObjectUnsubscribedError=he.createErrorClass((function(R){return function ObjectUnsubscribedErrorImpl(){R(this);this.name="ObjectUnsubscribedError";this.message="object unsubscribed"}}))},49048:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.SequenceError=void 0;var he=Ae(8858);pe.SequenceError=he.createErrorClass((function(R){return function SequenceErrorImpl(pe){R(this);this.name="SequenceError";this.message=pe}}))},56776:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.UnsubscriptionError=void 0;var he=Ae(8858);pe.UnsubscriptionError=he.createErrorClass((function(R){return function UnsubscriptionErrorImpl(pe){R(this);this.message=pe?pe.length+" errors occurred during unsubscription:\n"+pe.map((function(R,pe){return pe+1+") "+R.toString()})).join("\n "):"";this.name="UnsubscriptionError";this.errors=pe}}))},34890:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.popNumber=pe.popScheduler=pe.popResultSelector=void 0;var he=Ae(67206);var ge=Ae(84078);function last(R){return R[R.length-1]}function popResultSelector(R){return he.isFunction(last(R))?R.pop():undefined}pe.popResultSelector=popResultSelector;function popScheduler(R){return ge.isScheduler(last(R))?R.pop():undefined}pe.popScheduler=popScheduler;function popNumber(R,pe){return typeof last(R)==="number"?R.pop():pe}pe.popNumber=popNumber},12920:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.argsArgArrayOrObject=void 0;var Ae=Array.isArray;var he=Object.getPrototypeOf,ge=Object.prototype,me=Object.keys;function argsArgArrayOrObject(R){if(R.length===1){var pe=R[0];if(Ae(pe)){return{args:pe,keys:null}}if(isPOJO(pe)){var he=me(pe);return{args:he.map((function(R){return pe[R]})),keys:he}}}return{args:R,keys:null}}pe.argsArgArrayOrObject=argsArgArrayOrObject;function isPOJO(R){return R&&typeof R==="object"&&he(R)===ge}},18824:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.argsOrArgArray=void 0;var Ae=Array.isArray;function argsOrArgArray(R){return R.length===1&&Ae(R[0])?R[0]:R}pe.argsOrArgArray=argsOrArgArray},68499:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.arrRemove=void 0;function arrRemove(R,pe){if(R){var Ae=R.indexOf(pe);0<=Ae&&R.splice(Ae,1)}}pe.arrRemove=arrRemove},8858:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.createErrorClass=void 0;function createErrorClass(R){var _super=function(R){Error.call(R);R.stack=(new Error).stack};var pe=R(_super);pe.prototype=Object.create(Error.prototype);pe.prototype.constructor=pe;return pe}pe.createErrorClass=createErrorClass},57834:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.createObject=void 0;function createObject(R,pe){return R.reduce((function(R,Ae,he){return R[Ae]=pe[he],R}),{})}pe.createObject=createObject},31199:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.captureError=pe.errorContext=void 0;var he=Ae(92233);var ge=null;function errorContext(R){if(he.config.useDeprecatedSynchronousErrorHandling){var pe=!ge;if(pe){ge={errorThrown:false,error:null}}R();if(pe){var Ae=ge,me=Ae.errorThrown,ye=Ae.error;ge=null;if(me){throw ye}}}else{R()}}pe.errorContext=errorContext;function captureError(R){if(he.config.useDeprecatedSynchronousErrorHandling&&ge){ge.errorThrown=true;ge.error=R}}pe.captureError=captureError},82877:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.executeSchedule=void 0;function executeSchedule(R,pe,Ae,he,ge){if(he===void 0){he=0}if(ge===void 0){ge=false}var me=pe.schedule((function(){Ae();if(ge){R.add(this.schedule(null,he))}else{this.unsubscribe()}}),he);R.add(me);if(!ge){return me}}pe.executeSchedule=executeSchedule},60283:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.identity=void 0;function identity(R){return R}pe.identity=identity},24461:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.isArrayLike=void 0;pe.isArrayLike=function(R){return R&&typeof R.length==="number"&&typeof R!=="function"}},44408:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.isAsyncIterable=void 0;var he=Ae(67206);function isAsyncIterable(R){return Symbol.asyncIterator&&he.isFunction(R===null||R===void 0?void 0:R[Symbol.asyncIterator])}pe.isAsyncIterable=isAsyncIterable},60935:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.isValidDate=void 0;function isValidDate(R){return R instanceof Date&&!isNaN(R)}pe.isValidDate=isValidDate},67206:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.isFunction=void 0;function isFunction(R){return typeof R==="function"}pe.isFunction=isFunction},67984:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.isInteropObservable=void 0;var he=Ae(17186);var ge=Ae(67206);function isInteropObservable(R){return ge.isFunction(R[he.observable])}pe.isInteropObservable=isInteropObservable},94292:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.isIterable=void 0;var he=Ae(85517);var ge=Ae(67206);function isIterable(R){return ge.isFunction(R===null||R===void 0?void 0:R[he.iterator])}pe.isIterable=isIterable},72259:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.isObservable=void 0;var he=Ae(53014);var ge=Ae(67206);function isObservable(R){return!!R&&(R instanceof he.Observable||ge.isFunction(R.lift)&&ge.isFunction(R.subscribe))}pe.isObservable=isObservable},65585:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.isPromise=void 0;var he=Ae(67206);function isPromise(R){return he.isFunction(R===null||R===void 0?void 0:R.then)}pe.isPromise=isPromise},99621:function(R,pe,Ae){"use strict";var he=this&&this.__generator||function(R,pe){var Ae={label:0,sent:function(){if(me[0]&1)throw me[1];return me[1]},trys:[],ops:[]},he,ge,me,ye;return ye={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol==="function"&&(ye[Symbol.iterator]=function(){return this}),ye;function verb(R){return function(pe){return step([R,pe])}}function step(ye){if(he)throw new TypeError("Generator is already executing.");while(Ae)try{if(he=1,ge&&(me=ye[0]&2?ge["return"]:ye[0]?ge["throw"]||((me=ge["return"])&&me.call(ge),0):ge.next)&&!(me=me.call(ge,ye[1])).done)return me;if(ge=0,me)ye=[ye[0]&2,me.value];switch(ye[0]){case 0:case 1:me=ye;break;case 4:Ae.label++;return{value:ye[1],done:false};case 5:Ae.label++;ge=ye[1];ye=[0];continue;case 7:ye=Ae.ops.pop();Ae.trys.pop();continue;default:if(!(me=Ae.trys,me=me.length>0&&me[me.length-1])&&(ye[0]===6||ye[0]===2)){Ae=0;continue}if(ye[0]===3&&(!me||ye[1]>me[0]&&ye[1]1||resume(R,pe)}))}}function resume(R,pe){try{step(he[R](pe))}catch(R){settle(ye[0][3],R)}}function step(R){R.value instanceof ge?Promise.resolve(R.value.v).then(fulfill,reject):settle(ye[0][2],R)}function fulfill(R){resume("next",R)}function reject(R){resume("throw",R)}function settle(R,pe){if(R(pe),ye.shift(),ye.length)resume(ye[0][0],ye[0][1])}};Object.defineProperty(pe,"__esModule",{value:true});pe.isReadableStreamLike=pe.readableStreamLikeToAsyncGenerator=void 0;var ye=Ae(67206);function readableStreamLikeToAsyncGenerator(R){return me(this,arguments,(function readableStreamLikeToAsyncGenerator_1(){var pe,Ae,me,ye;return he(this,(function(he){switch(he.label){case 0:pe=R.getReader();he.label=1;case 1:he.trys.push([1,,9,10]);he.label=2;case 2:if(false){}return[4,ge(pe.read())];case 3:Ae=he.sent(),me=Ae.value,ye=Ae.done;if(!ye)return[3,5];return[4,ge(void 0)];case 4:return[2,he.sent()];case 5:return[4,ge(me)];case 6:return[4,he.sent()];case 7:he.sent();return[3,2];case 8:return[3,10];case 9:pe.releaseLock();return[7];case 10:return[2]}}))}))}pe.readableStreamLikeToAsyncGenerator=readableStreamLikeToAsyncGenerator;function isReadableStreamLike(R){return ye.isFunction(R===null||R===void 0?void 0:R.getReader)}pe.isReadableStreamLike=isReadableStreamLike},84078:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.isScheduler=void 0;var he=Ae(67206);function isScheduler(R){return R&&he.isFunction(R.schedule)}pe.isScheduler=isScheduler},38669:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.operate=pe.hasLift=void 0;var he=Ae(67206);function hasLift(R){return he.isFunction(R===null||R===void 0?void 0:R.lift)}pe.hasLift=hasLift;function operate(R){return function(pe){if(hasLift(pe)){return pe.lift((function(pe){try{return R(pe,this)}catch(R){this.error(R)}}))}throw new TypeError("Unable to lift unknown Observable type")}}pe.operate=operate},78934:function(R,pe,Ae){"use strict";var he=this&&this.__read||function(R,pe){var Ae=typeof Symbol==="function"&&R[Symbol.iterator];if(!Ae)return R;var he=Ae.call(R),ge,me=[],ye;try{while((pe===void 0||pe-- >0)&&!(ge=he.next()).done)me.push(ge.value)}catch(R){ye={error:R}}finally{try{if(ge&&!ge.done&&(Ae=he["return"]))Ae.call(he)}finally{if(ye)throw ye.error}}return me};var ge=this&&this.__spreadArray||function(R,pe){for(var Ae=0,he=pe.length,ge=R.length;Ae{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.noop=void 0;function noop(){}pe.noop=noop},54338:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.not=void 0;function not(R,pe){return function(Ae,he){return!R.call(pe,Ae,he)}}pe.not=not},49587:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.pipeFromArray=pe.pipe=void 0;var he=Ae(60283);function pipe(){var R=[];for(var pe=0;pe{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.reportUnhandledError=void 0;var he=Ae(92233);var ge=Ae(1613);function reportUnhandledError(R){ge.timeoutProvider.setTimeout((function(){var pe=he.config.onUnhandledError;if(pe){pe(R)}else{throw R}}))}pe.reportUnhandledError=reportUnhandledError},97364:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.createInvalidObservableTypeError=void 0;function createInvalidObservableTypeError(R){return new TypeError("You provided "+(R!==null&&typeof R==="object"?"an invalid object":"'"+R+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}pe.createInvalidObservableTypeError=createInvalidObservableTypeError},50749:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.mergeAll=pe.merge=pe.max=pe.materialize=pe.mapTo=pe.map=pe.last=pe.isEmpty=pe.ignoreElements=pe.groupBy=pe.first=pe.findIndex=pe.find=pe.finalize=pe.filter=pe.expand=pe.exhaustMap=pe.exhaustAll=pe.exhaust=pe.every=pe.endWith=pe.elementAt=pe.distinctUntilKeyChanged=pe.distinctUntilChanged=pe.distinct=pe.dematerialize=pe.delayWhen=pe.delay=pe.defaultIfEmpty=pe.debounceTime=pe.debounce=pe.count=pe.connect=pe.concatWith=pe.concatMapTo=pe.concatMap=pe.concatAll=pe.concat=pe.combineLatestWith=pe.combineLatest=pe.combineLatestAll=pe.combineAll=pe.catchError=pe.bufferWhen=pe.bufferToggle=pe.bufferTime=pe.bufferCount=pe.buffer=pe.auditTime=pe.audit=void 0;pe.timeInterval=pe.throwIfEmpty=pe.throttleTime=pe.throttle=pe.tap=pe.takeWhile=pe.takeUntil=pe.takeLast=pe.take=pe.switchScan=pe.switchMapTo=pe.switchMap=pe.switchAll=pe.subscribeOn=pe.startWith=pe.skipWhile=pe.skipUntil=pe.skipLast=pe.skip=pe.single=pe.shareReplay=pe.share=pe.sequenceEqual=pe.scan=pe.sampleTime=pe.sample=pe.refCount=pe.retryWhen=pe.retry=pe.repeatWhen=pe.repeat=pe.reduce=pe.raceWith=pe.race=pe.publishReplay=pe.publishLast=pe.publishBehavior=pe.publish=pe.pluck=pe.partition=pe.pairwise=pe.onErrorResumeNext=pe.observeOn=pe.multicast=pe.min=pe.mergeWith=pe.mergeScan=pe.mergeMapTo=pe.mergeMap=pe.flatMap=void 0;pe.zipWith=pe.zipAll=pe.zip=pe.withLatestFrom=pe.windowWhen=pe.windowToggle=pe.windowTime=pe.windowCount=pe.window=pe.toArray=pe.timestamp=pe.timeoutWith=pe.timeout=void 0;var he=Ae(82704);Object.defineProperty(pe,"audit",{enumerable:true,get:function(){return he.audit}});var ge=Ae(18780);Object.defineProperty(pe,"auditTime",{enumerable:true,get:function(){return ge.auditTime}});var me=Ae(34253);Object.defineProperty(pe,"buffer",{enumerable:true,get:function(){return me.buffer}});var ye=Ae(17253);Object.defineProperty(pe,"bufferCount",{enumerable:true,get:function(){return ye.bufferCount}});var ve=Ae(73102);Object.defineProperty(pe,"bufferTime",{enumerable:true,get:function(){return ve.bufferTime}});var be=Ae(83781);Object.defineProperty(pe,"bufferToggle",{enumerable:true,get:function(){return be.bufferToggle}});var Ee=Ae(82855);Object.defineProperty(pe,"bufferWhen",{enumerable:true,get:function(){return Ee.bufferWhen}});var Ce=Ae(37765);Object.defineProperty(pe,"catchError",{enumerable:true,get:function(){return Ce.catchError}});var we=Ae(88817);Object.defineProperty(pe,"combineAll",{enumerable:true,get:function(){return we.combineAll}});var Ie=Ae(91063);Object.defineProperty(pe,"combineLatestAll",{enumerable:true,get:function(){return Ie.combineLatestAll}});var _e=Ae(96008);Object.defineProperty(pe,"combineLatest",{enumerable:true,get:function(){return _e.combineLatest}});var Be=Ae(19044);Object.defineProperty(pe,"combineLatestWith",{enumerable:true,get:function(){return Be.combineLatestWith}});var Se=Ae(18500);Object.defineProperty(pe,"concat",{enumerable:true,get:function(){return Se.concat}});var Qe=Ae(88049);Object.defineProperty(pe,"concatAll",{enumerable:true,get:function(){return Qe.concatAll}});var xe=Ae(19130);Object.defineProperty(pe,"concatMap",{enumerable:true,get:function(){return xe.concatMap}});var De=Ae(61596);Object.defineProperty(pe,"concatMapTo",{enumerable:true,get:function(){return De.concatMapTo}});var ke=Ae(97998);Object.defineProperty(pe,"concatWith",{enumerable:true,get:function(){return ke.concatWith}});var Oe=Ae(51101);Object.defineProperty(pe,"connect",{enumerable:true,get:function(){return Oe.connect}});var Re=Ae(36571);Object.defineProperty(pe,"count",{enumerable:true,get:function(){return Re.count}});var Pe=Ae(19348);Object.defineProperty(pe,"debounce",{enumerable:true,get:function(){return Pe.debounce}});var Te=Ae(62379);Object.defineProperty(pe,"debounceTime",{enumerable:true,get:function(){return Te.debounceTime}});var Ne=Ae(30621);Object.defineProperty(pe,"defaultIfEmpty",{enumerable:true,get:function(){return Ne.defaultIfEmpty}});var Me=Ae(99818);Object.defineProperty(pe,"delay",{enumerable:true,get:function(){return Me.delay}});var Fe=Ae(16994);Object.defineProperty(pe,"delayWhen",{enumerable:true,get:function(){return Fe.delayWhen}});var je=Ae(95338);Object.defineProperty(pe,"dematerialize",{enumerable:true,get:function(){return je.dematerialize}});var Le=Ae(52594);Object.defineProperty(pe,"distinct",{enumerable:true,get:function(){return Le.distinct}});var Ue=Ae(20632);Object.defineProperty(pe,"distinctUntilChanged",{enumerable:true,get:function(){return Ue.distinctUntilChanged}});var He=Ae(13809);Object.defineProperty(pe,"distinctUntilKeyChanged",{enumerable:true,get:function(){return He.distinctUntilKeyChanged}});var Ve=Ae(73381);Object.defineProperty(pe,"elementAt",{enumerable:true,get:function(){return Ve.elementAt}});var We=Ae(42961);Object.defineProperty(pe,"endWith",{enumerable:true,get:function(){return We.endWith}});var Je=Ae(69559);Object.defineProperty(pe,"every",{enumerable:true,get:function(){return Je.every}});var Ge=Ae(75686);Object.defineProperty(pe,"exhaust",{enumerable:true,get:function(){return Ge.exhaust}});var qe=Ae(79777);Object.defineProperty(pe,"exhaustAll",{enumerable:true,get:function(){return qe.exhaustAll}});var Ye=Ae(21527);Object.defineProperty(pe,"exhaustMap",{enumerable:true,get:function(){return Ye.exhaustMap}});var Ke=Ae(21585);Object.defineProperty(pe,"expand",{enumerable:true,get:function(){return Ke.expand}});var ze=Ae(36894);Object.defineProperty(pe,"filter",{enumerable:true,get:function(){return ze.filter}});var $e=Ae(4013);Object.defineProperty(pe,"finalize",{enumerable:true,get:function(){return $e.finalize}});var Ze=Ae(28981);Object.defineProperty(pe,"find",{enumerable:true,get:function(){return Ze.find}});var Xe=Ae(92602);Object.defineProperty(pe,"findIndex",{enumerable:true,get:function(){return Xe.findIndex}});var et=Ae(63345);Object.defineProperty(pe,"first",{enumerable:true,get:function(){return et.first}});var tt=Ae(51650);Object.defineProperty(pe,"groupBy",{enumerable:true,get:function(){return tt.groupBy}});var rt=Ae(31062);Object.defineProperty(pe,"ignoreElements",{enumerable:true,get:function(){return rt.ignoreElements}});var nt=Ae(77722);Object.defineProperty(pe,"isEmpty",{enumerable:true,get:function(){return nt.isEmpty}});var it=Ae(46831);Object.defineProperty(pe,"last",{enumerable:true,get:function(){return it.last}});var ot=Ae(5987);Object.defineProperty(pe,"map",{enumerable:true,get:function(){return ot.map}});var st=Ae(52300);Object.defineProperty(pe,"mapTo",{enumerable:true,get:function(){return st.mapTo}});var at=Ae(67108);Object.defineProperty(pe,"materialize",{enumerable:true,get:function(){return at.materialize}});var ct=Ae(17314);Object.defineProperty(pe,"max",{enumerable:true,get:function(){return ct.max}});var ut=Ae(39510);Object.defineProperty(pe,"merge",{enumerable:true,get:function(){return ut.merge}});var lt=Ae(2057);Object.defineProperty(pe,"mergeAll",{enumerable:true,get:function(){return lt.mergeAll}});var dt=Ae(40186);Object.defineProperty(pe,"flatMap",{enumerable:true,get:function(){return dt.flatMap}});var ft=Ae(69914);Object.defineProperty(pe,"mergeMap",{enumerable:true,get:function(){return ft.mergeMap}});var pt=Ae(49151);Object.defineProperty(pe,"mergeMapTo",{enumerable:true,get:function(){return pt.mergeMapTo}});var At=Ae(11519);Object.defineProperty(pe,"mergeScan",{enumerable:true,get:function(){return At.mergeScan}});var ht=Ae(31564);Object.defineProperty(pe,"mergeWith",{enumerable:true,get:function(){return ht.mergeWith}});var gt=Ae(87641);Object.defineProperty(pe,"min",{enumerable:true,get:function(){return gt.min}});var mt=Ae(65457);Object.defineProperty(pe,"multicast",{enumerable:true,get:function(){return mt.multicast}});var yt=Ae(22451);Object.defineProperty(pe,"observeOn",{enumerable:true,get:function(){return yt.observeOn}});var vt=Ae(33569);Object.defineProperty(pe,"onErrorResumeNext",{enumerable:true,get:function(){return vt.onErrorResumeNext}});var bt=Ae(52206);Object.defineProperty(pe,"pairwise",{enumerable:true,get:function(){return bt.pairwise}});var Et=Ae(55949);Object.defineProperty(pe,"partition",{enumerable:true,get:function(){return Et.partition}});var Ct=Ae(16073);Object.defineProperty(pe,"pluck",{enumerable:true,get:function(){return Ct.pluck}});var wt=Ae(84084);Object.defineProperty(pe,"publish",{enumerable:true,get:function(){return wt.publish}});var It=Ae(40045);Object.defineProperty(pe,"publishBehavior",{enumerable:true,get:function(){return It.publishBehavior}});var _t=Ae(84149);Object.defineProperty(pe,"publishLast",{enumerable:true,get:function(){return _t.publishLast}});var Bt=Ae(47656);Object.defineProperty(pe,"publishReplay",{enumerable:true,get:function(){return Bt.publishReplay}});var St=Ae(85846);Object.defineProperty(pe,"race",{enumerable:true,get:function(){return St.race}});var Qt=Ae(58008);Object.defineProperty(pe,"raceWith",{enumerable:true,get:function(){return Qt.raceWith}});var xt=Ae(62087);Object.defineProperty(pe,"reduce",{enumerable:true,get:function(){return xt.reduce}});var Dt=Ae(22418);Object.defineProperty(pe,"repeat",{enumerable:true,get:function(){return Dt.repeat}});var kt=Ae(70754);Object.defineProperty(pe,"repeatWhen",{enumerable:true,get:function(){return kt.repeatWhen}});var Ot=Ae(56251);Object.defineProperty(pe,"retry",{enumerable:true,get:function(){return Ot.retry}});var Rt=Ae(69018);Object.defineProperty(pe,"retryWhen",{enumerable:true,get:function(){return Rt.retryWhen}});var Pt=Ae(2331);Object.defineProperty(pe,"refCount",{enumerable:true,get:function(){return Pt.refCount}});var Tt=Ae(13774);Object.defineProperty(pe,"sample",{enumerable:true,get:function(){return Tt.sample}});var Nt=Ae(49807);Object.defineProperty(pe,"sampleTime",{enumerable:true,get:function(){return Nt.sampleTime}});var Mt=Ae(25578);Object.defineProperty(pe,"scan",{enumerable:true,get:function(){return Mt.scan}});var Ft=Ae(16126);Object.defineProperty(pe,"sequenceEqual",{enumerable:true,get:function(){return Ft.sequenceEqual}});var jt=Ae(48960);Object.defineProperty(pe,"share",{enumerable:true,get:function(){return jt.share}});var Lt=Ae(92118);Object.defineProperty(pe,"shareReplay",{enumerable:true,get:function(){return Lt.shareReplay}});var Ut=Ae(58441);Object.defineProperty(pe,"single",{enumerable:true,get:function(){return Ut.single}});var Ht=Ae(80947);Object.defineProperty(pe,"skip",{enumerable:true,get:function(){return Ht.skip}});var Vt=Ae(65865);Object.defineProperty(pe,"skipLast",{enumerable:true,get:function(){return Vt.skipLast}});var Wt=Ae(41110);Object.defineProperty(pe,"skipUntil",{enumerable:true,get:function(){return Wt.skipUntil}});var Jt=Ae(92550);Object.defineProperty(pe,"skipWhile",{enumerable:true,get:function(){return Jt.skipWhile}});var Gt=Ae(25471);Object.defineProperty(pe,"startWith",{enumerable:true,get:function(){return Gt.startWith}});var qt=Ae(7224);Object.defineProperty(pe,"subscribeOn",{enumerable:true,get:function(){return qt.subscribeOn}});var Yt=Ae(40327);Object.defineProperty(pe,"switchAll",{enumerable:true,get:function(){return Yt.switchAll}});var Kt=Ae(26704);Object.defineProperty(pe,"switchMap",{enumerable:true,get:function(){return Kt.switchMap}});var zt=Ae(1713);Object.defineProperty(pe,"switchMapTo",{enumerable:true,get:function(){return zt.switchMapTo}});var $t=Ae(13355);Object.defineProperty(pe,"switchScan",{enumerable:true,get:function(){return $t.switchScan}});var Zt=Ae(33698);Object.defineProperty(pe,"take",{enumerable:true,get:function(){return Zt.take}});var Xt=Ae(65041);Object.defineProperty(pe,"takeLast",{enumerable:true,get:function(){return Xt.takeLast}});var er=Ae(55150);Object.defineProperty(pe,"takeUntil",{enumerable:true,get:function(){return er.takeUntil}});var tr=Ae(76700);Object.defineProperty(pe,"takeWhile",{enumerable:true,get:function(){return tr.takeWhile}});var rr=Ae(48845);Object.defineProperty(pe,"tap",{enumerable:true,get:function(){return rr.tap}});var nr=Ae(36713);Object.defineProperty(pe,"throttle",{enumerable:true,get:function(){return nr.throttle}});var ir=Ae(83435);Object.defineProperty(pe,"throttleTime",{enumerable:true,get:function(){return ir.throttleTime}});var or=Ae(91566);Object.defineProperty(pe,"throwIfEmpty",{enumerable:true,get:function(){return or.throwIfEmpty}});var sr=Ae(14643);Object.defineProperty(pe,"timeInterval",{enumerable:true,get:function(){return sr.timeInterval}});var ar=Ae(12051);Object.defineProperty(pe,"timeout",{enumerable:true,get:function(){return ar.timeout}});var cr=Ae(43540);Object.defineProperty(pe,"timeoutWith",{enumerable:true,get:function(){return cr.timeoutWith}});var ur=Ae(75518);Object.defineProperty(pe,"timestamp",{enumerable:true,get:function(){return ur.timestamp}});var lr=Ae(35114);Object.defineProperty(pe,"toArray",{enumerable:true,get:function(){return lr.toArray}});var dr=Ae(98255);Object.defineProperty(pe,"window",{enumerable:true,get:function(){return dr.window}});var fr=Ae(73144);Object.defineProperty(pe,"windowCount",{enumerable:true,get:function(){return fr.windowCount}});var pr=Ae(2738);Object.defineProperty(pe,"windowTime",{enumerable:true,get:function(){return pr.windowTime}});var Ar=Ae(52741);Object.defineProperty(pe,"windowToggle",{enumerable:true,get:function(){return Ar.windowToggle}});var hr=Ae(82645);Object.defineProperty(pe,"windowWhen",{enumerable:true,get:function(){return hr.windowWhen}});var gr=Ae(20501);Object.defineProperty(pe,"withLatestFrom",{enumerable:true,get:function(){return gr.withLatestFrom}});var mr=Ae(17600);Object.defineProperty(pe,"zip",{enumerable:true,get:function(){return mr.zip}});var yr=Ae(92335);Object.defineProperty(pe,"zipAll",{enumerable:true,get:function(){return yr.zipAll}});var vr=Ae(95520);Object.defineProperty(pe,"zipWith",{enumerable:true,get:function(){return vr.zipWith}})},42577:(R,pe,Ae)=>{"use strict";const he=Ae(45591);const ge=Ae(64882);const me=Ae(18212);const stringWidth=R=>{if(typeof R!=="string"||R.length===0){return 0}R=he(R);if(R.length===0){return 0}R=R.replace(me()," ");let pe=0;for(let Ae=0;Ae=127&&he<=159){continue}if(he>=768&&he<=879){continue}if(he>65535){Ae++}pe+=ge(he)?2:1}return pe};R.exports=stringWidth;R.exports["default"]=stringWidth},45591:(R,pe,Ae)=>{"use strict";const he=Ae(65063);R.exports=R=>typeof R==="string"?R.replace(he(),""):R},59318:(R,pe,Ae)=>{"use strict";const he=Ae(22037);const ge=Ae(76224);const me=Ae(31621);const{env:ye}=process;let ve;if(me("no-color")||me("no-colors")||me("color=false")||me("color=never")){ve=0}else if(me("color")||me("colors")||me("color=true")||me("color=always")){ve=1}if("FORCE_COLOR"in ye){if(ye.FORCE_COLOR==="true"){ve=1}else if(ye.FORCE_COLOR==="false"){ve=0}else{ve=ye.FORCE_COLOR.length===0?1:Math.min(parseInt(ye.FORCE_COLOR,10),3)}}function translateLevel(R){if(R===0){return false}return{level:R,hasBasic:true,has256:R>=2,has16m:R>=3}}function supportsColor(R,pe){if(ve===0){return 0}if(me("color=16m")||me("color=full")||me("color=truecolor")){return 3}if(me("color=256")){return 2}if(R&&!pe&&ve===undefined){return 0}const Ae=ve||0;if(ye.TERM==="dumb"){return Ae}if(process.platform==="win32"){const R=he.release().split(".");if(Number(R[0])>=10&&Number(R[2])>=10586){return Number(R[2])>=14931?3:2}return 1}if("CI"in ye){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((R=>R in ye))||ye.CI_NAME==="codeship"){return 1}return Ae}if("TEAMCITY_VERSION"in ye){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(ye.TEAMCITY_VERSION)?1:0}if(ye.COLORTERM==="truecolor"){return 3}if("TERM_PROGRAM"in ye){const R=parseInt((ye.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(ye.TERM_PROGRAM){case"iTerm.app":return R>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(ye.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(ye.TERM)){return 1}if("COLORTERM"in ye){return 1}return Ae}function getSupportLevel(R){const pe=supportsColor(R,R&&R.isTTY);return translateLevel(pe)}R.exports={supportsColor:getSupportLevel,stdout:translateLevel(supportsColor(true,ge.isatty(1))),stderr:translateLevel(supportsColor(true,ge.isatty(2)))}},4351:R=>{var pe;var Ae;var he;var ge;var me;var ye;var ve;var be;var Ee;var Ce;var we;var Ie;var _e;var Be;var Se;var Qe;var xe;var De;var ke;var Oe;var Re;var Pe;var Te;var Ne;var Me;var Fe;var je;var Le;var Ue;var He;var Ve;(function(pe){var Ae=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd){define("tslib",["exports"],(function(R){pe(createExporter(Ae,createExporter(R)))}))}else if(true&&typeof R.exports==="object"){pe(createExporter(Ae,createExporter(R.exports)))}else{pe(createExporter(Ae))}function createExporter(R,pe){if(R!==Ae){if(typeof Object.create==="function"){Object.defineProperty(R,"__esModule",{value:true})}else{R.__esModule=true}}return function(Ae,he){return R[Ae]=pe?pe(Ae,he):he}}})((function(R){var We=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(R,pe){R.__proto__=pe}||function(R,pe){for(var Ae in pe)if(Object.prototype.hasOwnProperty.call(pe,Ae))R[Ae]=pe[Ae]};pe=function(R,pe){if(typeof pe!=="function"&&pe!==null)throw new TypeError("Class extends value "+String(pe)+" is not a constructor or null");We(R,pe);function __(){this.constructor=R}R.prototype=pe===null?Object.create(pe):(__.prototype=pe.prototype,new __)};Ae=Object.assign||function(R){for(var pe,Ae=1,he=arguments.length;Ae=0;ve--)if(ye=R[ve])me=(ge<3?ye(me):ge>3?ye(pe,Ae,me):ye(pe,Ae))||me;return ge>3&&me&&Object.defineProperty(pe,Ae,me),me};me=function(R,pe){return function(Ae,he){pe(Ae,he,R)}};ye=function(R,pe,Ae,he,ge,me){function accept(R){if(R!==void 0&&typeof R!=="function")throw new TypeError("Function expected");return R}var ye=he.kind,ve=ye==="getter"?"get":ye==="setter"?"set":"value";var be=!pe&&R?he["static"]?R:R.prototype:null;var Ee=pe||(be?Object.getOwnPropertyDescriptor(be,he.name):{});var Ce,we=false;for(var Ie=Ae.length-1;Ie>=0;Ie--){var _e={};for(var Be in he)_e[Be]=Be==="access"?{}:he[Be];for(var Be in he.access)_e.access[Be]=he.access[Be];_e.addInitializer=function(R){if(we)throw new TypeError("Cannot add initializers after decoration has completed");me.push(accept(R||null))};var Se=(0,Ae[Ie])(ye==="accessor"?{get:Ee.get,set:Ee.set}:Ee[ve],_e);if(ye==="accessor"){if(Se===void 0)continue;if(Se===null||typeof Se!=="object")throw new TypeError("Object expected");if(Ce=accept(Se.get))Ee.get=Ce;if(Ce=accept(Se.set))Ee.set=Ce;if(Ce=accept(Se.init))ge.unshift(Ce)}else if(Ce=accept(Se)){if(ye==="field")ge.unshift(Ce);else Ee[ve]=Ce}}if(be)Object.defineProperty(be,he.name,Ee);we=true};ve=function(R,pe,Ae){var he=arguments.length>2;for(var ge=0;ge0&&me[me.length-1])&&(ve[0]===6||ve[0]===2)){Ae=0;continue}if(ve[0]===3&&(!me||ve[1]>me[0]&&ve[1]=R.length)R=void 0;return{value:R&&R[he++],done:!R}}};throw new TypeError(pe?"Object is not iterable.":"Symbol.iterator is not defined.")};Se=function(R,pe){var Ae=typeof Symbol==="function"&&R[Symbol.iterator];if(!Ae)return R;var he=Ae.call(R),ge,me=[],ye;try{while((pe===void 0||pe-- >0)&&!(ge=he.next()).done)me.push(ge.value)}catch(R){ye={error:R}}finally{try{if(ge&&!ge.done&&(Ae=he["return"]))Ae.call(he)}finally{if(ye)throw ye.error}}return me};Qe=function(){for(var R=[],pe=0;pe1||resume(R,pe)}))};if(pe)ge[R]=pe(ge[R])}}function resume(R,pe){try{step(he[R](pe))}catch(R){settle(me[0][3],R)}}function step(R){R.value instanceof ke?Promise.resolve(R.value.v).then(fulfill,reject):settle(me[0][2],R)}function fulfill(R){resume("next",R)}function reject(R){resume("throw",R)}function settle(R,pe){if(R(pe),me.shift(),me.length)resume(me[0][0],me[0][1])}};Re=function(R){var pe,Ae;return pe={},verb("next"),verb("throw",(function(R){throw R})),verb("return"),pe[Symbol.iterator]=function(){return this},pe;function verb(he,ge){pe[he]=R[he]?function(pe){return(Ae=!Ae)?{value:ke(R[he](pe)),done:false}:ge?ge(pe):pe}:ge}};Pe=function(R){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var pe=R[Symbol.asyncIterator],Ae;return pe?pe.call(R):(R=typeof Be==="function"?Be(R):R[Symbol.iterator](),Ae={},verb("next"),verb("throw"),verb("return"),Ae[Symbol.asyncIterator]=function(){return this},Ae);function verb(pe){Ae[pe]=R[pe]&&function(Ae){return new Promise((function(he,ge){Ae=R[pe](Ae),settle(he,ge,Ae.done,Ae.value)}))}}function settle(R,pe,Ae,he){Promise.resolve(he).then((function(pe){R({value:pe,done:Ae})}),pe)}};Te=function(R,pe){if(Object.defineProperty){Object.defineProperty(R,"raw",{value:pe})}else{R.raw=pe}return R};var Je=Object.create?function(R,pe){Object.defineProperty(R,"default",{enumerable:true,value:pe})}:function(R,pe){R["default"]=pe};Ne=function(R){if(R&&R.__esModule)return R;var pe={};if(R!=null)for(var Ae in R)if(Ae!=="default"&&Object.prototype.hasOwnProperty.call(R,Ae))Ue(pe,R,Ae);Je(pe,R);return pe};Me=function(R){return R&&R.__esModule?R:{default:R}};Fe=function(R,pe,Ae,he){if(Ae==="a"&&!he)throw new TypeError("Private accessor was defined without a getter");if(typeof pe==="function"?R!==pe||!he:!pe.has(R))throw new TypeError("Cannot read private member from an object whose class did not declare it");return Ae==="m"?he:Ae==="a"?he.call(R):he?he.value:pe.get(R)};je=function(R,pe,Ae,he,ge){if(he==="m")throw new TypeError("Private method is not writable");if(he==="a"&&!ge)throw new TypeError("Private accessor was defined without a setter");if(typeof pe==="function"?R!==pe||!ge:!pe.has(R))throw new TypeError("Cannot write private member to an object whose class did not declare it");return he==="a"?ge.call(R,Ae):ge?ge.value=Ae:pe.set(R,Ae),Ae};Le=function(R,pe){if(pe===null||typeof pe!=="object"&&typeof pe!=="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof R==="function"?pe===R:R.has(pe)};He=function(R,pe,Ae){if(pe!==null&&pe!==void 0){if(typeof pe!=="object"&&typeof pe!=="function")throw new TypeError("Object expected.");var he,ge;if(Ae){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");he=pe[Symbol.asyncDispose]}if(he===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");he=pe[Symbol.dispose];if(Ae)ge=he}if(typeof he!=="function")throw new TypeError("Object not disposable.");if(ge)he=function(){try{ge.call(this)}catch(R){return Promise.reject(R)}};R.stack.push({value:pe,dispose:he,async:Ae})}else if(Ae){R.stack.push({async:true})}return pe};var Ge=typeof SuppressedError==="function"?SuppressedError:function(R,pe,Ae){var he=new Error(Ae);return he.name="SuppressedError",he.error=R,he.suppressed=pe,he};Ve=function(R){function fail(pe){R.error=R.hasError?new Ge(pe,R.error,"An error was suppressed during disposal."):pe;R.hasError=true}function next(){while(R.stack.length){var pe=R.stack.pop();try{var Ae=pe.dispose&&pe.dispose.call(pe.value);if(pe.async)return Promise.resolve(Ae).then(next,(function(R){fail(R);return next()}))}catch(R){fail(R)}}if(R.hasError)throw R.error}return next()};R("__extends",pe);R("__assign",Ae);R("__rest",he);R("__decorate",ge);R("__param",me);R("__esDecorate",ye);R("__runInitializers",ve);R("__propKey",be);R("__setFunctionName",Ee);R("__metadata",Ce);R("__awaiter",we);R("__generator",Ie);R("__exportStar",_e);R("__createBinding",Ue);R("__values",Be);R("__read",Se);R("__spread",Qe);R("__spreadArrays",xe);R("__spreadArray",De);R("__await",ke);R("__asyncGenerator",Oe);R("__asyncDelegator",Re);R("__asyncValues",Pe);R("__makeTemplateObject",Te);R("__importStar",Ne);R("__importDefault",Me);R("__classPrivateFieldGet",Fe);R("__classPrivateFieldSet",je);R("__classPrivateFieldIn",Le);R("__addDisposableResource",He);R("__disposeResources",Ve)}))},21701:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});const he=Ae(46939);const ge=Ae(87120);const me=Ae(2032);const ye=Ae(87160);function autoInjectable(){return function(R){const pe=he.getParamInfo(R);return class extends R{constructor(...Ae){super(...Ae.concat(pe.slice(Ae.length).map(((pe,he)=>{try{if(me.isTokenDescriptor(pe)){if(me.isTransformDescriptor(pe)){return pe.multiple?ge.instance.resolve(pe.transform).transform(ge.instance.resolveAll(pe.token),...pe.transformArgs):ge.instance.resolve(pe.transform).transform(ge.instance.resolve(pe.token),...pe.transformArgs)}else{return pe.multiple?ge.instance.resolveAll(pe.token):ge.instance.resolve(pe.token)}}else if(me.isTransformDescriptor(pe)){return ge.instance.resolve(pe.transform).transform(ge.instance.resolve(pe.token),...pe.transformArgs)}return ge.instance.resolve(pe)}catch(pe){const ge=he+Ae.length;throw new Error(ye.formatErrorCtor(R,ge,pe))}}))))}}}}pe["default"]=autoInjectable},16840:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});var he=Ae(21701);Object.defineProperty(pe,"autoInjectable",{enumerable:true,get:function(){return he.default}});var ge=Ae(92468);Object.defineProperty(pe,"inject",{enumerable:true,get:function(){return ge.default}});var me=Ae(9394);Object.defineProperty(pe,"injectable",{enumerable:true,get:function(){return me.default}});var ye=Ae(79297);Object.defineProperty(pe,"registry",{enumerable:true,get:function(){return ye.default}});var ve=Ae(93384);Object.defineProperty(pe,"singleton",{enumerable:true,get:function(){return ve.default}});var be=Ae(60754);Object.defineProperty(pe,"injectAll",{enumerable:true,get:function(){return be.default}});var Ee=Ae(35777);Object.defineProperty(pe,"injectAllWithTransform",{enumerable:true,get:function(){return Ee.default}});var Ce=Ae(49882);Object.defineProperty(pe,"injectWithTransform",{enumerable:true,get:function(){return Ce.default}});var we=Ae(92072);Object.defineProperty(pe,"scoped",{enumerable:true,get:function(){return we.default}})},35777:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});const he=Ae(46939);function injectAllWithTransform(R,pe,...Ae){const ge={token:R,multiple:true,transform:pe,transformArgs:Ae};return he.defineInjectionTokenMetadata(ge)}pe["default"]=injectAllWithTransform},60754:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});const he=Ae(46939);function injectAll(R){const pe={token:R,multiple:true};return he.defineInjectionTokenMetadata(pe)}pe["default"]=injectAll},49882:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});const he=Ae(46939);function injectWithTransform(R,pe,...Ae){return he.defineInjectionTokenMetadata(R,{transformToken:pe,args:Ae})}pe["default"]=injectWithTransform},92468:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});const he=Ae(46939);function inject(R){return he.defineInjectionTokenMetadata(R)}pe["default"]=inject},9394:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});const he=Ae(46939);const ge=Ae(87120);function injectable(){return function(R){ge.typeInfo.set(R,he.getParamInfo(R))}}pe["default"]=injectable},79297:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});const he=Ae(61470);const ge=Ae(87120);function registry(R=[]){return function(pe){R.forEach((R=>{var{token:pe,options:Ae}=R,me=he.__rest(R,["token","options"]);return ge.instance.register(pe,me,Ae)}));return pe}}pe["default"]=registry},92072:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});const he=Ae(9394);const ge=Ae(87120);function scoped(R,pe){return function(Ae){he.default()(Ae);ge.instance.register(pe||Ae,Ae,{lifecycle:R})}}pe["default"]=scoped},93384:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});const he=Ae(9394);const ge=Ae(87120);function singleton(){return function(R){he.default()(R);ge.instance.registerSingleton(R)}}pe["default"]=singleton},87120:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.instance=pe.typeInfo=void 0;const he=Ae(61470);const ge=Ae(11372);const me=Ae(59177);const ye=Ae(2032);const ve=Ae(75941);const be=Ae(56501);const Ee=Ae(64330);const Ce=Ae(87160);const we=Ae(21782);const Ie=Ae(358);const _e=Ae(21780);pe.typeInfo=new Map;class InternalDependencyContainer{constructor(R){this.parent=R;this._registry=new ve.default;this.interceptors=new _e.default;this.disposed=false;this.disposables=new Set}register(R,pe,Ae={lifecycle:be.default.Transient}){this.ensureNotDisposed();let he;if(!me.isProvider(pe)){he={useClass:pe}}else{he=pe}if(ge.isTokenProvider(he)){const pe=[R];let Ae=he;while(Ae!=null){const R=Ae.useToken;if(pe.includes(R)){throw new Error(`Token registration cycle detected! ${[...pe,R].join(" -> ")}`)}pe.push(R);const he=this._registry.get(R);if(he&&ge.isTokenProvider(he.provider)){Ae=he.provider}else{Ae=null}}}if(Ae.lifecycle===be.default.Singleton||Ae.lifecycle==be.default.ContainerScoped||Ae.lifecycle==be.default.ResolutionScoped){if(ge.isValueProvider(he)||ge.isFactoryProvider(he)){throw new Error(`Cannot use lifecycle "${be.default[Ae.lifecycle]}" with ValueProviders or FactoryProviders`)}}this._registry.set(R,{provider:he,options:Ae});return this}registerType(R,pe){this.ensureNotDisposed();if(ge.isNormalToken(pe)){return this.register(R,{useToken:pe})}return this.register(R,{useClass:pe})}registerInstance(R,pe){this.ensureNotDisposed();return this.register(R,{useValue:pe})}registerSingleton(R,pe){this.ensureNotDisposed();if(ge.isNormalToken(R)){if(ge.isNormalToken(pe)){return this.register(R,{useToken:pe},{lifecycle:be.default.Singleton})}else if(pe){return this.register(R,{useClass:pe},{lifecycle:be.default.Singleton})}throw new Error('Cannot register a type name as a singleton without a "to" token')}let Ae=R;if(pe&&!ge.isNormalToken(pe)){Ae=pe}return this.register(R,{useClass:Ae},{lifecycle:be.default.Singleton})}resolve(R,pe=new Ee.default){this.ensureNotDisposed();const Ae=this.getRegistration(R);if(!Ae&&ge.isNormalToken(R)){throw new Error(`Attempted to resolve unregistered dependency token: "${R.toString()}"`)}this.executePreResolutionInterceptor(R,"Single");if(Ae){const he=this.resolveRegistration(Ae,pe);this.executePostResolutionInterceptor(R,he,"Single");return he}if(ye.isConstructorToken(R)){const Ae=this.construct(R,pe);this.executePostResolutionInterceptor(R,Ae,"Single");return Ae}throw new Error("Attempted to construct an undefined constructor. Could mean a circular dependency problem. Try using `delay` function.")}executePreResolutionInterceptor(R,pe){if(this.interceptors.preResolution.has(R)){const Ae=[];for(const he of this.interceptors.preResolution.getAll(R)){if(he.options.frequency!="Once"){Ae.push(he)}he.callback(R,pe)}this.interceptors.preResolution.setAll(R,Ae)}}executePostResolutionInterceptor(R,pe,Ae){if(this.interceptors.postResolution.has(R)){const he=[];for(const ge of this.interceptors.postResolution.getAll(R)){if(ge.options.frequency!="Once"){he.push(ge)}ge.callback(R,pe,Ae)}this.interceptors.postResolution.setAll(R,he)}}resolveRegistration(R,pe){this.ensureNotDisposed();if(R.options.lifecycle===be.default.ResolutionScoped&&pe.scopedResolutions.has(R)){return pe.scopedResolutions.get(R)}const Ae=R.options.lifecycle===be.default.Singleton;const he=R.options.lifecycle===be.default.ContainerScoped;const me=Ae||he;let ye;if(ge.isValueProvider(R.provider)){ye=R.provider.useValue}else if(ge.isTokenProvider(R.provider)){ye=me?R.instance||(R.instance=this.resolve(R.provider.useToken,pe)):this.resolve(R.provider.useToken,pe)}else if(ge.isClassProvider(R.provider)){ye=me?R.instance||(R.instance=this.construct(R.provider.useClass,pe)):this.construct(R.provider.useClass,pe)}else if(ge.isFactoryProvider(R.provider)){ye=R.provider.useFactory(this)}else{ye=this.construct(R.provider,pe)}if(R.options.lifecycle===be.default.ResolutionScoped){pe.scopedResolutions.set(R,ye)}return ye}resolveAll(R,pe=new Ee.default){this.ensureNotDisposed();const Ae=this.getAllRegistrations(R);if(!Ae&&ge.isNormalToken(R)){throw new Error(`Attempted to resolve unregistered dependency token: "${R.toString()}"`)}this.executePreResolutionInterceptor(R,"All");if(Ae){const he=Ae.map((R=>this.resolveRegistration(R,pe)));this.executePostResolutionInterceptor(R,he,"All");return he}const he=[this.construct(R,pe)];this.executePostResolutionInterceptor(R,he,"All");return he}isRegistered(R,pe=false){this.ensureNotDisposed();return this._registry.has(R)||pe&&(this.parent||false)&&this.parent.isRegistered(R,true)}reset(){this.ensureNotDisposed();this._registry.clear();this.interceptors.preResolution.clear();this.interceptors.postResolution.clear()}clearInstances(){this.ensureNotDisposed();for(const[R,pe]of this._registry.entries()){this._registry.setAll(R,pe.filter((R=>!ge.isValueProvider(R.provider))).map((R=>{R.instance=undefined;return R})))}}createChildContainer(){this.ensureNotDisposed();const R=new InternalDependencyContainer(this);for(const[pe,Ae]of this._registry.entries()){if(Ae.some((({options:R})=>R.lifecycle===be.default.ContainerScoped))){R._registry.setAll(pe,Ae.map((R=>{if(R.options.lifecycle===be.default.ContainerScoped){return{provider:R.provider,options:R.options}}return R})))}}return R}beforeResolution(R,pe,Ae={frequency:"Always"}){this.interceptors.preResolution.set(R,{callback:pe,options:Ae})}afterResolution(R,pe,Ae={frequency:"Always"}){this.interceptors.postResolution.set(R,{callback:pe,options:Ae})}dispose(){return he.__awaiter(this,void 0,void 0,(function*(){this.disposed=true;const R=[];this.disposables.forEach((pe=>{const Ae=pe.dispose();if(Ae){R.push(Ae)}}));yield Promise.all(R)}))}getRegistration(R){if(this.isRegistered(R)){return this._registry.get(R)}if(this.parent){return this.parent.getRegistration(R)}return null}getAllRegistrations(R){if(this.isRegistered(R)){return this._registry.getAll(R)}if(this.parent){return this.parent.getAllRegistrations(R)}return null}construct(R,Ae){if(R instanceof we.DelayedConstructor){return R.createProxy((R=>this.resolve(R,Ae)))}const he=(()=>{const he=pe.typeInfo.get(R);if(!he||he.length===0){if(R.length===0){return new R}else{throw new Error(`TypeInfo not known for "${R.name}"`)}}const ge=he.map(this.resolveParams(Ae,R));return new R(...ge)})();if(Ie.isDisposable(he)){this.disposables.add(he)}return he}resolveParams(R,pe){return(Ae,he)=>{try{if(ye.isTokenDescriptor(Ae)){if(ye.isTransformDescriptor(Ae)){return Ae.multiple?this.resolve(Ae.transform).transform(this.resolveAll(Ae.token),...Ae.transformArgs):this.resolve(Ae.transform).transform(this.resolve(Ae.token,R),...Ae.transformArgs)}else{return Ae.multiple?this.resolveAll(Ae.token):this.resolve(Ae.token,R)}}else if(ye.isTransformDescriptor(Ae)){return this.resolve(Ae.transform,R).transform(this.resolve(Ae.token,R),...Ae.transformArgs)}return this.resolve(Ae,R)}catch(R){throw new Error(Ce.formatErrorCtor(pe,he,R))}}}ensureNotDisposed(){if(this.disposed){throw new Error("This container has been disposed, you cannot interact with a disposed container")}}}pe.instance=new InternalDependencyContainer;pe["default"]=pe.instance},87160:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.formatErrorCtor=void 0;function formatDependency(R,pe){if(R===null){return`at position #${pe}`}const Ae=R.split(",")[pe].trim();return`"${Ae}" at position #${pe}`}function composeErrorMessage(R,pe,Ae=" "){return[R,...pe.message.split("\n").map((R=>Ae+R))].join("\n")}function formatErrorCtor(R,pe,Ae){const[,he=null]=R.toString().match(/constructor\(([\w, ]+)\)/)||[];const ge=formatDependency(he,pe);return composeErrorMessage(`Cannot inject the dependency ${ge} of "${R.name}" constructor. Reason:`,Ae)}pe.formatErrorCtor=formatErrorCtor},16150:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});var he=Ae(20675);Object.defineProperty(pe,"instanceCachingFactory",{enumerable:true,get:function(){return he.default}});var ge=Ae(41368);Object.defineProperty(pe,"instancePerContainerCachingFactory",{enumerable:true,get:function(){return ge.default}});var me=Ae(57418);Object.defineProperty(pe,"predicateAwareClassFactory",{enumerable:true,get:function(){return me.default}})},20675:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});function instanceCachingFactory(R){let pe;return Ae=>{if(pe==undefined){pe=R(Ae)}return pe}}pe["default"]=instanceCachingFactory},41368:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});function instancePerContainerCachingFactory(R){const pe=new WeakMap;return Ae=>{let he=pe.get(Ae);if(he==undefined){he=R(Ae);pe.set(Ae,he)}return he}}pe["default"]=instancePerContainerCachingFactory},57418:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});function predicateAwareClassFactory(R,pe,Ae,he=true){let ge;let me;return ye=>{const ve=R(ye);if(!he||me!==ve){if(me=ve){ge=ye.resolve(pe)}else{ge=ye.resolve(Ae)}}return ge}}pe["default"]=predicateAwareClassFactory},71069:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});const he=Ae(61470);if(typeof Reflect==="undefined"||!Reflect.getMetadata){throw new Error(`tsyringe requires a reflect polyfill. Please add 'import "reflect-metadata"' to the top of your entry point.`)}var ge=Ae(46907);Object.defineProperty(pe,"Lifecycle",{enumerable:true,get:function(){return ge.Lifecycle}});he.__exportStar(Ae(16840),pe);he.__exportStar(Ae(16150),pe);he.__exportStar(Ae(11372),pe);var me=Ae(21782);Object.defineProperty(pe,"delay",{enumerable:true,get:function(){return me.delay}});var ye=Ae(87120);Object.defineProperty(pe,"container",{enumerable:true,get:function(){return ye.instance}})},21780:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.PostResolutionInterceptors=pe.PreResolutionInterceptors=void 0;const he=Ae(64653);class PreResolutionInterceptors extends he.default{}pe.PreResolutionInterceptors=PreResolutionInterceptors;class PostResolutionInterceptors extends he.default{}pe.PostResolutionInterceptors=PostResolutionInterceptors;class Interceptors{constructor(){this.preResolution=new PreResolutionInterceptors;this.postResolution=new PostResolutionInterceptors}}pe["default"]=Interceptors},21782:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.delay=pe.DelayedConstructor=void 0;class DelayedConstructor{constructor(R){this.wrap=R;this.reflectMethods=["get","getPrototypeOf","setPrototypeOf","getOwnPropertyDescriptor","defineProperty","has","set","deleteProperty","apply","construct","ownKeys"]}createProxy(R){const pe={};let Ae=false;let he;const delayedObject=()=>{if(!Ae){he=R(this.wrap());Ae=true}return he};return new Proxy(pe,this.createHandler(delayedObject))}createHandler(R){const pe={};const install=Ae=>{pe[Ae]=(...pe)=>{pe[0]=R();const he=Reflect[Ae];return he(...pe)}};this.reflectMethods.forEach(install);return pe}}pe.DelayedConstructor=DelayedConstructor;function delay(R){if(typeof R==="undefined"){throw new Error("Attempt to `delay` undefined. Constructor must be wrapped in a callback")}return new DelayedConstructor(R)}pe.delay=delay},43751:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.isClassProvider=void 0;function isClassProvider(R){return!!R.useClass}pe.isClassProvider=isClassProvider},55874:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.isFactoryProvider=void 0;function isFactoryProvider(R){return!!R.useFactory}pe.isFactoryProvider=isFactoryProvider},11372:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});var he=Ae(43751);Object.defineProperty(pe,"isClassProvider",{enumerable:true,get:function(){return he.isClassProvider}});var ge=Ae(55874);Object.defineProperty(pe,"isFactoryProvider",{enumerable:true,get:function(){return ge.isFactoryProvider}});var me=Ae(2032);Object.defineProperty(pe,"isNormalToken",{enumerable:true,get:function(){return me.isNormalToken}});var ye=Ae(96627);Object.defineProperty(pe,"isTokenProvider",{enumerable:true,get:function(){return ye.isTokenProvider}});var ve=Ae(76753);Object.defineProperty(pe,"isValueProvider",{enumerable:true,get:function(){return ve.isValueProvider}})},2032:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.isConstructorToken=pe.isTransformDescriptor=pe.isTokenDescriptor=pe.isNormalToken=void 0;const he=Ae(21782);function isNormalToken(R){return typeof R==="string"||typeof R==="symbol"}pe.isNormalToken=isNormalToken;function isTokenDescriptor(R){return typeof R==="object"&&"token"in R&&"multiple"in R}pe.isTokenDescriptor=isTokenDescriptor;function isTransformDescriptor(R){return typeof R==="object"&&"token"in R&&"transform"in R}pe.isTransformDescriptor=isTransformDescriptor;function isConstructorToken(R){return typeof R==="function"||R instanceof he.DelayedConstructor}pe.isConstructorToken=isConstructorToken},59177:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.isProvider=void 0;const he=Ae(43751);const ge=Ae(76753);const me=Ae(96627);const ye=Ae(55874);function isProvider(R){return he.isClassProvider(R)||ge.isValueProvider(R)||me.isTokenProvider(R)||ye.isFactoryProvider(R)}pe.isProvider=isProvider},96627:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.isTokenProvider=void 0;function isTokenProvider(R){return!!R.useToken}pe.isTokenProvider=isTokenProvider},76753:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.isValueProvider=void 0;function isValueProvider(R){return R.useValue!=undefined}pe.isValueProvider=isValueProvider},46939:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.defineInjectionTokenMetadata=pe.getParamInfo=pe.INJECTION_TOKEN_METADATA_KEY=void 0;pe.INJECTION_TOKEN_METADATA_KEY="injectionTokens";function getParamInfo(R){const Ae=Reflect.getMetadata("design:paramtypes",R)||[];const he=Reflect.getOwnMetadata(pe.INJECTION_TOKEN_METADATA_KEY,R)||{};Object.keys(he).forEach((R=>{Ae[+R]=he[R]}));return Ae}pe.getParamInfo=getParamInfo;function defineInjectionTokenMetadata(R,Ae){return function(he,ge,me){const ye=Reflect.getOwnMetadata(pe.INJECTION_TOKEN_METADATA_KEY,he)||{};ye[me]=Ae?{token:R,transform:Ae.transformToken,transformArgs:Ae.args||[]}:R;Reflect.defineMetadata(pe.INJECTION_TOKEN_METADATA_KEY,ye,he)}}pe.defineInjectionTokenMetadata=defineInjectionTokenMetadata},64653:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});class RegistryBase{constructor(){this._registryMap=new Map}entries(){return this._registryMap.entries()}getAll(R){this.ensure(R);return this._registryMap.get(R)}get(R){this.ensure(R);const pe=this._registryMap.get(R);return pe[pe.length-1]||null}set(R,pe){this.ensure(R);this._registryMap.get(R).push(pe)}setAll(R,pe){this._registryMap.set(R,pe)}has(R){this.ensure(R);return this._registryMap.get(R).length>0}clear(){this._registryMap.clear()}ensure(R){if(!this._registryMap.has(R)){this._registryMap.set(R,[])}}}pe["default"]=RegistryBase},75941:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});const he=Ae(64653);class Registry extends he.default{}pe["default"]=Registry},64330:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});class ResolutionContext{constructor(){this.scopedResolutions=new Map}}pe["default"]=ResolutionContext},358:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.isDisposable=void 0;function isDisposable(R){if(typeof R.dispose!=="function")return false;const pe=R.dispose;if(pe.length>0){return false}return true}pe.isDisposable=isDisposable},46907:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});var he=Ae(56501);Object.defineProperty(pe,"Lifecycle",{enumerable:true,get:function(){return he.default}})},56501:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});var Ae;(function(R){R[R["Transient"]=0]="Transient";R[R["Singleton"]=1]="Singleton";R[R["ResolutionScoped"]=2]="ResolutionScoped";R[R["ContainerScoped"]=3]="ContainerScoped"})(Ae||(Ae={}));pe["default"]=Ae},61470:R=>{ /*! ***************************************************************************** Copyright (c) Microsoft Corporation. @@ -216,11 +197,9 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */ -var ie;var oe;var se;var ae;var ce;var ue;var le;var fe;var de;var pe;var he;var Ae;var ge;var me;var ye;var ve;var be;var we;var _e;var Ee;var Ce;var Ie;var Se;(function(ie){var oe=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd){define("tslib",["exports"],(function(re){ie(createExporter(oe,createExporter(re)))}))}else if(true&&typeof re.exports==="object"){ie(createExporter(oe,createExporter(re.exports)))}else{ie(createExporter(oe))}function createExporter(re,ie){if(re!==oe){if(typeof Object.create==="function"){Object.defineProperty(re,"__esModule",{value:true})}else{re.__esModule=true}}return function(oe,se){return re[oe]=ie?ie(oe,se):se}}})((function(re){var Be=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,ie){re.__proto__=ie}||function(re,ie){for(var oe in ie)if(ie.hasOwnProperty(oe))re[oe]=ie[oe]};ie=function(re,ie){Be(re,ie);function __(){this.constructor=re}re.prototype=ie===null?Object.create(ie):(__.prototype=ie.prototype,new __)};oe=Object.assign||function(re){for(var ie,oe=1,se=arguments.length;oe=0;le--)if(ue=re[le])ce=(ae<3?ue(ce):ae>3?ue(ie,oe,ce):ue(ie,oe))||ce;return ae>3&&ce&&Object.defineProperty(ie,oe,ce),ce};ce=function(re,ie){return function(oe,se){ie(oe,se,re)}};ue=function(re,ie){if(typeof Reflect==="object"&&typeof Reflect.metadata==="function")return Reflect.metadata(re,ie)};le=function(re,ie,oe,se){function adopt(re){return re instanceof oe?re:new oe((function(ie){ie(re)}))}return new(oe||(oe=Promise))((function(oe,ae){function fulfilled(re){try{step(se.next(re))}catch(re){ae(re)}}function rejected(re){try{step(se["throw"](re))}catch(re){ae(re)}}function step(re){re.done?oe(re.value):adopt(re.value).then(fulfilled,rejected)}step((se=se.apply(re,ie||[])).next())}))};fe=function(re,ie){var oe={label:0,sent:function(){if(ce[0]&1)throw ce[1];return ce[1]},trys:[],ops:[]},se,ae,ce,ue;return ue={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol==="function"&&(ue[Symbol.iterator]=function(){return this}),ue;function verb(re){return function(ie){return step([re,ie])}}function step(ue){if(se)throw new TypeError("Generator is already executing.");while(oe)try{if(se=1,ae&&(ce=ue[0]&2?ae["return"]:ue[0]?ae["throw"]||((ce=ae["return"])&&ce.call(ae),0):ae.next)&&!(ce=ce.call(ae,ue[1])).done)return ce;if(ae=0,ce)ue=[ue[0]&2,ce.value];switch(ue[0]){case 0:case 1:ce=ue;break;case 4:oe.label++;return{value:ue[1],done:false};case 5:oe.label++;ae=ue[1];ue=[0];continue;case 7:ue=oe.ops.pop();oe.trys.pop();continue;default:if(!(ce=oe.trys,ce=ce.length>0&&ce[ce.length-1])&&(ue[0]===6||ue[0]===2)){oe=0;continue}if(ue[0]===3&&(!ce||ue[1]>ce[0]&&ue[1]=re.length)re=void 0;return{value:re&&re[se++],done:!re}}};throw new TypeError(ie?"Object is not iterable.":"Symbol.iterator is not defined.")};he=function(re,ie){var oe=typeof Symbol==="function"&&re[Symbol.iterator];if(!oe)return re;var se=oe.call(re),ae,ce=[],ue;try{while((ie===void 0||ie-- >0)&&!(ae=se.next()).done)ce.push(ae.value)}catch(re){ue={error:re}}finally{try{if(ae&&!ae.done&&(oe=se["return"]))oe.call(se)}finally{if(ue)throw ue.error}}return ce};Ae=function(){for(var re=[],ie=0;ie1||resume(re,ie)}))}}function resume(re,ie){try{step(se[re](ie))}catch(re){settle(ce[0][3],re)}}function step(re){re.value instanceof me?Promise.resolve(re.value.v).then(fulfill,reject):settle(ce[0][2],re)}function fulfill(re){resume("next",re)}function reject(re){resume("throw",re)}function settle(re,ie){if(re(ie),ce.shift(),ce.length)resume(ce[0][0],ce[0][1])}};ve=function(re){var ie,oe;return ie={},verb("next"),verb("throw",(function(re){throw re})),verb("return"),ie[Symbol.iterator]=function(){return this},ie;function verb(se,ae){ie[se]=re[se]?function(ie){return(oe=!oe)?{value:me(re[se](ie)),done:se==="return"}:ae?ae(ie):ie}:ae}};be=function(re){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ie=re[Symbol.asyncIterator],oe;return ie?ie.call(re):(re=typeof pe==="function"?pe(re):re[Symbol.iterator](),oe={},verb("next"),verb("throw"),verb("return"),oe[Symbol.asyncIterator]=function(){return this},oe);function verb(ie){oe[ie]=re[ie]&&function(oe){return new Promise((function(se,ae){oe=re[ie](oe),settle(se,ae,oe.done,oe.value)}))}}function settle(re,ie,oe,se){Promise.resolve(se).then((function(ie){re({value:ie,done:oe})}),ie)}};we=function(re,ie){if(Object.defineProperty){Object.defineProperty(re,"raw",{value:ie})}else{re.raw=ie}return re};_e=function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(Object.hasOwnProperty.call(re,oe))ie[oe]=re[oe];ie["default"]=re;return ie};Ee=function(re){return re&&re.__esModule?re:{default:re}};Ce=function(re,ie){if(!ie.has(re)){throw new TypeError("attempted to get private field on non-instance")}return ie.get(re)};Ie=function(re,ie,oe){if(!ie.has(re)){throw new TypeError("attempted to set private field on non-instance")}ie.set(re,oe);return oe};re("__extends",ie);re("__assign",oe);re("__rest",se);re("__decorate",ae);re("__param",ce);re("__metadata",ue);re("__awaiter",le);re("__generator",fe);re("__exportStar",de);re("__createBinding",Se);re("__values",pe);re("__read",he);re("__spread",Ae);re("__spreadArrays",ge);re("__await",me);re("__asyncGenerator",ye);re("__asyncDelegator",ve);re("__asyncValues",be);re("__makeTemplateObject",we);re("__importStar",_e);re("__importDefault",Ee);re("__classPrivateFieldGet",Ce);re("__classPrivateFieldSet",Ie)}))},21701:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(46939);const ae=oe(87120);const ce=oe(2032);const ue=oe(87160);function autoInjectable(){return function(re){const ie=se.getParamInfo(re);return class extends re{constructor(...oe){super(...oe.concat(ie.slice(oe.length).map(((ie,se)=>{try{if(ce.isTokenDescriptor(ie)){if(ce.isTransformDescriptor(ie)){return ie.multiple?ae.instance.resolve(ie.transform).transform(ae.instance.resolveAll(ie.token),...ie.transformArgs):ae.instance.resolve(ie.transform).transform(ae.instance.resolve(ie.token),...ie.transformArgs)}else{return ie.multiple?ae.instance.resolveAll(ie.token):ae.instance.resolve(ie.token)}}else if(ce.isTransformDescriptor(ie)){return ae.instance.resolve(ie.transform).transform(ae.instance.resolve(ie.token),...ie.transformArgs)}return ae.instance.resolve(ie)}catch(ie){const ae=se+oe.length;throw new Error(ue.formatErrorCtor(re,ae,ie))}}))))}}}}ie["default"]=autoInjectable},16840:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});var se=oe(21701);Object.defineProperty(ie,"autoInjectable",{enumerable:true,get:function(){return se.default}});var ae=oe(92468);Object.defineProperty(ie,"inject",{enumerable:true,get:function(){return ae.default}});var ce=oe(9394);Object.defineProperty(ie,"injectable",{enumerable:true,get:function(){return ce.default}});var ue=oe(79297);Object.defineProperty(ie,"registry",{enumerable:true,get:function(){return ue.default}});var le=oe(93384);Object.defineProperty(ie,"singleton",{enumerable:true,get:function(){return le.default}});var fe=oe(60754);Object.defineProperty(ie,"injectAll",{enumerable:true,get:function(){return fe.default}});var de=oe(35777);Object.defineProperty(ie,"injectAllWithTransform",{enumerable:true,get:function(){return de.default}});var pe=oe(49882);Object.defineProperty(ie,"injectWithTransform",{enumerable:true,get:function(){return pe.default}});var he=oe(92072);Object.defineProperty(ie,"scoped",{enumerable:true,get:function(){return he.default}})},35777:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(46939);function injectAllWithTransform(re,ie,...oe){const ae={token:re,multiple:true,transform:ie,transformArgs:oe};return se.defineInjectionTokenMetadata(ae)}ie["default"]=injectAllWithTransform},60754:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(46939);function injectAll(re){const ie={token:re,multiple:true};return se.defineInjectionTokenMetadata(ie)}ie["default"]=injectAll},49882:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(46939);function injectWithTransform(re,ie,...oe){return se.defineInjectionTokenMetadata(re,{transformToken:ie,args:oe})}ie["default"]=injectWithTransform},92468:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(46939);function inject(re){return se.defineInjectionTokenMetadata(re)}ie["default"]=inject},9394:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(46939);const ae=oe(87120);function injectable(){return function(re){ae.typeInfo.set(re,se.getParamInfo(re))}}ie["default"]=injectable},79297:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(4351);const ae=oe(87120);function registry(re=[]){return function(ie){re.forEach((re=>{var{token:ie,options:oe}=re,ce=se.__rest(re,["token","options"]);return ae.instance.register(ie,ce,oe)}));return ie}}ie["default"]=registry},92072:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(9394);const ae=oe(87120);function scoped(re,ie){return function(oe){se.default()(oe);ae.instance.register(ie||oe,oe,{lifecycle:re})}}ie["default"]=scoped},93384:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(9394);const ae=oe(87120);function singleton(){return function(re){se.default()(re);ae.instance.registerSingleton(re)}}ie["default"]=singleton},87120:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.instance=ie.typeInfo=void 0;const se=oe(4351);const ae=oe(11372);const ce=oe(59177);const ue=oe(2032);const le=oe(75941);const fe=oe(56501);const de=oe(64330);const pe=oe(87160);const he=oe(21782);const Ae=oe(358);const ge=oe(21780);ie.typeInfo=new Map;class InternalDependencyContainer{constructor(re){this.parent=re;this._registry=new le.default;this.interceptors=new ge.default;this.disposed=false;this.disposables=new Set}register(re,ie,oe={lifecycle:fe.default.Transient}){this.ensureNotDisposed();let se;if(!ce.isProvider(ie)){se={useClass:ie}}else{se=ie}if(ae.isTokenProvider(se)){const ie=[re];let oe=se;while(oe!=null){const re=oe.useToken;if(ie.includes(re)){throw new Error(`Token registration cycle detected! ${[...ie,re].join(" -> ")}`)}ie.push(re);const se=this._registry.get(re);if(se&&ae.isTokenProvider(se.provider)){oe=se.provider}else{oe=null}}}if(oe.lifecycle===fe.default.Singleton||oe.lifecycle==fe.default.ContainerScoped||oe.lifecycle==fe.default.ResolutionScoped){if(ae.isValueProvider(se)||ae.isFactoryProvider(se)){throw new Error(`Cannot use lifecycle "${fe.default[oe.lifecycle]}" with ValueProviders or FactoryProviders`)}}this._registry.set(re,{provider:se,options:oe});return this}registerType(re,ie){this.ensureNotDisposed();if(ae.isNormalToken(ie)){return this.register(re,{useToken:ie})}return this.register(re,{useClass:ie})}registerInstance(re,ie){this.ensureNotDisposed();return this.register(re,{useValue:ie})}registerSingleton(re,ie){this.ensureNotDisposed();if(ae.isNormalToken(re)){if(ae.isNormalToken(ie)){return this.register(re,{useToken:ie},{lifecycle:fe.default.Singleton})}else if(ie){return this.register(re,{useClass:ie},{lifecycle:fe.default.Singleton})}throw new Error('Cannot register a type name as a singleton without a "to" token')}let oe=re;if(ie&&!ae.isNormalToken(ie)){oe=ie}return this.register(re,{useClass:oe},{lifecycle:fe.default.Singleton})}resolve(re,ie=new de.default){this.ensureNotDisposed();const oe=this.getRegistration(re);if(!oe&&ae.isNormalToken(re)){throw new Error(`Attempted to resolve unregistered dependency token: "${re.toString()}"`)}this.executePreResolutionInterceptor(re,"Single");if(oe){const se=this.resolveRegistration(oe,ie);this.executePostResolutionInterceptor(re,se,"Single");return se}if(ue.isConstructorToken(re)){const oe=this.construct(re,ie);this.executePostResolutionInterceptor(re,oe,"Single");return oe}throw new Error("Attempted to construct an undefined constructor. Could mean a circular dependency problem. Try using `delay` function.")}executePreResolutionInterceptor(re,ie){if(this.interceptors.preResolution.has(re)){const oe=[];for(const se of this.interceptors.preResolution.getAll(re)){if(se.options.frequency!="Once"){oe.push(se)}se.callback(re,ie)}this.interceptors.preResolution.setAll(re,oe)}}executePostResolutionInterceptor(re,ie,oe){if(this.interceptors.postResolution.has(re)){const se=[];for(const ae of this.interceptors.postResolution.getAll(re)){if(ae.options.frequency!="Once"){se.push(ae)}ae.callback(re,ie,oe)}this.interceptors.postResolution.setAll(re,se)}}resolveRegistration(re,ie){this.ensureNotDisposed();if(re.options.lifecycle===fe.default.ResolutionScoped&&ie.scopedResolutions.has(re)){return ie.scopedResolutions.get(re)}const oe=re.options.lifecycle===fe.default.Singleton;const se=re.options.lifecycle===fe.default.ContainerScoped;const ce=oe||se;let ue;if(ae.isValueProvider(re.provider)){ue=re.provider.useValue}else if(ae.isTokenProvider(re.provider)){ue=ce?re.instance||(re.instance=this.resolve(re.provider.useToken,ie)):this.resolve(re.provider.useToken,ie)}else if(ae.isClassProvider(re.provider)){ue=ce?re.instance||(re.instance=this.construct(re.provider.useClass,ie)):this.construct(re.provider.useClass,ie)}else if(ae.isFactoryProvider(re.provider)){ue=re.provider.useFactory(this)}else{ue=this.construct(re.provider,ie)}if(re.options.lifecycle===fe.default.ResolutionScoped){ie.scopedResolutions.set(re,ue)}return ue}resolveAll(re,ie=new de.default){this.ensureNotDisposed();const oe=this.getAllRegistrations(re);if(!oe&&ae.isNormalToken(re)){throw new Error(`Attempted to resolve unregistered dependency token: "${re.toString()}"`)}this.executePreResolutionInterceptor(re,"All");if(oe){const se=oe.map((re=>this.resolveRegistration(re,ie)));this.executePostResolutionInterceptor(re,se,"All");return se}const se=[this.construct(re,ie)];this.executePostResolutionInterceptor(re,se,"All");return se}isRegistered(re,ie=false){this.ensureNotDisposed();return this._registry.has(re)||ie&&(this.parent||false)&&this.parent.isRegistered(re,true)}reset(){this.ensureNotDisposed();this._registry.clear();this.interceptors.preResolution.clear();this.interceptors.postResolution.clear()}clearInstances(){this.ensureNotDisposed();for(const[re,ie]of this._registry.entries()){this._registry.setAll(re,ie.filter((re=>!ae.isValueProvider(re.provider))).map((re=>{re.instance=undefined;return re})))}}createChildContainer(){this.ensureNotDisposed();const re=new InternalDependencyContainer(this);for(const[ie,oe]of this._registry.entries()){if(oe.some((({options:re})=>re.lifecycle===fe.default.ContainerScoped))){re._registry.setAll(ie,oe.map((re=>{if(re.options.lifecycle===fe.default.ContainerScoped){return{provider:re.provider,options:re.options}}return re})))}}return re}beforeResolution(re,ie,oe={frequency:"Always"}){this.interceptors.preResolution.set(re,{callback:ie,options:oe})}afterResolution(re,ie,oe={frequency:"Always"}){this.interceptors.postResolution.set(re,{callback:ie,options:oe})}dispose(){return se.__awaiter(this,void 0,void 0,(function*(){this.disposed=true;const re=[];this.disposables.forEach((ie=>{const oe=ie.dispose();if(oe){re.push(oe)}}));yield Promise.all(re)}))}getRegistration(re){if(this.isRegistered(re)){return this._registry.get(re)}if(this.parent){return this.parent.getRegistration(re)}return null}getAllRegistrations(re){if(this.isRegistered(re)){return this._registry.getAll(re)}if(this.parent){return this.parent.getAllRegistrations(re)}return null}construct(re,oe){if(re instanceof he.DelayedConstructor){return re.createProxy((re=>this.resolve(re,oe)))}const se=(()=>{const se=ie.typeInfo.get(re);if(!se||se.length===0){if(re.length===0){return new re}else{throw new Error(`TypeInfo not known for "${re.name}"`)}}const ae=se.map(this.resolveParams(oe,re));return new re(...ae)})();if(Ae.isDisposable(se)){this.disposables.add(se)}return se}resolveParams(re,ie){return(oe,se)=>{try{if(ue.isTokenDescriptor(oe)){if(ue.isTransformDescriptor(oe)){return oe.multiple?this.resolve(oe.transform).transform(this.resolveAll(oe.token),...oe.transformArgs):this.resolve(oe.transform).transform(this.resolve(oe.token,re),...oe.transformArgs)}else{return oe.multiple?this.resolveAll(oe.token):this.resolve(oe.token,re)}}else if(ue.isTransformDescriptor(oe)){return this.resolve(oe.transform,re).transform(this.resolve(oe.token,re),...oe.transformArgs)}return this.resolve(oe,re)}catch(re){throw new Error(pe.formatErrorCtor(ie,se,re))}}}ensureNotDisposed(){if(this.disposed){throw new Error("This container has been disposed, you cannot interact with a disposed container")}}}ie.instance=new InternalDependencyContainer;ie["default"]=ie.instance},87160:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.formatErrorCtor=void 0;function formatDependency(re,ie){if(re===null){return`at position #${ie}`}const oe=re.split(",")[ie].trim();return`"${oe}" at position #${ie}`}function composeErrorMessage(re,ie,oe=" "){return[re,...ie.message.split("\n").map((re=>oe+re))].join("\n")}function formatErrorCtor(re,ie,oe){const[,se=null]=re.toString().match(/constructor\(([\w, ]+)\)/)||[];const ae=formatDependency(se,ie);return composeErrorMessage(`Cannot inject the dependency ${ae} of "${re.name}" constructor. Reason:`,oe)}ie.formatErrorCtor=formatErrorCtor},16150:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});var se=oe(20675);Object.defineProperty(ie,"instanceCachingFactory",{enumerable:true,get:function(){return se.default}});var ae=oe(41368);Object.defineProperty(ie,"instancePerContainerCachingFactory",{enumerable:true,get:function(){return ae.default}});var ce=oe(57418);Object.defineProperty(ie,"predicateAwareClassFactory",{enumerable:true,get:function(){return ce.default}})},20675:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});function instanceCachingFactory(re){let ie;return oe=>{if(ie==undefined){ie=re(oe)}return ie}}ie["default"]=instanceCachingFactory},41368:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});function instancePerContainerCachingFactory(re){const ie=new WeakMap;return oe=>{let se=ie.get(oe);if(se==undefined){se=re(oe);ie.set(oe,se)}return se}}ie["default"]=instancePerContainerCachingFactory},57418:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});function predicateAwareClassFactory(re,ie,oe,se=true){let ae;let ce;return ue=>{const le=re(ue);if(!se||ce!==le){if(ce=le){ae=ue.resolve(ie)}else{ae=ue.resolve(oe)}}return ae}}ie["default"]=predicateAwareClassFactory},71069:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(4351);if(typeof Reflect==="undefined"||!Reflect.getMetadata){throw new Error(`tsyringe requires a reflect polyfill. Please add 'import "reflect-metadata"' to the top of your entry point.`)}var ae=oe(46907);Object.defineProperty(ie,"Lifecycle",{enumerable:true,get:function(){return ae.Lifecycle}});se.__exportStar(oe(16840),ie);se.__exportStar(oe(16150),ie);se.__exportStar(oe(11372),ie);var ce=oe(21782);Object.defineProperty(ie,"delay",{enumerable:true,get:function(){return ce.delay}});var ue=oe(87120);Object.defineProperty(ie,"container",{enumerable:true,get:function(){return ue.instance}})},21780:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.PostResolutionInterceptors=ie.PreResolutionInterceptors=void 0;const se=oe(64653);class PreResolutionInterceptors extends se.default{}ie.PreResolutionInterceptors=PreResolutionInterceptors;class PostResolutionInterceptors extends se.default{}ie.PostResolutionInterceptors=PostResolutionInterceptors;class Interceptors{constructor(){this.preResolution=new PreResolutionInterceptors;this.postResolution=new PostResolutionInterceptors}}ie["default"]=Interceptors},21782:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.delay=ie.DelayedConstructor=void 0;class DelayedConstructor{constructor(re){this.wrap=re;this.reflectMethods=["get","getPrototypeOf","setPrototypeOf","getOwnPropertyDescriptor","defineProperty","has","set","deleteProperty","apply","construct","ownKeys"]}createProxy(re){const ie={};let oe=false;let se;const delayedObject=()=>{if(!oe){se=re(this.wrap());oe=true}return se};return new Proxy(ie,this.createHandler(delayedObject))}createHandler(re){const ie={};const install=oe=>{ie[oe]=(...ie)=>{ie[0]=re();const se=Reflect[oe];return se(...ie)}};this.reflectMethods.forEach(install);return ie}}ie.DelayedConstructor=DelayedConstructor;function delay(re){if(typeof re==="undefined"){throw new Error("Attempt to `delay` undefined. Constructor must be wrapped in a callback")}return new DelayedConstructor(re)}ie.delay=delay},43751:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.isClassProvider=void 0;function isClassProvider(re){return!!re.useClass}ie.isClassProvider=isClassProvider},55874:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.isFactoryProvider=void 0;function isFactoryProvider(re){return!!re.useFactory}ie.isFactoryProvider=isFactoryProvider},11372:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});var se=oe(43751);Object.defineProperty(ie,"isClassProvider",{enumerable:true,get:function(){return se.isClassProvider}});var ae=oe(55874);Object.defineProperty(ie,"isFactoryProvider",{enumerable:true,get:function(){return ae.isFactoryProvider}});var ce=oe(2032);Object.defineProperty(ie,"isNormalToken",{enumerable:true,get:function(){return ce.isNormalToken}});var ue=oe(96627);Object.defineProperty(ie,"isTokenProvider",{enumerable:true,get:function(){return ue.isTokenProvider}});var le=oe(76753);Object.defineProperty(ie,"isValueProvider",{enumerable:true,get:function(){return le.isValueProvider}})},2032:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.isConstructorToken=ie.isTransformDescriptor=ie.isTokenDescriptor=ie.isNormalToken=void 0;const se=oe(21782);function isNormalToken(re){return typeof re==="string"||typeof re==="symbol"}ie.isNormalToken=isNormalToken;function isTokenDescriptor(re){return typeof re==="object"&&"token"in re&&"multiple"in re}ie.isTokenDescriptor=isTokenDescriptor;function isTransformDescriptor(re){return typeof re==="object"&&"token"in re&&"transform"in re}ie.isTransformDescriptor=isTransformDescriptor;function isConstructorToken(re){return typeof re==="function"||re instanceof se.DelayedConstructor}ie.isConstructorToken=isConstructorToken},59177:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.isProvider=void 0;const se=oe(43751);const ae=oe(76753);const ce=oe(96627);const ue=oe(55874);function isProvider(re){return se.isClassProvider(re)||ae.isValueProvider(re)||ce.isTokenProvider(re)||ue.isFactoryProvider(re)}ie.isProvider=isProvider},96627:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.isTokenProvider=void 0;function isTokenProvider(re){return!!re.useToken}ie.isTokenProvider=isTokenProvider},76753:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.isValueProvider=void 0;function isValueProvider(re){return re.useValue!=undefined}ie.isValueProvider=isValueProvider},46939:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.defineInjectionTokenMetadata=ie.getParamInfo=ie.INJECTION_TOKEN_METADATA_KEY=void 0;ie.INJECTION_TOKEN_METADATA_KEY="injectionTokens";function getParamInfo(re){const oe=Reflect.getMetadata("design:paramtypes",re)||[];const se=Reflect.getOwnMetadata(ie.INJECTION_TOKEN_METADATA_KEY,re)||{};Object.keys(se).forEach((re=>{oe[+re]=se[re]}));return oe}ie.getParamInfo=getParamInfo;function defineInjectionTokenMetadata(re,oe){return function(se,ae,ce){const ue=Reflect.getOwnMetadata(ie.INJECTION_TOKEN_METADATA_KEY,se)||{};ue[ce]=oe?{token:re,transform:oe.transformToken,transformArgs:oe.args||[]}:re;Reflect.defineMetadata(ie.INJECTION_TOKEN_METADATA_KEY,ue,se)}}ie.defineInjectionTokenMetadata=defineInjectionTokenMetadata},64653:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});class RegistryBase{constructor(){this._registryMap=new Map}entries(){return this._registryMap.entries()}getAll(re){this.ensure(re);return this._registryMap.get(re)}get(re){this.ensure(re);const ie=this._registryMap.get(re);return ie[ie.length-1]||null}set(re,ie){this.ensure(re);this._registryMap.get(re).push(ie)}setAll(re,ie){this._registryMap.set(re,ie)}has(re){this.ensure(re);return this._registryMap.get(re).length>0}clear(){this._registryMap.clear()}ensure(re){if(!this._registryMap.has(re)){this._registryMap.set(re,[])}}}ie["default"]=RegistryBase},75941:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(64653);class Registry extends se.default{}ie["default"]=Registry},64330:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});class ResolutionContext{constructor(){this.scopedResolutions=new Map}}ie["default"]=ResolutionContext},358:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.isDisposable=void 0;function isDisposable(re){if(typeof re.dispose!=="function")return false;const ie=re.dispose;if(ie.length>0){return false}return true}ie.isDisposable=isDisposable},46907:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});var se=oe(56501);Object.defineProperty(ie,"Lifecycle",{enumerable:true,get:function(){return se.default}})},56501:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});var oe;(function(re){re[re["Transient"]=0]="Transient";re[re["Singleton"]=1]="Singleton";re[re["ResolutionScoped"]=2]="ResolutionScoped";re[re["ContainerScoped"]=3]="ContainerScoped"})(oe||(oe={}));ie["default"]=oe},74294:(re,ie,oe)=>{re.exports=oe(54219)},54219:(re,ie,oe)=>{"use strict";var se=oe(41808);var ae=oe(24404);var ce=oe(13685);var ue=oe(95687);var le=oe(82361);var fe=oe(39491);var de=oe(73837);ie.httpOverHttp=httpOverHttp;ie.httpsOverHttp=httpsOverHttp;ie.httpOverHttps=httpOverHttps;ie.httpsOverHttps=httpsOverHttps;function httpOverHttp(re){var ie=new TunnelingAgent(re);ie.request=ce.request;return ie}function httpsOverHttp(re){var ie=new TunnelingAgent(re);ie.request=ce.request;ie.createSocket=createSecureSocket;ie.defaultPort=443;return ie}function httpOverHttps(re){var ie=new TunnelingAgent(re);ie.request=ue.request;return ie}function httpsOverHttps(re){var ie=new TunnelingAgent(re);ie.request=ue.request;ie.createSocket=createSecureSocket;ie.defaultPort=443;return ie}function TunnelingAgent(re){var ie=this;ie.options=re||{};ie.proxyOptions=ie.options.proxy||{};ie.maxSockets=ie.options.maxSockets||ce.Agent.defaultMaxSockets;ie.requests=[];ie.sockets=[];ie.on("free",(function onFree(re,oe,se,ae){var ce=toOptions(oe,se,ae);for(var ue=0,le=ie.requests.length;ue=this.maxSockets){ae.requests.push(ce);return}ae.createSocket(ce,(function(ie){ie.on("free",onFree);ie.on("close",onCloseOrRemove);ie.on("agentRemove",onCloseOrRemove);re.onSocket(ie);function onFree(){ae.emit("free",ie,ce)}function onCloseOrRemove(re){ae.removeSocket(ie);ie.removeListener("free",onFree);ie.removeListener("close",onCloseOrRemove);ie.removeListener("agentRemove",onCloseOrRemove)}}))};TunnelingAgent.prototype.createSocket=function createSocket(re,ie){var oe=this;var se={};oe.sockets.push(se);var ae=mergeOptions({},oe.proxyOptions,{method:"CONNECT",path:re.host+":"+re.port,agent:false,headers:{host:re.host+":"+re.port}});if(re.localAddress){ae.localAddress=re.localAddress}if(ae.proxyAuth){ae.headers=ae.headers||{};ae.headers["Proxy-Authorization"]="Basic "+new Buffer(ae.proxyAuth).toString("base64")}pe("making CONNECT request");var ce=oe.request(ae);ce.useChunkedEncodingByDefault=false;ce.once("response",onResponse);ce.once("upgrade",onUpgrade);ce.once("connect",onConnect);ce.once("error",onError);ce.end();function onResponse(re){re.upgrade=true}function onUpgrade(re,ie,oe){process.nextTick((function(){onConnect(re,ie,oe)}))}function onConnect(ae,ue,le){ce.removeAllListeners();ue.removeAllListeners();if(ae.statusCode!==200){pe("tunneling socket could not be established, statusCode=%d",ae.statusCode);ue.destroy();var fe=new Error("tunneling socket could not be established, "+"statusCode="+ae.statusCode);fe.code="ECONNRESET";re.request.emit("error",fe);oe.removeSocket(se);return}if(le.length>0){pe("got illegal response body from proxy");ue.destroy();var fe=new Error("got illegal response body from proxy");fe.code="ECONNRESET";re.request.emit("error",fe);oe.removeSocket(se);return}pe("tunneling connection has established");oe.sockets[oe.sockets.indexOf(se)]=ue;return ie(ue)}function onError(ie){ce.removeAllListeners();pe("tunneling socket could not be established, cause=%s\n",ie.message,ie.stack);var ae=new Error("tunneling socket could not be established, "+"cause="+ie.message);ae.code="ECONNRESET";re.request.emit("error",ae);oe.removeSocket(se)}};TunnelingAgent.prototype.removeSocket=function removeSocket(re){var ie=this.sockets.indexOf(re);if(ie===-1){return}this.sockets.splice(ie,1);var oe=this.requests.shift();if(oe){this.createSocket(oe,(function(re){oe.request.onSocket(re)}))}};function createSecureSocket(re,ie){var oe=this;TunnelingAgent.prototype.createSocket.call(oe,re,(function(se){var ce=re.request.getHeader("host");var ue=mergeOptions({},oe.options,{socket:se,servername:ce?ce.replace(/:.*$/,""):re.host});var le=ae.connect(0,ue);oe.sockets[oe.sockets.indexOf(se)]=le;ie(le)}))}function toOptions(re,ie,oe){if(typeof re==="string"){return{host:re,port:ie,localAddress:oe}}return re}function mergeOptions(re){for(var ie=1,oe=arguments.length;ie{"use strict";const se=oe(33598);const ae=oe(60412);const ce=oe(48045);const ue=oe(4634);const le=oe(37931);const fe=oe(7890);const de=oe(83983);const{InvalidArgumentError:pe}=ce;const he=oe(44059);const Ae=oe(82067);const ge=oe(58687);const me=oe(66771);const ye=oe(26193);const ve=oe(50888);const be=oe(97858);const{getGlobalDispatcher:we,setGlobalDispatcher:_e}=oe(21892);const Ee=oe(46930);const Ce=oe(72860);const Ie=oe(38861);let Se;try{oe(6113);Se=true}catch{Se=false}Object.assign(ae.prototype,he);re.exports.Dispatcher=ae;re.exports.Client=se;re.exports.Pool=ue;re.exports.BalancedPool=le;re.exports.Agent=fe;re.exports.ProxyAgent=be;re.exports.DecoratorHandler=Ee;re.exports.RedirectHandler=Ce;re.exports.createRedirectInterceptor=Ie;re.exports.buildConnector=Ae;re.exports.errors=ce;function makeDispatcher(re){return(ie,oe,se)=>{if(typeof oe==="function"){se=oe;oe=null}if(!ie||typeof ie!=="string"&&typeof ie!=="object"&&!(ie instanceof URL)){throw new pe("invalid url")}if(oe!=null&&typeof oe!=="object"){throw new pe("invalid opts")}if(oe&&oe.path!=null){if(typeof oe.path!=="string"){throw new pe("invalid opts.path")}let re=oe.path;if(!oe.path.startsWith("/")){re=`/${re}`}ie=new URL(de.parseOrigin(ie).origin+re)}else{if(!oe){oe=typeof ie==="object"?ie:{}}ie=de.parseURL(ie)}const{agent:ae,dispatcher:ce=we()}=oe;if(ae){throw new pe("unsupported opts.agent. Did you mean opts.client?")}return re.call(ce,{...oe,origin:ie.origin,path:ie.search?`${ie.pathname}${ie.search}`:ie.pathname,method:oe.method||(oe.body?"PUT":"GET")},se)}}re.exports.setGlobalDispatcher=_e;re.exports.getGlobalDispatcher=we;if(de.nodeMajor>16||de.nodeMajor===16&&de.nodeMinor>=8){let ie=null;re.exports.fetch=async function fetch(re){if(!ie){ie=oe(74881).fetch}try{return await ie(...arguments)}catch(re){Error.captureStackTrace(re,this);throw re}};re.exports.Headers=oe(10554).Headers;re.exports.Response=oe(27823).Response;re.exports.Request=oe(48359).Request;re.exports.FormData=oe(72015).FormData;re.exports.File=oe(78511).File;re.exports.FileReader=oe(1446).FileReader;const{setGlobalOrigin:se,getGlobalOrigin:ae}=oe(71246);re.exports.setGlobalOrigin=se;re.exports.getGlobalOrigin=ae;const{CacheStorage:ce}=oe(37907);const{kConstruct:ue}=oe(29174);re.exports.caches=new ce(ue)}if(de.nodeMajor>=16){const{deleteCookie:ie,getCookies:se,getSetCookies:ae,setCookie:ce}=oe(41724);re.exports.deleteCookie=ie;re.exports.getCookies=se;re.exports.getSetCookies=ae;re.exports.setCookie=ce;const{parseMIMEType:ue,serializeAMimeType:le}=oe(685);re.exports.parseMIMEType=ue;re.exports.serializeAMimeType=le}if(de.nodeMajor>=18&&Se){const{WebSocket:ie}=oe(54284);re.exports.WebSocket=ie}re.exports.request=makeDispatcher(he.request);re.exports.stream=makeDispatcher(he.stream);re.exports.pipeline=makeDispatcher(he.pipeline);re.exports.connect=makeDispatcher(he.connect);re.exports.upgrade=makeDispatcher(he.upgrade);re.exports.MockClient=ge;re.exports.MockPool=ye;re.exports.MockAgent=me;re.exports.mockErrors=ve},7890:(re,ie,oe)=>{"use strict";const{InvalidArgumentError:se}=oe(48045);const{kClients:ae,kRunning:ce,kClose:ue,kDestroy:le,kDispatch:fe,kInterceptors:de}=oe(72785);const pe=oe(74839);const he=oe(4634);const Ae=oe(33598);const ge=oe(83983);const me=oe(38861);const{WeakRef:ye,FinalizationRegistry:ve}=oe(56436)();const be=Symbol("onConnect");const we=Symbol("onDisconnect");const _e=Symbol("onConnectionError");const Ee=Symbol("maxRedirections");const Ce=Symbol("onDrain");const Ie=Symbol("factory");const Se=Symbol("finalizer");const Be=Symbol("options");function defaultFactory(re,ie){return ie&&ie.connections===1?new Ae(re,ie):new he(re,ie)}class Agent extends pe{constructor({factory:re=defaultFactory,maxRedirections:ie=0,connect:oe,...ce}={}){super();if(typeof re!=="function"){throw new se("factory must be a function.")}if(oe!=null&&typeof oe!=="function"&&typeof oe!=="object"){throw new se("connect must be a function or an object")}if(!Number.isInteger(ie)||ie<0){throw new se("maxRedirections must be a positive number")}if(oe&&typeof oe!=="function"){oe={...oe}}this[de]=ce.interceptors&&ce.interceptors.Agent&&Array.isArray(ce.interceptors.Agent)?ce.interceptors.Agent:[me({maxRedirections:ie})];this[Be]={...ge.deepClone(ce),connect:oe};this[Be].interceptors=ce.interceptors?{...ce.interceptors}:undefined;this[Ee]=ie;this[Ie]=re;this[ae]=new Map;this[Se]=new ve((re=>{const ie=this[ae].get(re);if(ie!==undefined&&ie.deref()===undefined){this[ae].delete(re)}}));const ue=this;this[Ce]=(re,ie)=>{ue.emit("drain",re,[ue,...ie])};this[be]=(re,ie)=>{ue.emit("connect",re,[ue,...ie])};this[we]=(re,ie,oe)=>{ue.emit("disconnect",re,[ue,...ie],oe)};this[_e]=(re,ie,oe)=>{ue.emit("connectionError",re,[ue,...ie],oe)}}get[ce](){let re=0;for(const ie of this[ae].values()){const oe=ie.deref();if(oe){re+=oe[ce]}}return re}[fe](re,ie){let oe;if(re.origin&&(typeof re.origin==="string"||re.origin instanceof URL)){oe=String(re.origin)}else{throw new se("opts.origin must be a non-empty string or URL.")}const ce=this[ae].get(oe);let ue=ce?ce.deref():null;if(!ue){ue=this[Ie](re.origin,this[Be]).on("drain",this[Ce]).on("connect",this[be]).on("disconnect",this[we]).on("connectionError",this[_e]);this[ae].set(oe,new ye(ue));this[Se].register(ue,oe)}return ue.dispatch(re,ie)}async[ue](){const re=[];for(const ie of this[ae].values()){const oe=ie.deref();if(oe){re.push(oe.close())}}await Promise.all(re)}async[le](re){const ie=[];for(const oe of this[ae].values()){const se=oe.deref();if(se){ie.push(se.destroy(re))}}await Promise.all(ie)}}re.exports=Agent},7032:(re,ie,oe)=>{const{RequestAbortedError:se}=oe(48045);const ae=Symbol("kListener");const ce=Symbol("kSignal");function abort(re){if(re.abort){re.abort()}else{re.onError(new se)}}function addSignal(re,ie){re[ce]=null;re[ae]=null;if(!ie){return}if(ie.aborted){abort(re);return}re[ce]=ie;re[ae]=()=>{abort(re)};if("addEventListener"in re[ce]){re[ce].addEventListener("abort",re[ae])}else{re[ce].addListener("abort",re[ae])}}function removeSignal(re){if(!re[ce]){return}if("removeEventListener"in re[ce]){re[ce].removeEventListener("abort",re[ae])}else{re[ce].removeListener("abort",re[ae])}re[ce]=null;re[ae]=null}re.exports={addSignal:addSignal,removeSignal:removeSignal}},29744:(re,ie,oe)=>{"use strict";const{InvalidArgumentError:se,RequestAbortedError:ae,SocketError:ce}=oe(48045);const{AsyncResource:ue}=oe(50852);const le=oe(83983);const{addSignal:fe,removeSignal:de}=oe(7032);class ConnectHandler extends ue{constructor(re,ie){if(!re||typeof re!=="object"){throw new se("invalid opts")}if(typeof ie!=="function"){throw new se("invalid callback")}const{signal:oe,opaque:ae,responseHeaders:ce}=re;if(oe&&typeof oe.on!=="function"&&typeof oe.addEventListener!=="function"){throw new se("signal must be an EventEmitter or EventTarget")}super("UNDICI_CONNECT");this.opaque=ae||null;this.responseHeaders=ce||null;this.callback=ie;this.abort=null;fe(this,oe)}onConnect(re,ie){if(!this.callback){throw new ae}this.abort=re;this.context=ie}onHeaders(){throw new ce("bad connect",null)}onUpgrade(re,ie,oe){const{callback:se,opaque:ae,context:ce}=this;de(this);this.callback=null;const ue=this.responseHeaders==="raw"?le.parseRawHeaders(ie):le.parseHeaders(ie);this.runInAsyncScope(se,null,null,{statusCode:re,headers:ue,socket:oe,opaque:ae,context:ce})}onError(re){const{callback:ie,opaque:oe}=this;de(this);if(ie){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(ie,null,re,{opaque:oe})}))}}}function connect(re,ie){if(ie===undefined){return new Promise(((ie,oe)=>{connect.call(this,re,((re,se)=>re?oe(re):ie(se)))}))}try{const oe=new ConnectHandler(re,ie);this.dispatch({...re,method:"CONNECT"},oe)}catch(oe){if(typeof ie!=="function"){throw oe}const se=re&&re.opaque;queueMicrotask((()=>ie(oe,{opaque:se})))}}re.exports=connect},28752:(re,ie,oe)=>{"use strict";const{Readable:se,Duplex:ae,PassThrough:ce}=oe(12781);const{InvalidArgumentError:ue,InvalidReturnValueError:le,RequestAbortedError:fe}=oe(48045);const de=oe(83983);const{AsyncResource:pe}=oe(50852);const{addSignal:he,removeSignal:Ae}=oe(7032);const ge=oe(39491);const me=Symbol("resume");class PipelineRequest extends se{constructor(){super({autoDestroy:true});this[me]=null}_read(){const{[me]:re}=this;if(re){this[me]=null;re()}}_destroy(re,ie){this._read();ie(re)}}class PipelineResponse extends se{constructor(re){super({autoDestroy:true});this[me]=re}_read(){this[me]()}_destroy(re,ie){if(!re&&!this._readableState.endEmitted){re=new fe}ie(re)}}class PipelineHandler extends pe{constructor(re,ie){if(!re||typeof re!=="object"){throw new ue("invalid opts")}if(typeof ie!=="function"){throw new ue("invalid handler")}const{signal:oe,method:se,opaque:ce,onInfo:le,responseHeaders:pe}=re;if(oe&&typeof oe.on!=="function"&&typeof oe.addEventListener!=="function"){throw new ue("signal must be an EventEmitter or EventTarget")}if(se==="CONNECT"){throw new ue("invalid method")}if(le&&typeof le!=="function"){throw new ue("invalid onInfo callback")}super("UNDICI_PIPELINE");this.opaque=ce||null;this.responseHeaders=pe||null;this.handler=ie;this.abort=null;this.context=null;this.onInfo=le||null;this.req=(new PipelineRequest).on("error",de.nop);this.ret=new ae({readableObjectMode:re.objectMode,autoDestroy:true,read:()=>{const{body:re}=this;if(re&&re.resume){re.resume()}},write:(re,ie,oe)=>{const{req:se}=this;if(se.push(re,ie)||se._readableState.destroyed){oe()}else{se[me]=oe}},destroy:(re,ie)=>{const{body:oe,req:se,res:ae,ret:ce,abort:ue}=this;if(!re&&!ce._readableState.endEmitted){re=new fe}if(ue&&re){ue()}de.destroy(oe,re);de.destroy(se,re);de.destroy(ae,re);Ae(this);ie(re)}}).on("prefinish",(()=>{const{req:re}=this;re.push(null)}));this.res=null;he(this,oe)}onConnect(re,ie){const{ret:oe,res:se}=this;ge(!se,"pipeline cannot be retried");if(oe.destroyed){throw new fe}this.abort=re;this.context=ie}onHeaders(re,ie,oe){const{opaque:se,handler:ae,context:ce}=this;if(re<200){if(this.onInfo){const oe=this.responseHeaders==="raw"?de.parseRawHeaders(ie):de.parseHeaders(ie);this.onInfo({statusCode:re,headers:oe})}return}this.res=new PipelineResponse(oe);let ue;try{this.handler=null;const oe=this.responseHeaders==="raw"?de.parseRawHeaders(ie):de.parseHeaders(ie);ue=this.runInAsyncScope(ae,null,{statusCode:re,headers:oe,opaque:se,body:this.res,context:ce})}catch(re){this.res.on("error",de.nop);throw re}if(!ue||typeof ue.on!=="function"){throw new le("expected Readable")}ue.on("data",(re=>{const{ret:ie,body:oe}=this;if(!ie.push(re)&&oe.pause){oe.pause()}})).on("error",(re=>{const{ret:ie}=this;de.destroy(ie,re)})).on("end",(()=>{const{ret:re}=this;re.push(null)})).on("close",(()=>{const{ret:re}=this;if(!re._readableState.ended){de.destroy(re,new fe)}}));this.body=ue}onData(re){const{res:ie}=this;return ie.push(re)}onComplete(re){const{res:ie}=this;ie.push(null)}onError(re){const{ret:ie}=this;this.handler=null;de.destroy(ie,re)}}function pipeline(re,ie){try{const oe=new PipelineHandler(re,ie);this.dispatch({...re,body:oe.req},oe);return oe.ret}catch(re){return(new ce).destroy(re)}}re.exports=pipeline},55448:(re,ie,oe)=>{"use strict";const se=oe(73858);const{InvalidArgumentError:ae,RequestAbortedError:ce}=oe(48045);const ue=oe(83983);const{getResolveErrorBodyCallback:le}=oe(77474);const{AsyncResource:fe}=oe(50852);const{addSignal:de,removeSignal:pe}=oe(7032);class RequestHandler extends fe{constructor(re,ie){if(!re||typeof re!=="object"){throw new ae("invalid opts")}const{signal:oe,method:se,opaque:ce,body:le,onInfo:fe,responseHeaders:pe,throwOnError:he,highWaterMark:Ae}=re;try{if(typeof ie!=="function"){throw new ae("invalid callback")}if(Ae&&(typeof Ae!=="number"||Ae<0)){throw new ae("invalid highWaterMark")}if(oe&&typeof oe.on!=="function"&&typeof oe.addEventListener!=="function"){throw new ae("signal must be an EventEmitter or EventTarget")}if(se==="CONNECT"){throw new ae("invalid method")}if(fe&&typeof fe!=="function"){throw new ae("invalid onInfo callback")}super("UNDICI_REQUEST")}catch(re){if(ue.isStream(le)){ue.destroy(le.on("error",ue.nop),re)}throw re}this.responseHeaders=pe||null;this.opaque=ce||null;this.callback=ie;this.res=null;this.abort=null;this.body=le;this.trailers={};this.context=null;this.onInfo=fe||null;this.throwOnError=he;this.highWaterMark=Ae;if(ue.isStream(le)){le.on("error",(re=>{this.onError(re)}))}de(this,oe)}onConnect(re,ie){if(!this.callback){throw new ce}this.abort=re;this.context=ie}onHeaders(re,ie,oe,ae){const{callback:ce,opaque:fe,abort:de,context:pe,responseHeaders:he,highWaterMark:Ae}=this;const ge=he==="raw"?ue.parseRawHeaders(ie):ue.parseHeaders(ie);if(re<200){if(this.onInfo){this.onInfo({statusCode:re,headers:ge})}return}const me=he==="raw"?ue.parseHeaders(ie):ge;const ye=me["content-type"];const ve=new se({resume:oe,abort:de,contentType:ye,highWaterMark:Ae});this.callback=null;this.res=ve;if(ce!==null){if(this.throwOnError&&re>=400){this.runInAsyncScope(le,null,{callback:ce,body:ve,contentType:ye,statusCode:re,statusMessage:ae,headers:ge})}else{this.runInAsyncScope(ce,null,null,{statusCode:re,headers:ge,trailers:this.trailers,opaque:fe,body:ve,context:pe})}}}onData(re){const{res:ie}=this;return ie.push(re)}onComplete(re){const{res:ie}=this;pe(this);ue.parseHeaders(re,this.trailers);ie.push(null)}onError(re){const{res:ie,callback:oe,body:se,opaque:ae}=this;pe(this);if(oe){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(oe,null,re,{opaque:ae})}))}if(ie){this.res=null;queueMicrotask((()=>{ue.destroy(ie,re)}))}if(se){this.body=null;ue.destroy(se,re)}}}function request(re,ie){if(ie===undefined){return new Promise(((ie,oe)=>{request.call(this,re,((re,se)=>re?oe(re):ie(se)))}))}try{this.dispatch(re,new RequestHandler(re,ie))}catch(oe){if(typeof ie!=="function"){throw oe}const se=re&&re.opaque;queueMicrotask((()=>ie(oe,{opaque:se})))}}re.exports=request},75395:(re,ie,oe)=>{"use strict";const{finished:se,PassThrough:ae}=oe(12781);const{InvalidArgumentError:ce,InvalidReturnValueError:ue,RequestAbortedError:le}=oe(48045);const fe=oe(83983);const{getResolveErrorBodyCallback:de}=oe(77474);const{AsyncResource:pe}=oe(50852);const{addSignal:he,removeSignal:Ae}=oe(7032);class StreamHandler extends pe{constructor(re,ie,oe){if(!re||typeof re!=="object"){throw new ce("invalid opts")}const{signal:se,method:ae,opaque:ue,body:le,onInfo:de,responseHeaders:pe,throwOnError:Ae}=re;try{if(typeof oe!=="function"){throw new ce("invalid callback")}if(typeof ie!=="function"){throw new ce("invalid factory")}if(se&&typeof se.on!=="function"&&typeof se.addEventListener!=="function"){throw new ce("signal must be an EventEmitter or EventTarget")}if(ae==="CONNECT"){throw new ce("invalid method")}if(de&&typeof de!=="function"){throw new ce("invalid onInfo callback")}super("UNDICI_STREAM")}catch(re){if(fe.isStream(le)){fe.destroy(le.on("error",fe.nop),re)}throw re}this.responseHeaders=pe||null;this.opaque=ue||null;this.factory=ie;this.callback=oe;this.res=null;this.abort=null;this.context=null;this.trailers=null;this.body=le;this.onInfo=de||null;this.throwOnError=Ae||false;if(fe.isStream(le)){le.on("error",(re=>{this.onError(re)}))}he(this,se)}onConnect(re,ie){if(!this.callback){throw new le}this.abort=re;this.context=ie}onHeaders(re,ie,oe,ce){const{factory:le,opaque:pe,context:he,callback:Ae,responseHeaders:ge}=this;const me=ge==="raw"?fe.parseRawHeaders(ie):fe.parseHeaders(ie);if(re<200){if(this.onInfo){this.onInfo({statusCode:re,headers:me})}return}this.factory=null;let ye;if(this.throwOnError&&re>=400){const oe=ge==="raw"?fe.parseHeaders(ie):me;const se=oe["content-type"];ye=new ae;this.callback=null;this.runInAsyncScope(de,null,{callback:Ae,body:ye,contentType:se,statusCode:re,statusMessage:ce,headers:me})}else{ye=this.runInAsyncScope(le,null,{statusCode:re,headers:me,opaque:pe,context:he});if(!ye||typeof ye.write!=="function"||typeof ye.end!=="function"||typeof ye.on!=="function"){throw new ue("expected Writable")}se(ye,{readable:false},(re=>{const{callback:ie,res:oe,opaque:se,trailers:ae,abort:ce}=this;this.res=null;if(re||!oe.readable){fe.destroy(oe,re)}this.callback=null;this.runInAsyncScope(ie,null,re||null,{opaque:se,trailers:ae});if(re){ce()}}))}ye.on("drain",oe);this.res=ye;const ve=ye.writableNeedDrain!==undefined?ye.writableNeedDrain:ye._writableState&&ye._writableState.needDrain;return ve!==true}onData(re){const{res:ie}=this;return ie.write(re)}onComplete(re){const{res:ie}=this;Ae(this);this.trailers=fe.parseHeaders(re);ie.end()}onError(re){const{res:ie,callback:oe,opaque:se,body:ae}=this;Ae(this);this.factory=null;if(ie){this.res=null;fe.destroy(ie,re)}else if(oe){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(oe,null,re,{opaque:se})}))}if(ae){this.body=null;fe.destroy(ae,re)}}}function stream(re,ie,oe){if(oe===undefined){return new Promise(((oe,se)=>{stream.call(this,re,ie,((re,ie)=>re?se(re):oe(ie)))}))}try{this.dispatch(re,new StreamHandler(re,ie,oe))}catch(ie){if(typeof oe!=="function"){throw ie}const se=re&&re.opaque;queueMicrotask((()=>oe(ie,{opaque:se})))}}re.exports=stream},36923:(re,ie,oe)=>{"use strict";const{InvalidArgumentError:se,RequestAbortedError:ae,SocketError:ce}=oe(48045);const{AsyncResource:ue}=oe(50852);const le=oe(83983);const{addSignal:fe,removeSignal:de}=oe(7032);const pe=oe(39491);class UpgradeHandler extends ue{constructor(re,ie){if(!re||typeof re!=="object"){throw new se("invalid opts")}if(typeof ie!=="function"){throw new se("invalid callback")}const{signal:oe,opaque:ae,responseHeaders:ce}=re;if(oe&&typeof oe.on!=="function"&&typeof oe.addEventListener!=="function"){throw new se("signal must be an EventEmitter or EventTarget")}super("UNDICI_UPGRADE");this.responseHeaders=ce||null;this.opaque=ae||null;this.callback=ie;this.abort=null;this.context=null;fe(this,oe)}onConnect(re,ie){if(!this.callback){throw new ae}this.abort=re;this.context=null}onHeaders(){throw new ce("bad upgrade",null)}onUpgrade(re,ie,oe){const{callback:se,opaque:ae,context:ce}=this;pe.strictEqual(re,101);de(this);this.callback=null;const ue=this.responseHeaders==="raw"?le.parseRawHeaders(ie):le.parseHeaders(ie);this.runInAsyncScope(se,null,null,{headers:ue,socket:oe,opaque:ae,context:ce})}onError(re){const{callback:ie,opaque:oe}=this;de(this);if(ie){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(ie,null,re,{opaque:oe})}))}}}function upgrade(re,ie){if(ie===undefined){return new Promise(((ie,oe)=>{upgrade.call(this,re,((re,se)=>re?oe(re):ie(se)))}))}try{const oe=new UpgradeHandler(re,ie);this.dispatch({...re,method:re.method||"GET",upgrade:re.protocol||"Websocket"},oe)}catch(oe){if(typeof ie!=="function"){throw oe}const se=re&&re.opaque;queueMicrotask((()=>ie(oe,{opaque:se})))}}re.exports=upgrade},44059:(re,ie,oe)=>{"use strict";re.exports.request=oe(55448);re.exports.stream=oe(75395);re.exports.pipeline=oe(28752);re.exports.upgrade=oe(36923);re.exports.connect=oe(29744)},73858:(re,ie,oe)=>{"use strict";const se=oe(39491);const{Readable:ae}=oe(12781);const{RequestAbortedError:ce,NotSupportedError:ue,InvalidArgumentError:le}=oe(48045);const fe=oe(83983);const{ReadableStreamFrom:de,toUSVString:pe}=oe(83983);let he;const Ae=Symbol("kConsume");const ge=Symbol("kReading");const me=Symbol("kBody");const ye=Symbol("abort");const ve=Symbol("kContentType");re.exports=class BodyReadable extends ae{constructor({resume:re,abort:ie,contentType:oe="",highWaterMark:se=64*1024}){super({autoDestroy:true,read:re,highWaterMark:se});this._readableState.dataEmitted=false;this[ye]=ie;this[Ae]=null;this[me]=null;this[ve]=oe;this[ge]=false}destroy(re){if(this.destroyed){return this}if(!re&&!this._readableState.endEmitted){re=new ce}if(re){this[ye]()}return super.destroy(re)}emit(re,...ie){if(re==="data"){this._readableState.dataEmitted=true}else if(re==="error"){this._readableState.errorEmitted=true}return super.emit(re,...ie)}on(re,...ie){if(re==="data"||re==="readable"){this[ge]=true}return super.on(re,...ie)}addListener(re,...ie){return this.on(re,...ie)}off(re,...ie){const oe=super.off(re,...ie);if(re==="data"||re==="readable"){this[ge]=this.listenerCount("data")>0||this.listenerCount("readable")>0}return oe}removeListener(re,...ie){return this.off(re,...ie)}push(re){if(this[Ae]&&re!==null&&this.readableLength===0){consumePush(this[Ae],re);return this[ge]?super.push(re):true}return super.push(re)}async text(){return consume(this,"text")}async json(){return consume(this,"json")}async blob(){return consume(this,"blob")}async arrayBuffer(){return consume(this,"arrayBuffer")}async formData(){throw new ue}get bodyUsed(){return fe.isDisturbed(this)}get body(){if(!this[me]){this[me]=de(this);if(this[Ae]){this[me].getReader();se(this[me].locked)}}return this[me]}async dump(re){let ie=re&&Number.isFinite(re.limit)?re.limit:262144;const oe=re&&re.signal;const abortFn=()=>{this.destroy()};if(oe){if(typeof oe!=="object"||!("aborted"in oe)){throw new le("signal must be an AbortSignal")}fe.throwIfAborted(oe);oe.addEventListener("abort",abortFn,{once:true})}try{for await(const re of this){fe.throwIfAborted(oe);ie-=Buffer.byteLength(re);if(ie<0){return}}}catch{fe.throwIfAborted(oe)}finally{if(oe){oe.removeEventListener("abort",abortFn)}}}};function isLocked(re){return re[me]&&re[me].locked===true||re[Ae]}function isUnusable(re){return fe.isDisturbed(re)||isLocked(re)}async function consume(re,ie){if(isUnusable(re)){throw new TypeError("unusable")}se(!re[Ae]);return new Promise(((oe,se)=>{re[Ae]={type:ie,stream:re,resolve:oe,reject:se,length:0,body:[]};re.on("error",(function(re){consumeFinish(this[Ae],re)})).on("close",(function(){if(this[Ae].body!==null){consumeFinish(this[Ae],new ce)}}));process.nextTick(consumeStart,re[Ae])}))}function consumeStart(re){if(re.body===null){return}const{_readableState:ie}=re.stream;for(const oe of ie.buffer){consumePush(re,oe)}if(ie.endEmitted){consumeEnd(this[Ae])}else{re.stream.on("end",(function(){consumeEnd(this[Ae])}))}re.stream.resume();while(re.stream.read()!=null){}}function consumeEnd(re){const{type:ie,body:se,resolve:ae,stream:ce,length:ue}=re;try{if(ie==="text"){ae(pe(Buffer.concat(se)))}else if(ie==="json"){ae(JSON.parse(Buffer.concat(se)))}else if(ie==="arrayBuffer"){const re=new Uint8Array(ue);let ie=0;for(const oe of se){re.set(oe,ie);ie+=oe.byteLength}ae(re)}else if(ie==="blob"){if(!he){he=oe(14300).Blob}ae(new he(se,{type:ce[ve]}))}consumeFinish(re)}catch(re){ce.destroy(re)}}function consumePush(re,ie){re.length+=ie.length;re.body.push(ie)}function consumeFinish(re,ie){if(re.body===null){return}if(ie){re.reject(ie)}else{re.resolve()}re.type=null;re.stream=null;re.resolve=null;re.reject=null;re.length=0;re.body=null}},77474:(re,ie,oe)=>{const se=oe(39491);const{ResponseStatusCodeError:ae}=oe(48045);const{toUSVString:ce}=oe(83983);async function getResolveErrorBodyCallback({callback:re,body:ie,contentType:oe,statusCode:ue,statusMessage:le,headers:fe}){se(ie);let de=[];let pe=0;for await(const re of ie){de.push(re);pe+=re.length;if(pe>128*1024){de=null;break}}if(ue===204||!oe||!de){process.nextTick(re,new ae(`Response status code ${ue}${le?`: ${le}`:""}`,ue,fe));return}try{if(oe.startsWith("application/json")){const ie=JSON.parse(ce(Buffer.concat(de)));process.nextTick(re,new ae(`Response status code ${ue}${le?`: ${le}`:""}`,ue,fe,ie));return}if(oe.startsWith("text/")){const ie=ce(Buffer.concat(de));process.nextTick(re,new ae(`Response status code ${ue}${le?`: ${le}`:""}`,ue,fe,ie));return}}catch(re){}process.nextTick(re,new ae(`Response status code ${ue}${le?`: ${le}`:""}`,ue,fe))}re.exports={getResolveErrorBodyCallback:getResolveErrorBodyCallback}},37931:(re,ie,oe)=>{"use strict";const{BalancedPoolMissingUpstreamError:se,InvalidArgumentError:ae}=oe(48045);const{PoolBase:ce,kClients:ue,kNeedDrain:le,kAddClient:fe,kRemoveClient:de,kGetDispatcher:pe}=oe(73198);const he=oe(4634);const{kUrl:Ae,kInterceptors:ge}=oe(72785);const{parseOrigin:me}=oe(83983);const ye=Symbol("factory");const ve=Symbol("options");const be=Symbol("kGreatestCommonDivisor");const we=Symbol("kCurrentWeight");const _e=Symbol("kIndex");const Ee=Symbol("kWeight");const Ce=Symbol("kMaxWeightPerServer");const Ie=Symbol("kErrorPenalty");function getGreatestCommonDivisor(re,ie){if(ie===0)return re;return getGreatestCommonDivisor(ie,re%ie)}function defaultFactory(re,ie){return new he(re,ie)}class BalancedPool extends ce{constructor(re=[],{factory:ie=defaultFactory,...oe}={}){super();this[ve]=oe;this[_e]=-1;this[we]=0;this[Ce]=this[ve].maxWeightPerServer||100;this[Ie]=this[ve].errorPenalty||15;if(!Array.isArray(re)){re=[re]}if(typeof ie!=="function"){throw new ae("factory must be a function.")}this[ge]=oe.interceptors&&oe.interceptors.BalancedPool&&Array.isArray(oe.interceptors.BalancedPool)?oe.interceptors.BalancedPool:[];this[ye]=ie;for(const ie of re){this.addUpstream(ie)}this._updateBalancedPoolStats()}addUpstream(re){const ie=me(re).origin;if(this[ue].find((re=>re[Ae].origin===ie&&re.closed!==true&&re.destroyed!==true))){return this}const oe=this[ye](ie,Object.assign({},this[ve]));this[fe](oe);oe.on("connect",(()=>{oe[Ee]=Math.min(this[Ce],oe[Ee]+this[Ie])}));oe.on("connectionError",(()=>{oe[Ee]=Math.max(1,oe[Ee]-this[Ie]);this._updateBalancedPoolStats()}));oe.on("disconnect",((...re)=>{const ie=re[2];if(ie&&ie.code==="UND_ERR_SOCKET"){oe[Ee]=Math.max(1,oe[Ee]-this[Ie]);this._updateBalancedPoolStats()}}));for(const re of this[ue]){re[Ee]=this[Ce]}this._updateBalancedPoolStats();return this}_updateBalancedPoolStats(){this[be]=this[ue].map((re=>re[Ee])).reduce(getGreatestCommonDivisor,0)}removeUpstream(re){const ie=me(re).origin;const oe=this[ue].find((re=>re[Ae].origin===ie&&re.closed!==true&&re.destroyed!==true));if(oe){this[de](oe)}return this}get upstreams(){return this[ue].filter((re=>re.closed!==true&&re.destroyed!==true)).map((re=>re[Ae].origin))}[pe](){if(this[ue].length===0){throw new se}const re=this[ue].find((re=>!re[le]&&re.closed!==true&&re.destroyed!==true));if(!re){return}const ie=this[ue].map((re=>re[le])).reduce(((re,ie)=>re&&ie),true);if(ie){return}let oe=0;let ae=this[ue].findIndex((re=>!re[le]));while(oe++this[ue][ae][Ee]&&!re[le]){ae=this[_e]}if(this[_e]===0){this[we]=this[we]-this[be];if(this[we]<=0){this[we]=this[Ce]}}if(re[Ee]>=this[we]&&!re[le]){return re}}this[we]=this[ue][ae][Ee];this[_e]=ae;return this[ue][ae]}}re.exports=BalancedPool},66101:(re,ie,oe)=>{"use strict";const{kConstruct:se}=oe(29174);const{urlEquals:ae,fieldValues:ce}=oe(82396);const{kEnumerableProperty:ue,isDisturbed:le}=oe(83983);const{kHeadersList:fe}=oe(72785);const{webidl:de}=oe(21744);const{Response:pe,cloneResponse:he}=oe(27823);const{Request:Ae}=oe(48359);const{kState:ge,kHeaders:me,kGuard:ye,kRealm:ve}=oe(15861);const{fetching:be}=oe(74881);const{urlIsHttpHttpsScheme:we,createDeferredPromise:_e,readAllBytes:Ee}=oe(52538);const Ce=oe(39491);const{getGlobalDispatcher:Ie}=oe(21892);class Cache{#e;constructor(){if(arguments[0]!==se){de.illegalConstructor()}this.#e=arguments[1]}async match(re,ie={}){de.brandCheck(this,Cache);de.argumentLengthCheck(arguments,1,{header:"Cache.match"});re=de.converters.RequestInfo(re);ie=de.converters.CacheQueryOptions(ie);const oe=await this.matchAll(re,ie);if(oe.length===0){return}return oe[0]}async matchAll(re=undefined,ie={}){de.brandCheck(this,Cache);if(re!==undefined)re=de.converters.RequestInfo(re);ie=de.converters.CacheQueryOptions(ie);let oe=null;if(re!==undefined){if(re instanceof Ae){oe=re[ge];if(oe.method!=="GET"&&!ie.ignoreMethod){return[]}}else if(typeof re==="string"){oe=new Ae(re)[ge]}}const se=[];if(re===undefined){for(const re of this.#e){se.push(re[1])}}else{const re=this.#t(oe,ie);for(const ie of re){se.push(ie[1])}}const ae=[];for(const re of se){const ie=new pe(re.body?.source??null);const oe=ie[ge].body;ie[ge]=re;ie[ge].body=oe;ie[me][fe]=re.headersList;ie[me][ye]="immutable";ae.push(ie)}return Object.freeze(ae)}async add(re){de.brandCheck(this,Cache);de.argumentLengthCheck(arguments,1,{header:"Cache.add"});re=de.converters.RequestInfo(re);const ie=[re];const oe=this.addAll(ie);return await oe}async addAll(re){de.brandCheck(this,Cache);de.argumentLengthCheck(arguments,1,{header:"Cache.addAll"});re=de.converters["sequence"](re);const ie=[];const oe=[];for(const ie of re){if(typeof ie==="string"){continue}const re=ie[ge];if(!we(re.url)||re.method!=="GET"){throw de.errors.exception({header:"Cache.addAll",message:"Expected http/s scheme when method is not GET."})}}const se=[];for(const ae of re){const re=new Ae(ae)[ge];if(!we(re.url)){throw de.errors.exception({header:"Cache.addAll",message:"Expected http/s scheme."})}re.initiator="fetch";re.destination="subresource";oe.push(re);const ue=_e();se.push(be({request:re,dispatcher:Ie(),processResponse(re){if(re.type==="error"||re.status===206||re.status<200||re.status>299){ue.reject(de.errors.exception({header:"Cache.addAll",message:"Received an invalid status code or the request failed."}))}else if(re.headersList.contains("vary")){const ie=ce(re.headersList.get("vary"));for(const re of ie){if(re==="*"){ue.reject(de.errors.exception({header:"Cache.addAll",message:"invalid vary field value"}));for(const re of se){re.abort()}return}}}},processResponseEndOfBody(re){if(re.aborted){ue.reject(new DOMException("aborted","AbortError"));return}ue.resolve(re)}}));ie.push(ue.promise)}const ae=Promise.all(ie);const ue=await ae;const le=[];let fe=0;for(const re of ue){const ie={type:"put",request:oe[fe],response:re};le.push(ie);fe++}const pe=_e();let he=null;try{this.#r(le)}catch(re){he=re}queueMicrotask((()=>{if(he===null){pe.resolve(undefined)}else{pe.reject(he)}}));return pe.promise}async put(re,ie){de.brandCheck(this,Cache);de.argumentLengthCheck(arguments,2,{header:"Cache.put"});re=de.converters.RequestInfo(re);ie=de.converters.Response(ie);let oe=null;if(re instanceof Ae){oe=re[ge]}else{oe=new Ae(re)[ge]}if(!we(oe.url)||oe.method!=="GET"){throw de.errors.exception({header:"Cache.put",message:"Expected an http/s scheme when method is not GET"})}const se=ie[ge];if(se.status===206){throw de.errors.exception({header:"Cache.put",message:"Got 206 status"})}if(se.headersList.contains("vary")){const re=ce(se.headersList.get("vary"));for(const ie of re){if(ie==="*"){throw de.errors.exception({header:"Cache.put",message:"Got * vary field value"})}}}if(se.body&&(le(se.body.stream)||se.body.stream.locked)){throw de.errors.exception({header:"Cache.put",message:"Response body is locked or disturbed"})}const ae=he(se);const ue=_e();if(se.body!=null){const re=se.body.stream;const ie=re.getReader();Ee(ie,(re=>ue.resolve(re)),(re=>ue.reject(re)))}else{ue.resolve(undefined)}const fe=[];const pe={type:"put",request:oe,response:ae};fe.push(pe);const me=await ue.promise;if(ae.body!=null){ae.body.source=me}const ye=_e();let ve=null;try{this.#r(fe)}catch(re){ve=re}queueMicrotask((()=>{if(ve===null){ye.resolve()}else{ye.reject(ve)}}));return ye.promise}async delete(re,ie={}){de.brandCheck(this,Cache);de.argumentLengthCheck(arguments,1,{header:"Cache.delete"});re=de.converters.RequestInfo(re);ie=de.converters.CacheQueryOptions(ie);let oe=null;if(re instanceof Ae){oe=re[ge];if(oe.method!=="GET"&&!ie.ignoreMethod){return false}}else{Ce(typeof re==="string");oe=new Ae(re)[ge]}const se=[];const ae={type:"delete",request:oe,options:ie};se.push(ae);const ce=_e();let ue=null;let le;try{le=this.#r(se)}catch(re){ue=re}queueMicrotask((()=>{if(ue===null){ce.resolve(!!le?.length)}else{ce.reject(ue)}}));return ce.promise}async keys(re=undefined,ie={}){de.brandCheck(this,Cache);if(re!==undefined)re=de.converters.RequestInfo(re);ie=de.converters.CacheQueryOptions(ie);let oe=null;if(re!==undefined){if(re instanceof Ae){oe=re[ge];if(oe.method!=="GET"&&!ie.ignoreMethod){return[]}}else if(typeof re==="string"){oe=new Ae(re)[ge]}}const se=_e();const ae=[];if(re===undefined){for(const re of this.#e){ae.push(re[0])}}else{const re=this.#t(oe,ie);for(const ie of re){ae.push(ie[0])}}queueMicrotask((()=>{const re=[];for(const ie of ae){const oe=new Ae("https://a");oe[ge]=ie;oe[me][fe]=ie.headersList;oe[me][ye]="immutable";oe[ve]=ie.client;re.push(oe)}se.resolve(Object.freeze(re))}));return se.promise}#r(re){const ie=this.#e;const oe=[...ie];const se=[];const ae=[];try{for(const oe of re){if(oe.type!=="delete"&&oe.type!=="put"){throw de.errors.exception({header:"Cache.#batchCacheOperations",message:'operation type does not match "delete" or "put"'})}if(oe.type==="delete"&&oe.response!=null){throw de.errors.exception({header:"Cache.#batchCacheOperations",message:"delete operation should not have an associated response"})}if(this.#t(oe.request,oe.options,se).length){throw new DOMException("???","InvalidStateError")}let re;if(oe.type==="delete"){re=this.#t(oe.request,oe.options);if(re.length===0){return[]}for(const oe of re){const re=ie.indexOf(oe);Ce(re!==-1);ie.splice(re,1)}}else if(oe.type==="put"){if(oe.response==null){throw de.errors.exception({header:"Cache.#batchCacheOperations",message:"put operation should have an associated response"})}const ae=oe.request;if(!we(ae.url)){throw de.errors.exception({header:"Cache.#batchCacheOperations",message:"expected http or https scheme"})}if(ae.method!=="GET"){throw de.errors.exception({header:"Cache.#batchCacheOperations",message:"not get method"})}if(oe.options!=null){throw de.errors.exception({header:"Cache.#batchCacheOperations",message:"options must not be defined"})}re=this.#t(oe.request);for(const oe of re){const re=ie.indexOf(oe);Ce(re!==-1);ie.splice(re,1)}ie.push([oe.request,oe.response]);se.push([oe.request,oe.response])}ae.push([oe.request,oe.response])}return ae}catch(re){this.#e.length=0;this.#e=oe;throw re}}#t(re,ie,oe){const se=[];const ae=oe??this.#e;for(const oe of ae){const[ae,ce]=oe;if(this.#n(re,ae,ce,ie)){se.push(oe)}}return se}#n(re,ie,oe=null,se){const ue=new URL(re.url);const le=new URL(ie.url);if(se?.ignoreSearch){le.search="";ue.search=""}if(!ae(ue,le,true)){return false}if(oe==null||se?.ignoreVary||!oe.headersList.contains("vary")){return true}const fe=ce(oe.headersList.get("vary"));for(const oe of fe){if(oe==="*"){return false}const se=ie.headersList.get(oe);const ae=re.headersList.get(oe);if(se!==ae){return false}}return true}}Object.defineProperties(Cache.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:true},match:ue,matchAll:ue,add:ue,addAll:ue,put:ue,delete:ue,keys:ue});const Se=[{key:"ignoreSearch",converter:de.converters.boolean,defaultValue:false},{key:"ignoreMethod",converter:de.converters.boolean,defaultValue:false},{key:"ignoreVary",converter:de.converters.boolean,defaultValue:false}];de.converters.CacheQueryOptions=de.dictionaryConverter(Se);de.converters.MultiCacheQueryOptions=de.dictionaryConverter([...Se,{key:"cacheName",converter:de.converters.DOMString}]);de.converters.Response=de.interfaceConverter(pe);de.converters["sequence"]=de.sequenceConverter(de.converters.RequestInfo);re.exports={Cache:Cache}},37907:(re,ie,oe)=>{"use strict";const{kConstruct:se}=oe(29174);const{Cache:ae}=oe(66101);const{webidl:ce}=oe(21744);const{kEnumerableProperty:ue}=oe(83983);class CacheStorage{#i=new Map;constructor(){if(arguments[0]!==se){ce.illegalConstructor()}}async match(re,ie={}){ce.brandCheck(this,CacheStorage);ce.argumentLengthCheck(arguments,1,{header:"CacheStorage.match"});re=ce.converters.RequestInfo(re);ie=ce.converters.MultiCacheQueryOptions(ie);if(ie.cacheName!=null){if(this.#i.has(ie.cacheName)){const oe=this.#i.get(ie.cacheName);const ce=new ae(se,oe);return await ce.match(re,ie)}}else{for(const oe of this.#i.values()){const ce=new ae(se,oe);const ue=await ce.match(re,ie);if(ue!==undefined){return ue}}}}async has(re){ce.brandCheck(this,CacheStorage);ce.argumentLengthCheck(arguments,1,{header:"CacheStorage.has"});re=ce.converters.DOMString(re);return this.#i.has(re)}async open(re){ce.brandCheck(this,CacheStorage);ce.argumentLengthCheck(arguments,1,{header:"CacheStorage.open"});re=ce.converters.DOMString(re);if(this.#i.has(re)){const ie=this.#i.get(re);return new ae(se,ie)}const ie=[];this.#i.set(re,ie);return new ae(se,ie)}async delete(re){ce.brandCheck(this,CacheStorage);ce.argumentLengthCheck(arguments,1,{header:"CacheStorage.delete"});re=ce.converters.DOMString(re);return this.#i.delete(re)}async keys(){ce.brandCheck(this,CacheStorage);const re=this.#i.keys();return[...re]}}Object.defineProperties(CacheStorage.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:true},match:ue,has:ue,open:ue,delete:ue,keys:ue});re.exports={CacheStorage:CacheStorage}},29174:re=>{"use strict";re.exports={kConstruct:Symbol("constructable")}},82396:(re,ie,oe)=>{"use strict";const se=oe(39491);const{URLSerializer:ae}=oe(685);const{isValidHeaderName:ce}=oe(52538);function urlEquals(re,ie,oe=false){const se=ae(re,oe);const ce=ae(ie,oe);return se===ce}function fieldValues(re){se(re!==null);const ie=[];for(let oe of re.split(",")){oe=oe.trim();if(!oe.length){continue}else if(!ce(oe)){continue}ie.push(oe)}return ie}re.exports={urlEquals:urlEquals,fieldValues:fieldValues}},33598:(re,ie,oe)=>{"use strict";const se=oe(39491);const ae=oe(41808);const ce=oe(83983);const ue=oe(29459);const le=oe(62905);const fe=oe(74839);const{RequestContentLengthMismatchError:de,ResponseContentLengthMismatchError:pe,InvalidArgumentError:he,RequestAbortedError:Ae,HeadersTimeoutError:ge,HeadersOverflowError:me,SocketError:ye,InformationalError:ve,BodyTimeoutError:be,HTTPParserError:we,ResponseExceededMaxSizeError:_e,ClientDestroyedError:Ee}=oe(48045);const Ce=oe(82067);const{kUrl:Ie,kReset:Se,kServerName:Be,kClient:xe,kBusy:ke,kParser:Oe,kConnect:De,kBlocking:Pe,kResuming:Te,kRunning:Qe,kPending:Re,kSize:Me,kWriting:Ne,kQueue:je,kConnected:Le,kConnecting:Fe,kNeedDrain:Ue,kNoRef:He,kKeepAliveDefaultTimeout:qe,kHostHeader:Ke,kPendingIdx:Ve,kRunningIdx:Je,kError:We,kPipelining:Ge,kSocket:Ye,kKeepAliveTimeoutValue:ze,kMaxHeadersSize:$e,kKeepAliveMaxTimeout:Ze,kKeepAliveTimeoutThreshold:Xe,kHeadersTimeout:et,kBodyTimeout:tt,kStrictContentLength:rt,kConnector:nt,kMaxRedirections:it,kMaxRequests:ot,kCounter:st,kClose:at,kDestroy:ct,kDispatch:ut,kInterceptors:ft,kLocalAddress:dt,kMaxResponseSize:pt}=oe(72785);const ht=Buffer[Symbol.species];const At=Symbol("kClosedResolve");const mt={};try{const re=oe(67643);mt.sendHeaders=re.channel("undici:client:sendHeaders");mt.beforeConnect=re.channel("undici:client:beforeConnect");mt.connectError=re.channel("undici:client:connectError");mt.connected=re.channel("undici:client:connected")}catch{mt.sendHeaders={hasSubscribers:false};mt.beforeConnect={hasSubscribers:false};mt.connectError={hasSubscribers:false};mt.connected={hasSubscribers:false}}class Client extends fe{constructor(re,{interceptors:ie,maxHeaderSize:oe,headersTimeout:se,socketTimeout:ue,requestTimeout:le,connectTimeout:fe,bodyTimeout:de,idleTimeout:pe,keepAlive:Ae,keepAliveTimeout:ge,maxKeepAliveTimeout:me,keepAliveMaxTimeout:ye,keepAliveTimeoutThreshold:ve,socketPath:be,pipelining:we,tls:_e,strictContentLength:Ee,maxCachedSessions:Se,maxRedirections:xe,connect:ke,maxRequestsPerClient:Oe,localAddress:De,maxResponseSize:Pe,autoSelectFamily:Qe,autoSelectFamilyAttemptTimeout:Re}={}){super();if(Ae!==undefined){throw new he("unsupported keepAlive, use pipelining=0 instead")}if(ue!==undefined){throw new he("unsupported socketTimeout, use headersTimeout & bodyTimeout instead")}if(le!==undefined){throw new he("unsupported requestTimeout, use headersTimeout & bodyTimeout instead")}if(pe!==undefined){throw new he("unsupported idleTimeout, use keepAliveTimeout instead")}if(me!==undefined){throw new he("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead")}if(oe!=null&&!Number.isFinite(oe)){throw new he("invalid maxHeaderSize")}if(be!=null&&typeof be!=="string"){throw new he("invalid socketPath")}if(fe!=null&&(!Number.isFinite(fe)||fe<0)){throw new he("invalid connectTimeout")}if(ge!=null&&(!Number.isFinite(ge)||ge<=0)){throw new he("invalid keepAliveTimeout")}if(ye!=null&&(!Number.isFinite(ye)||ye<=0)){throw new he("invalid keepAliveMaxTimeout")}if(ve!=null&&!Number.isFinite(ve)){throw new he("invalid keepAliveTimeoutThreshold")}if(se!=null&&(!Number.isInteger(se)||se<0)){throw new he("headersTimeout must be a positive integer or zero")}if(de!=null&&(!Number.isInteger(de)||de<0)){throw new he("bodyTimeout must be a positive integer or zero")}if(ke!=null&&typeof ke!=="function"&&typeof ke!=="object"){throw new he("connect must be a function or an object")}if(xe!=null&&(!Number.isInteger(xe)||xe<0)){throw new he("maxRedirections must be a positive number")}if(Oe!=null&&(!Number.isInteger(Oe)||Oe<0)){throw new he("maxRequestsPerClient must be a positive number")}if(De!=null&&(typeof De!=="string"||ae.isIP(De)===0)){throw new he("localAddress must be valid string IP address")}if(Pe!=null&&(!Number.isInteger(Pe)||Pe<-1)){throw new he("maxResponseSize must be a positive number")}if(Re!=null&&(!Number.isInteger(Re)||Re<-1)){throw new he("autoSelectFamilyAttemptTimeout must be a positive number")}if(typeof ke!=="function"){ke=Ce({..._e,maxCachedSessions:Se,socketPath:be,timeout:fe,...ce.nodeHasAutoSelectFamily&&Qe?{autoSelectFamily:Qe,autoSelectFamilyAttemptTimeout:Re}:undefined,...ke})}this[ft]=ie&&ie.Client&&Array.isArray(ie.Client)?ie.Client:[vt({maxRedirections:xe})];this[Ie]=ce.parseOrigin(re);this[nt]=ke;this[Ye]=null;this[Ge]=we!=null?we:1;this[$e]=oe||16384;this[qe]=ge==null?4e3:ge;this[Ze]=ye==null?6e5:ye;this[Xe]=ve==null?1e3:ve;this[ze]=this[qe];this[Be]=null;this[dt]=De!=null?De:null;this[Te]=0;this[Ue]=0;this[Ke]=`host: ${this[Ie].hostname}${this[Ie].port?`:${this[Ie].port}`:""}\r\n`;this[tt]=de!=null?de:3e5;this[et]=se!=null?se:3e5;this[rt]=Ee==null?true:Ee;this[it]=xe;this[ot]=Oe;this[At]=null;this[pt]=Pe>-1?Pe:-1;this[je]=[];this[Je]=0;this[Ve]=0}get pipelining(){return this[Ge]}set pipelining(re){this[Ge]=re;resume(this,true)}get[Re](){return this[je].length-this[Ve]}get[Qe](){return this[Ve]-this[Je]}get[Me](){return this[je].length-this[Je]}get[Le](){return!!this[Ye]&&!this[Fe]&&!this[Ye].destroyed}get[ke](){const re=this[Ye];return re&&(re[Se]||re[Ne]||re[Pe])||this[Me]>=(this[Ge]||1)||this[Re]>0}[De](re){connect(this);this.once("connect",re)}[ut](re,ie){const oe=re.origin||this[Ie].origin;const se=new le(oe,re,ie);this[je].push(se);if(this[Te]){}else if(ce.bodyLength(se.body)==null&&ce.isIterable(se.body)){this[Te]=1;process.nextTick(resume,this)}else{resume(this,true)}if(this[Te]&&this[Ue]!==2&&this[ke]){this[Ue]=2}return this[Ue]<2}async[at](){return new Promise((re=>{if(!this[Me]){re(null)}else{this[At]=re}}))}async[ct](re){return new Promise((ie=>{const oe=this[je].splice(this[Ve]);for(let ie=0;ie{if(this[At]){this[At]();this[At]=null}ie()};if(!this[Ye]){queueMicrotask(callback)}else{ce.destroy(this[Ye].on("close",callback),re)}resume(this)}))}}const yt=oe(30953);const vt=oe(38861);const bt=Buffer.alloc(0);async function lazyllhttp(){const re=process.env.JEST_WORKER_ID?oe(61145):undefined;let ie;try{ie=await WebAssembly.compile(Buffer.from(oe(95627),"base64"))}catch(se){ie=await WebAssembly.compile(Buffer.from(re||oe(61145),"base64"))}return await WebAssembly.instantiate(ie,{env:{wasm_on_url:(re,ie,oe)=>0,wasm_on_status:(re,ie,oe)=>{se.strictEqual(Et.ptr,re);const ae=ie-St+Ct.byteOffset;return Et.onStatus(new ht(Ct.buffer,ae,oe))||0},wasm_on_message_begin:re=>{se.strictEqual(Et.ptr,re);return Et.onMessageBegin()||0},wasm_on_header_field:(re,ie,oe)=>{se.strictEqual(Et.ptr,re);const ae=ie-St+Ct.byteOffset;return Et.onHeaderField(new ht(Ct.buffer,ae,oe))||0},wasm_on_header_value:(re,ie,oe)=>{se.strictEqual(Et.ptr,re);const ae=ie-St+Ct.byteOffset;return Et.onHeaderValue(new ht(Ct.buffer,ae,oe))||0},wasm_on_headers_complete:(re,ie,oe,ae)=>{se.strictEqual(Et.ptr,re);return Et.onHeadersComplete(ie,Boolean(oe),Boolean(ae))||0},wasm_on_body:(re,ie,oe)=>{se.strictEqual(Et.ptr,re);const ae=ie-St+Ct.byteOffset;return Et.onBody(new ht(Ct.buffer,ae,oe))||0},wasm_on_message_complete:re=>{se.strictEqual(Et.ptr,re);return Et.onMessageComplete()||0}}})}let wt=null;let _t=lazyllhttp();_t.catch();let Et=null;let Ct=null;let It=0;let St=null;const Bt=1;const xt=2;const kt=3;class Parser{constructor(re,ie,{exports:oe}){se(Number.isFinite(re[$e])&&re[$e]>0);this.llhttp=oe;this.ptr=this.llhttp.llhttp_alloc(yt.TYPE.RESPONSE);this.client=re;this.socket=ie;this.timeout=null;this.timeoutValue=null;this.timeoutType=null;this.statusCode=null;this.statusText="";this.upgrade=false;this.headers=[];this.headersSize=0;this.headersMaxSize=re[$e];this.shouldKeepAlive=false;this.paused=false;this.resume=this.resume.bind(this);this.bytesRead=0;this.keepAlive="";this.contentLength="";this.connection="";this.maxResponseSize=re[pt]}setTimeout(re,ie){this.timeoutType=ie;if(re!==this.timeoutValue){ue.clearTimeout(this.timeout);if(re){this.timeout=ue.setTimeout(onParserTimeout,re,this);if(this.timeout.unref){this.timeout.unref()}}else{this.timeout=null}this.timeoutValue=re}else if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}}resume(){if(this.socket.destroyed||!this.paused){return}se(this.ptr!=null);se(Et==null);this.llhttp.llhttp_resume(this.ptr);se(this.timeoutType===xt);if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}this.paused=false;this.execute(this.socket.read()||bt);this.readMore()}readMore(){while(!this.paused&&this.ptr){const re=this.socket.read();if(re===null){break}this.execute(re)}}execute(re){se(this.ptr!=null);se(Et==null);se(!this.paused);const{socket:ie,llhttp:oe}=this;if(re.length>It){if(St){oe.free(St)}It=Math.ceil(re.length/4096)*4096;St=oe.malloc(It)}new Uint8Array(oe.memory.buffer,St,It).set(re);try{let se;try{Ct=re;Et=this;se=oe.llhttp_execute(this.ptr,St,re.length)}catch(re){throw re}finally{Et=null;Ct=null}const ae=oe.llhttp_get_error_pos(this.ptr)-St;if(se===yt.ERROR.PAUSED_UPGRADE){this.onUpgrade(re.slice(ae))}else if(se===yt.ERROR.PAUSED){this.paused=true;ie.unshift(re.slice(ae))}else if(se!==yt.ERROR.OK){const ie=oe.llhttp_get_error_reason(this.ptr);let ce="";if(ie){const re=new Uint8Array(oe.memory.buffer,ie).indexOf(0);ce="Response does not match the HTTP/1.1 protocol ("+Buffer.from(oe.memory.buffer,ie,re).toString()+")"}throw new we(ce,yt.ERROR[se],re.slice(ae))}}catch(re){ce.destroy(ie,re)}}destroy(){se(this.ptr!=null);se(Et==null);this.llhttp.llhttp_free(this.ptr);this.ptr=null;ue.clearTimeout(this.timeout);this.timeout=null;this.timeoutValue=null;this.timeoutType=null;this.paused=false}onStatus(re){this.statusText=re.toString()}onMessageBegin(){const{socket:re,client:ie}=this;if(re.destroyed){return-1}const oe=ie[je][ie[Je]];if(!oe){return-1}}onHeaderField(re){const ie=this.headers.length;if((ie&1)===0){this.headers.push(re)}else{this.headers[ie-1]=Buffer.concat([this.headers[ie-1],re])}this.trackHeader(re.length)}onHeaderValue(re){let ie=this.headers.length;if((ie&1)===1){this.headers.push(re);ie+=1}else{this.headers[ie-1]=Buffer.concat([this.headers[ie-1],re])}const oe=this.headers[ie-2];if(oe.length===10&&oe.toString().toLowerCase()==="keep-alive"){this.keepAlive+=re.toString()}else if(oe.length===10&&oe.toString().toLowerCase()==="connection"){this.connection+=re.toString()}else if(oe.length===14&&oe.toString().toLowerCase()==="content-length"){this.contentLength+=re.toString()}this.trackHeader(re.length)}trackHeader(re){this.headersSize+=re;if(this.headersSize>=this.headersMaxSize){ce.destroy(this.socket,new me)}}onUpgrade(re){const{upgrade:ie,client:oe,socket:ae,headers:ue,statusCode:le}=this;se(ie);const fe=oe[je][oe[Je]];se(fe);se(!ae.destroyed);se(ae===oe[Ye]);se(!this.paused);se(fe.upgrade||fe.method==="CONNECT");this.statusCode=null;this.statusText="";this.shouldKeepAlive=null;se(this.headers.length%2===0);this.headers=[];this.headersSize=0;ae.unshift(re);ae[Oe].destroy();ae[Oe]=null;ae[xe]=null;ae[We]=null;ae.removeListener("error",onSocketError).removeListener("readable",onSocketReadable).removeListener("end",onSocketEnd).removeListener("close",onSocketClose);oe[Ye]=null;oe[je][oe[Je]++]=null;oe.emit("disconnect",oe[Ie],[oe],new ve("upgrade"));try{fe.onUpgrade(le,ue,ae)}catch(re){ce.destroy(ae,re)}resume(oe)}onHeadersComplete(re,ie,oe){const{client:ae,socket:ue,headers:le,statusText:fe}=this;if(ue.destroyed){return-1}const de=ae[je][ae[Je]];if(!de){return-1}se(!this.upgrade);se(this.statusCode<200);if(re===100){ce.destroy(ue,new ye("bad response",ce.getSocketInfo(ue)));return-1}if(ie&&!de.upgrade){ce.destroy(ue,new ye("bad upgrade",ce.getSocketInfo(ue)));return-1}se.strictEqual(this.timeoutType,Bt);this.statusCode=re;this.shouldKeepAlive=oe||de.method==="HEAD"&&!ue[Se]&&this.connection.toLowerCase()==="keep-alive";if(this.statusCode>=200){const re=de.bodyTimeout!=null?de.bodyTimeout:ae[tt];this.setTimeout(re,xt)}else if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}if(de.method==="CONNECT"){se(ae[Qe]===1);this.upgrade=true;return 2}if(ie){se(ae[Qe]===1);this.upgrade=true;return 2}se(this.headers.length%2===0);this.headers=[];this.headersSize=0;if(this.shouldKeepAlive&&ae[Ge]){const re=this.keepAlive?ce.parseKeepAliveTimeout(this.keepAlive):null;if(re!=null){const ie=Math.min(re-ae[Xe],ae[Ze]);if(ie<=0){ue[Se]=true}else{ae[ze]=ie}}else{ae[ze]=ae[qe]}}else{ue[Se]=true}let pe;try{pe=de.onHeaders(re,le,this.resume,fe)===false}catch(re){ce.destroy(ue,re);return-1}if(de.method==="HEAD"){return 1}if(re<200){return 1}if(ue[Pe]){ue[Pe]=false;resume(ae)}return pe?yt.ERROR.PAUSED:0}onBody(re){const{client:ie,socket:oe,statusCode:ae,maxResponseSize:ue}=this;if(oe.destroyed){return-1}const le=ie[je][ie[Je]];se(le);se.strictEqual(this.timeoutType,xt);if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}se(ae>=200);if(ue>-1&&this.bytesRead+re.length>ue){ce.destroy(oe,new _e);return-1}this.bytesRead+=re.length;try{if(le.onData(re)===false){return yt.ERROR.PAUSED}}catch(re){ce.destroy(oe,re);return-1}}onMessageComplete(){const{client:re,socket:ie,statusCode:oe,upgrade:ae,headers:ue,contentLength:le,bytesRead:fe,shouldKeepAlive:de}=this;if(ie.destroyed&&(!oe||de)){return-1}if(ae){return}const he=re[je][re[Je]];se(he);se(oe>=100);this.statusCode=null;this.statusText="";this.bytesRead=0;this.contentLength="";this.keepAlive="";this.connection="";se(this.headers.length%2===0);this.headers=[];this.headersSize=0;if(oe<200){return}if(he.method!=="HEAD"&&le&&fe!==parseInt(le,10)){ce.destroy(ie,new pe);return-1}try{he.onComplete(ue)}catch(ie){errorRequest(re,he,ie)}re[je][re[Je]++]=null;if(ie[Ne]){se.strictEqual(re[Qe],0);ce.destroy(ie,new ve("reset"));return yt.ERROR.PAUSED}else if(!de){ce.destroy(ie,new ve("reset"));return yt.ERROR.PAUSED}else if(ie[Se]&&re[Qe]===0){ce.destroy(ie,new ve("reset"));return yt.ERROR.PAUSED}else if(re[Ge]===1){setImmediate(resume,re)}else{resume(re)}}}function onParserTimeout(re){const{socket:ie,timeoutType:oe,client:ae}=re;if(oe===Bt){if(!ie[Ne]||ie.writableNeedDrain||ae[Qe]>1){se(!re.paused,"cannot be paused while waiting for headers");ce.destroy(ie,new ge)}}else if(oe===xt){if(!re.paused){ce.destroy(ie,new be)}}else if(oe===kt){se(ae[Qe]===0&&ae[ze]);ce.destroy(ie,new ve("socket idle timeout"))}}function onSocketReadable(){const{[Oe]:re}=this;re.readMore()}function onSocketError(re){const{[Oe]:ie}=this;se(re.code!=="ERR_TLS_CERT_ALTNAME_INVALID");if(re.code==="ECONNRESET"&&ie.statusCode&&!ie.shouldKeepAlive){ie.onMessageComplete();return}this[We]=re;onError(this[xe],re)}function onError(re,ie){if(re[Qe]===0&&ie.code!=="UND_ERR_INFO"&&ie.code!=="UND_ERR_SOCKET"){se(re[Ve]===re[Je]);const oe=re[je].splice(re[Je]);for(let se=0;se0&&ie.code!=="UND_ERR_INFO"){const oe=re[je][re[Je]];re[je][re[Je]++]=null;errorRequest(re,oe,ie)}re[Ve]=re[Je];se(re[Qe]===0);re.emit("disconnect",re[Ie],[re],ie);resume(re)}async function connect(re){se(!re[Fe]);se(!re[Ye]);let{host:ie,hostname:oe,protocol:ue,port:le}=re[Ie];if(oe[0]==="["){const re=oe.indexOf("]");se(re!==-1);const ie=oe.substr(1,re-1);se(ae.isIP(ie));oe=ie}re[Fe]=true;if(mt.beforeConnect.hasSubscribers){mt.beforeConnect.publish({connectParams:{host:ie,hostname:oe,protocol:ue,port:le,servername:re[Be],localAddress:re[dt]},connector:re[nt]})}try{const ae=await new Promise(((se,ae)=>{re[nt]({host:ie,hostname:oe,protocol:ue,port:le,servername:re[Be],localAddress:re[dt]},((re,ie)=>{if(re){ae(re)}else{se(ie)}}))}));if(re.destroyed){ce.destroy(ae.on("error",(()=>{})),new Ee);return}if(!wt){wt=await _t;_t=null}re[Fe]=false;se(ae);ae[He]=false;ae[Ne]=false;ae[Se]=false;ae[Pe]=false;ae[We]=null;ae[Oe]=new Parser(re,ae,wt);ae[xe]=re;ae[st]=0;ae[ot]=re[ot];ae.on("error",onSocketError).on("readable",onSocketReadable).on("end",onSocketEnd).on("close",onSocketClose);re[Ye]=ae;if(mt.connected.hasSubscribers){mt.connected.publish({connectParams:{host:ie,hostname:oe,protocol:ue,port:le,servername:re[Be],localAddress:re[dt]},connector:re[nt],socket:ae})}re.emit("connect",re[Ie],[re])}catch(ae){if(re.destroyed){return}re[Fe]=false;if(mt.connectError.hasSubscribers){mt.connectError.publish({connectParams:{host:ie,hostname:oe,protocol:ue,port:le,servername:re[Be],localAddress:re[dt]},connector:re[nt],error:ae})}if(ae.code==="ERR_TLS_CERT_ALTNAME_INVALID"){se(re[Qe]===0);while(re[Re]>0&&re[je][re[Ve]].servername===re[Be]){const ie=re[je][re[Ve]++];errorRequest(re,ie,ae)}}else{onError(re,ae)}re.emit("connectionError",re[Ie],[re],ae)}resume(re)}function emitDrain(re){re[Ue]=0;re.emit("drain",re[Ie],[re])}function resume(re,ie){if(re[Te]===2){return}re[Te]=2;_resume(re,ie);re[Te]=0;if(re[Je]>256){re[je].splice(0,re[Je]);re[Ve]-=re[Je];re[Je]=0}}function _resume(re,ie){while(true){if(re.destroyed){se(re[Re]===0);return}if(re[At]&&!re[Me]){re[At]();re[At]=null;return}const oe=re[Ye];if(oe&&!oe.destroyed){if(re[Me]===0){if(!oe[He]&&oe.unref){oe.unref();oe[He]=true}}else if(oe[He]&&oe.ref){oe.ref();oe[He]=false}if(re[Me]===0){if(oe[Oe].timeoutType!==kt){oe[Oe].setTimeout(re[ze],kt)}}else if(re[Qe]>0&&oe[Oe].statusCode<200){if(oe[Oe].timeoutType!==Bt){const ie=re[je][re[Je]];const se=ie.headersTimeout!=null?ie.headersTimeout:re[et];oe[Oe].setTimeout(se,Bt)}}}if(re[ke]){re[Ue]=2}else if(re[Ue]===2){if(ie){re[Ue]=1;process.nextTick(emitDrain,re)}else{emitDrain(re)}continue}if(re[Re]===0){return}if(re[Qe]>=(re[Ge]||1)){return}const ae=re[je][re[Ve]];if(re[Ie].protocol==="https:"&&re[Be]!==ae.servername){if(re[Qe]>0){return}re[Be]=ae.servername;if(oe&&oe.servername!==ae.servername){ce.destroy(oe,new ve("servername changed"));return}}if(re[Fe]){return}if(!oe){connect(re);return}if(oe.destroyed||oe[Ne]||oe[Se]||oe[Pe]){return}if(re[Qe]>0&&!ae.idempotent){return}if(re[Qe]>0&&(ae.upgrade||ae.method==="CONNECT")){return}if(ce.isStream(ae.body)&&ce.bodyLength(ae.body)===0){ae.body.on("data",(function(){se(false)})).on("error",(function(ie){errorRequest(re,ae,ie)})).on("end",(function(){ce.destroy(this)}));ae.body=null}if(re[Qe]>0&&(ce.isStream(ae.body)||ce.isAsyncIterable(ae.body))){return}if(!ae.aborted&&write(re,ae)){re[Ve]++}else{re[je].splice(re[Ve],1)}}}function write(re,ie){const{body:oe,method:ae,path:ue,host:le,upgrade:fe,headers:pe,blocking:he,reset:ge}=ie;const me=ae==="PUT"||ae==="POST"||ae==="PATCH";if(oe&&typeof oe.read==="function"){oe.read(0)}let ye=ce.bodyLength(oe);if(ye===null){ye=ie.contentLength}if(ye===0&&!me){ye=null}if(ie.contentLength!==null&&ie.contentLength!==ye){if(re[rt]){errorRequest(re,ie,new de);return false}process.emitWarning(new de)}const be=re[Ye];try{ie.onConnect((oe=>{if(ie.aborted||ie.completed){return}errorRequest(re,ie,oe||new Ae);ce.destroy(be,new ve("aborted"))}))}catch(oe){errorRequest(re,ie,oe)}if(ie.aborted){return false}if(ae==="HEAD"){be[Se]=true}if(fe||ae==="CONNECT"){be[Se]=true}if(ge!=null){be[Se]=ge}if(re[ot]&&be[st]++>=re[ot]){be[Se]=true}if(he){be[Pe]=true}let we=`${ae} ${ue} HTTP/1.1\r\n`;if(typeof le==="string"){we+=`host: ${le}\r\n`}else{we+=re[Ke]}if(fe){we+=`connection: upgrade\r\nupgrade: ${fe}\r\n`}else if(re[Ge]&&!be[Se]){we+="connection: keep-alive\r\n"}else{we+="connection: close\r\n"}if(pe){we+=pe}if(mt.sendHeaders.hasSubscribers){mt.sendHeaders.publish({request:ie,headers:we,socket:be})}if(!oe){if(ye===0){be.write(`${we}content-length: 0\r\n\r\n`,"latin1")}else{se(ye===null,"no body must not have content length");be.write(`${we}\r\n`,"latin1")}ie.onRequestSent()}else if(ce.isBuffer(oe)){se(ye===oe.byteLength,"buffer body must have content length");be.cork();be.write(`${we}content-length: ${ye}\r\n\r\n`,"latin1");be.write(oe);be.uncork();ie.onBodySent(oe);ie.onRequestSent();if(!me){be[Se]=true}}else if(ce.isBlobLike(oe)){if(typeof oe.stream==="function"){writeIterable({body:oe.stream(),client:re,request:ie,socket:be,contentLength:ye,header:we,expectsPayload:me})}else{writeBlob({body:oe,client:re,request:ie,socket:be,contentLength:ye,header:we,expectsPayload:me})}}else if(ce.isStream(oe)){writeStream({body:oe,client:re,request:ie,socket:be,contentLength:ye,header:we,expectsPayload:me})}else if(ce.isIterable(oe)){writeIterable({body:oe,client:re,request:ie,socket:be,contentLength:ye,header:we,expectsPayload:me})}else{se(false)}return true}function writeStream({body:re,client:ie,request:oe,socket:ae,contentLength:ue,header:le,expectsPayload:fe}){se(ue!==0||ie[Qe]===0,"stream body cannot be pipelined");let de=false;const pe=new AsyncWriter({socket:ae,request:oe,contentLength:ue,client:ie,expectsPayload:fe,header:le});const onData=function(re){if(de){return}try{if(!pe.write(re)&&this.pause){this.pause()}}catch(re){ce.destroy(this,re)}};const onDrain=function(){if(de){return}if(re.resume){re.resume()}};const onAbort=function(){onFinished(new Ae)};const onFinished=function(oe){if(de){return}de=true;se(ae.destroyed||ae[Ne]&&ie[Qe]<=1);ae.off("drain",onDrain).off("error",onFinished);re.removeListener("data",onData).removeListener("end",onFinished).removeListener("error",onFinished).removeListener("close",onAbort);if(!oe){try{pe.end()}catch(re){oe=re}}pe.destroy(oe);if(oe&&(oe.code!=="UND_ERR_INFO"||oe.message!=="reset")){ce.destroy(re,oe)}else{ce.destroy(re)}};re.on("data",onData).on("end",onFinished).on("error",onFinished).on("close",onAbort);if(re.resume){re.resume()}ae.on("drain",onDrain).on("error",onFinished)}async function writeBlob({body:re,client:ie,request:oe,socket:ae,contentLength:ue,header:le,expectsPayload:fe}){se(ue===re.size,"blob body must have content length");try{if(ue!=null&&ue!==re.size){throw new de}const se=Buffer.from(await re.arrayBuffer());ae.cork();ae.write(`${le}content-length: ${ue}\r\n\r\n`,"latin1");ae.write(se);ae.uncork();oe.onBodySent(se);oe.onRequestSent();if(!fe){ae[Se]=true}resume(ie)}catch(re){ce.destroy(ae,re)}}async function writeIterable({body:re,client:ie,request:oe,socket:ae,contentLength:ce,header:ue,expectsPayload:le}){se(ce!==0||ie[Qe]===0,"iterator body cannot be pipelined");let fe=null;function onDrain(){if(fe){const re=fe;fe=null;re()}}const waitForDrain=()=>new Promise(((re,ie)=>{se(fe===null);if(ae[We]){ie(ae[We])}else{fe=re}}));ae.on("close",onDrain).on("drain",onDrain);const de=new AsyncWriter({socket:ae,request:oe,contentLength:ce,client:ie,expectsPayload:le,header:ue});try{for await(const ie of re){if(ae[We]){throw ae[We]}if(!de.write(ie)){await waitForDrain()}}de.end()}catch(re){de.destroy(re)}finally{ae.off("close",onDrain).off("drain",onDrain)}}class AsyncWriter{constructor({socket:re,request:ie,contentLength:oe,client:se,expectsPayload:ae,header:ce}){this.socket=re;this.request=ie;this.contentLength=oe;this.client=se;this.bytesWritten=0;this.expectsPayload=ae;this.header=ce;re[Ne]=true}write(re){const{socket:ie,request:oe,contentLength:se,client:ae,bytesWritten:ce,expectsPayload:ue,header:le}=this;if(ie[We]){throw ie[We]}if(ie.destroyed){return false}const fe=Buffer.byteLength(re);if(!fe){return true}if(se!==null&&ce+fe>se){if(ae[rt]){throw new de}process.emitWarning(new de)}ie.cork();if(ce===0){if(!ue){ie[Se]=true}if(se===null){ie.write(`${le}transfer-encoding: chunked\r\n`,"latin1")}else{ie.write(`${le}content-length: ${se}\r\n\r\n`,"latin1")}}if(se===null){ie.write(`\r\n${fe.toString(16)}\r\n`,"latin1")}this.bytesWritten+=fe;const pe=ie.write(re);ie.uncork();oe.onBodySent(re);if(!pe){if(ie[Oe].timeout&&ie[Oe].timeoutType===Bt){if(ie[Oe].timeout.refresh){ie[Oe].timeout.refresh()}}}return pe}end(){const{socket:re,contentLength:ie,client:oe,bytesWritten:se,expectsPayload:ae,header:ce,request:ue}=this;ue.onRequestSent();re[Ne]=false;if(re[We]){throw re[We]}if(re.destroyed){return}if(se===0){if(ae){re.write(`${ce}content-length: 0\r\n\r\n`,"latin1")}else{re.write(`${ce}\r\n`,"latin1")}}else if(ie===null){re.write("\r\n0\r\n\r\n","latin1")}if(ie!==null&&se!==ie){if(oe[rt]){throw new de}else{process.emitWarning(new de)}}if(re[Oe].timeout&&re[Oe].timeoutType===Bt){if(re[Oe].timeout.refresh){re[Oe].timeout.refresh()}}resume(oe)}destroy(re){const{socket:ie,client:oe}=this;ie[Ne]=false;if(re){se(oe[Qe]<=1,"pipeline should only contain this request");ce.destroy(ie,re)}}}function errorRequest(re,ie,oe){try{ie.onError(oe);se(ie.aborted)}catch(oe){re.emit("error",oe)}}re.exports=Client},56436:(re,ie,oe)=>{"use strict";const{kConnected:se,kSize:ae}=oe(72785);class CompatWeakRef{constructor(re){this.value=re}deref(){return this.value[se]===0&&this.value[ae]===0?undefined:this.value}}class CompatFinalizer{constructor(re){this.finalizer=re}register(re,ie){re.on("disconnect",(()=>{if(re[se]===0&&re[ae]===0){this.finalizer(ie)}}))}}re.exports=function(){return{WeakRef:global.WeakRef||CompatWeakRef,FinalizationRegistry:global.FinalizationRegistry||CompatFinalizer}}},20663:re=>{"use strict";const ie=1024;const oe=4096;re.exports={maxAttributeValueSize:ie,maxNameValuePairSize:oe}},41724:(re,ie,oe)=>{"use strict";const{parseSetCookie:se}=oe(24408);const{stringify:ae,getHeadersList:ce}=oe(43121);const{webidl:ue}=oe(21744);const{Headers:le}=oe(10554);function getCookies(re){ue.argumentLengthCheck(arguments,1,{header:"getCookies"});ue.brandCheck(re,le,{strict:false});const ie=re.get("cookie");const oe={};if(!ie){return oe}for(const re of ie.split(";")){const[ie,...se]=re.split("=");oe[ie.trim()]=se.join("=")}return oe}function deleteCookie(re,ie,oe){ue.argumentLengthCheck(arguments,2,{header:"deleteCookie"});ue.brandCheck(re,le,{strict:false});ie=ue.converters.DOMString(ie);oe=ue.converters.DeleteCookieAttributes(oe);setCookie(re,{name:ie,value:"",expires:new Date(0),...oe})}function getSetCookies(re){ue.argumentLengthCheck(arguments,1,{header:"getSetCookies"});ue.brandCheck(re,le,{strict:false});const ie=ce(re).cookies;if(!ie){return[]}return ie.map((re=>se(Array.isArray(re)?re[1]:re)))}function setCookie(re,ie){ue.argumentLengthCheck(arguments,2,{header:"setCookie"});ue.brandCheck(re,le,{strict:false});ie=ue.converters.Cookie(ie);const oe=ae(ie);if(oe){re.append("Set-Cookie",ae(ie))}}ue.converters.DeleteCookieAttributes=ue.dictionaryConverter([{converter:ue.nullableConverter(ue.converters.DOMString),key:"path",defaultValue:null},{converter:ue.nullableConverter(ue.converters.DOMString),key:"domain",defaultValue:null}]);ue.converters.Cookie=ue.dictionaryConverter([{converter:ue.converters.DOMString,key:"name"},{converter:ue.converters.DOMString,key:"value"},{converter:ue.nullableConverter((re=>{if(typeof re==="number"){return ue.converters["unsigned long long"](re)}return new Date(re)})),key:"expires",defaultValue:null},{converter:ue.nullableConverter(ue.converters["long long"]),key:"maxAge",defaultValue:null},{converter:ue.nullableConverter(ue.converters.DOMString),key:"domain",defaultValue:null},{converter:ue.nullableConverter(ue.converters.DOMString),key:"path",defaultValue:null},{converter:ue.nullableConverter(ue.converters.boolean),key:"secure",defaultValue:null},{converter:ue.nullableConverter(ue.converters.boolean),key:"httpOnly",defaultValue:null},{converter:ue.converters.USVString,key:"sameSite",allowedValues:["Strict","Lax","None"]},{converter:ue.sequenceConverter(ue.converters.DOMString),key:"unparsed",defaultValue:[]}]);re.exports={getCookies:getCookies,deleteCookie:deleteCookie,getSetCookies:getSetCookies,setCookie:setCookie}},24408:(re,ie,oe)=>{"use strict";const{maxNameValuePairSize:se,maxAttributeValueSize:ae}=oe(20663);const{isCTLExcludingHtab:ce}=oe(43121);const{collectASequenceOfCodePointsFast:ue}=oe(685);const le=oe(39491);function parseSetCookie(re){if(ce(re)){return null}let ie="";let oe="";let ae="";let le="";if(re.includes(";")){const se={position:0};ie=ue(";",re,se);oe=re.slice(se.position)}else{ie=re}if(!ie.includes("=")){le=ie}else{const re={position:0};ae=ue("=",ie,re);le=ie.slice(re.position+1)}ae=ae.trim();le=le.trim();if(ae.length+le.length>se){return null}return{name:ae,value:le,...parseUnparsedAttributes(oe)}}function parseUnparsedAttributes(re,ie={}){if(re.length===0){return ie}le(re[0]===";");re=re.slice(1);let oe="";if(re.includes(";")){oe=ue(";",re,{position:0});re=re.slice(oe.length)}else{oe=re;re=""}let se="";let ce="";if(oe.includes("=")){const re={position:0};se=ue("=",oe,re);ce=oe.slice(re.position+1)}else{se=oe}se=se.trim();ce=ce.trim();if(ce.length>ae){return parseUnparsedAttributes(re,ie)}const fe=se.toLowerCase();if(fe==="expires"){const re=new Date(ce);ie.expires=re}else if(fe==="max-age"){const oe=ce.charCodeAt(0);if((oe<48||oe>57)&&ce[0]!=="-"){return parseUnparsedAttributes(re,ie)}if(!/^\d+$/.test(ce)){return parseUnparsedAttributes(re,ie)}const se=Number(ce);ie.maxAge=se}else if(fe==="domain"){let re=ce;if(re[0]==="."){re=re.slice(1)}re=re.toLowerCase();ie.domain=re}else if(fe==="path"){let re="";if(ce.length===0||ce[0]!=="/"){re="/"}else{re=ce}ie.path=re}else if(fe==="secure"){ie.secure=true}else if(fe==="httponly"){ie.httpOnly=true}else if(fe==="samesite"){let re="Default";const oe=ce.toLowerCase();if(oe.includes("none")){re="None"}if(oe.includes("strict")){re="Strict"}if(oe.includes("lax")){re="Lax"}ie.sameSite=re}else{ie.unparsed??=[];ie.unparsed.push(`${se}=${ce}`)}return parseUnparsedAttributes(re,ie)}re.exports={parseSetCookie:parseSetCookie,parseUnparsedAttributes:parseUnparsedAttributes}},43121:(re,ie,oe)=>{"use strict";const se=oe(39491);const{kHeadersList:ae}=oe(72785);function isCTLExcludingHtab(re){if(re.length===0){return false}for(const ie of re){const re=ie.charCodeAt(0);if(re>=0||re<=8||(re>=10||re<=31)||re===127){return false}}}function validateCookieName(re){for(const ie of re){const re=ie.charCodeAt(0);if(re<=32||re>127||ie==="("||ie===")"||ie===">"||ie==="<"||ie==="@"||ie===","||ie===";"||ie===":"||ie==="\\"||ie==='"'||ie==="/"||ie==="["||ie==="]"||ie==="?"||ie==="="||ie==="{"||ie==="}"){throw new Error("Invalid cookie name")}}}function validateCookieValue(re){for(const ie of re){const re=ie.charCodeAt(0);if(re<33||re===34||re===44||re===59||re===92||re>126){throw new Error("Invalid header value")}}}function validateCookiePath(re){for(const ie of re){const re=ie.charCodeAt(0);if(re<33||ie===";"){throw new Error("Invalid cookie path")}}}function validateCookieDomain(re){if(re.startsWith("-")||re.endsWith(".")||re.endsWith("-")){throw new Error("Invalid cookie domain")}}function toIMFDate(re){if(typeof re==="number"){re=new Date(re)}const ie=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];const oe=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];const se=ie[re.getUTCDay()];const ae=re.getUTCDate().toString().padStart(2,"0");const ce=oe[re.getUTCMonth()];const ue=re.getUTCFullYear();const le=re.getUTCHours().toString().padStart(2,"0");const fe=re.getUTCMinutes().toString().padStart(2,"0");const de=re.getUTCSeconds().toString().padStart(2,"0");return`${se}, ${ae} ${ce} ${ue} ${le}:${fe}:${de} GMT`}function validateCookieMaxAge(re){if(re<0){throw new Error("Invalid cookie max-age")}}function stringify(re){if(re.name.length===0){return null}validateCookieName(re.name);validateCookieValue(re.value);const ie=[`${re.name}=${re.value}`];if(re.name.startsWith("__Secure-")){re.secure=true}if(re.name.startsWith("__Host-")){re.secure=true;re.domain=null;re.path="/"}if(re.secure){ie.push("Secure")}if(re.httpOnly){ie.push("HttpOnly")}if(typeof re.maxAge==="number"){validateCookieMaxAge(re.maxAge);ie.push(`Max-Age=${re.maxAge}`)}if(re.domain){validateCookieDomain(re.domain);ie.push(`Domain=${re.domain}`)}if(re.path){validateCookiePath(re.path);ie.push(`Path=${re.path}`)}if(re.expires&&re.expires.toString()!=="Invalid Date"){ie.push(`Expires=${toIMFDate(re.expires)}`)}if(re.sameSite){ie.push(`SameSite=${re.sameSite}`)}for(const oe of re.unparsed){if(!oe.includes("=")){throw new Error("Invalid unparsed")}const[re,...se]=oe.split("=");ie.push(`${re.trim()}=${se.join("=")}`)}return ie.join("; ")}let ce;function getHeadersList(re){if(re[ae]){return re[ae]}if(!ce){ce=Object.getOwnPropertySymbols(re).find((re=>re.description==="headers list"));se(ce,"Headers cannot be parsed")}const ie=re[ce];se(ie);return ie}re.exports={isCTLExcludingHtab:isCTLExcludingHtab,stringify:stringify,getHeadersList:getHeadersList}},82067:(re,ie,oe)=>{"use strict";const se=oe(41808);const ae=oe(39491);const ce=oe(83983);const{InvalidArgumentError:ue,ConnectTimeoutError:le}=oe(48045);let fe;let de;if(global.FinalizationRegistry){de=class WeakSessionCache{constructor(re){this._maxCachedSessions=re;this._sessionCache=new Map;this._sessionRegistry=new global.FinalizationRegistry((re=>{if(this._sessionCache.size=this._maxCachedSessions){const{value:re}=this._sessionCache.keys().next();this._sessionCache.delete(re)}this._sessionCache.set(re,ie)}}}function buildConnector({maxCachedSessions:re,socketPath:ie,timeout:le,...pe}){if(re!=null&&(!Number.isInteger(re)||re<0)){throw new ue("maxCachedSessions must be a positive integer or zero")}const he={path:ie,...pe};const Ae=new de(re==null?100:re);le=le==null?1e4:le;return function connect({hostname:re,host:ie,protocol:ue,port:de,servername:pe,localAddress:ge,httpSocket:me},ye){let ve;if(ue==="https:"){if(!fe){fe=oe(24404)}pe=pe||he.servername||ce.getServerName(ie)||null;const se=pe||re;const ue=Ae.get(se)||null;ae(se);ve=fe.connect({highWaterMark:16384,...he,servername:pe,session:ue,localAddress:ge,socket:me,port:de||443,host:re});ve.on("session",(function(re){Ae.set(se,re)}))}else{ae(!me,"httpSocket can only be sent on TLS update");ve=se.connect({highWaterMark:64*1024,...he,localAddress:ge,port:de||80,host:re})}if(he.keepAlive==null||he.keepAlive){const re=he.keepAliveInitialDelay===undefined?6e4:he.keepAliveInitialDelay;ve.setKeepAlive(true,re)}const be=setupTimeout((()=>onConnectTimeout(ve)),le);ve.setNoDelay(true).once(ue==="https:"?"secureConnect":"connect",(function(){be();if(ye){const re=ye;ye=null;re(null,this)}})).on("error",(function(re){be();if(ye){const ie=ye;ye=null;ie(re)}}));return ve}}function setupTimeout(re,ie){if(!ie){return()=>{}}let oe=null;let se=null;const ae=setTimeout((()=>{oe=setImmediate((()=>{if(process.platform==="win32"){se=setImmediate((()=>re()))}else{re()}}))}),ie);return()=>{clearTimeout(ae);clearImmediate(oe);clearImmediate(se)}}function onConnectTimeout(re){ce.destroy(re,new le)}re.exports=buildConnector},48045:re=>{"use strict";class UndiciError extends Error{constructor(re){super(re);this.name="UndiciError";this.code="UND_ERR"}}class ConnectTimeoutError extends UndiciError{constructor(re){super(re);Error.captureStackTrace(this,ConnectTimeoutError);this.name="ConnectTimeoutError";this.message=re||"Connect Timeout Error";this.code="UND_ERR_CONNECT_TIMEOUT"}}class HeadersTimeoutError extends UndiciError{constructor(re){super(re);Error.captureStackTrace(this,HeadersTimeoutError);this.name="HeadersTimeoutError";this.message=re||"Headers Timeout Error";this.code="UND_ERR_HEADERS_TIMEOUT"}}class HeadersOverflowError extends UndiciError{constructor(re){super(re);Error.captureStackTrace(this,HeadersOverflowError);this.name="HeadersOverflowError";this.message=re||"Headers Overflow Error";this.code="UND_ERR_HEADERS_OVERFLOW"}}class BodyTimeoutError extends UndiciError{constructor(re){super(re);Error.captureStackTrace(this,BodyTimeoutError);this.name="BodyTimeoutError";this.message=re||"Body Timeout Error";this.code="UND_ERR_BODY_TIMEOUT"}}class ResponseStatusCodeError extends UndiciError{constructor(re,ie,oe,se){super(re);Error.captureStackTrace(this,ResponseStatusCodeError);this.name="ResponseStatusCodeError";this.message=re||"Response Status Code Error";this.code="UND_ERR_RESPONSE_STATUS_CODE";this.body=se;this.status=ie;this.statusCode=ie;this.headers=oe}}class InvalidArgumentError extends UndiciError{constructor(re){super(re);Error.captureStackTrace(this,InvalidArgumentError);this.name="InvalidArgumentError";this.message=re||"Invalid Argument Error";this.code="UND_ERR_INVALID_ARG"}}class InvalidReturnValueError extends UndiciError{constructor(re){super(re);Error.captureStackTrace(this,InvalidReturnValueError);this.name="InvalidReturnValueError";this.message=re||"Invalid Return Value Error";this.code="UND_ERR_INVALID_RETURN_VALUE"}}class RequestAbortedError extends UndiciError{constructor(re){super(re);Error.captureStackTrace(this,RequestAbortedError);this.name="AbortError";this.message=re||"Request aborted";this.code="UND_ERR_ABORTED"}}class InformationalError extends UndiciError{constructor(re){super(re);Error.captureStackTrace(this,InformationalError);this.name="InformationalError";this.message=re||"Request information";this.code="UND_ERR_INFO"}}class RequestContentLengthMismatchError extends UndiciError{constructor(re){super(re);Error.captureStackTrace(this,RequestContentLengthMismatchError);this.name="RequestContentLengthMismatchError";this.message=re||"Request body length does not match content-length header";this.code="UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"}}class ResponseContentLengthMismatchError extends UndiciError{constructor(re){super(re);Error.captureStackTrace(this,ResponseContentLengthMismatchError);this.name="ResponseContentLengthMismatchError";this.message=re||"Response body length does not match content-length header";this.code="UND_ERR_RES_CONTENT_LENGTH_MISMATCH"}}class ClientDestroyedError extends UndiciError{constructor(re){super(re);Error.captureStackTrace(this,ClientDestroyedError);this.name="ClientDestroyedError";this.message=re||"The client is destroyed";this.code="UND_ERR_DESTROYED"}}class ClientClosedError extends UndiciError{constructor(re){super(re);Error.captureStackTrace(this,ClientClosedError);this.name="ClientClosedError";this.message=re||"The client is closed";this.code="UND_ERR_CLOSED"}}class SocketError extends UndiciError{constructor(re,ie){super(re);Error.captureStackTrace(this,SocketError);this.name="SocketError";this.message=re||"Socket error";this.code="UND_ERR_SOCKET";this.socket=ie}}class NotSupportedError extends UndiciError{constructor(re){super(re);Error.captureStackTrace(this,NotSupportedError);this.name="NotSupportedError";this.message=re||"Not supported error";this.code="UND_ERR_NOT_SUPPORTED"}}class BalancedPoolMissingUpstreamError extends UndiciError{constructor(re){super(re);Error.captureStackTrace(this,NotSupportedError);this.name="MissingUpstreamError";this.message=re||"No upstream has been added to the BalancedPool";this.code="UND_ERR_BPL_MISSING_UPSTREAM"}}class HTTPParserError extends Error{constructor(re,ie,oe){super(re);Error.captureStackTrace(this,HTTPParserError);this.name="HTTPParserError";this.code=ie?`HPE_${ie}`:undefined;this.data=oe?oe.toString():undefined}}class ResponseExceededMaxSizeError extends UndiciError{constructor(re){super(re);Error.captureStackTrace(this,ResponseExceededMaxSizeError);this.name="ResponseExceededMaxSizeError";this.message=re||"Response content exceeded max size";this.code="UND_ERR_RES_EXCEEDED_MAX_SIZE"}}re.exports={HTTPParserError:HTTPParserError,UndiciError:UndiciError,HeadersTimeoutError:HeadersTimeoutError,HeadersOverflowError:HeadersOverflowError,BodyTimeoutError:BodyTimeoutError,RequestContentLengthMismatchError:RequestContentLengthMismatchError,ConnectTimeoutError:ConnectTimeoutError,ResponseStatusCodeError:ResponseStatusCodeError,InvalidArgumentError:InvalidArgumentError,InvalidReturnValueError:InvalidReturnValueError,RequestAbortedError:RequestAbortedError,ClientDestroyedError:ClientDestroyedError,ClientClosedError:ClientClosedError,InformationalError:InformationalError,SocketError:SocketError,NotSupportedError:NotSupportedError,ResponseContentLengthMismatchError:ResponseContentLengthMismatchError,BalancedPoolMissingUpstreamError:BalancedPoolMissingUpstreamError,ResponseExceededMaxSizeError:ResponseExceededMaxSizeError}},62905:(re,ie,oe)=>{"use strict";const{InvalidArgumentError:se,NotSupportedError:ae}=oe(48045);const ce=oe(39491);const ue=oe(83983);const le=/^[\^_`a-zA-Z\-0-9!#$%&'*+.|~]+$/;const fe=/[^\t\x20-\x7e\x80-\xff]/;const de=/[^\u0021-\u00ff]/;const pe=Symbol("handler");const he={};let Ae;try{const re=oe(67643);he.create=re.channel("undici:request:create");he.bodySent=re.channel("undici:request:bodySent");he.headers=re.channel("undici:request:headers");he.trailers=re.channel("undici:request:trailers");he.error=re.channel("undici:request:error")}catch{he.create={hasSubscribers:false};he.bodySent={hasSubscribers:false};he.headers={hasSubscribers:false};he.trailers={hasSubscribers:false};he.error={hasSubscribers:false}}class Request{constructor(re,{path:ie,method:ae,body:ce,headers:fe,query:ge,idempotent:me,blocking:ye,upgrade:ve,headersTimeout:be,bodyTimeout:we,reset:_e,throwOnError:Ee},Ce){if(typeof ie!=="string"){throw new se("path must be a string")}else if(ie[0]!=="/"&&!(ie.startsWith("http://")||ie.startsWith("https://"))&&ae!=="CONNECT"){throw new se("path must be an absolute URL or start with a slash")}else if(de.exec(ie)!==null){throw new se("invalid request path")}if(typeof ae!=="string"){throw new se("method must be a string")}else if(le.exec(ae)===null){throw new se("invalid request method")}if(ve&&typeof ve!=="string"){throw new se("upgrade must be a string")}if(be!=null&&(!Number.isFinite(be)||be<0)){throw new se("invalid headersTimeout")}if(we!=null&&(!Number.isFinite(we)||we<0)){throw new se("invalid bodyTimeout")}if(_e!=null&&typeof _e!=="boolean"){throw new se("invalid reset")}this.headersTimeout=be;this.bodyTimeout=we;this.throwOnError=Ee===true;this.method=ae;if(ce==null){this.body=null}else if(ue.isStream(ce)){this.body=ce}else if(ue.isBuffer(ce)){this.body=ce.byteLength?ce:null}else if(ArrayBuffer.isView(ce)){this.body=ce.buffer.byteLength?Buffer.from(ce.buffer,ce.byteOffset,ce.byteLength):null}else if(ce instanceof ArrayBuffer){this.body=ce.byteLength?Buffer.from(ce):null}else if(typeof ce==="string"){this.body=ce.length?Buffer.from(ce):null}else if(ue.isFormDataLike(ce)||ue.isIterable(ce)||ue.isBlobLike(ce)){this.body=ce}else{throw new se("body must be a string, a Buffer, a Readable stream, an iterable, or an async iterable")}this.completed=false;this.aborted=false;this.upgrade=ve||null;this.path=ge?ue.buildURL(ie,ge):ie;this.origin=re;this.idempotent=me==null?ae==="HEAD"||ae==="GET":me;this.blocking=ye==null?false:ye;this.reset=_e==null?null:_e;this.host=null;this.contentLength=null;this.contentType=null;this.headers="";if(Array.isArray(fe)){if(fe.length%2!==0){throw new se("headers array must be even")}for(let re=0;re{re.exports={kClose:Symbol("close"),kDestroy:Symbol("destroy"),kDispatch:Symbol("dispatch"),kUrl:Symbol("url"),kWriting:Symbol("writing"),kResuming:Symbol("resuming"),kQueue:Symbol("queue"),kConnect:Symbol("connect"),kConnecting:Symbol("connecting"),kHeadersList:Symbol("headers list"),kKeepAliveDefaultTimeout:Symbol("default keep alive timeout"),kKeepAliveMaxTimeout:Symbol("max keep alive timeout"),kKeepAliveTimeoutThreshold:Symbol("keep alive timeout threshold"),kKeepAliveTimeoutValue:Symbol("keep alive timeout"),kKeepAlive:Symbol("keep alive"),kHeadersTimeout:Symbol("headers timeout"),kBodyTimeout:Symbol("body timeout"),kServerName:Symbol("server name"),kLocalAddress:Symbol("local address"),kHost:Symbol("host"),kNoRef:Symbol("no ref"),kBodyUsed:Symbol("used"),kRunning:Symbol("running"),kBlocking:Symbol("blocking"),kPending:Symbol("pending"),kSize:Symbol("size"),kBusy:Symbol("busy"),kQueued:Symbol("queued"),kFree:Symbol("free"),kConnected:Symbol("connected"),kClosed:Symbol("closed"),kNeedDrain:Symbol("need drain"),kReset:Symbol("reset"),kDestroyed:Symbol.for("nodejs.stream.destroyed"),kMaxHeadersSize:Symbol("max headers size"),kRunningIdx:Symbol("running index"),kPendingIdx:Symbol("pending index"),kError:Symbol("error"),kClients:Symbol("clients"),kClient:Symbol("client"),kParser:Symbol("parser"),kOnDestroyed:Symbol("destroy callbacks"),kPipelining:Symbol("pipelining"),kSocket:Symbol("socket"),kHostHeader:Symbol("host header"),kConnector:Symbol("connector"),kStrictContentLength:Symbol("strict content length"),kMaxRedirections:Symbol("maxRedirections"),kMaxRequests:Symbol("maxRequestsPerClient"),kProxy:Symbol("proxy agent options"),kCounter:Symbol("socket request counter"),kInterceptors:Symbol("dispatch interceptors"),kMaxResponseSize:Symbol("max response size")}},83983:(re,ie,oe)=>{"use strict";const se=oe(39491);const{kDestroyed:ae,kBodyUsed:ce}=oe(72785);const{IncomingMessage:ue}=oe(13685);const le=oe(12781);const fe=oe(41808);const{InvalidArgumentError:de}=oe(48045);const{Blob:pe}=oe(14300);const he=oe(73837);const{stringify:Ae}=oe(63477);const[ge,me]=process.versions.node.split(".").map((re=>Number(re)));function nop(){}function isStream(re){return re&&typeof re==="object"&&typeof re.pipe==="function"&&typeof re.on==="function"}function isBlobLike(re){return pe&&re instanceof pe||re&&typeof re==="object"&&(typeof re.stream==="function"||typeof re.arrayBuffer==="function")&&/^(Blob|File)$/.test(re[Symbol.toStringTag])}function buildURL(re,ie){if(re.includes("?")||re.includes("#")){throw new Error('Query params cannot be passed when url already contains "?" or "#".')}const oe=Ae(ie);if(oe){re+="?"+oe}return re}function parseURL(re){if(typeof re==="string"){re=new URL(re);if(!/^https?:/.test(re.origin||re.protocol)){throw new de("Invalid URL protocol: the URL must start with `http:` or `https:`.")}return re}if(!re||typeof re!=="object"){throw new de("Invalid URL: The URL argument must be a non-null object.")}if(re.port!=null&&re.port!==""&&!Number.isFinite(parseInt(re.port))){throw new de("Invalid URL: port must be a valid integer or a string representation of an integer.")}if(re.path!=null&&typeof re.path!=="string"){throw new de("Invalid URL path: the path must be a string or null/undefined.")}if(re.pathname!=null&&typeof re.pathname!=="string"){throw new de("Invalid URL pathname: the pathname must be a string or null/undefined.")}if(re.hostname!=null&&typeof re.hostname!=="string"){throw new de("Invalid URL hostname: the hostname must be a string or null/undefined.")}if(re.origin!=null&&typeof re.origin!=="string"){throw new de("Invalid URL origin: the origin must be a string or null/undefined.")}if(!/^https?:/.test(re.origin||re.protocol)){throw new de("Invalid URL protocol: the URL must start with `http:` or `https:`.")}if(!(re instanceof URL)){const ie=re.port!=null?re.port:re.protocol==="https:"?443:80;let oe=re.origin!=null?re.origin:`${re.protocol}//${re.hostname}:${ie}`;let se=re.path!=null?re.path:`${re.pathname||""}${re.search||""}`;if(oe.endsWith("/")){oe=oe.substring(0,oe.length-1)}if(se&&!se.startsWith("/")){se=`/${se}`}re=new URL(oe+se)}return re}function parseOrigin(re){re=parseURL(re);if(re.pathname!=="/"||re.search||re.hash){throw new de("invalid url")}return re}function getHostname(re){if(re[0]==="["){const ie=re.indexOf("]");se(ie!==-1);return re.substr(1,ie-1)}const ie=re.indexOf(":");if(ie===-1)return re;return re.substr(0,ie)}function getServerName(re){if(!re){return null}se.strictEqual(typeof re,"string");const ie=getHostname(re);if(fe.isIP(ie)){return""}return ie}function deepClone(re){return JSON.parse(JSON.stringify(re))}function isAsyncIterable(re){return!!(re!=null&&typeof re[Symbol.asyncIterator]==="function")}function isIterable(re){return!!(re!=null&&(typeof re[Symbol.iterator]==="function"||typeof re[Symbol.asyncIterator]==="function"))}function bodyLength(re){if(re==null){return 0}else if(isStream(re)){const ie=re._readableState;return ie&&ie.ended===true&&Number.isFinite(ie.length)?ie.length:null}else if(isBlobLike(re)){return re.size!=null?re.size:null}else if(isBuffer(re)){return re.byteLength}return null}function isDestroyed(re){return!re||!!(re.destroyed||re[ae])}function isReadableAborted(re){const ie=re&&re._readableState;return isDestroyed(re)&&ie&&!ie.endEmitted}function destroy(re,ie){if(!isStream(re)||isDestroyed(re)){return}if(typeof re.destroy==="function"){if(Object.getPrototypeOf(re).constructor===ue){re.socket=null}re.destroy(ie)}else if(ie){process.nextTick(((re,ie)=>{re.emit("error",ie)}),re,ie)}if(re.destroyed!==true){re[ae]=true}}const ye=/timeout=(\d+)/;function parseKeepAliveTimeout(re){const ie=re.toString().match(ye);return ie?parseInt(ie[1],10)*1e3:null}function parseHeaders(re,ie={}){for(let oe=0;oe{re.close()}))}else{const ie=Buffer.isBuffer(se)?se:Buffer.from(se);re.enqueue(new Uint8Array(ie))}return re.desiredSize>0},async cancel(re){await ie.return()}},0)}function isFormDataLike(re){return re&&typeof re==="object"&&typeof re.append==="function"&&typeof re.delete==="function"&&typeof re.get==="function"&&typeof re.getAll==="function"&&typeof re.has==="function"&&typeof re.set==="function"&&re[Symbol.toStringTag]==="FormData"}function throwIfAborted(re){if(!re){return}if(typeof re.throwIfAborted==="function"){re.throwIfAborted()}else{if(re.aborted){const re=new Error("The operation was aborted");re.name="AbortError";throw re}}}const be=!!String.prototype.toWellFormed;function toUSVString(re){if(be){return`${re}`.toWellFormed()}else if(he.toUSVString){return he.toUSVString(re)}return`${re}`}const we=Object.create(null);we.enumerable=true;re.exports={kEnumerableProperty:we,nop:nop,isDisturbed:isDisturbed,isErrored:isErrored,isReadable:isReadable,toUSVString:toUSVString,isReadableAborted:isReadableAborted,isBlobLike:isBlobLike,parseOrigin:parseOrigin,parseURL:parseURL,getServerName:getServerName,isStream:isStream,isIterable:isIterable,isAsyncIterable:isAsyncIterable,isDestroyed:isDestroyed,parseRawHeaders:parseRawHeaders,parseHeaders:parseHeaders,parseKeepAliveTimeout:parseKeepAliveTimeout,destroy:destroy,bodyLength:bodyLength,deepClone:deepClone,ReadableStreamFrom:ReadableStreamFrom,isBuffer:isBuffer,validateHandler:validateHandler,getSocketInfo:getSocketInfo,isFormDataLike:isFormDataLike,buildURL:buildURL,throwIfAborted:throwIfAborted,nodeMajor:ge,nodeMinor:me,nodeHasAutoSelectFamily:ge>18||ge===18&&me>=13}},74839:(re,ie,oe)=>{"use strict";const se=oe(60412);const{ClientDestroyedError:ae,ClientClosedError:ce,InvalidArgumentError:ue}=oe(48045);const{kDestroy:le,kClose:fe,kDispatch:de,kInterceptors:pe}=oe(72785);const he=Symbol("destroyed");const Ae=Symbol("closed");const ge=Symbol("onDestroyed");const me=Symbol("onClosed");const ye=Symbol("Intercepted Dispatch");class DispatcherBase extends se{constructor(){super();this[he]=false;this[ge]=null;this[Ae]=false;this[me]=[]}get destroyed(){return this[he]}get closed(){return this[Ae]}get interceptors(){return this[pe]}set interceptors(re){if(re){for(let ie=re.length-1;ie>=0;ie--){const re=this[pe][ie];if(typeof re!=="function"){throw new ue("interceptor must be an function")}}}this[pe]=re}close(re){if(re===undefined){return new Promise(((re,ie)=>{this.close(((oe,se)=>oe?ie(oe):re(se)))}))}if(typeof re!=="function"){throw new ue("invalid callback")}if(this[he]){queueMicrotask((()=>re(new ae,null)));return}if(this[Ae]){if(this[me]){this[me].push(re)}else{queueMicrotask((()=>re(null,null)))}return}this[Ae]=true;this[me].push(re);const onClosed=()=>{const re=this[me];this[me]=null;for(let ie=0;iethis.destroy())).then((()=>{queueMicrotask(onClosed)}))}destroy(re,ie){if(typeof re==="function"){ie=re;re=null}if(ie===undefined){return new Promise(((ie,oe)=>{this.destroy(re,((re,se)=>re?oe(re):ie(se)))}))}if(typeof ie!=="function"){throw new ue("invalid callback")}if(this[he]){if(this[ge]){this[ge].push(ie)}else{queueMicrotask((()=>ie(null,null)))}return}if(!re){re=new ae}this[he]=true;this[ge]=this[ge]||[];this[ge].push(ie);const onDestroyed=()=>{const re=this[ge];this[ge]=null;for(let ie=0;ie{queueMicrotask(onDestroyed)}))}[ye](re,ie){if(!this[pe]||this[pe].length===0){this[ye]=this[de];return this[de](re,ie)}let oe=this[de].bind(this);for(let re=this[pe].length-1;re>=0;re--){oe=this[pe][re](oe)}this[ye]=oe;return oe(re,ie)}dispatch(re,ie){if(!ie||typeof ie!=="object"){throw new ue("handler must be an object")}try{if(!re||typeof re!=="object"){throw new ue("opts must be an object.")}if(this[he]||this[ge]){throw new ae}if(this[Ae]){throw new ce}return this[ye](re,ie)}catch(re){if(typeof ie.onError!=="function"){throw new ue("invalid onError method")}ie.onError(re);return false}}}re.exports=DispatcherBase},60412:(re,ie,oe)=>{"use strict";const se=oe(82361);class Dispatcher extends se{dispatch(){throw new Error("not implemented")}close(){throw new Error("not implemented")}destroy(){throw new Error("not implemented")}}re.exports=Dispatcher},41472:(re,ie,oe)=>{"use strict";const se=oe(66472);const ae=oe(83983);const{ReadableStreamFrom:ce,isBlobLike:ue,isReadableStreamLike:le,readableStreamClose:fe,createDeferredPromise:de,fullyReadBody:pe}=oe(52538);const{FormData:he}=oe(72015);const{kState:Ae}=oe(15861);const{webidl:ge}=oe(21744);const{DOMException:me,structuredClone:ye}=oe(41037);const{Blob:ve,File:be}=oe(14300);const{kBodyUsed:we}=oe(72785);const _e=oe(39491);const{isErrored:Ee}=oe(83983);const{isUint8Array:Ce,isArrayBuffer:Ie}=oe(29830);const{File:Se}=oe(78511);const{parseMIMEType:Be,serializeAMimeType:xe}=oe(685);let ke=globalThis.ReadableStream;const Oe=be??Se;function extractBody(re,ie=false){if(!ke){ke=oe(35356).ReadableStream}let se=null;if(re instanceof ke){se=re}else if(ue(re)){se=re.stream()}else{se=new ke({async pull(re){re.enqueue(typeof pe==="string"?(new TextEncoder).encode(pe):pe);queueMicrotask((()=>fe(re)))},start(){},type:undefined})}_e(le(se));let de=null;let pe=null;let he=null;let Ae=null;if(typeof re==="string"){pe=re;Ae="text/plain;charset=UTF-8"}else if(re instanceof URLSearchParams){pe=re.toString();Ae="application/x-www-form-urlencoded;charset=UTF-8"}else if(Ie(re)){pe=new Uint8Array(re.slice())}else if(ArrayBuffer.isView(re)){pe=new Uint8Array(re.buffer.slice(re.byteOffset,re.byteOffset+re.byteLength))}else if(ae.isFormDataLike(re)){const ie=`----formdata-undici-${Math.random()}`.replace(".","").slice(0,32);const oe=`--${ie}\r\nContent-Disposition: form-data` -/*! formdata-polyfill. MIT License. Jimmy Wärting */;const escape=re=>re.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22");const normalizeLinefeeds=re=>re.replace(/\r?\n|\r/g,"\r\n");const se=new TextEncoder;const ae=[];const ce=new Uint8Array([13,10]);he=0;let ue=false;for(const[ie,le]of re){if(typeof le==="string"){const re=se.encode(oe+`; name="${escape(normalizeLinefeeds(ie))}"`+`\r\n\r\n${normalizeLinefeeds(le)}\r\n`);ae.push(re);he+=re.byteLength}else{const re=se.encode(`${oe}; name="${escape(normalizeLinefeeds(ie))}"`+(le.name?`; filename="${escape(le.name)}"`:"")+"\r\n"+`Content-Type: ${le.type||"application/octet-stream"}\r\n\r\n`);ae.push(re,le,ce);if(typeof le.size==="number"){he+=re.byteLength+le.size+ce.byteLength}else{ue=true}}}const le=se.encode(`--${ie}--`);ae.push(le);he+=le.byteLength;if(ue){he=null}pe=re;de=async function*(){for(const re of ae){if(re.stream){yield*re.stream()}else{yield re}}};Ae="multipart/form-data; boundary="+ie}else if(ue(re)){pe=re;he=re.size;if(re.type){Ae=re.type}}else if(typeof re[Symbol.asyncIterator]==="function"){if(ie){throw new TypeError("keepalive")}if(ae.isDisturbed(re)||re.locked){throw new TypeError("Response body object should not be disturbed or locked")}se=re instanceof ke?re:ce(re)}if(typeof pe==="string"||ae.isBuffer(pe)){he=Buffer.byteLength(pe)}if(de!=null){let ie;se=new ke({async start(){ie=de(re)[Symbol.asyncIterator]()},async pull(re){const{value:oe,done:ae}=await ie.next();if(ae){queueMicrotask((()=>{re.close()}))}else{if(!Ee(se)){re.enqueue(new Uint8Array(oe))}}return re.desiredSize>0},async cancel(re){await ie.return()},type:undefined})}const ge={stream:se,source:pe,length:he};return[ge,Ae]}function safelyExtractBody(re,ie=false){if(!ke){ke=oe(35356).ReadableStream}if(re instanceof ke){_e(!ae.isDisturbed(re),"The body has already been consumed.");_e(!re.locked,"The stream is locked.")}return extractBody(re,ie)}function cloneBody(re){const[ie,oe]=re.stream.tee();const se=ye(oe,{transfer:[oe]});const[,ae]=se.tee();re.stream=ie;return{stream:ae,length:re.length,source:re.source}}async function*consumeBody(re){if(re){if(Ce(re)){yield re}else{const ie=re.stream;if(ae.isDisturbed(ie)){throw new TypeError("The body has already been consumed.")}if(ie.locked){throw new TypeError("The stream is locked.")}ie[we]=true;yield*ie}}}function throwIfAborted(re){if(re.aborted){throw new me("The operation was aborted.","AbortError")}}function bodyMixinMethods(re){const ie={blob(){return specConsumeBody(this,(re=>{let ie=bodyMimeType(this);if(ie==="failure"){ie=""}else if(ie){ie=xe(ie)}return new ve([re],{type:ie})}),re)},arrayBuffer(){return specConsumeBody(this,(re=>new Uint8Array(re).buffer),re)},text(){return specConsumeBody(this,utf8DecodeBytes,re)},json(){return specConsumeBody(this,parseJSONFromBytes,re)},async formData(){ge.brandCheck(this,re);throwIfAborted(this[Ae]);const ie=this.headers.get("Content-Type");if(/multipart\/form-data/.test(ie)){const re={};for(const[ie,oe]of this.headers)re[ie.toLowerCase()]=oe;const ie=new he;let oe;try{oe=se({headers:re,defParamCharset:"utf8"})}catch(re){throw new me(`${re}`,"AbortError")}oe.on("field",((re,oe)=>{ie.append(re,oe)}));oe.on("file",((re,oe,se)=>{const{filename:ae,encoding:ce,mimeType:ue}=se;const le=[];if(ce==="base64"||ce.toLowerCase()==="base64"){let se="";oe.on("data",(re=>{se+=re.toString().replace(/[\r\n]/gm,"");const ie=se.length-se.length%4;le.push(Buffer.from(se.slice(0,ie),"base64"));se=se.slice(ie)}));oe.on("end",(()=>{le.push(Buffer.from(se,"base64"));ie.append(re,new Oe(le,ae,{type:ue}))}))}else{oe.on("data",(re=>{le.push(re)}));oe.on("end",(()=>{ie.append(re,new Oe(le,ae,{type:ue}))}))}}));const ae=new Promise(((re,ie)=>{oe.on("finish",re);oe.on("error",(re=>ie(new TypeError(re))))}));if(this.body!==null)for await(const re of consumeBody(this[Ae].body))oe.write(re);oe.end();await ae;return ie}else if(/application\/x-www-form-urlencoded/.test(ie)){let re;try{let ie="";const oe=new TextDecoder("utf-8",{ignoreBOM:true});for await(const re of consumeBody(this[Ae].body)){if(!Ce(re)){throw new TypeError("Expected Uint8Array chunk")}ie+=oe.decode(re,{stream:true})}ie+=oe.decode();re=new URLSearchParams(ie)}catch(re){throw Object.assign(new TypeError,{cause:re})}const ie=new he;for(const[oe,se]of re){ie.append(oe,se)}return ie}else{await Promise.resolve();throwIfAborted(this[Ae]);throw ge.errors.exception({header:`${re.name}.formData`,message:"Could not parse content as FormData."})}}};return ie}function mixinBody(re){Object.assign(re.prototype,bodyMixinMethods(re))}async function specConsumeBody(re,ie,oe){ge.brandCheck(re,oe);throwIfAborted(re[Ae]);if(bodyUnusable(re[Ae].body)){throw new TypeError("Body is unusable")}const se=de();const errorSteps=re=>se.reject(re);const successSteps=re=>{try{se.resolve(ie(re))}catch(re){errorSteps(re)}};if(re[Ae].body==null){successSteps(new Uint8Array);return se.promise}pe(re[Ae].body,successSteps,errorSteps);return se.promise}function bodyUnusable(re){return re!=null&&(re.stream.locked||ae.isDisturbed(re.stream))}function utf8DecodeBytes(re){if(re.length===0){return""}if(re[0]===239&&re[1]===187&&re[2]===191){re=re.subarray(3)}const ie=(new TextDecoder).decode(re);return ie}function parseJSONFromBytes(re){return JSON.parse(utf8DecodeBytes(re))}function bodyMimeType(re){const{headersList:ie}=re[Ae];const oe=ie.get("content-type");if(oe===null){return"failure"}return Be(oe)}re.exports={extractBody:extractBody,safelyExtractBody:safelyExtractBody,cloneBody:cloneBody,mixinBody:mixinBody}},41037:(re,ie,oe)=>{"use strict";const{MessageChannel:se,receiveMessageOnPort:ae}=oe(71267);const ce=["GET","HEAD","POST"];const ue=[101,204,205,304];const le=[301,302,303,307,308];const fe=["1","7","9","11","13","15","17","19","20","21","22","23","25","37","42","43","53","69","77","79","87","95","101","102","103","104","109","110","111","113","115","117","119","123","135","137","139","143","161","179","389","427","465","512","513","514","515","526","530","531","532","540","548","554","556","563","587","601","636","989","990","993","995","1719","1720","1723","2049","3659","4045","5060","5061","6000","6566","6665","6666","6667","6668","6669","6697","10080"];const de=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"];const pe=["follow","manual","error"];const he=["GET","HEAD","OPTIONS","TRACE"];const Ae=["navigate","same-origin","no-cors","cors"];const ge=["omit","same-origin","include"];const me=["default","no-store","reload","no-cache","force-cache","only-if-cached"];const ye=["content-encoding","content-language","content-location","content-type","content-length"];const ve=["half"];const be=["CONNECT","TRACE","TRACK"];const we=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""];const _e=globalThis.DOMException??(()=>{try{atob("~")}catch(re){return Object.getPrototypeOf(re).constructor}})();let Ee;const Ce=globalThis.structuredClone??function structuredClone(re,ie=undefined){if(arguments.length===0){throw new TypeError("missing argument")}if(!Ee){Ee=new se}Ee.port1.unref();Ee.port2.unref();Ee.port1.postMessage(re,ie?.transfer);return ae(Ee.port2).message};re.exports={DOMException:_e,structuredClone:Ce,subresource:we,forbiddenMethods:be,requestBodyHeader:ye,referrerPolicy:de,requestRedirect:pe,requestMode:Ae,requestCredentials:ge,requestCache:me,redirectStatus:le,corsSafeListedMethods:ce,nullBodyStatus:ue,safeMethods:he,badPorts:fe,requestDuplex:ve}},685:(re,ie,oe)=>{const se=oe(39491);const{atob:ae}=oe(14300);const{isomorphicDecode:ce}=oe(52538);const ue=new TextEncoder;const le=/^[!#$%&'*+-.^_|~A-Za-z0-9]+$/;const fe=/(\u000A|\u000D|\u0009|\u0020)/;const de=/[\u0009|\u0020-\u007E|\u0080-\u00FF]/;function dataURLProcessor(re){se(re.protocol==="data:");let ie=URLSerializer(re,true);ie=ie.slice(5);const oe={position:0};let ae=collectASequenceOfCodePointsFast(",",ie,oe);const ue=ae.length;ae=removeASCIIWhitespace(ae,true,true);if(oe.position>=ie.length){return"failure"}oe.position++;const le=ie.slice(ue+1);let fe=stringPercentDecode(le);if(/;(\u0020){0,}base64$/i.test(ae)){const re=ce(fe);fe=forgivingBase64(re);if(fe==="failure"){return"failure"}ae=ae.slice(0,-6);ae=ae.replace(/(\u0020)+$/,"");ae=ae.slice(0,-1)}if(ae.startsWith(";")){ae="text/plain"+ae}let de=parseMIMEType(ae);if(de==="failure"){de=parseMIMEType("text/plain;charset=US-ASCII")}return{mimeType:de,body:fe}}function URLSerializer(re,ie=false){const oe=re.href;if(!ie){return oe}const se=oe.lastIndexOf("#");if(se===-1){return oe}return oe.slice(0,se)}function collectASequenceOfCodePoints(re,ie,oe){let se="";while(oe.positionre.length){return"failure"}ie.position++;let se=collectASequenceOfCodePointsFast(";",re,ie);se=removeHTTPWhitespace(se,false,true);if(se.length===0||!le.test(se)){return"failure"}const ae=oe.toLowerCase();const ce=se.toLowerCase();const ue={type:ae,subtype:ce,parameters:new Map,essence:`${ae}/${ce}`};while(ie.positionfe.test(re)),re,ie);let oe=collectASequenceOfCodePoints((re=>re!==";"&&re!=="="),re,ie);oe=oe.toLowerCase();if(ie.positionre.length){break}let se=null;if(re[ie.position]==='"'){se=collectAnHTTPQuotedString(re,ie,true);collectASequenceOfCodePointsFast(";",re,ie)}else{se=collectASequenceOfCodePointsFast(";",re,ie);se=removeHTTPWhitespace(se,false,true);if(se.length===0){continue}}if(oe.length!==0&&le.test(oe)&&(se.length===0||de.test(se))&&!ue.parameters.has(oe)){ue.parameters.set(oe,se)}}return ue}function forgivingBase64(re){re=re.replace(/[\u0009\u000A\u000C\u000D\u0020]/g,"");if(re.length%4===0){re=re.replace(/=?=$/,"")}if(re.length%4===1){return"failure"}if(/[^+/0-9A-Za-z]/.test(re)){return"failure"}const ie=ae(re);const oe=new Uint8Array(ie.length);for(let re=0;rere!=='"'&&re!=="\\"),re,ie);if(ie.position>=re.length){break}const oe=re[ie.position];ie.position++;if(oe==="\\"){if(ie.position>=re.length){ce+="\\";break}ce+=re[ie.position];ie.position++}else{se(oe==='"');break}}if(oe){return ce}return re.slice(ae,ie.position)}function serializeAMimeType(re){se(re!=="failure");const{parameters:ie,essence:oe}=re;let ae=oe;for(let[re,oe]of ie.entries()){ae+=";";ae+=re;ae+="=";if(!le.test(oe)){oe=oe.replace(/(\\|")/g,"\\$1");oe='"'+oe;oe+='"'}ae+=oe}return ae}function isHTTPWhiteSpace(re){return re==="\r"||re==="\n"||re==="\t"||re===" "}function removeHTTPWhitespace(re,ie=true,oe=true){let se=0;let ae=re.length-1;if(ie){for(;se0&&isHTTPWhiteSpace(re[ae]);ae--);}return re.slice(se,ae+1)}function isASCIIWhitespace(re){return re==="\r"||re==="\n"||re==="\t"||re==="\f"||re===" "}function removeASCIIWhitespace(re,ie=true,oe=true){let se=0;let ae=re.length-1;if(ie){for(;se0&&isASCIIWhitespace(re[ae]);ae--);}return re.slice(se,ae+1)}re.exports={dataURLProcessor:dataURLProcessor,URLSerializer:URLSerializer,collectASequenceOfCodePoints:collectASequenceOfCodePoints,collectASequenceOfCodePointsFast:collectASequenceOfCodePointsFast,stringPercentDecode:stringPercentDecode,parseMIMEType:parseMIMEType,collectAnHTTPQuotedString:collectAnHTTPQuotedString,serializeAMimeType:serializeAMimeType}},78511:(re,ie,oe)=>{"use strict";const{Blob:se,File:ae}=oe(14300);const{types:ce}=oe(73837);const{kState:ue}=oe(15861);const{isBlobLike:le}=oe(52538);const{webidl:fe}=oe(21744);const{parseMIMEType:de,serializeAMimeType:pe}=oe(685);const{kEnumerableProperty:he}=oe(83983);class File extends se{constructor(re,ie,oe={}){fe.argumentLengthCheck(arguments,2,{header:"File constructor"});re=fe.converters["sequence"](re);ie=fe.converters.USVString(ie);oe=fe.converters.FilePropertyBag(oe);const se=ie;let ae=oe.type;let ce;e:{if(ae){ae=de(ae);if(ae==="failure"){ae="";break e}ae=pe(ae).toLowerCase()}ce=oe.lastModified}super(processBlobParts(re,oe),{type:ae});this[ue]={name:se,lastModified:ce,type:ae}}get name(){fe.brandCheck(this,File);return this[ue].name}get lastModified(){fe.brandCheck(this,File);return this[ue].lastModified}get type(){fe.brandCheck(this,File);return this[ue].type}}class FileLike{constructor(re,ie,oe={}){const se=ie;const ae=oe.type;const ce=oe.lastModified??Date.now();this[ue]={blobLike:re,name:se,type:ae,lastModified:ce}}stream(...re){fe.brandCheck(this,FileLike);return this[ue].blobLike.stream(...re)}arrayBuffer(...re){fe.brandCheck(this,FileLike);return this[ue].blobLike.arrayBuffer(...re)}slice(...re){fe.brandCheck(this,FileLike);return this[ue].blobLike.slice(...re)}text(...re){fe.brandCheck(this,FileLike);return this[ue].blobLike.text(...re)}get size(){fe.brandCheck(this,FileLike);return this[ue].blobLike.size}get type(){fe.brandCheck(this,FileLike);return this[ue].blobLike.type}get name(){fe.brandCheck(this,FileLike);return this[ue].name}get lastModified(){fe.brandCheck(this,FileLike);return this[ue].lastModified}get[Symbol.toStringTag](){return"File"}}Object.defineProperties(File.prototype,{[Symbol.toStringTag]:{value:"File",configurable:true},name:he,lastModified:he});fe.converters.Blob=fe.interfaceConverter(se);fe.converters.BlobPart=function(re,ie){if(fe.util.Type(re)==="Object"){if(le(re)){return fe.converters.Blob(re,{strict:false})}if(ArrayBuffer.isView(re)||ce.isAnyArrayBuffer(re)){return fe.converters.BufferSource(re,ie)}}return fe.converters.USVString(re,ie)};fe.converters["sequence"]=fe.sequenceConverter(fe.converters.BlobPart);fe.converters.FilePropertyBag=fe.dictionaryConverter([{key:"lastModified",converter:fe.converters["long long"],get defaultValue(){return Date.now()}},{key:"type",converter:fe.converters.DOMString,defaultValue:""},{key:"endings",converter:re=>{re=fe.converters.DOMString(re);re=re.toLowerCase();if(re!=="native"){re="transparent"}return re},defaultValue:"transparent"}]);function processBlobParts(re,ie){const oe=[];for(const se of re){if(typeof se==="string"){let re=se;if(ie.endings==="native"){re=convertLineEndingsNative(re)}oe.push((new TextEncoder).encode(re))}else if(ce.isAnyArrayBuffer(se)||ce.isTypedArray(se)){if(!se.buffer){oe.push(new Uint8Array(se))}else{oe.push(new Uint8Array(se.buffer,se.byteOffset,se.byteLength))}}else if(le(se)){oe.push(se)}}return oe}function convertLineEndingsNative(re){let ie="\n";if(process.platform==="win32"){ie="\r\n"}return re.replace(/\r?\n/g,ie)}function isFileLike(re){return ae&&re instanceof ae||re instanceof File||re&&(typeof re.stream==="function"||typeof re.arrayBuffer==="function")&&re[Symbol.toStringTag]==="File"}re.exports={File:File,FileLike:FileLike,isFileLike:isFileLike}},72015:(re,ie,oe)=>{"use strict";const{isBlobLike:se,toUSVString:ae,makeIterator:ce}=oe(52538);const{kState:ue}=oe(15861);const{File:le,FileLike:fe,isFileLike:de}=oe(78511);const{webidl:pe}=oe(21744);const{Blob:he,File:Ae}=oe(14300);const ge=Ae??le;class FormData{constructor(re){if(re!==undefined){throw pe.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]})}this[ue]=[]}append(re,ie,oe=undefined){pe.brandCheck(this,FormData);pe.argumentLengthCheck(arguments,2,{header:"FormData.append"});if(arguments.length===3&&!se(ie)){throw new TypeError("Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'")}re=pe.converters.USVString(re);ie=se(ie)?pe.converters.Blob(ie,{strict:false}):pe.converters.USVString(ie);oe=arguments.length===3?pe.converters.USVString(oe):undefined;const ae=makeEntry(re,ie,oe);this[ue].push(ae)}delete(re){pe.brandCheck(this,FormData);pe.argumentLengthCheck(arguments,1,{header:"FormData.delete"});re=pe.converters.USVString(re);this[ue]=this[ue].filter((ie=>ie.name!==re))}get(re){pe.brandCheck(this,FormData);pe.argumentLengthCheck(arguments,1,{header:"FormData.get"});re=pe.converters.USVString(re);const ie=this[ue].findIndex((ie=>ie.name===re));if(ie===-1){return null}return this[ue][ie].value}getAll(re){pe.brandCheck(this,FormData);pe.argumentLengthCheck(arguments,1,{header:"FormData.getAll"});re=pe.converters.USVString(re);return this[ue].filter((ie=>ie.name===re)).map((re=>re.value))}has(re){pe.brandCheck(this,FormData);pe.argumentLengthCheck(arguments,1,{header:"FormData.has"});re=pe.converters.USVString(re);return this[ue].findIndex((ie=>ie.name===re))!==-1}set(re,ie,oe=undefined){pe.brandCheck(this,FormData);pe.argumentLengthCheck(arguments,2,{header:"FormData.set"});if(arguments.length===3&&!se(ie)){throw new TypeError("Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'")}re=pe.converters.USVString(re);ie=se(ie)?pe.converters.Blob(ie,{strict:false}):pe.converters.USVString(ie);oe=arguments.length===3?ae(oe):undefined;const ce=makeEntry(re,ie,oe);const le=this[ue].findIndex((ie=>ie.name===re));if(le!==-1){this[ue]=[...this[ue].slice(0,le),ce,...this[ue].slice(le+1).filter((ie=>ie.name!==re))]}else{this[ue].push(ce)}}entries(){pe.brandCheck(this,FormData);return ce((()=>this[ue].map((re=>[re.name,re.value]))),"FormData","key+value")}keys(){pe.brandCheck(this,FormData);return ce((()=>this[ue].map((re=>[re.name,re.value]))),"FormData","key")}values(){pe.brandCheck(this,FormData);return ce((()=>this[ue].map((re=>[re.name,re.value]))),"FormData","value")}forEach(re,ie=globalThis){pe.brandCheck(this,FormData);pe.argumentLengthCheck(arguments,1,{header:"FormData.forEach"});if(typeof re!=="function"){throw new TypeError("Failed to execute 'forEach' on 'FormData': parameter 1 is not of type 'Function'.")}for(const[oe,se]of this){re.apply(ie,[se,oe,this])}}}FormData.prototype[Symbol.iterator]=FormData.prototype.entries;Object.defineProperties(FormData.prototype,{[Symbol.toStringTag]:{value:"FormData",configurable:true}});function makeEntry(re,ie,oe){re=Buffer.from(re).toString("utf8");if(typeof ie==="string"){ie=Buffer.from(ie).toString("utf8")}else{if(!de(ie)){ie=ie instanceof he?new ge([ie],"blob",{type:ie.type}):new fe(ie,"blob",{type:ie.type})}if(oe!==undefined){const re={type:ie.type,lastModified:ie.lastModified};ie=Ae&&ie instanceof Ae||ie instanceof le?new ge([ie],oe,re):new fe(ie,oe,re)}}return{name:re,value:ie}}re.exports={FormData:FormData}},71246:re=>{"use strict";const ie=Symbol.for("undici.globalOrigin.1");function getGlobalOrigin(){return globalThis[ie]}function setGlobalOrigin(re){if(re!==undefined&&typeof re!=="string"&&!(re instanceof URL)){throw new Error("Invalid base url")}if(re===undefined){Object.defineProperty(globalThis,ie,{value:undefined,writable:true,enumerable:false,configurable:false});return}const oe=new URL(re);if(oe.protocol!=="http:"&&oe.protocol!=="https:"){throw new TypeError(`Only http & https urls are allowed, received ${oe.protocol}`)}Object.defineProperty(globalThis,ie,{value:oe,writable:true,enumerable:false,configurable:false})}re.exports={getGlobalOrigin:getGlobalOrigin,setGlobalOrigin:setGlobalOrigin}},10554:(re,ie,oe)=>{"use strict";const{kHeadersList:se}=oe(72785);const{kGuard:ae}=oe(15861);const{kEnumerableProperty:ce}=oe(83983);const{makeIterator:ue,isValidHeaderName:le,isValidHeaderValue:fe}=oe(52538);const{webidl:de}=oe(21744);const pe=oe(39491);const he=Symbol("headers map");const Ae=Symbol("headers map sorted");function headerValueNormalize(re){let ie=re.length;while(/[\r\n\t ]/.test(re.charAt(--ie)));return re.slice(0,ie+1).replace(/^[\r\n\t ]+/,"")}function fill(re,ie){if(Array.isArray(ie)){for(const oe of ie){if(oe.length!==2){throw de.errors.exception({header:"Headers constructor",message:`expected name/value pair to be length 2, found ${oe.length}.`})}re.append(oe[0],oe[1])}}else if(typeof ie==="object"&&ie!==null){for(const[oe,se]of Object.entries(ie)){re.append(oe,se)}}else{throw de.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence>","record"]})}}class HeadersList{cookies=null;constructor(re){if(re instanceof HeadersList){this[he]=new Map(re[he]);this[Ae]=re[Ae];this.cookies=re.cookies}else{this[he]=new Map(re);this[Ae]=null}}contains(re){re=re.toLowerCase();return this[he].has(re)}clear(){this[he].clear();this[Ae]=null;this.cookies=null}append(re,ie){this[Ae]=null;const oe=re.toLowerCase();const se=this[he].get(oe);if(se){const re=oe==="cookie"?"; ":", ";this[he].set(oe,{name:se.name,value:`${se.value}${re}${ie}`})}else{this[he].set(oe,{name:re,value:ie})}if(oe==="set-cookie"){this.cookies??=[];this.cookies.push(ie)}}set(re,ie){this[Ae]=null;const oe=re.toLowerCase();if(oe==="set-cookie"){this.cookies=[ie]}return this[he].set(oe,{name:re,value:ie})}delete(re){this[Ae]=null;re=re.toLowerCase();if(re==="set-cookie"){this.cookies=null}return this[he].delete(re)}get(re){if(!this.contains(re)){return null}return this[he].get(re.toLowerCase())?.value??null}*[Symbol.iterator](){for(const[re,{value:ie}]of this[he]){yield[re,ie]}}get entries(){const re={};if(this[he].size){for(const{name:ie,value:oe}of this[he].values()){re[ie]=oe}}return re}}class Headers{constructor(re=undefined){this[se]=new HeadersList;this[ae]="none";if(re!==undefined){re=de.converters.HeadersInit(re);fill(this,re)}}append(re,ie){de.brandCheck(this,Headers);de.argumentLengthCheck(arguments,2,{header:"Headers.append"});re=de.converters.ByteString(re);ie=de.converters.ByteString(ie);ie=headerValueNormalize(ie);if(!le(re)){throw de.errors.invalidArgument({prefix:"Headers.append",value:re,type:"header name"})}else if(!fe(ie)){throw de.errors.invalidArgument({prefix:"Headers.append",value:ie,type:"header value"})}if(this[ae]==="immutable"){throw new TypeError("immutable")}else if(this[ae]==="request-no-cors"){}return this[se].append(re,ie)}delete(re){de.brandCheck(this,Headers);de.argumentLengthCheck(arguments,1,{header:"Headers.delete"});re=de.converters.ByteString(re);if(!le(re)){throw de.errors.invalidArgument({prefix:"Headers.delete",value:re,type:"header name"})}if(this[ae]==="immutable"){throw new TypeError("immutable")}else if(this[ae]==="request-no-cors"){}if(!this[se].contains(re)){return}return this[se].delete(re)}get(re){de.brandCheck(this,Headers);de.argumentLengthCheck(arguments,1,{header:"Headers.get"});re=de.converters.ByteString(re);if(!le(re)){throw de.errors.invalidArgument({prefix:"Headers.get",value:re,type:"header name"})}return this[se].get(re)}has(re){de.brandCheck(this,Headers);de.argumentLengthCheck(arguments,1,{header:"Headers.has"});re=de.converters.ByteString(re);if(!le(re)){throw de.errors.invalidArgument({prefix:"Headers.has",value:re,type:"header name"})}return this[se].contains(re)}set(re,ie){de.brandCheck(this,Headers);de.argumentLengthCheck(arguments,2,{header:"Headers.set"});re=de.converters.ByteString(re);ie=de.converters.ByteString(ie);ie=headerValueNormalize(ie);if(!le(re)){throw de.errors.invalidArgument({prefix:"Headers.set",value:re,type:"header name"})}else if(!fe(ie)){throw de.errors.invalidArgument({prefix:"Headers.set",value:ie,type:"header value"})}if(this[ae]==="immutable"){throw new TypeError("immutable")}else if(this[ae]==="request-no-cors"){}return this[se].set(re,ie)}getSetCookie(){de.brandCheck(this,Headers);const re=this[se].cookies;if(re){return[...re]}return[]}get[Ae](){if(this[se][Ae]){return this[se][Ae]}const re=[];const ie=[...this[se]].sort(((re,ie)=>re[0][...this[Ae].values()]),"Headers","key")}values(){de.brandCheck(this,Headers);return ue((()=>[...this[Ae].values()]),"Headers","value")}entries(){de.brandCheck(this,Headers);return ue((()=>[...this[Ae].values()]),"Headers","key+value")}forEach(re,ie=globalThis){de.brandCheck(this,Headers);de.argumentLengthCheck(arguments,1,{header:"Headers.forEach"});if(typeof re!=="function"){throw new TypeError("Failed to execute 'forEach' on 'Headers': parameter 1 is not of type 'Function'.")}for(const[oe,se]of this){re.apply(ie,[se,oe,this])}}[Symbol.for("nodejs.util.inspect.custom")](){de.brandCheck(this,Headers);return this[se]}}Headers.prototype[Symbol.iterator]=Headers.prototype.entries;Object.defineProperties(Headers.prototype,{append:ce,delete:ce,get:ce,has:ce,set:ce,getSetCookie:ce,keys:ce,values:ce,entries:ce,forEach:ce,[Symbol.iterator]:{enumerable:false},[Symbol.toStringTag]:{value:"Headers",configurable:true}});de.converters.HeadersInit=function(re){if(de.util.Type(re)==="Object"){if(re[Symbol.iterator]){return de.converters["sequence>"](re)}return de.converters["record"](re)}throw de.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence>","record"]})};re.exports={fill:fill,Headers:Headers,HeadersList:HeadersList}},74881:(re,ie,oe)=>{"use strict";const{Response:se,makeNetworkError:ae,makeAppropriateNetworkError:ce,filterResponse:ue,makeResponse:le}=oe(27823);const{Headers:fe}=oe(10554);const{Request:de,makeRequest:pe}=oe(48359);const he=oe(59796);const{bytesMatch:Ae,makePolicyContainer:ge,clonePolicyContainer:me,requestBadPort:ye,TAOCheck:ve,appendRequestOriginHeader:be,responseLocationURL:we,requestCurrentURL:_e,setRequestReferrerPolicyOnRedirect:Ee,tryUpgradeRequestToAPotentiallyTrustworthyURL:Ce,createOpaqueTimingInfo:Ie,appendFetchMetadata:Se,corsCheck:Be,crossOriginResourcePolicyCheck:xe,determineRequestsReferrer:ke,coarsenedSharedCurrentTime:Oe,createDeferredPromise:De,isBlobLike:Pe,sameOrigin:Te,isCancelled:Qe,isAborted:Re,isErrorLike:Me,fullyReadBody:Ne,readableStreamClose:je,isomorphicEncode:Le,urlIsLocal:Fe,urlIsHttpHttpsScheme:Ue,urlHasHttpsScheme:He}=oe(52538);const{kState:qe,kHeaders:Ke,kGuard:Ve,kRealm:Je}=oe(15861);const We=oe(39491);const{safelyExtractBody:Ge}=oe(41472);const{redirectStatus:Ye,nullBodyStatus:ze,safeMethods:$e,requestBodyHeader:Ze,subresource:Xe,DOMException:et}=oe(41037);const{kHeadersList:tt}=oe(72785);const rt=oe(82361);const{Readable:nt,pipeline:it}=oe(12781);const{isErrored:ot,isReadable:st,nodeMajor:at,nodeMinor:ct}=oe(83983);const{dataURLProcessor:ut,serializeAMimeType:ft}=oe(685);const{TransformStream:dt}=oe(35356);const{getGlobalDispatcher:pt}=oe(21892);const{webidl:ht}=oe(21744);const{STATUS_CODES:At}=oe(13685);let mt;let yt=globalThis.ReadableStream;class Fetch extends rt{constructor(re){super();this.dispatcher=re;this.connection=null;this.dump=false;this.state="ongoing";this.setMaxListeners(21)}terminate(re){if(this.state!=="ongoing"){return}this.state="terminated";this.connection?.destroy(re);this.emit("terminated",re)}abort(re){if(this.state!=="ongoing"){return}this.state="aborted";if(!re){re=new et("The operation was aborted.","AbortError")}this.serializedAbortReason=re;this.connection?.destroy(re);this.emit("terminated",re)}}async function fetch(re,ie={}){ht.argumentLengthCheck(arguments,1,{header:"globalThis.fetch"});const oe=De();let ae;try{ae=new de(re,ie)}catch(re){oe.reject(re);return oe.promise}const ce=ae[qe];if(ae.signal.aborted){abortFetch(oe,ce,null,ae.signal.reason);return oe.promise}const ue=ce.client.globalObject;if(ue?.constructor?.name==="ServiceWorkerGlobalScope"){ce.serviceWorkers="none"}let le=null;const fe=null;let pe=false;let he=null;ae.signal.addEventListener("abort",(()=>{pe=true;abortFetch(oe,ce,le,ae.signal.reason);if(he!=null){he.abort()}}),{once:true});const handleFetchDone=re=>finalizeAndReportTiming(re,"fetch");const processResponse=re=>{if(pe){return}if(re.aborted){abortFetch(oe,ce,le,he.serializedAbortReason);return}if(re.type==="error"){oe.reject(Object.assign(new TypeError("fetch failed"),{cause:re.error}));return}le=new se;le[qe]=re;le[Je]=fe;le[Ke][tt]=re.headersList;le[Ke][Ve]="immutable";le[Ke][Je]=fe;oe.resolve(le)};he=fetching({request:ce,processResponseEndOfBody:handleFetchDone,processResponse:processResponse,dispatcher:ie.dispatcher??pt()});return oe.promise}function finalizeAndReportTiming(re,ie="other"){if(re.type==="error"&&re.aborted){return}if(!re.urlList?.length){return}const oe=re.urlList[0];let se=re.timingInfo;let ae=re.cacheState;if(!Ue(oe)){return}if(se===null){return}if(!se.timingAllowPassed){se=Ie({startTime:se.startTime});ae=""}se.endTime=Oe();re.timingInfo=se;markResourceTiming(se,oe,ie,globalThis,ae)}function markResourceTiming(re,ie,oe,se,ae){if(at>18||at===18&&ct>=2){performance.markResourceTiming(re,ie,oe,se,ae)}}function abortFetch(re,ie,oe,se){if(!se){se=new et("The operation was aborted.","AbortError")}re.reject(se);if(ie.body!=null&&st(ie.body?.stream)){ie.body.stream.cancel(se).catch((re=>{if(re.code==="ERR_INVALID_STATE"){return}throw re}))}if(oe==null){return}const ae=oe[qe];if(ae.body!=null&&st(ae.body?.stream)){ae.body.stream.cancel(se).catch((re=>{if(re.code==="ERR_INVALID_STATE"){return}throw re}))}}function fetching({request:re,processRequestBodyChunkLength:ie,processRequestEndOfBody:oe,processResponse:se,processResponseEndOfBody:ae,processResponseConsumeBody:ce,useParallelQueue:ue=false,dispatcher:le}){let fe=null;let de=false;if(re.client!=null){fe=re.client.globalObject;de=re.client.crossOriginIsolatedCapability}const pe=Oe(de);const he=Ie({startTime:pe});const Ae={controller:new Fetch(le),request:re,timingInfo:he,processRequestBodyChunkLength:ie,processRequestEndOfBody:oe,processResponse:se,processResponseConsumeBody:ce,processResponseEndOfBody:ae,taskDestination:fe,crossOriginIsolatedCapability:de};We(!re.body||re.body.stream);if(re.window==="client"){re.window=re.client?.globalObject?.constructor?.name==="Window"?re.client:"no-window"}if(re.origin==="client"){re.origin=re.client?.origin}if(re.policyContainer==="client"){if(re.client!=null){re.policyContainer=me(re.client.policyContainer)}else{re.policyContainer=ge()}}if(!re.headersList.contains("accept")){const ie="*/*";re.headersList.append("accept",ie)}if(!re.headersList.contains("accept-language")){re.headersList.append("accept-language","*")}if(re.priority===null){}if(Xe.includes(re.destination)){}mainFetch(Ae).catch((re=>{Ae.controller.terminate(re)}));return Ae.controller}async function mainFetch(re,ie=false){const oe=re.request;let se=null;if(oe.localURLsOnly&&!Fe(_e(oe))){se=ae("local URLs only")}Ce(oe);if(ye(oe)==="blocked"){se=ae("bad port")}if(oe.referrerPolicy===""){oe.referrerPolicy=oe.policyContainer.referrerPolicy}if(oe.referrer!=="no-referrer"){oe.referrer=ke(oe)}if(se===null){se=await(async()=>{const ie=_e(oe);if(Te(ie,oe.url)&&oe.responseTainting==="basic"||ie.protocol==="data:"||(oe.mode==="navigate"||oe.mode==="websocket")){oe.responseTainting="basic";return await schemeFetch(re)}if(oe.mode==="same-origin"){return ae('request mode cannot be "same-origin"')}if(oe.mode==="no-cors"){if(oe.redirect!=="follow"){return ae('redirect mode cannot be "follow" for "no-cors" request')}oe.responseTainting="opaque";return await schemeFetch(re)}if(!Ue(_e(oe))){return ae("URL scheme must be a HTTP(S) scheme")}oe.responseTainting="cors";return await httpFetch(re)})()}if(ie){return se}if(se.status!==0&&!se.internalResponse){if(oe.responseTainting==="cors"){}if(oe.responseTainting==="basic"){se=ue(se,"basic")}else if(oe.responseTainting==="cors"){se=ue(se,"cors")}else if(oe.responseTainting==="opaque"){se=ue(se,"opaque")}else{We(false)}}let ce=se.status===0?se:se.internalResponse;if(ce.urlList.length===0){ce.urlList.push(...oe.urlList)}if(!oe.timingAllowFailed){se.timingAllowPassed=true}if(se.type==="opaque"&&ce.status===206&&ce.rangeRequested&&!oe.headers.contains("range")){se=ce=ae()}if(se.status!==0&&(oe.method==="HEAD"||oe.method==="CONNECT"||ze.includes(ce.status))){ce.body=null;re.controller.dump=true}if(oe.integrity){const processBodyError=ie=>fetchFinale(re,ae(ie));if(oe.responseTainting==="opaque"||se.body==null){processBodyError(se.error);return}const processBody=ie=>{if(!Ae(ie,oe.integrity)){processBodyError("integrity mismatch");return}se.body=Ge(ie)[0];fetchFinale(re,se)};await Ne(se.body,processBody,processBodyError)}else{fetchFinale(re,se)}}async function schemeFetch(re){if(Qe(re)&&re.request.redirectCount===0){return ce(re)}const{request:ie}=re;const{protocol:se}=_e(ie);switch(se){case"about:":{return ae("about scheme is not supported")}case"blob:":{if(!mt){mt=oe(14300).resolveObjectURL}const re=_e(ie);if(re.search.length!==0){return ae("NetworkError when attempting to fetch resource.")}const se=mt(re.toString());if(ie.method!=="GET"||!Pe(se)){return ae("invalid method")}const ce=Ge(se);const ue=ce[0];const fe=Le(`${ue.length}`);const de=ce[1]??"";const pe=le({statusText:"OK",headersList:[["content-length",{name:"Content-Length",value:fe}],["content-type",{name:"Content-Type",value:de}]]});pe.body=ue;return pe}case"data:":{const re=_e(ie);const oe=ut(re);if(oe==="failure"){return ae("failed to fetch the data URL")}const se=ft(oe.mimeType);return le({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:se}]],body:Ge(oe.body)[0]})}case"file:":{return ae("not implemented... yet...")}case"http:":case"https:":{return await httpFetch(re).catch((re=>ae(re)))}default:{return ae("unknown scheme")}}}function finalizeResponse(re,ie){re.request.done=true;if(re.processResponseDone!=null){queueMicrotask((()=>re.processResponseDone(ie)))}}async function fetchFinale(re,ie){if(ie.type==="error"){ie.urlList=[re.request.urlList[0]];ie.timingInfo=Ie({startTime:re.timingInfo.startTime})}const processResponseEndOfBody=()=>{re.request.done=true;if(re.processResponseEndOfBody!=null){queueMicrotask((()=>re.processResponseEndOfBody(ie)))}};if(re.processResponse!=null){queueMicrotask((()=>re.processResponse(ie)))}if(ie.body==null){processResponseEndOfBody()}else{const identityTransformAlgorithm=(re,ie)=>{ie.enqueue(re)};const re=new dt({start(){},transform:identityTransformAlgorithm,flush:processResponseEndOfBody},{size(){return 1}},{size(){return 1}});ie.body={stream:ie.body.stream.pipeThrough(re)}}if(re.processResponseConsumeBody!=null){const processBody=oe=>re.processResponseConsumeBody(ie,oe);const processBodyError=oe=>re.processResponseConsumeBody(ie,oe);if(ie.body==null){queueMicrotask((()=>processBody(null)))}else{await Ne(ie.body,processBody,processBodyError)}}}async function httpFetch(re){const ie=re.request;let oe=null;let se=null;const ce=re.timingInfo;if(ie.serviceWorkers==="all"){}if(oe===null){if(ie.redirect==="follow"){ie.serviceWorkers="none"}se=oe=await httpNetworkOrCacheFetch(re);if(ie.responseTainting==="cors"&&Be(ie,oe)==="failure"){return ae("cors failure")}if(ve(ie,oe)==="failure"){ie.timingAllowFailed=true}}if((ie.responseTainting==="opaque"||oe.type==="opaque")&&xe(ie.origin,ie.client,ie.destination,se)==="blocked"){return ae("blocked")}if(Ye.includes(se.status)){if(ie.redirect!=="manual"){re.controller.connection.destroy()}if(ie.redirect==="error"){oe=ae("unexpected redirect")}else if(ie.redirect==="manual"){oe=se}else if(ie.redirect==="follow"){oe=await httpRedirectFetch(re,oe)}else{We(false)}}oe.timingInfo=ce;return oe}async function httpRedirectFetch(re,ie){const oe=re.request;const se=ie.internalResponse?ie.internalResponse:ie;let ce;try{ce=we(se,_e(oe).hash);if(ce==null){return ie}}catch(re){return ae(re)}if(!Ue(ce)){return ae("URL scheme must be a HTTP(S) scheme")}if(oe.redirectCount===20){return ae("redirect count exceeded")}oe.redirectCount+=1;if(oe.mode==="cors"&&(ce.username||ce.password)&&!Te(oe,ce)){return ae('cross origin not allowed for request mode "cors"')}if(oe.responseTainting==="cors"&&(ce.username||ce.password)){return ae('URL cannot contain credentials for request mode "cors"')}if(se.status!==303&&oe.body!=null&&oe.body.source==null){return ae()}if([301,302].includes(se.status)&&oe.method==="POST"||se.status===303&&!["GET","HEAD"].includes(oe.method)){oe.method="GET";oe.body=null;for(const re of Ze){oe.headersList.delete(re)}}if(!Te(_e(oe),ce)){oe.headersList.delete("authorization")}if(oe.body!=null){We(oe.body.source!=null);oe.body=Ge(oe.body.source)[0]}const ue=re.timingInfo;ue.redirectEndTime=ue.postRedirectStartTime=Oe(re.crossOriginIsolatedCapability);if(ue.redirectStartTime===0){ue.redirectStartTime=ue.startTime}oe.urlList.push(ce);Ee(oe,se);return mainFetch(re,true)}async function httpNetworkOrCacheFetch(re,ie=false,oe=false){const se=re.request;let ue=null;let le=null;let fe=null;const de=null;const he=false;if(se.window==="no-window"&&se.redirect==="error"){ue=re;le=se}else{le=pe(se);ue={...re};ue.request=le}const Ae=se.credentials==="include"||se.credentials==="same-origin"&&se.responseTainting==="basic";const ge=le.body?le.body.length:null;let me=null;if(le.body==null&&["POST","PUT"].includes(le.method)){me="0"}if(ge!=null){me=Le(`${ge}`)}if(me!=null){le.headersList.append("content-length",me)}if(ge!=null&&le.keepalive){}if(le.referrer instanceof URL){le.headersList.append("referer",Le(le.referrer.href))}be(le);Se(le);if(!le.headersList.contains("user-agent")){le.headersList.append("user-agent","undici")}if(le.cache==="default"&&(le.headersList.contains("if-modified-since")||le.headersList.contains("if-none-match")||le.headersList.contains("if-unmodified-since")||le.headersList.contains("if-match")||le.headersList.contains("if-range"))){le.cache="no-store"}if(le.cache==="no-cache"&&!le.preventNoCacheCacheControlHeaderModification&&!le.headersList.contains("cache-control")){le.headersList.append("cache-control","max-age=0")}if(le.cache==="no-store"||le.cache==="reload"){if(!le.headersList.contains("pragma")){le.headersList.append("pragma","no-cache")}if(!le.headersList.contains("cache-control")){le.headersList.append("cache-control","no-cache")}}if(le.headersList.contains("range")){le.headersList.append("accept-encoding","identity")}if(!le.headersList.contains("accept-encoding")){if(He(_e(le))){le.headersList.append("accept-encoding","br, gzip, deflate")}else{le.headersList.append("accept-encoding","gzip, deflate")}}if(Ae){}if(de==null){le.cache="no-store"}if(le.mode!=="no-store"&&le.mode!=="reload"){}if(fe==null){if(le.mode==="only-if-cached"){return ae("only if cached")}const re=await httpNetworkFetch(ue,Ae,oe);if(!$e.includes(le.method)&&re.status>=200&&re.status<=399){}if(he&&re.status===304){}if(fe==null){fe=re}}fe.urlList=[...le.urlList];if(le.headersList.contains("range")){fe.rangeRequested=true}fe.requestIncludesCredentials=Ae;if(fe.status===407){if(se.window==="no-window"){return ae()}if(Qe(re)){return ce(re)}return ae("proxy authentication required")}if(fe.status===421&&!oe&&(se.body==null||se.body.source!=null)){if(Qe(re)){return ce(re)}re.controller.connection.destroy();fe=await httpNetworkOrCacheFetch(re,ie,true)}if(ie){}return fe}async function httpNetworkFetch(re,ie=false,se=false){We(!re.controller.connection||re.controller.connection.destroyed);re.controller.connection={abort:null,destroyed:false,destroy(re){if(!this.destroyed){this.destroyed=true;this.abort?.(re??new et("The operation was aborted.","AbortError"))}}};const ue=re.request;let de=null;const pe=re.timingInfo;const Ae=null;if(Ae==null){ue.cache="no-store"}const ge=se?"yes":"no";if(ue.mode==="websocket"){}else{}let me=null;if(ue.body==null&&re.processRequestEndOfBody){queueMicrotask((()=>re.processRequestEndOfBody()))}else if(ue.body!=null){const processBodyChunk=async function*(ie){if(Qe(re)){return}yield ie;re.processRequestBodyChunkLength?.(ie.byteLength)};const processEndOfBody=()=>{if(Qe(re)){return}if(re.processRequestEndOfBody){re.processRequestEndOfBody()}};const processBodyError=ie=>{if(Qe(re)){return}if(ie.name==="AbortError"){re.controller.abort()}else{re.controller.terminate(ie)}};me=async function*(){try{for await(const re of ue.body.stream){yield*processBodyChunk(re)}processEndOfBody()}catch(re){processBodyError(re)}}()}try{const{body:ie,status:oe,statusText:se,headersList:ae,socket:ce}=await dispatch({body:me});if(ce){de=le({status:oe,statusText:se,headersList:ae,socket:ce})}else{const ce=ie[Symbol.asyncIterator]();re.controller.next=()=>ce.next();de=le({status:oe,statusText:se,headersList:ae})}}catch(ie){if(ie.name==="AbortError"){re.controller.connection.destroy();return ce(re)}return ae(ie)}const pullAlgorithm=()=>{re.controller.resume()};const cancelAlgorithm=ie=>{re.controller.abort(ie)};if(!yt){yt=oe(35356).ReadableStream}const ye=new yt({async start(ie){re.controller.controller=ie},async pull(re){await pullAlgorithm(re)},async cancel(re){await cancelAlgorithm(re)}},{highWaterMark:0,size(){return 1}});de.body={stream:ye};re.controller.on("terminated",onAborted);re.controller.resume=async()=>{while(true){let ie;let oe;try{const{done:oe,value:se}=await re.controller.next();if(Re(re)){break}ie=oe?undefined:se}catch(se){if(re.controller.ended&&!pe.encodedBodySize){ie=undefined}else{ie=se;oe=true}}if(ie===undefined){je(re.controller.controller);finalizeResponse(re,de);return}pe.decodedBodySize+=ie?.byteLength??0;if(oe){re.controller.terminate(ie);return}re.controller.controller.enqueue(new Uint8Array(ie));if(ot(ye)){re.controller.terminate();return}if(!re.controller.controller.desiredSize){return}}};function onAborted(ie){if(Re(re)){de.aborted=true;if(st(ye)){re.controller.controller.error(re.controller.serializedAbortReason)}}else{if(st(ye)){re.controller.controller.error(new TypeError("terminated",{cause:Me(ie)?ie:undefined}))}}re.controller.connection.destroy()}return de;async function dispatch({body:ie}){const oe=_e(ue);const se=re.controller.dispatcher;return new Promise(((ae,ce)=>se.dispatch({path:oe.pathname+oe.search,origin:oe.origin,method:ue.method,body:re.controller.dispatcher.isMockActive?ue.body&&ue.body.source:ie,headers:ue.headersList.entries,maxRedirections:0,upgrade:ue.mode==="websocket"?"websocket":undefined},{body:null,abort:null,onConnect(ie){const{connection:oe}=re.controller;if(oe.destroyed){ie(new et("The operation was aborted.","AbortError"))}else{re.controller.on("terminated",ie);this.abort=oe.abort=ie}},onHeaders(re,ie,oe,se){if(re<200){return}let ce=[];let le="";const de=new fe;for(let re=0;rere.trim()))}else if(oe.toLowerCase()==="location"){le=se}de.append(oe,se)}this.body=new nt({read:oe});const pe=[];const Ae=ue.redirect==="follow"&&le&&Ye.includes(re);if(ue.method!=="HEAD"&&ue.method!=="CONNECT"&&!ze.includes(re)&&!Ae){for(const re of ce){if(re==="x-gzip"||re==="gzip"){pe.push(he.createGunzip())}else if(re==="deflate"){pe.push(he.createInflate())}else if(re==="br"){pe.push(he.createBrotliDecompress())}else{pe.length=0;break}}}ae({status:re,statusText:se,headersList:de[tt],body:pe.length?it(this.body,...pe,(()=>{})):this.body.on("error",(()=>{}))});return true},onData(ie){if(re.controller.dump){return}const oe=ie;pe.encodedBodySize+=oe.byteLength;return this.body.push(oe)},onComplete(){if(this.abort){re.controller.off("terminated",this.abort)}re.controller.ended=true;this.body.push(null)},onError(ie){if(this.abort){re.controller.off("terminated",this.abort)}this.body?.destroy(ie);re.controller.terminate(ie);ce(ie)},onUpgrade(re,ie,oe){if(re!==101){return}const se=new fe;for(let re=0;re{"use strict";const{extractBody:se,mixinBody:ae,cloneBody:ce}=oe(41472);const{Headers:ue,fill:le,HeadersList:fe}=oe(10554);const{FinalizationRegistry:de}=oe(56436)();const pe=oe(83983);const{isValidHTTPToken:he,sameOrigin:Ae,normalizeMethod:ge,makePolicyContainer:me}=oe(52538);const{forbiddenMethods:ye,corsSafeListedMethods:ve,referrerPolicy:be,requestRedirect:we,requestMode:_e,requestCredentials:Ee,requestCache:Ce,requestDuplex:Ie}=oe(41037);const{kEnumerableProperty:Se}=pe;const{kHeaders:Be,kSignal:xe,kState:ke,kGuard:Oe,kRealm:De}=oe(15861);const{webidl:Pe}=oe(21744);const{getGlobalOrigin:Te}=oe(71246);const{URLSerializer:Qe}=oe(685);const{kHeadersList:Re}=oe(72785);const Me=oe(39491);const{getMaxListeners:Ne,setMaxListeners:je,getEventListeners:Le,defaultMaxListeners:Fe}=oe(82361);let Ue=globalThis.TransformStream;const He=Symbol("init");const qe=Symbol("abortController");const Ke=new de((({signal:re,abort:ie})=>{re.removeEventListener("abort",ie)}));class Request{constructor(re,ie={}){if(re===He){return}Pe.argumentLengthCheck(arguments,1,{header:"Request constructor"});re=Pe.converters.RequestInfo(re);ie=Pe.converters.RequestInit(ie);this[De]={settingsObject:{baseUrl:Te(),get origin(){return this.baseUrl?.origin},policyContainer:me()}};let ae=null;let ce=null;const fe=this[De].settingsObject.baseUrl;let de=null;if(typeof re==="string"){let ie;try{ie=new URL(re,fe)}catch(ie){throw new TypeError("Failed to parse URL from "+re,{cause:ie})}if(ie.username||ie.password){throw new TypeError("Request cannot be constructed from a URL that includes credentials: "+re)}ae=makeRequest({urlList:[ie]});ce="cors"}else{Me(re instanceof Request);ae=re[ke];de=re[xe]}const be=this[De].settingsObject.origin;let we="client";if(ae.window?.constructor?.name==="EnvironmentSettingsObject"&&Ae(ae.window,be)){we=ae.window}if(ie.window!=null){throw new TypeError(`'window' option '${we}' must be null`)}if("window"in ie){we="no-window"}ae=makeRequest({method:ae.method,headersList:ae.headersList,unsafeRequest:ae.unsafeRequest,client:this[De].settingsObject,window:we,priority:ae.priority,origin:ae.origin,referrer:ae.referrer,referrerPolicy:ae.referrerPolicy,mode:ae.mode,credentials:ae.credentials,cache:ae.cache,redirect:ae.redirect,integrity:ae.integrity,keepalive:ae.keepalive,reloadNavigation:ae.reloadNavigation,historyNavigation:ae.historyNavigation,urlList:[...ae.urlList]});if(Object.keys(ie).length>0){if(ae.mode==="navigate"){ae.mode="same-origin"}ae.reloadNavigation=false;ae.historyNavigation=false;ae.origin="client";ae.referrer="client";ae.referrerPolicy="";ae.url=ae.urlList[ae.urlList.length-1];ae.urlList=[ae.url]}if(ie.referrer!==undefined){const re=ie.referrer;if(re===""){ae.referrer="no-referrer"}else{let ie;try{ie=new URL(re,fe)}catch(ie){throw new TypeError(`Referrer "${re}" is not a valid URL.`,{cause:ie})}ae.referrer=ie}}if(ie.referrerPolicy!==undefined){ae.referrerPolicy=ie.referrerPolicy}let _e;if(ie.mode!==undefined){_e=ie.mode}else{_e=ce}if(_e==="navigate"){throw Pe.errors.exception({header:"Request constructor",message:"invalid request mode navigate."})}if(_e!=null){ae.mode=_e}if(ie.credentials!==undefined){ae.credentials=ie.credentials}if(ie.cache!==undefined){ae.cache=ie.cache}if(ae.cache==="only-if-cached"&&ae.mode!=="same-origin"){throw new TypeError("'only-if-cached' can be set only with 'same-origin' mode")}if(ie.redirect!==undefined){ae.redirect=ie.redirect}if(ie.integrity!==undefined&&ie.integrity!=null){ae.integrity=String(ie.integrity)}if(ie.keepalive!==undefined){ae.keepalive=Boolean(ie.keepalive)}if(ie.method!==undefined){let re=ie.method;if(!he(ie.method)){throw TypeError(`'${ie.method}' is not a valid HTTP method.`)}if(ye.indexOf(re.toUpperCase())!==-1){throw TypeError(`'${ie.method}' HTTP method is unsupported.`)}re=ge(ie.method);ae.method=re}if(ie.signal!==undefined){de=ie.signal}this[ke]=ae;const Ee=new AbortController;this[xe]=Ee.signal;this[xe][De]=this[De];if(de!=null){if(!de||typeof de.aborted!=="boolean"||typeof de.addEventListener!=="function"){throw new TypeError("Failed to construct 'Request': member signal is not of type AbortSignal.")}if(de.aborted){Ee.abort(de.reason)}else{this[qe]=Ee;const re=new WeakRef(Ee);const abort=function(){const ie=re.deref();if(ie!==undefined){ie.abort(this.reason)}};try{if(typeof Ne==="function"&&Ne(de)===Fe){je(100,de)}else if(Le(de,"abort").length>=Fe){je(100,de)}}catch{}de.addEventListener("abort",abort,{once:true});Ke.register(Ee,{signal:de,abort:abort})}}this[Be]=new ue;this[Be][Re]=ae.headersList;this[Be][Oe]="request";this[Be][De]=this[De];if(_e==="no-cors"){if(!ve.includes(ae.method)){throw new TypeError(`'${ae.method} is unsupported in no-cors mode.`)}this[Be][Oe]="request-no-cors"}if(Object.keys(ie).length!==0){let re=new ue(this[Be]);if(ie.headers!==undefined){re=ie.headers}this[Be][Re].clear();if(re.constructor.name==="Headers"){for(const[ie,oe]of re){this[Be].append(ie,oe)}}else{le(this[Be],re)}}const Ce=re instanceof Request?re[ke].body:null;if((ie.body!=null||Ce!=null)&&(ae.method==="GET"||ae.method==="HEAD")){throw new TypeError("Request with GET/HEAD method cannot have body.")}let Ie=null;if(ie.body!=null){const[re,oe]=se(ie.body,ae.keepalive);Ie=re;if(oe&&!this[Be][Re].contains("content-type")){this[Be].append("content-type",oe)}}const Se=Ie??Ce;if(Se!=null&&Se.source==null){if(Ie!=null&&ie.duplex==null){throw new TypeError("RequestInit: duplex option is required when sending a body.")}if(ae.mode!=="same-origin"&&ae.mode!=="cors"){throw new TypeError('If request is made from ReadableStream, mode should be "same-origin" or "cors"')}ae.useCORSPreflightFlag=true}let Qe=Se;if(Ie==null&&Ce!=null){if(pe.isDisturbed(Ce.stream)||Ce.stream.locked){throw new TypeError("Cannot construct a Request with a Request object that has already been used.")}if(!Ue){Ue=oe(35356).TransformStream}const re=new Ue;Ce.stream.pipeThrough(re);Qe={source:Ce.source,length:Ce.length,stream:re.readable}}this[ke].body=Qe}get method(){Pe.brandCheck(this,Request);return this[ke].method}get url(){Pe.brandCheck(this,Request);return Qe(this[ke].url)}get headers(){Pe.brandCheck(this,Request);return this[Be]}get destination(){Pe.brandCheck(this,Request);return this[ke].destination}get referrer(){Pe.brandCheck(this,Request);if(this[ke].referrer==="no-referrer"){return""}if(this[ke].referrer==="client"){return"about:client"}return this[ke].referrer.toString()}get referrerPolicy(){Pe.brandCheck(this,Request);return this[ke].referrerPolicy}get mode(){Pe.brandCheck(this,Request);return this[ke].mode}get credentials(){return this[ke].credentials}get cache(){Pe.brandCheck(this,Request);return this[ke].cache}get redirect(){Pe.brandCheck(this,Request);return this[ke].redirect}get integrity(){Pe.brandCheck(this,Request);return this[ke].integrity}get keepalive(){Pe.brandCheck(this,Request);return this[ke].keepalive}get isReloadNavigation(){Pe.brandCheck(this,Request);return this[ke].reloadNavigation}get isHistoryNavigation(){Pe.brandCheck(this,Request);return this[ke].historyNavigation}get signal(){Pe.brandCheck(this,Request);return this[xe]}get body(){Pe.brandCheck(this,Request);return this[ke].body?this[ke].body.stream:null}get bodyUsed(){Pe.brandCheck(this,Request);return!!this[ke].body&&pe.isDisturbed(this[ke].body.stream)}get duplex(){Pe.brandCheck(this,Request);return"half"}clone(){Pe.brandCheck(this,Request);if(this.bodyUsed||this.body?.locked){throw new TypeError("unusable")}const re=cloneRequest(this[ke]);const ie=new Request(He);ie[ke]=re;ie[De]=this[De];ie[Be]=new ue;ie[Be][Re]=re.headersList;ie[Be][Oe]=this[Be][Oe];ie[Be][De]=this[Be][De];const oe=new AbortController;if(this.signal.aborted){oe.abort(this.signal.reason)}else{this.signal.addEventListener("abort",(()=>{oe.abort(this.signal.reason)}),{once:true})}ie[xe]=oe.signal;return ie}}ae(Request);function makeRequest(re){const ie={method:"GET",localURLsOnly:false,unsafeRequest:false,body:null,client:null,reservedClient:null,replacesClientId:"",window:"client",keepalive:false,serviceWorkers:"all",initiator:"",destination:"",priority:null,origin:"client",policyContainer:"client",referrer:"client",referrerPolicy:"",mode:"no-cors",useCORSPreflightFlag:false,credentials:"same-origin",useCredentials:false,cache:"default",redirect:"follow",integrity:"",cryptoGraphicsNonceMetadata:"",parserMetadata:"",reloadNavigation:false,historyNavigation:false,userActivation:false,taintedOrigin:false,redirectCount:0,responseTainting:"basic",preventNoCacheCacheControlHeaderModification:false,done:false,timingAllowFailed:false,...re,headersList:re.headersList?new fe(re.headersList):new fe};ie.url=ie.urlList[0];return ie}function cloneRequest(re){const ie=makeRequest({...re,body:null});if(re.body!=null){ie.body=ce(re.body)}return ie}Object.defineProperties(Request.prototype,{method:Se,url:Se,headers:Se,redirect:Se,clone:Se,signal:Se,duplex:Se,destination:Se,body:Se,bodyUsed:Se,isHistoryNavigation:Se,isReloadNavigation:Se,keepalive:Se,integrity:Se,cache:Se,credentials:Se,attribute:Se,referrerPolicy:Se,referrer:Se,mode:Se,[Symbol.toStringTag]:{value:"Request",configurable:true}});Pe.converters.Request=Pe.interfaceConverter(Request);Pe.converters.RequestInfo=function(re){if(typeof re==="string"){return Pe.converters.USVString(re)}if(re instanceof Request){return Pe.converters.Request(re)}return Pe.converters.USVString(re)};Pe.converters.AbortSignal=Pe.interfaceConverter(AbortSignal);Pe.converters.RequestInit=Pe.dictionaryConverter([{key:"method",converter:Pe.converters.ByteString},{key:"headers",converter:Pe.converters.HeadersInit},{key:"body",converter:Pe.nullableConverter(Pe.converters.BodyInit)},{key:"referrer",converter:Pe.converters.USVString},{key:"referrerPolicy",converter:Pe.converters.DOMString,allowedValues:be},{key:"mode",converter:Pe.converters.DOMString,allowedValues:_e},{key:"credentials",converter:Pe.converters.DOMString,allowedValues:Ee},{key:"cache",converter:Pe.converters.DOMString,allowedValues:Ce},{key:"redirect",converter:Pe.converters.DOMString,allowedValues:we},{key:"integrity",converter:Pe.converters.DOMString},{key:"keepalive",converter:Pe.converters.boolean},{key:"signal",converter:Pe.nullableConverter((re=>Pe.converters.AbortSignal(re,{strict:false})))},{key:"window",converter:Pe.converters.any},{key:"duplex",converter:Pe.converters.DOMString,allowedValues:Ie}]);re.exports={Request:Request,makeRequest:makeRequest}},27823:(re,ie,oe)=>{"use strict";const{Headers:se,HeadersList:ae,fill:ce}=oe(10554);const{extractBody:ue,cloneBody:le,mixinBody:fe}=oe(41472);const de=oe(83983);const{kEnumerableProperty:pe}=de;const{isValidReasonPhrase:he,isCancelled:Ae,isAborted:ge,isBlobLike:me,serializeJavascriptValueToJSONString:ye,isErrorLike:ve,isomorphicEncode:be}=oe(52538);const{redirectStatus:we,nullBodyStatus:_e,DOMException:Ee}=oe(41037);const{kState:Ce,kHeaders:Ie,kGuard:Se,kRealm:Be}=oe(15861);const{webidl:xe}=oe(21744);const{FormData:ke}=oe(72015);const{getGlobalOrigin:Oe}=oe(71246);const{URLSerializer:De}=oe(685);const{kHeadersList:Pe}=oe(72785);const Te=oe(39491);const{types:Qe}=oe(73837);const Re=globalThis.ReadableStream||oe(35356).ReadableStream;class Response{static error(){const re={settingsObject:{}};const ie=new Response;ie[Ce]=makeNetworkError();ie[Be]=re;ie[Ie][Pe]=ie[Ce].headersList;ie[Ie][Se]="immutable";ie[Ie][Be]=re;return ie}static json(re=undefined,ie={}){xe.argumentLengthCheck(arguments,1,{header:"Response.json"});if(ie!==null){ie=xe.converters.ResponseInit(ie)}const oe=new TextEncoder("utf-8").encode(ye(re));const se=ue(oe);const ae={settingsObject:{}};const ce=new Response;ce[Be]=ae;ce[Ie][Se]="response";ce[Ie][Be]=ae;initializeResponse(ce,ie,{body:se[0],type:"application/json"});return ce}static redirect(re,ie=302){const oe={settingsObject:{}};xe.argumentLengthCheck(arguments,1,{header:"Response.redirect"});re=xe.converters.USVString(re);ie=xe.converters["unsigned short"](ie);let se;try{se=new URL(re,Oe())}catch(ie){throw Object.assign(new TypeError("Failed to parse URL from "+re),{cause:ie})}if(!we.includes(ie)){throw new RangeError("Invalid status code "+ie)}const ae=new Response;ae[Be]=oe;ae[Ie][Se]="immutable";ae[Ie][Be]=oe;ae[Ce].status=ie;const ce=be(De(se));ae[Ce].headersList.append("location",ce);return ae}constructor(re=null,ie={}){if(re!==null){re=xe.converters.BodyInit(re)}ie=xe.converters.ResponseInit(ie);this[Be]={settingsObject:{}};this[Ce]=makeResponse({});this[Ie]=new se;this[Ie][Se]="response";this[Ie][Pe]=this[Ce].headersList;this[Ie][Be]=this[Be];let oe=null;if(re!=null){const[ie,se]=ue(re);oe={body:ie,type:se}}initializeResponse(this,ie,oe)}get type(){xe.brandCheck(this,Response);return this[Ce].type}get url(){xe.brandCheck(this,Response);const re=this[Ce].urlList;const ie=re[re.length-1]??null;if(ie===null){return""}return De(ie,true)}get redirected(){xe.brandCheck(this,Response);return this[Ce].urlList.length>1}get status(){xe.brandCheck(this,Response);return this[Ce].status}get ok(){xe.brandCheck(this,Response);return this[Ce].status>=200&&this[Ce].status<=299}get statusText(){xe.brandCheck(this,Response);return this[Ce].statusText}get headers(){xe.brandCheck(this,Response);return this[Ie]}get body(){xe.brandCheck(this,Response);return this[Ce].body?this[Ce].body.stream:null}get bodyUsed(){xe.brandCheck(this,Response);return!!this[Ce].body&&de.isDisturbed(this[Ce].body.stream)}clone(){xe.brandCheck(this,Response);if(this.bodyUsed||this.body&&this.body.locked){throw xe.errors.exception({header:"Response.clone",message:"Body has already been consumed."})}const re=cloneResponse(this[Ce]);const ie=new Response;ie[Ce]=re;ie[Be]=this[Be];ie[Ie][Pe]=re.headersList;ie[Ie][Se]=this[Ie][Se];ie[Ie][Be]=this[Ie][Be];return ie}}fe(Response);Object.defineProperties(Response.prototype,{type:pe,url:pe,status:pe,ok:pe,redirected:pe,statusText:pe,headers:pe,clone:pe,body:pe,bodyUsed:pe,[Symbol.toStringTag]:{value:"Response",configurable:true}});Object.defineProperties(Response,{json:pe,redirect:pe,error:pe});function cloneResponse(re){if(re.internalResponse){return filterResponse(cloneResponse(re.internalResponse),re.type)}const ie=makeResponse({...re,body:null});if(re.body!=null){ie.body=le(re.body)}return ie}function makeResponse(re){return{aborted:false,rangeRequested:false,timingAllowPassed:false,requestIncludesCredentials:false,type:"default",status:200,timingInfo:null,cacheState:"",statusText:"",...re,headersList:re.headersList?new ae(re.headersList):new ae,urlList:re.urlList?[...re.urlList]:[]}}function makeNetworkError(re){const ie=ve(re);return makeResponse({type:"error",status:0,error:ie?re:new Error(re?String(re):re),aborted:re&&re.name==="AbortError"})}function makeFilteredResponse(re,ie){ie={internalResponse:re,...ie};return new Proxy(re,{get(re,oe){return oe in ie?ie[oe]:re[oe]},set(re,oe,se){Te(!(oe in ie));re[oe]=se;return true}})}function filterResponse(re,ie){if(ie==="basic"){return makeFilteredResponse(re,{type:"basic",headersList:re.headersList})}else if(ie==="cors"){return makeFilteredResponse(re,{type:"cors",headersList:re.headersList})}else if(ie==="opaque"){return makeFilteredResponse(re,{type:"opaque",urlList:Object.freeze([]),status:0,statusText:"",body:null})}else if(ie==="opaqueredirect"){return makeFilteredResponse(re,{type:"opaqueredirect",status:0,statusText:"",headersList:[],body:null})}else{Te(false)}}function makeAppropriateNetworkError(re){Te(Ae(re));return ge(re)?makeNetworkError(new Ee("The operation was aborted.","AbortError")):makeNetworkError("Request was cancelled.")}function initializeResponse(re,ie,oe){if(ie.status!==null&&(ie.status<200||ie.status>599)){throw new RangeError('init["status"] must be in the range of 200 to 599, inclusive.')}if("statusText"in ie&&ie.statusText!=null){if(!he(String(ie.statusText))){throw new TypeError("Invalid statusText")}}if("status"in ie&&ie.status!=null){re[Ce].status=ie.status}if("statusText"in ie&&ie.statusText!=null){re[Ce].statusText=ie.statusText}if("headers"in ie&&ie.headers!=null){ce(re[Ie],ie.headers)}if(oe){if(_e.includes(re.status)){throw xe.errors.exception({header:"Response constructor",message:"Invalid response status code "+re.status})}re[Ce].body=oe.body;if(oe.type!=null&&!re[Ce].headersList.contains("Content-Type")){re[Ce].headersList.append("content-type",oe.type)}}}xe.converters.ReadableStream=xe.interfaceConverter(Re);xe.converters.FormData=xe.interfaceConverter(ke);xe.converters.URLSearchParams=xe.interfaceConverter(URLSearchParams);xe.converters.XMLHttpRequestBodyInit=function(re){if(typeof re==="string"){return xe.converters.USVString(re)}if(me(re)){return xe.converters.Blob(re,{strict:false})}if(Qe.isAnyArrayBuffer(re)||Qe.isTypedArray(re)||Qe.isDataView(re)){return xe.converters.BufferSource(re)}if(de.isFormDataLike(re)){return xe.converters.FormData(re,{strict:false})}if(re instanceof URLSearchParams){return xe.converters.URLSearchParams(re)}return xe.converters.DOMString(re)};xe.converters.BodyInit=function(re){if(re instanceof Re){return xe.converters.ReadableStream(re)}if(re?.[Symbol.asyncIterator]){return re}return xe.converters.XMLHttpRequestBodyInit(re)};xe.converters.ResponseInit=xe.dictionaryConverter([{key:"status",converter:xe.converters["unsigned short"],defaultValue:200},{key:"statusText",converter:xe.converters.ByteString,defaultValue:""},{key:"headers",converter:xe.converters.HeadersInit}]);re.exports={makeNetworkError:makeNetworkError,makeResponse:makeResponse,makeAppropriateNetworkError:makeAppropriateNetworkError,filterResponse:filterResponse,Response:Response,cloneResponse:cloneResponse}},15861:re=>{"use strict";re.exports={kUrl:Symbol("url"),kHeaders:Symbol("headers"),kSignal:Symbol("signal"),kState:Symbol("state"),kGuard:Symbol("guard"),kRealm:Symbol("realm")}},52538:(re,ie,oe)=>{"use strict";const{redirectStatus:se,badPorts:ae,referrerPolicy:ce}=oe(41037);const{getGlobalOrigin:ue}=oe(71246);const{performance:le}=oe(4074);const{isBlobLike:fe,toUSVString:de,ReadableStreamFrom:pe}=oe(83983);const he=oe(39491);const{isUint8Array:Ae}=oe(29830);let ge;try{ge=oe(6113)}catch{}function responseURL(re){const ie=re.urlList;const oe=ie.length;return oe===0?null:ie[oe-1].toString()}function responseLocationURL(re,ie){if(!se.includes(re.status)){return null}let oe=re.headersList.get("location");if(oe!==null&&isValidHeaderValue(oe)){oe=new URL(oe,responseURL(re))}if(oe&&!oe.hash){oe.hash=ie}return oe}function requestCurrentURL(re){return re.urlList[re.urlList.length-1]}function requestBadPort(re){const ie=requestCurrentURL(re);if(urlIsHttpHttpsScheme(ie)&&ae.includes(ie.port)){return"blocked"}return"allowed"}function isErrorLike(re){return re instanceof Error||(re?.constructor?.name==="Error"||re?.constructor?.name==="DOMException")}function isValidReasonPhrase(re){for(let ie=0;ie=32&&oe<=126||oe>=128&&oe<=255)){return false}}return true}function isTokenChar(re){return!(re>=127||re<=32||re==="("||re===")"||re==="<"||re===">"||re==="@"||re===","||re===";"||re===":"||re==="\\"||re==='"'||re==="/"||re==="["||re==="]"||re==="?"||re==="="||re==="{"||re==="}")}function isValidHTTPToken(re){if(!re||typeof re!=="string"){return false}for(let ie=0;ie127||!isTokenChar(oe)){return false}}return true}function isValidHeaderName(re){if(re.length===0){return false}return isValidHTTPToken(re)}function isValidHeaderValue(re){if(re.startsWith("\t")||re.startsWith(" ")||re.endsWith("\t")||re.endsWith(" ")){return false}if(re.includes("\0")||re.includes("\r")||re.includes("\n")){return false}return true}function setRequestReferrerPolicyOnRedirect(re,ie){const{headersList:oe}=ie;const se=(oe.get("referrer-policy")??"").split(",");let ae="";if(se.length>0){for(let re=se.length;re!==0;re--){const ie=se[re-1].trim();if(ce.includes(ie)){ae=ie;break}}}if(ae!==""){re.referrerPolicy=ae}}function crossOriginResourcePolicyCheck(){return"allowed"}function corsCheck(){return"success"}function TAOCheck(){return"success"}function appendFetchMetadata(re){let ie=null;ie=re.mode;re.headersList.set("sec-fetch-mode",ie)}function appendRequestOriginHeader(re){let ie=re.origin;if(re.responseTainting==="cors"||re.mode==="websocket"){if(ie){re.headersList.append("origin",ie)}}else if(re.method!=="GET"&&re.method!=="HEAD"){switch(re.referrerPolicy){case"no-referrer":ie=null;break;case"no-referrer-when-downgrade":case"strict-origin":case"strict-origin-when-cross-origin":if(re.origin&&urlHasHttpsScheme(re.origin)&&!urlHasHttpsScheme(requestCurrentURL(re))){ie=null}break;case"same-origin":if(!sameOrigin(re,requestCurrentURL(re))){ie=null}break;default:}if(ie){re.headersList.append("origin",ie)}}}function coarsenedSharedCurrentTime(re){return le.now()}function createOpaqueTimingInfo(re){return{startTime:re.startTime??0,redirectStartTime:0,redirectEndTime:0,postRedirectStartTime:re.startTime??0,finalServiceWorkerStartTime:0,finalNetworkResponseStartTime:0,finalNetworkRequestStartTime:0,endTime:0,encodedBodySize:0,decodedBodySize:0,finalConnectionTimingInfo:null}}function makePolicyContainer(){return{referrerPolicy:"strict-origin-when-cross-origin"}}function clonePolicyContainer(re){return{referrerPolicy:re.referrerPolicy}}function determineRequestsReferrer(re){const ie=re.referrerPolicy;he(ie);let oe=null;if(re.referrer==="client"){const re=ue();if(!re||re.origin==="null"){return"no-referrer"}oe=new URL(re)}else if(re.referrer instanceof URL){oe=re.referrer}let se=stripURLForReferrer(oe);const ae=stripURLForReferrer(oe,true);if(se.toString().length>4096){se=ae}const ce=sameOrigin(re,se);const le=isURLPotentiallyTrustworthy(se)&&!isURLPotentiallyTrustworthy(re.url);switch(ie){case"origin":return ae!=null?ae:stripURLForReferrer(oe,true);case"unsafe-url":return se;case"same-origin":return ce?ae:"no-referrer";case"origin-when-cross-origin":return ce?se:ae;case"strict-origin-when-cross-origin":{const ie=requestCurrentURL(re);if(sameOrigin(se,ie)){return se}if(isURLPotentiallyTrustworthy(se)&&!isURLPotentiallyTrustworthy(ie)){return"no-referrer"}return ae}case"strict-origin":case"no-referrer-when-downgrade":default:return le?"no-referrer":ae}}function stripURLForReferrer(re,ie){he(re instanceof URL);if(re.protocol==="file:"||re.protocol==="about:"||re.protocol==="blank:"){return"no-referrer"}re.username="";re.password="";re.hash="";if(ie){re.pathname="";re.search=""}return re}function isURLPotentiallyTrustworthy(re){if(!(re instanceof URL)){return false}if(re.href==="about:blank"||re.href==="about:srcdoc"){return true}if(re.protocol==="data:")return true;if(re.protocol==="file:")return true;return isOriginPotentiallyTrustworthy(re.origin);function isOriginPotentiallyTrustworthy(re){if(re==null||re==="null")return false;const ie=new URL(re);if(ie.protocol==="https:"||ie.protocol==="wss:"){return true}if(/^127(?:\.[0-9]+){0,2}\.[0-9]+$|^\[(?:0*:)*?:?0*1\]$/.test(ie.hostname)||(ie.hostname==="localhost"||ie.hostname.includes("localhost."))||ie.hostname.endsWith(".localhost")){return true}return false}}function bytesMatch(re,ie){if(ge===undefined){return true}const oe=parseMetadata(ie);if(oe==="no metadata"){return true}if(oe.length===0){return true}const se=oe.sort(((re,ie)=>ie.algo.localeCompare(re.algo)));const ae=se[0].algo;const ce=se.filter((re=>re.algo===ae));for(const ie of ce){const oe=ie.algo;const se=ie.hash;const ae=ge.createHash(oe).update(re).digest("base64");if(ae===se){return true}}return false}const me=/((?sha256|sha384|sha512)-(?[A-z0-9+/]{1}.*={0,2}))( +[\x21-\x7e]?)?/i;function parseMetadata(re){const ie=[];let oe=true;const se=ge.getHashes();for(const ae of re.split(" ")){oe=false;const re=me.exec(ae);if(re===null||re.groups===undefined){continue}const ce=re.groups.algo;if(se.includes(ce.toLowerCase())){ie.push(re.groups)}}if(oe===true){return"no metadata"}return ie}function tryUpgradeRequestToAPotentiallyTrustworthyURL(re){}function sameOrigin(re,ie){if(re.origin===ie.origin&&re.origin==="null"){return true}if(re.protocol===ie.protocol&&re.hostname===ie.hostname&&re.port===ie.port){return true}return false}function createDeferredPromise(){let re;let ie;const oe=new Promise(((oe,se)=>{re=oe;ie=se}));return{promise:oe,resolve:re,reject:ie}}function isAborted(re){return re.controller.state==="aborted"}function isCancelled(re){return re.controller.state==="aborted"||re.controller.state==="terminated"}function normalizeMethod(re){return/^(DELETE|GET|HEAD|OPTIONS|POST|PUT)$/i.test(re)?re.toUpperCase():re}function serializeJavascriptValueToJSONString(re){const ie=JSON.stringify(re);if(ie===undefined){throw new TypeError("Value is not JSON serializable")}he(typeof ie==="string");return ie}const ye=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function makeIterator(re,ie,oe){const se={index:0,kind:oe,target:re};const ae={next(){if(Object.getPrototypeOf(this)!==ae){throw new TypeError(`'next' called on an object that does not implement interface ${ie} Iterator.`)}const{index:re,kind:oe,target:ce}=se;const ue=ce();const le=ue.length;if(re>=le){return{value:undefined,done:true}}const fe=ue[re];se.index=re+1;return iteratorResult(fe,oe)},[Symbol.toStringTag]:`${ie} Iterator`};Object.setPrototypeOf(ae,ye);return Object.setPrototypeOf({},ae)}function iteratorResult(re,ie){let oe;switch(ie){case"key":{oe=re[0];break}case"value":{oe=re[1];break}case"key+value":{oe=re;break}}return{value:oe,done:false}}function fullyReadBody(re,ie,oe){const successSteps=re=>queueMicrotask((()=>ie(re)));const errorSteps=re=>queueMicrotask((()=>oe(re)));let se;try{se=re.stream.getReader()}catch(re){errorSteps(re);return}readAllBytes(se,successSteps,errorSteps)}let ve=globalThis.ReadableStream;function isReadableStreamLike(re){if(!ve){ve=oe(35356).ReadableStream}return re instanceof ve||re[Symbol.toStringTag]==="ReadableStream"&&typeof re.tee==="function"}const be=65535;function isomorphicDecode(re){if(re.lengthre+String.fromCharCode(ie)),"")}function readableStreamClose(re){try{re.close()}catch(re){if(!re.message.includes("Controller is already closed")){throw re}}}function isomorphicEncode(re){for(let ie=0;ieObject.prototype.hasOwnProperty.call(re,ie));re.exports={isAborted:isAborted,isCancelled:isCancelled,createDeferredPromise:createDeferredPromise,ReadableStreamFrom:pe,toUSVString:de,tryUpgradeRequestToAPotentiallyTrustworthyURL:tryUpgradeRequestToAPotentiallyTrustworthyURL,coarsenedSharedCurrentTime:coarsenedSharedCurrentTime,determineRequestsReferrer:determineRequestsReferrer,makePolicyContainer:makePolicyContainer,clonePolicyContainer:clonePolicyContainer,appendFetchMetadata:appendFetchMetadata,appendRequestOriginHeader:appendRequestOriginHeader,TAOCheck:TAOCheck,corsCheck:corsCheck,crossOriginResourcePolicyCheck:crossOriginResourcePolicyCheck,createOpaqueTimingInfo:createOpaqueTimingInfo,setRequestReferrerPolicyOnRedirect:setRequestReferrerPolicyOnRedirect,isValidHTTPToken:isValidHTTPToken,requestBadPort:requestBadPort,requestCurrentURL:requestCurrentURL,responseURL:responseURL,responseLocationURL:responseLocationURL,isBlobLike:fe,isURLPotentiallyTrustworthy:isURLPotentiallyTrustworthy,isValidReasonPhrase:isValidReasonPhrase,sameOrigin:sameOrigin,normalizeMethod:normalizeMethod,serializeJavascriptValueToJSONString:serializeJavascriptValueToJSONString,makeIterator:makeIterator,isValidHeaderName:isValidHeaderName,isValidHeaderValue:isValidHeaderValue,hasOwn:we,isErrorLike:isErrorLike,fullyReadBody:fullyReadBody,bytesMatch:bytesMatch,isReadableStreamLike:isReadableStreamLike,readableStreamClose:readableStreamClose,isomorphicEncode:isomorphicEncode,isomorphicDecode:isomorphicDecode,urlIsLocal:urlIsLocal,urlHasHttpsScheme:urlHasHttpsScheme,urlIsHttpHttpsScheme:urlIsHttpHttpsScheme,readAllBytes:readAllBytes}},21744:(re,ie,oe)=>{"use strict";const{types:se}=oe(73837);const{hasOwn:ae,toUSVString:ce}=oe(52538);const ue={};ue.converters={};ue.util={};ue.errors={};ue.errors.exception=function(re){return new TypeError(`${re.header}: ${re.message}`)};ue.errors.conversionFailed=function(re){const ie=re.types.length===1?"":" one of";const oe=`${re.argument} could not be converted to`+`${ie}: ${re.types.join(", ")}.`;return ue.errors.exception({header:re.prefix,message:oe})};ue.errors.invalidArgument=function(re){return ue.errors.exception({header:re.prefix,message:`"${re.value}" is an invalid ${re.type}.`})};ue.brandCheck=function(re,ie,oe=undefined){if(oe?.strict!==false&&!(re instanceof ie)){throw new TypeError("Illegal invocation")}else{return re?.[Symbol.toStringTag]===ie.prototype[Symbol.toStringTag]}};ue.argumentLengthCheck=function({length:re},ie,oe){if(reae){throw ue.errors.exception({header:"Integer conversion",message:`Value must be between ${ce}-${ae}, got ${le}.`})}return le}if(!Number.isNaN(le)&&se.clamp===true){le=Math.min(Math.max(le,ce),ae);if(Math.floor(le)%2===0){le=Math.floor(le)}else{le=Math.ceil(le)}return le}if(Number.isNaN(le)||le===0&&Object.is(0,le)||le===Number.POSITIVE_INFINITY||le===Number.NEGATIVE_INFINITY){return 0}le=ue.util.IntegerPart(le);le=le%Math.pow(2,ie);if(oe==="signed"&&le>=Math.pow(2,ie)-1){return le-Math.pow(2,ie)}return le};ue.util.IntegerPart=function(re){const ie=Math.floor(Math.abs(re));if(re<0){return-1*ie}return ie};ue.sequenceConverter=function(re){return ie=>{if(ue.util.Type(ie)!=="Object"){throw ue.errors.exception({header:"Sequence",message:`Value of type ${ue.util.Type(ie)} is not an Object.`})}const oe=ie?.[Symbol.iterator]?.();const se=[];if(oe===undefined||typeof oe.next!=="function"){throw ue.errors.exception({header:"Sequence",message:"Object is not an iterator."})}while(true){const{done:ie,value:ae}=oe.next();if(ie){break}se.push(re(ae))}return se}};ue.recordConverter=function(re,ie){return oe=>{if(ue.util.Type(oe)!=="Object"){throw ue.errors.exception({header:"Record",message:`Value of type ${ue.util.Type(oe)} is not an Object.`})}const ae={};if(!se.isProxy(oe)){const se=Object.keys(oe);for(const ce of se){const se=re(ce);const ue=ie(oe[ce]);ae[se]=ue}return ae}const ce=Reflect.ownKeys(oe);for(const se of ce){const ce=Reflect.getOwnPropertyDescriptor(oe,se);if(ce?.enumerable){const ce=re(se);const ue=ie(oe[se]);ae[ce]=ue}}return ae}};ue.interfaceConverter=function(re){return(ie,oe={})=>{if(oe.strict!==false&&!(ie instanceof re)){throw ue.errors.exception({header:re.name,message:`Expected ${ie} to be an instance of ${re.name}.`})}return ie}};ue.dictionaryConverter=function(re){return ie=>{const oe=ue.util.Type(ie);const se={};if(oe==="Null"||oe==="Undefined"){return se}else if(oe!=="Object"){throw ue.errors.exception({header:"Dictionary",message:`Expected ${ie} to be one of: Null, Undefined, Object.`})}for(const oe of re){const{key:re,defaultValue:ce,required:le,converter:fe}=oe;if(le===true){if(!ae(ie,re)){throw ue.errors.exception({header:"Dictionary",message:`Missing required key "${re}".`})}}let de=ie[re];const pe=ae(oe,"defaultValue");if(pe&&de!==null){de=de??ce}if(le||pe||de!==undefined){de=fe(de);if(oe.allowedValues&&!oe.allowedValues.includes(de)){throw ue.errors.exception({header:"Dictionary",message:`${de} is not an accepted type. Expected one of ${oe.allowedValues.join(", ")}.`})}se[re]=de}}return se}};ue.nullableConverter=function(re){return ie=>{if(ie===null){return ie}return re(ie)}};ue.converters.DOMString=function(re,ie={}){if(re===null&&ie.legacyNullToEmptyString){return""}if(typeof re==="symbol"){throw new TypeError("Could not convert argument of type symbol to string.")}return String(re)};ue.converters.ByteString=function(re){const ie=ue.converters.DOMString(re);for(let re=0;re255){throw new TypeError("Cannot convert argument to a ByteString because the character at "+`index ${re} has a value of ${oe} which is greater than 255.`)}}return ie};ue.converters.USVString=ce;ue.converters.boolean=function(re){const ie=Boolean(re);return ie};ue.converters.any=function(re){return re};ue.converters["long long"]=function(re){const ie=ue.util.ConvertToInt(re,64,"signed");return ie};ue.converters["unsigned long long"]=function(re){const ie=ue.util.ConvertToInt(re,64,"unsigned");return ie};ue.converters["unsigned long"]=function(re){const ie=ue.util.ConvertToInt(re,32,"unsigned");return ie};ue.converters["unsigned short"]=function(re,ie){const oe=ue.util.ConvertToInt(re,16,"unsigned",ie);return oe};ue.converters.ArrayBuffer=function(re,ie={}){if(ue.util.Type(re)!=="Object"||!se.isAnyArrayBuffer(re)){throw ue.errors.conversionFailed({prefix:`${re}`,argument:`${re}`,types:["ArrayBuffer"]})}if(ie.allowShared===false&&se.isSharedArrayBuffer(re)){throw ue.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}return re};ue.converters.TypedArray=function(re,ie,oe={}){if(ue.util.Type(re)!=="Object"||!se.isTypedArray(re)||re.constructor.name!==ie.name){throw ue.errors.conversionFailed({prefix:`${ie.name}`,argument:`${re}`,types:[ie.name]})}if(oe.allowShared===false&&se.isSharedArrayBuffer(re.buffer)){throw ue.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}return re};ue.converters.DataView=function(re,ie={}){if(ue.util.Type(re)!=="Object"||!se.isDataView(re)){throw ue.errors.exception({header:"DataView",message:"Object is not a DataView."})}if(ie.allowShared===false&&se.isSharedArrayBuffer(re.buffer)){throw ue.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}return re};ue.converters.BufferSource=function(re,ie={}){if(se.isAnyArrayBuffer(re)){return ue.converters.ArrayBuffer(re,ie)}if(se.isTypedArray(re)){return ue.converters.TypedArray(re,re.constructor)}if(se.isDataView(re)){return ue.converters.DataView(re,ie)}throw new TypeError(`Could not convert ${re} to a BufferSource.`)};ue.converters["sequence"]=ue.sequenceConverter(ue.converters.ByteString);ue.converters["sequence>"]=ue.sequenceConverter(ue.converters["sequence"]);ue.converters["record"]=ue.recordConverter(ue.converters.ByteString,ue.converters.ByteString);re.exports={webidl:ue}},84854:re=>{"use strict";function getEncoding(re){if(!re){return"failure"}switch(re.trim().toLowerCase()){case"unicode-1-1-utf-8":case"unicode11utf8":case"unicode20utf8":case"utf-8":case"utf8":case"x-unicode20utf8":return"UTF-8";case"866":case"cp866":case"csibm866":case"ibm866":return"IBM866";case"csisolatin2":case"iso-8859-2":case"iso-ir-101":case"iso8859-2":case"iso88592":case"iso_8859-2":case"iso_8859-2:1987":case"l2":case"latin2":return"ISO-8859-2";case"csisolatin3":case"iso-8859-3":case"iso-ir-109":case"iso8859-3":case"iso88593":case"iso_8859-3":case"iso_8859-3:1988":case"l3":case"latin3":return"ISO-8859-3";case"csisolatin4":case"iso-8859-4":case"iso-ir-110":case"iso8859-4":case"iso88594":case"iso_8859-4":case"iso_8859-4:1988":case"l4":case"latin4":return"ISO-8859-4";case"csisolatincyrillic":case"cyrillic":case"iso-8859-5":case"iso-ir-144":case"iso8859-5":case"iso88595":case"iso_8859-5":case"iso_8859-5:1988":return"ISO-8859-5";case"arabic":case"asmo-708":case"csiso88596e":case"csiso88596i":case"csisolatinarabic":case"ecma-114":case"iso-8859-6":case"iso-8859-6-e":case"iso-8859-6-i":case"iso-ir-127":case"iso8859-6":case"iso88596":case"iso_8859-6":case"iso_8859-6:1987":return"ISO-8859-6";case"csisolatingreek":case"ecma-118":case"elot_928":case"greek":case"greek8":case"iso-8859-7":case"iso-ir-126":case"iso8859-7":case"iso88597":case"iso_8859-7":case"iso_8859-7:1987":case"sun_eu_greek":return"ISO-8859-7";case"csiso88598e":case"csisolatinhebrew":case"hebrew":case"iso-8859-8":case"iso-8859-8-e":case"iso-ir-138":case"iso8859-8":case"iso88598":case"iso_8859-8":case"iso_8859-8:1988":case"visual":return"ISO-8859-8";case"csiso88598i":case"iso-8859-8-i":case"logical":return"ISO-8859-8-I";case"csisolatin6":case"iso-8859-10":case"iso-ir-157":case"iso8859-10":case"iso885910":case"l6":case"latin6":return"ISO-8859-10";case"iso-8859-13":case"iso8859-13":case"iso885913":return"ISO-8859-13";case"iso-8859-14":case"iso8859-14":case"iso885914":return"ISO-8859-14";case"csisolatin9":case"iso-8859-15":case"iso8859-15":case"iso885915":case"iso_8859-15":case"l9":return"ISO-8859-15";case"iso-8859-16":return"ISO-8859-16";case"cskoi8r":case"koi":case"koi8":case"koi8-r":case"koi8_r":return"KOI8-R";case"koi8-ru":case"koi8-u":return"KOI8-U";case"csmacintosh":case"mac":case"macintosh":case"x-mac-roman":return"macintosh";case"iso-8859-11":case"iso8859-11":case"iso885911":case"tis-620":case"windows-874":return"windows-874";case"cp1250":case"windows-1250":case"x-cp1250":return"windows-1250";case"cp1251":case"windows-1251":case"x-cp1251":return"windows-1251";case"ansi_x3.4-1968":case"ascii":case"cp1252":case"cp819":case"csisolatin1":case"ibm819":case"iso-8859-1":case"iso-ir-100":case"iso8859-1":case"iso88591":case"iso_8859-1":case"iso_8859-1:1987":case"l1":case"latin1":case"us-ascii":case"windows-1252":case"x-cp1252":return"windows-1252";case"cp1253":case"windows-1253":case"x-cp1253":return"windows-1253";case"cp1254":case"csisolatin5":case"iso-8859-9":case"iso-ir-148":case"iso8859-9":case"iso88599":case"iso_8859-9":case"iso_8859-9:1989":case"l5":case"latin5":case"windows-1254":case"x-cp1254":return"windows-1254";case"cp1255":case"windows-1255":case"x-cp1255":return"windows-1255";case"cp1256":case"windows-1256":case"x-cp1256":return"windows-1256";case"cp1257":case"windows-1257":case"x-cp1257":return"windows-1257";case"cp1258":case"windows-1258":case"x-cp1258":return"windows-1258";case"x-mac-cyrillic":case"x-mac-ukrainian":return"x-mac-cyrillic";case"chinese":case"csgb2312":case"csiso58gb231280":case"gb2312":case"gb_2312":case"gb_2312-80":case"gbk":case"iso-ir-58":case"x-gbk":return"GBK";case"gb18030":return"gb18030";case"big5":case"big5-hkscs":case"cn-big5":case"csbig5":case"x-x-big5":return"Big5";case"cseucpkdfmtjapanese":case"euc-jp":case"x-euc-jp":return"EUC-JP";case"csiso2022jp":case"iso-2022-jp":return"ISO-2022-JP";case"csshiftjis":case"ms932":case"ms_kanji":case"shift-jis":case"shift_jis":case"sjis":case"windows-31j":case"x-sjis":return"Shift_JIS";case"cseuckr":case"csksc56011987":case"euc-kr":case"iso-ir-149":case"korean":case"ks_c_5601-1987":case"ks_c_5601-1989":case"ksc5601":case"ksc_5601":case"windows-949":return"EUC-KR";case"csiso2022kr":case"hz-gb-2312":case"iso-2022-cn":case"iso-2022-cn-ext":case"iso-2022-kr":case"replacement":return"replacement";case"unicodefffe":case"utf-16be":return"UTF-16BE";case"csunicode":case"iso-10646-ucs-2":case"ucs-2":case"unicode":case"unicodefeff":case"utf-16":case"utf-16le":return"UTF-16LE";case"x-user-defined":return"x-user-defined";default:return"failure"}}re.exports={getEncoding:getEncoding}},1446:(re,ie,oe)=>{"use strict";const{staticPropertyDescriptors:se,readOperation:ae,fireAProgressEvent:ce}=oe(87530);const{kState:ue,kError:le,kResult:fe,kEvents:de,kAborted:pe}=oe(29054);const{webidl:he}=oe(21744);const{kEnumerableProperty:Ae}=oe(83983);class FileReader extends EventTarget{constructor(){super();this[ue]="empty";this[fe]=null;this[le]=null;this[de]={loadend:null,error:null,abort:null,load:null,progress:null,loadstart:null}}readAsArrayBuffer(re){he.brandCheck(this,FileReader);he.argumentLengthCheck(arguments,1,{header:"FileReader.readAsArrayBuffer"});re=he.converters.Blob(re,{strict:false});ae(this,re,"ArrayBuffer")}readAsBinaryString(re){he.brandCheck(this,FileReader);he.argumentLengthCheck(arguments,1,{header:"FileReader.readAsBinaryString"});re=he.converters.Blob(re,{strict:false});ae(this,re,"BinaryString")}readAsText(re,ie=undefined){he.brandCheck(this,FileReader);he.argumentLengthCheck(arguments,1,{header:"FileReader.readAsText"});re=he.converters.Blob(re,{strict:false});if(ie!==undefined){ie=he.converters.DOMString(ie)}ae(this,re,"Text",ie)}readAsDataURL(re){he.brandCheck(this,FileReader);he.argumentLengthCheck(arguments,1,{header:"FileReader.readAsDataURL"});re=he.converters.Blob(re,{strict:false});ae(this,re,"DataURL")}abort(){if(this[ue]==="empty"||this[ue]==="done"){this[fe]=null;return}if(this[ue]==="loading"){this[ue]="done";this[fe]=null}this[pe]=true;ce("abort",this);if(this[ue]!=="loading"){ce("loadend",this)}}get readyState(){he.brandCheck(this,FileReader);switch(this[ue]){case"empty":return this.EMPTY;case"loading":return this.LOADING;case"done":return this.DONE}}get result(){he.brandCheck(this,FileReader);return this[fe]}get error(){he.brandCheck(this,FileReader);return this[le]}get onloadend(){he.brandCheck(this,FileReader);return this[de].loadend}set onloadend(re){he.brandCheck(this,FileReader);if(this[de].loadend){this.removeEventListener("loadend",this[de].loadend)}if(typeof re==="function"){this[de].loadend=re;this.addEventListener("loadend",re)}else{this[de].loadend=null}}get onerror(){he.brandCheck(this,FileReader);return this[de].error}set onerror(re){he.brandCheck(this,FileReader);if(this[de].error){this.removeEventListener("error",this[de].error)}if(typeof re==="function"){this[de].error=re;this.addEventListener("error",re)}else{this[de].error=null}}get onloadstart(){he.brandCheck(this,FileReader);return this[de].loadstart}set onloadstart(re){he.brandCheck(this,FileReader);if(this[de].loadstart){this.removeEventListener("loadstart",this[de].loadstart)}if(typeof re==="function"){this[de].loadstart=re;this.addEventListener("loadstart",re)}else{this[de].loadstart=null}}get onprogress(){he.brandCheck(this,FileReader);return this[de].progress}set onprogress(re){he.brandCheck(this,FileReader);if(this[de].progress){this.removeEventListener("progress",this[de].progress)}if(typeof re==="function"){this[de].progress=re;this.addEventListener("progress",re)}else{this[de].progress=null}}get onload(){he.brandCheck(this,FileReader);return this[de].load}set onload(re){he.brandCheck(this,FileReader);if(this[de].load){this.removeEventListener("load",this[de].load)}if(typeof re==="function"){this[de].load=re;this.addEventListener("load",re)}else{this[de].load=null}}get onabort(){he.brandCheck(this,FileReader);return this[de].abort}set onabort(re){he.brandCheck(this,FileReader);if(this[de].abort){this.removeEventListener("abort",this[de].abort)}if(typeof re==="function"){this[de].abort=re;this.addEventListener("abort",re)}else{this[de].abort=null}}}FileReader.EMPTY=FileReader.prototype.EMPTY=0;FileReader.LOADING=FileReader.prototype.LOADING=1;FileReader.DONE=FileReader.prototype.DONE=2;Object.defineProperties(FileReader.prototype,{EMPTY:se,LOADING:se,DONE:se,readAsArrayBuffer:Ae,readAsBinaryString:Ae,readAsText:Ae,readAsDataURL:Ae,abort:Ae,readyState:Ae,result:Ae,error:Ae,onloadstart:Ae,onprogress:Ae,onload:Ae,onabort:Ae,onerror:Ae,onloadend:Ae,[Symbol.toStringTag]:{value:"FileReader",writable:false,enumerable:false,configurable:true}});Object.defineProperties(FileReader,{EMPTY:se,LOADING:se,DONE:se});re.exports={FileReader:FileReader}},55504:(re,ie,oe)=>{"use strict";const{webidl:se}=oe(21744);const ae=Symbol("ProgressEvent state");class ProgressEvent extends Event{constructor(re,ie={}){re=se.converters.DOMString(re);ie=se.converters.ProgressEventInit(ie??{});super(re,ie);this[ae]={lengthComputable:ie.lengthComputable,loaded:ie.loaded,total:ie.total}}get lengthComputable(){se.brandCheck(this,ProgressEvent);return this[ae].lengthComputable}get loaded(){se.brandCheck(this,ProgressEvent);return this[ae].loaded}get total(){se.brandCheck(this,ProgressEvent);return this[ae].total}}se.converters.ProgressEventInit=se.dictionaryConverter([{key:"lengthComputable",converter:se.converters.boolean,defaultValue:false},{key:"loaded",converter:se.converters["unsigned long long"],defaultValue:0},{key:"total",converter:se.converters["unsigned long long"],defaultValue:0},{key:"bubbles",converter:se.converters.boolean,defaultValue:false},{key:"cancelable",converter:se.converters.boolean,defaultValue:false},{key:"composed",converter:se.converters.boolean,defaultValue:false}]);re.exports={ProgressEvent:ProgressEvent}},29054:re=>{"use strict";re.exports={kState:Symbol("FileReader state"),kResult:Symbol("FileReader result"),kError:Symbol("FileReader error"),kLastProgressEventFired:Symbol("FileReader last progress event fired timestamp"),kEvents:Symbol("FileReader events"),kAborted:Symbol("FileReader aborted")}},87530:(re,ie,oe)=>{"use strict";const{kState:se,kError:ae,kResult:ce,kAborted:ue,kLastProgressEventFired:le}=oe(29054);const{ProgressEvent:fe}=oe(55504);const{getEncoding:de}=oe(84854);const{DOMException:pe}=oe(41037);const{serializeAMimeType:he,parseMIMEType:Ae}=oe(685);const{types:ge}=oe(73837);const{StringDecoder:me}=oe(71576);const{btoa:ye}=oe(14300);const ve={enumerable:true,writable:false,configurable:false};function readOperation(re,ie,oe,fe){if(re[se]==="loading"){throw new pe("Invalid state","InvalidStateError")}re[se]="loading";re[ce]=null;re[ae]=null;const de=ie.stream();const he=de.getReader();const Ae=[];let me=he.read();let ye=true;(async()=>{while(!re[ue]){try{const{done:de,value:pe}=await me;if(ye&&!re[ue]){queueMicrotask((()=>{fireAProgressEvent("loadstart",re)}))}ye=false;if(!de&&ge.isUint8Array(pe)){Ae.push(pe);if((re[le]===undefined||Date.now()-re[le]>=50)&&!re[ue]){re[le]=Date.now();queueMicrotask((()=>{fireAProgressEvent("progress",re)}))}me=he.read()}else if(de){queueMicrotask((()=>{re[se]="done";try{const se=packageData(Ae,oe,ie.type,fe);if(re[ue]){return}re[ce]=se;fireAProgressEvent("load",re)}catch(ie){re[ae]=ie;fireAProgressEvent("error",re)}if(re[se]!=="loading"){fireAProgressEvent("loadend",re)}}));break}}catch(ie){if(re[ue]){return}queueMicrotask((()=>{re[se]="done";re[ae]=ie;fireAProgressEvent("error",re);if(re[se]!=="loading"){fireAProgressEvent("loadend",re)}}));break}}})()}function fireAProgressEvent(re,ie){const oe=new fe(re,{bubbles:false,cancelable:false});ie.dispatchEvent(oe)}function packageData(re,ie,oe,se){switch(ie){case"DataURL":{let ie="data:";const se=Ae(oe||"application/octet-stream");if(se!=="failure"){ie+=he(se)}ie+=";base64,";const ae=new me("latin1");for(const oe of re){ie+=ye(ae.write(oe))}ie+=ye(ae.end());return ie}case"Text":{let ie="failure";if(se){ie=de(se)}if(ie==="failure"&&oe){const re=Ae(oe);if(re!=="failure"){ie=de(re.parameters.get("charset"))}}if(ie==="failure"){ie="UTF-8"}return decode(re,ie)}case"ArrayBuffer":{const ie=combineByteSequences(re);return ie.buffer}case"BinaryString":{let ie="";const oe=new me("latin1");for(const se of re){ie+=oe.write(se)}ie+=oe.end();return ie}}}function decode(re,ie){const oe=combineByteSequences(re);const se=BOMSniffing(oe);let ae=0;if(se!==null){ie=se;ae=se==="UTF-8"?3:2}const ce=oe.slice(ae);return new TextDecoder(ie).decode(ce)}function BOMSniffing(re){const[ie,oe,se]=re;if(ie===239&&oe===187&&se===191){return"UTF-8"}else if(ie===254&&oe===255){return"UTF-16BE"}else if(ie===255&&oe===254){return"UTF-16LE"}return null}function combineByteSequences(re){const ie=re.reduce(((re,ie)=>re+ie.byteLength),0);let oe=0;return re.reduce(((re,ie)=>{re.set(ie,oe);oe+=ie.byteLength;return re}),new Uint8Array(ie))}re.exports={staticPropertyDescriptors:ve,readOperation:readOperation,fireAProgressEvent:fireAProgressEvent}},21892:(re,ie,oe)=>{"use strict";const se=Symbol.for("undici.globalDispatcher.1");const{InvalidArgumentError:ae}=oe(48045);const ce=oe(7890);if(getGlobalDispatcher()===undefined){setGlobalDispatcher(new ce)}function setGlobalDispatcher(re){if(!re||typeof re.dispatch!=="function"){throw new ae("Argument agent must implement Agent")}Object.defineProperty(globalThis,se,{value:re,writable:true,enumerable:false,configurable:false})}function getGlobalDispatcher(){return globalThis[se]}re.exports={setGlobalDispatcher:setGlobalDispatcher,getGlobalDispatcher:getGlobalDispatcher}},46930:re=>{"use strict";re.exports=class DecoratorHandler{constructor(re){this.handler=re}onConnect(...re){return this.handler.onConnect(...re)}onError(...re){return this.handler.onError(...re)}onUpgrade(...re){return this.handler.onUpgrade(...re)}onHeaders(...re){return this.handler.onHeaders(...re)}onData(...re){return this.handler.onData(...re)}onComplete(...re){return this.handler.onComplete(...re)}onBodySent(...re){return this.handler.onBodySent(...re)}}},72860:(re,ie,oe)=>{"use strict";const se=oe(83983);const{kBodyUsed:ae}=oe(72785);const ce=oe(39491);const{InvalidArgumentError:ue}=oe(48045);const le=oe(82361);const fe=[300,301,302,303,307,308];const de=Symbol("body");class BodyAsyncIterable{constructor(re){this[de]=re;this[ae]=false}async*[Symbol.asyncIterator](){ce(!this[ae],"disturbed");this[ae]=true;yield*this[de]}}class RedirectHandler{constructor(re,ie,oe,fe){if(ie!=null&&(!Number.isInteger(ie)||ie<0)){throw new ue("maxRedirections must be a positive number")}se.validateHandler(fe,oe.method,oe.upgrade);this.dispatch=re;this.location=null;this.abort=null;this.opts={...oe,maxRedirections:0};this.maxRedirections=ie;this.handler=fe;this.history=[];if(se.isStream(this.opts.body)){if(se.bodyLength(this.opts.body)===0){this.opts.body.on("data",(function(){ce(false)}))}if(typeof this.opts.body.readableDidRead!=="boolean"){this.opts.body[ae]=false;le.prototype.on.call(this.opts.body,"data",(function(){this[ae]=true}))}}else if(this.opts.body&&typeof this.opts.body.pipeTo==="function"){this.opts.body=new BodyAsyncIterable(this.opts.body)}else if(this.opts.body&&typeof this.opts.body!=="string"&&!ArrayBuffer.isView(this.opts.body)&&se.isIterable(this.opts.body)){this.opts.body=new BodyAsyncIterable(this.opts.body)}}onConnect(re){this.abort=re;this.handler.onConnect(re,{history:this.history})}onUpgrade(re,ie,oe){this.handler.onUpgrade(re,ie,oe)}onError(re){this.handler.onError(re)}onHeaders(re,ie,oe,ae){this.location=this.history.length>=this.maxRedirections||se.isDisturbed(this.opts.body)?null:parseLocation(re,ie);if(this.opts.origin){this.history.push(new URL(this.opts.path,this.opts.origin))}if(!this.location){return this.handler.onHeaders(re,ie,oe,ae)}const{origin:ce,pathname:ue,search:le}=se.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin)));const fe=le?`${ue}${le}`:ue;this.opts.headers=cleanRequestHeaders(this.opts.headers,re===303,this.opts.origin!==ce);this.opts.path=fe;this.opts.origin=ce;this.opts.maxRedirections=0;this.opts.query=null;if(re===303&&this.opts.method!=="HEAD"){this.opts.method="GET";this.opts.body=null}}onData(re){if(this.location){}else{return this.handler.onData(re)}}onComplete(re){if(this.location){this.location=null;this.abort=null;this.dispatch(this.opts,this)}else{this.handler.onComplete(re)}}onBodySent(re){if(this.handler.onBodySent){this.handler.onBodySent(re)}}}function parseLocation(re,ie){if(fe.indexOf(re)===-1){return null}for(let re=0;re{"use strict";const se=oe(72860);function createRedirectInterceptor({maxRedirections:re}){return ie=>function Intercept(oe,ae){const{maxRedirections:ce=re}=oe;if(!ce){return ie(oe,ae)}const ue=new se(ie,ce,oe,ae);oe={...oe,maxRedirections:0};return ie(oe,ue)}}re.exports=createRedirectInterceptor},30953:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.SPECIAL_HEADERS=ie.HEADER_STATE=ie.MINOR=ie.MAJOR=ie.CONNECTION_TOKEN_CHARS=ie.HEADER_CHARS=ie.TOKEN=ie.STRICT_TOKEN=ie.HEX=ie.URL_CHAR=ie.STRICT_URL_CHAR=ie.USERINFO_CHARS=ie.MARK=ie.ALPHANUM=ie.NUM=ie.HEX_MAP=ie.NUM_MAP=ie.ALPHA=ie.FINISH=ie.H_METHOD_MAP=ie.METHOD_MAP=ie.METHODS_RTSP=ie.METHODS_ICE=ie.METHODS_HTTP=ie.METHODS=ie.LENIENT_FLAGS=ie.FLAGS=ie.TYPE=ie.ERROR=void 0;const se=oe(41891);var ae;(function(re){re[re["OK"]=0]="OK";re[re["INTERNAL"]=1]="INTERNAL";re[re["STRICT"]=2]="STRICT";re[re["LF_EXPECTED"]=3]="LF_EXPECTED";re[re["UNEXPECTED_CONTENT_LENGTH"]=4]="UNEXPECTED_CONTENT_LENGTH";re[re["CLOSED_CONNECTION"]=5]="CLOSED_CONNECTION";re[re["INVALID_METHOD"]=6]="INVALID_METHOD";re[re["INVALID_URL"]=7]="INVALID_URL";re[re["INVALID_CONSTANT"]=8]="INVALID_CONSTANT";re[re["INVALID_VERSION"]=9]="INVALID_VERSION";re[re["INVALID_HEADER_TOKEN"]=10]="INVALID_HEADER_TOKEN";re[re["INVALID_CONTENT_LENGTH"]=11]="INVALID_CONTENT_LENGTH";re[re["INVALID_CHUNK_SIZE"]=12]="INVALID_CHUNK_SIZE";re[re["INVALID_STATUS"]=13]="INVALID_STATUS";re[re["INVALID_EOF_STATE"]=14]="INVALID_EOF_STATE";re[re["INVALID_TRANSFER_ENCODING"]=15]="INVALID_TRANSFER_ENCODING";re[re["CB_MESSAGE_BEGIN"]=16]="CB_MESSAGE_BEGIN";re[re["CB_HEADERS_COMPLETE"]=17]="CB_HEADERS_COMPLETE";re[re["CB_MESSAGE_COMPLETE"]=18]="CB_MESSAGE_COMPLETE";re[re["CB_CHUNK_HEADER"]=19]="CB_CHUNK_HEADER";re[re["CB_CHUNK_COMPLETE"]=20]="CB_CHUNK_COMPLETE";re[re["PAUSED"]=21]="PAUSED";re[re["PAUSED_UPGRADE"]=22]="PAUSED_UPGRADE";re[re["PAUSED_H2_UPGRADE"]=23]="PAUSED_H2_UPGRADE";re[re["USER"]=24]="USER"})(ae=ie.ERROR||(ie.ERROR={}));var ce;(function(re){re[re["BOTH"]=0]="BOTH";re[re["REQUEST"]=1]="REQUEST";re[re["RESPONSE"]=2]="RESPONSE"})(ce=ie.TYPE||(ie.TYPE={}));var ue;(function(re){re[re["CONNECTION_KEEP_ALIVE"]=1]="CONNECTION_KEEP_ALIVE";re[re["CONNECTION_CLOSE"]=2]="CONNECTION_CLOSE";re[re["CONNECTION_UPGRADE"]=4]="CONNECTION_UPGRADE";re[re["CHUNKED"]=8]="CHUNKED";re[re["UPGRADE"]=16]="UPGRADE";re[re["CONTENT_LENGTH"]=32]="CONTENT_LENGTH";re[re["SKIPBODY"]=64]="SKIPBODY";re[re["TRAILING"]=128]="TRAILING";re[re["TRANSFER_ENCODING"]=512]="TRANSFER_ENCODING"})(ue=ie.FLAGS||(ie.FLAGS={}));var le;(function(re){re[re["HEADERS"]=1]="HEADERS";re[re["CHUNKED_LENGTH"]=2]="CHUNKED_LENGTH";re[re["KEEP_ALIVE"]=4]="KEEP_ALIVE"})(le=ie.LENIENT_FLAGS||(ie.LENIENT_FLAGS={}));var fe;(function(re){re[re["DELETE"]=0]="DELETE";re[re["GET"]=1]="GET";re[re["HEAD"]=2]="HEAD";re[re["POST"]=3]="POST";re[re["PUT"]=4]="PUT";re[re["CONNECT"]=5]="CONNECT";re[re["OPTIONS"]=6]="OPTIONS";re[re["TRACE"]=7]="TRACE";re[re["COPY"]=8]="COPY";re[re["LOCK"]=9]="LOCK";re[re["MKCOL"]=10]="MKCOL";re[re["MOVE"]=11]="MOVE";re[re["PROPFIND"]=12]="PROPFIND";re[re["PROPPATCH"]=13]="PROPPATCH";re[re["SEARCH"]=14]="SEARCH";re[re["UNLOCK"]=15]="UNLOCK";re[re["BIND"]=16]="BIND";re[re["REBIND"]=17]="REBIND";re[re["UNBIND"]=18]="UNBIND";re[re["ACL"]=19]="ACL";re[re["REPORT"]=20]="REPORT";re[re["MKACTIVITY"]=21]="MKACTIVITY";re[re["CHECKOUT"]=22]="CHECKOUT";re[re["MERGE"]=23]="MERGE";re[re["M-SEARCH"]=24]="M-SEARCH";re[re["NOTIFY"]=25]="NOTIFY";re[re["SUBSCRIBE"]=26]="SUBSCRIBE";re[re["UNSUBSCRIBE"]=27]="UNSUBSCRIBE";re[re["PATCH"]=28]="PATCH";re[re["PURGE"]=29]="PURGE";re[re["MKCALENDAR"]=30]="MKCALENDAR";re[re["LINK"]=31]="LINK";re[re["UNLINK"]=32]="UNLINK";re[re["SOURCE"]=33]="SOURCE";re[re["PRI"]=34]="PRI";re[re["DESCRIBE"]=35]="DESCRIBE";re[re["ANNOUNCE"]=36]="ANNOUNCE";re[re["SETUP"]=37]="SETUP";re[re["PLAY"]=38]="PLAY";re[re["PAUSE"]=39]="PAUSE";re[re["TEARDOWN"]=40]="TEARDOWN";re[re["GET_PARAMETER"]=41]="GET_PARAMETER";re[re["SET_PARAMETER"]=42]="SET_PARAMETER";re[re["REDIRECT"]=43]="REDIRECT";re[re["RECORD"]=44]="RECORD";re[re["FLUSH"]=45]="FLUSH"})(fe=ie.METHODS||(ie.METHODS={}));ie.METHODS_HTTP=[fe.DELETE,fe.GET,fe.HEAD,fe.POST,fe.PUT,fe.CONNECT,fe.OPTIONS,fe.TRACE,fe.COPY,fe.LOCK,fe.MKCOL,fe.MOVE,fe.PROPFIND,fe.PROPPATCH,fe.SEARCH,fe.UNLOCK,fe.BIND,fe.REBIND,fe.UNBIND,fe.ACL,fe.REPORT,fe.MKACTIVITY,fe.CHECKOUT,fe.MERGE,fe["M-SEARCH"],fe.NOTIFY,fe.SUBSCRIBE,fe.UNSUBSCRIBE,fe.PATCH,fe.PURGE,fe.MKCALENDAR,fe.LINK,fe.UNLINK,fe.PRI,fe.SOURCE];ie.METHODS_ICE=[fe.SOURCE];ie.METHODS_RTSP=[fe.OPTIONS,fe.DESCRIBE,fe.ANNOUNCE,fe.SETUP,fe.PLAY,fe.PAUSE,fe.TEARDOWN,fe.GET_PARAMETER,fe.SET_PARAMETER,fe.REDIRECT,fe.RECORD,fe.FLUSH,fe.GET,fe.POST];ie.METHOD_MAP=se.enumToMap(fe);ie.H_METHOD_MAP={};Object.keys(ie.METHOD_MAP).forEach((re=>{if(/^H/.test(re)){ie.H_METHOD_MAP[re]=ie.METHOD_MAP[re]}}));var de;(function(re){re[re["SAFE"]=0]="SAFE";re[re["SAFE_WITH_CB"]=1]="SAFE_WITH_CB";re[re["UNSAFE"]=2]="UNSAFE"})(de=ie.FINISH||(ie.FINISH={}));ie.ALPHA=[];for(let re="A".charCodeAt(0);re<="Z".charCodeAt(0);re++){ie.ALPHA.push(String.fromCharCode(re));ie.ALPHA.push(String.fromCharCode(re+32))}ie.NUM_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9};ie.HEX_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15};ie.NUM=["0","1","2","3","4","5","6","7","8","9"];ie.ALPHANUM=ie.ALPHA.concat(ie.NUM);ie.MARK=["-","_",".","!","~","*","'","(",")"];ie.USERINFO_CHARS=ie.ALPHANUM.concat(ie.MARK).concat(["%",";",":","&","=","+","$",","]);ie.STRICT_URL_CHAR=["!",'"',"$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","@","[","\\","]","^","_","`","{","|","}","~"].concat(ie.ALPHANUM);ie.URL_CHAR=ie.STRICT_URL_CHAR.concat(["\t","\f"]);for(let re=128;re<=255;re++){ie.URL_CHAR.push(re)}ie.HEX=ie.NUM.concat(["a","b","c","d","e","f","A","B","C","D","E","F"]);ie.STRICT_TOKEN=["!","#","$","%","&","'","*","+","-",".","^","_","`","|","~"].concat(ie.ALPHANUM);ie.TOKEN=ie.STRICT_TOKEN.concat([" "]);ie.HEADER_CHARS=["\t"];for(let re=32;re<=255;re++){if(re!==127){ie.HEADER_CHARS.push(re)}}ie.CONNECTION_TOKEN_CHARS=ie.HEADER_CHARS.filter((re=>re!==44));ie.MAJOR=ie.NUM_MAP;ie.MINOR=ie.MAJOR;var pe;(function(re){re[re["GENERAL"]=0]="GENERAL";re[re["CONNECTION"]=1]="CONNECTION";re[re["CONTENT_LENGTH"]=2]="CONTENT_LENGTH";re[re["TRANSFER_ENCODING"]=3]="TRANSFER_ENCODING";re[re["UPGRADE"]=4]="UPGRADE";re[re["CONNECTION_KEEP_ALIVE"]=5]="CONNECTION_KEEP_ALIVE";re[re["CONNECTION_CLOSE"]=6]="CONNECTION_CLOSE";re[re["CONNECTION_UPGRADE"]=7]="CONNECTION_UPGRADE";re[re["TRANSFER_ENCODING_CHUNKED"]=8]="TRANSFER_ENCODING_CHUNKED"})(pe=ie.HEADER_STATE||(ie.HEADER_STATE={}));ie.SPECIAL_HEADERS={connection:pe.CONNECTION,"content-length":pe.CONTENT_LENGTH,"proxy-connection":pe.CONNECTION,"transfer-encoding":pe.TRANSFER_ENCODING,upgrade:pe.UPGRADE}},61145:re=>{re.exports="AGFzbQEAAAABMAhgAX8Bf2ADf39/AX9gBH9/f38Bf2AAAGADf39/AGABfwBgAn9/AGAGf39/f39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQACA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vbl9ib2R5AAEDZW52GHdhc21fb25fbWVzc2FnZV9jb21wbGV0ZQAAA0ZFAwMEAAAFAAAAAAAABQEFAAUFBQAABgAAAAAGBgYGAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQABAAABAQcAAAUFAAMBBAUBcAESEgUDAQACBggBfwFBgNQECwfRBSIGbWVtb3J5AgALX2luaXRpYWxpemUACRlfX2luZGlyZWN0X2Z1bmN0aW9uX3RhYmxlAQALbGxodHRwX2luaXQAChhsbGh0dHBfc2hvdWxkX2tlZXBfYWxpdmUAQQxsbGh0dHBfYWxsb2MADAZtYWxsb2MARgtsbGh0dHBfZnJlZQANBGZyZWUASA9sbGh0dHBfZ2V0X3R5cGUADhVsbGh0dHBfZ2V0X2h0dHBfbWFqb3IADxVsbGh0dHBfZ2V0X2h0dHBfbWlub3IAEBFsbGh0dHBfZ2V0X21ldGhvZAARFmxsaHR0cF9nZXRfc3RhdHVzX2NvZGUAEhJsbGh0dHBfZ2V0X3VwZ3JhZGUAEwxsbGh0dHBfcmVzZXQAFA5sbGh0dHBfZXhlY3V0ZQAVFGxsaHR0cF9zZXR0aW5nc19pbml0ABYNbGxodHRwX2ZpbmlzaAAXDGxsaHR0cF9wYXVzZQAYDWxsaHR0cF9yZXN1bWUAGRtsbGh0dHBfcmVzdW1lX2FmdGVyX3VwZ3JhZGUAGhBsbGh0dHBfZ2V0X2Vycm5vABsXbGxodHRwX2dldF9lcnJvcl9yZWFzb24AHBdsbGh0dHBfc2V0X2Vycm9yX3JlYXNvbgAdFGxsaHR0cF9nZXRfZXJyb3JfcG9zAB4RbGxodHRwX2Vycm5vX25hbWUAHxJsbGh0dHBfbWV0aG9kX25hbWUAIBJs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EGpCADcDACAAQQhqQgA3AwAgAEHdATYCHEEAC3sBAX8CQCAAKAIMIgMNAAJAIAAoAgRFDQAgACABNgIECwJAIAAgASACEMSAgIAAIgMNACAAKAIMDwsgACADNgIcQQAhAyAAKAIEIgFFDQAgACABIAIgACgCCBGBgICAAAAiAUUNACAAIAI2AhQgACABNgIMIAEhAwsgAwvc9wEDKH8DfgV/I4CAgIAAQRBrIgMkgICAgAAgASEEIAEhBSABIQYgASEHIAEhCCABIQkgASEKIAEhCyABIQwgASENIAEhDiABIQ8gASEQIAEhESABIRIgASETIAEhFCABIRUgASEWIAEhFyABIRggASEZIAEhGiABIRsgASEcIAEhHSABIR4gASEfIAEhICABISEgASEiIAEhIyABISQgASElIAEhJiABIScgASEoIAEhKQJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCAAKAIcIipBf2oO3QHaAQHZAQIDBAUGBwgJCgsMDQ7YAQ8Q1wEREtYBExQVFhcYGRob4AHfARwdHtUBHyAhIiMkJdQBJicoKSorLNMB0gEtLtEB0AEvMDEyMzQ1Njc4OTo7PD0+P0BBQkNERUbbAUdISUrPAc4B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AQtBwQEhKgsDQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJA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UGoON+cB5gEBAgMEBQYHCAAAAAAAAAAJCgsMDQ4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA8QERITFAALQR4hKgzEAwtCAiErDOUBC0IDISsM5AELQgQhKwzjAQtCBSErDOIBC0IGISsM4QELQgchKwzgAQtCCCErDN8BC0IJISsM3gELQgohKwzdAQtCCyErDNwBC0IMISsM2wELQg0hKwzaAQtCDiErDNkBC0IPISsM2AELQgohKwzXAQtCCyErDNYBC0IMISsM1QELQg0hKwzUAQtCDiErDNMBC0IPISsM0gELQgAhKwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgKi0AAEFQag435QHkAQABAgMEBQYH5gHmAeYB5gHmAeYB5gEICQoLDA3mAeYB5gHmAeYB5gHmAeYB5gHmAeYB5gHmAeYB5gHmAeYB5gHmAeYB5gHmAeYB5gHmAeYBDg8QERIT5gELQgIhKwzkAQtCAyErDOMBC0IEISsM4gELQgUhKwzhAQtCBiErDOABC0IHISsM3wELQgghKwzeAQtCCSErDN0BC0IKISsM3AELQgshKwzbAQtCDCErDNoBC0INISsM2QELQg4hKwzYAQtCDyErDNcBC0IKISsM1gELQgshKwzVAQtCDCErDNQBC0INISsM0wELQg4hKwzSAQtCDyErDNEBCyAAQgAgACkDICIrIAIgASIqa60iLH0iLSAtICtWGzcDICArICxWIi5FDdIBQR8hKgzHAwsCQCABIgEgAkYNACAAQYmAgIAANgIIIAAgATYCBCABIQFBJCEqDK4DC0EgISoMxgMLIAAgASIqIAIQvoCAgABBf2oOBbYBAMsCAdEB0gELQREhKgyrAwsgAEEBOgAvICohAQzCAwsgASIBIAJHDdIBQSQhKgzCAwsgASInIAJHDR5BxgAhKgzBAwsgACABIgEgAhCygICAACIqDdQBIAEhAQy1AQsgASIqIAJHDSZB0AAhKgy/AwsCQCABIgEgAkcNAEEoISoMvwMLIABBADYCBCAAQYyAgIAANgIIIAAgASABELGAgIAAIioN0wEgASEBDNgBCwJAIAEiKiACRw0AQSkhKgy+AwsgKi0AACIBQSBGDRQgAUEJRw3TASAqQQFqIQEMFQsCQCABIgEgAkYNACABQQFqIQEMFwtBKiEqDLwDCwJAIAEiKiACRw0AQSshKgy8AwsCQCAqLQAAIgFBCUYNACABQSBHDdUBCyAALQAsQQhGDdMBICohAQyWAwsCQCABIgEgAkcNAEEsISoMuwMLIAEtAABBCkcN1QEgAUEBaiEBDM8CCyABIiggAkcN1QFBLyEqDLkDCwNAAkAgAS0AACIqQSBGDQACQCAqQXZqDgQA3AHcAQDaAQsgASEBDOIBCyABQQFqIgEgAkcNAAtBMSEqDLgDC0EyISogASIvIAJGDbcDIAIgL2sgACgCACIwaiExIC8hMiAwIQECQANAIDItAAAiLkEgciAuIC5Bv39qQf8BcUEaSRtB/wFxIAFB8LuAgABqLQAARw0BIAFBA0YNmwMgAUEBaiEBIDJBAWoiMiACRw0ACyAAIDE2AgAMuAMLIABBADYCACAyIQEM2QELQTMhKiABIi8gAkYNtgMgAiAvayAAKAIAIjBqITEgLyEyIDAhAQJAA0AgMi0AACIuQSByIC4gLkG/f2pB/wFxQRpJG0H/AXEgAUH0u4CAAGotAABHDQEgAUEIRg3bASABQQFqIQEgMkEBaiIyIAJHDQALIAAgMTYCAAy3AwsgAEEANgIAIDIhAQzYAQtBNCEqIAEiLyACRg21AyACIC9rIAAoAgAiMGohMSAvITIgMCEBAkADQCAyLQAAIi5BIHIgLiAuQb9/akH/AXFBGkkbQf8BcSABQdDCgIAAai0AAEcNASABQQVGDdsBIAFBAWohASAyQQFqIjIgAkcNAAsgACAxNgIADLYDCyAAQQA2AgAgMiEBDNcBCwJAIAEiASACRg0AA0ACQCABLQAAQYC+gIAAai0AACIqQQFGDQAgKkECRg0KIAEhAQzfAQsgAUEBaiIBIAJHDQALQTAhKgy1AwtBMCEqDLQDCwJAIAEiASACRg0AA0ACQCABLQAAIipBIEYNACAqQXZqDgTbAdwB3AHbAdwBCyABQQFqIgEgAkcNAAtBOCEqDLQDC0E4ISoMswMLA0ACQCABLQAAIipBIEYNACAqQQlHDQMLIAFBAWoiASACRw0AC0E8ISoMsgMLA0ACQCABLQAAIipBIEYNAAJAAkAgKkF2ag4E3AEBAdwBAAsgKkEsRg3dAQsgASEBDAQLIAFBAWoiASACRw0AC0E/ISoMsQMLIAEhAQzdAQtBwAAhKiABIjIgAkYNrwMgAiAyayAAKAIAIi9qITAgMiEuIC8hAQJAA0AgLi0AAEEgciABQYDAgIAAai0AAEcNASABQQZGDZUDIAFBAWohASAuQQFqIi4gAkcNAAsgACAwNgIADLADCyAAQQA2AgAgLiEBC0E2ISoMlQMLAkAgASIpIAJHDQBBwQAhKgyuAwsgAEGMgICAADYCCCAAICk2AgQgKSEBIAAtACxBf2oOBM0B1wHZAdsBjAMLIAFBAWohAQzMAQsCQCABIgEgAkYNAANAAkAgAS0AACIqQSByICogKkG/f2pB/wFxQRpJG0H/AXEiKkEJRg0AICpBIEYNAAJAAkACQAJAICpBnX9qDhMAAwMDAwMDAwEDAwMDAwMDAwMCAwsgAUEBaiEBQTEhKgyYAwsgAUEBaiEBQTIhKgyXAwsgAUEBaiEBQTMhKgyWAwsgASEBDNABCyABQQFqIgEgAkcNAAtBNSEqDKwDC0E1ISoMqwMLAkAgASIBIAJGDQADQAJAIAEtAABBgLyAgABqLQAAQQFGDQAgASEBDNUBCyABQQFqIgEgAkcNAAtBPSEqDKsDC0E9ISoMqgMLIAAgASIBIAIQsICAgAAiKg3YASABIQEMAQsgKkEBaiEBC0E8ISoMjgMLAkAgASIBIAJHDQBBwgAhKgynAwsCQANAAkAgAS0AAEF3ag4YAAKDA4MDiQODA4MDgwODA4MDgwODA4MDgwODA4MDgwODA4MDgwODA4MDgwMAgwMLIAFBAWoiASACRw0AC0HCACEqDKcDCyABQQFqIQEgAC0ALUEBcUUNvQEgASEBC0EsISoMjAMLIAEiASACRw3VAUHEACEqDKQDCwNAAkAgAS0AAEGQwICAAGotAABBAUYNACABIQEMvQILIAFBAWoiASACRw0AC0HFACEqDKMDCyAnLQAAIipBIEYNswEgKkE6Rw2IAyAAKAIEIQEgAEEANgIEIAAgASAnEK+AgIAAIgEN0gEgJ0EBaiEBDLkCC0HHACEqIAEiMiACRg2hAyACIDJrIAAoAgAiL2ohMCAyIScgLyEBAkADQCAnLQAAIi5BIHIgLiAuQb9/akH/AXFBGkkbQf8BcSABQZDCgIAAai0AAEcNiAMgAUEFRg0BIAFBAWohASAnQQFqIicgAkcNAAsgACAwNgIADKIDCyAAQQA2AgAgAEEBOgAsIDIgL2tBBmohAQyCAwtByAAhKiABIjIgAkYNoAMgAiAyayAAKAIAIi9qITAgMiEnIC8hAQJAA0AgJy0AACIuQSByIC4gLkG/f2pB/wFxQRpJG0H/AXEgAUGWwoCAAGotAABHDYcDIAFBCUYNASABQQFqIQEgJ0EBaiInIAJHDQALIAAgMDYCAAyhAwsgAEEANgIAIABBAjoALCAyIC9rQQpqIQEMgQMLAkAgASInIAJHDQBByQAhKgygAwsCQAJAICctAAAiAUEgciABIAFBv39qQf8BcUEaSRtB/wFxQZJ/ag4HAIcDhwOHA4cDhwMBhwMLICdBAWohAUE+ISoMhwMLICdBAWohAUE/ISoMhgMLQcoAISogASIyIAJGDZ4DIAIgMmsgACgCACIvaiEwIDIhJyAvIQEDQCAnLQAAIi5BIHIgLiAuQb9/akH/AXFBGkkbQf8BcSABQaDCgIAAai0AAEcNhAMgAUEBRg34AiABQQFqIQEgJ0EBaiInIAJHDQALIAAgMDYCAAyeAwtBywAhKiABIjIgAkYNnQMgAiAyayAAKAIAIi9qITAgMiEnIC8hAQJAA0AgJy0AACIuQSByIC4gLkG/f2pB/wFxQRpJG0H/AXEgAUGiwoCAAGotAABHDYQDIAFBDkYNASABQQFqIQEgJ0EBaiInIAJHDQALIAAgMDYCAAyeAwsgAEEANgIAIABBAToALCAyIC9rQQ9qIQEM/gILQcwAISogASIyIAJGDZwDIAIgMmsgACgCACIvaiEwIDIhJyAvIQECQANAICctAAAiLkEgciAuIC5Bv39qQf8BcUEaSRtB/wFxIAFBwMKAgABqLQAARw2DAyABQQ9GDQEgAUEBaiEBICdBAWoiJyACRw0ACyAAIDA2AgAMnQMLIABBADYCACAAQQM6ACwgMiAva0EQaiEBDP0CC0HNACEqIAEiMiACRg2bAyACIDJrIAAoAgAiL2ohMCAyIScgLyEBAkADQCAnLQAAIi5BIHIgLiAuQb9/akH/AXFBGkkbQf8BcSABQdDCgIAAai0AAEcNggMgAUEFRg0BIAFBAWohASAnQQFqIicgAkcNAAsgACAwNgIADJwDCyAAQQA2AgAgAEEEOgAsIDIgL2tBBmohAQz8AgsCQCABIicgAkcNAEHOACEqDJsDCwJAAkACQAJAICctAAAiAUEgciABIAFBv39qQf8BcUEaSRtB/wFxQZ1/ag4TAIQDhAOEA4QDhAOEA4QDhAOEA4QDhAOEAwGEA4QDhAMCA4QDCyAnQQFqIQFBwQAhKgyEAwsgJ0EBaiEBQcIAISoMgwMLICdBAWohAUHDACEqDIIDCyAnQQFqIQFBxAAhKgyBAwsCQCABIgEgAkYNACAAQY2AgIAANgIIIAAgATYCBCABIQFBxQAhKgyBAwtBzwAhKgyZAwsgKiEBAkACQCAqLQAAQXZqDgQBrgKuAgCuAgsgKkEBaiEBC0EnISoM/wILAkAgASIBIAJHDQBB0QAhKgyYAwsCQCABLQAAQSBGDQAgASEBDI0BCyABQQFqIQEgAC0ALUEBcUUNyQEgASEBDIwBCyABIgEgAkcNyQFB0gAhKgyWAwtB0wAhKiABIjIgAkYNlQMgAiAyayAAKAIAIi9qITAgMiEuIC8hAQJAA0AgLi0AACABQdbCgIAAai0AAEcNzwEgAUEBRg0BIAFBAWohASAuQQFqIi4gAkcNAAsgACAwNgIADJYDCyAAQQA2AgAgMiAva0ECaiEBDMkBCwJAIAEiASACRw0AQdUAISoMlQMLIAEtAABBCkcNzgEgAUEBaiEBDMkBCwJAIAEiASACRw0AQdYAISoMlAMLAkACQCABLQAAQXZqDgQAzwHPAQHPAQsgAUEBaiEBDMkBCyABQQFqIQFBygAhKgz6AgsgACABIgEgAhCugICAACIqDc0BIAEhAUHNACEqDPkCCyAALQApQSJGDYwDDKwCCwJAIAEiASACRw0AQdsAISoMkQMLQQAhLkEBITJBASEvQQAhKgJAAkACQAJAAkACQAJAAkACQCABLQAAQVBqDgrWAdUBAAECAwQFBgjXAQtBAiEqDAYLQQMhKgwFC0EEISoMBAtBBSEqDAMLQQYhKgwCC0EHISoMAQtBCCEqC0EAITJBACEvQQAhLgzOAQtBCSEqQQEhLkEAITJBACEvDM0BCwJAIAEiASACRw0AQd0AISoMkAMLIAEtAABBLkcNzgEgAUEBaiEBDKwCCwJAIAEiASACRw0AQd8AISoMjwMLQQAhKgJAAkACQAJAAkACQAJAAkAgAS0AAEFQag4K1wHWAQABAgMEBQYH2AELQQIhKgzWAQtBAyEqDNUBC0EEISoM1AELQQUhKgzTAQtBBiEqDNIBC0EHISoM0QELQQghKgzQAQtBCSEqDM8BCwJAIAEiASACRg0AIABBjoCAgAA2AgggACABNgIEIAEhAUHQACEqDPUCC0HgACEqDI0DC0HhACEqIAEiMiACRg2MAyACIDJrIAAoAgAiL2ohMCAyIQEgLyEuA0AgAS0AACAuQeLCgIAAai0AAEcN0QEgLkEDRg3QASAuQQFqIS4gAUEBaiIBIAJHDQALIAAgMDYCAAyMAwtB4gAhKiABIjIgAkYNiwMgAiAyayAAKAIAIi9qITAgMiEBIC8hLgNAIAEtAAAgLkHmwoCAAGotAABHDdABIC5BAkYN0gEgLkEBaiEuIAFBAWoiASACRw0ACyAAIDA2AgAMiwMLQeMAISogASIyIAJGDYoDIAIgMmsgACgCACIvaiEwIDIhASAvIS4DQCABLQAAIC5B6cKAgABqLQAARw3PASAuQQNGDdIBIC5BAWohLiABQQFqIgEgAkcNAAsgACAwNgIADIoDCwJAIAEiASACRw0AQeUAISoMigMLIAAgAUEBaiIBIAIQqICAgAAiKg3RASABIQFB1gAhKgzwAgsCQCABIgEgAkYNAANAAkAgAS0AACIqQSBGDQACQAJAAkAgKkG4f2oOCwAB0wHTAdMB0wHTAdMB0wHTAQLTAQsgAUEBaiEBQdIAISoM9AILIAFBAWohAUHTACEqDPMCCyABQQFqIQFB1AAhKgzyAgsgAUEBaiIBIAJHDQALQeQAISoMiQMLQeQAISoMiAMLA0ACQCABLQAAQfDCgIAAai0AACIqQQFGDQAgKkF+ag4D0wHUAdUB1gELIAFBAWoiASACRw0AC0HmACEqDIcDCwJAIAEiASACRg0AIAFBAWohAQwDC0HnACEqDIYDCwNAAkAgAS0AAEHwxICAAGotAAAiKkEBRg0AAkAgKkF+ag4E1gHXAdgBANkBCyABIQFB1wAhKgzuAgsgAUEBaiIBIAJHDQALQegAISoMhQMLAkAgASIBIAJHDQBB6QAhKgyFAwsCQCABLQAAIipBdmoOGrwB2QHZAb4B2QHZAdkB2QHZAdkB2QHZAdkB2QHZAdkB2QHZAdkB2QHZAdkBzgHZAdkBANcBCyABQQFqIQELQQYhKgzqAgsDQAJAIAEtAABB8MaAgABqLQAAQQFGDQAgASEBDKUCCyABQQFqIgEgAkcNAAtB6gAhKgyCAwsCQCABIgEgAkYNACABQQFqIQEMAwtB6wAhKgyBAwsCQCABIgEgAkcNAEHsACEqDIEDCyABQQFqIQEMAQsCQCABIgEgAkcNAEHtACEqDIADCyABQQFqIQELQQQhKgzlAgsCQCABIi4gAkcNAEHuACEqDP4CCyAuIQECQAJAAkAgLi0AAEHwyICAAGotAABBf2oOB9gB2QHaAQCjAgEC2wELIC5BAWohAQwKCyAuQQFqIQEM0QELQQAhKiAAQQA2AhwgAEGbkoCAADYCECAAQQc2AgwgACAuQQFqNgIUDP0CCwJAA0ACQCABLQAAQfDIgIAAai0AACIqQQRGDQACQAJAICpBf2oOB9YB1wHYAd0BAAQB3QELIAEhAUHaACEqDOcCCyABQQFqIQFB3AAhKgzmAgsgAUEBaiIBIAJHDQALQe8AISoM/QILIAFBAWohAQzPAQsCQCABIi4gAkcNAEHwACEqDPwCCyAuLQAAQS9HDdgBIC5BAWohAQwGCwJAIAEiLiACRw0AQfEAISoM+wILAkAgLi0AACIBQS9HDQAgLkEBaiEBQd0AISoM4gILIAFBdmoiAUEWSw3XAUEBIAF0QYmAgAJxRQ3XAQzSAgsCQCABIgEgAkYNACABQQFqIQFB3gAhKgzhAgtB8gAhKgz5AgsCQCABIi4gAkcNAEH0ACEqDPkCCyAuIQECQCAuLQAAQfDMgIAAai0AAEF/ag4D0QKbAgDYAQtB4QAhKgzfAgsCQCABIi4gAkYNAANAAkAgLi0AAEHwyoCAAGotAAAiAUEDRg0AAkAgAUF/ag4C0wIA2QELIC4hAUHfACEqDOECCyAuQQFqIi4gAkcNAAtB8wAhKgz4AgtB8wAhKgz3AgsCQCABIgEgAkYNACAAQY+AgIAANgIIIAAgATYCBCABIQFB4AAhKgzeAgtB9QAhKgz2AgsCQCABIgEgAkcNAEH2ACEqDPYCCyAAQY+AgIAANgIIIAAgATYCBCABIQELQQMhKgzbAgsDQCABLQAAQSBHDcsCIAFBAWoiASACRw0AC0H3ACEqDPMCCwJAIAEiASACRw0AQfgAISoM8wILIAEtAABBIEcN0gEgAUEBaiEBDPUBCyAAIAEiASACEKyAgIAAIioN0gEgASEBDJUCCwJAIAEiBCACRw0AQfoAISoM8QILIAQtAABBzABHDdUBIARBAWohAUETISoM0wELAkAgASIqIAJHDQBB+wAhKgzwAgsgAiAqayAAKAIAIi5qITIgKiEEIC4hAQNAIAQtAAAgAUHwzoCAAGotAABHDdQBIAFBBUYN0gEgAUEBaiEBIARBAWoiBCACRw0ACyAAIDI2AgBB+wAhKgzvAgsCQCABIgQgAkcNAEH8ACEqDO8CCwJAAkAgBC0AAEG9f2oODADVAdUB1QHVAdUB1QHVAdUB1QHVAQHVAQsgBEEBaiEBQeYAISoM1gILIARBAWohAUHnACEqDNUCCwJAIAEiKiACRw0AQf0AISoM7gILIAIgKmsgACgCACIuaiEyICohBCAuIQECQANAIAQtAAAgAUHtz4CAAGotAABHDdMBIAFBAkYNASABQQFqIQEgBEEBaiIEIAJHDQALIAAgMjYCAEH9ACEqDO4CCyAAQQA2AgAgKiAua0EDaiEBQRAhKgzQAQsCQCABIiogAkcNAEH+ACEqDO0CCyACICprIAAoAgAiLmohMiAqIQQgLiEBAkADQCAELQAAIAFB9s6AgABqLQAARw3SASABQQVGDQEgAUEBaiEBIARBAWoiBCACRw0ACyAAIDI2AgBB/gAhKgztAgsgAEEANgIAICogLmtBBmohAUEWISoMzwELAkAgASIqIAJHDQBB/wAhKgzsAgsgAiAqayAAKAIAIi5qITIgKiEEIC4hAQJAA0AgBC0AACABQfzOgIAAai0AAEcN0QEgAUEDRg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAyNgIAQf8AISoM7AILIABBADYCACAqIC5rQQRqIQFBBSEqDM4BCwJAIAEiBCACRw0AQYABISoM6wILIAQtAABB2QBHDc8BIARBAWohAUEIISoMzQELAkAgASIEIAJHDQBBgQEhKgzqAgsCQAJAIAQtAABBsn9qDgMA0AEB0AELIARBAWohAUHrACEqDNECCyAEQQFqIQFB7AAhKgzQAgsCQCABIgQgAkcNAEGCASEqDOkCCwJAAkAgBC0AAEG4f2oOCADPAc8BzwHPAc8BzwEBzwELIARBAWohAUHqACEqDNACCyAEQQFqIQFB7QAhKgzPAgsCQCABIi4gAkcNAEGDASEqDOgCCyACIC5rIAAoAgAiMmohKiAuIQQgMiEBAkADQCAELQAAIAFBgM+AgABqLQAARw3NASABQQJGDQEgAUEBaiEBIARBAWoiBCACRw0ACyAAICo2AgBBgwEhKgzoAgtBACEqIABBADYCACAuIDJrQQNqIQEMygELAkAgASIqIAJHDQBBhAEhKgznAgsgAiAqayAAKAIAIi5qITIgKiEEIC4hAQJAA0AgBC0AACABQYPPgIAAai0AAEcNzAEgAUEERg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAyNgIAQYQBISoM5wILIABBADYCACAqIC5rQQVqIQFBIyEqDMkBCwJAIAEiBCACRw0AQYUBISoM5gILAkACQCAELQAAQbR/ag4IAMwBzAHMAcwBzAHMAQHMAQsgBEEBaiEBQe8AISoMzQILIARBAWohAUHwACEqDMwCCwJAIAEiBCACRw0AQYYBISoM5QILIAQtAABBxQBHDckBIARBAWohAQyKAgsCQCABIiogAkcNAEGHASEqDOQCCyACICprIAAoAgAiLmohMiAqIQQgLiEBAkADQCAELQAAIAFBiM+AgABqLQAARw3JASABQQNGDQEgAUEBaiEBIARBAWoiBCACRw0ACyAAIDI2AgBBhwEhKgzkAgsgAEEANgIAICogLmtBBGohAUEtISoMxgELAkAgASIqIAJHDQBBiAEhKgzjAgsgAiAqayAAKAIAIi5qITIgKiEEIC4hAQJAA0AgBC0AACABQdDPgIAAai0AAEcNyAEgAUEIRg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAyNgIAQYgBISoM4wILIABBADYCACAqIC5rQQlqIQFBKSEqDMUBCwJAIAEiASACRw0AQYkBISoM4gILQQEhKiABLQAAQd8ARw3EASABQQFqIQEMiAILAkAgASIqIAJHDQBBigEhKgzhAgsgAiAqayAAKAIAIi5qITIgKiEEIC4hAQNAIAQtAAAgAUGMz4CAAGotAABHDcUBIAFBAUYNtwIgAUEBaiEBIARBAWoiBCACRw0ACyAAIDI2AgBBigEhKgzgAgsCQCABIiogAkcNAEGLASEqDOACCyACICprIAAoAgAiLmohMiAqIQQgLiEBAkADQCAELQAAIAFBjs+AgABqLQAARw3FASABQQJGDQEgAUEBaiEBIARBAWoiBCACRw0ACyAAIDI2AgBBiwEhKgzgAgsgAEEANgIAICogLmtBA2ohAUECISoMwgELAkAgASIqIAJHDQBBjAEhKgzfAgsgAiAqayAAKAIAIi5qITIgKiEEIC4hAQJAA0AgBC0AACABQfDPgIAAai0AAEcNxAEgAUEBRg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAyNgIAQYwBISoM3wILIABBADYCACAqIC5rQQJqIQFBHyEqDMEBCwJAIAEiKiACRw0AQY0BISoM3gILIAIgKmsgACgCACIuaiEyICohBCAuIQECQANAIAQtAAAgAUHyz4CAAGotAABHDcMBIAFBAUYNASABQQFqIQEgBEEBaiIEIAJHDQALIAAgMjYCAEGNASEqDN4CCyAAQQA2AgAgKiAua0ECaiEBQQkhKgzAAQsCQCABIgQgAkcNAEGOASEqDN0CCwJAAkAgBC0AAEG3f2oOBwDDAcMBwwHDAcMBAcMBCyAEQQFqIQFB+AAhKgzEAgsgBEEBaiEBQfkAISoMwwILAkAgASIqIAJHDQBBjwEhKgzcAgsgAiAqayAAKAIAIi5qITIgKiEEIC4hAQJAA0AgBC0AACABQZHPgIAAai0AAEcNwQEgAUEFRg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAyNgIAQY8BISoM3AILIABBADYCACAqIC5rQQZqIQFBGCEqDL4BCwJAIAEiKiACRw0AQZABISoM2wILIAIgKmsgACgCACIuaiEyICohBCAuIQECQANAIAQtAAAgAUGXz4CAAGotAABHDcABIAFBAkYNASABQQFqIQEgBEEBaiIEIAJHDQALIAAgMjYCAEGQASEqDNsCCyAAQQA2AgAgKiAua0EDaiEBQRchKgy9AQsCQCABIiogAkcNAEGRASEqDNoCCyACICprIAAoAgAiLmohMiAqIQQgLiEBAkADQCAELQAAIAFBms+AgABqLQAARw2/ASABQQZGDQEgAUEBaiEBIARBAWoiBCACRw0ACyAAIDI2AgBBkQEhKgzaAgsgAEEANgIAICogLmtBB2ohAUEVISoMvAELAkAgASIqIAJHDQBBkgEhKgzZAgsgAiAqayAAKAIAIi5qITIgKiEEIC4hAQJAA0AgBC0AACABQaHPgIAAai0AAEcNvgEgAUEFRg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAyNgIAQZIBISoM2QILIABBADYCACAqIC5rQQZqIQFBHiEqDLsBCwJAIAEiBCACRw0AQZMBISoM2AILIAQtAABBzABHDbwBIARBAWohAUEKISoMugELAkAgBCACRw0AQZQBISoM1wILAkACQCAELQAAQb9/ag4PAL0BvQG9Ab0BvQG9Ab0BvQG9Ab0BvQG9Ab0BAb0BCyAEQQFqIQFB/gAhKgy+AgsgBEEBaiEBQf8AISoMvQILAkAgBCACRw0AQZUBISoM1gILAkACQCAELQAAQb9/ag4DALwBAbwBCyAEQQFqIQFB/QAhKgy9AgsgBEEBaiEEQYABISoMvAILAkAgBSACRw0AQZYBISoM1QILIAIgBWsgACgCACIqaiEuIAUhBCAqIQECQANAIAQtAAAgAUGnz4CAAGotAABHDboBIAFBAUYNASABQQFqIQEgBEEBaiIEIAJHDQALIAAgLjYCAEGWASEqDNUCCyAAQQA2AgAgBSAqa0ECaiEBQQshKgy3AQsCQCAEIAJHDQBBlwEhKgzUAgsCQAJAAkACQCAELQAAQVNqDiMAvAG8AbwBvAG8AbwBvAG8AbwBvAG8AbwBvAG8AbwBvAG8AbwBvAG8AbwBvAG8AQG8AbwBvAG8AbwBArwBvAG8AQO8AQsgBEEBaiEBQfsAISoMvQILIARBAWohAUH8ACEqDLwCCyAEQQFqIQRBgQEhKgy7AgsgBEEBaiEFQYIBISoMugILAkAgBiACRw0AQZgBISoM0wILIAIgBmsgACgCACIqaiEuIAYhBCAqIQECQANAIAQtAAAgAUGpz4CAAGotAABHDbgBIAFBBEYNASABQQFqIQEgBEEBaiIEIAJHDQALIAAgLjYCAEGYASEqDNMCCyAAQQA2AgAgBiAqa0EFaiEBQRkhKgy1AQsCQCAHIAJHDQBBmQEhKgzSAgsgAiAHayAAKAIAIi5qISogByEEIC4hAQJAA0AgBC0AACABQa7PgIAAai0AAEcNtwEgAUEFRg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAqNgIAQZkBISoM0gILIABBADYCAEEGISogByAua0EGaiEBDLQBCwJAIAggAkcNAEGaASEqDNECCyACIAhrIAAoAgAiKmohLiAIIQQgKiEBAkADQCAELQAAIAFBtM+AgABqLQAARw22ASABQQFGDQEgAUEBaiEBIARBAWoiBCACRw0ACyAAIC42AgBBmgEhKgzRAgsgAEEANgIAIAggKmtBAmohAUEcISoMswELAkAgCSACRw0AQZsBISoM0AILIAIgCWsgACgCACIqaiEuIAkhBCAqIQECQANAIAQtAAAgAUG2z4CAAGotAABHDbUBIAFBAUYNASABQQFqIQEgBEEBaiIEIAJHDQALIAAgLjYCAEGbASEqDNACCyAAQQA2AgAgCSAqa0ECaiEBQSchKgyyAQsCQCAEIAJHDQBBnAEhKgzPAgsCQAJAIAQtAABBrH9qDgIAAbUBCyAEQQFqIQhBhgEhKgy2AgsgBEEBaiEJQYcBISoMtQILAkAgCiACRw0AQZ0BISoMzgILIAIgCmsgACgCACIqaiEuIAohBCAqIQECQANAIAQtAAAgAUG4z4CAAGotAABHDbMBIAFBAUYNASABQQFqIQEgBEEBaiIEIAJHDQALIAAgLjYCAEGdASEqDM4CCyAAQQA2AgAgCiAqa0ECaiEBQSYhKgywAQsCQCALIAJHDQBBngEhKgzNAgsgAiALayAAKAIAIipqIS4gCyEEICohAQJAA0AgBC0AACABQbrPgIAAai0AAEcNsgEgAUEBRg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAuNgIAQZ4BISoMzQILIABBADYCACALICprQQJqIQFBAyEqDK8BCwJAIAwgAkcNAEGfASEqDMwCCyACIAxrIAAoAgAiKmohLiAMIQQgKiEBAkADQCAELQAAIAFB7c+AgABqLQAARw2xASABQQJGDQEgAUEBaiEBIARBAWoiBCACRw0ACyAAIC42AgBBnwEhKgzMAgsgAEEANgIAIAwgKmtBA2ohAUEMISoMrgELAkAgDSACRw0AQaABISoMywILIAIgDWsgACgCACIqaiEuIA0hBCAqIQECQANAIAQtAAAgAUG8z4CAAGotAABHDbABIAFBA0YNASABQQFqIQEgBEEBaiIEIAJHDQALIAAgLjYCAEGgASEqDMsCCyAAQQA2AgAgDSAqa0EEaiEBQQ0hKgytAQsCQCAEIAJHDQBBoQEhKgzKAgsCQAJAIAQtAABBun9qDgsAsAGwAbABsAGwAbABsAGwAbABAbABCyAEQQFqIQxBiwEhKgyxAgsgBEEBaiENQYwBISoMsAILAkAgBCACRw0AQaIBISoMyQILIAQtAABB0ABHDa0BIARBAWohBAzwAQsCQCAEIAJHDQBBowEhKgzIAgsCQAJAIAQtAABBt39qDgcBrgGuAa4BrgGuAQCuAQsgBEEBaiEEQY4BISoMrwILIARBAWohAUEiISoMqgELAkAgDiACRw0AQaQBISoMxwILIAIgDmsgACgCACIqaiEuIA4hBCAqIQECQANAIAQtAAAgAUHAz4CAAGotAABHDawBIAFBAUYNASABQQFqIQEgBEEBaiIEIAJHDQALIAAgLjYCAEGkASEqDMcCCyAAQQA2AgAgDiAqa0ECaiEBQR0hKgypAQsCQCAEIAJHDQBBpQEhKgzGAgsCQAJAIAQtAABBrn9qDgMArAEBrAELIARBAWohDkGQASEqDK0CCyAEQQFqIQFBBCEqDKgBCwJAIAQgAkcNAEGmASEqDMUCCwJAAkACQAJAAkAgBC0AAEG/f2oOFQCuAa4BrgGuAa4BrgGuAa4BrgGuAQGuAa4BAq4BrgEDrgGuAQSuAQsgBEEBaiEEQYgBISoMrwILIARBAWohCkGJASEqDK4CCyAEQQFqIQtBigEhKgytAgsgBEEBaiEEQY8BISoMrAILIARBAWohBEGRASEqDKsCCwJAIA8gAkcNAEGnASEqDMQCCyACIA9rIAAoAgAiKmohLiAPIQQgKiEBAkADQCAELQAAIAFB7c+AgABqLQAARw2pASABQQJGDQEgAUEBaiEBIARBAWoiBCACRw0ACyAAIC42AgBBpwEhKgzEAgsgAEEANgIAIA8gKmtBA2ohAUERISoMpgELAkAgECACRw0AQagBISoMwwILIAIgEGsgACgCACIqaiEuIBAhBCAqIQECQANAIAQtAAAgAUHCz4CAAGotAABHDagBIAFBAkYNASABQQFqIQEgBEEBaiIEIAJHDQALIAAgLjYCAEGoASEqDMMCCyAAQQA2AgAgECAqa0EDaiEBQSwhKgylAQsCQCARIAJHDQBBqQEhKgzCAgsgAiARayAAKAIAIipqIS4gESEEICohAQJAA0AgBC0AACABQcXPgIAAai0AAEcNpwEgAUEERg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAuNgIAQakBISoMwgILIABBADYCACARICprQQVqIQFBKyEqDKQBCwJAIBIgAkcNAEGqASEqDMECCyACIBJrIAAoAgAiKmohLiASIQQgKiEBAkADQCAELQAAIAFBys+AgABqLQAARw2mASABQQJGDQEgAUEBaiEB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8s+AgABqLQAARw2WASABQQFGDQEgAUEBaiEBIARBAWoiBCACRw0ACyAAIC42AgBBugEhKgyxAgsgAEEANgIAIBsgKmtBAmohAUEPISoMkwELAkAgBCACRw0AQbsBISoMsAILAkACQCAELQAAQbd/ag4HAJYBlgGWAZYBlgEBlgELIARBAWohGkGlASEqDJcCCyAEQQFqIRtBpgEhKgyWAgsCQCAcIAJHDQBBvAEhKgyvAgsgAiAcayAAKAIAIipqIS4gHCEEICohAQJAA0AgBC0AACABQfTPgIAAai0AAEcNlAEgAUEHRg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAuNgIAQbwBISoMrwILIABBADYCACAcICprQQhqIQFBGyEqDJEBCwJAIAQgAkcNAEG9ASEqDK4CCwJAAkACQCAELQAAQb5/ag4SAJUBlQGVAZUBlQGVAZUBlQGVAQGVAZUBlQGVAZUBlQEClQELIARBAWohGUGkASEqDJYCCyAEQQFqIQRBpwEhKgyVAgsgBEEBaiEcQagBISoMlAILAkAgBCACRw0AQb4BISoMrQILIAQtAABBzgBHDZEBIARBAWohBAzWAQsCQCAEIAJHDQBBvwEhKgysAgsCQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCAELQAAQb9/ag4VAAECA6ABBAUGoAGgAaABBwgJCgugAQwNDg+gAQsgBEEBaiEBQegAISoMoQILIARBAWohAUHpACEqDKACCyAEQQFqIQFB7gAhKgyfAgsgBEEBaiEBQfIAISoMngILIARBAWohAUHzACEqDJ0CCyAEQQFqIQFB9gAhKgycAgsgBEEBaiEBQfcAISoMmwILIARBAWohAUH6ACEqDJoCCyAEQQFqIQRBgwEhKgyZAgsgBEEBaiEGQYQBISoMmAILIARBAWohB0GFASEqDJcCCyAEQQFqIQRBkgEhKgyWAgsgBEEBaiEEQZgBISoMlQILIARBAWohBEGgASEqDJQCCyAEQQFqIQRBowEhKgyTAgsgBEEBaiEEQaoBISoMkgILAkAgBCACRg0AIABBkICAgAA2AgggACAENgIEQasBISoMkgILQcABISoMqgILIAAgHSACEKqAgIAAIgENjwEgHSEBDF4LAkAgHiACRg0AIB5BAWohHQyRAQtBwgEhKgyoAgsD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NgIUIABB2o2AgAA2AhAgAEEUNgIMQQAhKgyNAgsgACgCBCEyIABBADYCBCAqICunaiIvIQEgACAyICogLyAuGyIqELWAgIAAIi5FDZMBIABBBzYCHCAAICo2AhQgACAuNgIMQQAhKgyMAgsgACAALwEwQYABcjsBMCABIQELQSohKgzxAQsgKkEVRg3ZASAAQQA2AhwgACABNgIUIABBg4yAgAA2AhAgAEETNgIMQQAhKgyJAgsgKkEVRg3XASAAQQA2AhwgACABNgIUIABBmo+AgAA2AhAgAEEiNgIMQQAhKgyIAgsgACgCBCEqIABBADYCBAJAIAAgKiABELeAgIAAIioNACABQQFqIQEMkwELIABBDDYCHCAAICo2AgwgACABQQFqNgIUQQAhKgyHAgsgKkEVRg3UASAAQQA2AhwgACABNgIUIABBmo+AgAA2AhAgAEEiNgIMQQAhKgyGAgsgACgCBCEqIABBADYCBAJAIAAgKiABELeAgIAAIioNACABQQFqIQEMkgELIABBDTYCHCAAICo2AgwgACABQQFqNgIUQQAhKgyFAgsgKkEVRg3RASAAQQA2AhwgACABNgIUIABBxoyAgAA2AhAgAEEjNgIMQQAhKgyEAgsgACgCBCEqIABBADYCBAJAIAAgKiABELmAgIAAIioNACABQQFqIQEMkQELIABBDjYCHCAAICo2AgwgACABQQFqNgIUQQAhKgyDAgsgAEEANgIcIAAgATYCFCAAQcCVgIAANgIQIABBAjYCDEEAISoMggILICpBFUYNzQEgAEEANgIcIAAgATYCFCAAQcaMgIAANgIQIABBIzYCDEEAISoMgQILIABBEDYCHCAAIAE2AhQgACAqNgIMQQAhKgyAAgsgACgCBCEEIABBADYCBAJAIAAgBCABELmAgIAAIgQNACABQQFqIQEM+AELIABBETYCHCAAIAQ2AgwgACABQQFqNgIUQQAhKgz/AQsgKkEVRg3JASAAQQA2AhwgACABNgIUIABBxoyAgAA2AhAgAEEjNgIMQQAhKgz+AQsgACgCBCEqIABBADYCBAJAIAAgKiABELmAgIAAIioNACABQQFqIQEMjgELIABBEzYCHCAAICo2AgwgACABQQFqNgIUQQAhKgz9AQsgACgCBCEEIABBADYCBAJAIAAgBCABELmAgIAAIgQNACAB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AkAgAC0AKUEjTw0AIAEhAQxcCyAAQQA2AhwgACABNgIUIABB04mAgAA2AhAgAEEINgIMQQAhKgy8AQsgAEEANgIAC0EAISogAEEANgIcIAAgATYCFCAAQZCzgIAANgIQIABBCDYCDAy6AQsgAEEANgIAIDIgL2tBA2ohAQJAIAAtAClBIUcNACABIQEMWQsgAEEANgIcIAAgATYCFCAAQZuKgIAANgIQIABBCDYCDEEAISoMuQELIABBADYCACAyIC9rQQRqIQECQCAALQApIipBXWpBC08NACABIQEMWAsCQCAqQQZLDQBBASAqdEHKAHFFDQAgASEBDFgLQQAhKiAAQQA2AhwgACABNgIUIABB94mAgAA2AhAgAEEINgIMDLgBCyAqQRVGDXUgAEEANgIcIAAgATYCFCAAQbmNgIAANgIQIABBGjYCDEEAISoMtwELIAAoAgQhKiAAQQA2AgQCQCAAICogARCngICAACIqDQAgASEBDFcLIABB5QA2AhwgACABNgIUIAAgKjYCDEEAISoMtgELIAAoAgQhKiAAQQA2AgQCQCAAICogARCngICAACIqDQAgASEBDE8LIABB0gA2AhwgACABNgIUIAAgKjYCDEEAISoMtQELIAAoAgQhKiAAQQA2AgQCQCAAICogARCngICAACIqDQAgASEBDE8LIABB0wA2AhwgACABNgIUIAAgKjYCDEEAISoMtAELIAAoAgQhKiAAQQA2AgQCQCAAICogARCngICAACIqDQAgASEBDFQLIABB5QA2AhwgACABNgIUIAAgKjYCDEEAISoMswELIABBADYCHCAAIAE2AhQgAEHGioCAADYCECAAQQc2AgxBACEqDLIBCyAAKAIEISogAEEANgIEAkAgACAqIAEQp4CAgAAiKg0AIAEhAQxLCyAAQdIANgIcIAAgATYCFCAAICo2AgxBACEqDLEBCyAAKAIEISogAEEANgIEAkAgACAqIAEQp4CAgAAiKg0AIAEhAQxLCyAAQdMANgIcIAAgATYCFCAAICo2AgxBACEqDLABCyAAKAIEISogAEEANgIEAkAgACAqIAEQp4CAgAAiKg0AIAEhAQxQCyAAQeUANgIcIAAgATYCFCAAICo2AgxBACEqDK8BCyAAQQA2AhwgACABNgIUIABB3IiAgAA2AhAgAEEHNgIMQQAhKgyuAQsgKkE/Rw0BIAFBAWohAQtBBSEqDJMBC0EAISogAEEANgIcIAAgATYCFCAAQf2SgIAANgIQIABBBzYCDAyrAQsgACgCBCEqIABBADYCBAJAIAAgKiABEKeAgIAAIioNACABIQEMRAsgAEHSADYCHCAAIAE2AhQgACAqNgIMQQAhKgyqAQsgACgCBCEqIABBADYCBAJAIAAgKiABEKeAgIAAIioNACABIQEMRAsgAEHTADYCHCAAIAE2AhQgACAqNgIMQQAhKgypAQsgACgCBCEqIABBADYCBAJAIAAgKiABEKeAgIAAIioNACABIQEMSQsgAEHlADYCHCAAIAE2AhQgACAqNgIMQQAhKgyoAQsgACgCBCEBIABBADYCBAJAIAAgASAuEKeAgIAAIgENACAuIQEMQQsgAEHSADYCHCAAIC42AhQgACABNgIMQQAhKgynAQsgACgCBCEBIABBADYCBAJAIAAgASAuEKeAgIAAIgENACAuIQEMQQsgAEHTADYCHCAAIC42AhQgACABNgIMQQAhKgymAQsgACgCBCEBIABBADYCBAJAIAAgASAuEKeAgIAAIgENACAuIQEMRgsgAEHlADYCHCAAIC42AhQgACABNgIMQQAhKgylAQsgAEEANgIcIAAgLjYCFCAAQcOPgIAANgIQIABBBzYCDEEAISoMpAELIABBADYCHCAAIAE2AhQgAEHDj4CAADYCECAAQQc2AgxBACEqDKMBC0EAISogAEEANgIcIAAgLjYCFCAAQYycgIAANgIQIABBBzYCDAyiAQsgAEEANgIcIAAgLjYCFCAAQYycgIAANgIQIABBBzYCDEEAISoMoQELIABBADYCHCAAIC42AhQgAEH+kYCAADYCECAAQQc2AgxBACEqDKABCyAAQQA2AhwgACABNgIUIABBjpuAgAA2AhAgAEEGNgIMQQAhKgyfAQsgKkEVRg1bIABBADYCHCAAIAE2AhQgAEHMjoCAADYCECAAQSA2AgxBACEqDJ4BCyAAQQA2AgAgKiAua0EGaiEBQSQhKgsgACAqOgApIAAoAgQhKiAAQQA2AgQgACAqIAEQq4CAgAAiKg1YIAEhAQxBCyAAQQA2AgALQQAhKiAAQQA2AhwgACAENgIUIABB8ZuAgAA2AhAgAEEGNgIMDJoBCyABQRVGDVQgAEEANgIcIAAgHTYC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AgAgKiAua0ECaiEBQfUAISoMEAsgASEBAkAgAC0AKUEFRw0AQeMAISoMEAtB4gAhKgwPC0EAISogAEEANgIcIABB5JGAgAA2AhAgAEEHNgIMIAAgLkEBajYCFAwnCyAAQQA2AgAgMiAva0ECaiEBQcAAISoMDQsgASEBC0E4ISoMCwsCQCABIikgAkYNAANAAkAgKS0AAEGAvoCAAGotAAAiAUEBRg0AIAFBAkcNAyApQQFqIQEMBAsgKUEBaiIpIAJHDQALQT4hKgwkC0E+ISoMIwsgAEEAOgAsICkhAQwBC0ELISoMCAtBOiEqDAcLIAFBAWohAUEtISoMBgtBKCEqDAULIABBADYCACAvIDBrQQRqIQFBBiEqCyAAICo6ACwgASEBQQwhKgwDCyAAQQA2AgAgMiAva0EHaiEBQQohKgwCCyAAQQA2AgALIABBADoALCAnIQFBCSEqDAALC0EAISogAEEANgIcIAAgIzYCFCAAQc2QgIAANgIQIABBCTYCDAwXC0EAISogAEEANgIcIAAgIjYCFCAAQemKgIAANgIQIABBCTYCDAwWC0EAISogAEEANgIcIAAgITYCFCAAQbeQgIAANgIQIABBCTYCDAwVC0EAISogAEEANgIcIAAgIDYCFCAAQZyRgIAANgIQIABBCTYCDAwUC0EAISogAEEANgIcIAAgATYCFCAAQc2QgIAANgIQIABBCTYCDAwTC0EAISogAEEANgIcIAAgATYCFCAAQemKgIAANgIQIABBCTYCDAwSC0EAISogAEEANgIcIAAgATYCFCAAQbeQgIAANgIQIABBCTYCDAwRC0EAISogAEEANgIcIAAgATYCFCAAQZyRgIAANgIQIABBCTYCDAwQC0EAISogAEEANgIcIAAgATYCFCAAQZeVgIAANgIQIABBDzYCDAwPC0EAISogAEEANgIcIAAgATYCFCAAQZeVgIAANgIQIABBDzYCDAwOC0EAISogAEEANgIcIAAgATYCFCAAQcCSgIAANgIQIABBCzYCDAwNC0EAISogAEEANgIcIAAgATYCFCAAQZWJgIAANgIQIABBCzYCDAwMC0EAISogAEEANgIcIAAgATYCFCAAQeGPgIAANgIQIABBCjYCDAwLC0EAISogAEEANgIcIAAgATYCFCAAQfuPgIAANgIQIABBCjYCDAwKC0EA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AAAABQAAAAAAAAAAAAAABgAAAAcAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABJbnZhbGlkIGNoYXIgaW4gdXJsIHF1ZXJ5AFNwYW4gY2FsbGJhY2sgZXJyb3IgaW4gb25fYm9keQBDb250ZW50LUxlbmd0aCBvdmVyZmxvdwBDaHVuayBzaXplIG92ZXJmbG93AFJlc3BvbnNlIG92ZXJmbG93AEludmFsaWQgbWV0aG9kIGZvciBIVFRQL3gueCByZXF1ZXN0AEludmFsaWQgbWV0aG9kIGZvciBSVFNQL3gueCByZXF1ZXN0AEV4cGVjdGVkIFNPVVJDRSBtZXRob2QgZm9yIElDRS94LnggcmVxdWVzdABJbnZhbGlkIGNoYXIgaW4gdXJsIGZyYWdtZW50IHN0YXJ0AEV4cGVjdGVkIGRvdABTcGFuIGNhbGxiYWNrIGVycm9yIGluIG9uX3N0YXR1cwBJbnZhbGlkIHJlc3BvbnNlIHN0YXR1cwBJbnZhbGlkIGNoYXJhY3RlciBpbiBjaHVuayBleHRlbnNpb25zAFVzZXIgY2FsbGJhY2sgZXJyb3IAYG9uX3Jlc2V0YCBjYWxsYmFjayBlcnJvcgBgb25fY2h1bmtfaGVhZGVyYCBjYWxsYmFjayBlcnJvcgBgb25fbWVzc2FnZV9iZWdpbmAgY2FsbGJhY2sgZXJyb3IAYG9uX2NodW5rX2V4dGVuc2lvbl92YWx1ZWAgY2FsbGJhY2sgZXJyb3IAYG9uX3N0YXR1c19jb21wbGV0ZWAgY2FsbGJhY2sgZXJyb3IAYG9uX3ZlcnNpb25fY29tcGxldGVgIGNhbGxiYWNrIGVycm9yAGBvbl91cmxfY29tcGxldGVgIGNhbGxiYWNrIGVycm9yAGBvbl9jaHVua19jb21wbGV0ZWAgY2FsbGJhY2sgZXJyb3IAYG9uX2hlYWRlcl92YWx1ZV9jb21wbGV0ZWAgY2FsbGJhY2sgZXJyb3IAYG9uX21lc3NhZ2VfY29tcGxldGVgIGNhbGxiYWNrIGVycm9yAGBvbl9tZXRob2RfY29tcGxldGVgIGNhbGxiYWNrIGVycm9yAGBvbl9oZWFkZXJfZmllbGRfY29tcGxldGVgIGNhbGxiYWNrIGVycm9yAGBvbl9jaHVua19leHRlbnNpb25fbmFtZWAgY2FsbGJhY2sgZXJyb3IAVW5leHBlY3RlZCBjaGFyIGluIHVybCBzZXJ2ZXIASW52YWxpZCBoZWFkZXIgdmFsdWUgY2hhcgBJbnZhbGlkIGhlYWRlciBmaWVsZCBjaGFyAFNwYW4gY2FsbGJhY2sgZXJyb3IgaW4gb25fdmVyc2lvbgBJbnZhbGlkIG1pbm9yIHZlcnNpb24ASW52YWxpZCBtYWpvciB2ZXJzaW9uAEV4cGVjdGVkIHNwYWNlIGFmdGVyIHZlcnNpb24ARXhwZWN0ZWQgQ1JMRiBhZnRlciB2ZXJzaW9uAEludmFsaWQgSFRUUCB2ZXJzaW9uAEludmFsaWQgaGVhZGVyIHRva2VuAFNwYW4gY2FsbGJhY2sgZXJyb3IgaW4gb25fdXJsAEludmFsaWQgY2hhcmFjdGVycyBpbiB1cmwAVW5leHBlY3RlZCBzdGFydCBjaGFyIGluIHVybABEb3VibGUgQCBpbiB1cmwARW1wdHkgQ29udGVudC1MZW5ndGgASW52YWxpZCBjaGFyYWN0ZXIgaW4gQ29udGVudC1MZW5ndGgARHVwbGljYXRlIENvbnRlbnQtTGVuZ3RoAEludmFsaWQgY2hhciBpbiB1cmwgcGF0aABDb250ZW50LUxlbmd0aCBjYW4ndCBiZSBwcmVzZW50IHdpdGggVHJhbnNmZXItRW5jb2RpbmcASW52YWxpZCBjaGFyYWN0ZXIgaW4gY2h1bmsgc2l6ZQBTcGFuIGNhbGxiYWNrIGVycm9yIGluIG9uX2hlYWRlcl92YWx1ZQBTcGFuIGNhbGxiYWNrIGVycm9yIGluIG9uX2NodW5rX2V4dGVuc2lvbl92YWx1ZQBJbnZhbGlkIGNoYXJhY3RlciBpbiBjaHVuayBleHRlbnNpb25zIHZhbHVlAE1pc3NpbmcgZXhwZWN0ZWQgTEYgYWZ0ZXIgaGVhZGVyIHZhbHVlAEludmFsaWQgYFRyYW5zZmVyLUVuY29kaW5nYCBoZWFkZXIgdmFsdWUASW52YWxpZCBjaGFyYWN0ZXIgaW4gY2h1bmsgZXh0ZW5zaW9ucyBxdW90ZSB2YWx1ZQBJbnZhbGlkIGNoYXJhY3RlciBpbiBjaHVuayBleHRlbnNpb25zIHF1b3RlZCB2YWx1ZQBQYXVzZWQgYnkgb25faGVhZGVyc19jb21wbGV0ZQBJbnZhbGlkIEVPRiBzdGF0ZQBvbl9yZXNldCBwYXVzZQBvbl9jaHVua19oZWFkZXIgcGF1c2UAb25fbWVzc2FnZV9iZWdpbiBwYXVzZQBvbl9jaHVua19leHRlbnNpb25fdmFsdWUgcGF1c2UAb25fc3RhdHVzX2NvbXBsZXRlIHBhdXNlAG9uX3ZlcnNpb25fY29tcGxldGUgcGF1c2UAb25fdXJsX2NvbXBsZXRlIHBhdXNlAG9uX2NodW5rX2NvbXBsZXRlIHBhdXNlAG9uX2hlYWRlcl92YWx1ZV9jb21wbGV0ZSBwYXVzZQBvbl9tZXNzYWdlX2NvbXBsZXRlIHBhdXNlAG9uX21ldGhvZF9jb21wbGV0ZSBwYXVzZQBvbl9oZWFkZXJfZmllbGRfY29tcGxldGUgcGF1c2UAb25fY2h1bmtfZXh0ZW5zaW9uX25hbWUgcGF1c2UAVW5leHBlY3RlZCBzcGFjZSBhZnRlciBzdGFydCBsaW5lAFNwYW4gY2FsbGJhY2sgZXJyb3IgaW4gb25fY2h1bmtfZXh0ZW5zaW9uX25hbWUASW52YWxpZCBjaGFyYWN0ZXIgaW4gY2h1bmsgZXh0ZW5zaW9ucyBuYW1lAFBhdXNlIG9uIENPTk5FQ1QvVXBncmFkZQBQYXVzZSBvbiBQUkkvVXBncmFkZQBFeHBlY3RlZCBIVFRQLzIgQ29ubmVjdGlvbiBQcmVmYWNlAFNwYW4gY2FsbGJhY2sgZXJyb3IgaW4gb25fbWV0aG9kAEV4cGVjdGVkIHNwYWNlIGFmdGVyIG1ldGhvZABTcGFuIGNhbGxiYWNrIGVycm9yIGluIG9uX2hlYWRlcl9maWVsZABQYXVzZWQASW52YWxpZCB3b3JkIGVuY291bnRlcmVkAEludmFsaWQgbWV0aG9kIGVuY291bnRlcmVkAFVuZXhwZWN0ZWQgY2hhciBpbiB1cmwgc2NoZW1hAFJlcXVlc3QgaGFzIGludmFsaWQgYFRyYW5zZmVyLUVuY29kaW5nYABTV0lUQ0hfUFJPWFkAVVNFX1BST1hZAE1LQUNUSVZJVFkAVU5QUk9DRVNTQUJMRV9FTlRJVFkAQ09QWQBNT1ZFRF9QRVJNQU5FTlRMWQBUT09fRUFSTFkATk9USUZZAEZBSUxFRF9ERVBFTkRFTkNZAEJBRF9HQVRFV0FZAFBMQVkAUFVUAENIRUNLT1VUAEdBVEVXQVlfVElNRU9VVABSRVFVRVNUX1RJTUVPVVQATkVUV09SS19DT05ORUNUX1RJTUVPVVQAQ09OTkVDVElPTl9USU1FT1VUAExPR0lOX1RJTUVPVVQATkVUV09SS19SRUFEX1RJTUVPVVQAUE9TVABNSVNESVJFQ1RFRF9SRVFVRVNUAENMSUVOVF9DTE9TRURfUkVRVUVTVABDTElFTlRfQ0xPU0VEX0xPQURfQkFMQU5DRURfUkVRVUVTVABCQURfUkVRVUVTVABIVFRQX1JFUVVFU1RfU0VOVF9UT19IVFRQU19QT1JUAFJFUE9SVABJTV9BX1RFQVBPVABSRVNFVF9DT05URU5UAE5PX0NPTlRFTlQAUEFSVElBTF9DT05URU5UAEhQRV9JTlZBTElEX0NPTlNUQU5UAEhQRV9DQl9SRVNFVABHRVQASFBFX1NUUklDVABDT05GTElDVABURU1QT1JBUllfUkVESVJFQ1QAUEVSTUFORU5UX1JFRElSRUNUAENPTk5FQ1QATVVMVElfU1RBVFVTAEhQRV9JTlZBTElEX1NUQVRVUwBUT09fTUFOWV9SRVFVRVNUUwBFQVJMWV9ISU5UUwBVTkFWQUlMQUJMRV9GT1JfTEVHQUxfUkVBU09OUwBPUFRJT05TAFNXSVRDSElOR19QUk9UT0NPTFMAVkFSSUFOVF9BTFNPX05FR09USUFURVMATVVMVElQTEVfQ0hPSUNFUwBJTlRFUk5BTF9TRVJWRVJfRVJST1IAV0VCX1NFUlZFUl9VTktOT1dOX0VSUk9SAFJBSUxHVU5fRVJST1IASURFTlRJVFlfUFJPVklERVJfQVVUSEVOVElDQVRJT05fRVJST1IAU1NMX0NFUlRJRklDQVRFX0VSUk9SAElOVkFMSURfWF9GT1JXQVJERURfRk9SAFNFVF9QQVJBTUVURVIAR0VUX1BBUkFNRVRFUgBIUEVfVVNFUgBTRUVfT1RIRVIASFBFX0NCX0NIVU5LX0hFQURFUgBNS0NBTEVOREFSAFNFVFVQAFdFQl9TRVJWRVJfSVNfRE9XTgBURUFSRE9XTgBIUEVfQ0xPU0VEX0NPTk5FQ1RJT04ASEVVUklTVElDX0VYUElSQVRJT04ARElTQ09OTkVDVEVEX09QRVJBVElPTgBOT05fQVVUSE9SSVRBVElWRV9JTkZPUk1BVElPTgBIUEVfSU5WQUxJRF9WRVJTSU9OAEhQRV9DQl9NRVNTQUdFX0JFR0lOAFNJVEVfSVNfRlJPWkVOAEhQRV9JTlZBTElEX0hFQURFUl9UT0tFTgBJTlZBTElEX1RPS0VOAEZPUkJJRERFTgBFTkhBTkNFX1lPVVJfQ0FMTQBIUEVfSU5WQUxJRF9VUkwAQkxPQ0tFRF9CWV9QQVJFTlRBTF9DT05UUk9MAE1LQ09MAEFDTABIUEVfSU5URVJOQUwAUkVRVUVTVF9IRUFERVJfRklFTERTX1RPT19MQVJHRV9VTk9GRklDSUFMAEhQRV9PSwBVTkxJTksAVU5MT0NLAFBSSQBSRVRSWV9XSVRIAEhQRV9JTlZBTElEX0NPTlRFTlRfTEVOR1RIAEhQRV9VTkVYUEVDVEVEX0NPTlRFTlRfTEVOR1RIAEZMVVNIAFBST1BQQVRDSABNLVNFQVJDSABVUklfVE9PX0xPTkcAUFJPQ0VTU0lORwBNSVNDRUxMQU5FT1VTX1BFUlNJU1RFTlRfV0FSTklORwBNSVNDRUxMQU5FT1VTX1dBUk5JTkcASFBFX0lOVkFMSURfVFJBTlNGRVJfRU5DT0RJTkcARXhwZWN0ZWQgQ1JMRgBIUEVfSU5WQUxJRF9DSFVOS19TSVpFAE1PVkUAQ09OVElOVUUASFBFX0NCX1NUQVRVU19DT01QTEVURQBIUEVfQ0JfSEVBREVSU19DT01QTEVURQBIUEVfQ0JfVkVSU0lPTl9DT01QTEVURQBIUEVfQ0JfVVJMX0NPTVBMRVRFAEhQRV9DQl9DSFVOS19DT01QTEVURQBIUEVfQ0JfSEVBREVSX1ZBTFVFX0NPTVBMRVRFAEhQRV9DQl9DSFVOS19FWFRFTlNJT05fVkFMVUVfQ09NUExFVEUASFBFX0NCX0NIVU5LX0VYVEVOU0lPTl9OQU1FX0NPTVBMRVRFAEhQRV9DQl9NRVNTQUdFX0NPTVBMRVRFAEhQRV9DQl9NRVRIT0RfQ09NUExFVEUASFBFX0NCX0hFQURFUl9GSUVMRF9DT01QTEVURQBERUxFVEUASFBFX0lOVkFMSURfRU9GX1NUQVRFAElOVkFMSURfU1NMX0NFUlRJRklDQVRFAFBBVVNFAE5PX1JFU1BPTlNFAFVOU1VQUE9SVEVEX01FRElBX1RZUEUAR09ORQBOT1RfQUNDRVBUQUJMRQBTRVJWSUNFX1VOQVZBSUxBQkxFAFJBTkdFX05PVF9TQVRJU0ZJQUJMRQBPUklHSU5fSVNfVU5SRUFDSEFCTEUAUkVTUE9OU0VfSVNfU1RBTEUAUFVSR0UATUVSR0UAUkVRVUVTVF9IRUFERVJfRklFTERTX1RPT19MQVJHRQBSRVFVRVNUX0hFQURFUl9UT09fTEFSR0UAUEFZTE9BRF9UT09fTEFSR0UASU5TVUZGSUNJRU5UX1NUT1JBR0UASFBFX1BBVVNFRF9VUEdSQURFAEhQRV9QQVVTRURfSDJfVVBHUkFERQBTT1VSQ0UAQU5OT1VOQ0UAVFJBQ0UASFBFX1VORVhQRUNURURfU1BBQ0UAREVTQ1JJQkUAVU5TVUJTQ1JJQkUAUkVDT1JEAEhQRV9JTlZBTElEX01FVEhPRABOT1RfRk9VTkQAUFJPUEZJTkQAVU5CSU5EAFJFQklORABVTkFVVEhPUklaRUQATUVUSE9EX05PVF9BTExPV0VEAEhUVFBfVkVSU0lPTl9OT1RfU1VQUE9SVEVEAEFMUkVBRFlfUkVQT1JURUQAQUNDRVBURUQATk9UX0lNUExFTUVOVEVEAExPT1BfREVURUNURUQASFBFX0NSX0VYUEVDVEVEAEhQRV9MRl9FWFBFQ1RFRABDUkVBVEVEAElNX1VTRUQASFBFX1BBVVNFRABUSU1FT1VUX09DQ1VSRUQAUEFZTUVOVF9SRVFVSVJFRABQUkVDT05ESVRJT05fUkVRVUlSRUQAUFJPWFlfQVVUSEVOVElDQVRJT05fUkVRVUlSRUQATkVUV09SS19BVVRIRU5USUNBVElPTl9SRVFVSVJFRABMRU5HVEhfUkVRVUlSRUQAU1NMX0NFUlRJRklDQVRFX1JFUVVJUkVEAFVQR1JBREVfUkVRVUlSRUQAUEFHRV9FWFBJUkVEAFBSRUNPTkRJVElPTl9GQUlMRUQARVhQRUNUQVRJT05fRkFJTEVEAFJFVkFMSURBVElPTl9GQUlMRUQAU1NMX0hBTkRTSEFLRV9GQUlMRUQATE9DS0VEAFRSQU5TRk9STUFUSU9OX0FQUExJRUQATk9UX01PRElGSUVEAE5PVF9FWFRFTkRFRABCQU5EV0lEVEhfTElNSVRfRVhDRUVERUQAU0lURV9JU19PVkVSTE9BREVEAEhFQUQARXhwZWN0ZWQgSFRUUC8AAF4TAAAmEwAAMBAAAPAXAACdEwAAFRIAADkXAADwEgAAChAAAHUSAACtEgAAghMAAE8UAAB/EAAAoBUAACMUAACJEgAAixQAAE0VAADUEQAAzxQAABAYAADJFgAA3BYAAMERAADgFwAAuxQAAHQUAAB8FQAA5RQAAAgXAAAfEAAAZRUAAKMUAAAoFQAAAhUAAJkVAAAsEAAAixkAAE8PAADUDgAAahAAAM4QAAACFwAAiQ4AAG4TAAAcEwAAZhQAAFYXAADBEwAAzRMAAGwTAABoFwAAZhcAAF8XAAAiEwAAzg8AAGkOAADYDgAAYxYAAMsTAACqDgAAKBcAACYXAADFEwAAXRYAAOgRAABnEwAAZRMAAPIWAABzEwAAHRcAAPkWAADzEQAAzw4AAM4VAAAMEgAAsxEAAKURAABhEAAAMhcAALsTAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQECAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAACAwICAgICAAACAgACAgACAgICAgICAgICAAQAAAAAAAICAgICAgICAgICAgICAgICAgICAgICAgICAAAAAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAAgACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAgACAgICAgAAAgIAAgIAAgICAgICAgICAgADAAQAAAACAgICAgICAgICAgICAgICAgICAgICAgICAgAAAAICAgICAgICAgICAgICAgICAgICAgICAgICAgICAAIAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGxvc2VlZXAtYWxpdmUAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAQEBAQEBAQEBAQECAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAWNodW5rZWQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEBAAEBAQEBAAABAQABAQABAQEBAQEBAQEBAAAAAAAAAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAAAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAZWN0aW9uZW50LWxlbmd0aG9ucm94eS1jb25uZWN0aW9uAAAAAAAAAAAAAAAAAAAAcmFuc2Zlci1lbmNvZGluZ3BncmFkZQ0KDQoNClNNDQoNClRUUC9DRS9UU1AvAAAAAAAAAAAAAAAAAQIAAQMAAAAAAAAAAAAAAAAAAAAAAAAEAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQAAAAAAAAAAAAECAAEDAAAAAAAAAAAAAAAAAAAAAAAABAEBBQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAAAAAAAAAAABAAABAAAAAAAAAAAAAAAAAAAAAAAAAAABAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAAAAAAAAAAAAAEAAAIAAAAAAAAAAAAAAAAAAAAAAAADBAAABAQEBAQEBAQEBAQFBAQEBAQEBAQEBAQEAAQABgcEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQABAAEAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAABAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAAAAAAAADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAQAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAACAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAATk9VTkNFRUNLT1VUTkVDVEVURUNSSUJFTFVTSEVURUFEU0VBUkNIUkdFQ1RJVklUWUxFTkRBUlZFT1RJRllQVElPTlNDSFNFQVlTVEFUQ0hHRU9SRElSRUNUT1JUUkNIUEFSQU1FVEVSVVJDRUJTQ1JJQkVBUkRPV05BQ0VJTkROS0NLVUJTQ1JJQkVIVFRQL0FEVFAv"},95627:re=>{re.exports="AGFzbQEAAAABMAhgAX8Bf2ADf39/AX9gBH9/f38Bf2AAAGADf39/AGABfwBgAn9/AGAGf39/f39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQACA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vbl9ib2R5AAEDZW52GHdhc21fb25fbWVzc2FnZV9jb21wbGV0ZQAAA0ZFAwMEAAAFAAAAAAAABQEFAAUFBQAABgAAAAAGBgYGAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQABAAABAQcAAAUFAAMBBAUBcAESEgUDAQACBggBfwFBgNQECwfRBSIGbWVtb3J5AgALX2luaXRpYWxpemUACRlfX2luZGlyZWN0X2Z1bmN0aW9uX3RhYmxlAQALbGxodHRwX2luaXQAChhsbGh0dHBfc2hvdWxkX2tlZXBfYWxpdmUAQQxsbGh0dHBfYWxsb2MADAZtYWxsb2MARgtsbGh0dHBfZnJlZQANBGZyZWUASA9sbGh0dHBfZ2V0X3R5cGUADhVsbGh0dHBfZ2V0X2h0dHBfbWFqb3IADxVsbGh0dHBfZ2V0X2h0dHBfbWlub3IAEBFsbGh0dHBfZ2V0X21ldGhvZAARFmxsaHR0cF9nZXRfc3RhdHVzX2NvZGUAEhJsbGh0dHBfZ2V0X3VwZ3JhZGUAEwxsbGh0dHBfcmVzZXQAFA5sbGh0dHBfZXhlY3V0ZQAVFGxsaHR0cF9zZXR0aW5nc19pbml0ABYNbGxodHRwX2ZpbmlzaAAXDGxsaHR0cF9wYXVzZQAYDWxsaHR0cF9yZXN1bWUAGRtsbGh0dHBfcmVzdW1lX2FmdGVyX3VwZ3JhZGUAGhBsbGh0dHBfZ2V0X2Vycm5vABsXbGxodHRwX2dldF9lcnJvcl9yZWFzb24AHBdsbGh0dHBfc2V0X2Vycm9yX3JlYXNvbgAdFGxsaHR0cF9nZXRfZXJyb3JfcG9zAB4RbGxodHRwX2Vycm5vX25hbWUAHxJsbGh0dHBfbWV0aG9kX25hbWUAIBJsbGh0dHBfc3RhdHVzX25hbWUAIRpsbGh0dHBfc2V0X2xlbmllbnRfaGVhZGVycwAiIWxsaHR0cF9zZXRfbGVuaWVudF9jaHVua2VkX2xlbmd0aAAjHWxsaHR0cF9zZXRfbGVuaWVudF9rZWVwX2FsaXZlACQkbGxodHRwX3NldF9sZW5pZW50X3RyYW5zZmVyX2VuY29kaW5nACUYbGxodHRwX21lc3NhZ2VfbmVlZHNfZW9mAD8JFwEAQQELEQECAwQFCwYHNTk3MS8tJyspCsnkAkUCAAsIABCIgICAAAsZACAAEMKAgIAAGiAAIAI2AjggACABOgAoCxwAIAAgAC8BMiAALQAuIAAQwYCAgAAQgICAgAALKgEBf0HAABDGgICAACIBEMKAgIAAGiABQYCIgIAANgI4IAEgADoAKCABCwoAIAAQyICAgAALBwAgAC0AKAsHACAALQAqCwcAIAAtACsLBwAgAC0AKQsHACAALwEyCwcAIAAtAC4LRQEEfyAAKAIYIQEgAC0ALSECIAAtACghAyAAKAI4IQQgABDCgICAABogACAENgI4IAAgAzoAKCAAIAI6AC0gACABNgIYCxEAIAAgASABIAJqEMOAgIAACxAAIABBAEHcABDMgICAABoLZwEBf0EAIQECQCAAKAIMDQACQAJAAkACQCAALQAvDgMBAAMCCyAAKAI4IgFFDQAgASgCLCIBRQ0AIAAgARGAgICAAAAiAQ0DC0EADwsQy4CAgAAACyAAQcOWgIAANgIQQQ4hAQsgAQseAAJAIAAoAgwNACAAQdGbgIAANgIQIABBFTYCDAsLFgACQCAAKAIMQRVHDQAgAEEANgIMCwsWAAJAIAAoAgxBFkcNACAAQQA2AgwLCwcAIAAoAgwLBwAgACgCEAsJACAAIAE2AhALBwAgACgCFAsiAAJAIABBJEkNABDLgICAAAALIABBAnRBoLOAgABqKAIACyIAAkAgAEEuSQ0AEMuAgIAAAAsgAEECdEGwtICAAGooAgAL7gsBAX9B66iAgAAhAQJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIABBnH9qDvQDY2IAAWFhYWFhYQIDBAVhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhBgcICQoLDA0OD2FhYWFhEGFhYWFhYWFhYWFhEWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYRITFBUWFxgZGhthYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhHB0eHyAhIiMkJSYnKCkqKywtLi8wMTIzNDU2YTc4OTphYWFhYWFhYTthYWE8YWFhYT0+P2FhYWFhYWFhQGFhQWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYUJDREVGR0hJSktMTU5PUFFSU2FhYWFhYWFhVFVWV1hZWlthXF1hYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFeYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhX2BhC0Hhp4CAAA8LQaShgIAADwtBy6yAgAAPC0H+sYCAAA8LQcCkgIAADwtBq6SAgAAPC0GNqICAAA8LQeKmgIAADwtBgLCAgAAPC0G5r4CAAA8LQdekgIAADwtB75+AgAAPC0Hhn4CAAA8LQfqfgIAADwtB8qCAgAAPC0Gor4CAAA8LQa6ygIAADwtBiLCAgAAPC0Hsp4CAAA8LQYKigIAADwtBjp2AgAAPC0HQroCAAA8LQcqjgIAADwtBxbKAgAAPC0HfnICAAA8LQdKcgIAADwtBxKCAgAAPC0HXoICAAA8LQaKfgIAADwtB7a6AgAAPC0GrsICAAA8LQdSlgIAADwtBzK6AgAAPC0H6roCAAA8LQfyrgIAADwtB0rCAgAAPC0HxnYCAAA8LQbuggIAADwtB96uAgAAPC0GQsYCAAA8LQdexgIAADwtBoq2AgAAPC0HUp4CAAA8LQeCrgIAADwtBn6yAgAAPC0HrsYCAAA8LQdWfgIAADwtByrGAgAAPC0HepYCAAA8LQdSegIAADwtB9JyAgAAPC0GnsoCAAA8LQbGdgIAADwtBoJ2AgAAPC0G5sYCAAA8LQbywgIAADwtBkqGAgAAPC0GzpoCAAA8LQemsgIAADwtBrJ6AgAAPC0HUq4CAAA8LQfemgIAADwtBgKaAgAAPC0GwoYCAAA8LQf6egIAADwtBjaOAgAAPC0GJrYCAAA8LQfeigIAADwtBoLGAgAAPC0Gun4CAAA8LQcalgIAADwtB6J6AgAAPC0GTooCAAA8LQcKvgIAADwtBw52AgAAPC0GLrICAAA8LQeGdgIAADwtBja+AgAAPC0HqoYCAAA8LQbStgIAADwtB0q+AgAAPC0HfsoCAAA8LQdKygIAADwtB8LCAgAAPC0GpooCAAA8LQfmjgIAADwtBmZ6AgAAPC0G1rICAAA8LQZuwgIAADwtBkrKAgAAPC0G2q4CAAA8LQcKigIAADwtB+LKAgAAPC0GepYCAAA8LQdCigIAADwtBup6AgAAPC0GBnoCAAA8LEMuAgIAAAAtB1qGAgAAhAQsgAQsWACAAIAAtAC1B/gFxIAFBAEdyOgAtCxkAIAAgAC0ALUH9AXEgAUEAR0EBdHI6AC0LGQAgACAALQAtQfsBcSABQQBHQQJ0cjoALQsZACAAIAAtAC1B9wFxIAFBAEdBA3RyOgAtCy4BAn9BACEDAkAgACgCOCIERQ0AIAQoAgAiBEUNACAAIAQRgICAgAAAIQMLIAMLSQECf0EAIQMCQCAAKAI4IgRFDQAgBCgCBCIERQ0AIAAgASACIAFrIAQRgYCAgAAAIgNBf0cNACAAQcaRgIAANgIQQRghAwsgAwsuAQJ/QQAhAwJAIAAoAjgiBEUNACAEKAIwIgRFDQAgACAEEYCAgIAAACEDCyADC0kBAn9BACEDAkAgACgCOCIERQ0AIAQoAggiBEUNACAAIAEgAiABayAEEYGAgIAAACIDQX9HDQAgAEH2ioCAADYCEEEYIQMLIAMLLgECf0EAIQMCQCAAKAI4IgRFDQAgBCgCNCIERQ0AIAAgBBGAgICAAAAhAwsgAwtJAQJ/QQAhAwJAIAAoAjgiBEUNACAEKAIMIgRFDQAgACABIAIgAWsgBBGBgICAAAAiA0F/Rw0AIABB7ZqAgAA2AhBBGCEDCyADCy4BAn9BACEDAkAgACgCOCIERQ0AIAQoAjgiBEUNACAAIAQRgICAgAAAIQMLIAMLSQECf0EAIQMCQCAAKAI4IgRFDQAgBCgCECIERQ0AIAAgASACIAFrIAQRgYCAgAAAIgNBf0cNACAAQZWQgIAANgIQQRghAwsgAwsuAQJ/QQAhAwJAIAAoAjgiBEUNACAEKAI8IgRFDQAgACAEEYCAgIAAACEDCyADC0kBAn9BACEDAkAgACgCOCIERQ0AIAQoAhQiBEUNACAAIAEgAiABayAEEYGAgIAAACIDQX9HDQAgAEGqm4CAADYCEEEYIQMLIAMLLgECf0EAIQMCQCAAKAI4IgRFDQAgBCgCQCIERQ0AIAAgBBGAgICAAAAhAwsgAwtJAQJ/QQAhAwJAIAAoAjgiBEUNACAEKAIYIgRFDQAgACABIAIgAWsgBBGBgICAAAAiA0F/Rw0AIABB7ZOAgAA2AhBBGCEDCyADCy4BAn9BACEDAkAgACgCOCIERQ0AIAQoAkQiBEUNACAAIAQRgICAgAAAIQMLIAMLLgECf0EAIQMCQCAAKAI4IgRFDQAgBCgCJCIERQ0AIAAgBBGAgICAAAAhAwsgAwsuAQJ/QQAhAwJAIAAoAjgiBEUNACAEKAIsIgRFDQAgACAEEYCAgIAAACEDCyADC0kBAn9BACEDAkAgACgCOCIERQ0AIAQoAigiBEUNACAAIAEgAiABayAEEYGAgIAAACIDQX9HDQAgAEH2iICAADYCEEEYIQMLIAMLLgECf0EAIQMCQCAAKAI4IgRFDQAgBCgCUCIERQ0AIAAgBBGAgICAAAAhAwsgAwtJAQJ/QQAhAwJAIAAoAjgiBEUNACAEKAIcIgRFDQAgACABIAIgAWsgBBGBgICAAAAiA0F/Rw0AIABBwpmAgAA2AhBBGCEDCyADCy4BAn9BACEDAkAgACgCOCIERQ0AIAQoAkgiBEUNACAAIAQRgICAgAAAIQMLIAMLSQECf0EAIQMCQCAAKAI4IgRFDQAgBCgCICIERQ0AIAAgASACIAFrIAQRgYCAgAAAIgNBf0cNACAAQZSUgIAANgIQQRghAwsgAwsuAQJ/QQAhAwJAIAAoAjgiBEUNACAEKAJMIgRFDQAgACAEEYCAgIAAACEDCyADCy4BAn9BACEDAkAgACgCOCIERQ0AIAQoAlQiBEUNACAAIAQRgICAgAAAIQMLIAMLLgECf0EAIQMCQCAAKAI4IgRFDQAgBCgCWCIERQ0AIAAgBBGAgICAAAAhAwsgAwtFAQF/AkACQCAALwEwQRRxQRRHDQBBASEDIAAtAChBAUYNASAALwEyQeUARiEDDAELIAAtAClBBUYhAwsgACADOgAuQQAL8gEBA39BASEDAkAgAC8BMCIEQQhxDQAgACkDIEIAUiEDCwJAAkAgAC0ALkUNAEEBIQUgAC0AKUEFRg0BQQEhBSAEQcAAcUUgA3FBAUcNAQtBACEFIARBwABxDQBBAiEFIARBCHENAAJAIARBgARxRQ0AAkAgAC0AKEEBRw0AIAAtAC1BCnENAEEFDwtBBA8LAkAgBEEgcQ0AAkAgAC0AKEEBRg0AIAAvATIiAEGcf2pB5ABJDQAgAEHMAUYNACAAQbACRg0AQQQhBSAEQYgEcUGABEYNAiAEQShxRQ0CC0EADwtBAEEDIAApAyBQGyEFCyAFC10BAn9BACEBAkAgAC0AKEEBRg0AIAAvATIiAkGcf2pB5ABJDQAgAkHMAUYNACACQbACRg0AIAAvATAiAEHAAHENAEEBIQEgAEGIBHFBgARGDQAgAEEocUUhAQsgAQuiAQEDfwJAAkACQCAALQAqRQ0AIAAtACtFDQBBACEDIAAvATAiBEECcUUNAQwCC0EAIQMgAC8BMCIEQQFxRQ0BC0EBIQMgAC0AKEEBRg0AIAAvATIiBUGcf2pB5ABJDQAgBUHMAUYNACAFQbACRg0AIARBwABxDQBBACEDIARBiARxQYAERg0AIARBKHFBAEchAwsgAEEAOwEwIABBADoALyADC5QBAQJ/AkACQAJAIAAtACpFDQAgAC0AK0UNAEEAIQEgAC8BMCICQQJxRQ0BDAILQQAhASAALwEwIgJBAXFFDQELQQEhASAALQAoQQFGDQAgAC8BMiIAQZx/akHkAEkNACAAQcwBRg0AIABBsAJGDQAgAkHAAHENAEEAIQEgAkGIBHFBgARGDQAgAkEocUEARyEBCyABC0kBAXsgAEEQav0MAAAAAAAAAAAAAAAAAAAAACIB/QsDACAAIAH9CwMAIABBMGogAf0LAwAgAEEgaiAB/QsDACAAQd0BNgIcQQALewEBfwJAIAAoAgwiAw0AAkAgACgCBEUNACAAIAE2AgQLAkAgACABIAIQxICAgAAiAw0AIAAoAgwPCyAAIAM2AhxBACEDIAAoAgQiAUUNACAAIAEgAiAAKAIIEYGAgIAAACIBRQ0AIAAgAjYCFCAAIAE2AgwgASEDCyADC9z3AQMofwN+BX8jgICAgABBEGsiAySAgICAACABIQQgASEFIAEhBiABIQcgASEIIAEhCSABIQogASELIAEhDCABIQ0gASEOIAEhDyABIRAgASERIAEhEiABIRMgASEUIAEhFSABIRYgASEXIAEhGCABIRkgASEaIAEhGyABIRwgASEdIAEhHiABIR8gASEgIAEhISABISIgASEjIAEhJCABISUgASEmIAEhJyABISggASEpAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIAAoAhwiKkF/ag7dAdoBAdkBAgMEBQYHCAkKCwwNDtgBDxDXARES1gETFBUWFxgZGhvgAd8BHB0e1QEfICEiIyQl1AEmJygpKiss0wHSAS0u0QHQAS8wMTIzNDU2Nzg5Ojs8PT4/QEFCQ0RFRtsBR0hJSs8BzgFLzQFMzAFNTk9QUVJTVFVW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AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJA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AAAAAAAAAAkKCwwNDgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADxAREhMUAAtBHiEqDMQDC0ICISsM5QELQgMhKwzkAQtCBCErDOMBC0IFISsM4gELQgYhKwzhAQtCByErDOABC0IIISsM3wELQgkhKwzeAQtCCiErDN0BC0ILISsM3AELQgwhKwzbAQtCDSErDNoBC0IOISsM2QELQg8hKwzYAQtCCiErDNcBC0ILISsM1gELQgwhKwzVAQtCDSErDNQBC0IOISsM0wELQg8hKwzSAQtCACErAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCAqLQAAQVBqDjflAeQBAAECAwQFBgfmAeYB5gHmAeYB5gHmAQgJCgsMDeYB5gHmAeYB5gHmAeYB5gHmAeYB5gHmAeYB5gHmAeYB5gHmAeYB5gHmAeYB5gHmAeYB5gEODxAREhPmAQtCAiErDOQBC0IDISsM4wELQgQhKwziAQtCBSErDOEBC0IGISsM4AELQgchKwzfAQtCCCErDN4BC0IJISsM3QELQgohKwzcAQtCCyErDNsBC0IMISsM2gELQg0hKwzZAQtCDiErDNgBC0IPISsM1wELQgohKwzWAQtCCyErDNUBC0IMISsM1AELQg0hKwzTAQtCDiErDNIBC0IPISsM0QELIABCACAAKQMgIisgAiABIiprrSIsfSItIC0gK1YbNwMgICsgLFYiLkUN0gFBHyEqDMcDCwJAIAEiASACRg0AIABBiYCAgAA2AgggACABNgIEIAEhAUEkISoMrgMLQSAhKgzGAwsgACABIiogAhC+gICAAEF/ag4FtgEAywIB0QHSAQtBESEqDKsDCyAAQQE6AC8gKiEBDMIDCyABIgEgAkcN0gFBJCEqDMIDCyABIicgAkcNHkHGACEqDMEDCyAAIAEiASACELKAgIAAIioN1AEgASEBDLUBCyABIiogAkcNJkHQACEqDL8DCwJAIAEiASACRw0AQSghKgy/AwsgAEEANgIEIABBjICAgAA2AgggACABIAEQsYCAgAAiKg3TASABIQEM2AELAkAgASIqIAJHDQBBKSEqDL4DCyAqLQAAIgFBIEYNFCABQQlHDdMBICpBAWohAQwVCwJAIAEiASACRg0AIAFBAWohAQwXC0EqISoMvAMLAkAg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DQALIAAgKjYCAEGDASEqDOgCC0EAISogAEEANgIAIC4gMmtBA2ohAQzKAQsCQCABIiogAkcNAEGEASEqDOcCCyACICprIAAoAgAiLmohMiAqIQQgLiEBAkADQCAELQAAIAFBg8+AgABqLQAARw3MASABQQRGDQEgAUEBaiEBIARBAWoiBCACRw0ACyAAIDI2AgBBhAEhKgznAgsgAEEANgIAICogLmtBBWohAUEjISoMyQELAkAgASIEIAJHDQBBhQEhKgzmAgsCQAJAIAQtAABBtH9qDggAzAHMAcwBzAHMAcwBAcwBCyAEQQFqIQFB7wAhKgzNAgsgBEEBaiEBQfAAISoMzAILAkAgASIEIAJHDQBBhgEhKgzlAgsgBC0AAEHFAEcNyQEgBEEBaiEBDIoCCwJAIAEiKiACRw0AQYcBISoM5AILIAIgKmsgACgCACIuaiEyICohBCAuIQECQANAIAQtAAAgAUGIz4CAAGotAABHDckBIAFBA0YNASABQQFqIQEgBEEBaiIEIAJHDQALIAAgMjYCAEGHASEqDOQCCyAAQQA2AgAgKiAua0EEaiEBQS0hKgzGAQsCQCABIiogAkcNAEGIASEqDOMCCyACICprIAAoAgAiLmohMiAqIQQgLiEBAkADQCAELQAAIAFB0M+AgABqLQAARw3IASABQQhGDQEgAUEBaiEBIARBAWoiBCACRw0ACyAAIDI2AgBBiAEhKgzjAgsgAEEANgIAICogLmtBCWohAUEpISoMxQELAkAgASIBIAJHDQBBiQEhKgziAgtBASEqIAEtAABB3wBHDcQBIAFBAWohAQyIAgsCQCABIiogAkcNAEGKASEqDOECCyACICprIAAoAgAiLmohMiAqIQQgLiEBA0AgBC0AACABQYzPgIAAai0AAEcNxQEgAUEBRg23AiABQQFqIQEgBEEBaiIEIAJHDQALIAAgMjYCAEGKASEqDOACCwJAIAEiKiACRw0AQYsBISoM4AILIAIgKmsgACgCACIuaiEyICohBCAuIQECQANAIAQtAAAgAUGOz4CAAGotAABHDcUBIAFBAkYNASABQQFqIQEgBEEBaiIEIAJHDQALIAAgMjYCAEGLASEqDOACCyAAQQA2AgAgKiAua0EDaiEBQQIhKgzCAQsCQCABIiogAkcNAEGMASEqDN8CCyACICprIAAoAgAiLmohMiAqIQQgLiEBAkADQCAELQAAIAFB8M+AgABqLQAARw3EASABQQFGDQEgAUEBaiEBIARBAWoiBCACRw0ACyAAIDI2AgBBjAEhKgzfAgsgAEEANgIAICogLmtBAmohAUEfISoMwQELAkAgASIqIAJHDQBBjQEhKgzeAgsgAiAqayAAKAIAIi5qITIgKiEEIC4hAQJAA0AgBC0AACABQfLPgIAAai0AAEcNwwEgAUEBRg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAyNgIAQY0BISoM3gILIABBADYCACAqIC5rQQJqIQFBCSEqDMABCwJAIAEiBCACRw0AQY4BISoM3QILAkACQCAELQAAQbd/ag4HAMMBwwHDAcMBwwEBwwELIARBAWohAUH4ACEqDMQCCyAEQQFqIQFB+QAhKgzDAgsCQCABIiogAkcNAEGPASEqDNwCCyACICprIAAoAgAiLmohMiAqIQQgLiEBAkADQCAELQAAIAFBkc+AgABqLQAARw3BASABQQVGDQEgAUEBaiEBIARBAWoiBCACRw0ACyAAIDI2AgBBjwEhKgzcAgsgAEEANgIAICogLmtBBmohAUEYISoMvgELAkAgASIqIAJHDQBBkAEhKgzbAgsgAiAqayAAKAIAIi5qITIgKiEEIC4hAQJAA0AgBC0AACABQZfPgIAAai0AAEcNwAEgAUECRg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAyNgIAQZABISoM2wILIABBADYCACAqIC5rQQNqIQFBFyEqDL0BCwJAIAEiKiACRw0AQZEBISoM2gILIAIgKmsgACgCACIuaiEyICohBCAuIQECQANAIAQtAAAgAUGaz4CAAGotAABHDb8BIAFBBkYNASABQQFqIQEgBEEBaiIEIAJHDQALIAAgMjYCAEGRASEqDNoCCyAAQQA2AgAgKiAua0EHaiEBQRUhKgy8AQsCQCABIiogAkcNAEGSASEqDNkCCyACICprIAAoAgAiLmohMiAqIQQgLiEBAkADQCAELQAAIAFBoc+AgABqLQAARw2+ASABQQVGDQEgAUEBaiEBIARBAWoiBCACRw0ACyAAIDI2AgBBkgEhKgzZAgsgAEEANgIAICogLmtBBmohAUEeISoMuwELAkAgASIEIAJHDQBBkwEhKgzYAgsgBC0AAEHMAEcN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LjYCAEGqASEqDMECCyAAQQA2AgAgEiAqa0EDaiEBQRQhKgyjAQsCQCAEIAJHDQBBqwEhKgzAAgsCQAJAAkACQCAELQAAQb5/ag4PAAECqAGoAagBqAGoAagBqAGoAagBqAGoAQOoAQsgBEEBaiEPQZMBISoMqQILIARBAWohEEGUASEqDKgCCyAEQQFqIRFBlQEhKgynAgsgBEEBaiESQZYBISoMpgILAkAgBCACRw0AQawBISoMvwILIAQtAABBxQBHDaMBIARBAWohBAznAQsCQCATIAJHDQBBrQEhKgy+AgsgAiATayAAKAIAIipqIS4gEyEEICohAQJAA0AgBC0AACABQc3PgIAAai0AAEcNowEgAUECRg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAuNgIAQa0BISoMvgILIABBADYCACATICprQQNqIQFBDiEqDKABCwJAIAQgAkcNAEGuASEqDL0CCyAELQAAQdAARw2hASAEQQFqIQFBJSEqDJ8BCwJAIBQgAkcNAEGvASEqDLwCCyACIBRrIAAoAgAiKmohLiAUIQQgKiEBAkADQCAELQAAIAFB0M+AgABqLQAARw2hASABQQhGDQEgAUEBaiEBIARBAWoiBCACRw0ACyAAIC42AgBBrwEhKgy8AgsgAEEANgIAIBQgKmtBCWohAUEqISoMngELAkAgBCACRw0AQbABISoMuwILAkACQCAELQAAQat/ag4LAKEBoQGhAaEBoQGhAaEBoQGhAQGhAQsgBEEBaiEEQZoBISoMogILIARBAWohFEGbASEqDKECCwJAIAQgAkcNAEGxASEqDLoCCwJAAkAgBC0AAEG/f2oOFACgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEBoAELIARBAWohE0GZASEqDKECCyAEQQFqIQRBnAEhKgygAgsCQCAVIAJHDQBBsgEhKgy5AgsgAiAVayAAKAIAIipqIS4gFSEEICohAQJAA0AgBC0AACABQdnPgIAAai0AAEcNngEgAUEDRg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAuNgIAQbIBISoMuQILIABBADYCACAVICprQQRqIQFBISEqDJsBCwJAIBYgAkcNAEGzASEqDLgCCyACIBZrIAAoAgAiKmohLiAWIQQgKiEBAkADQCAELQAAIAFB3c+AgABqLQAARw2dASABQQZGDQEgAUEBaiEBIARBAWoiBCACRw0ACyAAIC42AgBBswEhKgy4AgsgAEEANgIAIBYgKmtBB2ohAUEaISoMmgELAkAgBCACRw0AQbQBISoMtwILAkACQAJAIAQtAABBu39qDhEAngGeAZ4BngGeAZ4BngGeAZ4BAZ4BngGeAZ4BngECngELIARBAWohBEGdASEqDJ8CCyAEQQFqIRVBngEhKgyeAgsgBEEBaiEWQZ8BISoMnQILAkAgFyACRw0AQbUBISoMtgILIAIgF2sgACgCACIqaiEuIBchBCAqIQECQANAIAQtAAAgAUHkz4CAAGotAABHDZsBIAFBBUYNASABQQFqIQEgBEEBaiIEIAJHDQALIAAgLjYCAEG1ASEqDLYCCyAAQQA2AgAgFyAqa0EGaiEBQSghKgyYAQsCQCAYIAJHDQBBtgEhKgy1AgsgAiAYayAAKAIAIipqIS4gGCEEICohAQJAA0AgBC0AACABQerPgIAAai0AAEcNmgEgAUECRg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAuNgIAQbYBISoMtQILIABBADYCACAYICprQQNqIQFBByEqDJcBCwJAIAQgAkcNAEG3ASEqDLQCCwJAAkAgBC0AAEG7f2oODgCaAZoBmgGaAZoBmgGaAZoBmgGaAZoBmgEBmgELIARBAWohF0GhASEqDJsCCyAEQQFqIRhBogEhKgyaAgsCQCAZIAJHDQBBuAEhKgyzAgsgAiAZayAAKAIAIipqIS4gGSEEICohAQJAA0AgBC0AACABQe3PgIAAai0AAEcNmAEgAUECRg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAuNgIAQbgBISoMswILIABBADYCACAZICprQQNqIQFBEiEqDJUBCwJAIBogAkcNAEG5ASEqDLICCyACIBprIAAoAgAiKmohLiAaIQQgKiEBAkADQCAELQAAIAFB8M+AgABqLQAARw2XASABQQFGDQEgAUEBaiEBIARBAWoiBCACRw0ACyAAIC42AgBBuQEhKgyyAgsgAEEANgIAIBogKmtBAmohAUEgISoMlAELAkAgGyACRw0AQboBISoMsQILIAIgG2sgACgCACIqaiEuIBshBCAqIQECQANAIAQtAAAgAUHyz4CAAGotAABHDZYBIAFB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DM4BCyAAQQA2AhwgACABNgIUIABBoJmAgAA2AhAgAEEeNgIMQQAhKgzNAQsgAUEBaiEBCyAAQYASOwEqIAAgASACEKiAgIAAIioNASABIQELQccAISoMsQELICpBFUcNiQEgAEHRADYCHCAAIAE2AhQgAEHjl4CAADYCECAAQRU2AgxBACEqDMkBCyAAKAIEISogAEEANgIEAkAgACAqIAEQp4CAgAAiKg0AIAEhAQxiCyAAQdIANgIcIAAgATYCFCAAICo2AgxBACEqDMgBCyAAQQA2AhwgACAuNgIUIABBwaiAgAA2AhAgAEEHNgIMIABBADYCAEEAISoMxwELIAAoAgQhKiAAQQA2AgQCQCAAICogARCngICAACIqDQAgASEBDGELIABB0wA2AhwgACABNgIUIAAgKjYCDEEAISoMxgELQQAhKiAAQQA2AhwgACABNgIUIABBgJGAgAA2AhAgAEEJNgIMDMUBCyAqQRVGDYMBIABBADYCHCAAIAE2AhQgAEGUjYCAADYCECAAQSE2AgxBACEqDMQBC0EBIS9BACEyQQAhLkEBISoLIAAgKjoAKyABQQFqIQECQAJAIAAtAC1BEHENAAJAAkACQCAALQAqDgMBAAIECyAvRQ0DDAILIC4NAQwCCyAyRQ0BCyAAKAIEISogAEEANgIEAkAgACAqIAEQrYCAgAAiKg0AIAEhAQxgCyAAQdgANgIcIAAgATYCFCAAICo2AgxBACEqDMMBCyAAKAIEIQQgAEEANgIEAkAgACAEIAEQrYCAgAAiBA0AIAEhAQyyAQsgAEHZADYCHCAAIAE2AhQgACAENgIMQQAhKgzCAQsgACgCBCEEIABBADYCBAJAIAAgBCABEK2AgIAAIgQNACABIQEMsAELIABB2gA2AhwgACABNgIUIAAgBDYCDEEAISoMwQELIAAoAgQhBCAAQQA2AgQCQCAAIAQgARCtgICAACIEDQAgASEBDK4BCyAAQdwANgIcIAAgATYCFCAAIAQ2AgxBACEqDMABC0EBISoLIAAgKjoAKiABQQFqIQEMXAsgACgCBCEEIABBADYCBAJAIAAgBCABEK2AgIAAIgQNACABIQEMqgELIABB3gA2AhwgACABNgIUIAAgBDYCDEEAISoMvQELIABBADYCACAyIC9rQQRqIQECQCAALQApQSNPDQAgASEBDFwLIABBADYCHCAAIAE2AhQgAEHTiYCAADYCECAAQQg2AgxBACEqDLwBCyAAQQA2AgALQQAhKiAAQQA2AhwgACABNgIUIABBkLOAgAA2AhAgAEEINgIMDLoBCyAAQQA2AgAgMiAva0EDaiEBAkAgAC0AKUEhRw0AIAEhAQxZCyAAQQA2AhwgACABNgIUIABBm4qAgAA2AhAgAEEINgIMQQAhKgy5AQsgAEEANgIAIDIgL2tBBGohAQJAIAAtACkiKkFdakELTw0AIAEhAQxYCwJAICpBBksNAEEBICp0QcoAcUUNACABIQEMWAtBACEqIABBADYCHCAAIAE2AhQgAEH3iYCAADYCECAAQQg2AgwMuAELICpBFUYNdSAAQQA2AhwgACABNgIUIABBuY2AgAA2AhAgAEEaNgIMQQAhKgy3AQsgACgCBCEqIABBADYCBAJAIAAgKiABEKeAgIAAIioNACABIQEMVwsgAEHlADYCHCAAIAE2AhQgACAqNgIMQQAhKgy2AQsgACgCBCEqIABBADYCBAJAIAAgKiABEKeAgIAAIioNACABIQEMTwsgAEHSADYCHCAAIAE2AhQgACAqNgIMQQAhKgy1AQsgACgCBCEqIABBADYCBAJAIAAgKiABEKeAgIAAIioNACABIQEMTwsgAEHTADYCHCAAIAE2AhQgACAqNgIMQQAhKgy0AQsgACgCBCEqIABBADYCBAJAIAAgKiABEKeAgIAAIioNACABIQEMVAsgAEHlADYCHCAAIAE2AhQgACAqNgIMQQAhKgyzAQsgAEEANgIcIAAgATYCFCAAQcaKgIAANgIQIABBBzYCDEEAISoMsgELIAAoAgQhKiAAQQA2AgQCQCAAICogARCngICAACIqDQAgASEBDEsLIABB0gA2AhwgACABNgIUIAAgKjYCDEEAISoMsQELIAAoAgQhKiAAQQA2AgQCQCAAICogARCngICAACIqDQAgASEBDEsLIABB0wA2AhwgACABNgIUIAAgKjYCDEEAISoMsAELIAAoAgQhKiAAQQA2AgQCQCAAICogARCngICAACIqDQAgASEBDFALIABB5QA2AhwgACABNgIUIAAgKjYCDEEAISoMrwELIABBADYCHCAAIAE2AhQgAEHciICAADYCECAAQQc2AgxBACEqDK4BCyAqQT9HDQEgAUEBaiEB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AAAABwAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEludmFsaWQgY2hhciBpbiB1cmwgcXVlcnkAU3BhbiBjYWxsYmFjayBlcnJvciBpbiBvbl9ib2R5AENvbnRlbnQtTGVuZ3RoIG92ZXJmbG93AENodW5rIHNpemUgb3ZlcmZsb3cAUmVzcG9uc2Ugb3ZlcmZsb3cASW52YWxpZCBtZXRob2QgZm9yIEhUVFAveC54IHJlcXVlc3QASW52YWxpZCBtZXRob2QgZm9yIFJUU1AveC54IHJlcXVlc3QARXhwZWN0ZWQgU09VUkNFIG1ldGhvZCBmb3IgSUNFL3gueCByZXF1ZXN0AEludmFsaWQgY2hhciBpbiB1cmwgZnJhZ21lbnQgc3RhcnQARXhwZWN0ZWQgZG90AFNwYW4gY2FsbGJhY2sgZXJyb3IgaW4gb25fc3RhdHVzAEludmFsaWQgcmVzcG9uc2Ugc3RhdHVzAEludmFsaWQgY2hhcmFjdGVyIGluIGNodW5rIGV4dGVuc2lvbnMAVXNlciBjYWxsYmFjayBlcnJvcgBgb25fcmVzZXRgIGNhbGxiYWNrIGVycm9yAGBvbl9jaHVua19oZWFkZXJgIGNhbGxiYWNrIGVycm9yAGBvbl9tZXNzYWdlX2JlZ2luYCBjYWxsYmFjayBlcnJvcgBgb25fY2h1bmtfZXh0ZW5zaW9uX3ZhbHVlYCBjYWxsYmFjayBlcnJvcgBgb25fc3RhdHVzX2NvbXBsZXRlYCBjYWxsYmFjayBlcnJvcgBgb25fdmVyc2lvbl9jb21wbGV0ZWAgY2FsbGJhY2sgZXJyb3IAYG9uX3VybF9jb21wbGV0ZWAgY2FsbGJhY2sgZXJyb3IAYG9uX2NodW5rX2NvbXBsZXRlYCBjYWxsYmFjayBlcnJvcgBgb25faGVhZGVyX3ZhbHVlX2NvbXBsZXRlYCBjYWxsYmFjayBlcnJvcgBgb25fbWVzc2FnZV9jb21wbGV0ZWAgY2FsbGJhY2sgZXJyb3IAYG9uX21ldGhvZF9jb21wbGV0ZWAgY2FsbGJhY2sgZXJyb3IAYG9uX2hlYWRlcl9maWVsZF9jb21wbGV0ZWAgY2FsbGJhY2sgZXJyb3IAYG9uX2NodW5rX2V4dGVuc2lvbl9uYW1lYCBjYWxsYmFjayBlcnJvcgBVbmV4cGVjdGVkIGNoYXIgaW4gdXJsIHNlcnZlcgBJbnZhbGlkIGhlYWRlciB2YWx1ZSBjaGFyAEludmFsaWQgaGVhZGVyIGZpZWxkIGNoYXIAU3BhbiBjYWxsYmFjayBlcnJvciBpbiBvbl92ZXJzaW9uAEludmFsaWQgbWlub3IgdmVyc2lvbgBJbnZhbGlkIG1ham9yIHZlcnNpb24ARXhwZWN0ZWQgc3BhY2UgYWZ0ZXIgdmVyc2lvbgBFeHBlY3RlZCBDUkxGIGFmdGVyIHZlcnNpb24ASW52YWxpZCBIVFRQIHZlcnNpb24ASW52YWxpZCBoZWFkZXIgdG9rZW4AU3BhbiBjYWxsYmFjayBlcnJvciBpbiBvbl91cmwASW52YWxpZCBjaGFyYWN0ZXJzIGluIHVybABVbmV4cGVjdGVkIHN0YXJ0IGNoYXIgaW4gdXJsAERvdWJsZSBAIGluIHVybABFbXB0eSBDb250ZW50LUxlbmd0aABJbnZhbGlkIGNoYXJhY3RlciBpbiBDb250ZW50LUxlbmd0aABEdXBsaWNhdGUgQ29udGVudC1MZW5ndGgASW52YWxpZCBjaGFyIGluIHVybCBwYXRoAENvbnRlbnQtTGVuZ3RoIGNhbid0IGJlIHByZXNlbnQgd2l0aCBUcmFuc2Zlci1FbmNvZGluZwBJbnZhbGlkIGNoYXJhY3RlciBpbiBjaHVuayBzaXplAFNwYW4gY2FsbGJhY2sgZXJyb3IgaW4gb25faGVhZGVyX3ZhbHVlAFNwYW4gY2FsbGJhY2sgZXJyb3IgaW4gb25fY2h1bmtfZXh0ZW5zaW9uX3ZhbHVlAEludmFsaWQgY2hhcmFjdGVyIGluIGNodW5rIGV4dGVuc2lvbnMgdmFsdWUATWlzc2luZyBleHBlY3RlZCBMRiBhZnRlciBoZWFkZXIgdmFsdWUASW52YWxpZCBgVHJhbnNmZXItRW5jb2RpbmdgIGhlYWRlciB2YWx1ZQBJbnZhbGlkIGNoYXJhY3RlciBpbiBjaHVuayBleHRlbnNpb25zIHF1b3RlIHZhbHVlAEludmFsaWQgY2hhcmFjdGVyIGluIGNodW5rIGV4dGVuc2lvbnMgcXVvdGVkIHZhbHVlAFBhdXNlZCBieSBvbl9oZWFkZXJzX2NvbXBsZXRlAEludmFsaWQgRU9GIHN0YXRlAG9uX3Jlc2V0IHBhdXNlAG9uX2NodW5rX2hlYWRlciBwYXVzZQBvbl9tZXNzYWdlX2JlZ2luIHBhdXNlAG9uX2NodW5rX2V4dGVuc2lvbl92YWx1ZSBwYXVzZQBvbl9zdGF0dXNfY29tcGxldGUgcGF1c2UAb25fdmVyc2lvbl9jb21wbGV0ZSBwYXVzZQBvbl91cmxfY29tcGxldGUgcGF1c2UAb25fY2h1bmtfY29tcGxldGUgcGF1c2UAb25faGVhZGVyX3ZhbHVlX2NvbXBsZXRlIHBhdXNlAG9uX21lc3NhZ2VfY29tcGxldGUgcGF1c2UAb25fbWV0aG9kX2NvbXBsZXRlIHBhdXNlAG9uX2hlYWRlcl9maWVsZF9jb21wbGV0ZSBwYXVzZQBvbl9jaHVua19leHRlbnNpb25fbmFtZSBwYXVzZQBVbmV4cGVjdGVkIHNwYWNlIGFmdGVyIHN0YXJ0IGxpbmUAU3BhbiBjYWxsYmFjayBlcnJvciBpbiBvbl9jaHVua19leHRlbnNpb25fbmFtZQBJbnZhbGlkIGNoYXJhY3RlciBpbiBjaHVuayBleHRlbnNpb25zIG5hbWUAUGF1c2Ugb24gQ09OTkVDVC9VcGdyYWRlAFBhdXNlIG9uIFBSSS9VcGdyYWRlAEV4cGVjdGVkIEhUVFAvMiBDb25uZWN0aW9uIFByZWZhY2UAU3BhbiBjYWxsYmFjayBlcnJvciBpbiBvbl9tZXRob2QARXhwZWN0ZWQgc3BhY2UgYWZ0ZXIgbWV0aG9kAFNwYW4gY2FsbGJhY2sgZXJyb3IgaW4gb25faGVhZGVyX2ZpZWxkAFBhdXNlZABJbnZhbGlkIHdvcmQgZW5jb3VudGVyZWQASW52YWxpZCBtZXRob2QgZW5jb3VudGVyZWQAVW5leHBlY3RlZCBjaGFyIGluIHVybCBzY2hlbWEAUmVxdWVzdCBoYXMgaW52YWxpZCBgVHJhbnNmZXItRW5jb2RpbmdgAFNXSVRDSF9QUk9YWQBVU0VfUFJPWFkATUtBQ1RJVklUWQBVTlBST0NFU1NBQkxFX0VOVElUWQBDT1BZAE1PVkVEX1BFUk1BTkVOVExZAFRPT19FQVJMWQBOT1RJRlkARkFJTEVEX0RFUEVOREVOQ1kAQkFEX0dBVEVXQVkAUExBWQBQVVQAQ0hFQ0tPVVQAR0FURVdBWV9USU1FT1VUAFJFUVVFU1RfVElNRU9VVABORVRXT1JLX0NPTk5FQ1RfVElNRU9VVABDT05ORUNUSU9OX1RJTUVPVVQATE9HSU5fVElNRU9VVABORVRXT1JLX1JFQURfVElNRU9VVABQT1NUAE1JU0RJUkVDVEVEX1JFUVVFU1QAQ0xJRU5UX0NMT1NFRF9SRVFVRVNUAENMSUVOVF9DTE9TRURfTE9BRF9CQUxBTkNFRF9SRVFVRVNUAEJBRF9SRVFVRVNUAEhUVFBfUkVRVUVTVF9TRU5UX1RPX0hUVFBTX1BPUlQAUkVQT1JUAElNX0FfVEVBUE9UAFJFU0VUX0NPTlRFTlQATk9fQ09OVEVOVABQQVJUSUFMX0NPTlRFTlQASFBFX0lOVkFMSURfQ09OU1RBTlQASFBFX0NCX1JFU0VUAEdFVABIUEVfU1RSSUNUAENPTkZMSUNUAFRFTVBPUkFSWV9SRURJUkVDVABQRVJNQU5FTlRfUkVESVJFQ1QAQ09OTkVDVABNVUxUSV9TVEFUVVMASFBFX0lOVkFMSURfU1RBVFVTAFRPT19NQU5ZX1JFUVVFU1RTAEVBUkxZX0hJTlRTAFVOQVZBSUxBQkxFX0ZPUl9MRUdBTF9SRUFTT05TAE9QVElPTlMAU1dJVENISU5HX1BST1RPQ09MUwBWQVJJQU5UX0FMU09fTkVHT1RJQVRFUwBNVUxUSVBMRV9DSE9JQ0VTAElOVEVSTkFMX1NFUlZFUl9FUlJPUgBXRUJfU0VSVkVSX1VOS05PV05fRVJST1IAUkFJTEdVTl9FUlJPUgBJREVOVElUWV9QUk9WSURFUl9BVVRIRU5USUNBVElPTl9FUlJPUgBTU0xfQ0VSVElGSUNBVEVfRVJST1IASU5WQUxJRF9YX0ZPUldBUkRFRF9GT1IAU0VUX1BBUkFNRVRFUgBHRVRfUEFSQU1FVEVSAEhQRV9VU0VSAFNFRV9PVEhFUgBIUEVfQ0JfQ0hVTktfSEVBREVSAE1LQ0FMRU5EQVIAU0VUVVAAV0VCX1NFUlZFUl9JU19ET1dOAFRFQVJET1dOAEhQRV9DTE9TRURfQ09OTkVDVElPTgBIRVVSSVNUSUNfRVhQSVJBVElPTgBESVNDT05ORUNURURfT1BFUkFUSU9OAE5PTl9BVVRIT1JJVEFUSVZFX0lORk9STUFUSU9OAEhQRV9JTlZBTElEX1ZFUlNJT04ASFBFX0NCX01FU1NBR0VfQkVHSU4AU0lURV9JU19GUk9aRU4ASFBFX0lOVkFMSURfSEVBREVSX1RPS0VOAElOVkFMSURfVE9LRU4ARk9SQklEREVOAEVOSEFOQ0VfWU9VUl9DQUxNAEhQRV9JTlZBTElEX1VSTABCTE9DS0VEX0JZX1BBUkVOVEFMX0NPTlRST0wATUtDT0wAQUNMAEhQRV9JTlRFUk5BTABSRVFVRVNUX0hFQURFUl9GSUVMRFNfVE9PX0xBUkdFX1VOT0ZGSUNJQUwASFBFX09LAFVOTElOSwBVTkxPQ0sAUFJJAFJFVFJZX1dJVEgASFBFX0lOVkFMSURfQ09OVEVOVF9MRU5HVEgASFBFX1VORVhQRUNURURfQ09OVEVOVF9MRU5HVEgARkxVU0gAUFJPUFBBVENIAE0tU0VBUkNIAFVSSV9UT09fTE9ORwBQUk9DRVNTSU5HAE1JU0NFTExBTkVPVVNfUEVSU0lTVEVOVF9XQVJOSU5HAE1JU0NFTExBTkVPVVNfV0FSTklORwBIUEVfSU5WQUxJRF9UUkFOU0ZFUl9FTkNPRElORwBFeHBlY3RlZCBDUkxGAEhQRV9JTlZBTElEX0NIVU5LX1NJWkUATU9WRQBDT05USU5VRQBIUEVfQ0JfU1RBVFVTX0NPTVBMRVRFAEhQRV9DQl9IRUFERVJTX0NPTVBMRVRFAEhQRV9DQl9WRVJTSU9OX0NPTVBMRVRFAEhQRV9DQl9VUkxfQ09NUExFVEUASFBFX0NCX0NIVU5LX0NPTVBMRVRFAEhQRV9DQl9IRUFERVJfVkFMVUVfQ09NUExFVEUASFBFX0NCX0NIVU5LX0VYVEVOU0lPTl9WQUxVRV9DT01QTEVURQBIUEVfQ0JfQ0hVTktfRVhURU5TSU9OX05BTUVfQ09NUExFVEUASFBFX0NCX01FU1NBR0VfQ09NUExFVEUASFBFX0NCX01FVEhPRF9DT01QTEVURQBIUEVfQ0JfSEVBREVSX0ZJRUxEX0NPTVBMRVRFAERFTEVURQBIUEVfSU5WQUxJRF9FT0ZfU1RBVEUASU5WQUxJRF9TU0xfQ0VSVElGSUNBVEUAUEFVU0UATk9fUkVTUE9OU0UAVU5TVVBQT1JURURfTUVESUFfVFlQRQBHT05FAE5PVF9BQ0NFUFRBQkxFAFNFUlZJQ0VfVU5BVkFJTEFCTEUAUkFOR0VfTk9UX1NBVElTRklBQkxFAE9SSUdJTl9JU19VTlJFQUNIQUJMRQBSRVNQT05TRV9JU19TVEFMRQBQVVJHRQBNRVJHRQBSRVFVRVNUX0hFQURFUl9GSUVMRFNfVE9PX0xBUkdFAFJFUVVFU1RfSEVBREVSX1RPT19MQVJHRQBQQVlMT0FEX1RPT19MQVJHRQBJTlNVRkZJQ0lFTlRfU1RPUkFHRQBIUEVfUEFVU0VEX1VQR1JBREUASFBFX1BBVVNFRF9IMl9VUEdSQURFAFNPVVJDRQBBTk5PVU5DRQBUUkFDRQBIUEVfVU5FWFBFQ1RFRF9TUEFDRQBERVNDUklCRQBVTlNVQlNDUklCRQBSRUNPUkQASFBFX0lOVkFMSURfTUVUSE9EAE5PVF9GT1VORABQUk9QRklORABVTkJJTkQAUkVCSU5EAFVOQVVUSE9SSVpFRABNRVRIT0RfTk9UX0FMTE9XRUQASFRUUF9WRVJTSU9OX05PVF9TVVBQT1JURUQAQUxSRUFEWV9SRVBPUlRFRABBQ0NFUFRFRABOT1RfSU1QTEVNRU5URUQATE9PUF9ERVRFQ1RFRABIUEVfQ1JfRVhQRUNURUQASFBFX0xGX0VYUEVDVEVEAENSRUFURUQASU1fVVNFRABIUEVfUEFVU0VEAFRJTUVPVVRfT0NDVVJFRABQQVlNRU5UX1JFUVVJUkVEAFBSRUNPTkRJVElPTl9SRVFVSVJFRABQUk9YWV9BVVRIRU5USUNBVElPTl9SRVFVSVJFRABORVRXT1JLX0FVVEhFTlRJQ0FUSU9OX1JFUVVJUkVEAExFTkdUSF9SRVFVSVJFRABTU0xfQ0VSVElGSUNBVEVfUkVRVUlSRUQAVVBHUkFERV9SRVFVSVJFRABQQUdFX0VYUElSRUQAUFJFQ09ORElUSU9OX0ZBSUxFRABFWFBFQ1RBVElPTl9GQUlMRUQAUkVWQUxJREFUSU9OX0ZBSUxFRABTU0xfSEFORFNIQUtFX0ZBSUxFRABMT0NLRUQAVFJBTlNGT1JNQVRJT05fQVBQTElFRABOT1RfTU9ESUZJRUQATk9UX0VYVEVOREVEAEJBTkRXSURUSF9MSU1JVF9FWENFRURFRABTSVRFX0lTX09WRVJMT0FERUQASEVBRABFeHBlY3RlZCBIVFRQLwAAXhMAACYTAAAwEAAA8BcAAJ0TAAAVEgAAORcAAPASAAAKEAAAdRIAAK0SAACCEwAATxQAAH8QAACgFQAAIxQAAIkSAACLFAAATRUAANQRAADPFAAAEBgAAMkWAADcFgAAwREAAOAXAAC7FAAAdBQAAHwVAADlFAAACBcAAB8QAABlFQAAoxQAACgVAAACFQAAmRUAACwQAACLGQAATw8AANQOAABqEAAAzhAAAAIXAACJDgAAbhMAABwTAABmFAAAVhcAAMETAADNEwAAbBMAAGgXAABmFwAAXxcAACITAADODwAAaQ4AANgOAABjFgAAyxMAAKoOAAAoFwAAJhcAAMUTAABdFgAA6BEAAGcTAABlEwAA8hYAAHMTAAAdFwAA+RYAAPMRAADPDgAAzhUAAAwSAACzEQAApREAAGEQAAAyFwAAuxMAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAQIBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAIDAgICAgIAAAICAAICAAICAgICAgICAgIABAAAAAAAAgICAgICAgICAgICAgICAgICAgICAgICAgIAAAACAgICAgICAgICAgICAgICAgICAgICAgICAgICAgACAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAACAAICAgICAAACAgACAgACAgICAgICAgICAAMABAAAAAICAgICAgICAgICAgICAgICAgICAgICAgICAAAAAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAAgACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAbG9zZWVlcC1hbGl2ZQAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEBAQEBAQEBAQEBAQIBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBY2h1bmtlZAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQEAAQEBAQEAAAEBAAEBAAEBAQEBAQEBAQEAAAAAAAAAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAAABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQABAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABlY3Rpb25lbnQtbGVuZ3Rob25yb3h5LWNvbm5lY3Rpb24AAAAAAAAAAAAAAAAAAAByYW5zZmVyLWVuY29kaW5ncGdyYWRlDQoNCg0KU00NCg0KVFRQL0NFL1RTUC8AAAAAAAAAAAAAAAABAgABAwAAAAAAAAAAAAAAAAAAAAAAAAQBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAAAAAAAAAAAAQIAAQMAAAAAAAAAAAAAAAAAAAAAAAAEAQEFAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQAAAAAAAAAAAAEAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAEBAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAAAAAAAAAAAAAQAAAgAAAAAAAAAAAAAAAAAAAAAAAAMEAAAEBAQEBAQEBAQEBAUEBAQEBAQEBAQEBAQABAAGBwQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAEAAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAEAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwAAAAAAAAMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAABAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAIAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAAAAAAAADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABOT1VOQ0VFQ0tPVVRORUNURVRFQ1JJQkVMVVNIRVRFQURTRUFSQ0hSR0VDVElWSVRZTEVOREFSVkVPVElGWVBUSU9OU0NIU0VBWVNUQVRDSEdFT1JESVJFQ1RPUlRSQ0hQQVJBTUVURVJVUkNFQlNDUklCRUFSRE9XTkFDRUlORE5LQ0tVQlNDUklCRUhUVFAvQURUUC8="},41891:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.enumToMap=void 0;function enumToMap(re){const ie={};Object.keys(re).forEach((oe=>{const se=re[oe];if(typeof se==="number"){ie[oe]=se}}));return ie}ie.enumToMap=enumToMap},66771:(re,ie,oe)=>{"use strict";const{kClients:se}=oe(72785);const ae=oe(7890);const{kAgent:ce,kMockAgentSet:ue,kMockAgentGet:le,kDispatches:fe,kIsMockActive:de,kNetConnect:pe,kGetNetConnect:he,kOptions:Ae,kFactory:ge}=oe(24347);const me=oe(58687);const ye=oe(26193);const{matchValue:ve,buildMockOptions:be}=oe(79323);const{InvalidArgumentError:we,UndiciError:_e}=oe(48045);const Ee=oe(60412);const Ce=oe(78891);const Ie=oe(86823);class FakeWeakRef{constructor(re){this.value=re}deref(){return this.value}}class MockAgent extends Ee{constructor(re){super(re);this[pe]=true;this[de]=true;if(re&&re.agent&&typeof re.agent.dispatch!=="function"){throw new we("Argument opts.agent must implement Agent")}const ie=re&&re.agent?re.agent:new ae(re);this[ce]=ie;this[se]=ie[se];this[Ae]=be(re)}get(re){let ie=this[le](re);if(!ie){ie=this[ge](re);this[ue](re,ie)}return ie}dispatch(re,ie){this.get(re.origin);return this[ce].dispatch(re,ie)}async close(){await this[ce].close();this[se].clear()}deactivate(){this[de]=false}activate(){this[de]=true}enableNetConnect(re){if(typeof re==="string"||typeof re==="function"||re instanceof RegExp){if(Array.isArray(this[pe])){this[pe].push(re)}else{this[pe]=[re]}}else if(typeof re==="undefined"){this[pe]=true}else{throw new we("Unsupported matcher. Must be one of String|Function|RegExp.")}}disableNetConnect(){this[pe]=false}get isMockActive(){return this[de]}[ue](re,ie){this[se].set(re,new FakeWeakRef(ie))}[ge](re){const ie=Object.assign({agent:this},this[Ae]);return this[Ae]&&this[Ae].connections===1?new me(re,ie):new ye(re,ie)}[le](re){const ie=this[se].get(re);if(ie){return ie.deref()}if(typeof re!=="string"){const ie=this[ge]("http://localhost:9999");this[ue](re,ie);return ie}for(const[ie,oe]of Array.from(this[se])){const se=oe.deref();if(se&&typeof ie!=="string"&&ve(ie,re)){const ie=this[ge](re);this[ue](re,ie);ie[fe]=se[fe];return ie}}}[he](){return this[pe]}pendingInterceptors(){const re=this[se];return Array.from(re.entries()).flatMap((([re,ie])=>ie.deref()[fe].map((ie=>({...ie,origin:re}))))).filter((({pending:re})=>re))}assertNoPendingInterceptors({pendingInterceptorsFormatter:re=new Ie}={}){const ie=this.pendingInterceptors();if(ie.length===0){return}const oe=new Ce("interceptor","interceptors").pluralize(ie.length);throw new _e(`\n${oe.count} ${oe.noun} ${oe.is} pending:\n\n${re.format(ie)}\n`.trim())}}re.exports=MockAgent},58687:(re,ie,oe)=>{"use strict";const{promisify:se}=oe(73837);const ae=oe(33598);const{buildMockDispatch:ce}=oe(79323);const{kDispatches:ue,kMockAgent:le,kClose:fe,kOriginalClose:de,kOrigin:pe,kOriginalDispatch:he,kConnected:Ae}=oe(24347);const{MockInterceptor:ge}=oe(90410);const me=oe(72785);const{InvalidArgumentError:ye}=oe(48045);class MockClient extends ae{constructor(re,ie){super(re,ie);if(!ie||!ie.agent||typeof ie.agent.dispatch!=="function"){throw new ye("Argument opts.agent must implement Agent")}this[le]=ie.agent;this[pe]=re;this[ue]=[];this[Ae]=1;this[he]=this.dispatch;this[de]=this.close.bind(this);this.dispatch=ce.call(this);this.close=this[fe]}get[me.kConnected](){return this[Ae]}intercept(re){return new ge(re,this[ue])}async[fe](){await se(this[de])();this[Ae]=0;this[le][me.kClients].delete(this[pe])}}re.exports=MockClient},50888:(re,ie,oe)=>{"use strict";const{UndiciError:se}=oe(48045);class MockNotMatchedError extends se{constructor(re){super(re);Error.captureStackTrace(this,MockNotMatchedError);this.name="MockNotMatchedError";this.message=re||"The request does not match any registered mock dispatches";this.code="UND_MOCK_ERR_MOCK_NOT_MATCHED"}}re.exports={MockNotMatchedError:MockNotMatchedError}},90410:(re,ie,oe)=>{"use strict";const{getResponseData:se,buildKey:ae,addMockDispatch:ce}=oe(79323);const{kDispatches:ue,kDispatchKey:le,kDefaultHeaders:fe,kDefaultTrailers:de,kContentLength:pe,kMockDispatch:he}=oe(24347);const{InvalidArgumentError:Ae}=oe(48045);const{buildURL:ge}=oe(83983);class MockScope{constructor(re){this[he]=re}delay(re){if(typeof re!=="number"||!Number.isInteger(re)||re<=0){throw new Ae("waitInMs must be a valid integer > 0")}this[he].delay=re;return this}persist(){this[he].persist=true;return this}times(re){if(typeof re!=="number"||!Number.isInteger(re)||re<=0){throw new Ae("repeatTimes must be a valid integer > 0")}this[he].times=re;return this}}class MockInterceptor{constructor(re,ie){if(typeof re!=="object"){throw new Ae("opts must be an object")}if(typeof re.path==="undefined"){throw new Ae("opts.path must be defined")}if(typeof re.method==="undefined"){re.method="GET"}if(typeof re.path==="string"){if(re.query){re.path=ge(re.path,re.query)}else{const ie=new URL(re.path,"data://");re.path=ie.pathname+ie.search}}if(typeof re.method==="string"){re.method=re.method.toUpperCase()}this[le]=ae(re);this[ue]=ie;this[fe]={};this[de]={};this[pe]=false}createMockScopeDispatchData(re,ie,oe={}){const ae=se(ie);const ce=this[pe]?{"content-length":ae.length}:{};const ue={...this[fe],...ce,...oe.headers};const le={...this[de],...oe.trailers};return{statusCode:re,data:ie,headers:ue,trailers:le}}validateReplyParameters(re,ie,oe){if(typeof re==="undefined"){throw new Ae("statusCode must be defined")}if(typeof ie==="undefined"){throw new Ae("data must be defined")}if(typeof oe!=="object"){throw new Ae("responseOptions must be an object")}}reply(re){if(typeof re==="function"){const wrappedDefaultsCallback=ie=>{const oe=re(ie);if(typeof oe!=="object"){throw new Ae("reply options callback must return an object")}const{statusCode:se,data:ae="",responseOptions:ce={}}=oe;this.validateReplyParameters(se,ae,ce);return{...this.createMockScopeDispatchData(se,ae,ce)}};const ie=ce(this[ue],this[le],wrappedDefaultsCallback);return new MockScope(ie)}const[ie,oe="",se={}]=[...arguments];this.validateReplyParameters(ie,oe,se);const ae=this.createMockScopeDispatchData(ie,oe,se);const fe=ce(this[ue],this[le],ae);return new MockScope(fe)}replyWithError(re){if(typeof re==="undefined"){throw new Ae("error must be defined")}const ie=ce(this[ue],this[le],{error:re});return new MockScope(ie)}defaultReplyHeaders(re){if(typeof re==="undefined"){throw new Ae("headers must be defined")}this[fe]=re;return this}defaultReplyTrailers(re){if(typeof re==="undefined"){throw new Ae("trailers must be defined")}this[de]=re;return this}replyContentLength(){this[pe]=true;return this}}re.exports.MockInterceptor=MockInterceptor;re.exports.MockScope=MockScope},26193:(re,ie,oe)=>{"use strict";const{promisify:se}=oe(73837);const ae=oe(4634);const{buildMockDispatch:ce}=oe(79323);const{kDispatches:ue,kMockAgent:le,kClose:fe,kOriginalClose:de,kOrigin:pe,kOriginalDispatch:he,kConnected:Ae}=oe(24347);const{MockInterceptor:ge}=oe(90410);const me=oe(72785);const{InvalidArgumentError:ye}=oe(48045);class MockPool extends ae{constructor(re,ie){super(re,ie);if(!ie||!ie.agent||typeof ie.agent.dispatch!=="function"){throw new ye("Argument opts.agent must implement Agent")}this[le]=ie.agent;this[pe]=re;this[ue]=[];this[Ae]=1;this[he]=this.dispatch;this[de]=this.close.bind(this);this.dispatch=ce.call(this);this.close=this[fe]}get[me.kConnected](){return this[Ae]}intercept(re){return new ge(re,this[ue])}async[fe](){await se(this[de])();this[Ae]=0;this[le][me.kClients].delete(this[pe])}}re.exports=MockPool},24347:re=>{"use strict";re.exports={kAgent:Symbol("agent"),kOptions:Symbol("options"),kFactory:Symbol("factory"),kDispatches:Symbol("dispatches"),kDispatchKey:Symbol("dispatch key"),kDefaultHeaders:Symbol("default headers"),kDefaultTrailers:Symbol("default trailers"),kContentLength:Symbol("content length"),kMockAgent:Symbol("mock agent"),kMockAgentSet:Symbol("mock agent set"),kMockAgentGet:Symbol("mock agent get"),kMockDispatch:Symbol("mock dispatch"),kClose:Symbol("close"),kOriginalClose:Symbol("original agent close"),kOrigin:Symbol("origin"),kIsMockActive:Symbol("is mock active"),kNetConnect:Symbol("net connect"),kGetNetConnect:Symbol("get net connect"),kConnected:Symbol("connected")}},79323:(re,ie,oe)=>{"use strict";const{MockNotMatchedError:se}=oe(50888);const{kDispatches:ae,kMockAgent:ce,kOriginalDispatch:ue,kOrigin:le,kGetNetConnect:fe}=oe(24347);const{buildURL:de,nop:pe}=oe(83983);const{STATUS_CODES:he}=oe(13685);const{types:{isPromise:Ae}}=oe(73837);function matchValue(re,ie){if(typeof re==="string"){return re===ie}if(re instanceof RegExp){return re.test(ie)}if(typeof re==="function"){return re(ie)===true}return false}function lowerCaseEntries(re){return Object.fromEntries(Object.entries(re).map((([re,ie])=>[re.toLocaleLowerCase(),ie])))}function getHeaderByName(re,ie){if(Array.isArray(re)){for(let oe=0;oe!re)).filter((({path:re})=>matchValue(safeUrl(re),ae)));if(ce.length===0){throw new se(`Mock dispatch not matched for path '${ae}'`)}ce=ce.filter((({method:re})=>matchValue(re,ie.method)));if(ce.length===0){throw new se(`Mock dispatch not matched for method '${ie.method}'`)}ce=ce.filter((({body:re})=>typeof re!=="undefined"?matchValue(re,ie.body):true));if(ce.length===0){throw new se(`Mock dispatch not matched for body '${ie.body}'`)}ce=ce.filter((re=>matchHeaders(re,ie.headers)));if(ce.length===0){throw new se(`Mock dispatch not matched for headers '${typeof ie.headers==="object"?JSON.stringify(ie.headers):ie.headers}'`)}return ce[0]}function addMockDispatch(re,ie,oe){const se={timesInvoked:0,times:1,persist:false,consumed:false};const ae=typeof oe==="function"?{callback:oe}:{...oe};const ce={...se,...ie,pending:true,data:{error:null,...ae}};re.push(ce);return ce}function deleteMockDispatch(re,ie){const oe=re.findIndex((re=>{if(!re.consumed){return false}return matchKey(re,ie)}));if(oe!==-1){re.splice(oe,1)}}function buildKey(re){const{path:ie,method:oe,body:se,headers:ae,query:ce}=re;return{path:ie,method:oe,body:se,headers:ae,query:ce}}function generateKeyValues(re){return Object.entries(re).reduce(((re,[ie,oe])=>[...re,Buffer.from(`${ie}`),Array.isArray(oe)?oe.map((re=>Buffer.from(`${re}`))):Buffer.from(`${oe}`)]),[])}function getStatusText(re){return he[re]||"unknown"}async function getResponse(re){const ie=[];for await(const oe of re){ie.push(oe)}return Buffer.concat(ie).toString("utf8")}function mockDispatch(re,ie){const oe=buildKey(re);const se=getMockDispatch(this[ae],oe);se.timesInvoked++;if(se.data.callback){se.data={...se.data,...se.data.callback(re)}}const{data:{statusCode:ce,data:ue,headers:le,trailers:fe,error:de},delay:he,persist:ge}=se;const{timesInvoked:me,times:ye}=se;se.consumed=!ge&&me>=ye;se.pending=me0){setTimeout((()=>{handleReply(this[ae])}),he)}else{handleReply(this[ae])}function handleReply(se,ae=ue){const de=Array.isArray(re.headers)?buildHeadersFromArray(re.headers):re.headers;const he=typeof ae==="function"?ae({...re,headers:de}):ae;if(Ae(he)){he.then((re=>handleReply(se,re)));return}const ge=getResponseData(he);const me=generateKeyValues(le);const ye=generateKeyValues(fe);ie.abort=pe;ie.onHeaders(ce,me,resume,getStatusText(ce));ie.onData(Buffer.from(ge));ie.onComplete(ye);deleteMockDispatch(se,oe)}function resume(){}return true}function buildMockDispatch(){const re=this[ce];const ie=this[le];const oe=this[ue];return function dispatch(ae,ce){if(re.isMockActive){try{mockDispatch.call(this,ae,ce)}catch(ue){if(ue instanceof se){const le=re[fe]();if(le===false){throw new se(`${ue.message}: subsequent request to origin ${ie} was not allowed (net.connect disabled)`)}if(checkNetConnect(le,ie)){oe.call(this,ae,ce)}else{throw new se(`${ue.message}: subsequent request to origin ${ie} was not allowed (net.connect is not enabled for this origin)`)}}else{throw ue}}}else{oe.call(this,ae,ce)}}}function checkNetConnect(re,ie){const oe=new URL(ie);if(re===true){return true}else if(Array.isArray(re)&&re.some((re=>matchValue(re,oe.host)))){return true}return false}function buildMockOptions(re){if(re){const{agent:ie,...oe}=re;return oe}}re.exports={getResponseData:getResponseData,getMockDispatch:getMockDispatch,addMockDispatch:addMockDispatch,deleteMockDispatch:deleteMockDispatch,buildKey:buildKey,generateKeyValues:generateKeyValues,matchValue:matchValue,getResponse:getResponse,getStatusText:getStatusText,mockDispatch:mockDispatch,buildMockDispatch:buildMockDispatch,checkNetConnect:checkNetConnect,buildMockOptions:buildMockOptions,getHeaderByName:getHeaderByName}},86823:(re,ie,oe)=>{"use strict";const{Transform:se}=oe(12781);const{Console:ae}=oe(96206);re.exports=class PendingInterceptorsFormatter{constructor({disableColors:re}={}){this.transform=new se({transform(re,ie,oe){oe(null,re)}});this.logger=new ae({stdout:this.transform,inspectOptions:{colors:!re&&!process.env.CI}})}format(re){const ie=re.map((({method:re,path:ie,data:{statusCode:oe},persist:se,times:ae,timesInvoked:ce,origin:ue})=>({Method:re,Origin:ue,Path:ie,"Status code":oe,Persistent:se?"✅":"❌",Invocations:ce,Remaining:se?Infinity:ae-ce})));this.logger.table(ie);return this.transform.read().toString()}}},78891:re=>{"use strict";const ie={pronoun:"it",is:"is",was:"was",this:"this"};const oe={pronoun:"they",is:"are",was:"were",this:"these"};re.exports=class Pluralizer{constructor(re,ie){this.singular=re;this.plural=ie}pluralize(re){const se=re===1;const ae=se?ie:oe;const ce=se?this.singular:this.plural;return{...ae,count:re,noun:ce}}}},68266:re=>{"use strict";const ie=2048;const oe=ie-1;class FixedCircularBuffer{constructor(){this.bottom=0;this.top=0;this.list=new Array(ie);this.next=null}isEmpty(){return this.top===this.bottom}isFull(){return(this.top+1&oe)===this.bottom}push(re){this.list[this.top]=re;this.top=this.top+1&oe}shift(){const re=this.list[this.bottom];if(re===undefined)return null;this.list[this.bottom]=undefined;this.bottom=this.bottom+1&oe;return re}}re.exports=class FixedQueue{constructor(){this.head=this.tail=new FixedCircularBuffer}isEmpty(){return this.head.isEmpty()}push(re){if(this.head.isFull()){this.head=this.head.next=new FixedCircularBuffer}this.head.push(re)}shift(){const re=this.tail;const ie=re.shift();if(re.isEmpty()&&re.next!==null){this.tail=re.next}return ie}}},73198:(re,ie,oe)=>{"use strict";const se=oe(74839);const ae=oe(68266);const{kConnected:ce,kSize:ue,kRunning:le,kPending:fe,kQueued:de,kBusy:pe,kFree:he,kUrl:Ae,kClose:ge,kDestroy:me,kDispatch:ye}=oe(72785);const ve=oe(39689);const be=Symbol("clients");const we=Symbol("needDrain");const _e=Symbol("queue");const Ee=Symbol("closed resolve");const Ce=Symbol("onDrain");const Ie=Symbol("onConnect");const Se=Symbol("onDisconnect");const Be=Symbol("onConnectionError");const xe=Symbol("get dispatcher");const ke=Symbol("add client");const Oe=Symbol("remove client");const De=Symbol("stats");class PoolBase extends se{constructor(){super();this[_e]=new ae;this[be]=[];this[de]=0;const re=this;this[Ce]=function onDrain(ie,oe){const se=re[_e];let ae=false;while(!ae){const ie=se.shift();if(!ie){break}re[de]--;ae=!this.dispatch(ie.opts,ie.handler)}this[we]=ae;if(!this[we]&&re[we]){re[we]=false;re.emit("drain",ie,[re,...oe])}if(re[Ee]&&se.isEmpty()){Promise.all(re[be].map((re=>re.close()))).then(re[Ee])}};this[Ie]=(ie,oe)=>{re.emit("connect",ie,[re,...oe])};this[Se]=(ie,oe,se)=>{re.emit("disconnect",ie,[re,...oe],se)};this[Be]=(ie,oe,se)=>{re.emit("connectionError",ie,[re,...oe],se)};this[De]=new ve(this)}get[pe](){return this[we]}get[ce](){return this[be].filter((re=>re[ce])).length}get[he](){return this[be].filter((re=>re[ce]&&!re[we])).length}get[fe](){let re=this[de];for(const{[fe]:ie}of this[be]){re+=ie}return re}get[le](){let re=0;for(const{[le]:ie}of this[be]){re+=ie}return re}get[ue](){let re=this[de];for(const{[ue]:ie}of this[be]){re+=ie}return re}get stats(){return this[De]}async[ge](){if(this[_e].isEmpty()){return Promise.all(this[be].map((re=>re.close())))}else{return new Promise((re=>{this[Ee]=re}))}}async[me](re){while(true){const ie=this[_e].shift();if(!ie){break}ie.handler.onError(re)}return Promise.all(this[be].map((ie=>ie.destroy(re))))}[ye](re,ie){const oe=this[xe]();if(!oe){this[we]=true;this[_e].push({opts:re,handler:ie});this[de]++}else if(!oe.dispatch(re,ie)){oe[we]=true;this[we]=!this[xe]()}return!this[we]}[ke](re){re.on("drain",this[Ce]).on("connect",this[Ie]).on("disconnect",this[Se]).on("connectionError",this[Be]);this[be].push(re);if(this[we]){process.nextTick((()=>{if(this[we]){this[Ce](re[Ae],[this,re])}}))}return this}[Oe](re){re.close((()=>{const ie=this[be].indexOf(re);if(ie!==-1){this[be].splice(ie,1)}}));this[we]=this[be].some((re=>!re[we]&&re.closed!==true&&re.destroyed!==true))}}re.exports={PoolBase:PoolBase,kClients:be,kNeedDrain:we,kAddClient:ke,kRemoveClient:Oe,kGetDispatcher:xe}},39689:(re,ie,oe)=>{const{kFree:se,kConnected:ae,kPending:ce,kQueued:ue,kRunning:le,kSize:fe}=oe(72785);const de=Symbol("pool");class PoolStats{constructor(re){this[de]=re}get connected(){return this[de][ae]}get free(){return this[de][se]}get pending(){return this[de][ce]}get queued(){return this[de][ue]}get running(){return this[de][le]}get size(){return this[de][fe]}}re.exports=PoolStats},4634:(re,ie,oe)=>{"use strict";const{PoolBase:se,kClients:ae,kNeedDrain:ce,kAddClient:ue,kGetDispatcher:le}=oe(73198);const fe=oe(33598);const{InvalidArgumentError:de}=oe(48045);const pe=oe(83983);const{kUrl:he,kInterceptors:Ae}=oe(72785);const ge=oe(82067);const me=Symbol("options");const ye=Symbol("connections");const ve=Symbol("factory");function defaultFactory(re,ie){return new fe(re,ie)}class Pool extends se{constructor(re,{connections:ie,factory:oe=defaultFactory,connect:se,connectTimeout:ae,tls:ce,maxCachedSessions:ue,socketPath:le,autoSelectFamily:fe,autoSelectFamilyAttemptTimeout:be,...we}={}){super();if(ie!=null&&(!Number.isFinite(ie)||ie<0)){throw new de("invalid connections")}if(typeof oe!=="function"){throw new de("factory must be a function.")}if(se!=null&&typeof se!=="function"&&typeof se!=="object"){throw new de("connect must be a function or an object")}if(typeof se!=="function"){se=ge({...ce,maxCachedSessions:ue,socketPath:le,timeout:ae==null?1e4:ae,...pe.nodeHasAutoSelectFamily&&fe?{autoSelectFamily:fe,autoSelectFamilyAttemptTimeout:be}:undefined,...se})}this[Ae]=we.interceptors&&we.interceptors.Pool&&Array.isArray(we.interceptors.Pool)?we.interceptors.Pool:[];this[ye]=ie||null;this[he]=pe.parseOrigin(re);this[me]={...pe.deepClone(we),connect:se};this[me].interceptors=we.interceptors?{...we.interceptors}:undefined;this[ve]=oe}[le](){let re=this[ae].find((re=>!re[ce]));if(re){return re}if(!this[ye]||this[ae].length{"use strict";const{kProxy:se,kClose:ae,kDestroy:ce,kInterceptors:ue}=oe(72785);const{URL:le}=oe(57310);const fe=oe(7890);const de=oe(4634);const pe=oe(74839);const{InvalidArgumentError:he,RequestAbortedError:Ae}=oe(48045);const ge=oe(82067);const me=Symbol("proxy agent");const ye=Symbol("proxy client");const ve=Symbol("proxy headers");const be=Symbol("request tls settings");const we=Symbol("proxy tls settings");const _e=Symbol("connect endpoint function");function defaultProtocolPort(re){return re==="https:"?443:80}function buildProxyOptions(re){if(typeof re==="string"){re={uri:re}}if(!re||!re.uri){throw new he("Proxy opts.uri is mandatory")}return{uri:re.uri,protocol:re.protocol||"https"}}function defaultFactory(re,ie){return new de(re,ie)}class ProxyAgent extends pe{constructor(re){super(re);this[se]=buildProxyOptions(re);this[me]=new fe(re);this[ue]=re.interceptors&&re.interceptors.ProxyAgent&&Array.isArray(re.interceptors.ProxyAgent)?re.interceptors.ProxyAgent:[];if(typeof re==="string"){re={uri:re}}if(!re||!re.uri){throw new he("Proxy opts.uri is mandatory")}const{clientFactory:ie=defaultFactory}=re;if(typeof ie!=="function"){throw new he("Proxy opts.clientFactory must be a function.")}this[be]=re.requestTls;this[we]=re.proxyTls;this[ve]=re.headers||{};if(re.auth&&re.token){throw new he("opts.auth cannot be used in combination with opts.token")}else if(re.auth){this[ve]["proxy-authorization"]=`Basic ${re.auth}`}else if(re.token){this[ve]["proxy-authorization"]=re.token}const oe=new le(re.uri);const{origin:ae,port:ce,host:de}=oe;const pe=ge({...re.proxyTls});this[_e]=ge({...re.requestTls});this[ye]=ie(oe,{connect:pe});this[me]=new fe({...re,connect:async(re,ie)=>{let oe=re.host;if(!re.port){oe+=`:${defaultProtocolPort(re.protocol)}`}try{const{socket:se,statusCode:ue}=await this[ye].connect({origin:ae,port:ce,path:oe,signal:re.signal,headers:{...this[ve],host:de}});if(ue!==200){se.on("error",(()=>{})).destroy();ie(new Ae("Proxy response !== 200 when HTTP Tunneling"))}if(re.protocol!=="https:"){ie(null,se);return}let le;if(this[be]){le=this[be].servername}else{le=re.servername}this[_e]({...re,servername:le,httpSocket:se},ie)}catch(re){ie(re)}}})}dispatch(re,ie){const{host:oe}=new le(re.origin);const se=buildHeaders(re.headers);throwIfProxyAuthIsSent(se);return this[me].dispatch({...re,headers:{...se,host:oe}},ie)}async[ae](){await this[me].close();await this[ye].close()}async[ce](){await this[me].destroy();await this[ye].destroy()}}function buildHeaders(re){if(Array.isArray(re)){const ie={};for(let oe=0;oere.toLowerCase()==="proxy-authorization"));if(ie){throw new he("Proxy-Authorization should be sent in ProxyAgent constructor")}}re.exports=ProxyAgent},29459:re=>{"use strict";let ie=Date.now();let oe;const se=[];function onTimeout(){ie=Date.now();let re=se.length;let oe=0;while(oe0&&ie>=ae.state){ae.state=-1;ae.callback(ae.opaque)}if(ae.state===-1){ae.state=-2;if(oe!==re-1){se[oe]=se.pop()}else{se.pop()}re-=1}else{oe+=1}}if(se.length>0){refreshTimeout()}}function refreshTimeout(){if(oe&&oe.refresh){oe.refresh()}else{clearTimeout(oe);oe=setTimeout(onTimeout,1e3);if(oe.unref){oe.unref()}}}class Timeout{constructor(re,ie,oe){this.callback=re;this.delay=ie;this.opaque=oe;this.state=-2;this.refresh()}refresh(){if(this.state===-2){se.push(this);if(!oe||se.length===1){refreshTimeout()}}this.state=0}clear(){this.state=-1}}re.exports={setTimeout(re,ie,oe){return ie<1e3?setTimeout(re,ie,oe):new Timeout(re,ie,oe)},clearTimeout(re){if(re instanceof Timeout){re.clear()}else{clearTimeout(re)}}}},35354:(re,ie,oe)=>{"use strict";const{randomBytes:se,createHash:ae}=oe(6113);const ce=oe(67643);const{uid:ue,states:le}=oe(19188);const{kReadyState:fe,kSentClose:de,kByteParser:pe,kReceivedClose:he}=oe(37578);const{fireEvent:Ae,failWebsocketConnection:ge}=oe(25515);const{CloseEvent:me}=oe(52611);const{makeRequest:ye}=oe(48359);const{fetching:ve}=oe(74881);const{Headers:be}=oe(10554);const{getGlobalDispatcher:we}=oe(21892);const{kHeadersList:_e}=oe(72785);const Ee={};Ee.open=ce.channel("undici:websocket:open");Ee.close=ce.channel("undici:websocket:close");Ee.socketError=ce.channel("undici:websocket:socket_error");function establishWebSocketConnection(re,ie,oe,ce,le){const fe=re;fe.protocol=re.protocol==="ws:"?"http:":"https:";const de=ye({urlList:[fe],serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error"});if(le.headers){const re=new be(le.headers)[_e];de.headersList=re}const pe=se(16).toString("base64");de.headersList.append("sec-websocket-key",pe);de.headersList.append("sec-websocket-version","13");for(const re of ie){de.headersList.append("sec-websocket-protocol",re)}const he="";const Ae=ve({request:de,useParallelQueue:true,dispatcher:le.dispatcher??we(),processResponse(re){if(re.type==="error"||re.status!==101){ge(oe,"Received network error or non-101 status code.");return}if(ie.length!==0&&!re.headersList.get("Sec-WebSocket-Protocol")){ge(oe,"Server did not respond with sent protocols.");return}if(re.headersList.get("Upgrade")?.toLowerCase()!=="websocket"){ge(oe,'Server did not set Upgrade header to "websocket".');return}if(re.headersList.get("Connection")?.toLowerCase()!=="upgrade"){ge(oe,'Server did not set Connection header to "upgrade".');return}const se=re.headersList.get("Sec-WebSocket-Accept");const le=ae("sha1").update(pe+ue).digest("base64");if(se!==le){ge(oe,"Incorrect hash received in Sec-WebSocket-Accept header.");return}const fe=re.headersList.get("Sec-WebSocket-Extensions");if(fe!==null&&fe!==he){ge(oe,"Received different permessage-deflate than the one set.");return}const Ae=re.headersList.get("Sec-WebSocket-Protocol");if(Ae!==null&&Ae!==de.headersList.get("Sec-WebSocket-Protocol")){ge(oe,"Protocol was not set in the opening handshake.");return}re.socket.on("data",onSocketData);re.socket.on("close",onSocketClose);re.socket.on("error",onSocketError);if(Ee.open.hasSubscribers){Ee.open.publish({address:re.socket.address(),protocol:Ae,extensions:fe})}ce(re)}});return Ae}function onSocketData(re){if(!this.ws[pe].write(re)){this.pause()}}function onSocketClose(){const{ws:re}=this;const ie=re[de]&&re[he];let oe=1005;let se="";const ae=re[pe].closingInfo;if(ae){oe=ae.code??1005;se=ae.reason}else if(!re[de]){oe=1006}re[fe]=le.CLOSED;Ae("close",re,me,{wasClean:ie,code:oe,reason:se});if(Ee.close.hasSubscribers){Ee.close.publish({websocket:re,code:oe,reason:se})}}function onSocketError(re){const{ws:ie}=this;ie[fe]=le.CLOSING;if(Ee.socketError.hasSubscribers){Ee.socketError.publish(re)}this.destroy()}re.exports={establishWebSocketConnection:establishWebSocketConnection}},19188:re=>{"use strict";const ie="258EAFA5-E914-47DA-95CA-C5AB0DC85B11";const oe={enumerable:true,writable:false,configurable:false};const se={CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3};const ae={CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10};const ce=2**16-1;const ue={INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4};const le=Buffer.allocUnsafe(0);re.exports={uid:ie,staticPropertyDescriptors:oe,states:se,opcodes:ae,maxUnsigned16Bit:ce,parserStates:ue,emptyBuffer:le}},52611:(re,ie,oe)=>{"use strict";const{webidl:se}=oe(21744);const{kEnumerableProperty:ae}=oe(83983);const{MessagePort:ce}=oe(71267);class MessageEvent extends Event{#o;constructor(re,ie={}){se.argumentLengthCheck(arguments,1,{header:"MessageEvent constructor"});re=se.converters.DOMString(re);ie=se.converters.MessageEventInit(ie);super(re,ie);this.#o=ie}get data(){se.brandCheck(this,MessageEvent);return this.#o.data}get origin(){se.brandCheck(this,MessageEvent);return this.#o.origin}get lastEventId(){se.brandCheck(this,MessageEvent);return this.#o.lastEventId}get source(){se.brandCheck(this,MessageEvent);return this.#o.source}get ports(){se.brandCheck(this,MessageEvent);if(!Object.isFrozen(this.#o.ports)){Object.freeze(this.#o.ports)}return this.#o.ports}initMessageEvent(re,ie=false,oe=false,ae=null,ce="",ue="",le=null,fe=[]){se.brandCheck(this,MessageEvent);se.argumentLengthCheck(arguments,1,{header:"MessageEvent.initMessageEvent"});return new MessageEvent(re,{bubbles:ie,cancelable:oe,data:ae,origin:ce,lastEventId:ue,source:le,ports:fe})}}class CloseEvent extends Event{#o;constructor(re,ie={}){se.argumentLengthCheck(arguments,1,{header:"CloseEvent constructor"});re=se.converters.DOMString(re);ie=se.converters.CloseEventInit(ie);super(re,ie);this.#o=ie}get wasClean(){se.brandCheck(this,CloseEvent);return this.#o.wasClean}get code(){se.brandCheck(this,CloseEvent);return this.#o.code}get reason(){se.brandCheck(this,CloseEvent);return this.#o.reason}}class ErrorEvent extends Event{#o;constructor(re,ie){se.argumentLengthCheck(arguments,1,{header:"ErrorEvent constructor"});super(re,ie);re=se.converters.DOMString(re);ie=se.converters.ErrorEventInit(ie??{});this.#o=ie}get message(){se.brandCheck(this,ErrorEvent);return this.#o.message}get filename(){se.brandCheck(this,ErrorEvent);return this.#o.filename}get lineno(){se.brandCheck(this,ErrorEvent);return this.#o.lineno}get colno(){se.brandCheck(this,ErrorEvent);return this.#o.colno}get error(){se.brandCheck(this,ErrorEvent);return this.#o.error}}Object.defineProperties(MessageEvent.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:true},data:ae,origin:ae,lastEventId:ae,source:ae,ports:ae,initMessageEvent:ae});Object.defineProperties(CloseEvent.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:true},reason:ae,code:ae,wasClean:ae});Object.defineProperties(ErrorEvent.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:true},message:ae,filename:ae,lineno:ae,colno:ae,error:ae});se.converters.MessagePort=se.interfaceConverter(ce);se.converters["sequence"]=se.sequenceConverter(se.converters.MessagePort);const ue=[{key:"bubbles",converter:se.converters.boolean,defaultValue:false},{key:"cancelable",converter:se.converters.boolean,defaultValue:false},{key:"composed",converter:se.converters.boolean,defaultValue:false}];se.converters.MessageEventInit=se.dictionaryConverter([...ue,{key:"data",converter:se.converters.any,defaultValue:null},{key:"origin",converter:se.converters.USVString,defaultValue:""},{key:"lastEventId",converter:se.converters.DOMString,defaultValue:""},{key:"source",converter:se.nullableConverter(se.converters.MessagePort),defaultValue:null},{key:"ports",converter:se.converters["sequence"],get defaultValue(){return[]}}]);se.converters.CloseEventInit=se.dictionaryConverter([...ue,{key:"wasClean",converter:se.converters.boolean,defaultValue:false},{key:"code",converter:se.converters["unsigned short"],defaultValue:0},{key:"reason",converter:se.converters.USVString,defaultValue:""}]);se.converters.ErrorEventInit=se.dictionaryConverter([...ue,{key:"message",converter:se.converters.DOMString,defaultValue:""},{key:"filename",converter:se.converters.USVString,defaultValue:""},{key:"lineno",converter:se.converters["unsigned long"],defaultValue:0},{key:"colno",converter:se.converters["unsigned long"],defaultValue:0},{key:"error",converter:se.converters.any}]);re.exports={MessageEvent:MessageEvent,CloseEvent:CloseEvent,ErrorEvent:ErrorEvent}},25444:(re,ie,oe)=>{"use strict";const{randomBytes:se}=oe(6113);const{maxUnsigned16Bit:ae}=oe(19188);class WebsocketFrameSend{constructor(re){this.frameData=re;this.maskKey=se(4)}createFrame(re){const ie=this.frameData?.byteLength??0;let oe=ie;let se=6;if(ie>ae){se+=8;oe=127}else if(ie>125){se+=2;oe=126}const ce=Buffer.allocUnsafe(ie+se);ce[0]=ce[1]=0;ce[0]|=128;ce[0]=(ce[0]&240)+re; -/*! ws. MIT License. Einar Otto Stangvik */ce[se-4]=this.maskKey[0];ce[se-3]=this.maskKey[1];ce[se-2]=this.maskKey[2];ce[se-1]=this.maskKey[3];ce[1]=oe;if(oe===126){ce.writeUInt16BE(ie,2)}else if(oe===127){ce[2]=ce[3]=0;ce.writeUIntBE(ie,4,6)}ce[1]|=128;for(let re=0;re{"use strict";const{Writable:se}=oe(12781);const ae=oe(67643);const{parserStates:ce,opcodes:ue,states:le,emptyBuffer:fe}=oe(19188);const{kReadyState:de,kSentClose:pe,kResponse:he,kReceivedClose:Ae}=oe(37578);const{isValidStatusCode:ge,failWebsocketConnection:me,websocketMessageReceived:ye}=oe(25515);const{WebsocketFrameSend:ve}=oe(25444);const be={};be.ping=ae.channel("undici:websocket:ping");be.pong=ae.channel("undici:websocket:pong");class ByteParser extends se{#s=[];#a=0;#c=ce.INFO;#u={};#l=[];constructor(re){super();this.ws=re}_write(re,ie,oe){this.#s.push(re);this.#a+=re.length;this.run(oe)}run(re){while(true){if(this.#c===ce.INFO){if(this.#a<2){return re()}const ie=this.consume(2);this.#u.fin=(ie[0]&128)!==0;this.#u.opcode=ie[0]&15;this.#u.originalOpcode??=this.#u.opcode;this.#u.fragmented=!this.#u.fin&&this.#u.opcode!==ue.CONTINUATION;if(this.#u.fragmented&&this.#u.opcode!==ue.BINARY&&this.#u.opcode!==ue.TEXT){me(this.ws,"Invalid frame type was fragmented.");return}const oe=ie[1]&127;if(oe<=125){this.#u.payloadLength=oe;this.#c=ce.READ_DATA}else if(oe===126){this.#c=ce.PAYLOADLENGTH_16}else if(oe===127){this.#c=ce.PAYLOADLENGTH_64}if(this.#u.fragmented&&oe>125){me(this.ws,"Fragmented frame exceeded 125 bytes.");return}else if((this.#u.opcode===ue.PING||this.#u.opcode===ue.PONG||this.#u.opcode===ue.CLOSE)&&oe>125){me(this.ws,"Payload length for control frame exceeded 125 bytes.");return}else if(this.#u.opcode===ue.CLOSE){if(oe===1){me(this.ws,"Received close frame with a 1-byte body.");return}const re=this.consume(oe);this.#u.closeInfo=this.parseCloseBody(false,re);if(!this.ws[pe]){const re=Buffer.allocUnsafe(2);re.writeUInt16BE(this.#u.closeInfo.code,0);const ie=new ve(re);this.ws[he].socket.write(ie.createFrame(ue.CLOSE),(re=>{if(!re){this.ws[pe]=true}}))}this.ws[de]=le.CLOSING;this.ws[Ae]=true;this.end();return}else if(this.#u.opcode===ue.PING){const ie=this.consume(oe);if(!this.ws[Ae]){const re=new ve(ie);this.ws[he].socket.write(re.createFrame(ue.PONG));if(be.ping.hasSubscribers){be.ping.publish({payload:ie})}}this.#c=ce.INFO;if(this.#a>0){continue}else{re();return}}else if(this.#u.opcode===ue.PONG){const ie=this.consume(oe);if(be.pong.hasSubscribers){be.pong.publish({payload:ie})}if(this.#a>0){continue}else{re();return}}}else if(this.#c===ce.PAYLOADLENGTH_16){if(this.#a<2){return re()}const ie=this.consume(2);this.#u.payloadLength=ie.readUInt16BE(0);this.#c=ce.READ_DATA}else if(this.#c===ce.PAYLOADLENGTH_64){if(this.#a<8){return re()}const ie=this.consume(8);const oe=ie.readUInt32BE(0);if(oe>2**31-1){me(this.ws,"Received payload length > 2^31 bytes.");return}const se=ie.readUInt32BE(4);this.#u.payloadLength=(oe<<8)+se;this.#c=ce.READ_DATA}else if(this.#c===ce.READ_DATA){if(this.#a=this.#u.payloadLength){const re=this.consume(this.#u.payloadLength);this.#l.push(re);if(!this.#u.fragmented||this.#u.fin&&this.#u.opcode===ue.CONTINUATION){const re=Buffer.concat(this.#l);ye(this.ws,this.#u.originalOpcode,re);this.#u={};this.#l.length=0}this.#c=ce.INFO}}if(this.#a>0){continue}else{re();break}}}consume(re){if(re>this.#a){return null}else if(re===0){return fe}if(this.#s[0].length===re){this.#a-=this.#s[0].length;return this.#s.shift()}const ie=Buffer.allocUnsafe(re);let oe=0;while(oe!==re){const se=this.#s[0];const{length:ae}=se;if(ae+oe===re){ie.set(this.#s.shift(),oe);break}else if(ae+oe>re){ie.set(se.subarray(0,re-oe),oe);this.#s[0]=se.subarray(re-oe);break}else{ie.set(this.#s.shift(),oe);oe+=se.length}}this.#a-=re;return ie}parseCloseBody(re,ie){let oe;if(ie.length>=2){oe=ie.readUInt16BE(0)}if(re){if(!ge(oe)){return null}return{code:oe}}let se=ie.subarray(2);if(se[0]===239&&se[1]===187&&se[2]===191){se=se.subarray(3)}if(oe!==undefined&&!ge(oe)){return null}try{se=new TextDecoder("utf-8",{fatal:true}).decode(se)}catch{return null}return{code:oe,reason:se}}get closingInfo(){return this.#u.closeInfo}}re.exports={ByteParser:ByteParser}},37578:re=>{"use strict";re.exports={kWebSocketURL:Symbol("url"),kReadyState:Symbol("ready state"),kController:Symbol("controller"),kResponse:Symbol("response"),kBinaryType:Symbol("binary type"),kSentClose:Symbol("sent close"),kReceivedClose:Symbol("received close"),kByteParser:Symbol("byte parser")}},25515:(re,ie,oe)=>{"use strict";const{kReadyState:se,kController:ae,kResponse:ce,kBinaryType:ue,kWebSocketURL:le}=oe(37578);const{states:fe,opcodes:de}=oe(19188);const{MessageEvent:pe,ErrorEvent:he}=oe(52611);function isEstablished(re){return re[se]===fe.OPEN}function isClosing(re){return re[se]===fe.CLOSING}function isClosed(re){return re[se]===fe.CLOSED}function fireEvent(re,ie,oe=Event,se){const ae=new oe(re,se);ie.dispatchEvent(ae)}function websocketMessageReceived(re,ie,oe){if(re[se]!==fe.OPEN){return}let ae;if(ie===de.TEXT){try{ae=new TextDecoder("utf-8",{fatal:true}).decode(oe)}catch{failWebsocketConnection(re,"Received invalid UTF-8 in text frame.");return}}else if(ie===de.BINARY){if(re[ue]==="blob"){ae=new Blob([oe])}else{ae=new Uint8Array(oe).buffer}}fireEvent("message",re,pe,{origin:re[le].origin,data:ae})}function isValidSubprotocol(re){if(re.length===0){return false}for(const ie of re){const re=ie.charCodeAt(0);if(re<33||re>126||ie==="("||ie===")"||ie==="<"||ie===">"||ie==="@"||ie===","||ie===";"||ie===":"||ie==="\\"||ie==='"'||ie==="/"||ie==="["||ie==="]"||ie==="?"||ie==="="||ie==="{"||ie==="}"||re===32||re===9){return false}}return true}function isValidStatusCode(re){if(re>=1e3&&re<1015){return re!==1004&&re!==1005&&re!==1006}return re>=3e3&&re<=4999}function failWebsocketConnection(re,ie){const{[ae]:oe,[ce]:se}=re;oe.abort();if(se?.socket&&!se.socket.destroyed){se.socket.destroy()}if(ie){fireEvent("error",re,he,{error:new Error(ie)})}}re.exports={isEstablished:isEstablished,isClosing:isClosing,isClosed:isClosed,fireEvent:fireEvent,isValidSubprotocol:isValidSubprotocol,isValidStatusCode:isValidStatusCode,failWebsocketConnection:failWebsocketConnection,websocketMessageReceived:websocketMessageReceived}},54284:(re,ie,oe)=>{"use strict";const{webidl:se}=oe(21744);const{DOMException:ae}=oe(41037);const{URLSerializer:ce}=oe(685);const{staticPropertyDescriptors:ue,states:le,opcodes:fe,emptyBuffer:de}=oe(19188);const{kWebSocketURL:pe,kReadyState:he,kController:Ae,kBinaryType:ge,kResponse:me,kSentClose:ye,kByteParser:ve}=oe(37578);const{isEstablished:be,isClosing:we,isValidSubprotocol:_e,failWebsocketConnection:Ee,fireEvent:Ce}=oe(25515);const{establishWebSocketConnection:Ie}=oe(35354);const{WebsocketFrameSend:Se}=oe(25444);const{ByteParser:Be}=oe(11688);const{kEnumerableProperty:xe,isBlobLike:ke}=oe(83983);const{getGlobalDispatcher:Oe}=oe(21892);const{types:De}=oe(73837);let Pe=false;class WebSocket extends EventTarget{#f={open:null,error:null,close:null,message:null};#d=0;#p="";#h="";constructor(re,ie=[]){super();se.argumentLengthCheck(arguments,1,{header:"WebSocket constructor"});if(!Pe){Pe=true;process.emitWarning("WebSockets are experimental, expect them to change at any time.",{code:"UNDICI-WS"})}const oe=se.converters["DOMString or sequence or WebSocketInit"](ie);re=se.converters.USVString(re);ie=oe.protocols;let ce;try{ce=new URL(re)}catch(re){throw new ae(re,"SyntaxError")}if(ce.protocol!=="ws:"&&ce.protocol!=="wss:"){throw new ae(`Expected a ws: or wss: protocol, got ${ce.protocol}`,"SyntaxError")}if(ce.hash){throw new ae("Got fragment","SyntaxError")}if(typeof ie==="string"){ie=[ie]}if(ie.length!==new Set(ie.map((re=>re.toLowerCase()))).size){throw new ae("Invalid Sec-WebSocket-Protocol value","SyntaxError")}if(ie.length>0&&!ie.every((re=>_e(re)))){throw new ae("Invalid Sec-WebSocket-Protocol value","SyntaxError")}this[pe]=ce;this[Ae]=Ie(ce,ie,this,(re=>this.#A(re)),oe);this[he]=WebSocket.CONNECTING;this[ge]="blob"}close(re=undefined,ie=undefined){se.brandCheck(this,WebSocket);if(re!==undefined){re=se.converters["unsigned short"](re,{clamp:true})}if(ie!==undefined){ie=se.converters.USVString(ie)}if(re!==undefined){if(re!==1e3&&(re<3e3||re>4999)){throw new ae("invalid code","InvalidAccessError")}}let oe=0;if(ie!==undefined){oe=Buffer.byteLength(ie);if(oe>123){throw new ae(`Reason must be less than 123 bytes; received ${oe}`,"SyntaxError")}}if(this[he]===WebSocket.CLOSING||this[he]===WebSocket.CLOSED){}else if(!be(this)){Ee(this,"Connection was closed before it was established.");this[he]=WebSocket.CLOSING}else if(!we(this)){const se=new Se;if(re!==undefined&&ie===undefined){se.frameData=Buffer.allocUnsafe(2);se.frameData.writeUInt16BE(re,0)}else if(re!==undefined&&ie!==undefined){se.frameData=Buffer.allocUnsafe(2+oe);se.frameData.writeUInt16BE(re,0);se.frameData.write(ie,2,"utf-8")}else{se.frameData=de}const ae=this[me].socket;ae.write(se.createFrame(fe.CLOSE),(re=>{if(!re){this[ye]=true}}));this[he]=le.CLOSING}else{this[he]=WebSocket.CLOSING}}send(re){se.brandCheck(this,WebSocket);se.argumentLengthCheck(arguments,1,{header:"WebSocket.send"});re=se.converters.WebSocketSendData(re);if(this[he]===WebSocket.CONNECTING){throw new ae("Sent before connected.","InvalidStateError")}if(!be(this)||we(this)){return}const ie=this[me].socket;if(typeof re==="string"){const oe=Buffer.from(re);const se=new Se(oe);const ae=se.createFrame(fe.TEXT);this.#d+=oe.byteLength;ie.write(ae,(()=>{this.#d-=oe.byteLength}))}else if(De.isArrayBuffer(re)){const oe=Buffer.from(re);const se=new Se(oe);const ae=se.createFrame(fe.BINARY);this.#d+=oe.byteLength;ie.write(ae,(()=>{this.#d-=oe.byteLength}))}else if(ArrayBuffer.isView(re)){const oe=Buffer.from(re,re.byteOffset,re.byteLength);const se=new Se(oe);const ae=se.createFrame(fe.BINARY);this.#d+=oe.byteLength;ie.write(ae,(()=>{this.#d-=oe.byteLength}))}else if(ke(re)){const oe=new Se;re.arrayBuffer().then((re=>{const se=Buffer.from(re);oe.frameData=se;const ae=oe.createFrame(fe.BINARY);this.#d+=se.byteLength;ie.write(ae,(()=>{this.#d-=se.byteLength}))}))}}get readyState(){se.brandCheck(this,WebSocket);return this[he]}get bufferedAmount(){se.brandCheck(this,WebSocket);return this.#d}get url(){se.brandCheck(this,WebSocket);return ce(this[pe])}get extensions(){se.brandCheck(this,WebSocket);return this.#h}get protocol(){se.brandCheck(this,WebSocket);return this.#p}get onopen(){se.brandCheck(this,WebSocket);return this.#f.open}set onopen(re){se.brandCheck(this,WebSocket);if(this.#f.open){this.removeEventListener("open",this.#f.open)}if(typeof re==="function"){this.#f.open=re;this.addEventListener("open",re)}else{this.#f.open=null}}get onerror(){se.brandCheck(this,WebSocket);return this.#f.error}set onerror(re){se.brandCheck(this,WebSocket);if(this.#f.error){this.removeEventListener("error",this.#f.error)}if(typeof re==="function"){this.#f.error=re;this.addEventListener("error",re)}else{this.#f.error=null}}get onclose(){se.brandCheck(this,WebSocket);return this.#f.close}set onclose(re){se.brandCheck(this,WebSocket);if(this.#f.close){this.removeEventListener("close",this.#f.close)}if(typeof re==="function"){this.#f.close=re;this.addEventListener("close",re)}else{this.#f.close=null}}get onmessage(){se.brandCheck(this,WebSocket);return this.#f.message}set onmessage(re){se.brandCheck(this,WebSocket);if(this.#f.message){this.removeEventListener("message",this.#f.message)}if(typeof re==="function"){this.#f.message=re;this.addEventListener("message",re)}else{this.#f.message=null}}get binaryType(){se.brandCheck(this,WebSocket);return this[ge]}set binaryType(re){se.brandCheck(this,WebSocket);if(re!=="blob"&&re!=="arraybuffer"){this[ge]="blob"}else{this[ge]=re}}#A(re){this[me]=re;const ie=new Be(this);ie.on("drain",(function onParserDrain(){this.ws[me].socket.resume()}));re.socket.ws=this;this[ve]=ie;this[he]=le.OPEN;const oe=re.headersList.get("sec-websocket-extensions");if(oe!==null){this.#h=oe}const se=re.headersList.get("sec-websocket-protocol");if(se!==null){this.#p=se}Ce("open",this)}}WebSocket.CONNECTING=WebSocket.prototype.CONNECTING=le.CONNECTING;WebSocket.OPEN=WebSocket.prototype.OPEN=le.OPEN;WebSocket.CLOSING=WebSocket.prototype.CLOSING=le.CLOSING;WebSocket.CLOSED=WebSocket.prototype.CLOSED=le.CLOSED;Object.defineProperties(WebSocket.prototype,{CONNECTING:ue,OPEN:ue,CLOSING:ue,CLOSED:ue,url:xe,readyState:xe,bufferedAmount:xe,onopen:xe,onerror:xe,onclose:xe,close:xe,onmessage:xe,binaryType:xe,send:xe,extensions:xe,protocol:xe,[Symbol.toStringTag]:{value:"WebSocket",writable:false,enumerable:false,configurable:true}});Object.defineProperties(WebSocket,{CONNECTING:ue,OPEN:ue,CLOSING:ue,CLOSED:ue});se.converters["sequence"]=se.sequenceConverter(se.converters.DOMString);se.converters["DOMString or sequence"]=function(re){if(se.util.Type(re)==="Object"&&Symbol.iterator in re){return se.converters["sequence"](re)}return se.converters.DOMString(re)};se.converters.WebSocketInit=se.dictionaryConverter([{key:"protocols",converter:se.converters["DOMString or sequence"],get defaultValue(){return[]}},{key:"dispatcher",converter:re=>re,get defaultValue(){return Oe()}},{key:"headers",converter:se.nullableConverter(se.converters.HeadersInit)}]);se.converters["DOMString or sequence or WebSocketInit"]=function(re){if(se.util.Type(re)==="Object"&&!(Symbol.iterator in re)){return se.converters.WebSocketInit(re)}return{protocols:se.converters["DOMString or sequence"](re)}};se.converters.WebSocketSendData=function(re){if(se.util.Type(re)==="Object"){if(ke(re)){return se.converters.Blob(re,{strict:false})}if(ArrayBuffer.isView(re)||De.isAnyArrayBuffer(re)){return se.converters.BufferSource(re)}}return se.converters.USVString(re)};re.exports={WebSocket:WebSocket}},70020:function(re,ie){ -/** @license URI.js v4.4.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */ -(function(re,oe){true?oe(ie):0})(this,(function(re){"use strict";function merge(){for(var re=arguments.length,ie=Array(re),oe=0;oe1){ie[0]=ie[0].slice(0,-1);var se=ie.length-1;for(var ae=1;ae= 0x80 (not a basic code point)","invalid-input":"Invalid input"};var be=ce-ue;var we=Math.floor;var _e=String.fromCharCode;function error$1(re){throw new RangeError(ve[re])}function map(re,ie){var oe=[];var se=re.length;while(se--){oe[se]=ie(re[se])}return oe}function mapDomain(re,ie){var oe=re.split("@");var se="";if(oe.length>1){se=oe[0]+"@";re=oe[1]}re=re.replace(ye,".");var ae=re.split(".");var ce=map(ae,ie).join(".");return se+ce}function ucs2decode(re){var ie=[];var oe=0;var se=re.length;while(oe=55296&&ae<=56319&&oe>1;re+=we(re/ie);for(;re>be*le>>1;se+=ce){re=we(re/be)}return we(se+(be+1)*re/(re+fe))};var Be=function decode(re){var ie=[];var oe=re.length;var se=0;var fe=he;var de=pe;var ge=re.lastIndexOf(Ae);if(ge<0){ge=0}for(var me=0;me=128){error$1("not-basic")}ie.push(re.charCodeAt(me))}for(var ye=ge>0?ge+1:0;ye=oe){error$1("invalid-input")}var Ee=Ce(re.charCodeAt(ye++));if(Ee>=ce||Ee>we((ae-se)/be)){error$1("overflow")}se+=Ee*be;var Ie=_e<=de?ue:_e>=de+le?le:_e-de;if(Eewe(ae/Be)){error$1("overflow")}be*=Be}var xe=ie.length+1;de=Se(se-ve,xe,ve==0);if(we(se/xe)>ae-fe){error$1("overflow")}fe+=we(se/xe);se%=xe;ie.splice(se++,0,fe)}return String.fromCodePoint.apply(String,ie)};var xe=function encode(re){var ie=[];re=ucs2decode(re);var oe=re.length;var se=he;var fe=0;var de=pe;var ge=true;var me=false;var ye=undefined;try{for(var ve=re[Symbol.iterator](),be;!(ge=(be=ve.next()).done);ge=true){var Ee=be.value;if(Ee<128){ie.push(_e(Ee))}}}catch(re){me=true;ye=re}finally{try{if(!ge&&ve.return){ve.return()}}finally{if(me){throw ye}}}var Ce=ie.length;var Be=Ce;if(Ce){ie.push(Ae)}while(Be=se&&Qewe((ae-fe)/Re)){error$1("overflow")}fe+=(xe-se)*Re;se=xe;var Me=true;var Ne=false;var je=undefined;try{for(var Le=re[Symbol.iterator](),Fe;!(Me=(Fe=Le.next()).done);Me=true){var Ue=Fe.value;if(Ueae){error$1("overflow")}if(Ue==se){var He=fe;for(var qe=ce;;qe+=ce){var Ke=qe<=de?ue:qe>=de+le?le:qe-de;if(He>6|192).toString(16).toUpperCase()+"%"+(ie&63|128).toString(16).toUpperCase();else oe="%"+(ie>>12|224).toString(16).toUpperCase()+"%"+(ie>>6&63|128).toString(16).toUpperCase()+"%"+(ie&63|128).toString(16).toUpperCase();return oe}function pctDecChars(re){var ie="";var oe=0;var se=re.length;while(oe=194&&ae<224){if(se-oe>=6){var ce=parseInt(re.substr(oe+4,2),16);ie+=String.fromCharCode((ae&31)<<6|ce&63)}else{ie+=re.substr(oe,6)}oe+=6}else if(ae>=224){if(se-oe>=9){var ue=parseInt(re.substr(oe+4,2),16);var le=parseInt(re.substr(oe+7,2),16);ie+=String.fromCharCode((ae&15)<<12|(ue&63)<<6|le&63)}else{ie+=re.substr(oe,9)}oe+=9}else{ie+=re.substr(oe,3);oe+=3}}return ie}function _normalizeComponentEncoding(re,ie){function decodeUnreserved(re){var oe=pctDecChars(re);return!oe.match(ie.UNRESERVED)?re:oe}if(re.scheme)re.scheme=String(re.scheme).replace(ie.PCT_ENCODED,decodeUnreserved).toLowerCase().replace(ie.NOT_SCHEME,"");if(re.userinfo!==undefined)re.userinfo=String(re.userinfo).replace(ie.PCT_ENCODED,decodeUnreserved).replace(ie.NOT_USERINFO,pctEncChar).replace(ie.PCT_ENCODED,toUpperCase);if(re.host!==undefined)re.host=String(re.host).replace(ie.PCT_ENCODED,decodeUnreserved).toLowerCase().replace(ie.NOT_HOST,pctEncChar).replace(ie.PCT_ENCODED,toUpperCase);if(re.path!==undefined)re.path=String(re.path).replace(ie.PCT_ENCODED,decodeUnreserved).replace(re.scheme?ie.NOT_PATH:ie.NOT_PATH_NOSCHEME,pctEncChar).replace(ie.PCT_ENCODED,toUpperCase);if(re.query!==undefined)re.query=String(re.query).replace(ie.PCT_ENCODED,decodeUnreserved).replace(ie.NOT_QUERY,pctEncChar).replace(ie.PCT_ENCODED,toUpperCase);if(re.fragment!==undefined)re.fragment=String(re.fragment).replace(ie.PCT_ENCODED,decodeUnreserved).replace(ie.NOT_FRAGMENT,pctEncChar).replace(ie.PCT_ENCODED,toUpperCase);return re}function _stripLeadingZeros(re){return re.replace(/^0*(.*)/,"$1")||"0"}function _normalizeIPv4(re,ie){var oe=re.match(ie.IPV4ADDRESS)||[];var ae=se(oe,2),ce=ae[1];if(ce){return ce.split(".").map(_stripLeadingZeros).join(".")}else{return re}}function _normalizeIPv6(re,ie){var oe=re.match(ie.IPV6ADDRESS)||[];var ae=se(oe,3),ce=ae[1],ue=ae[2];if(ce){var le=ce.toLowerCase().split("::").reverse(),fe=se(le,2),de=fe[0],pe=fe[1];var he=pe?pe.split(":").map(_stripLeadingZeros):[];var Ae=de.split(":").map(_stripLeadingZeros);var ge=ie.IPV4ADDRESS.test(Ae[Ae.length-1]);var me=ge?7:8;var ye=Ae.length-me;var ve=Array(me);for(var be=0;be1){var Ce=ve.slice(0,_e.index);var Ie=ve.slice(_e.index+_e.length);Ee=Ce.join(":")+"::"+Ie.join(":")}else{Ee=ve.join(":")}if(ue){Ee+="%"+ue}return Ee}else{return re}}var Te=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i;var Qe="".match(/(){0}/)[1]===undefined;function parse(re){var se=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var ae={};var ce=se.iri!==false?oe:ie;if(se.reference==="suffix")re=(se.scheme?se.scheme+":":"")+"//"+re;var ue=re.match(Te);if(ue){if(Qe){ae.scheme=ue[1];ae.userinfo=ue[3];ae.host=ue[4];ae.port=parseInt(ue[5],10);ae.path=ue[6]||"";ae.query=ue[7];ae.fragment=ue[8];if(isNaN(ae.port)){ae.port=ue[5]}}else{ae.scheme=ue[1]||undefined;ae.userinfo=re.indexOf("@")!==-1?ue[3]:undefined;ae.host=re.indexOf("//")!==-1?ue[4]:undefined;ae.port=parseInt(ue[5],10);ae.path=ue[6]||"";ae.query=re.indexOf("?")!==-1?ue[7]:undefined;ae.fragment=re.indexOf("#")!==-1?ue[8]:undefined;if(isNaN(ae.port)){ae.port=re.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?ue[4]:undefined}}if(ae.host){ae.host=_normalizeIPv6(_normalizeIPv4(ae.host,ce),ce)}if(ae.scheme===undefined&&ae.userinfo===undefined&&ae.host===undefined&&ae.port===undefined&&!ae.path&&ae.query===undefined){ae.reference="same-document"}else if(ae.scheme===undefined){ae.reference="relative"}else if(ae.fragment===undefined){ae.reference="absolute"}else{ae.reference="uri"}if(se.reference&&se.reference!=="suffix"&&se.reference!==ae.reference){ae.error=ae.error||"URI is not a "+se.reference+" reference."}var le=Pe[(se.scheme||ae.scheme||"").toLowerCase()];if(!se.unicodeSupport&&(!le||!le.unicodeSupport)){if(ae.host&&(se.domainHost||le&&le.domainHost)){try{ae.host=De.toASCII(ae.host.replace(ce.PCT_ENCODED,pctDecChars).toLowerCase())}catch(re){ae.error=ae.error||"Host's domain name can not be converted to ASCII via punycode: "+re}}_normalizeComponentEncoding(ae,ie)}else{_normalizeComponentEncoding(ae,ce)}if(le&&le.parse){le.parse(ae,se)}}else{ae.error=ae.error||"URI can not be parsed."}return ae}function _recomposeAuthority(re,se){var ae=se.iri!==false?oe:ie;var ce=[];if(re.userinfo!==undefined){ce.push(re.userinfo);ce.push("@")}if(re.host!==undefined){ce.push(_normalizeIPv6(_normalizeIPv4(String(re.host),ae),ae).replace(ae.IPV6ADDRESS,(function(re,ie,oe){return"["+ie+(oe?"%25"+oe:"")+"]"})))}if(typeof re.port==="number"||typeof re.port==="string"){ce.push(":");ce.push(String(re.port))}return ce.length?ce.join(""):undefined}var Re=/^\.\.?\//;var Me=/^\/\.(\/|$)/;var Ne=/^\/\.\.(\/|$)/;var je=/^\/?(?:.|\n)*?(?=\/|$)/;function removeDotSegments(re){var ie=[];while(re.length){if(re.match(Re)){re=re.replace(Re,"")}else if(re.match(Me)){re=re.replace(Me,"/")}else if(re.match(Ne)){re=re.replace(Ne,"/");ie.pop()}else if(re==="."||re===".."){re=""}else{var oe=re.match(je);if(oe){var se=oe[0];re=re.slice(se.length);ie.push(se)}else{throw new Error("Unexpected dot segment condition")}}}return ie.join("")}function serialize(re){var se=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var ae=se.iri?oe:ie;var ce=[];var ue=Pe[(se.scheme||re.scheme||"").toLowerCase()];if(ue&&ue.serialize)ue.serialize(re,se);if(re.host){if(ae.IPV6ADDRESS.test(re.host)){}else if(se.domainHost||ue&&ue.domainHost){try{re.host=!se.iri?De.toASCII(re.host.replace(ae.PCT_ENCODED,pctDecChars).toLowerCase()):De.toUnicode(re.host)}catch(ie){re.error=re.error||"Host's domain name can not be converted to "+(!se.iri?"ASCII":"Unicode")+" via punycode: "+ie}}}_normalizeComponentEncoding(re,ae);if(se.reference!=="suffix"&&re.scheme){ce.push(re.scheme);ce.push(":")}var le=_recomposeAuthority(re,se);if(le!==undefined){if(se.reference!=="suffix"){ce.push("//")}ce.push(le);if(re.path&&re.path.charAt(0)!=="/"){ce.push("/")}}if(re.path!==undefined){var fe=re.path;if(!se.absolutePath&&(!ue||!ue.absolutePath)){fe=removeDotSegments(fe)}if(le===undefined){fe=fe.replace(/^\/\//,"/%2F")}ce.push(fe)}if(re.query!==undefined){ce.push("?");ce.push(re.query)}if(re.fragment!==undefined){ce.push("#");ce.push(re.fragment)}return ce.join("")}function resolveComponents(re,ie){var oe=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};var se=arguments[3];var ae={};if(!se){re=parse(serialize(re,oe),oe);ie=parse(serialize(ie,oe),oe)}oe=oe||{};if(!oe.tolerant&&ie.scheme){ae.scheme=ie.scheme;ae.userinfo=ie.userinfo;ae.host=ie.host;ae.port=ie.port;ae.path=removeDotSegments(ie.path||"");ae.query=ie.query}else{if(ie.userinfo!==undefined||ie.host!==undefined||ie.port!==undefined){ae.userinfo=ie.userinfo;ae.host=ie.host;ae.port=ie.port;ae.path=removeDotSegments(ie.path||"");ae.query=ie.query}else{if(!ie.path){ae.path=re.path;if(ie.query!==undefined){ae.query=ie.query}else{ae.query=re.query}}else{if(ie.path.charAt(0)==="/"){ae.path=removeDotSegments(ie.path)}else{if((re.userinfo!==undefined||re.host!==undefined||re.port!==undefined)&&!re.path){ae.path="/"+ie.path}else if(!re.path){ae.path=ie.path}else{ae.path=re.path.slice(0,re.path.lastIndexOf("/")+1)+ie.path}ae.path=removeDotSegments(ae.path)}ae.query=ie.query}ae.userinfo=re.userinfo;ae.host=re.host;ae.port=re.port}ae.scheme=re.scheme}ae.fragment=ie.fragment;return ae}function resolve(re,ie,oe){var se=assign({scheme:"null"},oe);return serialize(resolveComponents(parse(re,se),parse(ie,se),se,true),se)}function normalize(re,ie){if(typeof re==="string"){re=serialize(parse(re,ie),ie)}else if(typeOf(re)==="object"){re=parse(serialize(re,ie),ie)}return re}function equal(re,ie,oe){if(typeof re==="string"){re=serialize(parse(re,oe),oe)}else if(typeOf(re)==="object"){re=serialize(re,oe)}if(typeof ie==="string"){ie=serialize(parse(ie,oe),oe)}else if(typeOf(ie)==="object"){ie=serialize(ie,oe)}return re===ie}function escapeComponent(re,se){return re&&re.toString().replace(!se||!se.iri?ie.ESCAPE:oe.ESCAPE,pctEncChar)}function unescapeComponent(re,se){return re&&re.toString().replace(!se||!se.iri?ie.PCT_ENCODED:oe.PCT_ENCODED,pctDecChars)}var Le={scheme:"http",domainHost:true,parse:function parse(re,ie){if(!re.host){re.error=re.error||"HTTP URIs must have a host."}return re},serialize:function serialize(re,ie){var oe=String(re.scheme).toLowerCase()==="https";if(re.port===(oe?443:80)||re.port===""){re.port=undefined}if(!re.path){re.path="/"}return re}};var Fe={scheme:"https",domainHost:Le.domainHost,parse:Le.parse,serialize:Le.serialize};function isSecure(re){return typeof re.secure==="boolean"?re.secure:String(re.scheme).toLowerCase()==="wss"}var Ue={scheme:"ws",domainHost:true,parse:function parse(re,ie){var oe=re;oe.secure=isSecure(oe);oe.resourceName=(oe.path||"/")+(oe.query?"?"+oe.query:"");oe.path=undefined;oe.query=undefined;return oe},serialize:function serialize(re,ie){if(re.port===(isSecure(re)?443:80)||re.port===""){re.port=undefined}if(typeof re.secure==="boolean"){re.scheme=re.secure?"wss":"ws";re.secure=undefined}if(re.resourceName){var oe=re.resourceName.split("?"),ae=se(oe,2),ce=ae[0],ue=ae[1];re.path=ce&&ce!=="/"?ce:undefined;re.query=ue;re.resourceName=undefined}re.fragment=undefined;return re}};var He={scheme:"wss",domainHost:Ue.domainHost,parse:Ue.parse,serialize:Ue.serialize};var qe={};var Ke=true;var Ve="[A-Za-z0-9\\-\\.\\_\\~"+(Ke?"\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF":"")+"]";var Je="[0-9A-Fa-f]";var We=subexp(subexp("%[EFef]"+Je+"%"+Je+Je+"%"+Je+Je)+"|"+subexp("%[89A-Fa-f]"+Je+"%"+Je+Je)+"|"+subexp("%"+Je+Je));var Ge="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]";var Ye="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]";var ze=merge(Ye,'[\\"\\\\]');var $e="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]";var Ze=new RegExp(Ve,"g");var Xe=new RegExp(We,"g");var et=new RegExp(merge("[^]",Ge,"[\\.]",'[\\"]',ze),"g");var tt=new RegExp(merge("[^]",Ve,$e),"g");var rt=tt;function decodeUnreserved(re){var ie=pctDecChars(re);return!ie.match(Ze)?re:ie}var nt={scheme:"mailto",parse:function parse$$1(re,ie){var oe=re;var se=oe.to=oe.path?oe.path.split(","):[];oe.path=undefined;if(oe.query){var ae=false;var ce={};var ue=oe.query.split("&");for(var le=0,fe=ue.length;le{"use strict";const se=oe(42577);const ae=oe(45591);const ce=oe(52068);const ue=new Set(["","›"]);const le=39;const fe="";const de="[";const pe="]";const he="m";const Ae=`${pe}8;;`;const wrapAnsi=re=>`${ue.values().next().value}${de}${re}${he}`;const wrapAnsiHyperlink=re=>`${ue.values().next().value}${Ae}${re}${fe}`;const wordLengths=re=>re.split(" ").map((re=>se(re)));const wrapWord=(re,ie,oe)=>{const ce=[...ie];let le=false;let de=false;let pe=se(ae(re[re.length-1]));for(const[ie,ae]of ce.entries()){const ge=se(ae);if(pe+ge<=oe){re[re.length-1]+=ae}else{re.push(ae);pe=0}if(ue.has(ae)){le=true;de=ce.slice(ie+1).join("").startsWith(Ae)}if(le){if(de){if(ae===fe){le=false;de=false}}else if(ae===he){le=false}continue}pe+=ge;if(pe===oe&&ie0&&re.length>1){re[re.length-2]+=re.pop()}};const stringVisibleTrimSpacesRight=re=>{const ie=re.split(" ");let oe=ie.length;while(oe>0){if(se(ie[oe-1])>0){break}oe--}if(oe===ie.length){return re}return ie.slice(0,oe).join(" ")+ie.slice(oe).join("")};const exec=(re,ie,oe={})=>{if(oe.trim!==false&&re.trim()===""){return""}let ae="";let pe;let he;const ge=wordLengths(re);let me=[""];for(const[ae,ce]of re.split(" ").entries()){if(oe.trim!==false){me[me.length-1]=me[me.length-1].trimStart()}let re=se(me[me.length-1]);if(ae!==0){if(re>=ie&&(oe.wordWrap===false||oe.trim===false)){me.push("");re=0}if(re>0||oe.trim===false){me[me.length-1]+=" ";re++}}if(oe.hard&&ge[ae]>ie){const oe=ie-re;const se=1+Math.floor((ge[ae]-oe-1)/ie);const ue=Math.floor((ge[ae]-1)/ie);if(ueie&&re>0&&ge[ae]>0){if(oe.wordWrap===false&&reie&&oe.wordWrap===false){wrapWord(me,ce,ie);continue}me[me.length-1]+=ce}if(oe.trim!==false){me=me.map(stringVisibleTrimSpacesRight)}const ye=[...me.join("\n")];for(const[re,ie]of ye.entries()){ae+=ie;if(ue.has(ie)){const{groups:ie}=new RegExp(`(?:\\${de}(?\\d+)m|\\${Ae}(?.*)${fe})`).exec(ye.slice(re).join(""))||{groups:{}};if(ie.code!==undefined){const re=Number.parseFloat(ie.code);pe=re===le?undefined:re}else if(ie.uri!==undefined){he=ie.uri.length===0?undefined:ie.uri}}const oe=ce.codes.get(Number(pe));if(ye[re+1]==="\n"){if(he){ae+=wrapAnsiHyperlink("")}if(pe&&oe){ae+=wrapAnsi(oe)}}else if(ie==="\n"){if(pe&&oe){ae+=wrapAnsi(pe)}if(he){ae+=wrapAnsiHyperlink(he)}}}return ae};re.exports=(re,ie,oe)=>String(re).normalize().replace(/\r\n/g,"\n").split("\n").map((re=>exec(re,ie,oe))).join("\n")},12777:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};var ue=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const le=ce(oe(34061));const fe=ue(oe(13111));const de=ue(oe(31849));const publicKeyToDid=re=>{const ie=`did:jwk:${le.base64url.encode(JSON.stringify(fe.default.format(re)))}`;return ie};const pe=["authentication","assertionMethod"];const he=["keyAgreement"];const Ae=[...pe,...he];const ge={ES256:Ae,ES384:Ae,EdDSA:pe,X25519:he,ES256K:pe};const me={document:{create:async re=>{const ie=publicKeyToDid(re);const oe=await de.default.create(re);const se={"@context":["https://www.w3.org/ns/did/v1",{"@vocab":"https://www.iana.org/assignments/jose#"}],id:ie,verificationMethod:[de.default.format({...oe,id:"#0",controller:ie})]};ge[re.alg].forEach((re=>{se[re]=["#0"]}));return se},identifier:{replace:(re,ie,oe)=>JSON.parse(JSON.stringify(re,(function replacer(re,se){if(se===ie){return oe}return se})))}}};const ye={did:me,key:fe.default,verificationMethod:de.default};ie["default"]=ye},78686:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.detachedHeaderParams=void 0;ie.detachedHeaderParams={b64:false,crit:["b64"]}},31849:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};var ue=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});ie.formatVerificationMethod=void 0;const le=ce(oe(34061));const fe=ue(oe(13111));const formatVerificationMethod=re=>{const ie={id:re.id,type:re.type,controller:re.controller,publicKeyJwk:re.publicKeyJwk};return JSON.parse(JSON.stringify(ie))};ie.formatVerificationMethod=formatVerificationMethod;const create=async re=>{const ie=await le.calculateJwkThumbprintUri(re);return{id:ie,type:"JsonWebKey",controller:ie,publicKeyJwk:fe.default.format(re)}};const dereferencePublicKey=async re=>le.importJWK(JSON.parse((new TextDecoder).decode(le.base64url.decode(re.split(":")[2].split("#")[0]))));const publicKeyToVerificationMethod=async re=>"#"+fe.default.uri.thumbprint(re);const de={id:publicKeyToVerificationMethod,format:ie.formatVerificationMethod,create:create,dereference:dereferencePublicKey};ie["default"]=de},3426:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ae=se(oe(99623));const setParam=(re,ie)=>{const oe=Object.keys(ie).length;ie[oe]=re;const se="$"+oe.toString();if((0,ae.default)(re,ae.default.ISO_8601).isValid()){return`datetime(${se})`}return se};const setProperties=(re,ie,oe)=>{let se="";if(Object.keys(ie).length>1){const{id:ae,labels:ce,target:ue,source:le,...fe}=ie;const de=Object.keys(fe);const pe=[];for(const ie in de){const se=de[ie];const ae=fe[de[ie]];pe.push(` SET ${re}.\`${se}\`=${setParam(ae,oe)}`)}se=pe.join("\n")+"\n"}return se};const addNodes=(re,ie,oe)=>{const se={};const ae=Object.values(re.nodes);for(const re in ae){const ce=ae[re];const{id:ue,labels:le}=ce;se[ue]=`n${re}`;const fe=Array.isArray(le)?le.join("`:`"):le;ie+=`MERGE (n${re}:\`${fe}\`{id:${setParam(ue,oe)}}) \n`;ie+=setProperties(`n${re}`,ce,oe)}return{nodes:se,query:ie,params:oe}};const addEdges=(re,ie,oe,se)=>{for(const ae in re.edges){const ce=re.edges[ae];const ue=ie[ce.source];const le=ie[ce.target];const fe=ce.label;oe+=`MERGE (${ue})-[e${ae}:\`${fe}\`]->(${le})\n`;oe+=setProperties(`e${ae}`,ce,se)}return oe};const removeEmptyLines=re=>re.split("\n").filter((re=>re!=="")).join("\n");const fromJsonGraph=async re=>{const ie={};const oe=addNodes(re,``,ie);oe.query=addEdges(re,oe.nodes,oe.query,ie);oe.query+=`RETURN ${Object.values(oe.nodes)}\n`;oe.query=removeEmptyLines(oe.query);oe.query+="\n";oe.params=ie;return oe};const makeInjectionVulnerable=({query:re,params:ie})=>{for(const oe of Object.keys(ie)){re=re.replace(`$${oe}`,ie[oe])}return re};const ce={fromJsonGraph:fromJsonGraph,makeInjectionVulnerable:makeInjectionVulnerable};ie["default"]=ce},82971:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};Object.defineProperty(ie,"__esModule",{value:true});const ue=ce(oe(34061));const signer=async re=>{const{alg:ie}=re;const oe=await ue.importJWK(re);return{sign:async(re,se={})=>new ue.CompactSign(re).setProtectedHeader({alg:ie,...se}).sign(oe)}};const verifier=async re=>{const{alg:ie}=re;const oe=await ue.importJWK(re);return{alg:ie,verify:async re=>{const{protectedHeader:ie,payload:se}=await ue.compactVerify(re,oe);return{protectedHeader:ie,payload:new Uint8Array(se)}}}};const le={signer:signer,verifier:verifier};ie["default"]=le},83683:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};Object.defineProperty(ie,"__esModule",{value:true});const ue=ce(oe(34061));const le=oe(78686);const signer=async re=>{const{alg:ie}=re;const oe=await ue.importJWK(re);return{sign:async(re,se={})=>new ue.FlattenedSign(re).setProtectedHeader({alg:ie,...se,...le.detachedHeaderParams}).sign(oe)}};const verifier=async re=>{const{alg:ie}=re;const oe=await ue.importJWK(re);return{alg:ie,verify:async re=>{const{protectedHeader:ie,payload:se}=await ue.flattenedVerify(re,oe);return{protectedHeader:ie,payload:se}}}};const fe={signer:signer,verifier:verifier};ie["default"]=fe},10671:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ae=se(oe(6113));const ce=oe(34061);const ue=new Uint8Array(32);ue[0]=1;ue[31]=1;const key=()=>ae.default.webcrypto.getRandomValues(new Uint8Array(32));const le={HS256:"sha256"};const signer=async re=>{const ie="HS256";const oe=le[ie];if(!oe){throw new Error("Unsupoorted HMAC")}return{export:(oe="#hmac")=>{const se={kid:oe,kty:"oct",alg:ie,use:"sig",key_ops:["sign"],k:ce.base64url.encode(re)};return se},sign:async ie=>{const se=ae.default.createHmac(oe,re);return new Uint8Array(se.update(ie).digest())}}};const fe={key:key,signer:signer,testKey:ue};ie["default"]=fe},13111:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};var ue=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const le=ce(oe(34061));const fe=ue(oe(82971));const de=ue(oe(83683));const generate=async({crv:re,alg:ie},oe=true)=>{if(ie==="ECDH-ES+A128KW"&&re===undefined){re="P-384"}if(ie==="HPKE-B0"){throw new Error("HPKE is not supported.")}const{publicKey:se,privateKey:ae}=await le.generateKeyPair(ie,{extractable:oe,crv:re});const ce=await le.exportJWK(se);const ue=await le.exportJWK(ae);ue.alg=ie;ue.kid=await le.calculateJwkThumbprintUri(ce);return formatJwk(ue)};const formatJwk=re=>{const{kid:ie,x5u:oe,x5c:se,x5t:ae,kty:ce,crv:ue,alg:le,use:fe,key_ops:de,x:pe,y:he,d:Ae,...ge}=re;return JSON.parse(JSON.stringify({kid:ie,kty:ce,crv:ue,alg:le,use:fe,key_ops:de,x:pe,y:he,d:Ae,x5u:oe,x5c:se,x5t:ae,...ge}))};const publicKeyToUri=async re=>le.calculateJwkThumbprintUri(re);const publicFromPrivate=re=>{const{d:ie,p:oe,q:se,dp:ae,dq:ce,qi:ue,key_ops:le,...fe}=re;return fe};const encryptToKey=async({publicKey:re,plaintext:ie})=>{const oe=await new le.FlattenedEncrypt(ie).setProtectedHeader({alg:re.alg,enc:"A256GCM"}).encrypt(await le.importJWK(re));return oe};const decryptWithKey=async({privateKey:re,ciphertext:ie})=>le.flattenedDecrypt(ie,await le.importJWK(re));const pe={generate:generate,format:formatJwk,uri:{thumbprint:publicKeyToUri},publicFromPrivate:publicFromPrivate,detached:de.default,attached:fe.default,recipient:{encrypt:encryptToKey,decrypt:decryptWithKey}};ie["default"]=pe},75243:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ae=se(oe(90250));const getLabelFromIri=re=>ae.default.startCase(re.split("/").pop().split("#").pop());const ce=["https://www.w3.org/2018/credentials#verifiableCredential"];const addLabelsFromEdge=(re,ie,oe,se)=>{const ae=re.edges.filter((re=>re.label===oe));ae.forEach((oe=>{const ae=re.nodes[oe[ie]];ae.labels=ae.labels.filter((re=>re!=="Node"));const ce=oe[se];ae.labels.push(ce)}))};const removeRdfTypes=re=>{const ie=re.edges.filter((re=>re.label==="http://www.w3.org/1999/02/22-rdf-syntax-ns#type"));ie.forEach((ie=>{const oe=re.nodes[ie.source];oe.labels=oe.labels.filter((re=>re!=="Node"));oe.labels.push(ie.target);delete re.nodes[ie.target];const se=re.edges.findIndex((re=>JSON.stringify(re)===JSON.stringify(ie)));re.edges.splice(se,1)}))};const readableEdges=re=>{re.edges=re.edges.map((re=>({...re,label:getLabelFromIri(re.label),predicate:re.label})))};const addVCDMVocab=re=>{re.edges.forEach((ie=>{if(ie.label&&ie.label.startsWith("https://www.w3.org/2018/credentials")){if(!ce.includes(ie.label)){addLabelsFromEdge(re,"target",ie.label,"label")}}if(ie.label&&ie.label.startsWith("https://www.w3.org/ns/credentials/examples")){if(!ce.includes(ie.label)){addLabelsFromEdge(re,"target",ie.label,"label")}}if(ie.label&&ie.label.startsWith("https://w3id.org/security")){if(ie.target&&ie.target.startsWith("https://w3id.org/security")){addLabelsFromEdge(re,"target",ie.label,"target")}else{addLabelsFromEdge(re,"target",ie.label,"label")}}}))};const annotateGraph=re=>{addVCDMVocab(re);removeRdfTypes(re);readableEdges(re);return re};ie["default"]=annotateGraph},58648:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ae=se(oe(11171));const ce=oe(43);const ue=se(oe(38419));const le=["subject","predicate","object","graph"];const signBlankNodeComponents=async({quad:re,signer:ie})=>{const oe=JSON.parse(JSON.stringify(re));for(const se of le){if(re[se].termType==="BlankNode"){oe[se].value=await ie.sign(re[se].value)}}return oe};const canonize=async({signer:re,labels:ie,document:oe,documentLoader:se})=>{if(!(oe&&typeof oe==="object")){throw new TypeError('"document" must be an object.')}const le=await ae.default.canonize(oe,{algorithm:"URDNA2015",format:"application/n-quads",documentLoader:se,safe:false});const fe=le.split("\n").sort().join("\n");const de=await(0,ue.default)({labels:ie,signer:re});const pe=await Promise.all(ce.NQuads.parse(fe).map((re=>signBlankNodeComponents({quad:re,signer:de}))));return pe.sort()};ie["default"]=canonize},90633:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ae=se(oe(47707));ie["default"]=ae.default},10509:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ae=se(oe(90633));const documentLoader=async re=>{if(ae.default[re]){return{document:ae.default[re]}}throw new Error("Unsupported iri: "+re)};ie["default"]=documentLoader},13330:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const oe={"@vocab":"https://www.iana.org/assignments/jose#"};ie["default"]=oe},42801:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};var ue=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const le=ce(oe(34061));const fe=ue(oe(58648));const de=ue(oe(10671));const pe=ue(oe(10509));const he=oe(18171);const Ae=ue(oe(75243));const ge=ue(oe(13330));const me=ue(oe(12359));const addGraphNode=({graph:re,id:ie})=>{re.nodes[ie]={...re.nodes[ie]||{id:ie,labels:["Node"]}}};const addGraphNodeProperty=(re,ie,oe,se)=>{re.nodes[ie]={...re.nodes[ie],[oe]:se}};const addGraphEdge=({graph:re,source:ie,label:oe,target:se})=>{re.edges.push(JSON.parse(JSON.stringify({source:ie,label:oe,target:se})))};const updateGraph=(re,ie)=>{addGraphNode({graph:re,id:ie.subject.value});if(!ie.object.datatype){addGraphNode({graph:re,id:ie.object.value});addGraphEdge({graph:re,source:ie.subject.value,label:ie.predicate.value,target:ie.object.value})}else{addGraphNodeProperty(re,ie.subject.value,ie.predicate.value,ie.object.value)}};const fromNQuads=re=>{const ie={nodes:{},edges:[]};re.forEach((re=>{updateGraph(ie,re)}));return ie};const fromJsonLd=async({document:re,signer:ie})=>{const oe=await(0,fe.default)({signer:ie,document:re,documentLoader:pe.default});return fromNQuads(oe)};const fromCredential=async re=>{const{proof:ie,...oe}=re;const se=de.default.key();const ae=await de.default.signer(se);const ce=await fromJsonLd({document:oe,signer:ae});if(ie!==undefined){const re=Array.isArray(ie)?ie:[ie];await Promise.all(re.map((async re=>{const ie=de.default.key();const se=await de.default.signer(ie);const ae=await fromJsonLd({document:{"@context":oe["@context"],...re},signer:se});const ue=Object.keys(ce.nodes)[0];const le=Object.keys(ae.nodes)[0];ce.nodes={...ce.nodes,...ae.nodes};ce.edges=[...ce.edges,{source:le,label:"https://w3id.org/security#proof",target:ue},...ae.edges]})))}return ce};const fromPresentation=async re=>{const{proof:ie,verifiableCredential:oe,...se}=re;const ae=de.default.key();const ce=await de.default.signer(ae);const ue=await fromJsonLd({document:se,signer:ce});if(oe!==undefined){const re=Array.isArray(oe)?oe:[oe];const ie=ue.edges.find((re=>re.target==="https://www.w3.org/2018/credentials#VerifiablePresentation"));await Promise.all(re.map((async re=>{const oe=Array.isArray(re.type)?re.type:[re.type];let se=undefined;if(oe.includes("EnvelopedVerifiableCredential")){if(re.id&&re.id.startsWith("data:application/vc+ld+json+sd-jwt;")){const ie=re.id.replace("data:application/vc+ld+json+sd-jwt;","");const oe=le.decodeJwt(ie);se=await fromCredential(oe)}if(re.id&&re.id.startsWith("data:application/vc+ld+json+jwt;")){const ie=re.id.replace("data:application/vc+ld+json+jwt;","");const oe=le.decodeJwt(ie);se=await fromCredential(oe)}}else{se=await fromCredential(re)}const ae=se.edges.find((re=>re.target==="https://www.w3.org/2018/credentials#VerifiableCredential"));const ce=ie.source;const fe=ae.source;ue.nodes={...ue.nodes,...se.nodes};ue.edges=[...ue.edges,{source:ce,label:"https://www.w3.org/2018/credentials#verifiableCredential",target:fe},...se.edges]})))}if(ie!==undefined){const oe=Array.isArray(ie)?ie:[ie];await Promise.all(oe.map((async ie=>{const oe=de.default.key();const se=await de.default.signer(oe);const ae=await fromJsonLd({document:{"@context":re["@context"],...ie},signer:se});const ce=Object.keys(ue.nodes)[0];const le=Object.keys(ae.nodes)[0];ue.nodes={...ue.nodes,...ae.nodes};ue.edges=[...ue.edges,{source:le,label:"https://w3id.org/security#proof",target:ce},...ae.edges]})))}return ue};const fromFlattendJws=async re=>{const ie=`${re.protected}.${re.payload}.${re.signature}`;const oe=le.decodeProtectedHeader(ie);const se=le.decodeJwt(ie);const ae=de.default.key();const ce=await de.default.signer(ae);const ue=await fromJsonLd({document:{"@context":ge.default,...oe},signer:ce});const fe=await fromDocument(se);const pe=Object.keys(ue.nodes)[0];const he=Object.keys(fe.nodes)[0];fe.nodes={...fe.nodes,...ue.nodes};fe.edges=[...fe.edges,{source:pe,label:"https://datatracker.ietf.org/doc/html/rfc7515#section-4",target:he},...ue.edges];return fe};const fromJsonWebKey=async re=>{const ie=await me.default.did.jwk.toDid(re);const oe=await me.default.did.jwk.resolve({id:ie,documentLoader:me.default.did.jwk.documentLoader});return fromDidDocument(oe)};const fromDidDocument=async re=>{const{verificationMethod:ie,...oe}=re;if(oe["@context"]===undefined){oe["@context"]=he.didCoreContext}const se=de.default.key();const ae=await de.default.signer(se);const ce=await fromJsonLd({document:oe,signer:ae});if(ie!==undefined){const re=Array.isArray(ie)?ie:[ie];await Promise.all(re.map((async re=>{const ie=de.default.key();const se=await de.default.signer(ie);const ae=await fromJsonLd({document:{"@context":oe["@context"],...re},signer:se});const ue=Object.keys(ce.nodes)[0];const le=Object.keys(ae.nodes)[0];ce.nodes={...ce.nodes,...ae.nodes};ce.edges=[...ce.edges,{source:le,label:"https://w3id.org/security#verificationMethod",target:ue},...ae.edges]})))}return ce};const suspectDidDocument=re=>{if(re.id&&re.id.startsWith("did:")){return true}if(re["@context"]&&Array.isArray(re["@context"])&&re["@context"].includes("https://www.w3.org/ns/did/v1")){return true}if(re.verificationMethod||re.authentication||re.assertionMethod||re.keyAgreement){return true}return false};const suspectJsonWebKey=re=>re.kty!==undefined;const fromDocument=async re=>{let ie;if(suspectJsonWebKey(re)){ie=await fromJsonWebKey(re)}else if(suspectDidDocument(re)){ie=await fromDidDocument(re)}else if(re.jwt||re.protected&&re.payload&&re.signature){let oe=re;if(re.jwt){const[ie,se,ae]=re.jwt.split(".");oe={protected:ie,payload:se,signature:ae}}ie=await fromFlattendJws(oe)}else if((0,he.isVC)(re)){ie=await fromCredential(re)}else if((0,he.isVP)(re)){ie=await fromPresentation(re)}else{const oe=de.default.key();const se=await de.default.signer(oe);ie=await fromJsonLd({document:re,signer:se})}const oe=(0,Ae.default)(ie);return oe};const ye={fromNQuads:fromNQuads,fromDocument:fromDocument,fromCredential:fromCredential};ie["default"]=ye},38419:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});const se=oe(34061);const ae=new TextEncoder;const remoteBlankNodeSigner=async({labels:re,signer:ie})=>re?{sign:async ie=>`_:${re.get(ie.slice(2))}`}:{sign:async re=>{const oe=ae.encode(re.slice(2));const ce=await ie.sign(oe);return`_:u${se.base64url.encode(ce)}`}};ie["default"]=remoteBlankNodeSigner},18171:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.didCoreContext=ie.isVP=ie.isVC=void 0;const oe="VerifiableCredential";const se="VerifiablePresentation";const isVC=re=>re.type&&(re.type===oe||re.type.includes(oe));ie.isVC=isVC;const isVP=re=>re.type&&(re.type===se||re.type.includes(se));ie.isVP=isVP;ie.didCoreContext=["https://www.w3.org/ns/did/v1",{"@vocab":"https://www.iana.org/assignments/jose#",kid:"@id",iss:"@id",sub:"@id",jku:"@id",x5u:"@id"}]},37250:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ae=se(oe(67962));const ce={ledgers:ae.default};ie["default"]=ce},67962:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ae=se(oe(42538));const ce={jsonFile:ae.default};ie["default"]=ce},42538:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ae=se(oe(57147));const ce=se(oe(71017));const transparency_log=re=>{const ie={create:async()=>{try{const oe=ae.default.readFileSync(ce.default.resolve(process.cwd(),re)).toString();const se=JSON.parse(oe);return ie}catch(oe){const se={name:"scitt-ledger",version:"0.0.0",leaves:[]};ae.default.writeFileSync(ce.default.resolve(process.cwd(),re),JSON.stringify(se,null,2));return ie}},append:async ie=>{const oe=ae.default.readFileSync(ce.default.resolve(process.cwd(),re)).toString();const se=JSON.parse(oe);se.leaves.push(ie);const ue={id:se.leaves.length-1,leaf:ie};ae.default.writeFileSync(ce.default.resolve(process.cwd(),re),JSON.stringify(se,null,2));return ue},getByIndex:async ie=>{const oe=ae.default.readFileSync(ce.default.resolve(process.cwd(),re)).toString();const se=JSON.parse(oe);const ue=se.leaves[ie];return{id:se.leaves.indexOf(ue),leaf:ue}},getByValue:async ie=>{const oe=ae.default.readFileSync(ce.default.resolve(process.cwd(),re)).toString();const se=JSON.parse(oe);const ue=se.leaves.find((re=>re===ie));if(ue===undefined){return undefined}return{id:se.leaves.indexOf(ue),leaf:ue}},allLogEntries:async()=>{const ie=ae.default.readFileSync(ce.default.resolve(process.cwd(),re)).toString();const oe=JSON.parse(ie);const se=oe.leaves.map(((re,ie)=>({id:ie,leaf:re})));return se},allLeaves:async()=>{const ie=ae.default.readFileSync(ce.default.resolve(process.cwd(),re)).toString();const oe=JSON.parse(ie);return oe.leaves}};return ie};ie["default"]=transparency_log},3182:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ae=se(oe(76683));const ce=se(oe(80020));const ue={vc:ae.default,vp:ce.default};ie["default"]=ue},76683:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};Object.defineProperty(ie,"__esModule",{value:true});const ue=ce(oe(34061));const signer=async re=>{const{alg:ie}=re;const oe=await ue.importJWK(re);return{sign:async(re,se={alg:ie,typ:"vc+ld+jwt"})=>new ue.FlattenedSign((new TextEncoder).encode(JSON.stringify(re))).setProtectedHeader(se).sign(oe)}};const verifier=async re=>{const{alg:ie}=re;const oe=await ue.importJWK(re);return{alg:ie,verify:async re=>{const{protectedHeader:ie,payload:se}=await ue.flattenedVerify(re,oe);return{protectedHeader:ie,claimset:JSON.parse(se.toString())}}}};const le={signer:signer,verifier:verifier};ie["default"]=le},80020:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};Object.defineProperty(ie,"__esModule",{value:true});const ue=ce(oe(34061));const signer=async re=>{const{alg:ie}=re;const oe=await ue.importJWK(re);return{sign:async(re,se={alg:ie,typ:"vp+ld+jwt"})=>new ue.FlattenedSign((new TextEncoder).encode(JSON.stringify(re))).setProtectedHeader(se).sign(oe)}};const verifier=async re=>{const{alg:ie}=re;const oe=await ue.importJWK(re);return{alg:ie,verify:async re=>{const{protectedHeader:ie,payload:se}=await ue.flattenedVerify(re,oe);return{protectedHeader:ie,claimset:JSON.parse(se.toString())}}}};const le={signer:signer,verifier:verifier};ie["default"]=le},86192:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ae=se(oe(57147));const ce=se(oe(71017));const ue=se(oe(12777));const le={create:async re=>{const{input:ie,output:oe,accept:se,id:le}=re;const fe=JSON.parse(ae.default.readFileSync(ce.default.resolve(process.cwd(),ie)).toString());let de=await ue.default.did.document.create(fe);de=ue.default.did.document.identifier.replace(de,de.id,le||de.id);de=ue.default.did.document.identifier.replace(de,"#0",`${de.id}#${fe.kid}`);if(se==="application/did+json"){delete de["@context"]}ae.default.writeFileSync(ce.default.resolve(process.cwd(),oe),JSON.stringify(de,null,2))}};const register=re=>{re.command("controller [action]","controller operations",{input:{alias:"i",description:"Path to input"},id:{alias:"id",description:"id of controller document"},output:{alias:"o",description:"Path to output"}},(async re=>{const{action:ie}=re;if(le[ie]){await le[ie](re)}}))};const fe={register:register};ie["default"]=fe},29746:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ae=se(oe(57147));const ce=se(oe(71017));const ue=se(oe(88844));const diagnose=async re=>{const{input:ie,output:oe}=re;const se=ae.default.readFileSync(ce.default.resolve(process.cwd(),ie));const le=await ue.default.rfc.diag(se);const fe=await ue.default.rfc.blocks(le);if(oe){ae.default.writeFileSync(ce.default.resolve(process.cwd(),oe),fe)}else{console.info(fe)}};ie["default"]=diagnose},76619:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ae=se(oe(29746));const ce={diagnose:ae.default};ie["default"]=ce},74473:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};Object.defineProperty(ie,"__esModule",{value:true});const ue=ce(oe(43806));ie["default"]=ue},72001:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ae=se(oe(11029));const ce=se(oe(14778));const ue={sign:ae.default,verify:ce.default};ie["default"]=ue},11029:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ae=se(oe(57147));const ce=se(oe(71017));const ue=se(oe(88844));const sign=async re=>{const{issuerKey:ie,input:oe,output:se,issuerKid:le,content_type:fe}=re;const de=JSON.parse(ae.default.readFileSync(ce.default.resolve(process.cwd(),ie)).toString());const pe=ae.default.readFileSync(ce.default.resolve(process.cwd(),oe));const he=await ue.default.detached.signer({privateKeyJwk:de});const Ae={alg:de.alg,kid:de.kid};if(le){Ae.kid=le}if(fe){Ae.content_type=fe}const ge=new Map;const{signature:me}=await he.sign({protectedHeader:Ae,unprotectedHeader:ge,payload:pe});if(se){ae.default.writeFileSync(ce.default.resolve(process.cwd(),se),Buffer.from(me))}else{console.info("Signature Header: ");console.info(JSON.stringify(Ae,null,2))}};ie["default"]=sign},14778:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ae=se(oe(57147));const ce=se(oe(71017));const ue=se(oe(88757));const le=se(oe(88844));const verify=async re=>{const{verifierKey:ie,input:oe,signature:se,output:fe}=re;const de=ae.default.readFileSync(ce.default.resolve(process.cwd(),oe));const pe=ae.default.readFileSync(ce.default.resolve(process.cwd(),se));let he;if(ie){he=JSON.parse(ae.default.readFileSync(ce.default.resolve(process.cwd(),ie)).toString())}else{const ie=le.default.getKid(pe);const oe=await ue.default.get(re.didResolver+"/"+ie,{headers:{"Content-Type":"application/did+json"}});const se=oe.data.didDocument?oe.data.didDocument:oe.data;const ae=se.verificationMethod.find((re=>ie===null||ie===void 0?void 0:ie.endsWith(re.id)));he=ae.publicKeyJwk}const Ae=await le.default.detached.verifier({publicKeyJwk:he});const ge=await Ae.verify({payload:de,signature:pe});const me={verified:ge};if(fe){ae.default.writeFileSync(ce.default.resolve(process.cwd(),fe),JSON.stringify(me,null,2))}else{console.info(me)}};ie["default"]=verify},43806:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});ie.handler=ie.builder=ie.describe=ie.command=void 0;const ae=se(oe(72001));const ce=se(oe(76619));ie.command="cose ";ie.describe="cose operations";const builder=re=>re.positional("resource",{describe:"The cose resource",type:"string"}).positional("action",{describe:"The operation on the cose resource",type:"string"}).option("env",{alias:"e",description:"Relative path to .env",demandOption:false}).option("detached",{alias:"d",description:"Detached payload",default:true}).option("iss",{alias:"iss",description:"Issuer id"}).option("kid",{alias:"kid",description:"Key id"}).option("input",{alias:"i",description:"File path as input"}).option("output",{alias:"o",description:"File path as output"});ie.builder=builder;const ue={key:ae.default,diagnostic:ce.default};const handler=async function(re){const{resource:ie,action:oe}=re;if(ue[ie][oe]){ue[ie][oe](re)}};ie.handler=handler},17202:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ae=se(oe(57147));const ce=se(oe(71017));const ue=se(oe(3182));const le={create:async re=>{const{input:ie,key:oe,output:se}=re;const le=JSON.parse(ae.default.readFileSync(ce.default.resolve(process.cwd(),oe)).toString());const fe=JSON.parse(ae.default.readFileSync(ce.default.resolve(process.cwd(),ie)).toString());const de=await ue.default.vc.signer(le);const pe=await de.sign(fe);ae.default.writeFileSync(ce.default.resolve(process.cwd(),se),JSON.stringify(pe,null,2))},verify:async re=>{const{input:ie,key:oe,output:se}=re;const le=JSON.parse(ae.default.readFileSync(ce.default.resolve(process.cwd(),oe)).toString());const fe=JSON.parse(ae.default.readFileSync(ce.default.resolve(process.cwd(),ie)).toString());const de=await ue.default.vc.verifier(le);const pe=await de.verify(fe);ae.default.writeFileSync(ce.default.resolve(process.cwd(),se),JSON.stringify(pe,null,2))}};const register=re=>{re.command("credential [action]","credential operations",{input:{alias:"i",description:"Path to input document",demandOption:true},output:{alias:"o",description:"Path to output document",demandOption:true},key:{alias:"k",description:"Path to key"}},(async re=>{const{action:ie}=re;if(le[ie]){await le[ie](re)}}))};const fe={register:register};ie["default"]=fe},27137:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};Object.defineProperty(ie,"__esModule",{value:true});const ue=ce(oe(17048));ie["default"]=ue},17048:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});ie.handler=ie.builder=ie.describe=ie.command=ie.resources=void 0;const ae=se(oe(53766));ie.resources={qrcode:ae.default};ie.command="digital-link ";ie.describe="digital-link operations";const builder=re=>re.positional("resource",{describe:"The digital-link resource",type:"string"}).positional("action",{describe:"The operation on the digital-link resource",type:"string"}).option("output",{alias:"o",description:"File path as output"}).option("env",{alias:"e",description:"Relative path to .env",demandOption:false}).option("issuer-key",{description:"Path to issuer private key (jwk)"}).option("issuer-kid",{description:"Identifier to use for issuer kid"}).option("holder-key",{description:"Path to holder private key (jwk)"}).option("holder-kid",{description:"Identifier to use for holder kid"}).option("did-resolver",{description:"Base URL of a digital-link did resolver api",default:"https://transmute.id/api"}).option("verifiable-credential",{description:"Path to a verifiable credential"}).option("verifiable-presentation",{description:"Path to a verifiable presentation"});ie.builder=builder;const handler=async function(re){const{resource:oe,action:se}=re;if(ie.resources[oe][se]){ie.resources[oe][se](re)}};ie.handler=handler},68227:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ae=se(oe(66718));const create=async re=>{ae.default.generate(re.url)};ie["default"]=create},53766:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ae=se(oe(68227));const ce={create:ae.default};ie["default"]=ce},80365:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};var ue=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const le=ue(oe(57147));const fe=ue(oe(71017));const de=ue(oe(42801));const pe=ce(oe(69042));const he=ue(oe(3426));const Ae=ue(oe(83373));const register=re=>{re.command("graph [action]","graph operations",{env:{alias:"e",description:"Relative path to .env"},accept:{alias:"a",description:"Acceptable content type"},input:{alias:"i",description:"File path as input"}},(async re=>{const{env:ie,accept:se,input:ae,unsafe:ce}=re;if(ie){oe(12437).config({path:ie});const re={json:le.default.readFileSync(fe.default.resolve(process.cwd(),ae)).toString(),neo4jUri:process.env.NEO4J_URI||"",neo4jUser:process.env.NEO4J_USERNAME||"",neo4jPassword:process.env.NEO4J_PASSWORD||""};const se=await(0,Ae.default)(re);console.info(JSON.stringify(se,null,2))}else if(se&&ae){if(se===pe.graphContentType){const re=JSON.parse(le.default.readFileSync(fe.default.resolve(process.cwd(),ae)).toString());const ie=await de.default.fromDocument(re);console.info(JSON.stringify({graph:ie},null,2))}if(se===pe.cypherContentType){const re=JSON.parse(le.default.readFileSync(fe.default.resolve(process.cwd(),ae)).toString());const ie=await de.default.fromDocument(re);const{query:oe,params:se}=await he.default.fromJsonGraph(ie);console.info(JSON.stringify({query:oe,params:se},null,2))}if(se===pe.rawCypherContentType){const re=JSON.parse(le.default.readFileSync(fe.default.resolve(process.cwd(),ae)).toString());const ie=await de.default.fromDocument(re);const{query:oe,params:se}=await he.default.fromJsonGraph(ie);if(!ce){console.info(JSON.stringify({query:oe,params:se},null,2))}console.info(he.default.makeInjectionVulnerable({query:oe,params:se}))}}}))};const ge={register:register};ie["default"]=ge},55038:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ae=se(oe(18822));const ce=se(oe(63434));const ue=se(oe(86192));const le=se(oe(17202));const fe=se(oe(28499));const de=se(oe(80365));const pe=se(oe(58106));const he=se(oe(74473));const Ae=se(oe(70618));const ge=se(oe(27137));const init=()=>{ae.default.scriptName("✨");ce.default.register(ae.default);ae.default.command(he.default);ae.default.command(Ae.default);ae.default.command(ge.default);ue.default.register(ae.default);le.default.register(ae.default);fe.default.register(ae.default);de.default.register(ae.default);ae.default.command(pe.default);ae.default.help().alias("help","h").demandCommand().argv};const me={init:init};ie["default"]=me},63025:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ae=se(oe(57147));const ce=se(oe(71017));const ue=se(oe(13111));const decryptWithKey=async({recipient:re,input:ie,output:oe})=>{const se=JSON.parse(ae.default.readFileSync(ce.default.resolve(process.cwd(),re)).toString());const le=JSON.parse(ae.default.readFileSync(ce.default.resolve(process.cwd(),ie)).toString());const fe=await ue.default.recipient.decrypt({privateKey:se,ciphertext:le});ae.default.writeFileSync(ce.default.resolve(process.cwd(),oe),fe.plaintext)};ie["default"]=decryptWithKey},79744:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ae=se(oe(57147));const ce=se(oe(71017));const ue=se(oe(13111));const encryptToKey=async({recipient:re,input:ie,output:oe})=>{const se=JSON.parse(ae.default.readFileSync(ce.default.resolve(process.cwd(),re)).toString());const le=ae.default.readFileSync(ce.default.resolve(process.cwd(),ie));const fe=await ue.default.recipient.encrypt({publicKey:se,plaintext:le});ae.default.writeFileSync(ce.default.resolve(process.cwd(),oe),JSON.stringify(fe,null,2))};ie["default"]=encryptToKey},13986:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ae=se(oe(57147));const ce=se(oe(71017));const ue=se(oe(13111));const exportKey=({input:re,output:ie})=>{const oe=JSON.parse(ae.default.readFileSync(ce.default.resolve(process.cwd(),re)).toString());const se=JSON.stringify(ue.default.publicFromPrivate(oe),null,2);const le=ce.default.resolve(process.cwd(),ie);ae.default.writeFileSync(le,se)};ie["default"]=exportKey},73258:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ae=se(oe(57147));const ce=se(oe(71017));const ue=se(oe(13111));const generateKey=async({crv:re,alg:ie,output:oe})=>{const se=await ue.default.generate({crv:re,alg:ie});const le=JSON.stringify(se,null,2);const fe=ce.default.resolve(process.cwd(),oe);ae.default.writeFileSync(fe,le)};ie["default"]=generateKey},63434:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ae=se(oe(73258));const ce=se(oe(13986));const ue=se(oe(79744));const le=se(oe(63025));const fe=se(oe(76503));const de=se(oe(41934));const pe={generate:ae.default,export:ce.default,encrypt:ue.default,decrypt:le.default,sign:fe.default,verify:de.default};const register=re=>{re.command("key [action]","key operations",{crv:{alias:"crv",description:"See https://www.iana.org/assignments/jose#web-key-elliptic-curve"},alg:{alias:"alg",description:"See https://www.iana.org/assignments/jose#web-signature-encryption-algorithms"},output:{alias:"o",description:"Path to output"}},(async re=>{const{action:ie}=re;if(pe[ie]){await pe[ie](re)}}))};const he={register:register};ie["default"]=he},76503:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ae=se(oe(57147));const ce=se(oe(71017));const ue=se(oe(29994));const le=se(oe(13111));const signWithKey=async({issuerKey:re,input:ie,output:oe})=>{const se=JSON.parse(ae.default.readFileSync(ce.default.resolve(process.cwd(),re)).toString());const fe=ae.default.readFileSync(ce.default.resolve(process.cwd(),ie));const de=ue.default.getType(ce.default.resolve(process.cwd(),ie));const pe=await le.default.detached.signer(se);const he=await pe.sign(fe,{cty:de});ae.default.writeFileSync(ce.default.resolve(process.cwd(),oe),JSON.stringify({protected:he.protected,signature:he.signature},null,2))};ie["default"]=signWithKey},41934:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ae=se(oe(57147));const ce=se(oe(71017));const ue=se(oe(13111));const verifyWithKey=async({verifierKey:re,input:ie,signature:oe,output:se})=>{const le=JSON.parse(ae.default.readFileSync(ce.default.resolve(process.cwd(),re)).toString());const fe=ae.default.readFileSync(ce.default.resolve(process.cwd(),ie));const de=JSON.parse(ae.default.readFileSync(ce.default.resolve(process.cwd(),oe)).toString());const pe=await ue.default.detached.verifier(le);const{protectedHeader:he}=await pe.verify({...de,payload:fe});ae.default.writeFileSync(ce.default.resolve(process.cwd(),se),JSON.stringify({verified:true,protectedHeader:he},null,2))};ie["default"]=verifyWithKey},58106:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};Object.defineProperty(ie,"__esModule",{value:true});const ue=ce(oe(48680));ie["default"]=ue},48680:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});ie.handler=ie.builder=ie.describe=ie.command=void 0;const ae=se(oe(73772));const ce=se(oe(83373));ie.command="platform ";ie.describe="platform operations";const builder=re=>re.positional("resource",{describe:"The platform resource",type:"string"}).positional("action",{describe:"The operation on the platform resource",type:"string"}).option("env",{alias:"e",description:"Relative path to .env",demandOption:true}).option("input",{alias:"i",description:"File path as input"}).option("output",{alias:"o",description:"File path as output"}).option("sent",{description:"Filter to only sent items"}).option("received",{description:"Filter to only received items"}).option("push-neo4j",{description:"Push to Neo4j"});ie.builder=builder;const ue={presentations:{list:async re=>{const{api:ie,received:oe,sent:se,pushNeo4j:ae}=re;const ue={items:[]};if(oe){const re=await ie.presentations.getPresentationsSharedWithMe();const oe=re.data;if(re.data){ue.page=oe.page;ue.count=oe.count;ue.items=[...ue.items,...oe.items.map((re=>re.verifiablePresentation))]}}if(se){const re=await ie.presentations.getPresentationsSharedWithOthers();const se=re.data;if(re.data){ue.page=se.page;ue.count=se.count;ue.items=[...ue.items,...se.items.map((re=>re.verifiablePresentation))]}if(oe){delete ue.page;delete ue.count}}if(!ae){console.info(JSON.stringify(ue,null,2))}else{const re=ue.items;for(const ie of re){try{const re={json:JSON.stringify({jwt:ie}),neo4jUri:process.env.NEO4J_URI||"",neo4jUser:process.env.NEO4J_USERNAME||"",neo4jPassword:process.env.NEO4J_PASSWORD||""};const oe=await(0,ce.default)(re);console.info(JSON.stringify(oe,null,2))}catch(re){console.info(JSON.stringify({error:re.message},null,2))}}}}}};const handler=async function(re){const{resource:ie,action:se,env:ce}=re;oe(12437).config({path:ce});const le=await ae.default.fromEnv({CLIENT_ID:process.env.CLIENT_ID,CLIENT_SECRET:process.env.CLIENT_SECRET,API_BASE_URL:process.env.API_BASE_URL,TOKEN_AUDIENCE:process.env.TOKEN_AUDIENCE});re.api=le;if(ue[ie][se]){ue[ie][se](re)}};ie.handler=handler},28499:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ae=se(oe(57147));const ce=se(oe(71017));const ue=se(oe(3182));const le={create:async re=>{const{input:ie,key:oe,output:se}=re;const le=JSON.parse(ae.default.readFileSync(ce.default.resolve(process.cwd(),oe)).toString());const fe=JSON.parse(ae.default.readFileSync(ce.default.resolve(process.cwd(),ie)).toString());const de=await ue.default.vp.signer(le);const pe=await de.sign(fe);ae.default.writeFileSync(ce.default.resolve(process.cwd(),se),JSON.stringify(pe,null,2))},verify:async re=>{const{input:ie,key:oe,output:se}=re;const le=JSON.parse(ae.default.readFileSync(ce.default.resolve(process.cwd(),oe)).toString());const fe=JSON.parse(ae.default.readFileSync(ce.default.resolve(process.cwd(),ie)).toString());const de=await ue.default.vp.verifier(le);const pe=await de.verify(fe);ae.default.writeFileSync(ce.default.resolve(process.cwd(),se),JSON.stringify(pe,null,2))}};const register=re=>{re.command("presentation [action]","presentation operations",{input:{alias:"i",description:"Path to input document",demandOption:true},output:{alias:"o",description:"Path to output document",demandOption:true},key:{alias:"k",description:"Path to key"}},(async re=>{const{action:ie}=re;if(le[ie]){await le[ie](re)}}))};const fe={register:register};ie["default"]=fe},36845:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};var ue=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const le=ue(oe(57147));const fe=ue(oe(71017));const de=ue(oe(6113));const pe=ue(oe(82315));const he=ce(oe(34061));const Ae=ue(oe(88844));pe.default.cryptoProvider.set(de.default);const ge=true;const me={ES256:{name:"ECDSA",hash:"SHA-256",namedCurve:"P-256"},ES384:{name:"ECDSA",hash:"SHA-384",namedCurve:"P-384"}};const createRootCertificate=async re=>{const ie=me[re.alg];const oe=await de.default.subtle.generateKey(ie,ge,["sign","verify"]);const se=[];if(re.subjectGuid){se.push({type:"guid",value:re.subjectGuid})}if(re.subjectDid){se.push({type:"url",value:re.subjectDid})}const ae=await pe.default.X509CertificateGenerator.create({serialNumber:"01",subject:re.subject,issuer:re.subject,notBefore:new Date(re.validFrom),notAfter:new Date(re.validUntil),signingAlgorithm:ie,publicKey:oe.publicKey,signingKey:oe.privateKey,extensions:[new pe.default.SubjectAlternativeNameExtension(se),await pe.default.SubjectKeyIdentifierExtension.create(oe.publicKey)]});const ce=ae.toString();const ue=await he.exportJWK(oe.privateKey);ue.alg=re.alg;ue.kid=await he.calculateJwkThumbprintUri(ue);const le=await he.exportJWK(oe.publicKey);le.alg=re.alg;le.kid=await he.calculateJwkThumbprintUri(le);return{subjectCertificate:ce,subjectPublicKey:JSON.stringify(le,null,2),subjectPrivateKey:JSON.stringify(ue,null,2)}};const createLeafCertificate=async re=>{const ie=le.default.readFileSync(fe.default.resolve(process.cwd(),re.issuerCertificate));const oe=new pe.default.X509Certificate(ie.toString());const se=me[re.alg];const ae=await de.default.subtle.generateKey(se,ge,["sign","verify"]);const ce=le.default.readFileSync(fe.default.resolve(process.cwd(),re.issuerPrivateKey));const ue=Ae.default.key.exportJWK(Ae.default.cbor.decode(ce));const ye=[];if(re.subjectGuid){ye.push({type:"guid",value:re.subjectGuid})}if(re.subjectDid){ye.push({type:"url",value:re.subjectDid})}const ve=await pe.default.X509CertificateGenerator.create({serialNumber:"01",subject:re.subject,issuer:oe.issuer,notBefore:new Date(re.validFrom),notAfter:new Date(re.validUntil),signingAlgorithm:se,publicKey:ae.publicKey,signingKey:await de.default.subtle.importKey("jwk",ue,se,true,["sign"]),extensions:[new pe.default.SubjectAlternativeNameExtension(ye),await pe.default.SubjectKeyIdentifierExtension.create(ae.publicKey)]});const be=new pe.default.X509ChainBuilder({certificates:[oe]});const we=await be.build(ve);const _e=we.map((re=>re.toString("base64")));const Ee=await he.importX509(ve.toString(),re.alg);const Ce=await he.exportJWK(Ee);Ce.kid=await he.calculateJwkThumbprintUri(Ce);Ce.alg=re.alg;Ce.x5c=_e;const Ie={...Ce,...await he.exportJWK(ae.privateKey)};delete Ie.x5c;const Se=ve.toString();return{subjectCertificate:Se,subjectPublicKey:JSON.stringify(Ce,null,2),subjectPrivateKey:JSON.stringify(Ie,null,2)}};const create=async re=>{let ie;if(!re.issuerCertificate){ie=await createRootCertificate(re);const oe=Ae.default.cbor.encode(Ae.default.key.importJWK(JSON.parse(ie.subjectPrivateKey)));le.default.writeFileSync(fe.default.resolve(process.cwd(),re.subjectPrivateKey),Buffer.from(oe));le.default.writeFileSync(fe.default.resolve(process.cwd(),re.subjectCertificate),Buffer.from(ie.subjectCertificate))}else{ie=await createLeafCertificate(re);const oe=Ae.default.key.importJWK(JSON.parse(ie.subjectPublicKey));const se=Ae.default.cbor.encode(oe);const ae=Ae.default.key.importJWK(JSON.parse(ie.subjectPrivateKey));ae.set(-66666,oe.get(-66666));const ce=Ae.default.cbor.encode(ae);le.default.writeFileSync(fe.default.resolve(process.cwd(),re.subjectPublicKey),Buffer.from(se));le.default.writeFileSync(fe.default.resolve(process.cwd(),re.subjectPrivateKey),Buffer.from(ce));le.default.writeFileSync(fe.default.resolve(process.cwd(),re.subjectCertificate),Buffer.from(ie.subjectCertificate))}};ie["default"]=create},93798:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ae=se(oe(36845));const ce={create:ae.default};ie["default"]=ce},70618:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};Object.defineProperty(ie,"__esModule",{value:true});const ue=ce(oe(70587));ie["default"]=ue},57730:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ae=se(oe(57147));const ce=se(oe(71017));const ue=se(oe(88844));const diagnose=async re=>{const ie=ae.default.readFileSync(ce.default.resolve(process.cwd(),re.input));const oe=ue.default.cbor.decode(ie);const se=ue.default.key.edn(oe);const le=re.output.endsWith(".md")?`\n~~~~ cbor-diag\n${se}\n~~~~\n `.trim():se;ae.default.writeFileSync(ce.default.resolve(process.cwd(),re.output),Buffer.from(le))};ie["default"]=diagnose},32441:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ae=se(oe(57147));const ce=se(oe(71017));const ue=se(oe(88844));const exportKey=async re=>{const ie=ae.default.readFileSync(ce.default.resolve(process.cwd(),re.input));const oe=ue.default.cbor.decode(ie);const se=ue.default.key.utils.publicFromPrivate(oe);const le=ue.default.cbor.encode(se);ae.default.writeFileSync(ce.default.resolve(process.cwd(),re.output),Buffer.from(le))};ie["default"]=exportKey},40041:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ae=se(oe(57147));const ce=se(oe(71017));const ue=se(oe(88844));const generate=async re=>{const ie=await ue.default.key.generate(parseInt(re.alg,10));const oe=await ue.default.key.thumbprint.calculateCoseKeyThumbprint(ie);ie.set(2,oe);const se=ue.default.cbor.encode(ie);ae.default.writeFileSync(ce.default.resolve(process.cwd(),re.output),Buffer.from(se))};ie["default"]=generate},56652:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ae=se(oe(40041));const ce=se(oe(32441));const ue=se(oe(57730));const le={generate:ae.default,export:ce.default,diagnose:ue.default};ie["default"]=le},60409:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ae=se(oe(11318));const ce={receipt:ae.default};ie["default"]=ce},11318:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ae=se(oe(66934));const ce={issue:ae.default};ie["default"]=ce},66934:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ae=se(oe(57147));const ce=se(oe(71017));const ue=se(oe(88844));const le=se(oe(37250));const issue=async re=>{const ie=ae.default.readFileSync(ce.default.resolve(process.cwd(),re.signedStatement));const oe=ce.default.resolve(process.cwd(),re.ledger);const se=await le.default.ledgers.jsonFile(oe).create();const fe=ue.default.binToHex(ue.default.merkle.leaf(ie));const de=await se.append(fe);if(!re.issuerKey){console.log("success.",de)}else{const oe=ae.default.readFileSync(ce.default.resolve(process.cwd(),re.issuerKey));const le=ue.default.cbor.decode(oe);const fe=await se.allLeaves();const pe=await ue.default.scitt.receipt.issue({iss:re.iss,sub:re.sub,index:de.id,leaves:fe.map(ue.default.hexToBin),secretCoseKey:le});if(re.transparentStatement){const oe=ue.default.scitt.statement.addReceipt({statement:ie,receipt:pe});const se=ce.default.resolve(process.cwd(),re.transparentStatement);ae.default.writeFileSync(se,oe);const le=await ue.default.rfc.diag(oe);console.log(await ue.default.rfc.blocks(le))}else{const re=await ue.default.rfc.diag(Buffer.from(pe));console.log(await ue.default.rfc.blocks(re))}}};ie["default"]=issue},70587:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});ie.handler=ie.builder=ie.describe=ie.command=ie.resources=void 0;const ae=se(oe(56652));const ce=se(oe(84030));const ue=se(oe(60409));const le=se(oe(8143));const fe=se(oe(93798));ie.resources={certificate:fe.default,key:ae.default,statement:ce.default,ledger:ue.default,transparent:le.default};ie.command="scitt [action2]";ie.describe="scitt operations";const builder=re=>re.positional("resource",{describe:"The scitt resource",type:"string"}).positional("action",{describe:"The operation on the scitt resource",type:"string"}).option("env",{alias:"e",description:"Relative path to .env",demandOption:false}).option("output",{alias:"o",description:"File path as output"}).option("issuer-key",{description:"Path to issuer private key (jwk)"}).option("issuer-kid",{description:"Identifier to use for kid"}).option("did-resolver",{description:"Base URL of a did resolver api",default:"https://transmute.id/api"}).option("transparency-service",{description:"Base URL of a scitt transparency service api",default:"http://localhost:3000/api/did:web:scitt.xyz"}).option("statement",{description:"Path to statement"}).option("signed-statement",{description:"Path to signed-statement"}).option("receipt",{description:"Path to receipt"}).option("transparent-statement",{description:"Path to transparent-statement"});ie.builder=builder;const handler=async function(re){const{resource:oe,action:se,action2:ae}=re;if(ae){ie.resources[oe][se][ae](re)}else if(ie.resources[oe][se]){ie.resources[oe][se](re)}};ie.handler=handler},56743:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ae=se(oe(57147));const ce=se(oe(71017));const ue=se(oe(88844));const diagnose=async re=>{const ie=ae.default.readFileSync(ce.default.resolve(process.cwd(),re.input));const oe=await ue.default.rfc.diag(ie);const se=ue.default.rfc.blocks(oe);const le=re.output.endsWith(".md")?se:oe.join("\n\n");ae.default.writeFileSync(ce.default.resolve(process.cwd(),re.output),Buffer.from(le))};ie["default"]=diagnose},84030:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ae=se(oe(38359));const ce=se(oe(3715));const ue=se(oe(6799));const le=se(oe(56743));const fe={issue:ae.default,verify:ce.default,verifyx5c:ue.default,diagnose:le.default};ie["default"]=fe},38359:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ae=se(oe(57147));const ce=se(oe(71017));const ue=se(oe(29994));const le=se(oe(88844));const issue=async re=>{const ie=ae.default.readFileSync(ce.default.resolve(process.cwd(),re.statement));const oe=ae.default.readFileSync(ce.default.resolve(process.cwd(),re.issuerKey));const se=le.default.cbor.decode(oe);const fe=ue.default.getType(ce.default.resolve(process.cwd(),re.statement));const de=await le.default.scitt.statement.issue({iss:re.iss,sub:re.sub,cty:re.cty||fe,x5c:se.get(-66666)||undefined,payload:ie,secretCoseKey:se});ae.default.writeFileSync(ce.default.resolve(process.cwd(),re.signedStatement),Buffer.from(de))};ie["default"]=issue},3715:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ae=se(oe(57147));const ce=se(oe(71017));const ue=se(oe(88844));const verify=async re=>{const ie=ae.default.readFileSync(ce.default.resolve(process.cwd(),re.issuerKey));const oe=ue.default.cbor.decode(ie);const se=ae.default.readFileSync(ce.default.resolve(process.cwd(),re.statement));const le=ae.default.readFileSync(ce.default.resolve(process.cwd(),re.signedStatement));const fe=await ue.default.scitt.statement.verify({statement:se,signedStatement:le,publicCoseKey:oe});const de=JSON.stringify({verification:fe},null,2);if(re.output){ae.default.writeFileSync(ce.default.resolve(process.cwd(),re.signedStatement),Buffer.from(de))}else{console.log(de)}};ie["default"]=verify},37159:(re,ie,oe)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.verifyX5C=void 0;const se=oe(6113);const ae=oe(82315);const ce=oe(34061);ae.cryptoProvider.set(se);const x5t=(re,ie)=>ce.base64url.encode(se.createHash(re).update(Buffer.from(ie,"base64")).digest());const verifyCertificateChain=async({alg:re,x5c:ie},oe)=>{const se={};const ue=await ie.reduce((async(se,ue,le)=>{const fe=await se;const de=new ae.X509Certificate(ue);const pe=await ce.importX509(de.toString(),re);const he=await ce.exportJWK(pe);he.alg=re;he.kid=await ce.calculateJwkThumbprintUri(he);he["x5t#S256"]=x5t("sha256",ue);he.x5c=ie.slice(le,ie.length);fe.keys=fe.keys||[he];if(fe.previous===undefined){fe.previous=ue}else{const re=new ae.X509Certificate(fe.previous);const ie=await re.verify({date:oe,publicKey:await de.publicKey.export()});if(ie){fe.keys.push(he);fe.previous=ue}else{throw new Error("Failed to verify x5c.")}}return fe}),se);const le=new ae.X509Certificate(ue.previous);const fe=await le.verify({date:oe});const de=await le.isSelfSigned();if(!de){throw new Error("Root certificate must be self signed.")}if(!fe){throw new Error("Root certificate failed to verify.")}delete ue.previous;return ue};const verifyX5C=async(re,ie,oe)=>{const se=await verifyCertificateChain({alg:re,x5c:ie},oe);return se};ie.verifyX5C=verifyX5C},6799:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ae=se(oe(57147));const ce=se(oe(71017));const ue=se(oe(88844));const le=oe(37159);const verifyx5c=async re=>{const ie=ae.default.readFileSync(ce.default.resolve(process.cwd(),re.statement));const oe=ae.default.readFileSync(ce.default.resolve(process.cwd(),re.signedStatement));const se=ue.default.scitt.statement.x5c(oe);const fe=new Date(re.date||(new Date).toISOString());const de=await(0,le.verifyX5C)("ES384",se,fe);const pe=ue.default.key.importJWK(de.keys[0]);const he=await ue.default.scitt.statement.verify({statement:ie,signedStatement:oe,publicCoseKey:pe});const Ae=JSON.stringify({verification:he,jwks:de},null,2);if(re.output){ae.default.writeFileSync(ce.default.resolve(process.cwd(),re.signedStatement),Buffer.from(Ae))}else{console.log(Ae)}};ie["default"]=verifyx5c},8143:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ae=se(oe(24159));const ce={statement:ae.default};ie["default"]=ce},24159:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ae=se(oe(69448));const ce={verify:ae.default};ie["default"]=ce},69448:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ae=se(oe(57147));const ce=se(oe(71017));const ue=se(oe(88844));const verify=async re=>{const ie=ae.default.readFileSync(ce.default.resolve(process.cwd(),re.statement));const oe=ae.default.readFileSync(ce.default.resolve(process.cwd(),re.transparentStatement));const se=ue.default.cbor.decode(ae.default.readFileSync(ce.default.resolve(process.cwd(),re.issuerKey)));const le=ue.default.cbor.decode(ae.default.readFileSync(ce.default.resolve(process.cwd(),re.transparencyServiceKey)));const fe=await ue.default.scitt.statement.verify({statement:ie,signedStatement:oe,publicCoseKey:se});if(fe){console.log(`✅ verified: ${re.statement}`)}else{console.log(`❌ verified: ${re.statement}`)}const{entry:de,receipts:pe}=await ue.default.scitt.statement.getEntryReceipts({transparentStatement:oe});const[he]=pe;const Ae=await ue.default.scitt.receipt.verify({entry:de,receipt:he,publicCoseKey:le});if(Ae){console.log(`✅ verified: ${re.transparentStatement}`)}else{console.log(`❌ verified: ${re.transparentStatement}`)}};ie["default"]=verify},69042:(re,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:true});ie.rawCypherContentType=ie.cypherContentType=ie.graphContentType=void 0;ie.graphContentType=`application/vnd.transmute.graph+json`;ie.cypherContentType=`application/vnd.transmute.cypher+json`;ie.rawCypherContentType=`application/vnd.transmute.cypher`},63354:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};Object.defineProperty(ie,"__esModule",{value:true});const ue=ce(oe(42186));const getOptions=()=>({json:ue.getInput("json"),neo4jUri:ue.getInput("neo4j-uri"),neo4jUser:ue.getInput("neo4j-user"),neo4jPassword:ue.getInput("neo4j-password")});ie["default"]=getOptions},83373:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const ae=se(oe(88921));const operationSwitch=async re=>{try{return(0,ae.default)(re)}catch(re){console.error(re);throw new Error("Action does not support the options provided")}};ie["default"]=operationSwitch},88921:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};Object.defineProperty(ie,"__esModule",{value:true});const ue=ce(oe(34808));const operations=async re=>{if(re.neo4jUri){return ue.run(re)}};ie["default"]=operations},34808:function(re,ie,oe){"use strict";var se=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});ie.run=void 0;const ae=se(oe(42934));const ce=se(oe(42801));const ue=se(oe(3426));const run=async re=>{const ie=ae.default.driver(re.neo4jUri,ae.default.auth.basic(re.neo4jUser,re.neo4jPassword));const oe=ie.session();const se=JSON.parse(re.json);const le=await ce.default.fromDocument(se);const{query:fe,params:de}=await ue.default.fromJsonGraph(le);await oe.run(fe,de);await oe.close();await ie.close();return{query:fe,params:de}};ie.run=run},7764:function(re,ie,oe){"use strict";var se=this&&this.__createBinding||(Object.create?function(re,ie,oe,se){if(se===undefined)se=oe;var ae=Object.getOwnPropertyDescriptor(ie,oe);if(!ae||("get"in ae?!ie.__esModule:ae.writable||ae.configurable)){ae={enumerable:true,get:function(){return ie[oe]}}}Object.defineProperty(re,se,ae)}:function(re,ie,oe,se){if(se===undefined)se=oe;re[se]=ie[oe]});var ae=this&&this.__setModuleDefault||(Object.create?function(re,ie){Object.defineProperty(re,"default",{enumerable:true,value:ie})}:function(re,ie){re["default"]=ie});var ce=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var ie={};if(re!=null)for(var oe in re)if(oe!=="default"&&Object.prototype.hasOwnProperty.call(re,oe))se(ie,re,oe);ae(ie,re);return ie};var ue=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(ie,"__esModule",{value:true});const le=ce(oe(42186));const fe=ue(oe(63354));const de=ue(oe(83373));const pe=ue(oe(55038));async function run(){try{if(process.env.GITHUB_ACTION){const re=(0,fe.default)();await(0,de.default)(re)}else{await pe.default.init()}}catch(re){le.setFailed(re.message)}}run()},12276:module=>{module.exports=eval("require")("rdf-canonize-native")},35670:re=>{function webpackEmptyContext(re){var ie=new Error("Cannot find module '"+re+"'");ie.code="MODULE_NOT_FOUND";throw ie}webpackEmptyContext.keys=()=>[];webpackEmptyContext.resolve=webpackEmptyContext;webpackEmptyContext.id=35670;re.exports=webpackEmptyContext},49167:re=>{function webpackEmptyContext(re){var ie=new Error("Cannot find module '"+re+"'");ie.code="MODULE_NOT_FOUND";throw ie}webpackEmptyContext.keys=()=>[];webpackEmptyContext.resolve=webpackEmptyContext;webpackEmptyContext.id=49167;re.exports=webpackEmptyContext},24907:re=>{function webpackEmptyContext(re){var ie=new Error("Cannot find module '"+re+"'");ie.code="MODULE_NOT_FOUND";throw ie}webpackEmptyContext.keys=()=>[];webpackEmptyContext.resolve=webpackEmptyContext;webpackEmptyContext.id=24907;re.exports=webpackEmptyContext},39491:re=>{"use strict";re.exports=require("assert")},50852:re=>{"use strict";re.exports=require("async_hooks")},14300:re=>{"use strict";re.exports=require("buffer")},96206:re=>{"use strict";re.exports=require("console")},22057:re=>{"use strict";re.exports=require("constants")},6113:re=>{"use strict";re.exports=require("crypto")},67643:re=>{"use strict";re.exports=require("diagnostics_channel")},9523:re=>{"use strict";re.exports=require("dns")},82361:re=>{"use strict";re.exports=require("events")},57147:re=>{"use strict";re.exports=require("fs")},13685:re=>{"use strict";re.exports=require("http")},95687:re=>{"use strict";re.exports=require("https")},41808:re=>{"use strict";re.exports=require("net")},72254:re=>{"use strict";re.exports=require("node:buffer")},87561:re=>{"use strict";re.exports=require("node:fs")},88849:re=>{"use strict";re.exports=require("node:http")},22286:re=>{"use strict";re.exports=require("node:https")},87503:re=>{"use strict";re.exports=require("node:net")},49411:re=>{"use strict";re.exports=require("node:path")},97742:re=>{"use strict";re.exports=require("node:process")},84492:re=>{"use strict";re.exports=require("node:stream")},72477:re=>{"use strict";re.exports=require("node:stream/web")},41041:re=>{"use strict";re.exports=require("node:url")},47261:re=>{"use strict";re.exports=require("node:util")},65628:re=>{"use strict";re.exports=require("node:zlib")},22037:re=>{"use strict";re.exports=require("os")},71017:re=>{"use strict";re.exports=require("path")},4074:re=>{"use strict";re.exports=require("perf_hooks")},63477:re=>{"use strict";re.exports=require("querystring")},12781:re=>{"use strict";re.exports=require("stream")},35356:re=>{"use strict";re.exports=require("stream/web")},71576:re=>{"use strict";re.exports=require("string_decoder")},24404:re=>{"use strict";re.exports=require("tls")},76224:re=>{"use strict";re.exports=require("tty")},57310:re=>{"use strict";re.exports=require("url")},73837:re=>{"use strict";re.exports=require("util")},29830:re=>{"use strict";re.exports=require("util/types")},71267:re=>{"use strict";re.exports=require("worker_threads")},59796:re=>{"use strict";re.exports=require("zlib")},15202:()=>{ +var pe;var Ae;var he;var ge;var me;var ye;var ve;var be;var Ee;var Ce;var we;var Ie;var _e;var Be;var Se;var Qe;var xe;var De;var ke;var Oe;var Re;var Pe;var Te;(function(pe){var Ae=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd){define("tslib",["exports"],(function(R){pe(createExporter(Ae,createExporter(R)))}))}else if(true&&typeof R.exports==="object"){pe(createExporter(Ae,createExporter(R.exports)))}else{pe(createExporter(Ae))}function createExporter(R,pe){if(R!==Ae){if(typeof Object.create==="function"){Object.defineProperty(R,"__esModule",{value:true})}else{R.__esModule=true}}return function(Ae,he){return R[Ae]=pe?pe(Ae,he):he}}})((function(R){var Ne=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(R,pe){R.__proto__=pe}||function(R,pe){for(var Ae in pe)if(pe.hasOwnProperty(Ae))R[Ae]=pe[Ae]};pe=function(R,pe){Ne(R,pe);function __(){this.constructor=R}R.prototype=pe===null?Object.create(pe):(__.prototype=pe.prototype,new __)};Ae=Object.assign||function(R){for(var pe,Ae=1,he=arguments.length;Ae=0;ve--)if(ye=R[ve])me=(ge<3?ye(me):ge>3?ye(pe,Ae,me):ye(pe,Ae))||me;return ge>3&&me&&Object.defineProperty(pe,Ae,me),me};me=function(R,pe){return function(Ae,he){pe(Ae,he,R)}};ye=function(R,pe){if(typeof Reflect==="object"&&typeof Reflect.metadata==="function")return Reflect.metadata(R,pe)};ve=function(R,pe,Ae,he){function adopt(R){return R instanceof Ae?R:new Ae((function(pe){pe(R)}))}return new(Ae||(Ae=Promise))((function(Ae,ge){function fulfilled(R){try{step(he.next(R))}catch(R){ge(R)}}function rejected(R){try{step(he["throw"](R))}catch(R){ge(R)}}function step(R){R.done?Ae(R.value):adopt(R.value).then(fulfilled,rejected)}step((he=he.apply(R,pe||[])).next())}))};be=function(R,pe){var Ae={label:0,sent:function(){if(me[0]&1)throw me[1];return me[1]},trys:[],ops:[]},he,ge,me,ye;return ye={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol==="function"&&(ye[Symbol.iterator]=function(){return this}),ye;function verb(R){return function(pe){return step([R,pe])}}function step(ye){if(he)throw new TypeError("Generator is already executing.");while(Ae)try{if(he=1,ge&&(me=ye[0]&2?ge["return"]:ye[0]?ge["throw"]||((me=ge["return"])&&me.call(ge),0):ge.next)&&!(me=me.call(ge,ye[1])).done)return me;if(ge=0,me)ye=[ye[0]&2,me.value];switch(ye[0]){case 0:case 1:me=ye;break;case 4:Ae.label++;return{value:ye[1],done:false};case 5:Ae.label++;ge=ye[1];ye=[0];continue;case 7:ye=Ae.ops.pop();Ae.trys.pop();continue;default:if(!(me=Ae.trys,me=me.length>0&&me[me.length-1])&&(ye[0]===6||ye[0]===2)){Ae=0;continue}if(ye[0]===3&&(!me||ye[1]>me[0]&&ye[1]=R.length)R=void 0;return{value:R&&R[he++],done:!R}}};throw new TypeError(pe?"Object is not iterable.":"Symbol.iterator is not defined.")};we=function(R,pe){var Ae=typeof Symbol==="function"&&R[Symbol.iterator];if(!Ae)return R;var he=Ae.call(R),ge,me=[],ye;try{while((pe===void 0||pe-- >0)&&!(ge=he.next()).done)me.push(ge.value)}catch(R){ye={error:R}}finally{try{if(ge&&!ge.done&&(Ae=he["return"]))Ae.call(he)}finally{if(ye)throw ye.error}}return me};Ie=function(){for(var R=[],pe=0;pe1||resume(R,pe)}))}}function resume(R,pe){try{step(he[R](pe))}catch(R){settle(me[0][3],R)}}function step(R){R.value instanceof Be?Promise.resolve(R.value.v).then(fulfill,reject):settle(me[0][2],R)}function fulfill(R){resume("next",R)}function reject(R){resume("throw",R)}function settle(R,pe){if(R(pe),me.shift(),me.length)resume(me[0][0],me[0][1])}};Qe=function(R){var pe,Ae;return pe={},verb("next"),verb("throw",(function(R){throw R})),verb("return"),pe[Symbol.iterator]=function(){return this},pe;function verb(he,ge){pe[he]=R[he]?function(pe){return(Ae=!Ae)?{value:Be(R[he](pe)),done:he==="return"}:ge?ge(pe):pe}:ge}};xe=function(R){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var pe=R[Symbol.asyncIterator],Ae;return pe?pe.call(R):(R=typeof Ce==="function"?Ce(R):R[Symbol.iterator](),Ae={},verb("next"),verb("throw"),verb("return"),Ae[Symbol.asyncIterator]=function(){return this},Ae);function verb(pe){Ae[pe]=R[pe]&&function(Ae){return new Promise((function(he,ge){Ae=R[pe](Ae),settle(he,ge,Ae.done,Ae.value)}))}}function settle(R,pe,Ae,he){Promise.resolve(he).then((function(pe){R({value:pe,done:Ae})}),pe)}};De=function(R,pe){if(Object.defineProperty){Object.defineProperty(R,"raw",{value:pe})}else{R.raw=pe}return R};ke=function(R){if(R&&R.__esModule)return R;var pe={};if(R!=null)for(var Ae in R)if(Object.hasOwnProperty.call(R,Ae))pe[Ae]=R[Ae];pe["default"]=R;return pe};Oe=function(R){return R&&R.__esModule?R:{default:R}};Re=function(R,pe){if(!pe.has(R)){throw new TypeError("attempted to get private field on non-instance")}return pe.get(R)};Pe=function(R,pe,Ae){if(!pe.has(R)){throw new TypeError("attempted to set private field on non-instance")}pe.set(R,Ae);return Ae};R("__extends",pe);R("__assign",Ae);R("__rest",he);R("__decorate",ge);R("__param",me);R("__metadata",ye);R("__awaiter",ve);R("__generator",be);R("__exportStar",Ee);R("__createBinding",Te);R("__values",Ce);R("__read",we);R("__spread",Ie);R("__spreadArrays",_e);R("__await",Be);R("__asyncGenerator",Se);R("__asyncDelegator",Qe);R("__asyncValues",xe);R("__makeTemplateObject",De);R("__importStar",ke);R("__importDefault",Oe);R("__classPrivateFieldGet",Re);R("__classPrivateFieldSet",Pe)}))},74294:(R,pe,Ae)=>{R.exports=Ae(54219)},54219:(R,pe,Ae)=>{"use strict";var he=Ae(41808);var ge=Ae(24404);var me=Ae(13685);var ye=Ae(95687);var ve=Ae(82361);var be=Ae(39491);var Ee=Ae(73837);pe.httpOverHttp=httpOverHttp;pe.httpsOverHttp=httpsOverHttp;pe.httpOverHttps=httpOverHttps;pe.httpsOverHttps=httpsOverHttps;function httpOverHttp(R){var pe=new TunnelingAgent(R);pe.request=me.request;return pe}function httpsOverHttp(R){var pe=new TunnelingAgent(R);pe.request=me.request;pe.createSocket=createSecureSocket;pe.defaultPort=443;return pe}function httpOverHttps(R){var pe=new TunnelingAgent(R);pe.request=ye.request;return pe}function httpsOverHttps(R){var pe=new TunnelingAgent(R);pe.request=ye.request;pe.createSocket=createSecureSocket;pe.defaultPort=443;return pe}function TunnelingAgent(R){var pe=this;pe.options=R||{};pe.proxyOptions=pe.options.proxy||{};pe.maxSockets=pe.options.maxSockets||me.Agent.defaultMaxSockets;pe.requests=[];pe.sockets=[];pe.on("free",(function onFree(R,Ae,he,ge){var me=toOptions(Ae,he,ge);for(var ye=0,ve=pe.requests.length;ye=this.maxSockets){ge.requests.push(me);return}ge.createSocket(me,(function(pe){pe.on("free",onFree);pe.on("close",onCloseOrRemove);pe.on("agentRemove",onCloseOrRemove);R.onSocket(pe);function onFree(){ge.emit("free",pe,me)}function onCloseOrRemove(R){ge.removeSocket(pe);pe.removeListener("free",onFree);pe.removeListener("close",onCloseOrRemove);pe.removeListener("agentRemove",onCloseOrRemove)}}))};TunnelingAgent.prototype.createSocket=function createSocket(R,pe){var Ae=this;var he={};Ae.sockets.push(he);var ge=mergeOptions({},Ae.proxyOptions,{method:"CONNECT",path:R.host+":"+R.port,agent:false,headers:{host:R.host+":"+R.port}});if(R.localAddress){ge.localAddress=R.localAddress}if(ge.proxyAuth){ge.headers=ge.headers||{};ge.headers["Proxy-Authorization"]="Basic "+new Buffer(ge.proxyAuth).toString("base64")}Ce("making CONNECT request");var me=Ae.request(ge);me.useChunkedEncodingByDefault=false;me.once("response",onResponse);me.once("upgrade",onUpgrade);me.once("connect",onConnect);me.once("error",onError);me.end();function onResponse(R){R.upgrade=true}function onUpgrade(R,pe,Ae){process.nextTick((function(){onConnect(R,pe,Ae)}))}function onConnect(ge,ye,ve){me.removeAllListeners();ye.removeAllListeners();if(ge.statusCode!==200){Ce("tunneling socket could not be established, statusCode=%d",ge.statusCode);ye.destroy();var be=new Error("tunneling socket could not be established, "+"statusCode="+ge.statusCode);be.code="ECONNRESET";R.request.emit("error",be);Ae.removeSocket(he);return}if(ve.length>0){Ce("got illegal response body from proxy");ye.destroy();var be=new Error("got illegal response body from proxy");be.code="ECONNRESET";R.request.emit("error",be);Ae.removeSocket(he);return}Ce("tunneling connection has established");Ae.sockets[Ae.sockets.indexOf(he)]=ye;return pe(ye)}function onError(pe){me.removeAllListeners();Ce("tunneling socket could not be established, cause=%s\n",pe.message,pe.stack);var ge=new Error("tunneling socket could not be established, "+"cause="+pe.message);ge.code="ECONNRESET";R.request.emit("error",ge);Ae.removeSocket(he)}};TunnelingAgent.prototype.removeSocket=function removeSocket(R){var pe=this.sockets.indexOf(R);if(pe===-1){return}this.sockets.splice(pe,1);var Ae=this.requests.shift();if(Ae){this.createSocket(Ae,(function(R){Ae.request.onSocket(R)}))}};function createSecureSocket(R,pe){var Ae=this;TunnelingAgent.prototype.createSocket.call(Ae,R,(function(he){var me=R.request.getHeader("host");var ye=mergeOptions({},Ae.options,{socket:he,servername:me?me.replace(/:.*$/,""):R.host});var ve=ge.connect(0,ye);Ae.sockets[Ae.sockets.indexOf(he)]=ve;pe(ve)}))}function toOptions(R,pe,Ae){if(typeof R==="string"){return{host:R,port:pe,localAddress:Ae}}return R}function mergeOptions(R){for(var pe=1,Ae=arguments.length;pe{"use strict";const he=Ae(33598);const ge=Ae(60412);const me=Ae(48045);const ye=Ae(4634);const ve=Ae(37931);const be=Ae(7890);const Ee=Ae(83983);const{InvalidArgumentError:Ce}=me;const we=Ae(44059);const Ie=Ae(82067);const _e=Ae(58687);const Be=Ae(66771);const Se=Ae(26193);const Qe=Ae(50888);const xe=Ae(97858);const De=Ae(82286);const{getGlobalDispatcher:ke,setGlobalDispatcher:Oe}=Ae(21892);const Re=Ae(46930);const Pe=Ae(72860);const Te=Ae(38861);let Ne;try{Ae(6113);Ne=true}catch{Ne=false}Object.assign(ge.prototype,we);R.exports.Dispatcher=ge;R.exports.Client=he;R.exports.Pool=ye;R.exports.BalancedPool=ve;R.exports.Agent=be;R.exports.ProxyAgent=xe;R.exports.RetryHandler=De;R.exports.DecoratorHandler=Re;R.exports.RedirectHandler=Pe;R.exports.createRedirectInterceptor=Te;R.exports.buildConnector=Ie;R.exports.errors=me;function makeDispatcher(R){return(pe,Ae,he)=>{if(typeof Ae==="function"){he=Ae;Ae=null}if(!pe||typeof pe!=="string"&&typeof pe!=="object"&&!(pe instanceof URL)){throw new Ce("invalid url")}if(Ae!=null&&typeof Ae!=="object"){throw new Ce("invalid opts")}if(Ae&&Ae.path!=null){if(typeof Ae.path!=="string"){throw new Ce("invalid opts.path")}let R=Ae.path;if(!Ae.path.startsWith("/")){R=`/${R}`}pe=new URL(Ee.parseOrigin(pe).origin+R)}else{if(!Ae){Ae=typeof pe==="object"?pe:{}}pe=Ee.parseURL(pe)}const{agent:ge,dispatcher:me=ke()}=Ae;if(ge){throw new Ce("unsupported opts.agent. Did you mean opts.client?")}return R.call(me,{...Ae,origin:pe.origin,path:pe.search?`${pe.pathname}${pe.search}`:pe.pathname,method:Ae.method||(Ae.body?"PUT":"GET")},he)}}R.exports.setGlobalDispatcher=Oe;R.exports.getGlobalDispatcher=ke;if(Ee.nodeMajor>16||Ee.nodeMajor===16&&Ee.nodeMinor>=8){let pe=null;R.exports.fetch=async function fetch(R){if(!pe){pe=Ae(74881).fetch}try{return await pe(...arguments)}catch(R){if(typeof R==="object"){Error.captureStackTrace(R,this)}throw R}};R.exports.Headers=Ae(10554).Headers;R.exports.Response=Ae(27823).Response;R.exports.Request=Ae(48359).Request;R.exports.FormData=Ae(72015).FormData;R.exports.File=Ae(78511).File;R.exports.FileReader=Ae(1446).FileReader;const{setGlobalOrigin:he,getGlobalOrigin:ge}=Ae(71246);R.exports.setGlobalOrigin=he;R.exports.getGlobalOrigin=ge;const{CacheStorage:me}=Ae(37907);const{kConstruct:ye}=Ae(29174);R.exports.caches=new me(ye)}if(Ee.nodeMajor>=16){const{deleteCookie:pe,getCookies:he,getSetCookies:ge,setCookie:me}=Ae(41724);R.exports.deleteCookie=pe;R.exports.getCookies=he;R.exports.getSetCookies=ge;R.exports.setCookie=me;const{parseMIMEType:ye,serializeAMimeType:ve}=Ae(685);R.exports.parseMIMEType=ye;R.exports.serializeAMimeType=ve}if(Ee.nodeMajor>=18&&Ne){const{WebSocket:pe}=Ae(54284);R.exports.WebSocket=pe}R.exports.request=makeDispatcher(we.request);R.exports.stream=makeDispatcher(we.stream);R.exports.pipeline=makeDispatcher(we.pipeline);R.exports.connect=makeDispatcher(we.connect);R.exports.upgrade=makeDispatcher(we.upgrade);R.exports.MockClient=_e;R.exports.MockPool=Se;R.exports.MockAgent=Be;R.exports.mockErrors=Qe},7890:(R,pe,Ae)=>{"use strict";const{InvalidArgumentError:he}=Ae(48045);const{kClients:ge,kRunning:me,kClose:ye,kDestroy:ve,kDispatch:be,kInterceptors:Ee}=Ae(72785);const Ce=Ae(74839);const we=Ae(4634);const Ie=Ae(33598);const _e=Ae(83983);const Be=Ae(38861);const{WeakRef:Se,FinalizationRegistry:Qe}=Ae(56436)();const xe=Symbol("onConnect");const De=Symbol("onDisconnect");const ke=Symbol("onConnectionError");const Oe=Symbol("maxRedirections");const Re=Symbol("onDrain");const Pe=Symbol("factory");const Te=Symbol("finalizer");const Ne=Symbol("options");function defaultFactory(R,pe){return pe&&pe.connections===1?new Ie(R,pe):new we(R,pe)}class Agent extends Ce{constructor({factory:R=defaultFactory,maxRedirections:pe=0,connect:Ae,...me}={}){super();if(typeof R!=="function"){throw new he("factory must be a function.")}if(Ae!=null&&typeof Ae!=="function"&&typeof Ae!=="object"){throw new he("connect must be a function or an object")}if(!Number.isInteger(pe)||pe<0){throw new he("maxRedirections must be a positive number")}if(Ae&&typeof Ae!=="function"){Ae={...Ae}}this[Ee]=me.interceptors&&me.interceptors.Agent&&Array.isArray(me.interceptors.Agent)?me.interceptors.Agent:[Be({maxRedirections:pe})];this[Ne]={..._e.deepClone(me),connect:Ae};this[Ne].interceptors=me.interceptors?{...me.interceptors}:undefined;this[Oe]=pe;this[Pe]=R;this[ge]=new Map;this[Te]=new Qe((R=>{const pe=this[ge].get(R);if(pe!==undefined&&pe.deref()===undefined){this[ge].delete(R)}}));const ye=this;this[Re]=(R,pe)=>{ye.emit("drain",R,[ye,...pe])};this[xe]=(R,pe)=>{ye.emit("connect",R,[ye,...pe])};this[De]=(R,pe,Ae)=>{ye.emit("disconnect",R,[ye,...pe],Ae)};this[ke]=(R,pe,Ae)=>{ye.emit("connectionError",R,[ye,...pe],Ae)}}get[me](){let R=0;for(const pe of this[ge].values()){const Ae=pe.deref();if(Ae){R+=Ae[me]}}return R}[be](R,pe){let Ae;if(R.origin&&(typeof R.origin==="string"||R.origin instanceof URL)){Ae=String(R.origin)}else{throw new he("opts.origin must be a non-empty string or URL.")}const me=this[ge].get(Ae);let ye=me?me.deref():null;if(!ye){ye=this[Pe](R.origin,this[Ne]).on("drain",this[Re]).on("connect",this[xe]).on("disconnect",this[De]).on("connectionError",this[ke]);this[ge].set(Ae,new Se(ye));this[Te].register(ye,Ae)}return ye.dispatch(R,pe)}async[ye](){const R=[];for(const pe of this[ge].values()){const Ae=pe.deref();if(Ae){R.push(Ae.close())}}await Promise.all(R)}async[ve](R){const pe=[];for(const Ae of this[ge].values()){const he=Ae.deref();if(he){pe.push(he.destroy(R))}}await Promise.all(pe)}}R.exports=Agent},7032:(R,pe,Ae)=>{const{addAbortListener:he}=Ae(83983);const{RequestAbortedError:ge}=Ae(48045);const me=Symbol("kListener");const ye=Symbol("kSignal");function abort(R){if(R.abort){R.abort()}else{R.onError(new ge)}}function addSignal(R,pe){R[ye]=null;R[me]=null;if(!pe){return}if(pe.aborted){abort(R);return}R[ye]=pe;R[me]=()=>{abort(R)};he(R[ye],R[me])}function removeSignal(R){if(!R[ye]){return}if("removeEventListener"in R[ye]){R[ye].removeEventListener("abort",R[me])}else{R[ye].removeListener("abort",R[me])}R[ye]=null;R[me]=null}R.exports={addSignal:addSignal,removeSignal:removeSignal}},29744:(R,pe,Ae)=>{"use strict";const{AsyncResource:he}=Ae(50852);const{InvalidArgumentError:ge,RequestAbortedError:me,SocketError:ye}=Ae(48045);const ve=Ae(83983);const{addSignal:be,removeSignal:Ee}=Ae(7032);class ConnectHandler extends he{constructor(R,pe){if(!R||typeof R!=="object"){throw new ge("invalid opts")}if(typeof pe!=="function"){throw new ge("invalid callback")}const{signal:Ae,opaque:he,responseHeaders:me}=R;if(Ae&&typeof Ae.on!=="function"&&typeof Ae.addEventListener!=="function"){throw new ge("signal must be an EventEmitter or EventTarget")}super("UNDICI_CONNECT");this.opaque=he||null;this.responseHeaders=me||null;this.callback=pe;this.abort=null;be(this,Ae)}onConnect(R,pe){if(!this.callback){throw new me}this.abort=R;this.context=pe}onHeaders(){throw new ye("bad connect",null)}onUpgrade(R,pe,Ae){const{callback:he,opaque:ge,context:me}=this;Ee(this);this.callback=null;let ye=pe;if(ye!=null){ye=this.responseHeaders==="raw"?ve.parseRawHeaders(pe):ve.parseHeaders(pe)}this.runInAsyncScope(he,null,null,{statusCode:R,headers:ye,socket:Ae,opaque:ge,context:me})}onError(R){const{callback:pe,opaque:Ae}=this;Ee(this);if(pe){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(pe,null,R,{opaque:Ae})}))}}}function connect(R,pe){if(pe===undefined){return new Promise(((pe,Ae)=>{connect.call(this,R,((R,he)=>R?Ae(R):pe(he)))}))}try{const Ae=new ConnectHandler(R,pe);this.dispatch({...R,method:"CONNECT"},Ae)}catch(Ae){if(typeof pe!=="function"){throw Ae}const he=R&&R.opaque;queueMicrotask((()=>pe(Ae,{opaque:he})))}}R.exports=connect},28752:(R,pe,Ae)=>{"use strict";const{Readable:he,Duplex:ge,PassThrough:me}=Ae(12781);const{InvalidArgumentError:ye,InvalidReturnValueError:ve,RequestAbortedError:be}=Ae(48045);const Ee=Ae(83983);const{AsyncResource:Ce}=Ae(50852);const{addSignal:we,removeSignal:Ie}=Ae(7032);const _e=Ae(39491);const Be=Symbol("resume");class PipelineRequest extends he{constructor(){super({autoDestroy:true});this[Be]=null}_read(){const{[Be]:R}=this;if(R){this[Be]=null;R()}}_destroy(R,pe){this._read();pe(R)}}class PipelineResponse extends he{constructor(R){super({autoDestroy:true});this[Be]=R}_read(){this[Be]()}_destroy(R,pe){if(!R&&!this._readableState.endEmitted){R=new be}pe(R)}}class PipelineHandler extends Ce{constructor(R,pe){if(!R||typeof R!=="object"){throw new ye("invalid opts")}if(typeof pe!=="function"){throw new ye("invalid handler")}const{signal:Ae,method:he,opaque:me,onInfo:ve,responseHeaders:Ce}=R;if(Ae&&typeof Ae.on!=="function"&&typeof Ae.addEventListener!=="function"){throw new ye("signal must be an EventEmitter or EventTarget")}if(he==="CONNECT"){throw new ye("invalid method")}if(ve&&typeof ve!=="function"){throw new ye("invalid onInfo callback")}super("UNDICI_PIPELINE");this.opaque=me||null;this.responseHeaders=Ce||null;this.handler=pe;this.abort=null;this.context=null;this.onInfo=ve||null;this.req=(new PipelineRequest).on("error",Ee.nop);this.ret=new ge({readableObjectMode:R.objectMode,autoDestroy:true,read:()=>{const{body:R}=this;if(R&&R.resume){R.resume()}},write:(R,pe,Ae)=>{const{req:he}=this;if(he.push(R,pe)||he._readableState.destroyed){Ae()}else{he[Be]=Ae}},destroy:(R,pe)=>{const{body:Ae,req:he,res:ge,ret:me,abort:ye}=this;if(!R&&!me._readableState.endEmitted){R=new be}if(ye&&R){ye()}Ee.destroy(Ae,R);Ee.destroy(he,R);Ee.destroy(ge,R);Ie(this);pe(R)}}).on("prefinish",(()=>{const{req:R}=this;R.push(null)}));this.res=null;we(this,Ae)}onConnect(R,pe){const{ret:Ae,res:he}=this;_e(!he,"pipeline cannot be retried");if(Ae.destroyed){throw new be}this.abort=R;this.context=pe}onHeaders(R,pe,Ae){const{opaque:he,handler:ge,context:me}=this;if(R<200){if(this.onInfo){const Ae=this.responseHeaders==="raw"?Ee.parseRawHeaders(pe):Ee.parseHeaders(pe);this.onInfo({statusCode:R,headers:Ae})}return}this.res=new PipelineResponse(Ae);let ye;try{this.handler=null;const Ae=this.responseHeaders==="raw"?Ee.parseRawHeaders(pe):Ee.parseHeaders(pe);ye=this.runInAsyncScope(ge,null,{statusCode:R,headers:Ae,opaque:he,body:this.res,context:me})}catch(R){this.res.on("error",Ee.nop);throw R}if(!ye||typeof ye.on!=="function"){throw new ve("expected Readable")}ye.on("data",(R=>{const{ret:pe,body:Ae}=this;if(!pe.push(R)&&Ae.pause){Ae.pause()}})).on("error",(R=>{const{ret:pe}=this;Ee.destroy(pe,R)})).on("end",(()=>{const{ret:R}=this;R.push(null)})).on("close",(()=>{const{ret:R}=this;if(!R._readableState.ended){Ee.destroy(R,new be)}}));this.body=ye}onData(R){const{res:pe}=this;return pe.push(R)}onComplete(R){const{res:pe}=this;pe.push(null)}onError(R){const{ret:pe}=this;this.handler=null;Ee.destroy(pe,R)}}function pipeline(R,pe){try{const Ae=new PipelineHandler(R,pe);this.dispatch({...R,body:Ae.req},Ae);return Ae.ret}catch(R){return(new me).destroy(R)}}R.exports=pipeline},55448:(R,pe,Ae)=>{"use strict";const he=Ae(73858);const{InvalidArgumentError:ge,RequestAbortedError:me}=Ae(48045);const ye=Ae(83983);const{getResolveErrorBodyCallback:ve}=Ae(77474);const{AsyncResource:be}=Ae(50852);const{addSignal:Ee,removeSignal:Ce}=Ae(7032);class RequestHandler extends be{constructor(R,pe){if(!R||typeof R!=="object"){throw new ge("invalid opts")}const{signal:Ae,method:he,opaque:me,body:ve,onInfo:be,responseHeaders:Ce,throwOnError:we,highWaterMark:Ie}=R;try{if(typeof pe!=="function"){throw new ge("invalid callback")}if(Ie&&(typeof Ie!=="number"||Ie<0)){throw new ge("invalid highWaterMark")}if(Ae&&typeof Ae.on!=="function"&&typeof Ae.addEventListener!=="function"){throw new ge("signal must be an EventEmitter or EventTarget")}if(he==="CONNECT"){throw new ge("invalid method")}if(be&&typeof be!=="function"){throw new ge("invalid onInfo callback")}super("UNDICI_REQUEST")}catch(R){if(ye.isStream(ve)){ye.destroy(ve.on("error",ye.nop),R)}throw R}this.responseHeaders=Ce||null;this.opaque=me||null;this.callback=pe;this.res=null;this.abort=null;this.body=ve;this.trailers={};this.context=null;this.onInfo=be||null;this.throwOnError=we;this.highWaterMark=Ie;if(ye.isStream(ve)){ve.on("error",(R=>{this.onError(R)}))}Ee(this,Ae)}onConnect(R,pe){if(!this.callback){throw new me}this.abort=R;this.context=pe}onHeaders(R,pe,Ae,ge){const{callback:me,opaque:be,abort:Ee,context:Ce,responseHeaders:we,highWaterMark:Ie}=this;const _e=we==="raw"?ye.parseRawHeaders(pe):ye.parseHeaders(pe);if(R<200){if(this.onInfo){this.onInfo({statusCode:R,headers:_e})}return}const Be=we==="raw"?ye.parseHeaders(pe):_e;const Se=Be["content-type"];const Qe=new he({resume:Ae,abort:Ee,contentType:Se,highWaterMark:Ie});this.callback=null;this.res=Qe;if(me!==null){if(this.throwOnError&&R>=400){this.runInAsyncScope(ve,null,{callback:me,body:Qe,contentType:Se,statusCode:R,statusMessage:ge,headers:_e})}else{this.runInAsyncScope(me,null,null,{statusCode:R,headers:_e,trailers:this.trailers,opaque:be,body:Qe,context:Ce})}}}onData(R){const{res:pe}=this;return pe.push(R)}onComplete(R){const{res:pe}=this;Ce(this);ye.parseHeaders(R,this.trailers);pe.push(null)}onError(R){const{res:pe,callback:Ae,body:he,opaque:ge}=this;Ce(this);if(Ae){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(Ae,null,R,{opaque:ge})}))}if(pe){this.res=null;queueMicrotask((()=>{ye.destroy(pe,R)}))}if(he){this.body=null;ye.destroy(he,R)}}}function request(R,pe){if(pe===undefined){return new Promise(((pe,Ae)=>{request.call(this,R,((R,he)=>R?Ae(R):pe(he)))}))}try{this.dispatch(R,new RequestHandler(R,pe))}catch(Ae){if(typeof pe!=="function"){throw Ae}const he=R&&R.opaque;queueMicrotask((()=>pe(Ae,{opaque:he})))}}R.exports=request;R.exports.RequestHandler=RequestHandler},75395:(R,pe,Ae)=>{"use strict";const{finished:he,PassThrough:ge}=Ae(12781);const{InvalidArgumentError:me,InvalidReturnValueError:ye,RequestAbortedError:ve}=Ae(48045);const be=Ae(83983);const{getResolveErrorBodyCallback:Ee}=Ae(77474);const{AsyncResource:Ce}=Ae(50852);const{addSignal:we,removeSignal:Ie}=Ae(7032);class StreamHandler extends Ce{constructor(R,pe,Ae){if(!R||typeof R!=="object"){throw new me("invalid opts")}const{signal:he,method:ge,opaque:ye,body:ve,onInfo:Ee,responseHeaders:Ce,throwOnError:Ie}=R;try{if(typeof Ae!=="function"){throw new me("invalid callback")}if(typeof pe!=="function"){throw new me("invalid factory")}if(he&&typeof he.on!=="function"&&typeof he.addEventListener!=="function"){throw new me("signal must be an EventEmitter or EventTarget")}if(ge==="CONNECT"){throw new me("invalid method")}if(Ee&&typeof Ee!=="function"){throw new me("invalid onInfo callback")}super("UNDICI_STREAM")}catch(R){if(be.isStream(ve)){be.destroy(ve.on("error",be.nop),R)}throw R}this.responseHeaders=Ce||null;this.opaque=ye||null;this.factory=pe;this.callback=Ae;this.res=null;this.abort=null;this.context=null;this.trailers=null;this.body=ve;this.onInfo=Ee||null;this.throwOnError=Ie||false;if(be.isStream(ve)){ve.on("error",(R=>{this.onError(R)}))}we(this,he)}onConnect(R,pe){if(!this.callback){throw new ve}this.abort=R;this.context=pe}onHeaders(R,pe,Ae,me){const{factory:ve,opaque:Ce,context:we,callback:Ie,responseHeaders:_e}=this;const Be=_e==="raw"?be.parseRawHeaders(pe):be.parseHeaders(pe);if(R<200){if(this.onInfo){this.onInfo({statusCode:R,headers:Be})}return}this.factory=null;let Se;if(this.throwOnError&&R>=400){const Ae=_e==="raw"?be.parseHeaders(pe):Be;const he=Ae["content-type"];Se=new ge;this.callback=null;this.runInAsyncScope(Ee,null,{callback:Ie,body:Se,contentType:he,statusCode:R,statusMessage:me,headers:Be})}else{if(ve===null){return}Se=this.runInAsyncScope(ve,null,{statusCode:R,headers:Be,opaque:Ce,context:we});if(!Se||typeof Se.write!=="function"||typeof Se.end!=="function"||typeof Se.on!=="function"){throw new ye("expected Writable")}he(Se,{readable:false},(R=>{const{callback:pe,res:Ae,opaque:he,trailers:ge,abort:me}=this;this.res=null;if(R||!Ae.readable){be.destroy(Ae,R)}this.callback=null;this.runInAsyncScope(pe,null,R||null,{opaque:he,trailers:ge});if(R){me()}}))}Se.on("drain",Ae);this.res=Se;const Qe=Se.writableNeedDrain!==undefined?Se.writableNeedDrain:Se._writableState&&Se._writableState.needDrain;return Qe!==true}onData(R){const{res:pe}=this;return pe?pe.write(R):true}onComplete(R){const{res:pe}=this;Ie(this);if(!pe){return}this.trailers=be.parseHeaders(R);pe.end()}onError(R){const{res:pe,callback:Ae,opaque:he,body:ge}=this;Ie(this);this.factory=null;if(pe){this.res=null;be.destroy(pe,R)}else if(Ae){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(Ae,null,R,{opaque:he})}))}if(ge){this.body=null;be.destroy(ge,R)}}}function stream(R,pe,Ae){if(Ae===undefined){return new Promise(((Ae,he)=>{stream.call(this,R,pe,((R,pe)=>R?he(R):Ae(pe)))}))}try{this.dispatch(R,new StreamHandler(R,pe,Ae))}catch(pe){if(typeof Ae!=="function"){throw pe}const he=R&&R.opaque;queueMicrotask((()=>Ae(pe,{opaque:he})))}}R.exports=stream},36923:(R,pe,Ae)=>{"use strict";const{InvalidArgumentError:he,RequestAbortedError:ge,SocketError:me}=Ae(48045);const{AsyncResource:ye}=Ae(50852);const ve=Ae(83983);const{addSignal:be,removeSignal:Ee}=Ae(7032);const Ce=Ae(39491);class UpgradeHandler extends ye{constructor(R,pe){if(!R||typeof R!=="object"){throw new he("invalid opts")}if(typeof pe!=="function"){throw new he("invalid callback")}const{signal:Ae,opaque:ge,responseHeaders:me}=R;if(Ae&&typeof Ae.on!=="function"&&typeof Ae.addEventListener!=="function"){throw new he("signal must be an EventEmitter or EventTarget")}super("UNDICI_UPGRADE");this.responseHeaders=me||null;this.opaque=ge||null;this.callback=pe;this.abort=null;this.context=null;be(this,Ae)}onConnect(R,pe){if(!this.callback){throw new ge}this.abort=R;this.context=null}onHeaders(){throw new me("bad upgrade",null)}onUpgrade(R,pe,Ae){const{callback:he,opaque:ge,context:me}=this;Ce.strictEqual(R,101);Ee(this);this.callback=null;const ye=this.responseHeaders==="raw"?ve.parseRawHeaders(pe):ve.parseHeaders(pe);this.runInAsyncScope(he,null,null,{headers:ye,socket:Ae,opaque:ge,context:me})}onError(R){const{callback:pe,opaque:Ae}=this;Ee(this);if(pe){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(pe,null,R,{opaque:Ae})}))}}}function upgrade(R,pe){if(pe===undefined){return new Promise(((pe,Ae)=>{upgrade.call(this,R,((R,he)=>R?Ae(R):pe(he)))}))}try{const Ae=new UpgradeHandler(R,pe);this.dispatch({...R,method:R.method||"GET",upgrade:R.protocol||"Websocket"},Ae)}catch(Ae){if(typeof pe!=="function"){throw Ae}const he=R&&R.opaque;queueMicrotask((()=>pe(Ae,{opaque:he})))}}R.exports=upgrade},44059:(R,pe,Ae)=>{"use strict";R.exports.request=Ae(55448);R.exports.stream=Ae(75395);R.exports.pipeline=Ae(28752);R.exports.upgrade=Ae(36923);R.exports.connect=Ae(29744)},73858:(R,pe,Ae)=>{"use strict";const he=Ae(39491);const{Readable:ge}=Ae(12781);const{RequestAbortedError:me,NotSupportedError:ye,InvalidArgumentError:ve}=Ae(48045);const be=Ae(83983);const{ReadableStreamFrom:Ee,toUSVString:Ce}=Ae(83983);let we;const Ie=Symbol("kConsume");const _e=Symbol("kReading");const Be=Symbol("kBody");const Se=Symbol("abort");const Qe=Symbol("kContentType");const noop=()=>{};R.exports=class BodyReadable extends ge{constructor({resume:R,abort:pe,contentType:Ae="",highWaterMark:he=64*1024}){super({autoDestroy:true,read:R,highWaterMark:he});this._readableState.dataEmitted=false;this[Se]=pe;this[Ie]=null;this[Be]=null;this[Qe]=Ae;this[_e]=false}destroy(R){if(this.destroyed){return this}if(!R&&!this._readableState.endEmitted){R=new me}if(R){this[Se]()}return super.destroy(R)}emit(R,...pe){if(R==="data"){this._readableState.dataEmitted=true}else if(R==="error"){this._readableState.errorEmitted=true}return super.emit(R,...pe)}on(R,...pe){if(R==="data"||R==="readable"){this[_e]=true}return super.on(R,...pe)}addListener(R,...pe){return this.on(R,...pe)}off(R,...pe){const Ae=super.off(R,...pe);if(R==="data"||R==="readable"){this[_e]=this.listenerCount("data")>0||this.listenerCount("readable")>0}return Ae}removeListener(R,...pe){return this.off(R,...pe)}push(R){if(this[Ie]&&R!==null&&this.readableLength===0){consumePush(this[Ie],R);return this[_e]?super.push(R):true}return super.push(R)}async text(){return consume(this,"text")}async json(){return consume(this,"json")}async blob(){return consume(this,"blob")}async arrayBuffer(){return consume(this,"arrayBuffer")}async formData(){throw new ye}get bodyUsed(){return be.isDisturbed(this)}get body(){if(!this[Be]){this[Be]=Ee(this);if(this[Ie]){this[Be].getReader();he(this[Be].locked)}}return this[Be]}dump(R){let pe=R&&Number.isFinite(R.limit)?R.limit:262144;const Ae=R&&R.signal;if(Ae){try{if(typeof Ae!=="object"||!("aborted"in Ae)){throw new ve("signal must be an AbortSignal")}be.throwIfAborted(Ae)}catch(R){return Promise.reject(R)}}if(this.closed){return Promise.resolve(null)}return new Promise(((R,he)=>{const ge=Ae?be.addAbortListener(Ae,(()=>{this.destroy()})):noop;this.on("close",(function(){ge();if(Ae&&Ae.aborted){he(Ae.reason||Object.assign(new Error("The operation was aborted"),{name:"AbortError"}))}else{R(null)}})).on("error",noop).on("data",(function(R){pe-=R.length;if(pe<=0){this.destroy()}})).resume()}))}};function isLocked(R){return R[Be]&&R[Be].locked===true||R[Ie]}function isUnusable(R){return be.isDisturbed(R)||isLocked(R)}async function consume(R,pe){if(isUnusable(R)){throw new TypeError("unusable")}he(!R[Ie]);return new Promise(((Ae,he)=>{R[Ie]={type:pe,stream:R,resolve:Ae,reject:he,length:0,body:[]};R.on("error",(function(R){consumeFinish(this[Ie],R)})).on("close",(function(){if(this[Ie].body!==null){consumeFinish(this[Ie],new me)}}));process.nextTick(consumeStart,R[Ie])}))}function consumeStart(R){if(R.body===null){return}const{_readableState:pe}=R.stream;for(const Ae of pe.buffer){consumePush(R,Ae)}if(pe.endEmitted){consumeEnd(this[Ie])}else{R.stream.on("end",(function(){consumeEnd(this[Ie])}))}R.stream.resume();while(R.stream.read()!=null){}}function consumeEnd(R){const{type:pe,body:he,resolve:ge,stream:me,length:ye}=R;try{if(pe==="text"){ge(Ce(Buffer.concat(he)))}else if(pe==="json"){ge(JSON.parse(Buffer.concat(he)))}else if(pe==="arrayBuffer"){const R=new Uint8Array(ye);let pe=0;for(const Ae of he){R.set(Ae,pe);pe+=Ae.byteLength}ge(R.buffer)}else if(pe==="blob"){if(!we){we=Ae(14300).Blob}ge(new we(he,{type:me[Qe]}))}consumeFinish(R)}catch(R){me.destroy(R)}}function consumePush(R,pe){R.length+=pe.length;R.body.push(pe)}function consumeFinish(R,pe){if(R.body===null){return}if(pe){R.reject(pe)}else{R.resolve()}R.type=null;R.stream=null;R.resolve=null;R.reject=null;R.length=0;R.body=null}},77474:(R,pe,Ae)=>{const he=Ae(39491);const{ResponseStatusCodeError:ge}=Ae(48045);const{toUSVString:me}=Ae(83983);async function getResolveErrorBodyCallback({callback:R,body:pe,contentType:Ae,statusCode:ye,statusMessage:ve,headers:be}){he(pe);let Ee=[];let Ce=0;for await(const R of pe){Ee.push(R);Ce+=R.length;if(Ce>128*1024){Ee=null;break}}if(ye===204||!Ae||!Ee){process.nextTick(R,new ge(`Response status code ${ye}${ve?`: ${ve}`:""}`,ye,be));return}try{if(Ae.startsWith("application/json")){const pe=JSON.parse(me(Buffer.concat(Ee)));process.nextTick(R,new ge(`Response status code ${ye}${ve?`: ${ve}`:""}`,ye,be,pe));return}if(Ae.startsWith("text/")){const pe=me(Buffer.concat(Ee));process.nextTick(R,new ge(`Response status code ${ye}${ve?`: ${ve}`:""}`,ye,be,pe));return}}catch(R){}process.nextTick(R,new ge(`Response status code ${ye}${ve?`: ${ve}`:""}`,ye,be))}R.exports={getResolveErrorBodyCallback:getResolveErrorBodyCallback}},37931:(R,pe,Ae)=>{"use strict";const{BalancedPoolMissingUpstreamError:he,InvalidArgumentError:ge}=Ae(48045);const{PoolBase:me,kClients:ye,kNeedDrain:ve,kAddClient:be,kRemoveClient:Ee,kGetDispatcher:Ce}=Ae(73198);const we=Ae(4634);const{kUrl:Ie,kInterceptors:_e}=Ae(72785);const{parseOrigin:Be}=Ae(83983);const Se=Symbol("factory");const Qe=Symbol("options");const xe=Symbol("kGreatestCommonDivisor");const De=Symbol("kCurrentWeight");const ke=Symbol("kIndex");const Oe=Symbol("kWeight");const Re=Symbol("kMaxWeightPerServer");const Pe=Symbol("kErrorPenalty");function getGreatestCommonDivisor(R,pe){if(pe===0)return R;return getGreatestCommonDivisor(pe,R%pe)}function defaultFactory(R,pe){return new we(R,pe)}class BalancedPool extends me{constructor(R=[],{factory:pe=defaultFactory,...Ae}={}){super();this[Qe]=Ae;this[ke]=-1;this[De]=0;this[Re]=this[Qe].maxWeightPerServer||100;this[Pe]=this[Qe].errorPenalty||15;if(!Array.isArray(R)){R=[R]}if(typeof pe!=="function"){throw new ge("factory must be a function.")}this[_e]=Ae.interceptors&&Ae.interceptors.BalancedPool&&Array.isArray(Ae.interceptors.BalancedPool)?Ae.interceptors.BalancedPool:[];this[Se]=pe;for(const pe of R){this.addUpstream(pe)}this._updateBalancedPoolStats()}addUpstream(R){const pe=Be(R).origin;if(this[ye].find((R=>R[Ie].origin===pe&&R.closed!==true&&R.destroyed!==true))){return this}const Ae=this[Se](pe,Object.assign({},this[Qe]));this[be](Ae);Ae.on("connect",(()=>{Ae[Oe]=Math.min(this[Re],Ae[Oe]+this[Pe])}));Ae.on("connectionError",(()=>{Ae[Oe]=Math.max(1,Ae[Oe]-this[Pe]);this._updateBalancedPoolStats()}));Ae.on("disconnect",((...R)=>{const pe=R[2];if(pe&&pe.code==="UND_ERR_SOCKET"){Ae[Oe]=Math.max(1,Ae[Oe]-this[Pe]);this._updateBalancedPoolStats()}}));for(const R of this[ye]){R[Oe]=this[Re]}this._updateBalancedPoolStats();return this}_updateBalancedPoolStats(){this[xe]=this[ye].map((R=>R[Oe])).reduce(getGreatestCommonDivisor,0)}removeUpstream(R){const pe=Be(R).origin;const Ae=this[ye].find((R=>R[Ie].origin===pe&&R.closed!==true&&R.destroyed!==true));if(Ae){this[Ee](Ae)}return this}get upstreams(){return this[ye].filter((R=>R.closed!==true&&R.destroyed!==true)).map((R=>R[Ie].origin))}[Ce](){if(this[ye].length===0){throw new he}const R=this[ye].find((R=>!R[ve]&&R.closed!==true&&R.destroyed!==true));if(!R){return}const pe=this[ye].map((R=>R[ve])).reduce(((R,pe)=>R&&pe),true);if(pe){return}let Ae=0;let ge=this[ye].findIndex((R=>!R[ve]));while(Ae++this[ye][ge][Oe]&&!R[ve]){ge=this[ke]}if(this[ke]===0){this[De]=this[De]-this[xe];if(this[De]<=0){this[De]=this[Re]}}if(R[Oe]>=this[De]&&!R[ve]){return R}}this[De]=this[ye][ge][Oe];this[ke]=ge;return this[ye][ge]}}R.exports=BalancedPool},66101:(R,pe,Ae)=>{"use strict";const{kConstruct:he}=Ae(29174);const{urlEquals:ge,fieldValues:me}=Ae(82396);const{kEnumerableProperty:ye,isDisturbed:ve}=Ae(83983);const{kHeadersList:be}=Ae(72785);const{webidl:Ee}=Ae(21744);const{Response:Ce,cloneResponse:we}=Ae(27823);const{Request:Ie}=Ae(48359);const{kState:_e,kHeaders:Be,kGuard:Se,kRealm:Qe}=Ae(15861);const{fetching:xe}=Ae(74881);const{urlIsHttpHttpsScheme:De,createDeferredPromise:ke,readAllBytes:Oe}=Ae(52538);const Re=Ae(39491);const{getGlobalDispatcher:Pe}=Ae(21892);class Cache{#e;constructor(){if(arguments[0]!==he){Ee.illegalConstructor()}this.#e=arguments[1]}async match(R,pe={}){Ee.brandCheck(this,Cache);Ee.argumentLengthCheck(arguments,1,{header:"Cache.match"});R=Ee.converters.RequestInfo(R);pe=Ee.converters.CacheQueryOptions(pe);const Ae=await this.matchAll(R,pe);if(Ae.length===0){return}return Ae[0]}async matchAll(R=undefined,pe={}){Ee.brandCheck(this,Cache);if(R!==undefined)R=Ee.converters.RequestInfo(R);pe=Ee.converters.CacheQueryOptions(pe);let Ae=null;if(R!==undefined){if(R instanceof Ie){Ae=R[_e];if(Ae.method!=="GET"&&!pe.ignoreMethod){return[]}}else if(typeof R==="string"){Ae=new Ie(R)[_e]}}const he=[];if(R===undefined){for(const R of this.#e){he.push(R[1])}}else{const R=this.#t(Ae,pe);for(const pe of R){he.push(pe[1])}}const ge=[];for(const R of he){const pe=new Ce(R.body?.source??null);const Ae=pe[_e].body;pe[_e]=R;pe[_e].body=Ae;pe[Be][be]=R.headersList;pe[Be][Se]="immutable";ge.push(pe)}return Object.freeze(ge)}async add(R){Ee.brandCheck(this,Cache);Ee.argumentLengthCheck(arguments,1,{header:"Cache.add"});R=Ee.converters.RequestInfo(R);const pe=[R];const Ae=this.addAll(pe);return await Ae}async addAll(R){Ee.brandCheck(this,Cache);Ee.argumentLengthCheck(arguments,1,{header:"Cache.addAll"});R=Ee.converters["sequence"](R);const pe=[];const Ae=[];for(const pe of R){if(typeof pe==="string"){continue}const R=pe[_e];if(!De(R.url)||R.method!=="GET"){throw Ee.errors.exception({header:"Cache.addAll",message:"Expected http/s scheme when method is not GET."})}}const he=[];for(const ge of R){const R=new Ie(ge)[_e];if(!De(R.url)){throw Ee.errors.exception({header:"Cache.addAll",message:"Expected http/s scheme."})}R.initiator="fetch";R.destination="subresource";Ae.push(R);const ye=ke();he.push(xe({request:R,dispatcher:Pe(),processResponse(R){if(R.type==="error"||R.status===206||R.status<200||R.status>299){ye.reject(Ee.errors.exception({header:"Cache.addAll",message:"Received an invalid status code or the request failed."}))}else if(R.headersList.contains("vary")){const pe=me(R.headersList.get("vary"));for(const R of pe){if(R==="*"){ye.reject(Ee.errors.exception({header:"Cache.addAll",message:"invalid vary field value"}));for(const R of he){R.abort()}return}}}},processResponseEndOfBody(R){if(R.aborted){ye.reject(new DOMException("aborted","AbortError"));return}ye.resolve(R)}}));pe.push(ye.promise)}const ge=Promise.all(pe);const ye=await ge;const ve=[];let be=0;for(const R of ye){const pe={type:"put",request:Ae[be],response:R};ve.push(pe);be++}const Ce=ke();let we=null;try{this.#r(ve)}catch(R){we=R}queueMicrotask((()=>{if(we===null){Ce.resolve(undefined)}else{Ce.reject(we)}}));return Ce.promise}async put(R,pe){Ee.brandCheck(this,Cache);Ee.argumentLengthCheck(arguments,2,{header:"Cache.put"});R=Ee.converters.RequestInfo(R);pe=Ee.converters.Response(pe);let Ae=null;if(R instanceof Ie){Ae=R[_e]}else{Ae=new Ie(R)[_e]}if(!De(Ae.url)||Ae.method!=="GET"){throw Ee.errors.exception({header:"Cache.put",message:"Expected an http/s scheme when method is not GET"})}const he=pe[_e];if(he.status===206){throw Ee.errors.exception({header:"Cache.put",message:"Got 206 status"})}if(he.headersList.contains("vary")){const R=me(he.headersList.get("vary"));for(const pe of R){if(pe==="*"){throw Ee.errors.exception({header:"Cache.put",message:"Got * vary field value"})}}}if(he.body&&(ve(he.body.stream)||he.body.stream.locked)){throw Ee.errors.exception({header:"Cache.put",message:"Response body is locked or disturbed"})}const ge=we(he);const ye=ke();if(he.body!=null){const R=he.body.stream;const pe=R.getReader();Oe(pe).then(ye.resolve,ye.reject)}else{ye.resolve(undefined)}const be=[];const Ce={type:"put",request:Ae,response:ge};be.push(Ce);const Be=await ye.promise;if(ge.body!=null){ge.body.source=Be}const Se=ke();let Qe=null;try{this.#r(be)}catch(R){Qe=R}queueMicrotask((()=>{if(Qe===null){Se.resolve()}else{Se.reject(Qe)}}));return Se.promise}async delete(R,pe={}){Ee.brandCheck(this,Cache);Ee.argumentLengthCheck(arguments,1,{header:"Cache.delete"});R=Ee.converters.RequestInfo(R);pe=Ee.converters.CacheQueryOptions(pe);let Ae=null;if(R instanceof Ie){Ae=R[_e];if(Ae.method!=="GET"&&!pe.ignoreMethod){return false}}else{Re(typeof R==="string");Ae=new Ie(R)[_e]}const he=[];const ge={type:"delete",request:Ae,options:pe};he.push(ge);const me=ke();let ye=null;let ve;try{ve=this.#r(he)}catch(R){ye=R}queueMicrotask((()=>{if(ye===null){me.resolve(!!ve?.length)}else{me.reject(ye)}}));return me.promise}async keys(R=undefined,pe={}){Ee.brandCheck(this,Cache);if(R!==undefined)R=Ee.converters.RequestInfo(R);pe=Ee.converters.CacheQueryOptions(pe);let Ae=null;if(R!==undefined){if(R instanceof Ie){Ae=R[_e];if(Ae.method!=="GET"&&!pe.ignoreMethod){return[]}}else if(typeof R==="string"){Ae=new Ie(R)[_e]}}const he=ke();const ge=[];if(R===undefined){for(const R of this.#e){ge.push(R[0])}}else{const R=this.#t(Ae,pe);for(const pe of R){ge.push(pe[0])}}queueMicrotask((()=>{const R=[];for(const pe of ge){const Ae=new Ie("https://a");Ae[_e]=pe;Ae[Be][be]=pe.headersList;Ae[Be][Se]="immutable";Ae[Qe]=pe.client;R.push(Ae)}he.resolve(Object.freeze(R))}));return he.promise}#r(R){const pe=this.#e;const Ae=[...pe];const he=[];const ge=[];try{for(const Ae of R){if(Ae.type!=="delete"&&Ae.type!=="put"){throw Ee.errors.exception({header:"Cache.#batchCacheOperations",message:'operation type does not match "delete" or "put"'})}if(Ae.type==="delete"&&Ae.response!=null){throw Ee.errors.exception({header:"Cache.#batchCacheOperations",message:"delete operation should not have an associated response"})}if(this.#t(Ae.request,Ae.options,he).length){throw new DOMException("???","InvalidStateError")}let R;if(Ae.type==="delete"){R=this.#t(Ae.request,Ae.options);if(R.length===0){return[]}for(const Ae of R){const R=pe.indexOf(Ae);Re(R!==-1);pe.splice(R,1)}}else if(Ae.type==="put"){if(Ae.response==null){throw Ee.errors.exception({header:"Cache.#batchCacheOperations",message:"put operation should have an associated response"})}const ge=Ae.request;if(!De(ge.url)){throw Ee.errors.exception({header:"Cache.#batchCacheOperations",message:"expected http or https scheme"})}if(ge.method!=="GET"){throw Ee.errors.exception({header:"Cache.#batchCacheOperations",message:"not get method"})}if(Ae.options!=null){throw Ee.errors.exception({header:"Cache.#batchCacheOperations",message:"options must not be defined"})}R=this.#t(Ae.request);for(const Ae of R){const R=pe.indexOf(Ae);Re(R!==-1);pe.splice(R,1)}pe.push([Ae.request,Ae.response]);he.push([Ae.request,Ae.response])}ge.push([Ae.request,Ae.response])}return ge}catch(R){this.#e.length=0;this.#e=Ae;throw R}}#t(R,pe,Ae){const he=[];const ge=Ae??this.#e;for(const Ae of ge){const[ge,me]=Ae;if(this.#n(R,ge,me,pe)){he.push(Ae)}}return he}#n(R,pe,Ae=null,he){const ye=new URL(R.url);const ve=new URL(pe.url);if(he?.ignoreSearch){ve.search="";ye.search=""}if(!ge(ye,ve,true)){return false}if(Ae==null||he?.ignoreVary||!Ae.headersList.contains("vary")){return true}const be=me(Ae.headersList.get("vary"));for(const Ae of be){if(Ae==="*"){return false}const he=pe.headersList.get(Ae);const ge=R.headersList.get(Ae);if(he!==ge){return false}}return true}}Object.defineProperties(Cache.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:true},match:ye,matchAll:ye,add:ye,addAll:ye,put:ye,delete:ye,keys:ye});const Te=[{key:"ignoreSearch",converter:Ee.converters.boolean,defaultValue:false},{key:"ignoreMethod",converter:Ee.converters.boolean,defaultValue:false},{key:"ignoreVary",converter:Ee.converters.boolean,defaultValue:false}];Ee.converters.CacheQueryOptions=Ee.dictionaryConverter(Te);Ee.converters.MultiCacheQueryOptions=Ee.dictionaryConverter([...Te,{key:"cacheName",converter:Ee.converters.DOMString}]);Ee.converters.Response=Ee.interfaceConverter(Ce);Ee.converters["sequence"]=Ee.sequenceConverter(Ee.converters.RequestInfo);R.exports={Cache:Cache}},37907:(R,pe,Ae)=>{"use strict";const{kConstruct:he}=Ae(29174);const{Cache:ge}=Ae(66101);const{webidl:me}=Ae(21744);const{kEnumerableProperty:ye}=Ae(83983);class CacheStorage{#i=new Map;constructor(){if(arguments[0]!==he){me.illegalConstructor()}}async match(R,pe={}){me.brandCheck(this,CacheStorage);me.argumentLengthCheck(arguments,1,{header:"CacheStorage.match"});R=me.converters.RequestInfo(R);pe=me.converters.MultiCacheQueryOptions(pe);if(pe.cacheName!=null){if(this.#i.has(pe.cacheName)){const Ae=this.#i.get(pe.cacheName);const me=new ge(he,Ae);return await me.match(R,pe)}}else{for(const Ae of this.#i.values()){const me=new ge(he,Ae);const ye=await me.match(R,pe);if(ye!==undefined){return ye}}}}async has(R){me.brandCheck(this,CacheStorage);me.argumentLengthCheck(arguments,1,{header:"CacheStorage.has"});R=me.converters.DOMString(R);return this.#i.has(R)}async open(R){me.brandCheck(this,CacheStorage);me.argumentLengthCheck(arguments,1,{header:"CacheStorage.open"});R=me.converters.DOMString(R);if(this.#i.has(R)){const pe=this.#i.get(R);return new ge(he,pe)}const pe=[];this.#i.set(R,pe);return new ge(he,pe)}async delete(R){me.brandCheck(this,CacheStorage);me.argumentLengthCheck(arguments,1,{header:"CacheStorage.delete"});R=me.converters.DOMString(R);return this.#i.delete(R)}async keys(){me.brandCheck(this,CacheStorage);const R=this.#i.keys();return[...R]}}Object.defineProperties(CacheStorage.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:true},match:ye,has:ye,open:ye,delete:ye,keys:ye});R.exports={CacheStorage:CacheStorage}},29174:(R,pe,Ae)=>{"use strict";R.exports={kConstruct:Ae(72785).kConstruct}},82396:(R,pe,Ae)=>{"use strict";const he=Ae(39491);const{URLSerializer:ge}=Ae(685);const{isValidHeaderName:me}=Ae(52538);function urlEquals(R,pe,Ae=false){const he=ge(R,Ae);const me=ge(pe,Ae);return he===me}function fieldValues(R){he(R!==null);const pe=[];for(let Ae of R.split(",")){Ae=Ae.trim();if(!Ae.length){continue}else if(!me(Ae)){continue}pe.push(Ae)}return pe}R.exports={urlEquals:urlEquals,fieldValues:fieldValues}},33598:(R,pe,Ae)=>{"use strict";const he=Ae(39491);const ge=Ae(41808);const me=Ae(13685);const{pipeline:ye}=Ae(12781);const ve=Ae(83983);const be=Ae(29459);const Ee=Ae(62905);const Ce=Ae(74839);const{RequestContentLengthMismatchError:we,ResponseContentLengthMismatchError:Ie,InvalidArgumentError:_e,RequestAbortedError:Be,HeadersTimeoutError:Se,HeadersOverflowError:Qe,SocketError:xe,InformationalError:De,BodyTimeoutError:ke,HTTPParserError:Oe,ResponseExceededMaxSizeError:Re,ClientDestroyedError:Pe}=Ae(48045);const Te=Ae(82067);const{kUrl:Ne,kReset:Me,kServerName:Fe,kClient:je,kBusy:Le,kParser:Ue,kConnect:He,kBlocking:Ve,kResuming:We,kRunning:Je,kPending:Ge,kSize:qe,kWriting:Ye,kQueue:Ke,kConnected:ze,kConnecting:$e,kNeedDrain:Ze,kNoRef:Xe,kKeepAliveDefaultTimeout:et,kHostHeader:tt,kPendingIdx:rt,kRunningIdx:nt,kError:it,kPipelining:ot,kSocket:st,kKeepAliveTimeoutValue:at,kMaxHeadersSize:ct,kKeepAliveMaxTimeout:ut,kKeepAliveTimeoutThreshold:lt,kHeadersTimeout:dt,kBodyTimeout:ft,kStrictContentLength:pt,kConnector:At,kMaxRedirections:ht,kMaxRequests:gt,kCounter:mt,kClose:yt,kDestroy:vt,kDispatch:bt,kInterceptors:Et,kLocalAddress:Ct,kMaxResponseSize:wt,kHTTPConnVersion:It,kHost:_t,kHTTP2Session:Bt,kHTTP2SessionState:St,kHTTP2BuildRequest:Qt,kHTTP2CopyHeaders:xt,kHTTP1BuildRequest:Dt}=Ae(72785);let kt;try{kt=Ae(85158)}catch{kt={constants:{}}}const{constants:{HTTP2_HEADER_AUTHORITY:Ot,HTTP2_HEADER_METHOD:Rt,HTTP2_HEADER_PATH:Pt,HTTP2_HEADER_SCHEME:Tt,HTTP2_HEADER_CONTENT_LENGTH:Nt,HTTP2_HEADER_EXPECT:Mt,HTTP2_HEADER_STATUS:Ft}}=kt;let jt=false;const Lt=Buffer[Symbol.species];const Ut=Symbol("kClosedResolve");const Ht={};try{const R=Ae(67643);Ht.sendHeaders=R.channel("undici:client:sendHeaders");Ht.beforeConnect=R.channel("undici:client:beforeConnect");Ht.connectError=R.channel("undici:client:connectError");Ht.connected=R.channel("undici:client:connected")}catch{Ht.sendHeaders={hasSubscribers:false};Ht.beforeConnect={hasSubscribers:false};Ht.connectError={hasSubscribers:false};Ht.connected={hasSubscribers:false}}class Client extends Ce{constructor(R,{interceptors:pe,maxHeaderSize:Ae,headersTimeout:he,socketTimeout:ye,requestTimeout:be,connectTimeout:Ee,bodyTimeout:Ce,idleTimeout:we,keepAlive:Ie,keepAliveTimeout:Be,maxKeepAliveTimeout:Se,keepAliveMaxTimeout:Qe,keepAliveTimeoutThreshold:xe,socketPath:De,pipelining:ke,tls:Oe,strictContentLength:Re,maxCachedSessions:Pe,maxRedirections:Me,connect:je,maxRequestsPerClient:Le,localAddress:Ue,maxResponseSize:He,autoSelectFamily:Ve,autoSelectFamilyAttemptTimeout:Je,allowH2:Ge,maxConcurrentStreams:qe}={}){super();if(Ie!==undefined){throw new _e("unsupported keepAlive, use pipelining=0 instead")}if(ye!==undefined){throw new _e("unsupported socketTimeout, use headersTimeout & bodyTimeout instead")}if(be!==undefined){throw new _e("unsupported requestTimeout, use headersTimeout & bodyTimeout instead")}if(we!==undefined){throw new _e("unsupported idleTimeout, use keepAliveTimeout instead")}if(Se!==undefined){throw new _e("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead")}if(Ae!=null&&!Number.isFinite(Ae)){throw new _e("invalid maxHeaderSize")}if(De!=null&&typeof De!=="string"){throw new _e("invalid socketPath")}if(Ee!=null&&(!Number.isFinite(Ee)||Ee<0)){throw new _e("invalid connectTimeout")}if(Be!=null&&(!Number.isFinite(Be)||Be<=0)){throw new _e("invalid keepAliveTimeout")}if(Qe!=null&&(!Number.isFinite(Qe)||Qe<=0)){throw new _e("invalid keepAliveMaxTimeout")}if(xe!=null&&!Number.isFinite(xe)){throw new _e("invalid keepAliveTimeoutThreshold")}if(he!=null&&(!Number.isInteger(he)||he<0)){throw new _e("headersTimeout must be a positive integer or zero")}if(Ce!=null&&(!Number.isInteger(Ce)||Ce<0)){throw new _e("bodyTimeout must be a positive integer or zero")}if(je!=null&&typeof je!=="function"&&typeof je!=="object"){throw new _e("connect must be a function or an object")}if(Me!=null&&(!Number.isInteger(Me)||Me<0)){throw new _e("maxRedirections must be a positive number")}if(Le!=null&&(!Number.isInteger(Le)||Le<0)){throw new _e("maxRequestsPerClient must be a positive number")}if(Ue!=null&&(typeof Ue!=="string"||ge.isIP(Ue)===0)){throw new _e("localAddress must be valid string IP address")}if(He!=null&&(!Number.isInteger(He)||He<-1)){throw new _e("maxResponseSize must be a positive number")}if(Je!=null&&(!Number.isInteger(Je)||Je<-1)){throw new _e("autoSelectFamilyAttemptTimeout must be a positive number")}if(Ge!=null&&typeof Ge!=="boolean"){throw new _e("allowH2 must be a valid boolean value")}if(qe!=null&&(typeof qe!=="number"||qe<1)){throw new _e("maxConcurrentStreams must be a possitive integer, greater than 0")}if(typeof je!=="function"){je=Te({...Oe,maxCachedSessions:Pe,allowH2:Ge,socketPath:De,timeout:Ee,...ve.nodeHasAutoSelectFamily&&Ve?{autoSelectFamily:Ve,autoSelectFamilyAttemptTimeout:Je}:undefined,...je})}this[Et]=pe&&pe.Client&&Array.isArray(pe.Client)?pe.Client:[Wt({maxRedirections:Me})];this[Ne]=ve.parseOrigin(R);this[At]=je;this[st]=null;this[ot]=ke!=null?ke:1;this[ct]=Ae||me.maxHeaderSize;this[et]=Be==null?4e3:Be;this[ut]=Qe==null?6e5:Qe;this[lt]=xe==null?1e3:xe;this[at]=this[et];this[Fe]=null;this[Ct]=Ue!=null?Ue:null;this[We]=0;this[Ze]=0;this[tt]=`host: ${this[Ne].hostname}${this[Ne].port?`:${this[Ne].port}`:""}\r\n`;this[ft]=Ce!=null?Ce:3e5;this[dt]=he!=null?he:3e5;this[pt]=Re==null?true:Re;this[ht]=Me;this[gt]=Le;this[Ut]=null;this[wt]=He>-1?He:-1;this[It]="h1";this[Bt]=null;this[St]=!Ge?null:{openStreams:0,maxConcurrentStreams:qe!=null?qe:100};this[_t]=`${this[Ne].hostname}${this[Ne].port?`:${this[Ne].port}`:""}`;this[Ke]=[];this[nt]=0;this[rt]=0}get pipelining(){return this[ot]}set pipelining(R){this[ot]=R;resume(this,true)}get[Ge](){return this[Ke].length-this[rt]}get[Je](){return this[rt]-this[nt]}get[qe](){return this[Ke].length-this[nt]}get[ze](){return!!this[st]&&!this[$e]&&!this[st].destroyed}get[Le](){const R=this[st];return R&&(R[Me]||R[Ye]||R[Ve])||this[qe]>=(this[ot]||1)||this[Ge]>0}[He](R){connect(this);this.once("connect",R)}[bt](R,pe){const Ae=R.origin||this[Ne].origin;const he=this[It]==="h2"?Ee[Qt](Ae,R,pe):Ee[Dt](Ae,R,pe);this[Ke].push(he);if(this[We]){}else if(ve.bodyLength(he.body)==null&&ve.isIterable(he.body)){this[We]=1;process.nextTick(resume,this)}else{resume(this,true)}if(this[We]&&this[Ze]!==2&&this[Le]){this[Ze]=2}return this[Ze]<2}async[yt](){return new Promise((R=>{if(!this[qe]){R(null)}else{this[Ut]=R}}))}async[vt](R){return new Promise((pe=>{const Ae=this[Ke].splice(this[rt]);for(let pe=0;pe{if(this[Ut]){this[Ut]();this[Ut]=null}pe()};if(this[Bt]!=null){ve.destroy(this[Bt],R);this[Bt]=null;this[St]=null}if(!this[st]){queueMicrotask(callback)}else{ve.destroy(this[st].on("close",callback),R)}resume(this)}))}}function onHttp2SessionError(R){he(R.code!=="ERR_TLS_CERT_ALTNAME_INVALID");this[st][it]=R;onError(this[je],R)}function onHttp2FrameError(R,pe,Ae){const he=new De(`HTTP/2: "frameError" received - type ${R}, code ${pe}`);if(Ae===0){this[st][it]=he;onError(this[je],he)}}function onHttp2SessionEnd(){ve.destroy(this,new xe("other side closed"));ve.destroy(this[st],new xe("other side closed"))}function onHTTP2GoAway(R){const pe=this[je];const Ae=new De(`HTTP/2: "GOAWAY" frame received with code ${R}`);pe[st]=null;pe[Bt]=null;if(pe.destroyed){he(this[Ge]===0);const R=pe[Ke].splice(pe[nt]);for(let pe=0;pe0){const R=pe[Ke][pe[nt]];pe[Ke][pe[nt]++]=null;errorRequest(pe,R,Ae)}pe[rt]=pe[nt];he(pe[Je]===0);pe.emit("disconnect",pe[Ne],[pe],Ae);resume(pe)}const Vt=Ae(30953);const Wt=Ae(38861);const Jt=Buffer.alloc(0);async function lazyllhttp(){const R=process.env.JEST_WORKER_ID?Ae(61145):undefined;let pe;try{pe=await WebAssembly.compile(Buffer.from(Ae(95627),"base64"))}catch(he){pe=await WebAssembly.compile(Buffer.from(R||Ae(61145),"base64"))}return await WebAssembly.instantiate(pe,{env:{wasm_on_url:(R,pe,Ae)=>0,wasm_on_status:(R,pe,Ae)=>{he.strictEqual(Yt.ptr,R);const ge=pe-$t+Kt.byteOffset;return Yt.onStatus(new Lt(Kt.buffer,ge,Ae))||0},wasm_on_message_begin:R=>{he.strictEqual(Yt.ptr,R);return Yt.onMessageBegin()||0},wasm_on_header_field:(R,pe,Ae)=>{he.strictEqual(Yt.ptr,R);const ge=pe-$t+Kt.byteOffset;return Yt.onHeaderField(new Lt(Kt.buffer,ge,Ae))||0},wasm_on_header_value:(R,pe,Ae)=>{he.strictEqual(Yt.ptr,R);const ge=pe-$t+Kt.byteOffset;return Yt.onHeaderValue(new Lt(Kt.buffer,ge,Ae))||0},wasm_on_headers_complete:(R,pe,Ae,ge)=>{he.strictEqual(Yt.ptr,R);return Yt.onHeadersComplete(pe,Boolean(Ae),Boolean(ge))||0},wasm_on_body:(R,pe,Ae)=>{he.strictEqual(Yt.ptr,R);const ge=pe-$t+Kt.byteOffset;return Yt.onBody(new Lt(Kt.buffer,ge,Ae))||0},wasm_on_message_complete:R=>{he.strictEqual(Yt.ptr,R);return Yt.onMessageComplete()||0}}})}let Gt=null;let qt=lazyllhttp();qt.catch();let Yt=null;let Kt=null;let zt=0;let $t=null;const Zt=1;const Xt=2;const er=3;class Parser{constructor(R,pe,{exports:Ae}){he(Number.isFinite(R[ct])&&R[ct]>0);this.llhttp=Ae;this.ptr=this.llhttp.llhttp_alloc(Vt.TYPE.RESPONSE);this.client=R;this.socket=pe;this.timeout=null;this.timeoutValue=null;this.timeoutType=null;this.statusCode=null;this.statusText="";this.upgrade=false;this.headers=[];this.headersSize=0;this.headersMaxSize=R[ct];this.shouldKeepAlive=false;this.paused=false;this.resume=this.resume.bind(this);this.bytesRead=0;this.keepAlive="";this.contentLength="";this.connection="";this.maxResponseSize=R[wt]}setTimeout(R,pe){this.timeoutType=pe;if(R!==this.timeoutValue){be.clearTimeout(this.timeout);if(R){this.timeout=be.setTimeout(onParserTimeout,R,this);if(this.timeout.unref){this.timeout.unref()}}else{this.timeout=null}this.timeoutValue=R}else if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}}resume(){if(this.socket.destroyed||!this.paused){return}he(this.ptr!=null);he(Yt==null);this.llhttp.llhttp_resume(this.ptr);he(this.timeoutType===Xt);if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}this.paused=false;this.execute(this.socket.read()||Jt);this.readMore()}readMore(){while(!this.paused&&this.ptr){const R=this.socket.read();if(R===null){break}this.execute(R)}}execute(R){he(this.ptr!=null);he(Yt==null);he(!this.paused);const{socket:pe,llhttp:Ae}=this;if(R.length>zt){if($t){Ae.free($t)}zt=Math.ceil(R.length/4096)*4096;$t=Ae.malloc(zt)}new Uint8Array(Ae.memory.buffer,$t,zt).set(R);try{let he;try{Kt=R;Yt=this;he=Ae.llhttp_execute(this.ptr,$t,R.length)}catch(R){throw R}finally{Yt=null;Kt=null}const ge=Ae.llhttp_get_error_pos(this.ptr)-$t;if(he===Vt.ERROR.PAUSED_UPGRADE){this.onUpgrade(R.slice(ge))}else if(he===Vt.ERROR.PAUSED){this.paused=true;pe.unshift(R.slice(ge))}else if(he!==Vt.ERROR.OK){const pe=Ae.llhttp_get_error_reason(this.ptr);let me="";if(pe){const R=new Uint8Array(Ae.memory.buffer,pe).indexOf(0);me="Response does not match the HTTP/1.1 protocol ("+Buffer.from(Ae.memory.buffer,pe,R).toString()+")"}throw new Oe(me,Vt.ERROR[he],R.slice(ge))}}catch(R){ve.destroy(pe,R)}}destroy(){he(this.ptr!=null);he(Yt==null);this.llhttp.llhttp_free(this.ptr);this.ptr=null;be.clearTimeout(this.timeout);this.timeout=null;this.timeoutValue=null;this.timeoutType=null;this.paused=false}onStatus(R){this.statusText=R.toString()}onMessageBegin(){const{socket:R,client:pe}=this;if(R.destroyed){return-1}const Ae=pe[Ke][pe[nt]];if(!Ae){return-1}}onHeaderField(R){const pe=this.headers.length;if((pe&1)===0){this.headers.push(R)}else{this.headers[pe-1]=Buffer.concat([this.headers[pe-1],R])}this.trackHeader(R.length)}onHeaderValue(R){let pe=this.headers.length;if((pe&1)===1){this.headers.push(R);pe+=1}else{this.headers[pe-1]=Buffer.concat([this.headers[pe-1],R])}const Ae=this.headers[pe-2];if(Ae.length===10&&Ae.toString().toLowerCase()==="keep-alive"){this.keepAlive+=R.toString()}else if(Ae.length===10&&Ae.toString().toLowerCase()==="connection"){this.connection+=R.toString()}else if(Ae.length===14&&Ae.toString().toLowerCase()==="content-length"){this.contentLength+=R.toString()}this.trackHeader(R.length)}trackHeader(R){this.headersSize+=R;if(this.headersSize>=this.headersMaxSize){ve.destroy(this.socket,new Qe)}}onUpgrade(R){const{upgrade:pe,client:Ae,socket:ge,headers:me,statusCode:ye}=this;he(pe);const be=Ae[Ke][Ae[nt]];he(be);he(!ge.destroyed);he(ge===Ae[st]);he(!this.paused);he(be.upgrade||be.method==="CONNECT");this.statusCode=null;this.statusText="";this.shouldKeepAlive=null;he(this.headers.length%2===0);this.headers=[];this.headersSize=0;ge.unshift(R);ge[Ue].destroy();ge[Ue]=null;ge[je]=null;ge[it]=null;ge.removeListener("error",onSocketError).removeListener("readable",onSocketReadable).removeListener("end",onSocketEnd).removeListener("close",onSocketClose);Ae[st]=null;Ae[Ke][Ae[nt]++]=null;Ae.emit("disconnect",Ae[Ne],[Ae],new De("upgrade"));try{be.onUpgrade(ye,me,ge)}catch(R){ve.destroy(ge,R)}resume(Ae)}onHeadersComplete(R,pe,Ae){const{client:ge,socket:me,headers:ye,statusText:be}=this;if(me.destroyed){return-1}const Ee=ge[Ke][ge[nt]];if(!Ee){return-1}he(!this.upgrade);he(this.statusCode<200);if(R===100){ve.destroy(me,new xe("bad response",ve.getSocketInfo(me)));return-1}if(pe&&!Ee.upgrade){ve.destroy(me,new xe("bad upgrade",ve.getSocketInfo(me)));return-1}he.strictEqual(this.timeoutType,Zt);this.statusCode=R;this.shouldKeepAlive=Ae||Ee.method==="HEAD"&&!me[Me]&&this.connection.toLowerCase()==="keep-alive";if(this.statusCode>=200){const R=Ee.bodyTimeout!=null?Ee.bodyTimeout:ge[ft];this.setTimeout(R,Xt)}else if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}if(Ee.method==="CONNECT"){he(ge[Je]===1);this.upgrade=true;return 2}if(pe){he(ge[Je]===1);this.upgrade=true;return 2}he(this.headers.length%2===0);this.headers=[];this.headersSize=0;if(this.shouldKeepAlive&&ge[ot]){const R=this.keepAlive?ve.parseKeepAliveTimeout(this.keepAlive):null;if(R!=null){const pe=Math.min(R-ge[lt],ge[ut]);if(pe<=0){me[Me]=true}else{ge[at]=pe}}else{ge[at]=ge[et]}}else{me[Me]=true}const Ce=Ee.onHeaders(R,ye,this.resume,be)===false;if(Ee.aborted){return-1}if(Ee.method==="HEAD"){return 1}if(R<200){return 1}if(me[Ve]){me[Ve]=false;resume(ge)}return Ce?Vt.ERROR.PAUSED:0}onBody(R){const{client:pe,socket:Ae,statusCode:ge,maxResponseSize:me}=this;if(Ae.destroyed){return-1}const ye=pe[Ke][pe[nt]];he(ye);he.strictEqual(this.timeoutType,Xt);if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}he(ge>=200);if(me>-1&&this.bytesRead+R.length>me){ve.destroy(Ae,new Re);return-1}this.bytesRead+=R.length;if(ye.onData(R)===false){return Vt.ERROR.PAUSED}}onMessageComplete(){const{client:R,socket:pe,statusCode:Ae,upgrade:ge,headers:me,contentLength:ye,bytesRead:be,shouldKeepAlive:Ee}=this;if(pe.destroyed&&(!Ae||Ee)){return-1}if(ge){return}const Ce=R[Ke][R[nt]];he(Ce);he(Ae>=100);this.statusCode=null;this.statusText="";this.bytesRead=0;this.contentLength="";this.keepAlive="";this.connection="";he(this.headers.length%2===0);this.headers=[];this.headersSize=0;if(Ae<200){return}if(Ce.method!=="HEAD"&&ye&&be!==parseInt(ye,10)){ve.destroy(pe,new Ie);return-1}Ce.onComplete(me);R[Ke][R[nt]++]=null;if(pe[Ye]){he.strictEqual(R[Je],0);ve.destroy(pe,new De("reset"));return Vt.ERROR.PAUSED}else if(!Ee){ve.destroy(pe,new De("reset"));return Vt.ERROR.PAUSED}else if(pe[Me]&&R[Je]===0){ve.destroy(pe,new De("reset"));return Vt.ERROR.PAUSED}else if(R[ot]===1){setImmediate(resume,R)}else{resume(R)}}}function onParserTimeout(R){const{socket:pe,timeoutType:Ae,client:ge}=R;if(Ae===Zt){if(!pe[Ye]||pe.writableNeedDrain||ge[Je]>1){he(!R.paused,"cannot be paused while waiting for headers");ve.destroy(pe,new Se)}}else if(Ae===Xt){if(!R.paused){ve.destroy(pe,new ke)}}else if(Ae===er){he(ge[Je]===0&&ge[at]);ve.destroy(pe,new De("socket idle timeout"))}}function onSocketReadable(){const{[Ue]:R}=this;if(R){R.readMore()}}function onSocketError(R){const{[je]:pe,[Ue]:Ae}=this;he(R.code!=="ERR_TLS_CERT_ALTNAME_INVALID");if(pe[It]!=="h2"){if(R.code==="ECONNRESET"&&Ae.statusCode&&!Ae.shouldKeepAlive){Ae.onMessageComplete();return}}this[it]=R;onError(this[je],R)}function onError(R,pe){if(R[Je]===0&&pe.code!=="UND_ERR_INFO"&&pe.code!=="UND_ERR_SOCKET"){he(R[rt]===R[nt]);const Ae=R[Ke].splice(R[nt]);for(let he=0;he0&&Ae.code!=="UND_ERR_INFO"){const pe=R[Ke][R[nt]];R[Ke][R[nt]++]=null;errorRequest(R,pe,Ae)}R[rt]=R[nt];he(R[Je]===0);R.emit("disconnect",R[Ne],[R],Ae);resume(R)}async function connect(R){he(!R[$e]);he(!R[st]);let{host:pe,hostname:Ae,protocol:me,port:ye}=R[Ne];if(Ae[0]==="["){const R=Ae.indexOf("]");he(R!==-1);const pe=Ae.substring(1,R);he(ge.isIP(pe));Ae=pe}R[$e]=true;if(Ht.beforeConnect.hasSubscribers){Ht.beforeConnect.publish({connectParams:{host:pe,hostname:Ae,protocol:me,port:ye,servername:R[Fe],localAddress:R[Ct]},connector:R[At]})}try{const ge=await new Promise(((he,ge)=>{R[At]({host:pe,hostname:Ae,protocol:me,port:ye,servername:R[Fe],localAddress:R[Ct]},((R,pe)=>{if(R){ge(R)}else{he(pe)}}))}));if(R.destroyed){ve.destroy(ge.on("error",(()=>{})),new Pe);return}R[$e]=false;he(ge);const be=ge.alpnProtocol==="h2";if(be){if(!jt){jt=true;process.emitWarning("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"})}const pe=kt.connect(R[Ne],{createConnection:()=>ge,peerMaxConcurrentStreams:R[St].maxConcurrentStreams});R[It]="h2";pe[je]=R;pe[st]=ge;pe.on("error",onHttp2SessionError);pe.on("frameError",onHttp2FrameError);pe.on("end",onHttp2SessionEnd);pe.on("goaway",onHTTP2GoAway);pe.on("close",onSocketClose);pe.unref();R[Bt]=pe;ge[Bt]=pe}else{if(!Gt){Gt=await qt;qt=null}ge[Xe]=false;ge[Ye]=false;ge[Me]=false;ge[Ve]=false;ge[Ue]=new Parser(R,ge,Gt)}ge[mt]=0;ge[gt]=R[gt];ge[je]=R;ge[it]=null;ge.on("error",onSocketError).on("readable",onSocketReadable).on("end",onSocketEnd).on("close",onSocketClose);R[st]=ge;if(Ht.connected.hasSubscribers){Ht.connected.publish({connectParams:{host:pe,hostname:Ae,protocol:me,port:ye,servername:R[Fe],localAddress:R[Ct]},connector:R[At],socket:ge})}R.emit("connect",R[Ne],[R])}catch(ge){if(R.destroyed){return}R[$e]=false;if(Ht.connectError.hasSubscribers){Ht.connectError.publish({connectParams:{host:pe,hostname:Ae,protocol:me,port:ye,servername:R[Fe],localAddress:R[Ct]},connector:R[At],error:ge})}if(ge.code==="ERR_TLS_CERT_ALTNAME_INVALID"){he(R[Je]===0);while(R[Ge]>0&&R[Ke][R[rt]].servername===R[Fe]){const pe=R[Ke][R[rt]++];errorRequest(R,pe,ge)}}else{onError(R,ge)}R.emit("connectionError",R[Ne],[R],ge)}resume(R)}function emitDrain(R){R[Ze]=0;R.emit("drain",R[Ne],[R])}function resume(R,pe){if(R[We]===2){return}R[We]=2;_resume(R,pe);R[We]=0;if(R[nt]>256){R[Ke].splice(0,R[nt]);R[rt]-=R[nt];R[nt]=0}}function _resume(R,pe){while(true){if(R.destroyed){he(R[Ge]===0);return}if(R[Ut]&&!R[qe]){R[Ut]();R[Ut]=null;return}const Ae=R[st];if(Ae&&!Ae.destroyed&&Ae.alpnProtocol!=="h2"){if(R[qe]===0){if(!Ae[Xe]&&Ae.unref){Ae.unref();Ae[Xe]=true}}else if(Ae[Xe]&&Ae.ref){Ae.ref();Ae[Xe]=false}if(R[qe]===0){if(Ae[Ue].timeoutType!==er){Ae[Ue].setTimeout(R[at],er)}}else if(R[Je]>0&&Ae[Ue].statusCode<200){if(Ae[Ue].timeoutType!==Zt){const pe=R[Ke][R[nt]];const he=pe.headersTimeout!=null?pe.headersTimeout:R[dt];Ae[Ue].setTimeout(he,Zt)}}}if(R[Le]){R[Ze]=2}else if(R[Ze]===2){if(pe){R[Ze]=1;process.nextTick(emitDrain,R)}else{emitDrain(R)}continue}if(R[Ge]===0){return}if(R[Je]>=(R[ot]||1)){return}const ge=R[Ke][R[rt]];if(R[Ne].protocol==="https:"&&R[Fe]!==ge.servername){if(R[Je]>0){return}R[Fe]=ge.servername;if(Ae&&Ae.servername!==ge.servername){ve.destroy(Ae,new De("servername changed"));return}}if(R[$e]){return}if(!Ae&&!R[Bt]){connect(R);return}if(Ae.destroyed||Ae[Ye]||Ae[Me]||Ae[Ve]){return}if(R[Je]>0&&!ge.idempotent){return}if(R[Je]>0&&(ge.upgrade||ge.method==="CONNECT")){return}if(R[Je]>0&&ve.bodyLength(ge.body)!==0&&(ve.isStream(ge.body)||ve.isAsyncIterable(ge.body))){return}if(!ge.aborted&&write(R,ge)){R[rt]++}else{R[Ke].splice(R[rt],1)}}}function shouldSendContentLength(R){return R!=="GET"&&R!=="HEAD"&&R!=="OPTIONS"&&R!=="TRACE"&&R!=="CONNECT"}function write(R,pe){if(R[It]==="h2"){writeH2(R,R[Bt],pe);return}const{body:Ae,method:ge,path:me,host:ye,upgrade:be,headers:Ee,blocking:Ce,reset:Ie}=pe;const _e=ge==="PUT"||ge==="POST"||ge==="PATCH";if(Ae&&typeof Ae.read==="function"){Ae.read(0)}const Se=ve.bodyLength(Ae);let Qe=Se;if(Qe===null){Qe=pe.contentLength}if(Qe===0&&!_e){Qe=null}if(shouldSendContentLength(ge)&&Qe>0&&pe.contentLength!==null&&pe.contentLength!==Qe){if(R[pt]){errorRequest(R,pe,new we);return false}process.emitWarning(new we)}const xe=R[st];try{pe.onConnect((Ae=>{if(pe.aborted||pe.completed){return}errorRequest(R,pe,Ae||new Be);ve.destroy(xe,new De("aborted"))}))}catch(Ae){errorRequest(R,pe,Ae)}if(pe.aborted){return false}if(ge==="HEAD"){xe[Me]=true}if(be||ge==="CONNECT"){xe[Me]=true}if(Ie!=null){xe[Me]=Ie}if(R[gt]&&xe[mt]++>=R[gt]){xe[Me]=true}if(Ce){xe[Ve]=true}let ke=`${ge} ${me} HTTP/1.1\r\n`;if(typeof ye==="string"){ke+=`host: ${ye}\r\n`}else{ke+=R[tt]}if(be){ke+=`connection: upgrade\r\nupgrade: ${be}\r\n`}else if(R[ot]&&!xe[Me]){ke+="connection: keep-alive\r\n"}else{ke+="connection: close\r\n"}if(Ee){ke+=Ee}if(Ht.sendHeaders.hasSubscribers){Ht.sendHeaders.publish({request:pe,headers:ke,socket:xe})}if(!Ae||Se===0){if(Qe===0){xe.write(`${ke}content-length: 0\r\n\r\n`,"latin1")}else{he(Qe===null,"no body must not have content length");xe.write(`${ke}\r\n`,"latin1")}pe.onRequestSent()}else if(ve.isBuffer(Ae)){he(Qe===Ae.byteLength,"buffer body must have content length");xe.cork();xe.write(`${ke}content-length: ${Qe}\r\n\r\n`,"latin1");xe.write(Ae);xe.uncork();pe.onBodySent(Ae);pe.onRequestSent();if(!_e){xe[Me]=true}}else if(ve.isBlobLike(Ae)){if(typeof Ae.stream==="function"){writeIterable({body:Ae.stream(),client:R,request:pe,socket:xe,contentLength:Qe,header:ke,expectsPayload:_e})}else{writeBlob({body:Ae,client:R,request:pe,socket:xe,contentLength:Qe,header:ke,expectsPayload:_e})}}else if(ve.isStream(Ae)){writeStream({body:Ae,client:R,request:pe,socket:xe,contentLength:Qe,header:ke,expectsPayload:_e})}else if(ve.isIterable(Ae)){writeIterable({body:Ae,client:R,request:pe,socket:xe,contentLength:Qe,header:ke,expectsPayload:_e})}else{he(false)}return true}function writeH2(R,pe,Ae){const{body:ge,method:me,path:ye,host:be,upgrade:Ce,expectContinue:Ie,signal:_e,headers:Se}=Ae;let Qe;if(typeof Se==="string")Qe=Ee[xt](Se.trim());else Qe=Se;if(Ce){errorRequest(R,Ae,new Error("Upgrade not supported for H2"));return false}try{Ae.onConnect((pe=>{if(Ae.aborted||Ae.completed){return}errorRequest(R,Ae,pe||new Be)}))}catch(pe){errorRequest(R,Ae,pe)}if(Ae.aborted){return false}let xe;const ke=R[St];Qe[Ot]=be||R[_t];Qe[Rt]=me;if(me==="CONNECT"){pe.ref();xe=pe.request(Qe,{endStream:false,signal:_e});if(xe.id&&!xe.pending){Ae.onUpgrade(null,null,xe);++ke.openStreams}else{xe.once("ready",(()=>{Ae.onUpgrade(null,null,xe);++ke.openStreams}))}xe.once("close",(()=>{ke.openStreams-=1;if(ke.openStreams===0)pe.unref()}));return true}Qe[Pt]=ye;Qe[Tt]="https";const Oe=me==="PUT"||me==="POST"||me==="PATCH";if(ge&&typeof ge.read==="function"){ge.read(0)}let Re=ve.bodyLength(ge);if(Re==null){Re=Ae.contentLength}if(Re===0||!Oe){Re=null}if(shouldSendContentLength(me)&&Re>0&&Ae.contentLength!=null&&Ae.contentLength!==Re){if(R[pt]){errorRequest(R,Ae,new we);return false}process.emitWarning(new we)}if(Re!=null){he(ge,"no body must not have content length");Qe[Nt]=`${Re}`}pe.ref();const Pe=me==="GET"||me==="HEAD";if(Ie){Qe[Mt]="100-continue";xe=pe.request(Qe,{endStream:Pe,signal:_e});xe.once("continue",writeBodyH2)}else{xe=pe.request(Qe,{endStream:Pe,signal:_e});writeBodyH2()}++ke.openStreams;xe.once("response",(R=>{const{[Ft]:pe,...he}=R;if(Ae.onHeaders(Number(pe),he,xe.resume.bind(xe),"")===false){xe.pause()}}));xe.once("end",(()=>{Ae.onComplete([])}));xe.on("data",(R=>{if(Ae.onData(R)===false){xe.pause()}}));xe.once("close",(()=>{ke.openStreams-=1;if(ke.openStreams===0){pe.unref()}}));xe.once("error",(function(pe){if(R[Bt]&&!R[Bt].destroyed&&!this.closed&&!this.destroyed){ke.streams-=1;ve.destroy(xe,pe)}}));xe.once("frameError",((pe,he)=>{const ge=new De(`HTTP/2: "frameError" received - type ${pe}, code ${he}`);errorRequest(R,Ae,ge);if(R[Bt]&&!R[Bt].destroyed&&!this.closed&&!this.destroyed){ke.streams-=1;ve.destroy(xe,ge)}}));return true;function writeBodyH2(){if(!ge){Ae.onRequestSent()}else if(ve.isBuffer(ge)){he(Re===ge.byteLength,"buffer body must have content length");xe.cork();xe.write(ge);xe.uncork();xe.end();Ae.onBodySent(ge);Ae.onRequestSent()}else if(ve.isBlobLike(ge)){if(typeof ge.stream==="function"){writeIterable({client:R,request:Ae,contentLength:Re,h2stream:xe,expectsPayload:Oe,body:ge.stream(),socket:R[st],header:""})}else{writeBlob({body:ge,client:R,request:Ae,contentLength:Re,expectsPayload:Oe,h2stream:xe,header:"",socket:R[st]})}}else if(ve.isStream(ge)){writeStream({body:ge,client:R,request:Ae,contentLength:Re,expectsPayload:Oe,socket:R[st],h2stream:xe,header:""})}else if(ve.isIterable(ge)){writeIterable({body:ge,client:R,request:Ae,contentLength:Re,expectsPayload:Oe,header:"",h2stream:xe,socket:R[st]})}else{he(false)}}}function writeStream({h2stream:R,body:pe,client:Ae,request:ge,socket:me,contentLength:be,header:Ee,expectsPayload:Ce}){he(be!==0||Ae[Je]===0,"stream body cannot be pipelined");if(Ae[It]==="h2"){const Ae=ye(pe,R,(Ae=>{if(Ae){ve.destroy(pe,Ae);ve.destroy(R,Ae)}else{ge.onRequestSent()}}));Ae.on("data",onPipeData);Ae.once("end",(()=>{Ae.removeListener("data",onPipeData);ve.destroy(Ae)}));function onPipeData(R){ge.onBodySent(R)}return}let we=false;const Ie=new AsyncWriter({socket:me,request:ge,contentLength:be,client:Ae,expectsPayload:Ce,header:Ee});const onData=function(R){if(we){return}try{if(!Ie.write(R)&&this.pause){this.pause()}}catch(R){ve.destroy(this,R)}};const onDrain=function(){if(we){return}if(pe.resume){pe.resume()}};const onAbort=function(){if(we){return}const R=new Be;queueMicrotask((()=>onFinished(R)))};const onFinished=function(R){if(we){return}we=true;he(me.destroyed||me[Ye]&&Ae[Je]<=1);me.off("drain",onDrain).off("error",onFinished);pe.removeListener("data",onData).removeListener("end",onFinished).removeListener("error",onFinished).removeListener("close",onAbort);if(!R){try{Ie.end()}catch(pe){R=pe}}Ie.destroy(R);if(R&&(R.code!=="UND_ERR_INFO"||R.message!=="reset")){ve.destroy(pe,R)}else{ve.destroy(pe)}};pe.on("data",onData).on("end",onFinished).on("error",onFinished).on("close",onAbort);if(pe.resume){pe.resume()}me.on("drain",onDrain).on("error",onFinished)}async function writeBlob({h2stream:R,body:pe,client:Ae,request:ge,socket:me,contentLength:ye,header:be,expectsPayload:Ee}){he(ye===pe.size,"blob body must have content length");const Ce=Ae[It]==="h2";try{if(ye!=null&&ye!==pe.size){throw new we}const he=Buffer.from(await pe.arrayBuffer());if(Ce){R.cork();R.write(he);R.uncork()}else{me.cork();me.write(`${be}content-length: ${ye}\r\n\r\n`,"latin1");me.write(he);me.uncork()}ge.onBodySent(he);ge.onRequestSent();if(!Ee){me[Me]=true}resume(Ae)}catch(pe){ve.destroy(Ce?R:me,pe)}}async function writeIterable({h2stream:R,body:pe,client:Ae,request:ge,socket:me,contentLength:ye,header:ve,expectsPayload:be}){he(ye!==0||Ae[Je]===0,"iterator body cannot be pipelined");let Ee=null;function onDrain(){if(Ee){const R=Ee;Ee=null;R()}}const waitForDrain=()=>new Promise(((R,pe)=>{he(Ee===null);if(me[it]){pe(me[it])}else{Ee=R}}));if(Ae[It]==="h2"){R.on("close",onDrain).on("drain",onDrain);try{for await(const Ae of pe){if(me[it]){throw me[it]}const pe=R.write(Ae);ge.onBodySent(Ae);if(!pe){await waitForDrain()}}}catch(pe){R.destroy(pe)}finally{ge.onRequestSent();R.end();R.off("close",onDrain).off("drain",onDrain)}return}me.on("close",onDrain).on("drain",onDrain);const Ce=new AsyncWriter({socket:me,request:ge,contentLength:ye,client:Ae,expectsPayload:be,header:ve});try{for await(const R of pe){if(me[it]){throw me[it]}if(!Ce.write(R)){await waitForDrain()}}Ce.end()}catch(R){Ce.destroy(R)}finally{me.off("close",onDrain).off("drain",onDrain)}}class AsyncWriter{constructor({socket:R,request:pe,contentLength:Ae,client:he,expectsPayload:ge,header:me}){this.socket=R;this.request=pe;this.contentLength=Ae;this.client=he;this.bytesWritten=0;this.expectsPayload=ge;this.header=me;R[Ye]=true}write(R){const{socket:pe,request:Ae,contentLength:he,client:ge,bytesWritten:me,expectsPayload:ye,header:ve}=this;if(pe[it]){throw pe[it]}if(pe.destroyed){return false}const be=Buffer.byteLength(R);if(!be){return true}if(he!==null&&me+be>he){if(ge[pt]){throw new we}process.emitWarning(new we)}pe.cork();if(me===0){if(!ye){pe[Me]=true}if(he===null){pe.write(`${ve}transfer-encoding: chunked\r\n`,"latin1")}else{pe.write(`${ve}content-length: ${he}\r\n\r\n`,"latin1")}}if(he===null){pe.write(`\r\n${be.toString(16)}\r\n`,"latin1")}this.bytesWritten+=be;const Ee=pe.write(R);pe.uncork();Ae.onBodySent(R);if(!Ee){if(pe[Ue].timeout&&pe[Ue].timeoutType===Zt){if(pe[Ue].timeout.refresh){pe[Ue].timeout.refresh()}}}return Ee}end(){const{socket:R,contentLength:pe,client:Ae,bytesWritten:he,expectsPayload:ge,header:me,request:ye}=this;ye.onRequestSent();R[Ye]=false;if(R[it]){throw R[it]}if(R.destroyed){return}if(he===0){if(ge){R.write(`${me}content-length: 0\r\n\r\n`,"latin1")}else{R.write(`${me}\r\n`,"latin1")}}else if(pe===null){R.write("\r\n0\r\n\r\n","latin1")}if(pe!==null&&he!==pe){if(Ae[pt]){throw new we}else{process.emitWarning(new we)}}if(R[Ue].timeout&&R[Ue].timeoutType===Zt){if(R[Ue].timeout.refresh){R[Ue].timeout.refresh()}}resume(Ae)}destroy(R){const{socket:pe,client:Ae}=this;pe[Ye]=false;if(R){he(Ae[Je]<=1,"pipeline should only contain this request");ve.destroy(pe,R)}}}function errorRequest(R,pe,Ae){try{pe.onError(Ae);he(pe.aborted)}catch(Ae){R.emit("error",Ae)}}R.exports=Client},56436:(R,pe,Ae)=>{"use strict";const{kConnected:he,kSize:ge}=Ae(72785);class CompatWeakRef{constructor(R){this.value=R}deref(){return this.value[he]===0&&this.value[ge]===0?undefined:this.value}}class CompatFinalizer{constructor(R){this.finalizer=R}register(R,pe){if(R.on){R.on("disconnect",(()=>{if(R[he]===0&&R[ge]===0){this.finalizer(pe)}}))}}}R.exports=function(){if(process.env.NODE_V8_COVERAGE){return{WeakRef:CompatWeakRef,FinalizationRegistry:CompatFinalizer}}return{WeakRef:global.WeakRef||CompatWeakRef,FinalizationRegistry:global.FinalizationRegistry||CompatFinalizer}}},20663:R=>{"use strict";const pe=1024;const Ae=4096;R.exports={maxAttributeValueSize:pe,maxNameValuePairSize:Ae}},41724:(R,pe,Ae)=>{"use strict";const{parseSetCookie:he}=Ae(24408);const{stringify:ge,getHeadersList:me}=Ae(43121);const{webidl:ye}=Ae(21744);const{Headers:ve}=Ae(10554);function getCookies(R){ye.argumentLengthCheck(arguments,1,{header:"getCookies"});ye.brandCheck(R,ve,{strict:false});const pe=R.get("cookie");const Ae={};if(!pe){return Ae}for(const R of pe.split(";")){const[pe,...he]=R.split("=");Ae[pe.trim()]=he.join("=")}return Ae}function deleteCookie(R,pe,Ae){ye.argumentLengthCheck(arguments,2,{header:"deleteCookie"});ye.brandCheck(R,ve,{strict:false});pe=ye.converters.DOMString(pe);Ae=ye.converters.DeleteCookieAttributes(Ae);setCookie(R,{name:pe,value:"",expires:new Date(0),...Ae})}function getSetCookies(R){ye.argumentLengthCheck(arguments,1,{header:"getSetCookies"});ye.brandCheck(R,ve,{strict:false});const pe=me(R).cookies;if(!pe){return[]}return pe.map((R=>he(Array.isArray(R)?R[1]:R)))}function setCookie(R,pe){ye.argumentLengthCheck(arguments,2,{header:"setCookie"});ye.brandCheck(R,ve,{strict:false});pe=ye.converters.Cookie(pe);const Ae=ge(pe);if(Ae){R.append("Set-Cookie",ge(pe))}}ye.converters.DeleteCookieAttributes=ye.dictionaryConverter([{converter:ye.nullableConverter(ye.converters.DOMString),key:"path",defaultValue:null},{converter:ye.nullableConverter(ye.converters.DOMString),key:"domain",defaultValue:null}]);ye.converters.Cookie=ye.dictionaryConverter([{converter:ye.converters.DOMString,key:"name"},{converter:ye.converters.DOMString,key:"value"},{converter:ye.nullableConverter((R=>{if(typeof R==="number"){return ye.converters["unsigned long long"](R)}return new Date(R)})),key:"expires",defaultValue:null},{converter:ye.nullableConverter(ye.converters["long long"]),key:"maxAge",defaultValue:null},{converter:ye.nullableConverter(ye.converters.DOMString),key:"domain",defaultValue:null},{converter:ye.nullableConverter(ye.converters.DOMString),key:"path",defaultValue:null},{converter:ye.nullableConverter(ye.converters.boolean),key:"secure",defaultValue:null},{converter:ye.nullableConverter(ye.converters.boolean),key:"httpOnly",defaultValue:null},{converter:ye.converters.USVString,key:"sameSite",allowedValues:["Strict","Lax","None"]},{converter:ye.sequenceConverter(ye.converters.DOMString),key:"unparsed",defaultValue:[]}]);R.exports={getCookies:getCookies,deleteCookie:deleteCookie,getSetCookies:getSetCookies,setCookie:setCookie}},24408:(R,pe,Ae)=>{"use strict";const{maxNameValuePairSize:he,maxAttributeValueSize:ge}=Ae(20663);const{isCTLExcludingHtab:me}=Ae(43121);const{collectASequenceOfCodePointsFast:ye}=Ae(685);const ve=Ae(39491);function parseSetCookie(R){if(me(R)){return null}let pe="";let Ae="";let ge="";let ve="";if(R.includes(";")){const he={position:0};pe=ye(";",R,he);Ae=R.slice(he.position)}else{pe=R}if(!pe.includes("=")){ve=pe}else{const R={position:0};ge=ye("=",pe,R);ve=pe.slice(R.position+1)}ge=ge.trim();ve=ve.trim();if(ge.length+ve.length>he){return null}return{name:ge,value:ve,...parseUnparsedAttributes(Ae)}}function parseUnparsedAttributes(R,pe={}){if(R.length===0){return pe}ve(R[0]===";");R=R.slice(1);let Ae="";if(R.includes(";")){Ae=ye(";",R,{position:0});R=R.slice(Ae.length)}else{Ae=R;R=""}let he="";let me="";if(Ae.includes("=")){const R={position:0};he=ye("=",Ae,R);me=Ae.slice(R.position+1)}else{he=Ae}he=he.trim();me=me.trim();if(me.length>ge){return parseUnparsedAttributes(R,pe)}const be=he.toLowerCase();if(be==="expires"){const R=new Date(me);pe.expires=R}else if(be==="max-age"){const Ae=me.charCodeAt(0);if((Ae<48||Ae>57)&&me[0]!=="-"){return parseUnparsedAttributes(R,pe)}if(!/^\d+$/.test(me)){return parseUnparsedAttributes(R,pe)}const he=Number(me);pe.maxAge=he}else if(be==="domain"){let R=me;if(R[0]==="."){R=R.slice(1)}R=R.toLowerCase();pe.domain=R}else if(be==="path"){let R="";if(me.length===0||me[0]!=="/"){R="/"}else{R=me}pe.path=R}else if(be==="secure"){pe.secure=true}else if(be==="httponly"){pe.httpOnly=true}else if(be==="samesite"){let R="Default";const Ae=me.toLowerCase();if(Ae.includes("none")){R="None"}if(Ae.includes("strict")){R="Strict"}if(Ae.includes("lax")){R="Lax"}pe.sameSite=R}else{pe.unparsed??=[];pe.unparsed.push(`${he}=${me}`)}return parseUnparsedAttributes(R,pe)}R.exports={parseSetCookie:parseSetCookie,parseUnparsedAttributes:parseUnparsedAttributes}},43121:(R,pe,Ae)=>{"use strict";const he=Ae(39491);const{kHeadersList:ge}=Ae(72785);function isCTLExcludingHtab(R){if(R.length===0){return false}for(const pe of R){const R=pe.charCodeAt(0);if(R>=0||R<=8||(R>=10||R<=31)||R===127){return false}}}function validateCookieName(R){for(const pe of R){const R=pe.charCodeAt(0);if(R<=32||R>127||pe==="("||pe===")"||pe===">"||pe==="<"||pe==="@"||pe===","||pe===";"||pe===":"||pe==="\\"||pe==='"'||pe==="/"||pe==="["||pe==="]"||pe==="?"||pe==="="||pe==="{"||pe==="}"){throw new Error("Invalid cookie name")}}}function validateCookieValue(R){for(const pe of R){const R=pe.charCodeAt(0);if(R<33||R===34||R===44||R===59||R===92||R>126){throw new Error("Invalid header value")}}}function validateCookiePath(R){for(const pe of R){const R=pe.charCodeAt(0);if(R<33||pe===";"){throw new Error("Invalid cookie path")}}}function validateCookieDomain(R){if(R.startsWith("-")||R.endsWith(".")||R.endsWith("-")){throw new Error("Invalid cookie domain")}}function toIMFDate(R){if(typeof R==="number"){R=new Date(R)}const pe=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];const Ae=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];const he=pe[R.getUTCDay()];const ge=R.getUTCDate().toString().padStart(2,"0");const me=Ae[R.getUTCMonth()];const ye=R.getUTCFullYear();const ve=R.getUTCHours().toString().padStart(2,"0");const be=R.getUTCMinutes().toString().padStart(2,"0");const Ee=R.getUTCSeconds().toString().padStart(2,"0");return`${he}, ${ge} ${me} ${ye} ${ve}:${be}:${Ee} GMT`}function validateCookieMaxAge(R){if(R<0){throw new Error("Invalid cookie max-age")}}function stringify(R){if(R.name.length===0){return null}validateCookieName(R.name);validateCookieValue(R.value);const pe=[`${R.name}=${R.value}`];if(R.name.startsWith("__Secure-")){R.secure=true}if(R.name.startsWith("__Host-")){R.secure=true;R.domain=null;R.path="/"}if(R.secure){pe.push("Secure")}if(R.httpOnly){pe.push("HttpOnly")}if(typeof R.maxAge==="number"){validateCookieMaxAge(R.maxAge);pe.push(`Max-Age=${R.maxAge}`)}if(R.domain){validateCookieDomain(R.domain);pe.push(`Domain=${R.domain}`)}if(R.path){validateCookiePath(R.path);pe.push(`Path=${R.path}`)}if(R.expires&&R.expires.toString()!=="Invalid Date"){pe.push(`Expires=${toIMFDate(R.expires)}`)}if(R.sameSite){pe.push(`SameSite=${R.sameSite}`)}for(const Ae of R.unparsed){if(!Ae.includes("=")){throw new Error("Invalid unparsed")}const[R,...he]=Ae.split("=");pe.push(`${R.trim()}=${he.join("=")}`)}return pe.join("; ")}let me;function getHeadersList(R){if(R[ge]){return R[ge]}if(!me){me=Object.getOwnPropertySymbols(R).find((R=>R.description==="headers list"));he(me,"Headers cannot be parsed")}const pe=R[me];he(pe);return pe}R.exports={isCTLExcludingHtab:isCTLExcludingHtab,stringify:stringify,getHeadersList:getHeadersList}},82067:(R,pe,Ae)=>{"use strict";const he=Ae(41808);const ge=Ae(39491);const me=Ae(83983);const{InvalidArgumentError:ye,ConnectTimeoutError:ve}=Ae(48045);let be;let Ee;if(global.FinalizationRegistry&&!process.env.NODE_V8_COVERAGE){Ee=class WeakSessionCache{constructor(R){this._maxCachedSessions=R;this._sessionCache=new Map;this._sessionRegistry=new global.FinalizationRegistry((R=>{if(this._sessionCache.size=this._maxCachedSessions){const{value:R}=this._sessionCache.keys().next();this._sessionCache.delete(R)}this._sessionCache.set(R,pe)}}}function buildConnector({allowH2:R,maxCachedSessions:pe,socketPath:ve,timeout:Ce,...we}){if(pe!=null&&(!Number.isInteger(pe)||pe<0)){throw new ye("maxCachedSessions must be a positive integer or zero")}const Ie={path:ve,...we};const _e=new Ee(pe==null?100:pe);Ce=Ce==null?1e4:Ce;R=R!=null?R:false;return function connect({hostname:pe,host:ye,protocol:ve,port:Ee,servername:we,localAddress:Be,httpSocket:Se},Qe){let xe;if(ve==="https:"){if(!be){be=Ae(24404)}we=we||Ie.servername||me.getServerName(ye)||null;const he=we||pe;const ve=_e.get(he)||null;ge(he);xe=be.connect({highWaterMark:16384,...Ie,servername:we,session:ve,localAddress:Be,ALPNProtocols:R?["http/1.1","h2"]:["http/1.1"],socket:Se,port:Ee||443,host:pe});xe.on("session",(function(R){_e.set(he,R)}))}else{ge(!Se,"httpSocket can only be sent on TLS update");xe=he.connect({highWaterMark:64*1024,...Ie,localAddress:Be,port:Ee||80,host:pe})}if(Ie.keepAlive==null||Ie.keepAlive){const R=Ie.keepAliveInitialDelay===undefined?6e4:Ie.keepAliveInitialDelay;xe.setKeepAlive(true,R)}const De=setupTimeout((()=>onConnectTimeout(xe)),Ce);xe.setNoDelay(true).once(ve==="https:"?"secureConnect":"connect",(function(){De();if(Qe){const R=Qe;Qe=null;R(null,this)}})).on("error",(function(R){De();if(Qe){const pe=Qe;Qe=null;pe(R)}}));return xe}}function setupTimeout(R,pe){if(!pe){return()=>{}}let Ae=null;let he=null;const ge=setTimeout((()=>{Ae=setImmediate((()=>{if(process.platform==="win32"){he=setImmediate((()=>R()))}else{R()}}))}),pe);return()=>{clearTimeout(ge);clearImmediate(Ae);clearImmediate(he)}}function onConnectTimeout(R){me.destroy(R,new ve)}R.exports=buildConnector},14462:R=>{"use strict";const pe={};const Ae=["Accept","Accept-Encoding","Accept-Language","Accept-Ranges","Access-Control-Allow-Credentials","Access-Control-Allow-Headers","Access-Control-Allow-Methods","Access-Control-Allow-Origin","Access-Control-Expose-Headers","Access-Control-Max-Age","Access-Control-Request-Headers","Access-Control-Request-Method","Age","Allow","Alt-Svc","Alt-Used","Authorization","Cache-Control","Clear-Site-Data","Connection","Content-Disposition","Content-Encoding","Content-Language","Content-Length","Content-Location","Content-Range","Content-Security-Policy","Content-Security-Policy-Report-Only","Content-Type","Cookie","Cross-Origin-Embedder-Policy","Cross-Origin-Opener-Policy","Cross-Origin-Resource-Policy","Date","Device-Memory","Downlink","ECT","ETag","Expect","Expect-CT","Expires","Forwarded","From","Host","If-Match","If-Modified-Since","If-None-Match","If-Range","If-Unmodified-Since","Keep-Alive","Last-Modified","Link","Location","Max-Forwards","Origin","Permissions-Policy","Pragma","Proxy-Authenticate","Proxy-Authorization","RTT","Range","Referer","Referrer-Policy","Refresh","Retry-After","Sec-WebSocket-Accept","Sec-WebSocket-Extensions","Sec-WebSocket-Key","Sec-WebSocket-Protocol","Sec-WebSocket-Version","Server","Server-Timing","Service-Worker-Allowed","Service-Worker-Navigation-Preload","Set-Cookie","SourceMap","Strict-Transport-Security","Supports-Loading-Mode","TE","Timing-Allow-Origin","Trailer","Transfer-Encoding","Upgrade","Upgrade-Insecure-Requests","User-Agent","Vary","Via","WWW-Authenticate","X-Content-Type-Options","X-DNS-Prefetch-Control","X-Frame-Options","X-Permitted-Cross-Domain-Policies","X-Powered-By","X-Requested-With","X-XSS-Protection"];for(let R=0;R{"use strict";class UndiciError extends Error{constructor(R){super(R);this.name="UndiciError";this.code="UND_ERR"}}class ConnectTimeoutError extends UndiciError{constructor(R){super(R);Error.captureStackTrace(this,ConnectTimeoutError);this.name="ConnectTimeoutError";this.message=R||"Connect Timeout Error";this.code="UND_ERR_CONNECT_TIMEOUT"}}class HeadersTimeoutError extends UndiciError{constructor(R){super(R);Error.captureStackTrace(this,HeadersTimeoutError);this.name="HeadersTimeoutError";this.message=R||"Headers Timeout Error";this.code="UND_ERR_HEADERS_TIMEOUT"}}class HeadersOverflowError extends UndiciError{constructor(R){super(R);Error.captureStackTrace(this,HeadersOverflowError);this.name="HeadersOverflowError";this.message=R||"Headers Overflow Error";this.code="UND_ERR_HEADERS_OVERFLOW"}}class BodyTimeoutError extends UndiciError{constructor(R){super(R);Error.captureStackTrace(this,BodyTimeoutError);this.name="BodyTimeoutError";this.message=R||"Body Timeout Error";this.code="UND_ERR_BODY_TIMEOUT"}}class ResponseStatusCodeError extends UndiciError{constructor(R,pe,Ae,he){super(R);Error.captureStackTrace(this,ResponseStatusCodeError);this.name="ResponseStatusCodeError";this.message=R||"Response Status Code Error";this.code="UND_ERR_RESPONSE_STATUS_CODE";this.body=he;this.status=pe;this.statusCode=pe;this.headers=Ae}}class InvalidArgumentError extends UndiciError{constructor(R){super(R);Error.captureStackTrace(this,InvalidArgumentError);this.name="InvalidArgumentError";this.message=R||"Invalid Argument Error";this.code="UND_ERR_INVALID_ARG"}}class InvalidReturnValueError extends UndiciError{constructor(R){super(R);Error.captureStackTrace(this,InvalidReturnValueError);this.name="InvalidReturnValueError";this.message=R||"Invalid Return Value Error";this.code="UND_ERR_INVALID_RETURN_VALUE"}}class RequestAbortedError extends UndiciError{constructor(R){super(R);Error.captureStackTrace(this,RequestAbortedError);this.name="AbortError";this.message=R||"Request aborted";this.code="UND_ERR_ABORTED"}}class InformationalError extends UndiciError{constructor(R){super(R);Error.captureStackTrace(this,InformationalError);this.name="InformationalError";this.message=R||"Request information";this.code="UND_ERR_INFO"}}class RequestContentLengthMismatchError extends UndiciError{constructor(R){super(R);Error.captureStackTrace(this,RequestContentLengthMismatchError);this.name="RequestContentLengthMismatchError";this.message=R||"Request body length does not match content-length header";this.code="UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"}}class ResponseContentLengthMismatchError extends UndiciError{constructor(R){super(R);Error.captureStackTrace(this,ResponseContentLengthMismatchError);this.name="ResponseContentLengthMismatchError";this.message=R||"Response body length does not match content-length header";this.code="UND_ERR_RES_CONTENT_LENGTH_MISMATCH"}}class ClientDestroyedError extends UndiciError{constructor(R){super(R);Error.captureStackTrace(this,ClientDestroyedError);this.name="ClientDestroyedError";this.message=R||"The client is destroyed";this.code="UND_ERR_DESTROYED"}}class ClientClosedError extends UndiciError{constructor(R){super(R);Error.captureStackTrace(this,ClientClosedError);this.name="ClientClosedError";this.message=R||"The client is closed";this.code="UND_ERR_CLOSED"}}class SocketError extends UndiciError{constructor(R,pe){super(R);Error.captureStackTrace(this,SocketError);this.name="SocketError";this.message=R||"Socket error";this.code="UND_ERR_SOCKET";this.socket=pe}}class NotSupportedError extends UndiciError{constructor(R){super(R);Error.captureStackTrace(this,NotSupportedError);this.name="NotSupportedError";this.message=R||"Not supported error";this.code="UND_ERR_NOT_SUPPORTED"}}class BalancedPoolMissingUpstreamError extends UndiciError{constructor(R){super(R);Error.captureStackTrace(this,NotSupportedError);this.name="MissingUpstreamError";this.message=R||"No upstream has been added to the BalancedPool";this.code="UND_ERR_BPL_MISSING_UPSTREAM"}}class HTTPParserError extends Error{constructor(R,pe,Ae){super(R);Error.captureStackTrace(this,HTTPParserError);this.name="HTTPParserError";this.code=pe?`HPE_${pe}`:undefined;this.data=Ae?Ae.toString():undefined}}class ResponseExceededMaxSizeError extends UndiciError{constructor(R){super(R);Error.captureStackTrace(this,ResponseExceededMaxSizeError);this.name="ResponseExceededMaxSizeError";this.message=R||"Response content exceeded max size";this.code="UND_ERR_RES_EXCEEDED_MAX_SIZE"}}class RequestRetryError extends UndiciError{constructor(R,pe,{headers:Ae,data:he}){super(R);Error.captureStackTrace(this,RequestRetryError);this.name="RequestRetryError";this.message=R||"Request retry error";this.code="UND_ERR_REQ_RETRY";this.statusCode=pe;this.data=he;this.headers=Ae}}R.exports={HTTPParserError:HTTPParserError,UndiciError:UndiciError,HeadersTimeoutError:HeadersTimeoutError,HeadersOverflowError:HeadersOverflowError,BodyTimeoutError:BodyTimeoutError,RequestContentLengthMismatchError:RequestContentLengthMismatchError,ConnectTimeoutError:ConnectTimeoutError,ResponseStatusCodeError:ResponseStatusCodeError,InvalidArgumentError:InvalidArgumentError,InvalidReturnValueError:InvalidReturnValueError,RequestAbortedError:RequestAbortedError,ClientDestroyedError:ClientDestroyedError,ClientClosedError:ClientClosedError,InformationalError:InformationalError,SocketError:SocketError,NotSupportedError:NotSupportedError,ResponseContentLengthMismatchError:ResponseContentLengthMismatchError,BalancedPoolMissingUpstreamError:BalancedPoolMissingUpstreamError,ResponseExceededMaxSizeError:ResponseExceededMaxSizeError,RequestRetryError:RequestRetryError}},62905:(R,pe,Ae)=>{"use strict";const{InvalidArgumentError:he,NotSupportedError:ge}=Ae(48045);const me=Ae(39491);const{kHTTP2BuildRequest:ye,kHTTP2CopyHeaders:ve,kHTTP1BuildRequest:be}=Ae(72785);const Ee=Ae(83983);const Ce=/^[\^_`a-zA-Z\-0-9!#$%&'*+.|~]+$/;const we=/[^\t\x20-\x7e\x80-\xff]/;const Ie=/[^\u0021-\u00ff]/;const _e=Symbol("handler");const Be={};let Se;try{const R=Ae(67643);Be.create=R.channel("undici:request:create");Be.bodySent=R.channel("undici:request:bodySent");Be.headers=R.channel("undici:request:headers");Be.trailers=R.channel("undici:request:trailers");Be.error=R.channel("undici:request:error")}catch{Be.create={hasSubscribers:false};Be.bodySent={hasSubscribers:false};Be.headers={hasSubscribers:false};Be.trailers={hasSubscribers:false};Be.error={hasSubscribers:false}}class Request{constructor(R,{path:pe,method:ge,body:me,headers:ye,query:ve,idempotent:be,blocking:we,upgrade:Qe,headersTimeout:xe,bodyTimeout:De,reset:ke,throwOnError:Oe,expectContinue:Re},Pe){if(typeof pe!=="string"){throw new he("path must be a string")}else if(pe[0]!=="/"&&!(pe.startsWith("http://")||pe.startsWith("https://"))&&ge!=="CONNECT"){throw new he("path must be an absolute URL or start with a slash")}else if(Ie.exec(pe)!==null){throw new he("invalid request path")}if(typeof ge!=="string"){throw new he("method must be a string")}else if(Ce.exec(ge)===null){throw new he("invalid request method")}if(Qe&&typeof Qe!=="string"){throw new he("upgrade must be a string")}if(xe!=null&&(!Number.isFinite(xe)||xe<0)){throw new he("invalid headersTimeout")}if(De!=null&&(!Number.isFinite(De)||De<0)){throw new he("invalid bodyTimeout")}if(ke!=null&&typeof ke!=="boolean"){throw new he("invalid reset")}if(Re!=null&&typeof Re!=="boolean"){throw new he("invalid expectContinue")}this.headersTimeout=xe;this.bodyTimeout=De;this.throwOnError=Oe===true;this.method=ge;this.abort=null;if(me==null){this.body=null}else if(Ee.isStream(me)){this.body=me;const R=this.body._readableState;if(!R||!R.autoDestroy){this.endHandler=function autoDestroy(){Ee.destroy(this)};this.body.on("end",this.endHandler)}this.errorHandler=R=>{if(this.abort){this.abort(R)}else{this.error=R}};this.body.on("error",this.errorHandler)}else if(Ee.isBuffer(me)){this.body=me.byteLength?me:null}else if(ArrayBuffer.isView(me)){this.body=me.buffer.byteLength?Buffer.from(me.buffer,me.byteOffset,me.byteLength):null}else if(me instanceof ArrayBuffer){this.body=me.byteLength?Buffer.from(me):null}else if(typeof me==="string"){this.body=me.length?Buffer.from(me):null}else if(Ee.isFormDataLike(me)||Ee.isIterable(me)||Ee.isBlobLike(me)){this.body=me}else{throw new he("body must be a string, a Buffer, a Readable stream, an iterable, or an async iterable")}this.completed=false;this.aborted=false;this.upgrade=Qe||null;this.path=ve?Ee.buildURL(pe,ve):pe;this.origin=R;this.idempotent=be==null?ge==="HEAD"||ge==="GET":be;this.blocking=we==null?false:we;this.reset=ke==null?null:ke;this.host=null;this.contentLength=null;this.contentType=null;this.headers="";this.expectContinue=Re!=null?Re:false;if(Array.isArray(ye)){if(ye.length%2!==0){throw new he("headers array must be even")}for(let R=0;R{R.exports={kClose:Symbol("close"),kDestroy:Symbol("destroy"),kDispatch:Symbol("dispatch"),kUrl:Symbol("url"),kWriting:Symbol("writing"),kResuming:Symbol("resuming"),kQueue:Symbol("queue"),kConnect:Symbol("connect"),kConnecting:Symbol("connecting"),kHeadersList:Symbol("headers list"),kKeepAliveDefaultTimeout:Symbol("default keep alive timeout"),kKeepAliveMaxTimeout:Symbol("max keep alive timeout"),kKeepAliveTimeoutThreshold:Symbol("keep alive timeout threshold"),kKeepAliveTimeoutValue:Symbol("keep alive timeout"),kKeepAlive:Symbol("keep alive"),kHeadersTimeout:Symbol("headers timeout"),kBodyTimeout:Symbol("body timeout"),kServerName:Symbol("server name"),kLocalAddress:Symbol("local address"),kHost:Symbol("host"),kNoRef:Symbol("no ref"),kBodyUsed:Symbol("used"),kRunning:Symbol("running"),kBlocking:Symbol("blocking"),kPending:Symbol("pending"),kSize:Symbol("size"),kBusy:Symbol("busy"),kQueued:Symbol("queued"),kFree:Symbol("free"),kConnected:Symbol("connected"),kClosed:Symbol("closed"),kNeedDrain:Symbol("need drain"),kReset:Symbol("reset"),kDestroyed:Symbol.for("nodejs.stream.destroyed"),kMaxHeadersSize:Symbol("max headers size"),kRunningIdx:Symbol("running index"),kPendingIdx:Symbol("pending index"),kError:Symbol("error"),kClients:Symbol("clients"),kClient:Symbol("client"),kParser:Symbol("parser"),kOnDestroyed:Symbol("destroy callbacks"),kPipelining:Symbol("pipelining"),kSocket:Symbol("socket"),kHostHeader:Symbol("host header"),kConnector:Symbol("connector"),kStrictContentLength:Symbol("strict content length"),kMaxRedirections:Symbol("maxRedirections"),kMaxRequests:Symbol("maxRequestsPerClient"),kProxy:Symbol("proxy agent options"),kCounter:Symbol("socket request counter"),kInterceptors:Symbol("dispatch interceptors"),kMaxResponseSize:Symbol("max response size"),kHTTP2Session:Symbol("http2Session"),kHTTP2SessionState:Symbol("http2Session state"),kHTTP2BuildRequest:Symbol("http2 build request"),kHTTP1BuildRequest:Symbol("http1 build request"),kHTTP2CopyHeaders:Symbol("http2 copy headers"),kHTTPConnVersion:Symbol("http connection version"),kRetryHandlerDefaultRetry:Symbol("retry agent default retry"),kConstruct:Symbol("constructable")}},83983:(R,pe,Ae)=>{"use strict";const he=Ae(39491);const{kDestroyed:ge,kBodyUsed:me}=Ae(72785);const{IncomingMessage:ye}=Ae(13685);const ve=Ae(12781);const be=Ae(41808);const{InvalidArgumentError:Ee}=Ae(48045);const{Blob:Ce}=Ae(14300);const we=Ae(73837);const{stringify:Ie}=Ae(63477);const{headerNameLowerCasedRecord:_e}=Ae(14462);const[Be,Se]=process.versions.node.split(".").map((R=>Number(R)));function nop(){}function isStream(R){return R&&typeof R==="object"&&typeof R.pipe==="function"&&typeof R.on==="function"}function isBlobLike(R){return Ce&&R instanceof Ce||R&&typeof R==="object"&&(typeof R.stream==="function"||typeof R.arrayBuffer==="function")&&/^(Blob|File)$/.test(R[Symbol.toStringTag])}function buildURL(R,pe){if(R.includes("?")||R.includes("#")){throw new Error('Query params cannot be passed when url already contains "?" or "#".')}const Ae=Ie(pe);if(Ae){R+="?"+Ae}return R}function parseURL(R){if(typeof R==="string"){R=new URL(R);if(!/^https?:/.test(R.origin||R.protocol)){throw new Ee("Invalid URL protocol: the URL must start with `http:` or `https:`.")}return R}if(!R||typeof R!=="object"){throw new Ee("Invalid URL: The URL argument must be a non-null object.")}if(!/^https?:/.test(R.origin||R.protocol)){throw new Ee("Invalid URL protocol: the URL must start with `http:` or `https:`.")}if(!(R instanceof URL)){if(R.port!=null&&R.port!==""&&!Number.isFinite(parseInt(R.port))){throw new Ee("Invalid URL: port must be a valid integer or a string representation of an integer.")}if(R.path!=null&&typeof R.path!=="string"){throw new Ee("Invalid URL path: the path must be a string or null/undefined.")}if(R.pathname!=null&&typeof R.pathname!=="string"){throw new Ee("Invalid URL pathname: the pathname must be a string or null/undefined.")}if(R.hostname!=null&&typeof R.hostname!=="string"){throw new Ee("Invalid URL hostname: the hostname must be a string or null/undefined.")}if(R.origin!=null&&typeof R.origin!=="string"){throw new Ee("Invalid URL origin: the origin must be a string or null/undefined.")}const pe=R.port!=null?R.port:R.protocol==="https:"?443:80;let Ae=R.origin!=null?R.origin:`${R.protocol}//${R.hostname}:${pe}`;let he=R.path!=null?R.path:`${R.pathname||""}${R.search||""}`;if(Ae.endsWith("/")){Ae=Ae.substring(0,Ae.length-1)}if(he&&!he.startsWith("/")){he=`/${he}`}R=new URL(Ae+he)}return R}function parseOrigin(R){R=parseURL(R);if(R.pathname!=="/"||R.search||R.hash){throw new Ee("invalid url")}return R}function getHostname(R){if(R[0]==="["){const pe=R.indexOf("]");he(pe!==-1);return R.substring(1,pe)}const pe=R.indexOf(":");if(pe===-1)return R;return R.substring(0,pe)}function getServerName(R){if(!R){return null}he.strictEqual(typeof R,"string");const pe=getHostname(R);if(be.isIP(pe)){return""}return pe}function deepClone(R){return JSON.parse(JSON.stringify(R))}function isAsyncIterable(R){return!!(R!=null&&typeof R[Symbol.asyncIterator]==="function")}function isIterable(R){return!!(R!=null&&(typeof R[Symbol.iterator]==="function"||typeof R[Symbol.asyncIterator]==="function"))}function bodyLength(R){if(R==null){return 0}else if(isStream(R)){const pe=R._readableState;return pe&&pe.objectMode===false&&pe.ended===true&&Number.isFinite(pe.length)?pe.length:null}else if(isBlobLike(R)){return R.size!=null?R.size:null}else if(isBuffer(R)){return R.byteLength}return null}function isDestroyed(R){return!R||!!(R.destroyed||R[ge])}function isReadableAborted(R){const pe=R&&R._readableState;return isDestroyed(R)&&pe&&!pe.endEmitted}function destroy(R,pe){if(R==null||!isStream(R)||isDestroyed(R)){return}if(typeof R.destroy==="function"){if(Object.getPrototypeOf(R).constructor===ye){R.socket=null}R.destroy(pe)}else if(pe){process.nextTick(((R,pe)=>{R.emit("error",pe)}),R,pe)}if(R.destroyed!==true){R[ge]=true}}const Qe=/timeout=(\d+)/;function parseKeepAliveTimeout(R){const pe=R.toString().match(Qe);return pe?parseInt(pe[1],10)*1e3:null}function headerNameToString(R){return _e[R]||R.toLowerCase()}function parseHeaders(R,pe={}){if(!Array.isArray(R))return R;for(let Ae=0;AeR.toString("utf8")))}else{pe[he]=R[Ae+1].toString("utf8")}}else{if(!Array.isArray(ge)){ge=[ge];pe[he]=ge}ge.push(R[Ae+1].toString("utf8"))}}if("content-length"in pe&&"content-disposition"in pe){pe["content-disposition"]=Buffer.from(pe["content-disposition"]).toString("latin1")}return pe}function parseRawHeaders(R){const pe=[];let Ae=false;let he=-1;for(let ge=0;ge{R.close()}))}else{const pe=Buffer.isBuffer(he)?he:Buffer.from(he);R.enqueue(new Uint8Array(pe))}return R.desiredSize>0},async cancel(R){await pe.return()}},0)}function isFormDataLike(R){return R&&typeof R==="object"&&typeof R.append==="function"&&typeof R.delete==="function"&&typeof R.get==="function"&&typeof R.getAll==="function"&&typeof R.has==="function"&&typeof R.set==="function"&&R[Symbol.toStringTag]==="FormData"}function throwIfAborted(R){if(!R){return}if(typeof R.throwIfAborted==="function"){R.throwIfAborted()}else{if(R.aborted){const R=new Error("The operation was aborted");R.name="AbortError";throw R}}}function addAbortListener(R,pe){if("addEventListener"in R){R.addEventListener("abort",pe,{once:true});return()=>R.removeEventListener("abort",pe)}R.addListener("abort",pe);return()=>R.removeListener("abort",pe)}const De=!!String.prototype.toWellFormed;function toUSVString(R){if(De){return`${R}`.toWellFormed()}else if(we.toUSVString){return we.toUSVString(R)}return`${R}`}function parseRangeHeader(R){if(R==null||R==="")return{start:0,end:null,size:null};const pe=R?R.match(/^bytes (\d+)-(\d+)\/(\d+)?$/):null;return pe?{start:parseInt(pe[1]),end:pe[2]?parseInt(pe[2]):null,size:pe[3]?parseInt(pe[3]):null}:null}const ke=Object.create(null);ke.enumerable=true;R.exports={kEnumerableProperty:ke,nop:nop,isDisturbed:isDisturbed,isErrored:isErrored,isReadable:isReadable,toUSVString:toUSVString,isReadableAborted:isReadableAborted,isBlobLike:isBlobLike,parseOrigin:parseOrigin,parseURL:parseURL,getServerName:getServerName,isStream:isStream,isIterable:isIterable,isAsyncIterable:isAsyncIterable,isDestroyed:isDestroyed,headerNameToString:headerNameToString,parseRawHeaders:parseRawHeaders,parseHeaders:parseHeaders,parseKeepAliveTimeout:parseKeepAliveTimeout,destroy:destroy,bodyLength:bodyLength,deepClone:deepClone,ReadableStreamFrom:ReadableStreamFrom,isBuffer:isBuffer,validateHandler:validateHandler,getSocketInfo:getSocketInfo,isFormDataLike:isFormDataLike,buildURL:buildURL,throwIfAborted:throwIfAborted,addAbortListener:addAbortListener,parseRangeHeader:parseRangeHeader,nodeMajor:Be,nodeMinor:Se,nodeHasAutoSelectFamily:Be>18||Be===18&&Se>=13,safeHTTPMethods:["GET","HEAD","OPTIONS","TRACE"]}},74839:(R,pe,Ae)=>{"use strict";const he=Ae(60412);const{ClientDestroyedError:ge,ClientClosedError:me,InvalidArgumentError:ye}=Ae(48045);const{kDestroy:ve,kClose:be,kDispatch:Ee,kInterceptors:Ce}=Ae(72785);const we=Symbol("destroyed");const Ie=Symbol("closed");const _e=Symbol("onDestroyed");const Be=Symbol("onClosed");const Se=Symbol("Intercepted Dispatch");class DispatcherBase extends he{constructor(){super();this[we]=false;this[_e]=null;this[Ie]=false;this[Be]=[]}get destroyed(){return this[we]}get closed(){return this[Ie]}get interceptors(){return this[Ce]}set interceptors(R){if(R){for(let pe=R.length-1;pe>=0;pe--){const R=this[Ce][pe];if(typeof R!=="function"){throw new ye("interceptor must be an function")}}}this[Ce]=R}close(R){if(R===undefined){return new Promise(((R,pe)=>{this.close(((Ae,he)=>Ae?pe(Ae):R(he)))}))}if(typeof R!=="function"){throw new ye("invalid callback")}if(this[we]){queueMicrotask((()=>R(new ge,null)));return}if(this[Ie]){if(this[Be]){this[Be].push(R)}else{queueMicrotask((()=>R(null,null)))}return}this[Ie]=true;this[Be].push(R);const onClosed=()=>{const R=this[Be];this[Be]=null;for(let pe=0;pethis.destroy())).then((()=>{queueMicrotask(onClosed)}))}destroy(R,pe){if(typeof R==="function"){pe=R;R=null}if(pe===undefined){return new Promise(((pe,Ae)=>{this.destroy(R,((R,he)=>R?Ae(R):pe(he)))}))}if(typeof pe!=="function"){throw new ye("invalid callback")}if(this[we]){if(this[_e]){this[_e].push(pe)}else{queueMicrotask((()=>pe(null,null)))}return}if(!R){R=new ge}this[we]=true;this[_e]=this[_e]||[];this[_e].push(pe);const onDestroyed=()=>{const R=this[_e];this[_e]=null;for(let pe=0;pe{queueMicrotask(onDestroyed)}))}[Se](R,pe){if(!this[Ce]||this[Ce].length===0){this[Se]=this[Ee];return this[Ee](R,pe)}let Ae=this[Ee].bind(this);for(let R=this[Ce].length-1;R>=0;R--){Ae=this[Ce][R](Ae)}this[Se]=Ae;return Ae(R,pe)}dispatch(R,pe){if(!pe||typeof pe!=="object"){throw new ye("handler must be an object")}try{if(!R||typeof R!=="object"){throw new ye("opts must be an object.")}if(this[we]||this[_e]){throw new ge}if(this[Ie]){throw new me}return this[Se](R,pe)}catch(R){if(typeof pe.onError!=="function"){throw new ye("invalid onError method")}pe.onError(R);return false}}}R.exports=DispatcherBase},60412:(R,pe,Ae)=>{"use strict";const he=Ae(82361);class Dispatcher extends he{dispatch(){throw new Error("not implemented")}close(){throw new Error("not implemented")}destroy(){throw new Error("not implemented")}}R.exports=Dispatcher},41472:(R,pe,Ae)=>{"use strict";const he=Ae(50727);const ge=Ae(83983);const{ReadableStreamFrom:me,isBlobLike:ye,isReadableStreamLike:ve,readableStreamClose:be,createDeferredPromise:Ee,fullyReadBody:Ce}=Ae(52538);const{FormData:we}=Ae(72015);const{kState:Ie}=Ae(15861);const{webidl:_e}=Ae(21744);const{DOMException:Be,structuredClone:Se}=Ae(41037);const{Blob:Qe,File:xe}=Ae(14300);const{kBodyUsed:De}=Ae(72785);const ke=Ae(39491);const{isErrored:Oe}=Ae(83983);const{isUint8Array:Re,isArrayBuffer:Pe}=Ae(29830);const{File:Te}=Ae(78511);const{parseMIMEType:Ne,serializeAMimeType:Me}=Ae(685);let Fe=globalThis.ReadableStream;const je=xe??Te;const Le=new TextEncoder;const Ue=new TextDecoder;function extractBody(R,pe=false){if(!Fe){Fe=Ae(35356).ReadableStream}let he=null;if(R instanceof Fe){he=R}else if(ye(R)){he=R.stream()}else{he=new Fe({async pull(R){R.enqueue(typeof Ce==="string"?Le.encode(Ce):Ce);queueMicrotask((()=>be(R)))},start(){},type:undefined})}ke(ve(he));let Ee=null;let Ce=null;let we=null;let Ie=null;if(typeof R==="string"){Ce=R;Ie="text/plain;charset=UTF-8"}else if(R instanceof URLSearchParams){Ce=R.toString();Ie="application/x-www-form-urlencoded;charset=UTF-8"}else if(Pe(R)){Ce=new Uint8Array(R.slice())}else if(ArrayBuffer.isView(R)){Ce=new Uint8Array(R.buffer.slice(R.byteOffset,R.byteOffset+R.byteLength))}else if(ge.isFormDataLike(R)){const pe=`----formdata-undici-0${`${Math.floor(Math.random()*1e11)}`.padStart(11,"0")}`;const Ae=`--${pe}\r\nContent-Disposition: form-data` +/*! formdata-polyfill. MIT License. Jimmy Wärting */;const escape=R=>R.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22");const normalizeLinefeeds=R=>R.replace(/\r?\n|\r/g,"\r\n");const he=[];const ge=new Uint8Array([13,10]);we=0;let me=false;for(const[pe,ye]of R){if(typeof ye==="string"){const R=Le.encode(Ae+`; name="${escape(normalizeLinefeeds(pe))}"`+`\r\n\r\n${normalizeLinefeeds(ye)}\r\n`);he.push(R);we+=R.byteLength}else{const R=Le.encode(`${Ae}; name="${escape(normalizeLinefeeds(pe))}"`+(ye.name?`; filename="${escape(ye.name)}"`:"")+"\r\n"+`Content-Type: ${ye.type||"application/octet-stream"}\r\n\r\n`);he.push(R,ye,ge);if(typeof ye.size==="number"){we+=R.byteLength+ye.size+ge.byteLength}else{me=true}}}const ye=Le.encode(`--${pe}--`);he.push(ye);we+=ye.byteLength;if(me){we=null}Ce=R;Ee=async function*(){for(const R of he){if(R.stream){yield*R.stream()}else{yield R}}};Ie="multipart/form-data; boundary="+pe}else if(ye(R)){Ce=R;we=R.size;if(R.type){Ie=R.type}}else if(typeof R[Symbol.asyncIterator]==="function"){if(pe){throw new TypeError("keepalive")}if(ge.isDisturbed(R)||R.locked){throw new TypeError("Response body object should not be disturbed or locked")}he=R instanceof Fe?R:me(R)}if(typeof Ce==="string"||ge.isBuffer(Ce)){we=Buffer.byteLength(Ce)}if(Ee!=null){let pe;he=new Fe({async start(){pe=Ee(R)[Symbol.asyncIterator]()},async pull(R){const{value:Ae,done:ge}=await pe.next();if(ge){queueMicrotask((()=>{R.close()}))}else{if(!Oe(he)){R.enqueue(new Uint8Array(Ae))}}return R.desiredSize>0},async cancel(R){await pe.return()},type:undefined})}const _e={stream:he,source:Ce,length:we};return[_e,Ie]}function safelyExtractBody(R,pe=false){if(!Fe){Fe=Ae(35356).ReadableStream}if(R instanceof Fe){ke(!ge.isDisturbed(R),"The body has already been consumed.");ke(!R.locked,"The stream is locked.")}return extractBody(R,pe)}function cloneBody(R){const[pe,Ae]=R.stream.tee();const he=Se(Ae,{transfer:[Ae]});const[,ge]=he.tee();R.stream=pe;return{stream:ge,length:R.length,source:R.source}}async function*consumeBody(R){if(R){if(Re(R)){yield R}else{const pe=R.stream;if(ge.isDisturbed(pe)){throw new TypeError("The body has already been consumed.")}if(pe.locked){throw new TypeError("The stream is locked.")}pe[De]=true;yield*pe}}}function throwIfAborted(R){if(R.aborted){throw new Be("The operation was aborted.","AbortError")}}function bodyMixinMethods(R){const pe={blob(){return specConsumeBody(this,(R=>{let pe=bodyMimeType(this);if(pe==="failure"){pe=""}else if(pe){pe=Me(pe)}return new Qe([R],{type:pe})}),R)},arrayBuffer(){return specConsumeBody(this,(R=>new Uint8Array(R).buffer),R)},text(){return specConsumeBody(this,utf8DecodeBytes,R)},json(){return specConsumeBody(this,parseJSONFromBytes,R)},async formData(){_e.brandCheck(this,R);throwIfAborted(this[Ie]);const pe=this.headers.get("Content-Type");if(/multipart\/form-data/.test(pe)){const R={};for(const[pe,Ae]of this.headers)R[pe.toLowerCase()]=Ae;const pe=new we;let Ae;try{Ae=new he({headers:R,preservePath:true})}catch(R){throw new Be(`${R}`,"AbortError")}Ae.on("field",((R,Ae)=>{pe.append(R,Ae)}));Ae.on("file",((R,Ae,he,ge,me)=>{const ye=[];if(ge==="base64"||ge.toLowerCase()==="base64"){let ge="";Ae.on("data",(R=>{ge+=R.toString().replace(/[\r\n]/gm,"");const pe=ge.length-ge.length%4;ye.push(Buffer.from(ge.slice(0,pe),"base64"));ge=ge.slice(pe)}));Ae.on("end",(()=>{ye.push(Buffer.from(ge,"base64"));pe.append(R,new je(ye,he,{type:me}))}))}else{Ae.on("data",(R=>{ye.push(R)}));Ae.on("end",(()=>{pe.append(R,new je(ye,he,{type:me}))}))}}));const ge=new Promise(((R,pe)=>{Ae.on("finish",R);Ae.on("error",(R=>pe(new TypeError(R))))}));if(this.body!==null)for await(const R of consumeBody(this[Ie].body))Ae.write(R);Ae.end();await ge;return pe}else if(/application\/x-www-form-urlencoded/.test(pe)){let R;try{let pe="";const Ae=new TextDecoder("utf-8",{ignoreBOM:true});for await(const R of consumeBody(this[Ie].body)){if(!Re(R)){throw new TypeError("Expected Uint8Array chunk")}pe+=Ae.decode(R,{stream:true})}pe+=Ae.decode();R=new URLSearchParams(pe)}catch(R){throw Object.assign(new TypeError,{cause:R})}const pe=new we;for(const[Ae,he]of R){pe.append(Ae,he)}return pe}else{await Promise.resolve();throwIfAborted(this[Ie]);throw _e.errors.exception({header:`${R.name}.formData`,message:"Could not parse content as FormData."})}}};return pe}function mixinBody(R){Object.assign(R.prototype,bodyMixinMethods(R))}async function specConsumeBody(R,pe,Ae){_e.brandCheck(R,Ae);throwIfAborted(R[Ie]);if(bodyUnusable(R[Ie].body)){throw new TypeError("Body is unusable")}const he=Ee();const errorSteps=R=>he.reject(R);const successSteps=R=>{try{he.resolve(pe(R))}catch(R){errorSteps(R)}};if(R[Ie].body==null){successSteps(new Uint8Array);return he.promise}await Ce(R[Ie].body,successSteps,errorSteps);return he.promise}function bodyUnusable(R){return R!=null&&(R.stream.locked||ge.isDisturbed(R.stream))}function utf8DecodeBytes(R){if(R.length===0){return""}if(R[0]===239&&R[1]===187&&R[2]===191){R=R.subarray(3)}const pe=Ue.decode(R);return pe}function parseJSONFromBytes(R){return JSON.parse(utf8DecodeBytes(R))}function bodyMimeType(R){const{headersList:pe}=R[Ie];const Ae=pe.get("content-type");if(Ae===null){return"failure"}return Ne(Ae)}R.exports={extractBody:extractBody,safelyExtractBody:safelyExtractBody,cloneBody:cloneBody,mixinBody:mixinBody}},41037:(R,pe,Ae)=>{"use strict";const{MessageChannel:he,receiveMessageOnPort:ge}=Ae(71267);const me=["GET","HEAD","POST"];const ye=new Set(me);const ve=[101,204,205,304];const be=[301,302,303,307,308];const Ee=new Set(be);const Ce=["1","7","9","11","13","15","17","19","20","21","22","23","25","37","42","43","53","69","77","79","87","95","101","102","103","104","109","110","111","113","115","117","119","123","135","137","139","143","161","179","389","427","465","512","513","514","515","526","530","531","532","540","548","554","556","563","587","601","636","989","990","993","995","1719","1720","1723","2049","3659","4045","5060","5061","6000","6566","6665","6666","6667","6668","6669","6697","10080"];const we=new Set(Ce);const Ie=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"];const _e=new Set(Ie);const Be=["follow","manual","error"];const Se=["GET","HEAD","OPTIONS","TRACE"];const Qe=new Set(Se);const xe=["navigate","same-origin","no-cors","cors"];const De=["omit","same-origin","include"];const ke=["default","no-store","reload","no-cache","force-cache","only-if-cached"];const Oe=["content-encoding","content-language","content-location","content-type","content-length"];const Re=["half"];const Pe=["CONNECT","TRACE","TRACK"];const Te=new Set(Pe);const Ne=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""];const Me=new Set(Ne);const Fe=globalThis.DOMException??(()=>{try{atob("~")}catch(R){return Object.getPrototypeOf(R).constructor}})();let je;const Le=globalThis.structuredClone??function structuredClone(R,pe=undefined){if(arguments.length===0){throw new TypeError("missing argument")}if(!je){je=new he}je.port1.unref();je.port2.unref();je.port1.postMessage(R,pe?.transfer);return ge(je.port2).message};R.exports={DOMException:Fe,structuredClone:Le,subresource:Ne,forbiddenMethods:Pe,requestBodyHeader:Oe,referrerPolicy:Ie,requestRedirect:Be,requestMode:xe,requestCredentials:De,requestCache:ke,redirectStatus:be,corsSafeListedMethods:me,nullBodyStatus:ve,safeMethods:Se,badPorts:Ce,requestDuplex:Re,subresourceSet:Me,badPortsSet:we,redirectStatusSet:Ee,corsSafeListedMethodsSet:ye,safeMethodsSet:Qe,forbiddenMethodsSet:Te,referrerPolicySet:_e}},685:(R,pe,Ae)=>{const he=Ae(39491);const{atob:ge}=Ae(14300);const{isomorphicDecode:me}=Ae(52538);const ye=new TextEncoder;const ve=/^[!#$%&'*+-.^_|~A-Za-z0-9]+$/;const be=/(\u000A|\u000D|\u0009|\u0020)/;const Ee=/[\u0009|\u0020-\u007E|\u0080-\u00FF]/;function dataURLProcessor(R){he(R.protocol==="data:");let pe=URLSerializer(R,true);pe=pe.slice(5);const Ae={position:0};let ge=collectASequenceOfCodePointsFast(",",pe,Ae);const ye=ge.length;ge=removeASCIIWhitespace(ge,true,true);if(Ae.position>=pe.length){return"failure"}Ae.position++;const ve=pe.slice(ye+1);let be=stringPercentDecode(ve);if(/;(\u0020){0,}base64$/i.test(ge)){const R=me(be);be=forgivingBase64(R);if(be==="failure"){return"failure"}ge=ge.slice(0,-6);ge=ge.replace(/(\u0020)+$/,"");ge=ge.slice(0,-1)}if(ge.startsWith(";")){ge="text/plain"+ge}let Ee=parseMIMEType(ge);if(Ee==="failure"){Ee=parseMIMEType("text/plain;charset=US-ASCII")}return{mimeType:Ee,body:be}}function URLSerializer(R,pe=false){if(!pe){return R.href}const Ae=R.href;const he=R.hash.length;return he===0?Ae:Ae.substring(0,Ae.length-he)}function collectASequenceOfCodePoints(R,pe,Ae){let he="";while(Ae.positionR.length){return"failure"}pe.position++;let he=collectASequenceOfCodePointsFast(";",R,pe);he=removeHTTPWhitespace(he,false,true);if(he.length===0||!ve.test(he)){return"failure"}const ge=Ae.toLowerCase();const me=he.toLowerCase();const ye={type:ge,subtype:me,parameters:new Map,essence:`${ge}/${me}`};while(pe.positionbe.test(R)),R,pe);let Ae=collectASequenceOfCodePoints((R=>R!==";"&&R!=="="),R,pe);Ae=Ae.toLowerCase();if(pe.positionR.length){break}let he=null;if(R[pe.position]==='"'){he=collectAnHTTPQuotedString(R,pe,true);collectASequenceOfCodePointsFast(";",R,pe)}else{he=collectASequenceOfCodePointsFast(";",R,pe);he=removeHTTPWhitespace(he,false,true);if(he.length===0){continue}}if(Ae.length!==0&&ve.test(Ae)&&(he.length===0||Ee.test(he))&&!ye.parameters.has(Ae)){ye.parameters.set(Ae,he)}}return ye}function forgivingBase64(R){R=R.replace(/[\u0009\u000A\u000C\u000D\u0020]/g,"");if(R.length%4===0){R=R.replace(/=?=$/,"")}if(R.length%4===1){return"failure"}if(/[^+/0-9A-Za-z]/.test(R)){return"failure"}const pe=ge(R);const Ae=new Uint8Array(pe.length);for(let R=0;RR!=='"'&&R!=="\\"),R,pe);if(pe.position>=R.length){break}const Ae=R[pe.position];pe.position++;if(Ae==="\\"){if(pe.position>=R.length){me+="\\";break}me+=R[pe.position];pe.position++}else{he(Ae==='"');break}}if(Ae){return me}return R.slice(ge,pe.position)}function serializeAMimeType(R){he(R!=="failure");const{parameters:pe,essence:Ae}=R;let ge=Ae;for(let[R,Ae]of pe.entries()){ge+=";";ge+=R;ge+="=";if(!ve.test(Ae)){Ae=Ae.replace(/(\\|")/g,"\\$1");Ae='"'+Ae;Ae+='"'}ge+=Ae}return ge}function isHTTPWhiteSpace(R){return R==="\r"||R==="\n"||R==="\t"||R===" "}function removeHTTPWhitespace(R,pe=true,Ae=true){let he=0;let ge=R.length-1;if(pe){for(;he0&&isHTTPWhiteSpace(R[ge]);ge--);}return R.slice(he,ge+1)}function isASCIIWhitespace(R){return R==="\r"||R==="\n"||R==="\t"||R==="\f"||R===" "}function removeASCIIWhitespace(R,pe=true,Ae=true){let he=0;let ge=R.length-1;if(pe){for(;he0&&isASCIIWhitespace(R[ge]);ge--);}return R.slice(he,ge+1)}R.exports={dataURLProcessor:dataURLProcessor,URLSerializer:URLSerializer,collectASequenceOfCodePoints:collectASequenceOfCodePoints,collectASequenceOfCodePointsFast:collectASequenceOfCodePointsFast,stringPercentDecode:stringPercentDecode,parseMIMEType:parseMIMEType,collectAnHTTPQuotedString:collectAnHTTPQuotedString,serializeAMimeType:serializeAMimeType}},78511:(R,pe,Ae)=>{"use strict";const{Blob:he,File:ge}=Ae(14300);const{types:me}=Ae(73837);const{kState:ye}=Ae(15861);const{isBlobLike:ve}=Ae(52538);const{webidl:be}=Ae(21744);const{parseMIMEType:Ee,serializeAMimeType:Ce}=Ae(685);const{kEnumerableProperty:we}=Ae(83983);const Ie=new TextEncoder;class File extends he{constructor(R,pe,Ae={}){be.argumentLengthCheck(arguments,2,{header:"File constructor"});R=be.converters["sequence"](R);pe=be.converters.USVString(pe);Ae=be.converters.FilePropertyBag(Ae);const he=pe;let ge=Ae.type;let me;e:{if(ge){ge=Ee(ge);if(ge==="failure"){ge="";break e}ge=Ce(ge).toLowerCase()}me=Ae.lastModified}super(processBlobParts(R,Ae),{type:ge});this[ye]={name:he,lastModified:me,type:ge}}get name(){be.brandCheck(this,File);return this[ye].name}get lastModified(){be.brandCheck(this,File);return this[ye].lastModified}get type(){be.brandCheck(this,File);return this[ye].type}}class FileLike{constructor(R,pe,Ae={}){const he=pe;const ge=Ae.type;const me=Ae.lastModified??Date.now();this[ye]={blobLike:R,name:he,type:ge,lastModified:me}}stream(...R){be.brandCheck(this,FileLike);return this[ye].blobLike.stream(...R)}arrayBuffer(...R){be.brandCheck(this,FileLike);return this[ye].blobLike.arrayBuffer(...R)}slice(...R){be.brandCheck(this,FileLike);return this[ye].blobLike.slice(...R)}text(...R){be.brandCheck(this,FileLike);return this[ye].blobLike.text(...R)}get size(){be.brandCheck(this,FileLike);return this[ye].blobLike.size}get type(){be.brandCheck(this,FileLike);return this[ye].blobLike.type}get name(){be.brandCheck(this,FileLike);return this[ye].name}get lastModified(){be.brandCheck(this,FileLike);return this[ye].lastModified}get[Symbol.toStringTag](){return"File"}}Object.defineProperties(File.prototype,{[Symbol.toStringTag]:{value:"File",configurable:true},name:we,lastModified:we});be.converters.Blob=be.interfaceConverter(he);be.converters.BlobPart=function(R,pe){if(be.util.Type(R)==="Object"){if(ve(R)){return be.converters.Blob(R,{strict:false})}if(ArrayBuffer.isView(R)||me.isAnyArrayBuffer(R)){return be.converters.BufferSource(R,pe)}}return be.converters.USVString(R,pe)};be.converters["sequence"]=be.sequenceConverter(be.converters.BlobPart);be.converters.FilePropertyBag=be.dictionaryConverter([{key:"lastModified",converter:be.converters["long long"],get defaultValue(){return Date.now()}},{key:"type",converter:be.converters.DOMString,defaultValue:""},{key:"endings",converter:R=>{R=be.converters.DOMString(R);R=R.toLowerCase();if(R!=="native"){R="transparent"}return R},defaultValue:"transparent"}]);function processBlobParts(R,pe){const Ae=[];for(const he of R){if(typeof he==="string"){let R=he;if(pe.endings==="native"){R=convertLineEndingsNative(R)}Ae.push(Ie.encode(R))}else if(me.isAnyArrayBuffer(he)||me.isTypedArray(he)){if(!he.buffer){Ae.push(new Uint8Array(he))}else{Ae.push(new Uint8Array(he.buffer,he.byteOffset,he.byteLength))}}else if(ve(he)){Ae.push(he)}}return Ae}function convertLineEndingsNative(R){let pe="\n";if(process.platform==="win32"){pe="\r\n"}return R.replace(/\r?\n/g,pe)}function isFileLike(R){return ge&&R instanceof ge||R instanceof File||R&&(typeof R.stream==="function"||typeof R.arrayBuffer==="function")&&R[Symbol.toStringTag]==="File"}R.exports={File:File,FileLike:FileLike,isFileLike:isFileLike}},72015:(R,pe,Ae)=>{"use strict";const{isBlobLike:he,toUSVString:ge,makeIterator:me}=Ae(52538);const{kState:ye}=Ae(15861);const{File:ve,FileLike:be,isFileLike:Ee}=Ae(78511);const{webidl:Ce}=Ae(21744);const{Blob:we,File:Ie}=Ae(14300);const _e=Ie??ve;class FormData{constructor(R){if(R!==undefined){throw Ce.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]})}this[ye]=[]}append(R,pe,Ae=undefined){Ce.brandCheck(this,FormData);Ce.argumentLengthCheck(arguments,2,{header:"FormData.append"});if(arguments.length===3&&!he(pe)){throw new TypeError("Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'")}R=Ce.converters.USVString(R);pe=he(pe)?Ce.converters.Blob(pe,{strict:false}):Ce.converters.USVString(pe);Ae=arguments.length===3?Ce.converters.USVString(Ae):undefined;const ge=makeEntry(R,pe,Ae);this[ye].push(ge)}delete(R){Ce.brandCheck(this,FormData);Ce.argumentLengthCheck(arguments,1,{header:"FormData.delete"});R=Ce.converters.USVString(R);this[ye]=this[ye].filter((pe=>pe.name!==R))}get(R){Ce.brandCheck(this,FormData);Ce.argumentLengthCheck(arguments,1,{header:"FormData.get"});R=Ce.converters.USVString(R);const pe=this[ye].findIndex((pe=>pe.name===R));if(pe===-1){return null}return this[ye][pe].value}getAll(R){Ce.brandCheck(this,FormData);Ce.argumentLengthCheck(arguments,1,{header:"FormData.getAll"});R=Ce.converters.USVString(R);return this[ye].filter((pe=>pe.name===R)).map((R=>R.value))}has(R){Ce.brandCheck(this,FormData);Ce.argumentLengthCheck(arguments,1,{header:"FormData.has"});R=Ce.converters.USVString(R);return this[ye].findIndex((pe=>pe.name===R))!==-1}set(R,pe,Ae=undefined){Ce.brandCheck(this,FormData);Ce.argumentLengthCheck(arguments,2,{header:"FormData.set"});if(arguments.length===3&&!he(pe)){throw new TypeError("Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'")}R=Ce.converters.USVString(R);pe=he(pe)?Ce.converters.Blob(pe,{strict:false}):Ce.converters.USVString(pe);Ae=arguments.length===3?ge(Ae):undefined;const me=makeEntry(R,pe,Ae);const ve=this[ye].findIndex((pe=>pe.name===R));if(ve!==-1){this[ye]=[...this[ye].slice(0,ve),me,...this[ye].slice(ve+1).filter((pe=>pe.name!==R))]}else{this[ye].push(me)}}entries(){Ce.brandCheck(this,FormData);return me((()=>this[ye].map((R=>[R.name,R.value]))),"FormData","key+value")}keys(){Ce.brandCheck(this,FormData);return me((()=>this[ye].map((R=>[R.name,R.value]))),"FormData","key")}values(){Ce.brandCheck(this,FormData);return me((()=>this[ye].map((R=>[R.name,R.value]))),"FormData","value")}forEach(R,pe=globalThis){Ce.brandCheck(this,FormData);Ce.argumentLengthCheck(arguments,1,{header:"FormData.forEach"});if(typeof R!=="function"){throw new TypeError("Failed to execute 'forEach' on 'FormData': parameter 1 is not of type 'Function'.")}for(const[Ae,he]of this){R.apply(pe,[he,Ae,this])}}}FormData.prototype[Symbol.iterator]=FormData.prototype.entries;Object.defineProperties(FormData.prototype,{[Symbol.toStringTag]:{value:"FormData",configurable:true}});function makeEntry(R,pe,Ae){R=Buffer.from(R).toString("utf8");if(typeof pe==="string"){pe=Buffer.from(pe).toString("utf8")}else{if(!Ee(pe)){pe=pe instanceof we?new _e([pe],"blob",{type:pe.type}):new be(pe,"blob",{type:pe.type})}if(Ae!==undefined){const R={type:pe.type,lastModified:pe.lastModified};pe=Ie&&pe instanceof Ie||pe instanceof ve?new _e([pe],Ae,R):new be(pe,Ae,R)}}return{name:R,value:pe}}R.exports={FormData:FormData}},71246:R=>{"use strict";const pe=Symbol.for("undici.globalOrigin.1");function getGlobalOrigin(){return globalThis[pe]}function setGlobalOrigin(R){if(R===undefined){Object.defineProperty(globalThis,pe,{value:undefined,writable:true,enumerable:false,configurable:false});return}const Ae=new URL(R);if(Ae.protocol!=="http:"&&Ae.protocol!=="https:"){throw new TypeError(`Only http & https urls are allowed, received ${Ae.protocol}`)}Object.defineProperty(globalThis,pe,{value:Ae,writable:true,enumerable:false,configurable:false})}R.exports={getGlobalOrigin:getGlobalOrigin,setGlobalOrigin:setGlobalOrigin}},10554:(R,pe,Ae)=>{"use strict";const{kHeadersList:he,kConstruct:ge}=Ae(72785);const{kGuard:me}=Ae(15861);const{kEnumerableProperty:ye}=Ae(83983);const{makeIterator:ve,isValidHeaderName:be,isValidHeaderValue:Ee}=Ae(52538);const{webidl:Ce}=Ae(21744);const we=Ae(39491);const Ie=Symbol("headers map");const _e=Symbol("headers map sorted");function isHTTPWhiteSpaceCharCode(R){return R===10||R===13||R===9||R===32}function headerValueNormalize(R){let pe=0;let Ae=R.length;while(Ae>pe&&isHTTPWhiteSpaceCharCode(R.charCodeAt(Ae-1)))--Ae;while(Ae>pe&&isHTTPWhiteSpaceCharCode(R.charCodeAt(pe)))++pe;return pe===0&&Ae===R.length?R:R.substring(pe,Ae)}function fill(R,pe){if(Array.isArray(pe)){for(let Ae=0;Ae>","record"]})}}function appendHeader(R,pe,Ae){Ae=headerValueNormalize(Ae);if(!be(pe)){throw Ce.errors.invalidArgument({prefix:"Headers.append",value:pe,type:"header name"})}else if(!Ee(Ae)){throw Ce.errors.invalidArgument({prefix:"Headers.append",value:Ae,type:"header value"})}if(R[me]==="immutable"){throw new TypeError("immutable")}else if(R[me]==="request-no-cors"){}return R[he].append(pe,Ae)}class HeadersList{cookies=null;constructor(R){if(R instanceof HeadersList){this[Ie]=new Map(R[Ie]);this[_e]=R[_e];this.cookies=R.cookies===null?null:[...R.cookies]}else{this[Ie]=new Map(R);this[_e]=null}}contains(R){R=R.toLowerCase();return this[Ie].has(R)}clear(){this[Ie].clear();this[_e]=null;this.cookies=null}append(R,pe){this[_e]=null;const Ae=R.toLowerCase();const he=this[Ie].get(Ae);if(he){const R=Ae==="cookie"?"; ":", ";this[Ie].set(Ae,{name:he.name,value:`${he.value}${R}${pe}`})}else{this[Ie].set(Ae,{name:R,value:pe})}if(Ae==="set-cookie"){this.cookies??=[];this.cookies.push(pe)}}set(R,pe){this[_e]=null;const Ae=R.toLowerCase();if(Ae==="set-cookie"){this.cookies=[pe]}this[Ie].set(Ae,{name:R,value:pe})}delete(R){this[_e]=null;R=R.toLowerCase();if(R==="set-cookie"){this.cookies=null}this[Ie].delete(R)}get(R){const pe=this[Ie].get(R.toLowerCase());return pe===undefined?null:pe.value}*[Symbol.iterator](){for(const[R,{value:pe}]of this[Ie]){yield[R,pe]}}get entries(){const R={};if(this[Ie].size){for(const{name:pe,value:Ae}of this[Ie].values()){R[pe]=Ae}}return R}}class Headers{constructor(R=undefined){if(R===ge){return}this[he]=new HeadersList;this[me]="none";if(R!==undefined){R=Ce.converters.HeadersInit(R);fill(this,R)}}append(R,pe){Ce.brandCheck(this,Headers);Ce.argumentLengthCheck(arguments,2,{header:"Headers.append"});R=Ce.converters.ByteString(R);pe=Ce.converters.ByteString(pe);return appendHeader(this,R,pe)}delete(R){Ce.brandCheck(this,Headers);Ce.argumentLengthCheck(arguments,1,{header:"Headers.delete"});R=Ce.converters.ByteString(R);if(!be(R)){throw Ce.errors.invalidArgument({prefix:"Headers.delete",value:R,type:"header name"})}if(this[me]==="immutable"){throw new TypeError("immutable")}else if(this[me]==="request-no-cors"){}if(!this[he].contains(R)){return}this[he].delete(R)}get(R){Ce.brandCheck(this,Headers);Ce.argumentLengthCheck(arguments,1,{header:"Headers.get"});R=Ce.converters.ByteString(R);if(!be(R)){throw Ce.errors.invalidArgument({prefix:"Headers.get",value:R,type:"header name"})}return this[he].get(R)}has(R){Ce.brandCheck(this,Headers);Ce.argumentLengthCheck(arguments,1,{header:"Headers.has"});R=Ce.converters.ByteString(R);if(!be(R)){throw Ce.errors.invalidArgument({prefix:"Headers.has",value:R,type:"header name"})}return this[he].contains(R)}set(R,pe){Ce.brandCheck(this,Headers);Ce.argumentLengthCheck(arguments,2,{header:"Headers.set"});R=Ce.converters.ByteString(R);pe=Ce.converters.ByteString(pe);pe=headerValueNormalize(pe);if(!be(R)){throw Ce.errors.invalidArgument({prefix:"Headers.set",value:R,type:"header name"})}else if(!Ee(pe)){throw Ce.errors.invalidArgument({prefix:"Headers.set",value:pe,type:"header value"})}if(this[me]==="immutable"){throw new TypeError("immutable")}else if(this[me]==="request-no-cors"){}this[he].set(R,pe)}getSetCookie(){Ce.brandCheck(this,Headers);const R=this[he].cookies;if(R){return[...R]}return[]}get[_e](){if(this[he][_e]){return this[he][_e]}const R=[];const pe=[...this[he]].sort(((R,pe)=>R[0]R),"Headers","key")}return ve((()=>[...this[_e].values()]),"Headers","key")}values(){Ce.brandCheck(this,Headers);if(this[me]==="immutable"){const R=this[_e];return ve((()=>R),"Headers","value")}return ve((()=>[...this[_e].values()]),"Headers","value")}entries(){Ce.brandCheck(this,Headers);if(this[me]==="immutable"){const R=this[_e];return ve((()=>R),"Headers","key+value")}return ve((()=>[...this[_e].values()]),"Headers","key+value")}forEach(R,pe=globalThis){Ce.brandCheck(this,Headers);Ce.argumentLengthCheck(arguments,1,{header:"Headers.forEach"});if(typeof R!=="function"){throw new TypeError("Failed to execute 'forEach' on 'Headers': parameter 1 is not of type 'Function'.")}for(const[Ae,he]of this){R.apply(pe,[he,Ae,this])}}[Symbol.for("nodejs.util.inspect.custom")](){Ce.brandCheck(this,Headers);return this[he]}}Headers.prototype[Symbol.iterator]=Headers.prototype.entries;Object.defineProperties(Headers.prototype,{append:ye,delete:ye,get:ye,has:ye,set:ye,getSetCookie:ye,keys:ye,values:ye,entries:ye,forEach:ye,[Symbol.iterator]:{enumerable:false},[Symbol.toStringTag]:{value:"Headers",configurable:true}});Ce.converters.HeadersInit=function(R){if(Ce.util.Type(R)==="Object"){if(R[Symbol.iterator]){return Ce.converters["sequence>"](R)}return Ce.converters["record"](R)}throw Ce.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence>","record"]})};R.exports={fill:fill,Headers:Headers,HeadersList:HeadersList}},74881:(R,pe,Ae)=>{"use strict";const{Response:he,makeNetworkError:ge,makeAppropriateNetworkError:me,filterResponse:ye,makeResponse:ve}=Ae(27823);const{Headers:be}=Ae(10554);const{Request:Ee,makeRequest:Ce}=Ae(48359);const we=Ae(59796);const{bytesMatch:Ie,makePolicyContainer:_e,clonePolicyContainer:Be,requestBadPort:Se,TAOCheck:Qe,appendRequestOriginHeader:xe,responseLocationURL:De,requestCurrentURL:ke,setRequestReferrerPolicyOnRedirect:Oe,tryUpgradeRequestToAPotentiallyTrustworthyURL:Re,createOpaqueTimingInfo:Pe,appendFetchMetadata:Te,corsCheck:Ne,crossOriginResourcePolicyCheck:Me,determineRequestsReferrer:Fe,coarsenedSharedCurrentTime:je,createDeferredPromise:Le,isBlobLike:Ue,sameOrigin:He,isCancelled:Ve,isAborted:We,isErrorLike:Je,fullyReadBody:Ge,readableStreamClose:qe,isomorphicEncode:Ye,urlIsLocal:Ke,urlIsHttpHttpsScheme:ze,urlHasHttpsScheme:$e}=Ae(52538);const{kState:Ze,kHeaders:Xe,kGuard:et,kRealm:tt}=Ae(15861);const rt=Ae(39491);const{safelyExtractBody:nt}=Ae(41472);const{redirectStatusSet:it,nullBodyStatus:ot,safeMethodsSet:st,requestBodyHeader:at,subresourceSet:ct,DOMException:ut}=Ae(41037);const{kHeadersList:lt}=Ae(72785);const dt=Ae(82361);const{Readable:ft,pipeline:pt}=Ae(12781);const{addAbortListener:At,isErrored:ht,isReadable:gt,nodeMajor:mt,nodeMinor:yt}=Ae(83983);const{dataURLProcessor:vt,serializeAMimeType:bt}=Ae(685);const{TransformStream:Et}=Ae(35356);const{getGlobalDispatcher:Ct}=Ae(21892);const{webidl:wt}=Ae(21744);const{STATUS_CODES:It}=Ae(13685);const _t=["GET","HEAD"];let Bt;let St=globalThis.ReadableStream;class Fetch extends dt{constructor(R){super();this.dispatcher=R;this.connection=null;this.dump=false;this.state="ongoing";this.setMaxListeners(21)}terminate(R){if(this.state!=="ongoing"){return}this.state="terminated";this.connection?.destroy(R);this.emit("terminated",R)}abort(R){if(this.state!=="ongoing"){return}this.state="aborted";if(!R){R=new ut("The operation was aborted.","AbortError")}this.serializedAbortReason=R;this.connection?.destroy(R);this.emit("terminated",R)}}function fetch(R,pe={}){wt.argumentLengthCheck(arguments,1,{header:"globalThis.fetch"});const Ae=Le();let ge;try{ge=new Ee(R,pe)}catch(R){Ae.reject(R);return Ae.promise}const me=ge[Ze];if(ge.signal.aborted){abortFetch(Ae,me,null,ge.signal.reason);return Ae.promise}const ye=me.client.globalObject;if(ye?.constructor?.name==="ServiceWorkerGlobalScope"){me.serviceWorkers="none"}let ve=null;const be=null;let Ce=false;let we=null;At(ge.signal,(()=>{Ce=true;rt(we!=null);we.abort(ge.signal.reason);abortFetch(Ae,me,ve,ge.signal.reason)}));const handleFetchDone=R=>finalizeAndReportTiming(R,"fetch");const processResponse=R=>{if(Ce){return Promise.resolve()}if(R.aborted){abortFetch(Ae,me,ve,we.serializedAbortReason);return Promise.resolve()}if(R.type==="error"){Ae.reject(Object.assign(new TypeError("fetch failed"),{cause:R.error}));return Promise.resolve()}ve=new he;ve[Ze]=R;ve[tt]=be;ve[Xe][lt]=R.headersList;ve[Xe][et]="immutable";ve[Xe][tt]=be;Ae.resolve(ve)};we=fetching({request:me,processResponseEndOfBody:handleFetchDone,processResponse:processResponse,dispatcher:pe.dispatcher??Ct()});return Ae.promise}function finalizeAndReportTiming(R,pe="other"){if(R.type==="error"&&R.aborted){return}if(!R.urlList?.length){return}const Ae=R.urlList[0];let he=R.timingInfo;let ge=R.cacheState;if(!ze(Ae)){return}if(he===null){return}if(!R.timingAllowPassed){he=Pe({startTime:he.startTime});ge=""}he.endTime=je();R.timingInfo=he;markResourceTiming(he,Ae,pe,globalThis,ge)}function markResourceTiming(R,pe,Ae,he,ge){if(mt>18||mt===18&&yt>=2){performance.markResourceTiming(R,pe.href,Ae,he,ge)}}function abortFetch(R,pe,Ae,he){if(!he){he=new ut("The operation was aborted.","AbortError")}R.reject(he);if(pe.body!=null&>(pe.body?.stream)){pe.body.stream.cancel(he).catch((R=>{if(R.code==="ERR_INVALID_STATE"){return}throw R}))}if(Ae==null){return}const ge=Ae[Ze];if(ge.body!=null&>(ge.body?.stream)){ge.body.stream.cancel(he).catch((R=>{if(R.code==="ERR_INVALID_STATE"){return}throw R}))}}function fetching({request:R,processRequestBodyChunkLength:pe,processRequestEndOfBody:Ae,processResponse:he,processResponseEndOfBody:ge,processResponseConsumeBody:me,useParallelQueue:ye=false,dispatcher:ve}){let be=null;let Ee=false;if(R.client!=null){be=R.client.globalObject;Ee=R.client.crossOriginIsolatedCapability}const Ce=je(Ee);const we=Pe({startTime:Ce});const Ie={controller:new Fetch(ve),request:R,timingInfo:we,processRequestBodyChunkLength:pe,processRequestEndOfBody:Ae,processResponse:he,processResponseConsumeBody:me,processResponseEndOfBody:ge,taskDestination:be,crossOriginIsolatedCapability:Ee};rt(!R.body||R.body.stream);if(R.window==="client"){R.window=R.client?.globalObject?.constructor?.name==="Window"?R.client:"no-window"}if(R.origin==="client"){R.origin=R.client?.origin}if(R.policyContainer==="client"){if(R.client!=null){R.policyContainer=Be(R.client.policyContainer)}else{R.policyContainer=_e()}}if(!R.headersList.contains("accept")){const pe="*/*";R.headersList.append("accept",pe)}if(!R.headersList.contains("accept-language")){R.headersList.append("accept-language","*")}if(R.priority===null){}if(ct.has(R.destination)){}mainFetch(Ie).catch((R=>{Ie.controller.terminate(R)}));return Ie.controller}async function mainFetch(R,pe=false){const Ae=R.request;let he=null;if(Ae.localURLsOnly&&!Ke(ke(Ae))){he=ge("local URLs only")}Re(Ae);if(Se(Ae)==="blocked"){he=ge("bad port")}if(Ae.referrerPolicy===""){Ae.referrerPolicy=Ae.policyContainer.referrerPolicy}if(Ae.referrer!=="no-referrer"){Ae.referrer=Fe(Ae)}if(he===null){he=await(async()=>{const pe=ke(Ae);if(He(pe,Ae.url)&&Ae.responseTainting==="basic"||pe.protocol==="data:"||(Ae.mode==="navigate"||Ae.mode==="websocket")){Ae.responseTainting="basic";return await schemeFetch(R)}if(Ae.mode==="same-origin"){return ge('request mode cannot be "same-origin"')}if(Ae.mode==="no-cors"){if(Ae.redirect!=="follow"){return ge('redirect mode cannot be "follow" for "no-cors" request')}Ae.responseTainting="opaque";return await schemeFetch(R)}if(!ze(ke(Ae))){return ge("URL scheme must be a HTTP(S) scheme")}Ae.responseTainting="cors";return await httpFetch(R)})()}if(pe){return he}if(he.status!==0&&!he.internalResponse){if(Ae.responseTainting==="cors"){}if(Ae.responseTainting==="basic"){he=ye(he,"basic")}else if(Ae.responseTainting==="cors"){he=ye(he,"cors")}else if(Ae.responseTainting==="opaque"){he=ye(he,"opaque")}else{rt(false)}}let me=he.status===0?he:he.internalResponse;if(me.urlList.length===0){me.urlList.push(...Ae.urlList)}if(!Ae.timingAllowFailed){he.timingAllowPassed=true}if(he.type==="opaque"&&me.status===206&&me.rangeRequested&&!Ae.headers.contains("range")){he=me=ge()}if(he.status!==0&&(Ae.method==="HEAD"||Ae.method==="CONNECT"||ot.includes(me.status))){me.body=null;R.controller.dump=true}if(Ae.integrity){const processBodyError=pe=>fetchFinale(R,ge(pe));if(Ae.responseTainting==="opaque"||he.body==null){processBodyError(he.error);return}const processBody=pe=>{if(!Ie(pe,Ae.integrity)){processBodyError("integrity mismatch");return}he.body=nt(pe)[0];fetchFinale(R,he)};await Ge(he.body,processBody,processBodyError)}else{fetchFinale(R,he)}}function schemeFetch(R){if(Ve(R)&&R.request.redirectCount===0){return Promise.resolve(me(R))}const{request:pe}=R;const{protocol:he}=ke(pe);switch(he){case"about:":{return Promise.resolve(ge("about scheme is not supported"))}case"blob:":{if(!Bt){Bt=Ae(14300).resolveObjectURL}const R=ke(pe);if(R.search.length!==0){return Promise.resolve(ge("NetworkError when attempting to fetch resource."))}const he=Bt(R.toString());if(pe.method!=="GET"||!Ue(he)){return Promise.resolve(ge("invalid method"))}const me=nt(he);const ye=me[0];const be=Ye(`${ye.length}`);const Ee=me[1]??"";const Ce=ve({statusText:"OK",headersList:[["content-length",{name:"Content-Length",value:be}],["content-type",{name:"Content-Type",value:Ee}]]});Ce.body=ye;return Promise.resolve(Ce)}case"data:":{const R=ke(pe);const Ae=vt(R);if(Ae==="failure"){return Promise.resolve(ge("failed to fetch the data URL"))}const he=bt(Ae.mimeType);return Promise.resolve(ve({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:he}]],body:nt(Ae.body)[0]}))}case"file:":{return Promise.resolve(ge("not implemented... yet..."))}case"http:":case"https:":{return httpFetch(R).catch((R=>ge(R)))}default:{return Promise.resolve(ge("unknown scheme"))}}}function finalizeResponse(R,pe){R.request.done=true;if(R.processResponseDone!=null){queueMicrotask((()=>R.processResponseDone(pe)))}}function fetchFinale(R,pe){if(pe.type==="error"){pe.urlList=[R.request.urlList[0]];pe.timingInfo=Pe({startTime:R.timingInfo.startTime})}const processResponseEndOfBody=()=>{R.request.done=true;if(R.processResponseEndOfBody!=null){queueMicrotask((()=>R.processResponseEndOfBody(pe)))}};if(R.processResponse!=null){queueMicrotask((()=>R.processResponse(pe)))}if(pe.body==null){processResponseEndOfBody()}else{const identityTransformAlgorithm=(R,pe)=>{pe.enqueue(R)};const R=new Et({start(){},transform:identityTransformAlgorithm,flush:processResponseEndOfBody},{size(){return 1}},{size(){return 1}});pe.body={stream:pe.body.stream.pipeThrough(R)}}if(R.processResponseConsumeBody!=null){const processBody=Ae=>R.processResponseConsumeBody(pe,Ae);const processBodyError=Ae=>R.processResponseConsumeBody(pe,Ae);if(pe.body==null){queueMicrotask((()=>processBody(null)))}else{return Ge(pe.body,processBody,processBodyError)}return Promise.resolve()}}async function httpFetch(R){const pe=R.request;let Ae=null;let he=null;const me=R.timingInfo;if(pe.serviceWorkers==="all"){}if(Ae===null){if(pe.redirect==="follow"){pe.serviceWorkers="none"}he=Ae=await httpNetworkOrCacheFetch(R);if(pe.responseTainting==="cors"&&Ne(pe,Ae)==="failure"){return ge("cors failure")}if(Qe(pe,Ae)==="failure"){pe.timingAllowFailed=true}}if((pe.responseTainting==="opaque"||Ae.type==="opaque")&&Me(pe.origin,pe.client,pe.destination,he)==="blocked"){return ge("blocked")}if(it.has(he.status)){if(pe.redirect!=="manual"){R.controller.connection.destroy()}if(pe.redirect==="error"){Ae=ge("unexpected redirect")}else if(pe.redirect==="manual"){Ae=he}else if(pe.redirect==="follow"){Ae=await httpRedirectFetch(R,Ae)}else{rt(false)}}Ae.timingInfo=me;return Ae}function httpRedirectFetch(R,pe){const Ae=R.request;const he=pe.internalResponse?pe.internalResponse:pe;let me;try{me=De(he,ke(Ae).hash);if(me==null){return pe}}catch(R){return Promise.resolve(ge(R))}if(!ze(me)){return Promise.resolve(ge("URL scheme must be a HTTP(S) scheme"))}if(Ae.redirectCount===20){return Promise.resolve(ge("redirect count exceeded"))}Ae.redirectCount+=1;if(Ae.mode==="cors"&&(me.username||me.password)&&!He(Ae,me)){return Promise.resolve(ge('cross origin not allowed for request mode "cors"'))}if(Ae.responseTainting==="cors"&&(me.username||me.password)){return Promise.resolve(ge('URL cannot contain credentials for request mode "cors"'))}if(he.status!==303&&Ae.body!=null&&Ae.body.source==null){return Promise.resolve(ge())}if([301,302].includes(he.status)&&Ae.method==="POST"||he.status===303&&!_t.includes(Ae.method)){Ae.method="GET";Ae.body=null;for(const R of at){Ae.headersList.delete(R)}}if(!He(ke(Ae),me)){Ae.headersList.delete("authorization");Ae.headersList.delete("proxy-authorization",true);Ae.headersList.delete("cookie");Ae.headersList.delete("host")}if(Ae.body!=null){rt(Ae.body.source!=null);Ae.body=nt(Ae.body.source)[0]}const ye=R.timingInfo;ye.redirectEndTime=ye.postRedirectStartTime=je(R.crossOriginIsolatedCapability);if(ye.redirectStartTime===0){ye.redirectStartTime=ye.startTime}Ae.urlList.push(me);Oe(Ae,he);return mainFetch(R,true)}async function httpNetworkOrCacheFetch(R,pe=false,Ae=false){const he=R.request;let ye=null;let ve=null;let be=null;const Ee=null;const we=false;if(he.window==="no-window"&&he.redirect==="error"){ye=R;ve=he}else{ve=Ce(he);ye={...R};ye.request=ve}const Ie=he.credentials==="include"||he.credentials==="same-origin"&&he.responseTainting==="basic";const _e=ve.body?ve.body.length:null;let Be=null;if(ve.body==null&&["POST","PUT"].includes(ve.method)){Be="0"}if(_e!=null){Be=Ye(`${_e}`)}if(Be!=null){ve.headersList.append("content-length",Be)}if(_e!=null&&ve.keepalive){}if(ve.referrer instanceof URL){ve.headersList.append("referer",Ye(ve.referrer.href))}xe(ve);Te(ve);if(!ve.headersList.contains("user-agent")){ve.headersList.append("user-agent",typeof esbuildDetection==="undefined"?"undici":"node")}if(ve.cache==="default"&&(ve.headersList.contains("if-modified-since")||ve.headersList.contains("if-none-match")||ve.headersList.contains("if-unmodified-since")||ve.headersList.contains("if-match")||ve.headersList.contains("if-range"))){ve.cache="no-store"}if(ve.cache==="no-cache"&&!ve.preventNoCacheCacheControlHeaderModification&&!ve.headersList.contains("cache-control")){ve.headersList.append("cache-control","max-age=0")}if(ve.cache==="no-store"||ve.cache==="reload"){if(!ve.headersList.contains("pragma")){ve.headersList.append("pragma","no-cache")}if(!ve.headersList.contains("cache-control")){ve.headersList.append("cache-control","no-cache")}}if(ve.headersList.contains("range")){ve.headersList.append("accept-encoding","identity")}if(!ve.headersList.contains("accept-encoding")){if($e(ke(ve))){ve.headersList.append("accept-encoding","br, gzip, deflate")}else{ve.headersList.append("accept-encoding","gzip, deflate")}}ve.headersList.delete("host");if(Ie){}if(Ee==null){ve.cache="no-store"}if(ve.mode!=="no-store"&&ve.mode!=="reload"){}if(be==null){if(ve.mode==="only-if-cached"){return ge("only if cached")}const R=await httpNetworkFetch(ye,Ie,Ae);if(!st.has(ve.method)&&R.status>=200&&R.status<=399){}if(we&&R.status===304){}if(be==null){be=R}}be.urlList=[...ve.urlList];if(ve.headersList.contains("range")){be.rangeRequested=true}be.requestIncludesCredentials=Ie;if(be.status===407){if(he.window==="no-window"){return ge()}if(Ve(R)){return me(R)}return ge("proxy authentication required")}if(be.status===421&&!Ae&&(he.body==null||he.body.source!=null)){if(Ve(R)){return me(R)}R.controller.connection.destroy();be=await httpNetworkOrCacheFetch(R,pe,true)}if(pe){}return be}async function httpNetworkFetch(R,pe=false,he=false){rt(!R.controller.connection||R.controller.connection.destroyed);R.controller.connection={abort:null,destroyed:false,destroy(R){if(!this.destroyed){this.destroyed=true;this.abort?.(R??new ut("The operation was aborted.","AbortError"))}}};const ye=R.request;let Ee=null;const Ce=R.timingInfo;const Ie=null;if(Ie==null){ye.cache="no-store"}const _e=he?"yes":"no";if(ye.mode==="websocket"){}else{}let Be=null;if(ye.body==null&&R.processRequestEndOfBody){queueMicrotask((()=>R.processRequestEndOfBody()))}else if(ye.body!=null){const processBodyChunk=async function*(pe){if(Ve(R)){return}yield pe;R.processRequestBodyChunkLength?.(pe.byteLength)};const processEndOfBody=()=>{if(Ve(R)){return}if(R.processRequestEndOfBody){R.processRequestEndOfBody()}};const processBodyError=pe=>{if(Ve(R)){return}if(pe.name==="AbortError"){R.controller.abort()}else{R.controller.terminate(pe)}};Be=async function*(){try{for await(const R of ye.body.stream){yield*processBodyChunk(R)}processEndOfBody()}catch(R){processBodyError(R)}}()}try{const{body:pe,status:Ae,statusText:he,headersList:ge,socket:me}=await dispatch({body:Be});if(me){Ee=ve({status:Ae,statusText:he,headersList:ge,socket:me})}else{const me=pe[Symbol.asyncIterator]();R.controller.next=()=>me.next();Ee=ve({status:Ae,statusText:he,headersList:ge})}}catch(pe){if(pe.name==="AbortError"){R.controller.connection.destroy();return me(R,pe)}return ge(pe)}const pullAlgorithm=()=>{R.controller.resume()};const cancelAlgorithm=pe=>{R.controller.abort(pe)};if(!St){St=Ae(35356).ReadableStream}const Se=new St({async start(pe){R.controller.controller=pe},async pull(R){await pullAlgorithm(R)},async cancel(R){await cancelAlgorithm(R)}},{highWaterMark:0,size(){return 1}});Ee.body={stream:Se};R.controller.on("terminated",onAborted);R.controller.resume=async()=>{while(true){let pe;let Ae;try{const{done:Ae,value:he}=await R.controller.next();if(We(R)){break}pe=Ae?undefined:he}catch(he){if(R.controller.ended&&!Ce.encodedBodySize){pe=undefined}else{pe=he;Ae=true}}if(pe===undefined){qe(R.controller.controller);finalizeResponse(R,Ee);return}Ce.decodedBodySize+=pe?.byteLength??0;if(Ae){R.controller.terminate(pe);return}R.controller.controller.enqueue(new Uint8Array(pe));if(ht(Se)){R.controller.terminate();return}if(!R.controller.controller.desiredSize){return}}};function onAborted(pe){if(We(R)){Ee.aborted=true;if(gt(Se)){R.controller.controller.error(R.controller.serializedAbortReason)}}else{if(gt(Se)){R.controller.controller.error(new TypeError("terminated",{cause:Je(pe)?pe:undefined}))}}R.controller.connection.destroy()}return Ee;async function dispatch({body:pe}){const Ae=ke(ye);const he=R.controller.dispatcher;return new Promise(((ge,me)=>he.dispatch({path:Ae.pathname+Ae.search,origin:Ae.origin,method:ye.method,body:R.controller.dispatcher.isMockActive?ye.body&&(ye.body.source||ye.body.stream):pe,headers:ye.headersList.entries,maxRedirections:0,upgrade:ye.mode==="websocket"?"websocket":undefined},{body:null,abort:null,onConnect(pe){const{connection:Ae}=R.controller;if(Ae.destroyed){pe(new ut("The operation was aborted.","AbortError"))}else{R.controller.on("terminated",pe);this.abort=Ae.abort=pe}},onHeaders(R,pe,Ae,he){if(R<200){return}let me=[];let ve="";const Ee=new be;if(Array.isArray(pe)){for(let R=0;RR.trim()))}else if(Ae.toLowerCase()==="location"){ve=he}Ee[lt].append(Ae,he)}}else{const R=Object.keys(pe);for(const Ae of R){const R=pe[Ae];if(Ae.toLowerCase()==="content-encoding"){me=R.toLowerCase().split(",").map((R=>R.trim())).reverse()}else if(Ae.toLowerCase()==="location"){ve=R}Ee[lt].append(Ae,R)}}this.body=new ft({read:Ae});const Ce=[];const Ie=ye.redirect==="follow"&&ve&&it.has(R);if(ye.method!=="HEAD"&&ye.method!=="CONNECT"&&!ot.includes(R)&&!Ie){for(const R of me){if(R==="x-gzip"||R==="gzip"){Ce.push(we.createGunzip({flush:we.constants.Z_SYNC_FLUSH,finishFlush:we.constants.Z_SYNC_FLUSH}))}else if(R==="deflate"){Ce.push(we.createInflate())}else if(R==="br"){Ce.push(we.createBrotliDecompress())}else{Ce.length=0;break}}}ge({status:R,statusText:he,headersList:Ee[lt],body:Ce.length?pt(this.body,...Ce,(()=>{})):this.body.on("error",(()=>{}))});return true},onData(pe){if(R.controller.dump){return}const Ae=pe;Ce.encodedBodySize+=Ae.byteLength;return this.body.push(Ae)},onComplete(){if(this.abort){R.controller.off("terminated",this.abort)}R.controller.ended=true;this.body.push(null)},onError(pe){if(this.abort){R.controller.off("terminated",this.abort)}this.body?.destroy(pe);R.controller.terminate(pe);me(pe)},onUpgrade(R,pe,Ae){if(R!==101){return}const he=new be;for(let R=0;R{"use strict";const{extractBody:he,mixinBody:ge,cloneBody:me}=Ae(41472);const{Headers:ye,fill:ve,HeadersList:be}=Ae(10554);const{FinalizationRegistry:Ee}=Ae(56436)();const Ce=Ae(83983);const{isValidHTTPToken:we,sameOrigin:Ie,normalizeMethod:_e,makePolicyContainer:Be,normalizeMethodRecord:Se}=Ae(52538);const{forbiddenMethodsSet:Qe,corsSafeListedMethodsSet:xe,referrerPolicy:De,requestRedirect:ke,requestMode:Oe,requestCredentials:Re,requestCache:Pe,requestDuplex:Te}=Ae(41037);const{kEnumerableProperty:Ne}=Ce;const{kHeaders:Me,kSignal:Fe,kState:je,kGuard:Le,kRealm:Ue}=Ae(15861);const{webidl:He}=Ae(21744);const{getGlobalOrigin:Ve}=Ae(71246);const{URLSerializer:We}=Ae(685);const{kHeadersList:Je,kConstruct:Ge}=Ae(72785);const qe=Ae(39491);const{getMaxListeners:Ye,setMaxListeners:Ke,getEventListeners:ze,defaultMaxListeners:$e}=Ae(82361);let Ze=globalThis.TransformStream;const Xe=Symbol("abortController");const et=new Ee((({signal:R,abort:pe})=>{R.removeEventListener("abort",pe)}));class Request{constructor(R,pe={}){if(R===Ge){return}He.argumentLengthCheck(arguments,1,{header:"Request constructor"});R=He.converters.RequestInfo(R);pe=He.converters.RequestInit(pe);this[Ue]={settingsObject:{baseUrl:Ve(),get origin(){return this.baseUrl?.origin},policyContainer:Be()}};let ge=null;let me=null;const Ee=this[Ue].settingsObject.baseUrl;let De=null;if(typeof R==="string"){let pe;try{pe=new URL(R,Ee)}catch(pe){throw new TypeError("Failed to parse URL from "+R,{cause:pe})}if(pe.username||pe.password){throw new TypeError("Request cannot be constructed from a URL that includes credentials: "+R)}ge=makeRequest({urlList:[pe]});me="cors"}else{qe(R instanceof Request);ge=R[je];De=R[Fe]}const ke=this[Ue].settingsObject.origin;let Oe="client";if(ge.window?.constructor?.name==="EnvironmentSettingsObject"&&Ie(ge.window,ke)){Oe=ge.window}if(pe.window!=null){throw new TypeError(`'window' option '${Oe}' must be null`)}if("window"in pe){Oe="no-window"}ge=makeRequest({method:ge.method,headersList:ge.headersList,unsafeRequest:ge.unsafeRequest,client:this[Ue].settingsObject,window:Oe,priority:ge.priority,origin:ge.origin,referrer:ge.referrer,referrerPolicy:ge.referrerPolicy,mode:ge.mode,credentials:ge.credentials,cache:ge.cache,redirect:ge.redirect,integrity:ge.integrity,keepalive:ge.keepalive,reloadNavigation:ge.reloadNavigation,historyNavigation:ge.historyNavigation,urlList:[...ge.urlList]});const Re=Object.keys(pe).length!==0;if(Re){if(ge.mode==="navigate"){ge.mode="same-origin"}ge.reloadNavigation=false;ge.historyNavigation=false;ge.origin="client";ge.referrer="client";ge.referrerPolicy="";ge.url=ge.urlList[ge.urlList.length-1];ge.urlList=[ge.url]}if(pe.referrer!==undefined){const R=pe.referrer;if(R===""){ge.referrer="no-referrer"}else{let pe;try{pe=new URL(R,Ee)}catch(pe){throw new TypeError(`Referrer "${R}" is not a valid URL.`,{cause:pe})}if(pe.protocol==="about:"&&pe.hostname==="client"||ke&&!Ie(pe,this[Ue].settingsObject.baseUrl)){ge.referrer="client"}else{ge.referrer=pe}}}if(pe.referrerPolicy!==undefined){ge.referrerPolicy=pe.referrerPolicy}let Pe;if(pe.mode!==undefined){Pe=pe.mode}else{Pe=me}if(Pe==="navigate"){throw He.errors.exception({header:"Request constructor",message:"invalid request mode navigate."})}if(Pe!=null){ge.mode=Pe}if(pe.credentials!==undefined){ge.credentials=pe.credentials}if(pe.cache!==undefined){ge.cache=pe.cache}if(ge.cache==="only-if-cached"&&ge.mode!=="same-origin"){throw new TypeError("'only-if-cached' can be set only with 'same-origin' mode")}if(pe.redirect!==undefined){ge.redirect=pe.redirect}if(pe.integrity!=null){ge.integrity=String(pe.integrity)}if(pe.keepalive!==undefined){ge.keepalive=Boolean(pe.keepalive)}if(pe.method!==undefined){let R=pe.method;if(!we(R)){throw new TypeError(`'${R}' is not a valid HTTP method.`)}if(Qe.has(R.toUpperCase())){throw new TypeError(`'${R}' HTTP method is unsupported.`)}R=Se[R]??_e(R);ge.method=R}if(pe.signal!==undefined){De=pe.signal}this[je]=ge;const Te=new AbortController;this[Fe]=Te.signal;this[Fe][Ue]=this[Ue];if(De!=null){if(!De||typeof De.aborted!=="boolean"||typeof De.addEventListener!=="function"){throw new TypeError("Failed to construct 'Request': member signal is not of type AbortSignal.")}if(De.aborted){Te.abort(De.reason)}else{this[Xe]=Te;const R=new WeakRef(Te);const abort=function(){const pe=R.deref();if(pe!==undefined){pe.abort(this.reason)}};try{if(typeof Ye==="function"&&Ye(De)===$e){Ke(100,De)}else if(ze(De,"abort").length>=$e){Ke(100,De)}}catch{}Ce.addAbortListener(De,abort);et.register(Te,{signal:De,abort:abort})}}this[Me]=new ye(Ge);this[Me][Je]=ge.headersList;this[Me][Le]="request";this[Me][Ue]=this[Ue];if(Pe==="no-cors"){if(!xe.has(ge.method)){throw new TypeError(`'${ge.method} is unsupported in no-cors mode.`)}this[Me][Le]="request-no-cors"}if(Re){const R=this[Me][Je];const Ae=pe.headers!==undefined?pe.headers:new be(R);R.clear();if(Ae instanceof be){for(const[pe,he]of Ae){R.append(pe,he)}R.cookies=Ae.cookies}else{ve(this[Me],Ae)}}const Ne=R instanceof Request?R[je].body:null;if((pe.body!=null||Ne!=null)&&(ge.method==="GET"||ge.method==="HEAD")){throw new TypeError("Request with GET/HEAD method cannot have body.")}let We=null;if(pe.body!=null){const[R,Ae]=he(pe.body,ge.keepalive);We=R;if(Ae&&!this[Me][Je].contains("content-type")){this[Me].append("content-type",Ae)}}const tt=We??Ne;if(tt!=null&&tt.source==null){if(We!=null&&pe.duplex==null){throw new TypeError("RequestInit: duplex option is required when sending a body.")}if(ge.mode!=="same-origin"&&ge.mode!=="cors"){throw new TypeError('If request is made from ReadableStream, mode should be "same-origin" or "cors"')}ge.useCORSPreflightFlag=true}let rt=tt;if(We==null&&Ne!=null){if(Ce.isDisturbed(Ne.stream)||Ne.stream.locked){throw new TypeError("Cannot construct a Request with a Request object that has already been used.")}if(!Ze){Ze=Ae(35356).TransformStream}const R=new Ze;Ne.stream.pipeThrough(R);rt={source:Ne.source,length:Ne.length,stream:R.readable}}this[je].body=rt}get method(){He.brandCheck(this,Request);return this[je].method}get url(){He.brandCheck(this,Request);return We(this[je].url)}get headers(){He.brandCheck(this,Request);return this[Me]}get destination(){He.brandCheck(this,Request);return this[je].destination}get referrer(){He.brandCheck(this,Request);if(this[je].referrer==="no-referrer"){return""}if(this[je].referrer==="client"){return"about:client"}return this[je].referrer.toString()}get referrerPolicy(){He.brandCheck(this,Request);return this[je].referrerPolicy}get mode(){He.brandCheck(this,Request);return this[je].mode}get credentials(){return this[je].credentials}get cache(){He.brandCheck(this,Request);return this[je].cache}get redirect(){He.brandCheck(this,Request);return this[je].redirect}get integrity(){He.brandCheck(this,Request);return this[je].integrity}get keepalive(){He.brandCheck(this,Request);return this[je].keepalive}get isReloadNavigation(){He.brandCheck(this,Request);return this[je].reloadNavigation}get isHistoryNavigation(){He.brandCheck(this,Request);return this[je].historyNavigation}get signal(){He.brandCheck(this,Request);return this[Fe]}get body(){He.brandCheck(this,Request);return this[je].body?this[je].body.stream:null}get bodyUsed(){He.brandCheck(this,Request);return!!this[je].body&&Ce.isDisturbed(this[je].body.stream)}get duplex(){He.brandCheck(this,Request);return"half"}clone(){He.brandCheck(this,Request);if(this.bodyUsed||this.body?.locked){throw new TypeError("unusable")}const R=cloneRequest(this[je]);const pe=new Request(Ge);pe[je]=R;pe[Ue]=this[Ue];pe[Me]=new ye(Ge);pe[Me][Je]=R.headersList;pe[Me][Le]=this[Me][Le];pe[Me][Ue]=this[Me][Ue];const Ae=new AbortController;if(this.signal.aborted){Ae.abort(this.signal.reason)}else{Ce.addAbortListener(this.signal,(()=>{Ae.abort(this.signal.reason)}))}pe[Fe]=Ae.signal;return pe}}ge(Request);function makeRequest(R){const pe={method:"GET",localURLsOnly:false,unsafeRequest:false,body:null,client:null,reservedClient:null,replacesClientId:"",window:"client",keepalive:false,serviceWorkers:"all",initiator:"",destination:"",priority:null,origin:"client",policyContainer:"client",referrer:"client",referrerPolicy:"",mode:"no-cors",useCORSPreflightFlag:false,credentials:"same-origin",useCredentials:false,cache:"default",redirect:"follow",integrity:"",cryptoGraphicsNonceMetadata:"",parserMetadata:"",reloadNavigation:false,historyNavigation:false,userActivation:false,taintedOrigin:false,redirectCount:0,responseTainting:"basic",preventNoCacheCacheControlHeaderModification:false,done:false,timingAllowFailed:false,...R,headersList:R.headersList?new be(R.headersList):new be};pe.url=pe.urlList[0];return pe}function cloneRequest(R){const pe=makeRequest({...R,body:null});if(R.body!=null){pe.body=me(R.body)}return pe}Object.defineProperties(Request.prototype,{method:Ne,url:Ne,headers:Ne,redirect:Ne,clone:Ne,signal:Ne,duplex:Ne,destination:Ne,body:Ne,bodyUsed:Ne,isHistoryNavigation:Ne,isReloadNavigation:Ne,keepalive:Ne,integrity:Ne,cache:Ne,credentials:Ne,attribute:Ne,referrerPolicy:Ne,referrer:Ne,mode:Ne,[Symbol.toStringTag]:{value:"Request",configurable:true}});He.converters.Request=He.interfaceConverter(Request);He.converters.RequestInfo=function(R){if(typeof R==="string"){return He.converters.USVString(R)}if(R instanceof Request){return He.converters.Request(R)}return He.converters.USVString(R)};He.converters.AbortSignal=He.interfaceConverter(AbortSignal);He.converters.RequestInit=He.dictionaryConverter([{key:"method",converter:He.converters.ByteString},{key:"headers",converter:He.converters.HeadersInit},{key:"body",converter:He.nullableConverter(He.converters.BodyInit)},{key:"referrer",converter:He.converters.USVString},{key:"referrerPolicy",converter:He.converters.DOMString,allowedValues:De},{key:"mode",converter:He.converters.DOMString,allowedValues:Oe},{key:"credentials",converter:He.converters.DOMString,allowedValues:Re},{key:"cache",converter:He.converters.DOMString,allowedValues:Pe},{key:"redirect",converter:He.converters.DOMString,allowedValues:ke},{key:"integrity",converter:He.converters.DOMString},{key:"keepalive",converter:He.converters.boolean},{key:"signal",converter:He.nullableConverter((R=>He.converters.AbortSignal(R,{strict:false})))},{key:"window",converter:He.converters.any},{key:"duplex",converter:He.converters.DOMString,allowedValues:Te}]);R.exports={Request:Request,makeRequest:makeRequest}},27823:(R,pe,Ae)=>{"use strict";const{Headers:he,HeadersList:ge,fill:me}=Ae(10554);const{extractBody:ye,cloneBody:ve,mixinBody:be}=Ae(41472);const Ee=Ae(83983);const{kEnumerableProperty:Ce}=Ee;const{isValidReasonPhrase:we,isCancelled:Ie,isAborted:_e,isBlobLike:Be,serializeJavascriptValueToJSONString:Se,isErrorLike:Qe,isomorphicEncode:xe}=Ae(52538);const{redirectStatusSet:De,nullBodyStatus:ke,DOMException:Oe}=Ae(41037);const{kState:Re,kHeaders:Pe,kGuard:Te,kRealm:Ne}=Ae(15861);const{webidl:Me}=Ae(21744);const{FormData:Fe}=Ae(72015);const{getGlobalOrigin:je}=Ae(71246);const{URLSerializer:Le}=Ae(685);const{kHeadersList:Ue,kConstruct:He}=Ae(72785);const Ve=Ae(39491);const{types:We}=Ae(73837);const Je=globalThis.ReadableStream||Ae(35356).ReadableStream;const Ge=new TextEncoder("utf-8");class Response{static error(){const R={settingsObject:{}};const pe=new Response;pe[Re]=makeNetworkError();pe[Ne]=R;pe[Pe][Ue]=pe[Re].headersList;pe[Pe][Te]="immutable";pe[Pe][Ne]=R;return pe}static json(R,pe={}){Me.argumentLengthCheck(arguments,1,{header:"Response.json"});if(pe!==null){pe=Me.converters.ResponseInit(pe)}const Ae=Ge.encode(Se(R));const he=ye(Ae);const ge={settingsObject:{}};const me=new Response;me[Ne]=ge;me[Pe][Te]="response";me[Pe][Ne]=ge;initializeResponse(me,pe,{body:he[0],type:"application/json"});return me}static redirect(R,pe=302){const Ae={settingsObject:{}};Me.argumentLengthCheck(arguments,1,{header:"Response.redirect"});R=Me.converters.USVString(R);pe=Me.converters["unsigned short"](pe);let he;try{he=new URL(R,je())}catch(pe){throw Object.assign(new TypeError("Failed to parse URL from "+R),{cause:pe})}if(!De.has(pe)){throw new RangeError("Invalid status code "+pe)}const ge=new Response;ge[Ne]=Ae;ge[Pe][Te]="immutable";ge[Pe][Ne]=Ae;ge[Re].status=pe;const me=xe(Le(he));ge[Re].headersList.append("location",me);return ge}constructor(R=null,pe={}){if(R!==null){R=Me.converters.BodyInit(R)}pe=Me.converters.ResponseInit(pe);this[Ne]={settingsObject:{}};this[Re]=makeResponse({});this[Pe]=new he(He);this[Pe][Te]="response";this[Pe][Ue]=this[Re].headersList;this[Pe][Ne]=this[Ne];let Ae=null;if(R!=null){const[pe,he]=ye(R);Ae={body:pe,type:he}}initializeResponse(this,pe,Ae)}get type(){Me.brandCheck(this,Response);return this[Re].type}get url(){Me.brandCheck(this,Response);const R=this[Re].urlList;const pe=R[R.length-1]??null;if(pe===null){return""}return Le(pe,true)}get redirected(){Me.brandCheck(this,Response);return this[Re].urlList.length>1}get status(){Me.brandCheck(this,Response);return this[Re].status}get ok(){Me.brandCheck(this,Response);return this[Re].status>=200&&this[Re].status<=299}get statusText(){Me.brandCheck(this,Response);return this[Re].statusText}get headers(){Me.brandCheck(this,Response);return this[Pe]}get body(){Me.brandCheck(this,Response);return this[Re].body?this[Re].body.stream:null}get bodyUsed(){Me.brandCheck(this,Response);return!!this[Re].body&&Ee.isDisturbed(this[Re].body.stream)}clone(){Me.brandCheck(this,Response);if(this.bodyUsed||this.body&&this.body.locked){throw Me.errors.exception({header:"Response.clone",message:"Body has already been consumed."})}const R=cloneResponse(this[Re]);const pe=new Response;pe[Re]=R;pe[Ne]=this[Ne];pe[Pe][Ue]=R.headersList;pe[Pe][Te]=this[Pe][Te];pe[Pe][Ne]=this[Pe][Ne];return pe}}be(Response);Object.defineProperties(Response.prototype,{type:Ce,url:Ce,status:Ce,ok:Ce,redirected:Ce,statusText:Ce,headers:Ce,clone:Ce,body:Ce,bodyUsed:Ce,[Symbol.toStringTag]:{value:"Response",configurable:true}});Object.defineProperties(Response,{json:Ce,redirect:Ce,error:Ce});function cloneResponse(R){if(R.internalResponse){return filterResponse(cloneResponse(R.internalResponse),R.type)}const pe=makeResponse({...R,body:null});if(R.body!=null){pe.body=ve(R.body)}return pe}function makeResponse(R){return{aborted:false,rangeRequested:false,timingAllowPassed:false,requestIncludesCredentials:false,type:"default",status:200,timingInfo:null,cacheState:"",statusText:"",...R,headersList:R.headersList?new ge(R.headersList):new ge,urlList:R.urlList?[...R.urlList]:[]}}function makeNetworkError(R){const pe=Qe(R);return makeResponse({type:"error",status:0,error:pe?R:new Error(R?String(R):R),aborted:R&&R.name==="AbortError"})}function makeFilteredResponse(R,pe){pe={internalResponse:R,...pe};return new Proxy(R,{get(R,Ae){return Ae in pe?pe[Ae]:R[Ae]},set(R,Ae,he){Ve(!(Ae in pe));R[Ae]=he;return true}})}function filterResponse(R,pe){if(pe==="basic"){return makeFilteredResponse(R,{type:"basic",headersList:R.headersList})}else if(pe==="cors"){return makeFilteredResponse(R,{type:"cors",headersList:R.headersList})}else if(pe==="opaque"){return makeFilteredResponse(R,{type:"opaque",urlList:Object.freeze([]),status:0,statusText:"",body:null})}else if(pe==="opaqueredirect"){return makeFilteredResponse(R,{type:"opaqueredirect",status:0,statusText:"",headersList:[],body:null})}else{Ve(false)}}function makeAppropriateNetworkError(R,pe=null){Ve(Ie(R));return _e(R)?makeNetworkError(Object.assign(new Oe("The operation was aborted.","AbortError"),{cause:pe})):makeNetworkError(Object.assign(new Oe("Request was cancelled."),{cause:pe}))}function initializeResponse(R,pe,Ae){if(pe.status!==null&&(pe.status<200||pe.status>599)){throw new RangeError('init["status"] must be in the range of 200 to 599, inclusive.')}if("statusText"in pe&&pe.statusText!=null){if(!we(String(pe.statusText))){throw new TypeError("Invalid statusText")}}if("status"in pe&&pe.status!=null){R[Re].status=pe.status}if("statusText"in pe&&pe.statusText!=null){R[Re].statusText=pe.statusText}if("headers"in pe&&pe.headers!=null){me(R[Pe],pe.headers)}if(Ae){if(ke.includes(R.status)){throw Me.errors.exception({header:"Response constructor",message:"Invalid response status code "+R.status})}R[Re].body=Ae.body;if(Ae.type!=null&&!R[Re].headersList.contains("Content-Type")){R[Re].headersList.append("content-type",Ae.type)}}}Me.converters.ReadableStream=Me.interfaceConverter(Je);Me.converters.FormData=Me.interfaceConverter(Fe);Me.converters.URLSearchParams=Me.interfaceConverter(URLSearchParams);Me.converters.XMLHttpRequestBodyInit=function(R){if(typeof R==="string"){return Me.converters.USVString(R)}if(Be(R)){return Me.converters.Blob(R,{strict:false})}if(We.isArrayBuffer(R)||We.isTypedArray(R)||We.isDataView(R)){return Me.converters.BufferSource(R)}if(Ee.isFormDataLike(R)){return Me.converters.FormData(R,{strict:false})}if(R instanceof URLSearchParams){return Me.converters.URLSearchParams(R)}return Me.converters.DOMString(R)};Me.converters.BodyInit=function(R){if(R instanceof Je){return Me.converters.ReadableStream(R)}if(R?.[Symbol.asyncIterator]){return R}return Me.converters.XMLHttpRequestBodyInit(R)};Me.converters.ResponseInit=Me.dictionaryConverter([{key:"status",converter:Me.converters["unsigned short"],defaultValue:200},{key:"statusText",converter:Me.converters.ByteString,defaultValue:""},{key:"headers",converter:Me.converters.HeadersInit}]);R.exports={makeNetworkError:makeNetworkError,makeResponse:makeResponse,makeAppropriateNetworkError:makeAppropriateNetworkError,filterResponse:filterResponse,Response:Response,cloneResponse:cloneResponse}},15861:R=>{"use strict";R.exports={kUrl:Symbol("url"),kHeaders:Symbol("headers"),kSignal:Symbol("signal"),kState:Symbol("state"),kGuard:Symbol("guard"),kRealm:Symbol("realm")}},52538:(R,pe,Ae)=>{"use strict";const{redirectStatusSet:he,referrerPolicySet:ge,badPortsSet:me}=Ae(41037);const{getGlobalOrigin:ye}=Ae(71246);const{performance:ve}=Ae(4074);const{isBlobLike:be,toUSVString:Ee,ReadableStreamFrom:Ce}=Ae(83983);const we=Ae(39491);const{isUint8Array:Ie}=Ae(29830);let _e=[];let Be;try{Be=Ae(6113);const R=["sha256","sha384","sha512"];_e=Be.getHashes().filter((pe=>R.includes(pe)))}catch{}function responseURL(R){const pe=R.urlList;const Ae=pe.length;return Ae===0?null:pe[Ae-1].toString()}function responseLocationURL(R,pe){if(!he.has(R.status)){return null}let Ae=R.headersList.get("location");if(Ae!==null&&isValidHeaderValue(Ae)){Ae=new URL(Ae,responseURL(R))}if(Ae&&!Ae.hash){Ae.hash=pe}return Ae}function requestCurrentURL(R){return R.urlList[R.urlList.length-1]}function requestBadPort(R){const pe=requestCurrentURL(R);if(urlIsHttpHttpsScheme(pe)&&me.has(pe.port)){return"blocked"}return"allowed"}function isErrorLike(R){return R instanceof Error||(R?.constructor?.name==="Error"||R?.constructor?.name==="DOMException")}function isValidReasonPhrase(R){for(let pe=0;pe=32&&Ae<=126||Ae>=128&&Ae<=255)){return false}}return true}function isTokenCharCode(R){switch(R){case 34:case 40:case 41:case 44:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 123:case 125:return false;default:return R>=33&&R<=126}}function isValidHTTPToken(R){if(R.length===0){return false}for(let pe=0;pe0){for(let R=he.length;R!==0;R--){const pe=he[R-1].trim();if(ge.has(pe)){me=pe;break}}}if(me!==""){R.referrerPolicy=me}}function crossOriginResourcePolicyCheck(){return"allowed"}function corsCheck(){return"success"}function TAOCheck(){return"success"}function appendFetchMetadata(R){let pe=null;pe=R.mode;R.headersList.set("sec-fetch-mode",pe)}function appendRequestOriginHeader(R){let pe=R.origin;if(R.responseTainting==="cors"||R.mode==="websocket"){if(pe){R.headersList.append("origin",pe)}}else if(R.method!=="GET"&&R.method!=="HEAD"){switch(R.referrerPolicy){case"no-referrer":pe=null;break;case"no-referrer-when-downgrade":case"strict-origin":case"strict-origin-when-cross-origin":if(R.origin&&urlHasHttpsScheme(R.origin)&&!urlHasHttpsScheme(requestCurrentURL(R))){pe=null}break;case"same-origin":if(!sameOrigin(R,requestCurrentURL(R))){pe=null}break;default:}if(pe){R.headersList.append("origin",pe)}}}function coarsenedSharedCurrentTime(R){return ve.now()}function createOpaqueTimingInfo(R){return{startTime:R.startTime??0,redirectStartTime:0,redirectEndTime:0,postRedirectStartTime:R.startTime??0,finalServiceWorkerStartTime:0,finalNetworkResponseStartTime:0,finalNetworkRequestStartTime:0,endTime:0,encodedBodySize:0,decodedBodySize:0,finalConnectionTimingInfo:null}}function makePolicyContainer(){return{referrerPolicy:"strict-origin-when-cross-origin"}}function clonePolicyContainer(R){return{referrerPolicy:R.referrerPolicy}}function determineRequestsReferrer(R){const pe=R.referrerPolicy;we(pe);let Ae=null;if(R.referrer==="client"){const R=ye();if(!R||R.origin==="null"){return"no-referrer"}Ae=new URL(R)}else if(R.referrer instanceof URL){Ae=R.referrer}let he=stripURLForReferrer(Ae);const ge=stripURLForReferrer(Ae,true);if(he.toString().length>4096){he=ge}const me=sameOrigin(R,he);const ve=isURLPotentiallyTrustworthy(he)&&!isURLPotentiallyTrustworthy(R.url);switch(pe){case"origin":return ge!=null?ge:stripURLForReferrer(Ae,true);case"unsafe-url":return he;case"same-origin":return me?ge:"no-referrer";case"origin-when-cross-origin":return me?he:ge;case"strict-origin-when-cross-origin":{const pe=requestCurrentURL(R);if(sameOrigin(he,pe)){return he}if(isURLPotentiallyTrustworthy(he)&&!isURLPotentiallyTrustworthy(pe)){return"no-referrer"}return ge}case"strict-origin":case"no-referrer-when-downgrade":default:return ve?"no-referrer":ge}}function stripURLForReferrer(R,pe){we(R instanceof URL);if(R.protocol==="file:"||R.protocol==="about:"||R.protocol==="blank:"){return"no-referrer"}R.username="";R.password="";R.hash="";if(pe){R.pathname="";R.search=""}return R}function isURLPotentiallyTrustworthy(R){if(!(R instanceof URL)){return false}if(R.href==="about:blank"||R.href==="about:srcdoc"){return true}if(R.protocol==="data:")return true;if(R.protocol==="file:")return true;return isOriginPotentiallyTrustworthy(R.origin);function isOriginPotentiallyTrustworthy(R){if(R==null||R==="null")return false;const pe=new URL(R);if(pe.protocol==="https:"||pe.protocol==="wss:"){return true}if(/^127(?:\.[0-9]+){0,2}\.[0-9]+$|^\[(?:0*:)*?:?0*1\]$/.test(pe.hostname)||(pe.hostname==="localhost"||pe.hostname.includes("localhost."))||pe.hostname.endsWith(".localhost")){return true}return false}}function bytesMatch(R,pe){if(Be===undefined){return true}const Ae=parseMetadata(pe);if(Ae==="no metadata"){return true}if(Ae.length===0){return true}const he=getStrongestMetadata(Ae);const ge=filterMetadataListByAlgorithm(Ae,he);for(const pe of ge){const Ae=pe.algo;const he=pe.hash;let ge=Be.createHash(Ae).update(R).digest("base64");if(ge[ge.length-1]==="="){if(ge[ge.length-2]==="="){ge=ge.slice(0,-2)}else{ge=ge.slice(0,-1)}}if(compareBase64Mixed(ge,he)){return true}}return false}const Se=/(?sha256|sha384|sha512)-((?[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i;function parseMetadata(R){const pe=[];let Ae=true;for(const he of R.split(" ")){Ae=false;const R=Se.exec(he);if(R===null||R.groups===undefined||R.groups.algo===undefined){continue}const ge=R.groups.algo.toLowerCase();if(_e.includes(ge)){pe.push(R.groups)}}if(Ae===true){return"no metadata"}return pe}function getStrongestMetadata(R){let pe=R[0].algo;if(pe[3]==="5"){return pe}for(let Ae=1;Ae{R=Ae;pe=he}));return{promise:Ae,resolve:R,reject:pe}}function isAborted(R){return R.controller.state==="aborted"}function isCancelled(R){return R.controller.state==="aborted"||R.controller.state==="terminated"}const Qe={delete:"DELETE",DELETE:"DELETE",get:"GET",GET:"GET",head:"HEAD",HEAD:"HEAD",options:"OPTIONS",OPTIONS:"OPTIONS",post:"POST",POST:"POST",put:"PUT",PUT:"PUT"};Object.setPrototypeOf(Qe,null);function normalizeMethod(R){return Qe[R.toLowerCase()]??R}function serializeJavascriptValueToJSONString(R){const pe=JSON.stringify(R);if(pe===undefined){throw new TypeError("Value is not JSON serializable")}we(typeof pe==="string");return pe}const xe=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function makeIterator(R,pe,Ae){const he={index:0,kind:Ae,target:R};const ge={next(){if(Object.getPrototypeOf(this)!==ge){throw new TypeError(`'next' called on an object that does not implement interface ${pe} Iterator.`)}const{index:R,kind:Ae,target:me}=he;const ye=me();const ve=ye.length;if(R>=ve){return{value:undefined,done:true}}const be=ye[R];he.index=R+1;return iteratorResult(be,Ae)},[Symbol.toStringTag]:`${pe} Iterator`};Object.setPrototypeOf(ge,xe);return Object.setPrototypeOf({},ge)}function iteratorResult(R,pe){let Ae;switch(pe){case"key":{Ae=R[0];break}case"value":{Ae=R[1];break}case"key+value":{Ae=R;break}}return{value:Ae,done:false}}async function fullyReadBody(R,pe,Ae){const he=pe;const ge=Ae;let me;try{me=R.stream.getReader()}catch(R){ge(R);return}try{const R=await readAllBytes(me);he(R)}catch(R){ge(R)}}let De=globalThis.ReadableStream;function isReadableStreamLike(R){if(!De){De=Ae(35356).ReadableStream}return R instanceof De||R[Symbol.toStringTag]==="ReadableStream"&&typeof R.tee==="function"}const ke=65535;function isomorphicDecode(R){if(R.lengthR+String.fromCharCode(pe)),"")}function readableStreamClose(R){try{R.close()}catch(R){if(!R.message.includes("Controller is already closed")){throw R}}}function isomorphicEncode(R){for(let pe=0;peObject.prototype.hasOwnProperty.call(R,pe));R.exports={isAborted:isAborted,isCancelled:isCancelled,createDeferredPromise:createDeferredPromise,ReadableStreamFrom:Ce,toUSVString:Ee,tryUpgradeRequestToAPotentiallyTrustworthyURL:tryUpgradeRequestToAPotentiallyTrustworthyURL,coarsenedSharedCurrentTime:coarsenedSharedCurrentTime,determineRequestsReferrer:determineRequestsReferrer,makePolicyContainer:makePolicyContainer,clonePolicyContainer:clonePolicyContainer,appendFetchMetadata:appendFetchMetadata,appendRequestOriginHeader:appendRequestOriginHeader,TAOCheck:TAOCheck,corsCheck:corsCheck,crossOriginResourcePolicyCheck:crossOriginResourcePolicyCheck,createOpaqueTimingInfo:createOpaqueTimingInfo,setRequestReferrerPolicyOnRedirect:setRequestReferrerPolicyOnRedirect,isValidHTTPToken:isValidHTTPToken,requestBadPort:requestBadPort,requestCurrentURL:requestCurrentURL,responseURL:responseURL,responseLocationURL:responseLocationURL,isBlobLike:be,isURLPotentiallyTrustworthy:isURLPotentiallyTrustworthy,isValidReasonPhrase:isValidReasonPhrase,sameOrigin:sameOrigin,normalizeMethod:normalizeMethod,serializeJavascriptValueToJSONString:serializeJavascriptValueToJSONString,makeIterator:makeIterator,isValidHeaderName:isValidHeaderName,isValidHeaderValue:isValidHeaderValue,hasOwn:Oe,isErrorLike:isErrorLike,fullyReadBody:fullyReadBody,bytesMatch:bytesMatch,isReadableStreamLike:isReadableStreamLike,readableStreamClose:readableStreamClose,isomorphicEncode:isomorphicEncode,isomorphicDecode:isomorphicDecode,urlIsLocal:urlIsLocal,urlHasHttpsScheme:urlHasHttpsScheme,urlIsHttpHttpsScheme:urlIsHttpHttpsScheme,readAllBytes:readAllBytes,normalizeMethodRecord:Qe,parseMetadata:parseMetadata}},21744:(R,pe,Ae)=>{"use strict";const{types:he}=Ae(73837);const{hasOwn:ge,toUSVString:me}=Ae(52538);const ye={};ye.converters={};ye.util={};ye.errors={};ye.errors.exception=function(R){return new TypeError(`${R.header}: ${R.message}`)};ye.errors.conversionFailed=function(R){const pe=R.types.length===1?"":" one of";const Ae=`${R.argument} could not be converted to`+`${pe}: ${R.types.join(", ")}.`;return ye.errors.exception({header:R.prefix,message:Ae})};ye.errors.invalidArgument=function(R){return ye.errors.exception({header:R.prefix,message:`"${R.value}" is an invalid ${R.type}.`})};ye.brandCheck=function(R,pe,Ae=undefined){if(Ae?.strict!==false&&!(R instanceof pe)){throw new TypeError("Illegal invocation")}else{return R?.[Symbol.toStringTag]===pe.prototype[Symbol.toStringTag]}};ye.argumentLengthCheck=function({length:R},pe,Ae){if(Rge){throw ye.errors.exception({header:"Integer conversion",message:`Value must be between ${me}-${ge}, got ${ve}.`})}return ve}if(!Number.isNaN(ve)&&he.clamp===true){ve=Math.min(Math.max(ve,me),ge);if(Math.floor(ve)%2===0){ve=Math.floor(ve)}else{ve=Math.ceil(ve)}return ve}if(Number.isNaN(ve)||ve===0&&Object.is(0,ve)||ve===Number.POSITIVE_INFINITY||ve===Number.NEGATIVE_INFINITY){return 0}ve=ye.util.IntegerPart(ve);ve=ve%Math.pow(2,pe);if(Ae==="signed"&&ve>=Math.pow(2,pe)-1){return ve-Math.pow(2,pe)}return ve};ye.util.IntegerPart=function(R){const pe=Math.floor(Math.abs(R));if(R<0){return-1*pe}return pe};ye.sequenceConverter=function(R){return pe=>{if(ye.util.Type(pe)!=="Object"){throw ye.errors.exception({header:"Sequence",message:`Value of type ${ye.util.Type(pe)} is not an Object.`})}const Ae=pe?.[Symbol.iterator]?.();const he=[];if(Ae===undefined||typeof Ae.next!=="function"){throw ye.errors.exception({header:"Sequence",message:"Object is not an iterator."})}while(true){const{done:pe,value:ge}=Ae.next();if(pe){break}he.push(R(ge))}return he}};ye.recordConverter=function(R,pe){return Ae=>{if(ye.util.Type(Ae)!=="Object"){throw ye.errors.exception({header:"Record",message:`Value of type ${ye.util.Type(Ae)} is not an Object.`})}const ge={};if(!he.isProxy(Ae)){const he=Object.keys(Ae);for(const me of he){const he=R(me);const ye=pe(Ae[me]);ge[he]=ye}return ge}const me=Reflect.ownKeys(Ae);for(const he of me){const me=Reflect.getOwnPropertyDescriptor(Ae,he);if(me?.enumerable){const me=R(he);const ye=pe(Ae[he]);ge[me]=ye}}return ge}};ye.interfaceConverter=function(R){return(pe,Ae={})=>{if(Ae.strict!==false&&!(pe instanceof R)){throw ye.errors.exception({header:R.name,message:`Expected ${pe} to be an instance of ${R.name}.`})}return pe}};ye.dictionaryConverter=function(R){return pe=>{const Ae=ye.util.Type(pe);const he={};if(Ae==="Null"||Ae==="Undefined"){return he}else if(Ae!=="Object"){throw ye.errors.exception({header:"Dictionary",message:`Expected ${pe} to be one of: Null, Undefined, Object.`})}for(const Ae of R){const{key:R,defaultValue:me,required:ve,converter:be}=Ae;if(ve===true){if(!ge(pe,R)){throw ye.errors.exception({header:"Dictionary",message:`Missing required key "${R}".`})}}let Ee=pe[R];const Ce=ge(Ae,"defaultValue");if(Ce&&Ee!==null){Ee=Ee??me}if(ve||Ce||Ee!==undefined){Ee=be(Ee);if(Ae.allowedValues&&!Ae.allowedValues.includes(Ee)){throw ye.errors.exception({header:"Dictionary",message:`${Ee} is not an accepted type. Expected one of ${Ae.allowedValues.join(", ")}.`})}he[R]=Ee}}return he}};ye.nullableConverter=function(R){return pe=>{if(pe===null){return pe}return R(pe)}};ye.converters.DOMString=function(R,pe={}){if(R===null&&pe.legacyNullToEmptyString){return""}if(typeof R==="symbol"){throw new TypeError("Could not convert argument of type symbol to string.")}return String(R)};ye.converters.ByteString=function(R){const pe=ye.converters.DOMString(R);for(let R=0;R255){throw new TypeError("Cannot convert argument to a ByteString because the character at "+`index ${R} has a value of ${pe.charCodeAt(R)} which is greater than 255.`)}}return pe};ye.converters.USVString=me;ye.converters.boolean=function(R){const pe=Boolean(R);return pe};ye.converters.any=function(R){return R};ye.converters["long long"]=function(R){const pe=ye.util.ConvertToInt(R,64,"signed");return pe};ye.converters["unsigned long long"]=function(R){const pe=ye.util.ConvertToInt(R,64,"unsigned");return pe};ye.converters["unsigned long"]=function(R){const pe=ye.util.ConvertToInt(R,32,"unsigned");return pe};ye.converters["unsigned short"]=function(R,pe){const Ae=ye.util.ConvertToInt(R,16,"unsigned",pe);return Ae};ye.converters.ArrayBuffer=function(R,pe={}){if(ye.util.Type(R)!=="Object"||!he.isAnyArrayBuffer(R)){throw ye.errors.conversionFailed({prefix:`${R}`,argument:`${R}`,types:["ArrayBuffer"]})}if(pe.allowShared===false&&he.isSharedArrayBuffer(R)){throw ye.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}return R};ye.converters.TypedArray=function(R,pe,Ae={}){if(ye.util.Type(R)!=="Object"||!he.isTypedArray(R)||R.constructor.name!==pe.name){throw ye.errors.conversionFailed({prefix:`${pe.name}`,argument:`${R}`,types:[pe.name]})}if(Ae.allowShared===false&&he.isSharedArrayBuffer(R.buffer)){throw ye.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}return R};ye.converters.DataView=function(R,pe={}){if(ye.util.Type(R)!=="Object"||!he.isDataView(R)){throw ye.errors.exception({header:"DataView",message:"Object is not a DataView."})}if(pe.allowShared===false&&he.isSharedArrayBuffer(R.buffer)){throw ye.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}return R};ye.converters.BufferSource=function(R,pe={}){if(he.isAnyArrayBuffer(R)){return ye.converters.ArrayBuffer(R,pe)}if(he.isTypedArray(R)){return ye.converters.TypedArray(R,R.constructor)}if(he.isDataView(R)){return ye.converters.DataView(R,pe)}throw new TypeError(`Could not convert ${R} to a BufferSource.`)};ye.converters["sequence"]=ye.sequenceConverter(ye.converters.ByteString);ye.converters["sequence>"]=ye.sequenceConverter(ye.converters["sequence"]);ye.converters["record"]=ye.recordConverter(ye.converters.ByteString,ye.converters.ByteString);R.exports={webidl:ye}},84854:R=>{"use strict";function getEncoding(R){if(!R){return"failure"}switch(R.trim().toLowerCase()){case"unicode-1-1-utf-8":case"unicode11utf8":case"unicode20utf8":case"utf-8":case"utf8":case"x-unicode20utf8":return"UTF-8";case"866":case"cp866":case"csibm866":case"ibm866":return"IBM866";case"csisolatin2":case"iso-8859-2":case"iso-ir-101":case"iso8859-2":case"iso88592":case"iso_8859-2":case"iso_8859-2:1987":case"l2":case"latin2":return"ISO-8859-2";case"csisolatin3":case"iso-8859-3":case"iso-ir-109":case"iso8859-3":case"iso88593":case"iso_8859-3":case"iso_8859-3:1988":case"l3":case"latin3":return"ISO-8859-3";case"csisolatin4":case"iso-8859-4":case"iso-ir-110":case"iso8859-4":case"iso88594":case"iso_8859-4":case"iso_8859-4:1988":case"l4":case"latin4":return"ISO-8859-4";case"csisolatincyrillic":case"cyrillic":case"iso-8859-5":case"iso-ir-144":case"iso8859-5":case"iso88595":case"iso_8859-5":case"iso_8859-5:1988":return"ISO-8859-5";case"arabic":case"asmo-708":case"csiso88596e":case"csiso88596i":case"csisolatinarabic":case"ecma-114":case"iso-8859-6":case"iso-8859-6-e":case"iso-8859-6-i":case"iso-ir-127":case"iso8859-6":case"iso88596":case"iso_8859-6":case"iso_8859-6:1987":return"ISO-8859-6";case"csisolatingreek":case"ecma-118":case"elot_928":case"greek":case"greek8":case"iso-8859-7":case"iso-ir-126":case"iso8859-7":case"iso88597":case"iso_8859-7":case"iso_8859-7:1987":case"sun_eu_greek":return"ISO-8859-7";case"csiso88598e":case"csisolatinhebrew":case"hebrew":case"iso-8859-8":case"iso-8859-8-e":case"iso-ir-138":case"iso8859-8":case"iso88598":case"iso_8859-8":case"iso_8859-8:1988":case"visual":return"ISO-8859-8";case"csiso88598i":case"iso-8859-8-i":case"logical":return"ISO-8859-8-I";case"csisolatin6":case"iso-8859-10":case"iso-ir-157":case"iso8859-10":case"iso885910":case"l6":case"latin6":return"ISO-8859-10";case"iso-8859-13":case"iso8859-13":case"iso885913":return"ISO-8859-13";case"iso-8859-14":case"iso8859-14":case"iso885914":return"ISO-8859-14";case"csisolatin9":case"iso-8859-15":case"iso8859-15":case"iso885915":case"iso_8859-15":case"l9":return"ISO-8859-15";case"iso-8859-16":return"ISO-8859-16";case"cskoi8r":case"koi":case"koi8":case"koi8-r":case"koi8_r":return"KOI8-R";case"koi8-ru":case"koi8-u":return"KOI8-U";case"csmacintosh":case"mac":case"macintosh":case"x-mac-roman":return"macintosh";case"iso-8859-11":case"iso8859-11":case"iso885911":case"tis-620":case"windows-874":return"windows-874";case"cp1250":case"windows-1250":case"x-cp1250":return"windows-1250";case"cp1251":case"windows-1251":case"x-cp1251":return"windows-1251";case"ansi_x3.4-1968":case"ascii":case"cp1252":case"cp819":case"csisolatin1":case"ibm819":case"iso-8859-1":case"iso-ir-100":case"iso8859-1":case"iso88591":case"iso_8859-1":case"iso_8859-1:1987":case"l1":case"latin1":case"us-ascii":case"windows-1252":case"x-cp1252":return"windows-1252";case"cp1253":case"windows-1253":case"x-cp1253":return"windows-1253";case"cp1254":case"csisolatin5":case"iso-8859-9":case"iso-ir-148":case"iso8859-9":case"iso88599":case"iso_8859-9":case"iso_8859-9:1989":case"l5":case"latin5":case"windows-1254":case"x-cp1254":return"windows-1254";case"cp1255":case"windows-1255":case"x-cp1255":return"windows-1255";case"cp1256":case"windows-1256":case"x-cp1256":return"windows-1256";case"cp1257":case"windows-1257":case"x-cp1257":return"windows-1257";case"cp1258":case"windows-1258":case"x-cp1258":return"windows-1258";case"x-mac-cyrillic":case"x-mac-ukrainian":return"x-mac-cyrillic";case"chinese":case"csgb2312":case"csiso58gb231280":case"gb2312":case"gb_2312":case"gb_2312-80":case"gbk":case"iso-ir-58":case"x-gbk":return"GBK";case"gb18030":return"gb18030";case"big5":case"big5-hkscs":case"cn-big5":case"csbig5":case"x-x-big5":return"Big5";case"cseucpkdfmtjapanese":case"euc-jp":case"x-euc-jp":return"EUC-JP";case"csiso2022jp":case"iso-2022-jp":return"ISO-2022-JP";case"csshiftjis":case"ms932":case"ms_kanji":case"shift-jis":case"shift_jis":case"sjis":case"windows-31j":case"x-sjis":return"Shift_JIS";case"cseuckr":case"csksc56011987":case"euc-kr":case"iso-ir-149":case"korean":case"ks_c_5601-1987":case"ks_c_5601-1989":case"ksc5601":case"ksc_5601":case"windows-949":return"EUC-KR";case"csiso2022kr":case"hz-gb-2312":case"iso-2022-cn":case"iso-2022-cn-ext":case"iso-2022-kr":case"replacement":return"replacement";case"unicodefffe":case"utf-16be":return"UTF-16BE";case"csunicode":case"iso-10646-ucs-2":case"ucs-2":case"unicode":case"unicodefeff":case"utf-16":case"utf-16le":return"UTF-16LE";case"x-user-defined":return"x-user-defined";default:return"failure"}}R.exports={getEncoding:getEncoding}},1446:(R,pe,Ae)=>{"use strict";const{staticPropertyDescriptors:he,readOperation:ge,fireAProgressEvent:me}=Ae(87530);const{kState:ye,kError:ve,kResult:be,kEvents:Ee,kAborted:Ce}=Ae(29054);const{webidl:we}=Ae(21744);const{kEnumerableProperty:Ie}=Ae(83983);class FileReader extends EventTarget{constructor(){super();this[ye]="empty";this[be]=null;this[ve]=null;this[Ee]={loadend:null,error:null,abort:null,load:null,progress:null,loadstart:null}}readAsArrayBuffer(R){we.brandCheck(this,FileReader);we.argumentLengthCheck(arguments,1,{header:"FileReader.readAsArrayBuffer"});R=we.converters.Blob(R,{strict:false});ge(this,R,"ArrayBuffer")}readAsBinaryString(R){we.brandCheck(this,FileReader);we.argumentLengthCheck(arguments,1,{header:"FileReader.readAsBinaryString"});R=we.converters.Blob(R,{strict:false});ge(this,R,"BinaryString")}readAsText(R,pe=undefined){we.brandCheck(this,FileReader);we.argumentLengthCheck(arguments,1,{header:"FileReader.readAsText"});R=we.converters.Blob(R,{strict:false});if(pe!==undefined){pe=we.converters.DOMString(pe)}ge(this,R,"Text",pe)}readAsDataURL(R){we.brandCheck(this,FileReader);we.argumentLengthCheck(arguments,1,{header:"FileReader.readAsDataURL"});R=we.converters.Blob(R,{strict:false});ge(this,R,"DataURL")}abort(){if(this[ye]==="empty"||this[ye]==="done"){this[be]=null;return}if(this[ye]==="loading"){this[ye]="done";this[be]=null}this[Ce]=true;me("abort",this);if(this[ye]!=="loading"){me("loadend",this)}}get readyState(){we.brandCheck(this,FileReader);switch(this[ye]){case"empty":return this.EMPTY;case"loading":return this.LOADING;case"done":return this.DONE}}get result(){we.brandCheck(this,FileReader);return this[be]}get error(){we.brandCheck(this,FileReader);return this[ve]}get onloadend(){we.brandCheck(this,FileReader);return this[Ee].loadend}set onloadend(R){we.brandCheck(this,FileReader);if(this[Ee].loadend){this.removeEventListener("loadend",this[Ee].loadend)}if(typeof R==="function"){this[Ee].loadend=R;this.addEventListener("loadend",R)}else{this[Ee].loadend=null}}get onerror(){we.brandCheck(this,FileReader);return this[Ee].error}set onerror(R){we.brandCheck(this,FileReader);if(this[Ee].error){this.removeEventListener("error",this[Ee].error)}if(typeof R==="function"){this[Ee].error=R;this.addEventListener("error",R)}else{this[Ee].error=null}}get onloadstart(){we.brandCheck(this,FileReader);return this[Ee].loadstart}set onloadstart(R){we.brandCheck(this,FileReader);if(this[Ee].loadstart){this.removeEventListener("loadstart",this[Ee].loadstart)}if(typeof R==="function"){this[Ee].loadstart=R;this.addEventListener("loadstart",R)}else{this[Ee].loadstart=null}}get onprogress(){we.brandCheck(this,FileReader);return this[Ee].progress}set onprogress(R){we.brandCheck(this,FileReader);if(this[Ee].progress){this.removeEventListener("progress",this[Ee].progress)}if(typeof R==="function"){this[Ee].progress=R;this.addEventListener("progress",R)}else{this[Ee].progress=null}}get onload(){we.brandCheck(this,FileReader);return this[Ee].load}set onload(R){we.brandCheck(this,FileReader);if(this[Ee].load){this.removeEventListener("load",this[Ee].load)}if(typeof R==="function"){this[Ee].load=R;this.addEventListener("load",R)}else{this[Ee].load=null}}get onabort(){we.brandCheck(this,FileReader);return this[Ee].abort}set onabort(R){we.brandCheck(this,FileReader);if(this[Ee].abort){this.removeEventListener("abort",this[Ee].abort)}if(typeof R==="function"){this[Ee].abort=R;this.addEventListener("abort",R)}else{this[Ee].abort=null}}}FileReader.EMPTY=FileReader.prototype.EMPTY=0;FileReader.LOADING=FileReader.prototype.LOADING=1;FileReader.DONE=FileReader.prototype.DONE=2;Object.defineProperties(FileReader.prototype,{EMPTY:he,LOADING:he,DONE:he,readAsArrayBuffer:Ie,readAsBinaryString:Ie,readAsText:Ie,readAsDataURL:Ie,abort:Ie,readyState:Ie,result:Ie,error:Ie,onloadstart:Ie,onprogress:Ie,onload:Ie,onabort:Ie,onerror:Ie,onloadend:Ie,[Symbol.toStringTag]:{value:"FileReader",writable:false,enumerable:false,configurable:true}});Object.defineProperties(FileReader,{EMPTY:he,LOADING:he,DONE:he});R.exports={FileReader:FileReader}},55504:(R,pe,Ae)=>{"use strict";const{webidl:he}=Ae(21744);const ge=Symbol("ProgressEvent state");class ProgressEvent extends Event{constructor(R,pe={}){R=he.converters.DOMString(R);pe=he.converters.ProgressEventInit(pe??{});super(R,pe);this[ge]={lengthComputable:pe.lengthComputable,loaded:pe.loaded,total:pe.total}}get lengthComputable(){he.brandCheck(this,ProgressEvent);return this[ge].lengthComputable}get loaded(){he.brandCheck(this,ProgressEvent);return this[ge].loaded}get total(){he.brandCheck(this,ProgressEvent);return this[ge].total}}he.converters.ProgressEventInit=he.dictionaryConverter([{key:"lengthComputable",converter:he.converters.boolean,defaultValue:false},{key:"loaded",converter:he.converters["unsigned long long"],defaultValue:0},{key:"total",converter:he.converters["unsigned long long"],defaultValue:0},{key:"bubbles",converter:he.converters.boolean,defaultValue:false},{key:"cancelable",converter:he.converters.boolean,defaultValue:false},{key:"composed",converter:he.converters.boolean,defaultValue:false}]);R.exports={ProgressEvent:ProgressEvent}},29054:R=>{"use strict";R.exports={kState:Symbol("FileReader state"),kResult:Symbol("FileReader result"),kError:Symbol("FileReader error"),kLastProgressEventFired:Symbol("FileReader last progress event fired timestamp"),kEvents:Symbol("FileReader events"),kAborted:Symbol("FileReader aborted")}},87530:(R,pe,Ae)=>{"use strict";const{kState:he,kError:ge,kResult:me,kAborted:ye,kLastProgressEventFired:ve}=Ae(29054);const{ProgressEvent:be}=Ae(55504);const{getEncoding:Ee}=Ae(84854);const{DOMException:Ce}=Ae(41037);const{serializeAMimeType:we,parseMIMEType:Ie}=Ae(685);const{types:_e}=Ae(73837);const{StringDecoder:Be}=Ae(71576);const{btoa:Se}=Ae(14300);const Qe={enumerable:true,writable:false,configurable:false};function readOperation(R,pe,Ae,be){if(R[he]==="loading"){throw new Ce("Invalid state","InvalidStateError")}R[he]="loading";R[me]=null;R[ge]=null;const Ee=pe.stream();const we=Ee.getReader();const Ie=[];let Be=we.read();let Se=true;(async()=>{while(!R[ye]){try{const{done:Ee,value:Ce}=await Be;if(Se&&!R[ye]){queueMicrotask((()=>{fireAProgressEvent("loadstart",R)}))}Se=false;if(!Ee&&_e.isUint8Array(Ce)){Ie.push(Ce);if((R[ve]===undefined||Date.now()-R[ve]>=50)&&!R[ye]){R[ve]=Date.now();queueMicrotask((()=>{fireAProgressEvent("progress",R)}))}Be=we.read()}else if(Ee){queueMicrotask((()=>{R[he]="done";try{const he=packageData(Ie,Ae,pe.type,be);if(R[ye]){return}R[me]=he;fireAProgressEvent("load",R)}catch(pe){R[ge]=pe;fireAProgressEvent("error",R)}if(R[he]!=="loading"){fireAProgressEvent("loadend",R)}}));break}}catch(pe){if(R[ye]){return}queueMicrotask((()=>{R[he]="done";R[ge]=pe;fireAProgressEvent("error",R);if(R[he]!=="loading"){fireAProgressEvent("loadend",R)}}));break}}})()}function fireAProgressEvent(R,pe){const Ae=new be(R,{bubbles:false,cancelable:false});pe.dispatchEvent(Ae)}function packageData(R,pe,Ae,he){switch(pe){case"DataURL":{let pe="data:";const he=Ie(Ae||"application/octet-stream");if(he!=="failure"){pe+=we(he)}pe+=";base64,";const ge=new Be("latin1");for(const Ae of R){pe+=Se(ge.write(Ae))}pe+=Se(ge.end());return pe}case"Text":{let pe="failure";if(he){pe=Ee(he)}if(pe==="failure"&&Ae){const R=Ie(Ae);if(R!=="failure"){pe=Ee(R.parameters.get("charset"))}}if(pe==="failure"){pe="UTF-8"}return decode(R,pe)}case"ArrayBuffer":{const pe=combineByteSequences(R);return pe.buffer}case"BinaryString":{let pe="";const Ae=new Be("latin1");for(const he of R){pe+=Ae.write(he)}pe+=Ae.end();return pe}}}function decode(R,pe){const Ae=combineByteSequences(R);const he=BOMSniffing(Ae);let ge=0;if(he!==null){pe=he;ge=he==="UTF-8"?3:2}const me=Ae.slice(ge);return new TextDecoder(pe).decode(me)}function BOMSniffing(R){const[pe,Ae,he]=R;if(pe===239&&Ae===187&&he===191){return"UTF-8"}else if(pe===254&&Ae===255){return"UTF-16BE"}else if(pe===255&&Ae===254){return"UTF-16LE"}return null}function combineByteSequences(R){const pe=R.reduce(((R,pe)=>R+pe.byteLength),0);let Ae=0;return R.reduce(((R,pe)=>{R.set(pe,Ae);Ae+=pe.byteLength;return R}),new Uint8Array(pe))}R.exports={staticPropertyDescriptors:Qe,readOperation:readOperation,fireAProgressEvent:fireAProgressEvent}},21892:(R,pe,Ae)=>{"use strict";const he=Symbol.for("undici.globalDispatcher.1");const{InvalidArgumentError:ge}=Ae(48045);const me=Ae(7890);if(getGlobalDispatcher()===undefined){setGlobalDispatcher(new me)}function setGlobalDispatcher(R){if(!R||typeof R.dispatch!=="function"){throw new ge("Argument agent must implement Agent")}Object.defineProperty(globalThis,he,{value:R,writable:true,enumerable:false,configurable:false})}function getGlobalDispatcher(){return globalThis[he]}R.exports={setGlobalDispatcher:setGlobalDispatcher,getGlobalDispatcher:getGlobalDispatcher}},46930:R=>{"use strict";R.exports=class DecoratorHandler{constructor(R){this.handler=R}onConnect(...R){return this.handler.onConnect(...R)}onError(...R){return this.handler.onError(...R)}onUpgrade(...R){return this.handler.onUpgrade(...R)}onHeaders(...R){return this.handler.onHeaders(...R)}onData(...R){return this.handler.onData(...R)}onComplete(...R){return this.handler.onComplete(...R)}onBodySent(...R){return this.handler.onBodySent(...R)}}},72860:(R,pe,Ae)=>{"use strict";const he=Ae(83983);const{kBodyUsed:ge}=Ae(72785);const me=Ae(39491);const{InvalidArgumentError:ye}=Ae(48045);const ve=Ae(82361);const be=[300,301,302,303,307,308];const Ee=Symbol("body");class BodyAsyncIterable{constructor(R){this[Ee]=R;this[ge]=false}async*[Symbol.asyncIterator](){me(!this[ge],"disturbed");this[ge]=true;yield*this[Ee]}}class RedirectHandler{constructor(R,pe,Ae,be){if(pe!=null&&(!Number.isInteger(pe)||pe<0)){throw new ye("maxRedirections must be a positive number")}he.validateHandler(be,Ae.method,Ae.upgrade);this.dispatch=R;this.location=null;this.abort=null;this.opts={...Ae,maxRedirections:0};this.maxRedirections=pe;this.handler=be;this.history=[];if(he.isStream(this.opts.body)){if(he.bodyLength(this.opts.body)===0){this.opts.body.on("data",(function(){me(false)}))}if(typeof this.opts.body.readableDidRead!=="boolean"){this.opts.body[ge]=false;ve.prototype.on.call(this.opts.body,"data",(function(){this[ge]=true}))}}else if(this.opts.body&&typeof this.opts.body.pipeTo==="function"){this.opts.body=new BodyAsyncIterable(this.opts.body)}else if(this.opts.body&&typeof this.opts.body!=="string"&&!ArrayBuffer.isView(this.opts.body)&&he.isIterable(this.opts.body)){this.opts.body=new BodyAsyncIterable(this.opts.body)}}onConnect(R){this.abort=R;this.handler.onConnect(R,{history:this.history})}onUpgrade(R,pe,Ae){this.handler.onUpgrade(R,pe,Ae)}onError(R){this.handler.onError(R)}onHeaders(R,pe,Ae,ge){this.location=this.history.length>=this.maxRedirections||he.isDisturbed(this.opts.body)?null:parseLocation(R,pe);if(this.opts.origin){this.history.push(new URL(this.opts.path,this.opts.origin))}if(!this.location){return this.handler.onHeaders(R,pe,Ae,ge)}const{origin:me,pathname:ye,search:ve}=he.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin)));const be=ve?`${ye}${ve}`:ye;this.opts.headers=cleanRequestHeaders(this.opts.headers,R===303,this.opts.origin!==me);this.opts.path=be;this.opts.origin=me;this.opts.maxRedirections=0;this.opts.query=null;if(R===303&&this.opts.method!=="HEAD"){this.opts.method="GET";this.opts.body=null}}onData(R){if(this.location){}else{return this.handler.onData(R)}}onComplete(R){if(this.location){this.location=null;this.abort=null;this.dispatch(this.opts,this)}else{this.handler.onComplete(R)}}onBodySent(R){if(this.handler.onBodySent){this.handler.onBodySent(R)}}}function parseLocation(R,pe){if(be.indexOf(R)===-1){return null}for(let R=0;R{const he=Ae(39491);const{kRetryHandlerDefaultRetry:ge}=Ae(72785);const{RequestRetryError:me}=Ae(48045);const{isDisturbed:ye,parseHeaders:ve,parseRangeHeader:be}=Ae(83983);function calculateRetryAfterHeader(R){const pe=Date.now();const Ae=new Date(R).getTime()-pe;return Ae}class RetryHandler{constructor(R,pe){const{retryOptions:Ae,...he}=R;const{retry:me,maxRetries:ye,maxTimeout:ve,minTimeout:be,timeoutFactor:Ee,methods:Ce,errorCodes:we,retryAfter:Ie,statusCodes:_e}=Ae??{};this.dispatch=pe.dispatch;this.handler=pe.handler;this.opts=he;this.abort=null;this.aborted=false;this.retryOpts={retry:me??RetryHandler[ge],retryAfter:Ie??true,maxTimeout:ve??30*1e3,timeout:be??500,timeoutFactor:Ee??2,maxRetries:ye??5,methods:Ce??["GET","HEAD","OPTIONS","PUT","DELETE","TRACE"],statusCodes:_e??[500,502,503,504,429],errorCodes:we??["ECONNRESET","ECONNREFUSED","ENOTFOUND","ENETDOWN","ENETUNREACH","EHOSTDOWN","EHOSTUNREACH","EPIPE"]};this.retryCount=0;this.start=0;this.end=null;this.etag=null;this.resume=null;this.handler.onConnect((R=>{this.aborted=true;if(this.abort){this.abort(R)}else{this.reason=R}}))}onRequestSent(){if(this.handler.onRequestSent){this.handler.onRequestSent()}}onUpgrade(R,pe,Ae){if(this.handler.onUpgrade){this.handler.onUpgrade(R,pe,Ae)}}onConnect(R){if(this.aborted){R(this.reason)}else{this.abort=R}}onBodySent(R){if(this.handler.onBodySent)return this.handler.onBodySent(R)}static[ge](R,{state:pe,opts:Ae},he){const{statusCode:ge,code:me,headers:ye}=R;const{method:ve,retryOptions:be}=Ae;const{maxRetries:Ee,timeout:Ce,maxTimeout:we,timeoutFactor:Ie,statusCodes:_e,errorCodes:Be,methods:Se}=be;let{counter:Qe,currentTimeout:xe}=pe;xe=xe!=null&&xe>0?xe:Ce;if(me&&me!=="UND_ERR_REQ_RETRY"&&me!=="UND_ERR_SOCKET"&&!Be.includes(me)){he(R);return}if(Array.isArray(Se)&&!Se.includes(ve)){he(R);return}if(ge!=null&&Array.isArray(_e)&&!_e.includes(ge)){he(R);return}if(Qe>Ee){he(R);return}let De=ye!=null&&ye["retry-after"];if(De){De=Number(De);De=isNaN(De)?calculateRetryAfterHeader(De):De*1e3}const ke=De>0?Math.min(De,we):Math.min(xe*Ie**Qe,we);pe.currentTimeout=ke;setTimeout((()=>he(null)),ke)}onHeaders(R,pe,Ae,ge){const ye=ve(pe);this.retryCount+=1;if(R>=300){this.abort(new me("Request failed",R,{headers:ye,count:this.retryCount}));return false}if(this.resume!=null){this.resume=null;if(R!==206){return true}const pe=be(ye["content-range"]);if(!pe){this.abort(new me("Content-Range mismatch",R,{headers:ye,count:this.retryCount}));return false}if(this.etag!=null&&this.etag!==ye.etag){this.abort(new me("ETag mismatch",R,{headers:ye,count:this.retryCount}));return false}const{start:ge,size:ve,end:Ee=ve}=pe;he(this.start===ge,"content-range mismatch");he(this.end==null||this.end===Ee,"content-range mismatch");this.resume=Ae;return true}if(this.end==null){if(R===206){const me=be(ye["content-range"]);if(me==null){return this.handler.onHeaders(R,pe,Ae,ge)}const{start:ve,size:Ee,end:Ce=Ee}=me;he(ve!=null&&Number.isFinite(ve)&&this.start!==ve,"content-range mismatch");he(Number.isFinite(ve));he(Ce!=null&&Number.isFinite(Ce)&&this.end!==Ce,"invalid content-length");this.start=ve;this.end=Ce}if(this.end==null){const R=ye["content-length"];this.end=R!=null?Number(R):null}he(Number.isFinite(this.start));he(this.end==null||Number.isFinite(this.end),"invalid content-length");this.resume=Ae;this.etag=ye.etag!=null?ye.etag:null;return this.handler.onHeaders(R,pe,Ae,ge)}const Ee=new me("Request failed",R,{headers:ye,count:this.retryCount});this.abort(Ee);return false}onData(R){this.start+=R.length;return this.handler.onData(R)}onComplete(R){this.retryCount=0;return this.handler.onComplete(R)}onError(R){if(this.aborted||ye(this.opts.body)){return this.handler.onError(R)}this.retryOpts.retry(R,{state:{counter:this.retryCount++,currentTimeout:this.retryAfter},opts:{retryOptions:this.retryOpts,...this.opts}},onRetry.bind(this));function onRetry(R){if(R!=null||this.aborted||ye(this.opts.body)){return this.handler.onError(R)}if(this.start!==0){this.opts={...this.opts,headers:{...this.opts.headers,range:`bytes=${this.start}-${this.end??""}`}}}try{this.dispatch(this.opts,this)}catch(R){this.handler.onError(R)}}}}R.exports=RetryHandler},38861:(R,pe,Ae)=>{"use strict";const he=Ae(72860);function createRedirectInterceptor({maxRedirections:R}){return pe=>function Intercept(Ae,ge){const{maxRedirections:me=R}=Ae;if(!me){return pe(Ae,ge)}const ye=new he(pe,me,Ae,ge);Ae={...Ae,maxRedirections:0};return pe(Ae,ye)}}R.exports=createRedirectInterceptor},30953:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.SPECIAL_HEADERS=pe.HEADER_STATE=pe.MINOR=pe.MAJOR=pe.CONNECTION_TOKEN_CHARS=pe.HEADER_CHARS=pe.TOKEN=pe.STRICT_TOKEN=pe.HEX=pe.URL_CHAR=pe.STRICT_URL_CHAR=pe.USERINFO_CHARS=pe.MARK=pe.ALPHANUM=pe.NUM=pe.HEX_MAP=pe.NUM_MAP=pe.ALPHA=pe.FINISH=pe.H_METHOD_MAP=pe.METHOD_MAP=pe.METHODS_RTSP=pe.METHODS_ICE=pe.METHODS_HTTP=pe.METHODS=pe.LENIENT_FLAGS=pe.FLAGS=pe.TYPE=pe.ERROR=void 0;const he=Ae(41891);var ge;(function(R){R[R["OK"]=0]="OK";R[R["INTERNAL"]=1]="INTERNAL";R[R["STRICT"]=2]="STRICT";R[R["LF_EXPECTED"]=3]="LF_EXPECTED";R[R["UNEXPECTED_CONTENT_LENGTH"]=4]="UNEXPECTED_CONTENT_LENGTH";R[R["CLOSED_CONNECTION"]=5]="CLOSED_CONNECTION";R[R["INVALID_METHOD"]=6]="INVALID_METHOD";R[R["INVALID_URL"]=7]="INVALID_URL";R[R["INVALID_CONSTANT"]=8]="INVALID_CONSTANT";R[R["INVALID_VERSION"]=9]="INVALID_VERSION";R[R["INVALID_HEADER_TOKEN"]=10]="INVALID_HEADER_TOKEN";R[R["INVALID_CONTENT_LENGTH"]=11]="INVALID_CONTENT_LENGTH";R[R["INVALID_CHUNK_SIZE"]=12]="INVALID_CHUNK_SIZE";R[R["INVALID_STATUS"]=13]="INVALID_STATUS";R[R["INVALID_EOF_STATE"]=14]="INVALID_EOF_STATE";R[R["INVALID_TRANSFER_ENCODING"]=15]="INVALID_TRANSFER_ENCODING";R[R["CB_MESSAGE_BEGIN"]=16]="CB_MESSAGE_BEGIN";R[R["CB_HEADERS_COMPLETE"]=17]="CB_HEADERS_COMPLETE";R[R["CB_MESSAGE_COMPLETE"]=18]="CB_MESSAGE_COMPLETE";R[R["CB_CHUNK_HEADER"]=19]="CB_CHUNK_HEADER";R[R["CB_CHUNK_COMPLETE"]=20]="CB_CHUNK_COMPLETE";R[R["PAUSED"]=21]="PAUSED";R[R["PAUSED_UPGRADE"]=22]="PAUSED_UPGRADE";R[R["PAUSED_H2_UPGRADE"]=23]="PAUSED_H2_UPGRADE";R[R["USER"]=24]="USER"})(ge=pe.ERROR||(pe.ERROR={}));var me;(function(R){R[R["BOTH"]=0]="BOTH";R[R["REQUEST"]=1]="REQUEST";R[R["RESPONSE"]=2]="RESPONSE"})(me=pe.TYPE||(pe.TYPE={}));var ye;(function(R){R[R["CONNECTION_KEEP_ALIVE"]=1]="CONNECTION_KEEP_ALIVE";R[R["CONNECTION_CLOSE"]=2]="CONNECTION_CLOSE";R[R["CONNECTION_UPGRADE"]=4]="CONNECTION_UPGRADE";R[R["CHUNKED"]=8]="CHUNKED";R[R["UPGRADE"]=16]="UPGRADE";R[R["CONTENT_LENGTH"]=32]="CONTENT_LENGTH";R[R["SKIPBODY"]=64]="SKIPBODY";R[R["TRAILING"]=128]="TRAILING";R[R["TRANSFER_ENCODING"]=512]="TRANSFER_ENCODING"})(ye=pe.FLAGS||(pe.FLAGS={}));var ve;(function(R){R[R["HEADERS"]=1]="HEADERS";R[R["CHUNKED_LENGTH"]=2]="CHUNKED_LENGTH";R[R["KEEP_ALIVE"]=4]="KEEP_ALIVE"})(ve=pe.LENIENT_FLAGS||(pe.LENIENT_FLAGS={}));var be;(function(R){R[R["DELETE"]=0]="DELETE";R[R["GET"]=1]="GET";R[R["HEAD"]=2]="HEAD";R[R["POST"]=3]="POST";R[R["PUT"]=4]="PUT";R[R["CONNECT"]=5]="CONNECT";R[R["OPTIONS"]=6]="OPTIONS";R[R["TRACE"]=7]="TRACE";R[R["COPY"]=8]="COPY";R[R["LOCK"]=9]="LOCK";R[R["MKCOL"]=10]="MKCOL";R[R["MOVE"]=11]="MOVE";R[R["PROPFIND"]=12]="PROPFIND";R[R["PROPPATCH"]=13]="PROPPATCH";R[R["SEARCH"]=14]="SEARCH";R[R["UNLOCK"]=15]="UNLOCK";R[R["BIND"]=16]="BIND";R[R["REBIND"]=17]="REBIND";R[R["UNBIND"]=18]="UNBIND";R[R["ACL"]=19]="ACL";R[R["REPORT"]=20]="REPORT";R[R["MKACTIVITY"]=21]="MKACTIVITY";R[R["CHECKOUT"]=22]="CHECKOUT";R[R["MERGE"]=23]="MERGE";R[R["M-SEARCH"]=24]="M-SEARCH";R[R["NOTIFY"]=25]="NOTIFY";R[R["SUBSCRIBE"]=26]="SUBSCRIBE";R[R["UNSUBSCRIBE"]=27]="UNSUBSCRIBE";R[R["PATCH"]=28]="PATCH";R[R["PURGE"]=29]="PURGE";R[R["MKCALENDAR"]=30]="MKCALENDAR";R[R["LINK"]=31]="LINK";R[R["UNLINK"]=32]="UNLINK";R[R["SOURCE"]=33]="SOURCE";R[R["PRI"]=34]="PRI";R[R["DESCRIBE"]=35]="DESCRIBE";R[R["ANNOUNCE"]=36]="ANNOUNCE";R[R["SETUP"]=37]="SETUP";R[R["PLAY"]=38]="PLAY";R[R["PAUSE"]=39]="PAUSE";R[R["TEARDOWN"]=40]="TEARDOWN";R[R["GET_PARAMETER"]=41]="GET_PARAMETER";R[R["SET_PARAMETER"]=42]="SET_PARAMETER";R[R["REDIRECT"]=43]="REDIRECT";R[R["RECORD"]=44]="RECORD";R[R["FLUSH"]=45]="FLUSH"})(be=pe.METHODS||(pe.METHODS={}));pe.METHODS_HTTP=[be.DELETE,be.GET,be.HEAD,be.POST,be.PUT,be.CONNECT,be.OPTIONS,be.TRACE,be.COPY,be.LOCK,be.MKCOL,be.MOVE,be.PROPFIND,be.PROPPATCH,be.SEARCH,be.UNLOCK,be.BIND,be.REBIND,be.UNBIND,be.ACL,be.REPORT,be.MKACTIVITY,be.CHECKOUT,be.MERGE,be["M-SEARCH"],be.NOTIFY,be.SUBSCRIBE,be.UNSUBSCRIBE,be.PATCH,be.PURGE,be.MKCALENDAR,be.LINK,be.UNLINK,be.PRI,be.SOURCE];pe.METHODS_ICE=[be.SOURCE];pe.METHODS_RTSP=[be.OPTIONS,be.DESCRIBE,be.ANNOUNCE,be.SETUP,be.PLAY,be.PAUSE,be.TEARDOWN,be.GET_PARAMETER,be.SET_PARAMETER,be.REDIRECT,be.RECORD,be.FLUSH,be.GET,be.POST];pe.METHOD_MAP=he.enumToMap(be);pe.H_METHOD_MAP={};Object.keys(pe.METHOD_MAP).forEach((R=>{if(/^H/.test(R)){pe.H_METHOD_MAP[R]=pe.METHOD_MAP[R]}}));var Ee;(function(R){R[R["SAFE"]=0]="SAFE";R[R["SAFE_WITH_CB"]=1]="SAFE_WITH_CB";R[R["UNSAFE"]=2]="UNSAFE"})(Ee=pe.FINISH||(pe.FINISH={}));pe.ALPHA=[];for(let R="A".charCodeAt(0);R<="Z".charCodeAt(0);R++){pe.ALPHA.push(String.fromCharCode(R));pe.ALPHA.push(String.fromCharCode(R+32))}pe.NUM_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9};pe.HEX_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15};pe.NUM=["0","1","2","3","4","5","6","7","8","9"];pe.ALPHANUM=pe.ALPHA.concat(pe.NUM);pe.MARK=["-","_",".","!","~","*","'","(",")"];pe.USERINFO_CHARS=pe.ALPHANUM.concat(pe.MARK).concat(["%",";",":","&","=","+","$",","]);pe.STRICT_URL_CHAR=["!",'"',"$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","@","[","\\","]","^","_","`","{","|","}","~"].concat(pe.ALPHANUM);pe.URL_CHAR=pe.STRICT_URL_CHAR.concat(["\t","\f"]);for(let R=128;R<=255;R++){pe.URL_CHAR.push(R)}pe.HEX=pe.NUM.concat(["a","b","c","d","e","f","A","B","C","D","E","F"]);pe.STRICT_TOKEN=["!","#","$","%","&","'","*","+","-",".","^","_","`","|","~"].concat(pe.ALPHANUM);pe.TOKEN=pe.STRICT_TOKEN.concat([" "]);pe.HEADER_CHARS=["\t"];for(let R=32;R<=255;R++){if(R!==127){pe.HEADER_CHARS.push(R)}}pe.CONNECTION_TOKEN_CHARS=pe.HEADER_CHARS.filter((R=>R!==44));pe.MAJOR=pe.NUM_MAP;pe.MINOR=pe.MAJOR;var Ce;(function(R){R[R["GENERAL"]=0]="GENERAL";R[R["CONNECTION"]=1]="CONNECTION";R[R["CONTENT_LENGTH"]=2]="CONTENT_LENGTH";R[R["TRANSFER_ENCODING"]=3]="TRANSFER_ENCODING";R[R["UPGRADE"]=4]="UPGRADE";R[R["CONNECTION_KEEP_ALIVE"]=5]="CONNECTION_KEEP_ALIVE";R[R["CONNECTION_CLOSE"]=6]="CONNECTION_CLOSE";R[R["CONNECTION_UPGRADE"]=7]="CONNECTION_UPGRADE";R[R["TRANSFER_ENCODING_CHUNKED"]=8]="TRANSFER_ENCODING_CHUNKED"})(Ce=pe.HEADER_STATE||(pe.HEADER_STATE={}));pe.SPECIAL_HEADERS={connection:Ce.CONNECTION,"content-length":Ce.CONTENT_LENGTH,"proxy-connection":Ce.CONNECTION,"transfer-encoding":Ce.TRANSFER_ENCODING,upgrade:Ce.UPGRADE}},61145:R=>{R.exports="AGFzbQEAAAABMAhgAX8Bf2ADf39/AX9gBH9/f38Bf2AAAGADf39/AGABfwBgAn9/AGAGf39/f39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQACA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vbl9ib2R5AAEDZW52GHdhc21fb25fbWVzc2FnZV9jb21wbGV0ZQAAA0ZFAwMEAAAFAAAAAAAABQEFAAUFBQAABgAAAAAGBgYGAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQABAAABAQcAAAUFAwABBAUBcAESEgUDAQACBggBfwFBgNQECwfRBSIGbWVtb3J5AgALX2luaXRpYWxpemUACRlfX2luZGlyZWN0X2Z1bmN0aW9uX3RhYmxlAQALbGxodHRwX2luaXQAChhsbGh0dHBfc2hvdWxkX2tlZXBfYWxpdmUAQQxsbGh0dHBfYWxsb2MADAZtYWxsb2MARgtsbGh0dHBfZnJlZQANBGZyZWUASA9sbGh0dHBfZ2V0X3R5cGUADhVsbGh0dHBfZ2V0X2h0dHBfbWFqb3IADxVsbGh0dHBfZ2V0X2h0dHBfbWlub3IAEBFsbGh0dHBfZ2V0X21ldGhvZAARFmxsaHR0cF9nZXRfc3RhdHVzX2NvZGUAEhJsbGh0dHBfZ2V0X3VwZ3JhZGUAEwxsbGh0dHBfcmVzZXQAFA5sbGh0dHBfZXhlY3V0ZQAVFGxsaHR0cF9zZXR0aW5nc19pbml0ABYNbGxodHRwX2ZpbmlzaAAXDGxsaHR0cF9wYXVzZQAYDWxsaHR0cF9yZXN1bWUAGRtsbGh0dHBfcmVzdW1lX2FmdGVyX3VwZ3JhZGUAGhBsbGh0dHBfZ2V0X2Vycm5vABsXbGxodHRwX2dldF9lcnJvcl9yZWFzb24AHBdsbGh0dHBfc2V0X2Vycm9yX3JlYXNvbgAdFGxsaHR0cF9nZXRfZXJyb3JfcG9zAB4RbGxodHRwX2Vycm5vX25hbWUAHxJsbGh0dHBfbWV0aG9kX25hbWUAIBJs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ADcDACAAQShqQgA3AwAgAEEgakIANwMAIABBEGpCADcDACAAQQhqQgA3AwAgAEHdATYCHEEAC3sBAX8CQCAAKAIMIgMNAAJAIAAoAgRFDQAgACABNgIECwJAIAAgASACEMSAgIAAIgMNACAAKAIMDwsgACADNgIcQQAhAyAAKAIEIgFFDQAgACABIAIgACgCCBGBgICAAAAiAUUNACAAIAI2AhQgACABNgIMIAEhAwsgAwvk8wEDDn8DfgR/I4CAgIAAQRBrIgMkgICAgAAgASEEIAEhBSABIQYgASEHIAEhCCABIQkgASEKIAEhCyABIQwgASENIAEhDiABIQ8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgACgCHCIQQX9qDt0B2gEB2QECAwQFBgcICQoLDA0O2AEPENcBERLWARMUFRYXGBkaG+AB3wEcHR7VAR8gISIjJCXUASYnKCkqKyzTAdIBLS7RAdABLzAxMjM0NTY3ODk6Ozw9Pj9AQUJDREVG2wFHSElKzwHOAUvNAUzMAU1OT1BRUlNUVVZXWFlaW1xdXl9gYWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXp7fH1+f4ABgQGCAYMBhAGFAYYBhwGIAYkB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QAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAC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FCAAIBA2AgxBACEQDLIBCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxNCyAAQdMANgIcIAAgATYCFCAAIBA2AgxBACEQDLEBCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxRCyAAQeUANgIcIAAgATYCFCAAIBA2AgxBACEQDLABCyAAQQA2AhwgACABNgIUIABBxoqAgAA2AhAgAEEHNgIMQQAhEAyvAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMSQsgAEHSADYCHCAAIAE2AhQgACAQNgIMQQAhEAyuAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMSQsgAEHTADYCHCAAIAE2AhQgACAQNgIMQQAhEAytAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMTQsgAEHlADYCHCAAIAE2AhQgACAQNgIMQQAhEAysAQsgAEEANgIcIAAgATYCFCAAQdyIgIAANgIQIABBBzYCDEEAIRAMqwELIBBBP0cNASABQQFqIQELQQUhEAyQAQtBACEQIABBADYCHCAAIAE2AhQgAEH9koCAADYCECAAQQc2AgwMqAELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDEILIABB0gA2AhwgACABNgIUIAAgEDYCDEEAIRAMpwELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDEILIABB0wA2AhwgACABNgIUIAAgEDYCDEEAIRAMpgELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDEYLIABB5QA2AhwgACABNgIUIAAgEDYCDEEAIRAMpQELIAAoAgQhASAAQQA2AgQCQCAAIAEgFBCngICAACIBDQAgFCEBDD8LIABB0gA2AhwgACAUNgIUIAAgATYCDEEAIRAMpAELIAAoAgQhASAAQQA2AgQCQCAAIAEgFBCngICAACIBDQAgFCEBDD8LIABB0wA2AhwgACAUNgIUIAAgATYCDEEAIRAMowELIAAoAgQhASAAQQA2AgQCQCAAIAEgFBCngICAACIBDQAgFCEBDEMLIABB5QA2AhwgACAU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YWdlX2JlZ2luYCBjYWxsYmFjayBlcnJvcgBgb25fY2h1bmtfZXh0ZW5zaW9uX3ZhbHVlYCBjYWxsYmFjayBlcnJvcgBgb25fc3RhdHVzX2NvbXBsZXRlYCBjYWxsYmFjayBlcnJvcgBgb25fdmVyc2lvbl9jb21wbGV0ZWAgY2FsbGJhY2sgZXJyb3IAYG9uX3VybF9jb21wbGV0ZWAgY2FsbGJhY2sgZXJyb3IAYG9uX2NodW5rX2NvbXBsZXRlYCBjYWxsYmFjayBlcnJvcgBgb25faGVhZGVyX3ZhbHVlX2NvbXBsZXRlYCBjYWxsYmFjayBlcnJvcgBgb25fbWVzc2FnZV9jb21wbGV0ZWAgY2FsbGJhY2sgZXJyb3IAYG9uX21ldGhvZF9jb21wbGV0ZWAgY2FsbGJhY2sgZXJyb3IAYG9uX2hlYWRlcl9maWVsZF9jb21wbGV0ZWAgY2FsbGJhY2sgZXJyb3IAYG9uX2NodW5rX2V4dGVuc2lvbl9uYW1lYCBjYWxsYmFjayBlcnJvcgBVbmV4cGVjdGVkIGNoYXIgaW4gdXJsIHNlcnZlcgBJbnZhbGlkIGhlYWRlciB2YWx1ZSBjaGFyAEludmFsaWQgaGVhZGVyIGZpZWxkIGNoYXIAU3BhbiBjYWxsYmFjayBlcnJvciBpbiBvbl92ZXJzaW9uAEludmFsaWQgbWlub3IgdmVyc2lvbgBJbnZhbGlkIG1ham9yIHZlcnNpb24ARXhwZWN0ZWQgc3BhY2UgYWZ0ZXIgdmVyc2lvbgBFeHBlY3RlZCBDUkxGIGFmdGVyIHZlcnNpb24ASW52YWxpZCBIVFRQIHZlcnNpb24ASW52YWxpZCBoZWFkZXIgdG9rZW4AU3BhbiBjYWxsYmFjayBlcnJvciBpbiBvbl91cmwASW52YWxpZCBjaGFyYWN0ZXJzIGluIHVybABVbmV4cGVjdGVkIHN0YXJ0IGNoYXIgaW4gdXJsAERvdWJsZSBAIGluIHVybABFbXB0eSBDb250ZW50LUxlbmd0aABJbnZhbGlkIGNoYXJhY3RlciBpbiBDb250ZW50LUxlbmd0aABEdXBsaWNhdGUgQ29udGVudC1MZW5ndGgASW52YWxpZCBjaGFyIGluIHVybCBwYXRoAENvbnRlbnQtTGVuZ3RoIGNhbid0IGJlIHByZXNlbnQgd2l0aCBUcmFuc2Zlci1FbmNvZGluZwBJbnZhbGlkIGNoYXJhY3RlciBpbiBjaHVuayBzaXplAFNwYW4gY2FsbGJhY2sgZXJyb3IgaW4gb25faGVhZGVyX3ZhbHVlAFNwYW4gY2FsbGJhY2sgZXJyb3IgaW4gb25fY2h1bmtfZXh0ZW5zaW9uX3ZhbHVlAEludmFsaWQgY2hhcmFjdGVyIGluIGNodW5rIGV4dGVuc2lvbnMgdmFsdWUATWlzc2luZyBleHBlY3RlZCBMRiBhZnRlciBoZWFkZXIgdmFsdWUASW52YWxpZCBgVHJhbnNmZXItRW5jb2RpbmdgIGhlYWRlciB2YWx1ZQBJbnZhbGlkIGNoYXJhY3RlciBpbiBjaHVuayBleHRlbnNpb25zIHF1b3RlIHZhbHVlAEludmFsaWQgY2hhcmFjdGVyIGluIGNodW5rIGV4dGVuc2lvbnMgcXVvdGVkIHZhbHVlAFBhdXNlZCBieSBvbl9oZWFkZXJzX2NvbXBsZXRlAEludmFsaWQgRU9GIHN0YXRlAG9uX3Jlc2V0IHBhdXNlAG9uX2NodW5rX2hlYWRlciBwYXVzZQBvbl9tZXNzYWdlX2JlZ2luIHBhdXNlAG9uX2NodW5rX2V4dGVuc2lvbl92YWx1ZSBwYXVzZQBvbl9zdGF0dXNfY29tcGxldGUgcGF1c2UAb25fdmVyc2lvbl9jb21wbGV0ZSBwYXVzZQBvbl91cmxfY29tcGxldGUgcGF1c2UAb25fY2h1bmtfY29tcGxldGUgcGF1c2UAb25faGVhZGVyX3ZhbHVlX2NvbXBsZXRlIHBhdXNlAG9uX21lc3NhZ2VfY29tcGxldGUgcGF1c2UAb25fbWV0aG9kX2NvbXBsZXRlIHBhdXNlAG9uX2hlYWRlcl9maWVsZF9jb21wbGV0ZSBwYXVzZQBvbl9jaHVua19leHRlbnNpb25fbmFtZSBwYXVzZQBVbmV4cGVjdGVkIHNwYWNlIGFmdGVyIHN0YXJ0IGxpbmUAU3BhbiBjYWxsYmFjayBlcnJvciBpbiBvbl9jaHVua19leHRlbnNpb25fbmFtZQBJbnZhbGlkIGNoYXJhY3RlciBpbiBjaHVuayBleHRlbnNpb25zIG5hbWUAUGF1c2Ugb24gQ09OTkVDVC9VcGdyYWRlAFBhdXNlIG9uIFBSSS9VcGdyYWRlAEV4cGVjdGVkIEhUVFAvMiBDb25uZWN0aW9uIFByZWZhY2UAU3BhbiBjYWxsYmFjayBlcnJvciBpbiBvbl9tZXRob2QARXhwZWN0ZWQgc3BhY2UgYWZ0ZXIgbWV0aG9kAFNwYW4gY2FsbGJhY2sgZXJyb3IgaW4gb25faGVhZGVyX2ZpZWxkAFBhdXNlZABJbnZhbGlkIHdvcmQgZW5jb3VudGVyZWQASW52YWxpZCBtZXRob2QgZW5jb3VudGVyZWQAVW5leHBlY3RlZCBjaGFyIGluIHVybCBzY2hlbWEAUmVxdWVzdCBoYXMgaW52YWxpZCBgVHJhbnNmZXItRW5jb2RpbmdgAFNXSVRDSF9QUk9YWQBVU0VfUFJPWFkATUtBQ1RJVklUWQBVTlBST0NFU1NBQkxFX0VOVElUWQBDT1BZAE1PVkVEX1BFUk1BTkVOVExZAFRPT19FQVJMWQBOT1RJRlkARkFJTEVEX0RFUEVOREVOQ1kAQkFEX0dBVEVXQVkAUExBWQBQVVQAQ0hFQ0tPVVQAR0FURVdBWV9USU1FT1VUAFJFUVVFU1RfVElNRU9VVABORVRXT1JLX0NPTk5FQ1RfVElNRU9VVABDT05ORUNUSU9OX1RJTUVPVVQATE9HSU5fVElNRU9VVABORVRXT1JLX1JFQURfVElNRU9VVABQT1NUAE1JU0RJUkVDVEVEX1JFUVVFU1QAQ0xJRU5UX0NMT1NFRF9SRVFVRVNUAENMSUVOVF9DTE9TRURfTE9BRF9CQUxBTkNFRF9SRVFVRVNUAEJBRF9SRVFVRVNUAEhUVFBfUkVRVUVTVF9TRU5UX1RPX0hUVFBTX1BPUlQAUkVQT1JUAElNX0FfVEVBUE9UAFJFU0VUX0NPTlRFTlQATk9fQ09OVEVOVABQQVJUSUFMX0NPTlRFTlQASFBFX0lOVkFMSURfQ09OU1RBTlQASFBFX0NCX1JFU0VUAEdFVABIUEVfU1RSSUNUAENPTkZMSUNUAFRFTVBPUkFSWV9SRURJUkVDVABQRVJNQU5FTlRfUkVESVJFQ1QAQ09OTkVDVABNVUxUSV9TVEFUVVMASFBFX0lOVkFMSURfU1RBVFVTAFRPT19NQU5ZX1JFUVVFU1RTAEVBUkxZX0hJTlRTAFVOQVZBSUxBQkxFX0ZPUl9MRUdBTF9SRUFTT05TAE9QVElPTlMAU1dJVENISU5HX1BST1RPQ09MUwBWQVJJQU5UX0FMU09fTkVHT1RJQVRFUwBNVUxUSVBMRV9DSE9JQ0VTAElOVEVSTkFMX1NFUlZFUl9FUlJPUgBXRUJfU0VSVkVSX1VOS05PV05fRVJST1IAUkFJTEdVTl9FUlJPUgBJREVOVElUWV9QUk9WSURFUl9BVVRIRU5USUNBVElPTl9FUlJPUgBTU0xfQ0VSVElGSUNBVEVfRVJST1IASU5WQUxJRF9YX0ZPUldBUkRFRF9GT1IAU0VUX1BBUkFNRVRFUgBHRVRfUEFSQU1FVEVSAEhQRV9VU0VSAFNFRV9PVEhFUgBIUEVfQ0JfQ0hVTktfSEVBREVSAE1LQ0FMRU5EQVIAU0VUVVAAV0VCX1NFUlZFUl9JU19ET1dOAFRFQVJET1dOAEhQRV9DTE9TRURfQ09OTkVDVElPTgBIRVVSSVNUSUNfRVhQSVJBVElPTgBESVNDT05ORUNURURfT1BFUkFUSU9OAE5PTl9BVVRIT1JJVEFUSVZFX0lORk9STUFUSU9OAEhQRV9JTlZBTElEX1ZFUlNJT04ASFBFX0NCX01FU1NBR0VfQkVHSU4AU0lURV9JU19GUk9aRU4ASFBFX0lOVkFMSURfSEVBREVSX1RPS0VOAElOVkFMSURfVE9LRU4ARk9SQklEREVOAEVOSEFOQ0VfWU9VUl9DQUxNAEhQRV9JTlZBTElEX1VSTABCTE9DS0VEX0JZX1BBUkVOVEFMX0NPTlRST0wATUtDT0wAQUNMAEhQRV9JTlRFUk5BTABSRVFVRVNUX0hFQURFUl9GSUVMRFNfVE9PX0xBUkdFX1VOT0ZGSUNJQUwASFBFX09LAFVOTElOSwBVTkxPQ0sAUFJJAFJFVFJZX1dJVEgASFBFX0lOVkFMSURfQ09OVEVOVF9MRU5HVEgASFBFX1VORVhQRUNURURfQ09OVEVOVF9MRU5HVEgARkxVU0gAUFJPUFBBVENIAE0tU0VBUkNIAFVSSV9UT09fTE9ORwBQUk9DRVNTSU5HAE1JU0NFTExBTkVPVVNfUEVSU0lTVEVOVF9XQVJOSU5HAE1JU0NFTExBTkVPVVNfV0FSTklORwBIUEVfSU5WQUxJRF9UUkFOU0ZFUl9FTkNPRElORwBFeHBlY3RlZCBDUkxGAEhQRV9JTlZBTElEX0NIVU5LX1NJWkUATU9WRQBDT05USU5VRQBIUEVfQ0JfU1RBVFVTX0NPTVBMRVRFAEhQRV9DQl9IRUFERVJTX0NPTVBMRVRFAEhQRV9DQl9WRVJTSU9OX0NPTVBMRVRFAEhQRV9DQl9VUkxfQ09NUExFVEUASFBFX0NCX0NIVU5LX0NPTVBMRVRFAEhQRV9DQl9IRUFERVJfVkFMVUVfQ09NUExFVEUASFBFX0NCX0NIVU5LX0VYVEVOU0lPTl9WQUxVRV9DT01QTEVURQBIUEVfQ0JfQ0hVTktfRVhURU5TSU9OX05BTUVfQ09NUExFVEUASFBFX0NCX01FU1NBR0VfQ09NUExFVEUASFBFX0NCX01FVEhPRF9DT01QTEVURQBIUEVfQ0JfSEVBREVSX0ZJRUxEX0NPTVBMRVRFAERFTEVURQBIUEVfSU5WQUxJRF9FT0ZfU1RBVEUASU5WQUxJRF9TU0xfQ0VSVElGSUNBVEUAUEFVU0UATk9fUkVTUE9OU0UAVU5TVVBQT1JURURfTUVESUFfVFlQRQBHT05FAE5PVF9BQ0NFUFRBQkxFAFNFUlZJQ0VfVU5BVkFJTEFCTEUAUkFOR0VfTk9UX1NBVElTRklBQkxFAE9SSUdJTl9JU19VTlJFQUNIQUJMRQBSRVNQT05TRV9JU19TVEFMRQBQVVJHRQBNRVJHRQBSRVFVRVNUX0hFQURFUl9GSUVMRFNfVE9PX0xBUkdFAFJFUVVFU1RfSEVBREVSX1RPT19MQVJHRQBQQVlMT0FEX1RPT19MQVJHRQBJTlNVRkZJQ0lFTlRfU1RPUkFHRQBIUEVfUEFVU0VEX1VQR1JBREUASFBFX1BBVVNFRF9IMl9VUEdSQURFAFNPVVJDRQBBTk5PVU5DRQBUUkFDRQBIUEVfVU5FWFBFQ1RFRF9TUEFDRQBERVNDUklCRQBVTlNVQlNDUklCRQBSRUNPUkQASFBFX0lOVkFMSURfTUVUSE9EAE5PVF9GT1VORABQUk9QRklORABVTkJJTkQAUkVCSU5EAFVOQVVUSE9SSVpFRABNRVRIT0RfTk9UX0FMTE9XRUQASFRUUF9WRVJTSU9OX05PVF9TVVBQT1JURUQAQUxSRUFEWV9SRVBPUlRFRABBQ0NFUFRFRABOT1RfSU1QTEVNRU5URUQATE9PUF9ERVRFQ1RFRABIUEVfQ1JfRVhQRUNURUQASFBFX0xGX0VYUEVDVEVEAENSRUFURUQASU1fVVNFRABIUEVfUEFVU0VEAFRJTUVPVVRfT0NDVVJFRABQQVlNRU5UX1JFUVVJUkVEAFBSRUNPTkRJVElPTl9SRVFVSVJFRABQUk9YWV9BVVRIRU5USUNBVElPTl9SRVFVSVJFRABORVRXT1JLX0FVVEhFTlRJQ0FUSU9OX1JFUVVJUkVEAExFTkdUSF9SRVFVSVJFRABTU0xfQ0VSVElGSUNBVEVfUkVRVUlSRUQAVVBHUkFERV9SRVFVSVJFRABQQUdFX0VYUElSRUQAUFJFQ09ORElUSU9OX0ZBSUxFRABFWFBFQ1RBVElPTl9GQUlMRUQAUkVWQUxJREFUSU9OX0ZBSUxFRABTU0xfSEFORFNIQUtFX0ZBSUxFRABMT0NLRUQAVFJBTlNGT1JNQVRJT05fQVBQTElFRABOT1RfTU9ESUZJRUQATk9UX0VYVEVOREVEAEJBTkRXSURUSF9MSU1JVF9FWENFRURFRABTSVRFX0lTX09WRVJMT0FERUQASEVBRABFeHBlY3RlZCBIVFRQLwAAXhMAACYTAAAwEAAA8BcAAJ0TAAAVEgAAORcAAPASAAAKEAAAdRIAAK0SAACCEwAATxQAAH8QAACgFQAAIxQAAIkSAACLFAAATRUAANQRAADPFAAAEBgAAMkWAADcFgAAwREAAOAXAAC7FAAAdBQAAHwVAADlFAAACBcAAB8QAABlFQAAoxQAACgVAAACFQAAmRUAACwQAACLGQAATw8AANQOAABqEAAAzhAAAAIXAACJDgAAbhMAABwTAABmFAAAVhcAAMETAADNEwAAbBMAAGgXAABmFwAAXxcAACITAADODwAAaQ4AANgOAABjFgAAyxMAAKoOAAAoFwAAJhcAAMUTAABdFgAA6BEAAGcTAABlEwAA8hYAAHMTAAAdFwAA+RYAAPMRAADPDgAAzhUAAAwSAACzEQAApREAAGEQAAAyFwAAuxMAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAQIBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAIDAgICAgIAAAICAAICAAICAgICAgICAgIABAAAAAAAAgICAgICAgICAgICAgICAgICAgICAgICAgIAAAACAgICAgICAgICAgICAgICAgICAgICAgICAgICAgACAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAACAAICAgICAAACAgACAgACAgICAgICAgICAAMABAAAAAICAgICAgICAgICAgICAgICAgICAgICAgICAAAAAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAAgACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAbG9zZWVlcC1hbGl2ZQAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEBAQEBAQEBAQEBAQIBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBY2h1bmtlZAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQEAAQEBAQEAAAEBAAEBAAEBAQEBAQEBAQEAAAAAAAAAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAAABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQABAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABlY3Rpb25lbnQtbGVuZ3Rob25yb3h5LWNvbm5lY3Rpb24AAAAAAAAAAAAAAAAAAAByYW5zZmVyLWVuY29kaW5ncGdyYWRlDQoNCg0KU00NCg0KVFRQL0NFL1RTUC8AAAAAAAAAAAAAAAABAgABAwAAAAAAAAAAAAAAAAAAAAAAAAQBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAAAAAAAAAAAAQIAAQMAAAAAAAAAAAAAAAAAAAAAAAAEAQEFAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQAAAAAAAAAAAAEAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAEBAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAAAAAAAAAAAAAQAAAgAAAAAAAAAAAAAAAAAAAAAAAAMEAAAEBAQEBAQEBAQEBAUEBAQEBAQEBAQEBAQABAAGBwQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAEAAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAEAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwAAAAAAAAMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAABAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAIAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAAAAAAAADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABOT1VOQ0VFQ0tPVVRORUNURVRFQ1JJQkVMVVNIRVRFQURTRUFSQ0hSR0VDVElWSVRZTEVOREFSVkVPVElGWVBUSU9OU0NIU0VBWVNUQVRDSEdFT1JESVJFQ1RPUlRSQ0hQQVJBTUVURVJVUkNFQlNDUklCRUFSRE9XTkFDRUlORE5LQ0tVQlNDUklCRUhUVFAvQURUUC8="},95627:R=>{R.exports="AGFzbQEAAAABMAhgAX8Bf2ADf39/AX9gBH9/f38Bf2AAAGADf39/AGABfwBgAn9/AGAGf39/f39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQACA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vbl9ib2R5AAEDZW52GHdhc21fb25fbWVzc2FnZV9jb21wbGV0ZQAAA0ZFAwMEAAAFAAAAAAAABQEFAAUFBQAABgAAAAAGBgYGAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQABAAABAQcAAAUFAwABBAUBcAESEgUDAQACBggBfwFBgNQECwfRBSIGbWVtb3J5AgALX2luaXRpYWxpemUACRlfX2luZGlyZWN0X2Z1bmN0aW9uX3RhYmxlAQALbGxodHRwX2luaXQAChhsbGh0dHBfc2hvdWxkX2tlZXBfYWxpdmUAQQxsbGh0dHBfYWxsb2MADAZtYWxsb2MARgtsbGh0dHBfZnJlZQANBGZyZWUASA9sbGh0dHBfZ2V0X3R5cGUADhVsbGh0dHBfZ2V0X2h0dHBfbWFqb3IADxVsbGh0dHBfZ2V0X2h0dHBfbWlub3IAEBFsbGh0dHBfZ2V0X21ldGhvZAARFmxsaHR0cF9nZXRfc3RhdHVzX2NvZGUAEhJsbGh0dHBfZ2V0X3VwZ3JhZGUAEwxsbGh0dHBfcmVzZXQAFA5sbGh0dHBfZXhlY3V0ZQAVFGxsaHR0cF9zZXR0aW5nc19pbml0ABYNbGxodHRwX2ZpbmlzaAAXDGxsaHR0cF9wYXVzZQAYDWxsaHR0cF9yZXN1bWUAGRtsbGh0dHBfcmVzdW1lX2FmdGVyX3VwZ3JhZGUAGhBsbGh0dHBfZ2V0X2Vycm5vABsXbGxodHRwX2dldF9lcnJvcl9yZWFzb24AHBdsbGh0dHBfc2V0X2Vycm9yX3JlYXNvbgAdFGxsaHR0cF9nZXRfZXJyb3JfcG9zAB4RbGxodHRwX2Vycm5vX25hbWUAHxJsbGh0dHBfbWV0aG9kX25hbWUAIBJs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IAH9CwMAIABBMGogAf0LAwAgAEEgaiAB/QsDACAAQd0BNgIcQQALewEBfwJAIAAoAgwiAw0AAkAgACgCBEUNACAAIAE2AgQLAkAgACABIAIQxICAgAAiAw0AIAAoAgwPCyAAIAM2AhxBACEDIAAoAgQiAUUNACAAIAEgAiAAKAIIEYGAgIAAACIBRQ0AIAAgAjYCFCAAIAE2AgwgASEDCyADC+TzAQMOfwN+BH8jgICAgABBEGsiAySAgICAACABIQQgASEFIAEhBiABIQcgASEIIAEhCSABIQogASELIAEhDCABIQ0gASEOIAEhDwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCAAKAIcIhBBf2oO3QHaAQHZAQIDBAUGBwgJCgsMDQ7YAQ8Q1wEREtYBExQVFhcYGRob4AHfARwdHtUBHyAhIiMkJdQBJicoKSorLNMB0gEtLtEB0AEvMDEyMzQ1Njc4OTo7PD0+P0BBQkNERUbbAUdISUrPAc4BS80BTMwBTU5PUFFSU1RVVldYWVpbXF1eX2BhYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ent8fX5/gAGBAYIBgwGEAYUBhgGHAYgBiQGKAYsBjAGNAY4BjwGQAZEB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QAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIBAOxwEAAQID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YWNrIGVycm9yAGBvbl9jaHVua19leHRlbnNpb25fdmFsdWVgIGNhbGxiYWNrIGVycm9yAGBvbl9zdGF0dXNfY29tcGxldGVgIGNhbGxiYWNrIGVycm9yAGBvbl92ZXJzaW9uX2NvbXBsZXRlYCBjYWxsYmFjayBlcnJvcgBgb25fdXJsX2NvbXBsZXRlYCBjYWxsYmFjayBlcnJvcgBgb25fY2h1bmtfY29tcGxldGVgIGNhbGxiYWNrIGVycm9yAGBvbl9oZWFkZXJfdmFsdWVfY29tcGxldGVgIGNhbGxiYWNrIGVycm9yAGBvbl9tZXNzYWdlX2NvbXBsZXRlYCBjYWxsYmFjayBlcnJvcgBgb25fbWV0aG9kX2NvbXBsZXRlYCBjYWxsYmFjayBlcnJvcgBgb25faGVhZGVyX2ZpZWxkX2NvbXBsZXRlYCBjYWxsYmFjayBlcnJvcgBgb25fY2h1bmtfZXh0ZW5zaW9uX25hbWVgIGNhbGxiYWNrIGVycm9yAFVuZXhwZWN0ZWQgY2hhciBpbiB1cmwgc2VydmVyAEludmFsaWQgaGVhZGVyIHZhbHVlIGNoYXIASW52YWxpZCBoZWFkZXIgZmllbGQgY2hhcgBTcGFuIGNhbGxiYWNrIGVycm9yIGluIG9uX3ZlcnNpb24ASW52YWxpZCBtaW5vciB2ZXJzaW9uAEludmFsaWQgbWFqb3IgdmVyc2lvbgBFeHBlY3RlZCBzcGFjZSBhZnRlciB2ZXJzaW9uAEV4cGVjdGVkIENSTEYgYWZ0ZXIgdmVyc2lvbgBJbnZhbGlkIEhUVFAgdmVyc2lvbgBJbnZhbGlkIGhlYWRlciB0b2tlbgBTcGFuIGNhbGxiYWNrIGVycm9yIGluIG9uX3VybABJbnZhbGlkIGNoYXJhY3RlcnMgaW4gdXJsAFVuZXhwZWN0ZWQgc3RhcnQgY2hhciBpbiB1cmwARG91YmxlIEAgaW4gdXJsAEVtcHR5IENvbnRlbnQtTGVuZ3RoAEludmFsaWQgY2hhcmFjdGVyIGluIENvbnRlbnQtTGVuZ3RoAER1cGxpY2F0ZSBDb250ZW50LUxlbmd0aABJbnZhbGlkIGNoYXIgaW4gdXJsIHBhdGgAQ29udGVudC1MZW5ndGggY2FuJ3QgYmUgcHJlc2VudCB3aXRoIFRyYW5zZmVyLUVuY29kaW5nAEludmFsaWQgY2hhcmFjdGVyIGluIGNodW5rIHNpemUAU3BhbiBjYWxsYmFjayBlcnJvciBpbiBvbl9oZWFkZXJfdmFsdWUAU3BhbiBjYWxsYmFjayBlcnJvciBpbiBvbl9jaHVua19leHRlbnNpb25fdmFsdWUASW52YWxpZCBjaGFyYWN0ZXIgaW4gY2h1bmsgZXh0ZW5zaW9ucyB2YWx1ZQBNaXNzaW5nIGV4cGVjdGVkIExGIGFmdGVyIGhlYWRlciB2YWx1ZQBJbnZhbGlkIGBUcmFuc2Zlci1FbmNvZGluZ2AgaGVhZGVyIHZhbHVlAEludmFsaWQgY2hhcmFjdGVyIGluIGNodW5rIGV4dGVuc2lvbnMgcXVvdGUgdmFsdWUASW52YWxpZCBjaGFyYWN0ZXIgaW4gY2h1bmsgZXh0ZW5zaW9ucyBxdW90ZWQgdmFsdWUAUGF1c2VkIGJ5IG9uX2hlYWRlcnNfY29tcGxldGUASW52YWxpZCBFT0Ygc3RhdGUAb25fcmVzZXQgcGF1c2UAb25fY2h1bmtfaGVhZGVyIHBhdXNlAG9uX21lc3NhZ2VfYmVnaW4gcGF1c2UAb25fY2h1bmtfZXh0ZW5zaW9uX3ZhbHVlIHBhdXNlAG9uX3N0YXR1c19jb21wbGV0ZSBwYXVzZQBvbl92ZXJzaW9uX2NvbXBsZXRlIHBhdXNlAG9uX3VybF9jb21wbGV0ZSBwYXVzZQBvbl9jaHVua19jb21wbGV0ZSBwYXVzZQBvbl9oZWFkZXJfdmFsdWVfY29tcGxldGUgcGF1c2UAb25fbWVzc2FnZV9jb21wbGV0ZSBwYXVzZQBvbl9tZXRob2RfY29tcGxldGUgcGF1c2UAb25faGVhZGVyX2ZpZWxkX2NvbXBsZXRlIHBhdXNlAG9uX2NodW5rX2V4dGVuc2lvbl9uYW1lIHBhdXNlAFVuZXhwZWN0ZWQgc3BhY2UgYWZ0ZXIgc3RhcnQgbGluZQBTcGFuIGNhbGxiYWNrIGVycm9yIGluIG9uX2NodW5rX2V4dGVuc2lvbl9uYW1lAEludmFsaWQgY2hhcmFjdGVyIGluIGNodW5rIGV4dGVuc2lvbnMgbmFtZQBQYXVzZSBvbiBDT05ORUNUL1VwZ3JhZGUAUGF1c2Ugb24gUFJJL1VwZ3JhZGUARXhwZWN0ZWQgSFRUUC8yIENvbm5lY3Rpb24gUHJlZmFjZQBTcGFuIGNhbGxiYWNrIGVycm9yIGluIG9uX21ldGhvZABFeHBlY3RlZCBzcGFjZSBhZnRlciBtZXRob2QAU3BhbiBjYWxsYmFjayBlcnJvciBpbiBvbl9oZWFkZXJfZmllbGQAUGF1c2VkAEludmFsaWQgd29yZCBlbmNvdW50ZXJlZABJbnZhbGlkIG1ldGhvZCBlbmNvdW50ZXJlZABVbmV4cGVjdGVkIGNoYXIgaW4gdXJsIHNjaGVtYQBSZXF1ZXN0IGhhcyBpbnZhbGlkIGBUcmFuc2Zlci1FbmNvZGluZ2AAU1dJVENIX1BST1hZAFVTRV9QUk9YWQBNS0FDVElWSVRZAFVOUFJPQ0VTU0FCTEVfRU5USVRZAENPUFkATU9WRURfUEVSTUFORU5UTFkAVE9PX0VBUkxZAE5PVElGWQBGQUlMRURfREVQRU5ERU5DWQBCQURfR0FURVdBWQBQTEFZAFBVVABDSEVDS09VVABHQVRFV0FZX1RJTUVPVVQAUkVRVUVTVF9USU1FT1VUAE5FVFdPUktfQ09OTkVDVF9USU1FT1VUAENPTk5FQ1RJT05fVElNRU9VVABMT0dJTl9USU1FT1VUAE5FVFdPUktfUkVBRF9USU1FT1VUAFBPU1QATUlTRElSRUNURURfUkVRVUVTVABDTElFTlRfQ0xPU0VEX1JFUVVFU1QAQ0xJRU5UX0NMT1NFRF9MT0FEX0JBTEFOQ0VEX1JFUVVFU1QAQkFEX1JFUVVFU1QASFRUUF9SRVFVRVNUX1NFTlRfVE9fSFRUUFNfUE9SVABSRVBPUlQASU1fQV9URUFQT1QAUkVTRVRfQ09OVEVOVABOT19DT05URU5UAFBBUlRJQUxfQ09OVEVOVABIUEVfSU5WQUxJRF9DT05TVEFOVABIUEVfQ0JfUkVTRVQAR0VUAEhQRV9TVFJJQ1QAQ09ORkxJQ1QAVEVNUE9SQVJZX1JFRElSRUNUAFBFUk1BTkVOVF9SRURJUkVDVABDT05ORUNUAE1VTFRJX1NUQVRVUwBIUEVfSU5WQUxJRF9TVEFUVVMAVE9PX01BTllfUkVRVUVTVFMARUFSTFlfSElOVFMAVU5BVkFJTEFCTEVfRk9SX0xFR0FMX1JFQVNPTlMAT1BUSU9OUwBTV0lUQ0hJTkdfUFJPVE9DT0xTAFZBUklBTlRfQUxTT19ORUdPVElBVEVTAE1VTFRJUExFX0NIT0lDRVMASU5URVJOQUxfU0VSVkVSX0VSUk9SAFdFQl9TRVJWRVJfVU5LTk9XTl9FUlJPUgBSQUlMR1VOX0VSUk9SAElERU5USVRZX1BST1ZJREVSX0FVVEhFTlRJQ0FUSU9OX0VSUk9SAFNTTF9DRVJUSUZJQ0FURV9FUlJPUgBJTlZBTElEX1hfRk9SV0FSREVEX0ZPUgBTRVRfUEFSQU1FVEVSAEdFVF9QQVJBTUVURVIASFBFX1VTRVIAU0VFX09USEVSAEhQRV9DQl9DSFVOS19IRUFERVIATUtDQUxFTkRBUgBTRVRVUABXRUJfU0VSVkVSX0lTX0RPV04AVEVBUkRPV04ASFBFX0NMT1NFRF9DT05ORUNUSU9OAEhFVVJJU1RJQ19FWFBJUkFUSU9OAERJU0NPTk5FQ1RFRF9PUEVSQVRJT04ATk9OX0FVVEhPUklUQVRJVkVfSU5GT1JNQVRJT04ASFBFX0lOVkFMSURfVkVSU0lPTgBIUEVfQ0JfTUVTU0FHRV9CRUdJTgBTSVRFX0lTX0ZST1pFTgBIUEVfSU5WQUxJRF9IRUFERVJfVE9LRU4ASU5WQUxJRF9UT0tFTgBGT1JCSURERU4ARU5IQU5DRV9ZT1VSX0NBTE0ASFBFX0lOVkFMSURfVVJMAEJMT0NLRURfQllfUEFSRU5UQUxfQ09OVFJPTABNS0NPTABBQ0wASFBFX0lOVEVSTkFMAFJFUVVFU1RfSEVBREVSX0ZJRUxEU19UT09fTEFSR0VfVU5PRkZJQ0lBTABIUEVfT0sAVU5MSU5LAFVOTE9DSwBQUkkAUkVUUllfV0lUSABIUEVfSU5WQUxJRF9DT05URU5UX0xFTkdUSABIUEVfVU5FWFBFQ1RFRF9DT05URU5UX0xFTkdUSABGTFVTSABQUk9QUEFUQ0gATS1TRUFSQ0gAVVJJX1RPT19MT05HAFBST0NFU1NJTkcATUlTQ0VMTEFORU9VU19QRVJTSVNURU5UX1dBUk5JTkcATUlTQ0VMTEFORU9VU19XQVJOSU5HAEhQRV9JTlZBTElEX1RSQU5TRkVSX0VOQ09ESU5HAEV4cGVjdGVkIENSTEYASFBFX0lOVkFMSURfQ0hVTktfU0laRQBNT1ZFAENPTlRJTlVFAEhQRV9DQl9TVEFUVVNfQ09NUExFVEUASFBFX0NCX0hFQURFUlNfQ09NUExFVEUASFBFX0NCX1ZFUlNJT05fQ09NUExFVEUASFBFX0NCX1VSTF9DT01QTEVURQBIUEVfQ0JfQ0hVTktfQ09NUExFVEUASFBFX0NCX0hFQURFUl9WQUxVRV9DT01QTEVURQBIUEVfQ0JfQ0hVTktfRVhURU5TSU9OX1ZBTFVFX0NPTVBMRVRFAEhQRV9DQl9DSFVOS19FWFRFTlNJT05fTkFNRV9DT01QTEVURQBIUEVfQ0JfTUVTU0FHRV9DT01QTEVURQBIUEVfQ0JfTUVUSE9EX0NPTVBMRVRFAEhQRV9DQl9IRUFERVJfRklFTERfQ09NUExFVEUAREVMRVRFAEhQRV9JTlZBTElEX0VPRl9TVEFURQBJTlZBTElEX1NTTF9DRVJUSUZJQ0FURQBQQVVTRQBOT19SRVNQT05TRQBVTlNVUFBPUlRFRF9NRURJQV9UWVBFAEdPTkUATk9UX0FDQ0VQVEFCTEUAU0VSVklDRV9VTkFWQUlMQUJMRQBSQU5HRV9OT1RfU0FUSVNGSUFCTEUAT1JJR0lOX0lTX1VOUkVBQ0hBQkxFAFJFU1BPTlNFX0lTX1NUQUxFAFBVUkdFAE1FUkdFAFJFUVVFU1RfSEVBREVSX0ZJRUxEU19UT09fTEFSR0UAUkVRVUVTVF9IRUFERVJfVE9PX0xBUkdFAFBBWUxPQURfVE9PX0xBUkdFAElOU1VGRklDSUVOVF9TVE9SQUdFAEhQRV9QQVVTRURfVVBHUkFERQBIUEVfUEFVU0VEX0gyX1VQR1JBREUAU09VUkNFAEFOTk9VTkNFAFRSQUNFAEhQRV9VTkVYUEVDVEVEX1NQQUNFAERFU0NSSUJFAFVOU1VCU0NSSUJFAFJFQ09SRABIUEVfSU5WQUxJRF9NRVRIT0QATk9UX0ZPVU5EAFBST1BGSU5EAFVOQklORABSRUJJTkQAVU5BVVRIT1JJWkVEAE1FVEhPRF9OT1RfQUxMT1dFRABIVFRQX1ZFUlNJT05fTk9UX1NVUFBPUlRFRABBTFJFQURZX1JFUE9SVEVEAEFDQ0VQVEVEAE5PVF9JTVBMRU1FTlRFRABMT09QX0RFVEVDVEVEAEhQRV9DUl9FWFBFQ1RFRABIUEVfTEZfRVhQRUNURUQAQ1JFQVRFRABJTV9VU0VEAEhQRV9QQVVTRUQAVElNRU9VVF9PQ0NVUkVEAFBBWU1FTlRfUkVRVUlSRUQAUFJFQ09ORElUSU9OX1JFUVVJUkVEAFBST1hZX0FVVEhFTlRJQ0FUSU9OX1JFUVVJUkVEAE5FVFdPUktfQVVUSEVOVElDQVRJT05fUkVRVUlSRUQATEVOR1RIX1JFUVVJUkVEAFNTTF9DRVJUSUZJQ0FURV9SRVFVSVJFRABVUEdSQURFX1JFUVVJUkVEAFBBR0VfRVhQSVJFRABQUkVDT05ESVRJT05fRkFJTEVEAEVYUEVDVEFUSU9OX0ZBSUxFRABSRVZBTElEQVRJT05fRkFJTEVEAFNTTF9IQU5EU0hBS0VfRkFJTEVEAExPQ0tFRABUUkFOU0ZPUk1BVElPTl9BUFBMSUVEAE5PVF9NT0RJRklFRABOT1RfRVhURU5ERUQAQkFORFdJRFRIX0xJTUlUX0VYQ0VFREVEAFNJVEVfSVNfT1ZFUkxPQURFRABIRUFEAEV4cGVjdGVkIEhUVFAvAABeEwAAJhMAADAQAADwFwAAnRMAABUSAAA5FwAA8BIAAAoQAAB1EgAArRIAAIITAABPFAAAfxAAAKAVAAAjFAAAiRIAAIsUAABNFQAA1BEAAM8UAAAQGAAAyRYAANwWAADBEQAA4BcAALsUAAB0FAAAfBUAAOUUAAAIFwAAHxAAAGUVAACjFAAAKBUAAAIVAACZFQAALBAAAIsZAABPDwAA1A4AAGoQAADOEAAAAhcAAIkOAABuEwAAHBMAAGYUAABWFwAAwRMAAM0TAABsEwAAaBcAAGYXAABfFwAAIhMAAM4PAABpDgAA2A4AAGMWAADLEwAAqg4AACgXAAAmFwAAxRMAAF0WAADoEQAAZxMAAGUTAADyFgAAcxMAAB0XAAD5FgAA8xEAAM8OAADOFQAADBIAALMRAAClEQAAYRAAADIXAAC7EwAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEBAgEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAgMCAgICAgAAAgIAAgIAAgICAgICAgICAgAEAAAAAAACAgICAgICAgICAgICAgICAgICAgICAgICAgAAAAICAgICAgICAgICAgICAgICAgICAgICAgICAgICAAIAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAIAAgICAgIAAAICAAICAAICAgICAgICAgIAAwAEAAAAAgICAgICAgICAgICAgICAgICAgICAgICAgIAAAACAgICAgICAgICAgICAgICAgICAgICAgICAgICAgACAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABsb3NlZWVwLWFsaXZlAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQEBAQEBAQEBAQEBAgEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQFjaHVua2VkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAQABAQEBAQAAAQEAAQEAAQEBAQEBAQEBAQAAAAAAAAABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQAAAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGVjdGlvbmVudC1sZW5ndGhvbnJveHktY29ubmVjdGlvbgAAAAAAAAAAAAAAAAAAAHJhbnNmZXItZW5jb2RpbmdwZ3JhZGUNCg0KDQpTTQ0KDQpUVFAvQ0UvVFNQLwAAAAAAAAAAAAAAAAECAAEDAAAAAAAAAAAAAAAAAAAAAAAABAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAAAAAAAAAAABAgABAwAAAAAAAAAAAAAAAAAAAAAAAAQBAQUBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAAAAAAAAAAAAQAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAQEAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQAAAAAAAAAAAAABAAACAAAAAAAAAAAAAAAAAAAAAAAAAwQAAAQEBAQEBAQEBAQEBQQEBAQEBAQEBAQEBAAEAAYHBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAQABAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAQAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAAAAAMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAEAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAgAAAAACAAAAAAAAAAAAAAAAAAAAAAADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwAAAAAAAAMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAE5PVU5DRUVDS09VVE5FQ1RFVEVDUklCRUxVU0hFVEVBRFNFQVJDSFJHRUNUSVZJVFlMRU5EQVJWRU9USUZZUFRJT05TQ0hTRUFZU1RBVENIR0VPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFSFRUUC9BRFRQLw=="},41891:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.enumToMap=void 0;function enumToMap(R){const pe={};Object.keys(R).forEach((Ae=>{const he=R[Ae];if(typeof he==="number"){pe[Ae]=he}}));return pe}pe.enumToMap=enumToMap},66771:(R,pe,Ae)=>{"use strict";const{kClients:he}=Ae(72785);const ge=Ae(7890);const{kAgent:me,kMockAgentSet:ye,kMockAgentGet:ve,kDispatches:be,kIsMockActive:Ee,kNetConnect:Ce,kGetNetConnect:we,kOptions:Ie,kFactory:_e}=Ae(24347);const Be=Ae(58687);const Se=Ae(26193);const{matchValue:Qe,buildMockOptions:xe}=Ae(79323);const{InvalidArgumentError:De,UndiciError:ke}=Ae(48045);const Oe=Ae(60412);const Re=Ae(78891);const Pe=Ae(86823);class FakeWeakRef{constructor(R){this.value=R}deref(){return this.value}}class MockAgent extends Oe{constructor(R){super(R);this[Ce]=true;this[Ee]=true;if(R&&R.agent&&typeof R.agent.dispatch!=="function"){throw new De("Argument opts.agent must implement Agent")}const pe=R&&R.agent?R.agent:new ge(R);this[me]=pe;this[he]=pe[he];this[Ie]=xe(R)}get(R){let pe=this[ve](R);if(!pe){pe=this[_e](R);this[ye](R,pe)}return pe}dispatch(R,pe){this.get(R.origin);return this[me].dispatch(R,pe)}async close(){await this[me].close();this[he].clear()}deactivate(){this[Ee]=false}activate(){this[Ee]=true}enableNetConnect(R){if(typeof R==="string"||typeof R==="function"||R instanceof RegExp){if(Array.isArray(this[Ce])){this[Ce].push(R)}else{this[Ce]=[R]}}else if(typeof R==="undefined"){this[Ce]=true}else{throw new De("Unsupported matcher. Must be one of String|Function|RegExp.")}}disableNetConnect(){this[Ce]=false}get isMockActive(){return this[Ee]}[ye](R,pe){this[he].set(R,new FakeWeakRef(pe))}[_e](R){const pe=Object.assign({agent:this},this[Ie]);return this[Ie]&&this[Ie].connections===1?new Be(R,pe):new Se(R,pe)}[ve](R){const pe=this[he].get(R);if(pe){return pe.deref()}if(typeof R!=="string"){const pe=this[_e]("http://localhost:9999");this[ye](R,pe);return pe}for(const[pe,Ae]of Array.from(this[he])){const he=Ae.deref();if(he&&typeof pe!=="string"&&Qe(pe,R)){const pe=this[_e](R);this[ye](R,pe);pe[be]=he[be];return pe}}}[we](){return this[Ce]}pendingInterceptors(){const R=this[he];return Array.from(R.entries()).flatMap((([R,pe])=>pe.deref()[be].map((pe=>({...pe,origin:R}))))).filter((({pending:R})=>R))}assertNoPendingInterceptors({pendingInterceptorsFormatter:R=new Pe}={}){const pe=this.pendingInterceptors();if(pe.length===0){return}const Ae=new Re("interceptor","interceptors").pluralize(pe.length);throw new ke(`\n${Ae.count} ${Ae.noun} ${Ae.is} pending:\n\n${R.format(pe)}\n`.trim())}}R.exports=MockAgent},58687:(R,pe,Ae)=>{"use strict";const{promisify:he}=Ae(73837);const ge=Ae(33598);const{buildMockDispatch:me}=Ae(79323);const{kDispatches:ye,kMockAgent:ve,kClose:be,kOriginalClose:Ee,kOrigin:Ce,kOriginalDispatch:we,kConnected:Ie}=Ae(24347);const{MockInterceptor:_e}=Ae(90410);const Be=Ae(72785);const{InvalidArgumentError:Se}=Ae(48045);class MockClient extends ge{constructor(R,pe){super(R,pe);if(!pe||!pe.agent||typeof pe.agent.dispatch!=="function"){throw new Se("Argument opts.agent must implement Agent")}this[ve]=pe.agent;this[Ce]=R;this[ye]=[];this[Ie]=1;this[we]=this.dispatch;this[Ee]=this.close.bind(this);this.dispatch=me.call(this);this.close=this[be]}get[Be.kConnected](){return this[Ie]}intercept(R){return new _e(R,this[ye])}async[be](){await he(this[Ee])();this[Ie]=0;this[ve][Be.kClients].delete(this[Ce])}}R.exports=MockClient},50888:(R,pe,Ae)=>{"use strict";const{UndiciError:he}=Ae(48045);class MockNotMatchedError extends he{constructor(R){super(R);Error.captureStackTrace(this,MockNotMatchedError);this.name="MockNotMatchedError";this.message=R||"The request does not match any registered mock dispatches";this.code="UND_MOCK_ERR_MOCK_NOT_MATCHED"}}R.exports={MockNotMatchedError:MockNotMatchedError}},90410:(R,pe,Ae)=>{"use strict";const{getResponseData:he,buildKey:ge,addMockDispatch:me}=Ae(79323);const{kDispatches:ye,kDispatchKey:ve,kDefaultHeaders:be,kDefaultTrailers:Ee,kContentLength:Ce,kMockDispatch:we}=Ae(24347);const{InvalidArgumentError:Ie}=Ae(48045);const{buildURL:_e}=Ae(83983);class MockScope{constructor(R){this[we]=R}delay(R){if(typeof R!=="number"||!Number.isInteger(R)||R<=0){throw new Ie("waitInMs must be a valid integer > 0")}this[we].delay=R;return this}persist(){this[we].persist=true;return this}times(R){if(typeof R!=="number"||!Number.isInteger(R)||R<=0){throw new Ie("repeatTimes must be a valid integer > 0")}this[we].times=R;return this}}class MockInterceptor{constructor(R,pe){if(typeof R!=="object"){throw new Ie("opts must be an object")}if(typeof R.path==="undefined"){throw new Ie("opts.path must be defined")}if(typeof R.method==="undefined"){R.method="GET"}if(typeof R.path==="string"){if(R.query){R.path=_e(R.path,R.query)}else{const pe=new URL(R.path,"data://");R.path=pe.pathname+pe.search}}if(typeof R.method==="string"){R.method=R.method.toUpperCase()}this[ve]=ge(R);this[ye]=pe;this[be]={};this[Ee]={};this[Ce]=false}createMockScopeDispatchData(R,pe,Ae={}){const ge=he(pe);const me=this[Ce]?{"content-length":ge.length}:{};const ye={...this[be],...me,...Ae.headers};const ve={...this[Ee],...Ae.trailers};return{statusCode:R,data:pe,headers:ye,trailers:ve}}validateReplyParameters(R,pe,Ae){if(typeof R==="undefined"){throw new Ie("statusCode must be defined")}if(typeof pe==="undefined"){throw new Ie("data must be defined")}if(typeof Ae!=="object"){throw new Ie("responseOptions must be an object")}}reply(R){if(typeof R==="function"){const wrappedDefaultsCallback=pe=>{const Ae=R(pe);if(typeof Ae!=="object"){throw new Ie("reply options callback must return an object")}const{statusCode:he,data:ge="",responseOptions:me={}}=Ae;this.validateReplyParameters(he,ge,me);return{...this.createMockScopeDispatchData(he,ge,me)}};const pe=me(this[ye],this[ve],wrappedDefaultsCallback);return new MockScope(pe)}const[pe,Ae="",he={}]=[...arguments];this.validateReplyParameters(pe,Ae,he);const ge=this.createMockScopeDispatchData(pe,Ae,he);const be=me(this[ye],this[ve],ge);return new MockScope(be)}replyWithError(R){if(typeof R==="undefined"){throw new Ie("error must be defined")}const pe=me(this[ye],this[ve],{error:R});return new MockScope(pe)}defaultReplyHeaders(R){if(typeof R==="undefined"){throw new Ie("headers must be defined")}this[be]=R;return this}defaultReplyTrailers(R){if(typeof R==="undefined"){throw new Ie("trailers must be defined")}this[Ee]=R;return this}replyContentLength(){this[Ce]=true;return this}}R.exports.MockInterceptor=MockInterceptor;R.exports.MockScope=MockScope},26193:(R,pe,Ae)=>{"use strict";const{promisify:he}=Ae(73837);const ge=Ae(4634);const{buildMockDispatch:me}=Ae(79323);const{kDispatches:ye,kMockAgent:ve,kClose:be,kOriginalClose:Ee,kOrigin:Ce,kOriginalDispatch:we,kConnected:Ie}=Ae(24347);const{MockInterceptor:_e}=Ae(90410);const Be=Ae(72785);const{InvalidArgumentError:Se}=Ae(48045);class MockPool extends ge{constructor(R,pe){super(R,pe);if(!pe||!pe.agent||typeof pe.agent.dispatch!=="function"){throw new Se("Argument opts.agent must implement Agent")}this[ve]=pe.agent;this[Ce]=R;this[ye]=[];this[Ie]=1;this[we]=this.dispatch;this[Ee]=this.close.bind(this);this.dispatch=me.call(this);this.close=this[be]}get[Be.kConnected](){return this[Ie]}intercept(R){return new _e(R,this[ye])}async[be](){await he(this[Ee])();this[Ie]=0;this[ve][Be.kClients].delete(this[Ce])}}R.exports=MockPool},24347:R=>{"use strict";R.exports={kAgent:Symbol("agent"),kOptions:Symbol("options"),kFactory:Symbol("factory"),kDispatches:Symbol("dispatches"),kDispatchKey:Symbol("dispatch key"),kDefaultHeaders:Symbol("default headers"),kDefaultTrailers:Symbol("default trailers"),kContentLength:Symbol("content length"),kMockAgent:Symbol("mock agent"),kMockAgentSet:Symbol("mock agent set"),kMockAgentGet:Symbol("mock agent get"),kMockDispatch:Symbol("mock dispatch"),kClose:Symbol("close"),kOriginalClose:Symbol("original agent close"),kOrigin:Symbol("origin"),kIsMockActive:Symbol("is mock active"),kNetConnect:Symbol("net connect"),kGetNetConnect:Symbol("get net connect"),kConnected:Symbol("connected")}},79323:(R,pe,Ae)=>{"use strict";const{MockNotMatchedError:he}=Ae(50888);const{kDispatches:ge,kMockAgent:me,kOriginalDispatch:ye,kOrigin:ve,kGetNetConnect:be}=Ae(24347);const{buildURL:Ee,nop:Ce}=Ae(83983);const{STATUS_CODES:we}=Ae(13685);const{types:{isPromise:Ie}}=Ae(73837);function matchValue(R,pe){if(typeof R==="string"){return R===pe}if(R instanceof RegExp){return R.test(pe)}if(typeof R==="function"){return R(pe)===true}return false}function lowerCaseEntries(R){return Object.fromEntries(Object.entries(R).map((([R,pe])=>[R.toLocaleLowerCase(),pe])))}function getHeaderByName(R,pe){if(Array.isArray(R)){for(let Ae=0;Ae!R)).filter((({path:R})=>matchValue(safeUrl(R),ge)));if(me.length===0){throw new he(`Mock dispatch not matched for path '${ge}'`)}me=me.filter((({method:R})=>matchValue(R,pe.method)));if(me.length===0){throw new he(`Mock dispatch not matched for method '${pe.method}'`)}me=me.filter((({body:R})=>typeof R!=="undefined"?matchValue(R,pe.body):true));if(me.length===0){throw new he(`Mock dispatch not matched for body '${pe.body}'`)}me=me.filter((R=>matchHeaders(R,pe.headers)));if(me.length===0){throw new he(`Mock dispatch not matched for headers '${typeof pe.headers==="object"?JSON.stringify(pe.headers):pe.headers}'`)}return me[0]}function addMockDispatch(R,pe,Ae){const he={timesInvoked:0,times:1,persist:false,consumed:false};const ge=typeof Ae==="function"?{callback:Ae}:{...Ae};const me={...he,...pe,pending:true,data:{error:null,...ge}};R.push(me);return me}function deleteMockDispatch(R,pe){const Ae=R.findIndex((R=>{if(!R.consumed){return false}return matchKey(R,pe)}));if(Ae!==-1){R.splice(Ae,1)}}function buildKey(R){const{path:pe,method:Ae,body:he,headers:ge,query:me}=R;return{path:pe,method:Ae,body:he,headers:ge,query:me}}function generateKeyValues(R){return Object.entries(R).reduce(((R,[pe,Ae])=>[...R,Buffer.from(`${pe}`),Array.isArray(Ae)?Ae.map((R=>Buffer.from(`${R}`))):Buffer.from(`${Ae}`)]),[])}function getStatusText(R){return we[R]||"unknown"}async function getResponse(R){const pe=[];for await(const Ae of R){pe.push(Ae)}return Buffer.concat(pe).toString("utf8")}function mockDispatch(R,pe){const Ae=buildKey(R);const he=getMockDispatch(this[ge],Ae);he.timesInvoked++;if(he.data.callback){he.data={...he.data,...he.data.callback(R)}}const{data:{statusCode:me,data:ye,headers:ve,trailers:be,error:Ee},delay:we,persist:_e}=he;const{timesInvoked:Be,times:Se}=he;he.consumed=!_e&&Be>=Se;he.pending=Be0){setTimeout((()=>{handleReply(this[ge])}),we)}else{handleReply(this[ge])}function handleReply(he,ge=ye){const Ee=Array.isArray(R.headers)?buildHeadersFromArray(R.headers):R.headers;const we=typeof ge==="function"?ge({...R,headers:Ee}):ge;if(Ie(we)){we.then((R=>handleReply(he,R)));return}const _e=getResponseData(we);const Be=generateKeyValues(ve);const Se=generateKeyValues(be);pe.abort=Ce;pe.onHeaders(me,Be,resume,getStatusText(me));pe.onData(Buffer.from(_e));pe.onComplete(Se);deleteMockDispatch(he,Ae)}function resume(){}return true}function buildMockDispatch(){const R=this[me];const pe=this[ve];const Ae=this[ye];return function dispatch(ge,me){if(R.isMockActive){try{mockDispatch.call(this,ge,me)}catch(ye){if(ye instanceof he){const ve=R[be]();if(ve===false){throw new he(`${ye.message}: subsequent request to origin ${pe} was not allowed (net.connect disabled)`)}if(checkNetConnect(ve,pe)){Ae.call(this,ge,me)}else{throw new he(`${ye.message}: subsequent request to origin ${pe} was not allowed (net.connect is not enabled for this origin)`)}}else{throw ye}}}else{Ae.call(this,ge,me)}}}function checkNetConnect(R,pe){const Ae=new URL(pe);if(R===true){return true}else if(Array.isArray(R)&&R.some((R=>matchValue(R,Ae.host)))){return true}return false}function buildMockOptions(R){if(R){const{agent:pe,...Ae}=R;return Ae}}R.exports={getResponseData:getResponseData,getMockDispatch:getMockDispatch,addMockDispatch:addMockDispatch,deleteMockDispatch:deleteMockDispatch,buildKey:buildKey,generateKeyValues:generateKeyValues,matchValue:matchValue,getResponse:getResponse,getStatusText:getStatusText,mockDispatch:mockDispatch,buildMockDispatch:buildMockDispatch,checkNetConnect:checkNetConnect,buildMockOptions:buildMockOptions,getHeaderByName:getHeaderByName}},86823:(R,pe,Ae)=>{"use strict";const{Transform:he}=Ae(12781);const{Console:ge}=Ae(96206);R.exports=class PendingInterceptorsFormatter{constructor({disableColors:R}={}){this.transform=new he({transform(R,pe,Ae){Ae(null,R)}});this.logger=new ge({stdout:this.transform,inspectOptions:{colors:!R&&!process.env.CI}})}format(R){const pe=R.map((({method:R,path:pe,data:{statusCode:Ae},persist:he,times:ge,timesInvoked:me,origin:ye})=>({Method:R,Origin:ye,Path:pe,"Status code":Ae,Persistent:he?"✅":"❌",Invocations:me,Remaining:he?Infinity:ge-me})));this.logger.table(pe);return this.transform.read().toString()}}},78891:R=>{"use strict";const pe={pronoun:"it",is:"is",was:"was",this:"this"};const Ae={pronoun:"they",is:"are",was:"were",this:"these"};R.exports=class Pluralizer{constructor(R,pe){this.singular=R;this.plural=pe}pluralize(R){const he=R===1;const ge=he?pe:Ae;const me=he?this.singular:this.plural;return{...ge,count:R,noun:me}}}},68266:R=>{"use strict";const pe=2048;const Ae=pe-1;class FixedCircularBuffer{constructor(){this.bottom=0;this.top=0;this.list=new Array(pe);this.next=null}isEmpty(){return this.top===this.bottom}isFull(){return(this.top+1&Ae)===this.bottom}push(R){this.list[this.top]=R;this.top=this.top+1&Ae}shift(){const R=this.list[this.bottom];if(R===undefined)return null;this.list[this.bottom]=undefined;this.bottom=this.bottom+1&Ae;return R}}R.exports=class FixedQueue{constructor(){this.head=this.tail=new FixedCircularBuffer}isEmpty(){return this.head.isEmpty()}push(R){if(this.head.isFull()){this.head=this.head.next=new FixedCircularBuffer}this.head.push(R)}shift(){const R=this.tail;const pe=R.shift();if(R.isEmpty()&&R.next!==null){this.tail=R.next}return pe}}},73198:(R,pe,Ae)=>{"use strict";const he=Ae(74839);const ge=Ae(68266);const{kConnected:me,kSize:ye,kRunning:ve,kPending:be,kQueued:Ee,kBusy:Ce,kFree:we,kUrl:Ie,kClose:_e,kDestroy:Be,kDispatch:Se}=Ae(72785);const Qe=Ae(39689);const xe=Symbol("clients");const De=Symbol("needDrain");const ke=Symbol("queue");const Oe=Symbol("closed resolve");const Re=Symbol("onDrain");const Pe=Symbol("onConnect");const Te=Symbol("onDisconnect");const Ne=Symbol("onConnectionError");const Me=Symbol("get dispatcher");const Fe=Symbol("add client");const je=Symbol("remove client");const Le=Symbol("stats");class PoolBase extends he{constructor(){super();this[ke]=new ge;this[xe]=[];this[Ee]=0;const R=this;this[Re]=function onDrain(pe,Ae){const he=R[ke];let ge=false;while(!ge){const pe=he.shift();if(!pe){break}R[Ee]--;ge=!this.dispatch(pe.opts,pe.handler)}this[De]=ge;if(!this[De]&&R[De]){R[De]=false;R.emit("drain",pe,[R,...Ae])}if(R[Oe]&&he.isEmpty()){Promise.all(R[xe].map((R=>R.close()))).then(R[Oe])}};this[Pe]=(pe,Ae)=>{R.emit("connect",pe,[R,...Ae])};this[Te]=(pe,Ae,he)=>{R.emit("disconnect",pe,[R,...Ae],he)};this[Ne]=(pe,Ae,he)=>{R.emit("connectionError",pe,[R,...Ae],he)};this[Le]=new Qe(this)}get[Ce](){return this[De]}get[me](){return this[xe].filter((R=>R[me])).length}get[we](){return this[xe].filter((R=>R[me]&&!R[De])).length}get[be](){let R=this[Ee];for(const{[be]:pe}of this[xe]){R+=pe}return R}get[ve](){let R=0;for(const{[ve]:pe}of this[xe]){R+=pe}return R}get[ye](){let R=this[Ee];for(const{[ye]:pe}of this[xe]){R+=pe}return R}get stats(){return this[Le]}async[_e](){if(this[ke].isEmpty()){return Promise.all(this[xe].map((R=>R.close())))}else{return new Promise((R=>{this[Oe]=R}))}}async[Be](R){while(true){const pe=this[ke].shift();if(!pe){break}pe.handler.onError(R)}return Promise.all(this[xe].map((pe=>pe.destroy(R))))}[Se](R,pe){const Ae=this[Me]();if(!Ae){this[De]=true;this[ke].push({opts:R,handler:pe});this[Ee]++}else if(!Ae.dispatch(R,pe)){Ae[De]=true;this[De]=!this[Me]()}return!this[De]}[Fe](R){R.on("drain",this[Re]).on("connect",this[Pe]).on("disconnect",this[Te]).on("connectionError",this[Ne]);this[xe].push(R);if(this[De]){process.nextTick((()=>{if(this[De]){this[Re](R[Ie],[this,R])}}))}return this}[je](R){R.close((()=>{const pe=this[xe].indexOf(R);if(pe!==-1){this[xe].splice(pe,1)}}));this[De]=this[xe].some((R=>!R[De]&&R.closed!==true&&R.destroyed!==true))}}R.exports={PoolBase:PoolBase,kClients:xe,kNeedDrain:De,kAddClient:Fe,kRemoveClient:je,kGetDispatcher:Me}},39689:(R,pe,Ae)=>{const{kFree:he,kConnected:ge,kPending:me,kQueued:ye,kRunning:ve,kSize:be}=Ae(72785);const Ee=Symbol("pool");class PoolStats{constructor(R){this[Ee]=R}get connected(){return this[Ee][ge]}get free(){return this[Ee][he]}get pending(){return this[Ee][me]}get queued(){return this[Ee][ye]}get running(){return this[Ee][ve]}get size(){return this[Ee][be]}}R.exports=PoolStats},4634:(R,pe,Ae)=>{"use strict";const{PoolBase:he,kClients:ge,kNeedDrain:me,kAddClient:ye,kGetDispatcher:ve}=Ae(73198);const be=Ae(33598);const{InvalidArgumentError:Ee}=Ae(48045);const Ce=Ae(83983);const{kUrl:we,kInterceptors:Ie}=Ae(72785);const _e=Ae(82067);const Be=Symbol("options");const Se=Symbol("connections");const Qe=Symbol("factory");function defaultFactory(R,pe){return new be(R,pe)}class Pool extends he{constructor(R,{connections:pe,factory:Ae=defaultFactory,connect:he,connectTimeout:ge,tls:me,maxCachedSessions:ye,socketPath:ve,autoSelectFamily:be,autoSelectFamilyAttemptTimeout:xe,allowH2:De,...ke}={}){super();if(pe!=null&&(!Number.isFinite(pe)||pe<0)){throw new Ee("invalid connections")}if(typeof Ae!=="function"){throw new Ee("factory must be a function.")}if(he!=null&&typeof he!=="function"&&typeof he!=="object"){throw new Ee("connect must be a function or an object")}if(typeof he!=="function"){he=_e({...me,maxCachedSessions:ye,allowH2:De,socketPath:ve,timeout:ge,...Ce.nodeHasAutoSelectFamily&&be?{autoSelectFamily:be,autoSelectFamilyAttemptTimeout:xe}:undefined,...he})}this[Ie]=ke.interceptors&&ke.interceptors.Pool&&Array.isArray(ke.interceptors.Pool)?ke.interceptors.Pool:[];this[Se]=pe||null;this[we]=Ce.parseOrigin(R);this[Be]={...Ce.deepClone(ke),connect:he,allowH2:De};this[Be].interceptors=ke.interceptors?{...ke.interceptors}:undefined;this[Qe]=Ae}[ve](){let R=this[ge].find((R=>!R[me]));if(R){return R}if(!this[Se]||this[ge].length{"use strict";const{kProxy:he,kClose:ge,kDestroy:me,kInterceptors:ye}=Ae(72785);const{URL:ve}=Ae(57310);const be=Ae(7890);const Ee=Ae(4634);const Ce=Ae(74839);const{InvalidArgumentError:we,RequestAbortedError:Ie}=Ae(48045);const _e=Ae(82067);const Be=Symbol("proxy agent");const Se=Symbol("proxy client");const Qe=Symbol("proxy headers");const xe=Symbol("request tls settings");const De=Symbol("proxy tls settings");const ke=Symbol("connect endpoint function");function defaultProtocolPort(R){return R==="https:"?443:80}function buildProxyOptions(R){if(typeof R==="string"){R={uri:R}}if(!R||!R.uri){throw new we("Proxy opts.uri is mandatory")}return{uri:R.uri,protocol:R.protocol||"https"}}function defaultFactory(R,pe){return new Ee(R,pe)}class ProxyAgent extends Ce{constructor(R){super(R);this[he]=buildProxyOptions(R);this[Be]=new be(R);this[ye]=R.interceptors&&R.interceptors.ProxyAgent&&Array.isArray(R.interceptors.ProxyAgent)?R.interceptors.ProxyAgent:[];if(typeof R==="string"){R={uri:R}}if(!R||!R.uri){throw new we("Proxy opts.uri is mandatory")}const{clientFactory:pe=defaultFactory}=R;if(typeof pe!=="function"){throw new we("Proxy opts.clientFactory must be a function.")}this[xe]=R.requestTls;this[De]=R.proxyTls;this[Qe]=R.headers||{};const Ae=new ve(R.uri);const{origin:ge,port:me,host:Ee,username:Ce,password:Oe}=Ae;if(R.auth&&R.token){throw new we("opts.auth cannot be used in combination with opts.token")}else if(R.auth){this[Qe]["proxy-authorization"]=`Basic ${R.auth}`}else if(R.token){this[Qe]["proxy-authorization"]=R.token}else if(Ce&&Oe){this[Qe]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(Ce)}:${decodeURIComponent(Oe)}`).toString("base64")}`}const Re=_e({...R.proxyTls});this[ke]=_e({...R.requestTls});this[Se]=pe(Ae,{connect:Re});this[Be]=new be({...R,connect:async(R,pe)=>{let Ae=R.host;if(!R.port){Ae+=`:${defaultProtocolPort(R.protocol)}`}try{const{socket:he,statusCode:ye}=await this[Se].connect({origin:ge,port:me,path:Ae,signal:R.signal,headers:{...this[Qe],host:Ee}});if(ye!==200){he.on("error",(()=>{})).destroy();pe(new Ie(`Proxy response (${ye}) !== 200 when HTTP Tunneling`))}if(R.protocol!=="https:"){pe(null,he);return}let ve;if(this[xe]){ve=this[xe].servername}else{ve=R.servername}this[ke]({...R,servername:ve,httpSocket:he},pe)}catch(R){pe(R)}}})}dispatch(R,pe){const{host:Ae}=new ve(R.origin);const he=buildHeaders(R.headers);throwIfProxyAuthIsSent(he);return this[Be].dispatch({...R,headers:{...he,host:Ae}},pe)}async[ge](){await this[Be].close();await this[Se].close()}async[me](){await this[Be].destroy();await this[Se].destroy()}}function buildHeaders(R){if(Array.isArray(R)){const pe={};for(let Ae=0;AeR.toLowerCase()==="proxy-authorization"));if(pe){throw new we("Proxy-Authorization should be sent in ProxyAgent constructor")}}R.exports=ProxyAgent},29459:R=>{"use strict";let pe=Date.now();let Ae;const he=[];function onTimeout(){pe=Date.now();let R=he.length;let Ae=0;while(Ae0&&pe>=ge.state){ge.state=-1;ge.callback(ge.opaque)}if(ge.state===-1){ge.state=-2;if(Ae!==R-1){he[Ae]=he.pop()}else{he.pop()}R-=1}else{Ae+=1}}if(he.length>0){refreshTimeout()}}function refreshTimeout(){if(Ae&&Ae.refresh){Ae.refresh()}else{clearTimeout(Ae);Ae=setTimeout(onTimeout,1e3);if(Ae.unref){Ae.unref()}}}class Timeout{constructor(R,pe,Ae){this.callback=R;this.delay=pe;this.opaque=Ae;this.state=-2;this.refresh()}refresh(){if(this.state===-2){he.push(this);if(!Ae||he.length===1){refreshTimeout()}}this.state=0}clear(){this.state=-1}}R.exports={setTimeout(R,pe,Ae){return pe<1e3?setTimeout(R,pe,Ae):new Timeout(R,pe,Ae)},clearTimeout(R){if(R instanceof Timeout){R.clear()}else{clearTimeout(R)}}}},35354:(R,pe,Ae)=>{"use strict";const he=Ae(67643);const{uid:ge,states:me}=Ae(19188);const{kReadyState:ye,kSentClose:ve,kByteParser:be,kReceivedClose:Ee}=Ae(37578);const{fireEvent:Ce,failWebsocketConnection:we}=Ae(25515);const{CloseEvent:Ie}=Ae(52611);const{makeRequest:_e}=Ae(48359);const{fetching:Be}=Ae(74881);const{Headers:Se}=Ae(10554);const{getGlobalDispatcher:Qe}=Ae(21892);const{kHeadersList:xe}=Ae(72785);const De={};De.open=he.channel("undici:websocket:open");De.close=he.channel("undici:websocket:close");De.socketError=he.channel("undici:websocket:socket_error");let ke;try{ke=Ae(6113)}catch{}function establishWebSocketConnection(R,pe,Ae,he,me){const ye=R;ye.protocol=R.protocol==="ws:"?"http:":"https:";const ve=_e({urlList:[ye],serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error"});if(me.headers){const R=new Se(me.headers)[xe];ve.headersList=R}const be=ke.randomBytes(16).toString("base64");ve.headersList.append("sec-websocket-key",be);ve.headersList.append("sec-websocket-version","13");for(const R of pe){ve.headersList.append("sec-websocket-protocol",R)}const Ee="";const Ce=Be({request:ve,useParallelQueue:true,dispatcher:me.dispatcher??Qe(),processResponse(R){if(R.type==="error"||R.status!==101){we(Ae,"Received network error or non-101 status code.");return}if(pe.length!==0&&!R.headersList.get("Sec-WebSocket-Protocol")){we(Ae,"Server did not respond with sent protocols.");return}if(R.headersList.get("Upgrade")?.toLowerCase()!=="websocket"){we(Ae,'Server did not set Upgrade header to "websocket".');return}if(R.headersList.get("Connection")?.toLowerCase()!=="upgrade"){we(Ae,'Server did not set Connection header to "upgrade".');return}const me=R.headersList.get("Sec-WebSocket-Accept");const ye=ke.createHash("sha1").update(be+ge).digest("base64");if(me!==ye){we(Ae,"Incorrect hash received in Sec-WebSocket-Accept header.");return}const Ce=R.headersList.get("Sec-WebSocket-Extensions");if(Ce!==null&&Ce!==Ee){we(Ae,"Received different permessage-deflate than the one set.");return}const Ie=R.headersList.get("Sec-WebSocket-Protocol");if(Ie!==null&&Ie!==ve.headersList.get("Sec-WebSocket-Protocol")){we(Ae,"Protocol was not set in the opening handshake.");return}R.socket.on("data",onSocketData);R.socket.on("close",onSocketClose);R.socket.on("error",onSocketError);if(De.open.hasSubscribers){De.open.publish({address:R.socket.address(),protocol:Ie,extensions:Ce})}he(R)}});return Ce}function onSocketData(R){if(!this.ws[be].write(R)){this.pause()}}function onSocketClose(){const{ws:R}=this;const pe=R[ve]&&R[Ee];let Ae=1005;let he="";const ge=R[be].closingInfo;if(ge){Ae=ge.code??1005;he=ge.reason}else if(!R[ve]){Ae=1006}R[ye]=me.CLOSED;Ce("close",R,Ie,{wasClean:pe,code:Ae,reason:he});if(De.close.hasSubscribers){De.close.publish({websocket:R,code:Ae,reason:he})}}function onSocketError(R){const{ws:pe}=this;pe[ye]=me.CLOSING;if(De.socketError.hasSubscribers){De.socketError.publish(R)}this.destroy()}R.exports={establishWebSocketConnection:establishWebSocketConnection}},19188:R=>{"use strict";const pe="258EAFA5-E914-47DA-95CA-C5AB0DC85B11";const Ae={enumerable:true,writable:false,configurable:false};const he={CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3};const ge={CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10};const me=2**16-1;const ye={INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4};const ve=Buffer.allocUnsafe(0);R.exports={uid:pe,staticPropertyDescriptors:Ae,states:he,opcodes:ge,maxUnsigned16Bit:me,parserStates:ye,emptyBuffer:ve}},52611:(R,pe,Ae)=>{"use strict";const{webidl:he}=Ae(21744);const{kEnumerableProperty:ge}=Ae(83983);const{MessagePort:me}=Ae(71267);class MessageEvent extends Event{#o;constructor(R,pe={}){he.argumentLengthCheck(arguments,1,{header:"MessageEvent constructor"});R=he.converters.DOMString(R);pe=he.converters.MessageEventInit(pe);super(R,pe);this.#o=pe}get data(){he.brandCheck(this,MessageEvent);return this.#o.data}get origin(){he.brandCheck(this,MessageEvent);return this.#o.origin}get lastEventId(){he.brandCheck(this,MessageEvent);return this.#o.lastEventId}get source(){he.brandCheck(this,MessageEvent);return this.#o.source}get ports(){he.brandCheck(this,MessageEvent);if(!Object.isFrozen(this.#o.ports)){Object.freeze(this.#o.ports)}return this.#o.ports}initMessageEvent(R,pe=false,Ae=false,ge=null,me="",ye="",ve=null,be=[]){he.brandCheck(this,MessageEvent);he.argumentLengthCheck(arguments,1,{header:"MessageEvent.initMessageEvent"});return new MessageEvent(R,{bubbles:pe,cancelable:Ae,data:ge,origin:me,lastEventId:ye,source:ve,ports:be})}}class CloseEvent extends Event{#o;constructor(R,pe={}){he.argumentLengthCheck(arguments,1,{header:"CloseEvent constructor"});R=he.converters.DOMString(R);pe=he.converters.CloseEventInit(pe);super(R,pe);this.#o=pe}get wasClean(){he.brandCheck(this,CloseEvent);return this.#o.wasClean}get code(){he.brandCheck(this,CloseEvent);return this.#o.code}get reason(){he.brandCheck(this,CloseEvent);return this.#o.reason}}class ErrorEvent extends Event{#o;constructor(R,pe){he.argumentLengthCheck(arguments,1,{header:"ErrorEvent constructor"});super(R,pe);R=he.converters.DOMString(R);pe=he.converters.ErrorEventInit(pe??{});this.#o=pe}get message(){he.brandCheck(this,ErrorEvent);return this.#o.message}get filename(){he.brandCheck(this,ErrorEvent);return this.#o.filename}get lineno(){he.brandCheck(this,ErrorEvent);return this.#o.lineno}get colno(){he.brandCheck(this,ErrorEvent);return this.#o.colno}get error(){he.brandCheck(this,ErrorEvent);return this.#o.error}}Object.defineProperties(MessageEvent.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:true},data:ge,origin:ge,lastEventId:ge,source:ge,ports:ge,initMessageEvent:ge});Object.defineProperties(CloseEvent.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:true},reason:ge,code:ge,wasClean:ge});Object.defineProperties(ErrorEvent.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:true},message:ge,filename:ge,lineno:ge,colno:ge,error:ge});he.converters.MessagePort=he.interfaceConverter(me);he.converters["sequence"]=he.sequenceConverter(he.converters.MessagePort);const ye=[{key:"bubbles",converter:he.converters.boolean,defaultValue:false},{key:"cancelable",converter:he.converters.boolean,defaultValue:false},{key:"composed",converter:he.converters.boolean,defaultValue:false}];he.converters.MessageEventInit=he.dictionaryConverter([...ye,{key:"data",converter:he.converters.any,defaultValue:null},{key:"origin",converter:he.converters.USVString,defaultValue:""},{key:"lastEventId",converter:he.converters.DOMString,defaultValue:""},{key:"source",converter:he.nullableConverter(he.converters.MessagePort),defaultValue:null},{key:"ports",converter:he.converters["sequence"],get defaultValue(){return[]}}]);he.converters.CloseEventInit=he.dictionaryConverter([...ye,{key:"wasClean",converter:he.converters.boolean,defaultValue:false},{key:"code",converter:he.converters["unsigned short"],defaultValue:0},{key:"reason",converter:he.converters.USVString,defaultValue:""}]);he.converters.ErrorEventInit=he.dictionaryConverter([...ye,{key:"message",converter:he.converters.DOMString,defaultValue:""},{key:"filename",converter:he.converters.USVString,defaultValue:""},{key:"lineno",converter:he.converters["unsigned long"],defaultValue:0},{key:"colno",converter:he.converters["unsigned long"],defaultValue:0},{key:"error",converter:he.converters.any}]);R.exports={MessageEvent:MessageEvent,CloseEvent:CloseEvent,ErrorEvent:ErrorEvent}},25444:(R,pe,Ae)=>{"use strict";const{maxUnsigned16Bit:he}=Ae(19188);let ge;try{ge=Ae(6113)}catch{}class WebsocketFrameSend{constructor(R){this.frameData=R;this.maskKey=ge.randomBytes(4)}createFrame(R){const pe=this.frameData?.byteLength??0;let Ae=pe;let ge=6;if(pe>he){ge+=8;Ae=127}else if(pe>125){ge+=2;Ae=126}const me=Buffer.allocUnsafe(pe+ge);me[0]=me[1]=0;me[0]|=128;me[0]=(me[0]&240)+R; +/*! ws. MIT License. Einar Otto Stangvik */me[ge-4]=this.maskKey[0];me[ge-3]=this.maskKey[1];me[ge-2]=this.maskKey[2];me[ge-1]=this.maskKey[3];me[1]=Ae;if(Ae===126){me.writeUInt16BE(pe,2)}else if(Ae===127){me[2]=me[3]=0;me.writeUIntBE(pe,4,6)}me[1]|=128;for(let R=0;R{"use strict";const{Writable:he}=Ae(12781);const ge=Ae(67643);const{parserStates:me,opcodes:ye,states:ve,emptyBuffer:be}=Ae(19188);const{kReadyState:Ee,kSentClose:Ce,kResponse:we,kReceivedClose:Ie}=Ae(37578);const{isValidStatusCode:_e,failWebsocketConnection:Be,websocketMessageReceived:Se}=Ae(25515);const{WebsocketFrameSend:Qe}=Ae(25444);const xe={};xe.ping=ge.channel("undici:websocket:ping");xe.pong=ge.channel("undici:websocket:pong");class ByteParser extends he{#s=[];#a=0;#c=me.INFO;#u={};#l=[];constructor(R){super();this.ws=R}_write(R,pe,Ae){this.#s.push(R);this.#a+=R.length;this.run(Ae)}run(R){while(true){if(this.#c===me.INFO){if(this.#a<2){return R()}const pe=this.consume(2);this.#u.fin=(pe[0]&128)!==0;this.#u.opcode=pe[0]&15;this.#u.originalOpcode??=this.#u.opcode;this.#u.fragmented=!this.#u.fin&&this.#u.opcode!==ye.CONTINUATION;if(this.#u.fragmented&&this.#u.opcode!==ye.BINARY&&this.#u.opcode!==ye.TEXT){Be(this.ws,"Invalid frame type was fragmented.");return}const Ae=pe[1]&127;if(Ae<=125){this.#u.payloadLength=Ae;this.#c=me.READ_DATA}else if(Ae===126){this.#c=me.PAYLOADLENGTH_16}else if(Ae===127){this.#c=me.PAYLOADLENGTH_64}if(this.#u.fragmented&&Ae>125){Be(this.ws,"Fragmented frame exceeded 125 bytes.");return}else if((this.#u.opcode===ye.PING||this.#u.opcode===ye.PONG||this.#u.opcode===ye.CLOSE)&&Ae>125){Be(this.ws,"Payload length for control frame exceeded 125 bytes.");return}else if(this.#u.opcode===ye.CLOSE){if(Ae===1){Be(this.ws,"Received close frame with a 1-byte body.");return}const R=this.consume(Ae);this.#u.closeInfo=this.parseCloseBody(false,R);if(!this.ws[Ce]){const R=Buffer.allocUnsafe(2);R.writeUInt16BE(this.#u.closeInfo.code,0);const pe=new Qe(R);this.ws[we].socket.write(pe.createFrame(ye.CLOSE),(R=>{if(!R){this.ws[Ce]=true}}))}this.ws[Ee]=ve.CLOSING;this.ws[Ie]=true;this.end();return}else if(this.#u.opcode===ye.PING){const pe=this.consume(Ae);if(!this.ws[Ie]){const R=new Qe(pe);this.ws[we].socket.write(R.createFrame(ye.PONG));if(xe.ping.hasSubscribers){xe.ping.publish({payload:pe})}}this.#c=me.INFO;if(this.#a>0){continue}else{R();return}}else if(this.#u.opcode===ye.PONG){const pe=this.consume(Ae);if(xe.pong.hasSubscribers){xe.pong.publish({payload:pe})}if(this.#a>0){continue}else{R();return}}}else if(this.#c===me.PAYLOADLENGTH_16){if(this.#a<2){return R()}const pe=this.consume(2);this.#u.payloadLength=pe.readUInt16BE(0);this.#c=me.READ_DATA}else if(this.#c===me.PAYLOADLENGTH_64){if(this.#a<8){return R()}const pe=this.consume(8);const Ae=pe.readUInt32BE(0);if(Ae>2**31-1){Be(this.ws,"Received payload length > 2^31 bytes.");return}const he=pe.readUInt32BE(4);this.#u.payloadLength=(Ae<<8)+he;this.#c=me.READ_DATA}else if(this.#c===me.READ_DATA){if(this.#a=this.#u.payloadLength){const R=this.consume(this.#u.payloadLength);this.#l.push(R);if(!this.#u.fragmented||this.#u.fin&&this.#u.opcode===ye.CONTINUATION){const R=Buffer.concat(this.#l);Se(this.ws,this.#u.originalOpcode,R);this.#u={};this.#l.length=0}this.#c=me.INFO}}if(this.#a>0){continue}else{R();break}}}consume(R){if(R>this.#a){return null}else if(R===0){return be}if(this.#s[0].length===R){this.#a-=this.#s[0].length;return this.#s.shift()}const pe=Buffer.allocUnsafe(R);let Ae=0;while(Ae!==R){const he=this.#s[0];const{length:ge}=he;if(ge+Ae===R){pe.set(this.#s.shift(),Ae);break}else if(ge+Ae>R){pe.set(he.subarray(0,R-Ae),Ae);this.#s[0]=he.subarray(R-Ae);break}else{pe.set(this.#s.shift(),Ae);Ae+=he.length}}this.#a-=R;return pe}parseCloseBody(R,pe){let Ae;if(pe.length>=2){Ae=pe.readUInt16BE(0)}if(R){if(!_e(Ae)){return null}return{code:Ae}}let he=pe.subarray(2);if(he[0]===239&&he[1]===187&&he[2]===191){he=he.subarray(3)}if(Ae!==undefined&&!_e(Ae)){return null}try{he=new TextDecoder("utf-8",{fatal:true}).decode(he)}catch{return null}return{code:Ae,reason:he}}get closingInfo(){return this.#u.closeInfo}}R.exports={ByteParser:ByteParser}},37578:R=>{"use strict";R.exports={kWebSocketURL:Symbol("url"),kReadyState:Symbol("ready state"),kController:Symbol("controller"),kResponse:Symbol("response"),kBinaryType:Symbol("binary type"),kSentClose:Symbol("sent close"),kReceivedClose:Symbol("received close"),kByteParser:Symbol("byte parser")}},25515:(R,pe,Ae)=>{"use strict";const{kReadyState:he,kController:ge,kResponse:me,kBinaryType:ye,kWebSocketURL:ve}=Ae(37578);const{states:be,opcodes:Ee}=Ae(19188);const{MessageEvent:Ce,ErrorEvent:we}=Ae(52611);function isEstablished(R){return R[he]===be.OPEN}function isClosing(R){return R[he]===be.CLOSING}function isClosed(R){return R[he]===be.CLOSED}function fireEvent(R,pe,Ae=Event,he){const ge=new Ae(R,he);pe.dispatchEvent(ge)}function websocketMessageReceived(R,pe,Ae){if(R[he]!==be.OPEN){return}let ge;if(pe===Ee.TEXT){try{ge=new TextDecoder("utf-8",{fatal:true}).decode(Ae)}catch{failWebsocketConnection(R,"Received invalid UTF-8 in text frame.");return}}else if(pe===Ee.BINARY){if(R[ye]==="blob"){ge=new Blob([Ae])}else{ge=new Uint8Array(Ae).buffer}}fireEvent("message",R,Ce,{origin:R[ve].origin,data:ge})}function isValidSubprotocol(R){if(R.length===0){return false}for(const pe of R){const R=pe.charCodeAt(0);if(R<33||R>126||pe==="("||pe===")"||pe==="<"||pe===">"||pe==="@"||pe===","||pe===";"||pe===":"||pe==="\\"||pe==='"'||pe==="/"||pe==="["||pe==="]"||pe==="?"||pe==="="||pe==="{"||pe==="}"||R===32||R===9){return false}}return true}function isValidStatusCode(R){if(R>=1e3&&R<1015){return R!==1004&&R!==1005&&R!==1006}return R>=3e3&&R<=4999}function failWebsocketConnection(R,pe){const{[ge]:Ae,[me]:he}=R;Ae.abort();if(he?.socket&&!he.socket.destroyed){he.socket.destroy()}if(pe){fireEvent("error",R,we,{error:new Error(pe)})}}R.exports={isEstablished:isEstablished,isClosing:isClosing,isClosed:isClosed,fireEvent:fireEvent,isValidSubprotocol:isValidSubprotocol,isValidStatusCode:isValidStatusCode,failWebsocketConnection:failWebsocketConnection,websocketMessageReceived:websocketMessageReceived}},54284:(R,pe,Ae)=>{"use strict";const{webidl:he}=Ae(21744);const{DOMException:ge}=Ae(41037);const{URLSerializer:me}=Ae(685);const{getGlobalOrigin:ye}=Ae(71246);const{staticPropertyDescriptors:ve,states:be,opcodes:Ee,emptyBuffer:Ce}=Ae(19188);const{kWebSocketURL:we,kReadyState:Ie,kController:_e,kBinaryType:Be,kResponse:Se,kSentClose:Qe,kByteParser:xe}=Ae(37578);const{isEstablished:De,isClosing:ke,isValidSubprotocol:Oe,failWebsocketConnection:Re,fireEvent:Pe}=Ae(25515);const{establishWebSocketConnection:Te}=Ae(35354);const{WebsocketFrameSend:Ne}=Ae(25444);const{ByteParser:Me}=Ae(11688);const{kEnumerableProperty:Fe,isBlobLike:je}=Ae(83983);const{getGlobalDispatcher:Le}=Ae(21892);const{types:Ue}=Ae(73837);let He=false;class WebSocket extends EventTarget{#d={open:null,error:null,close:null,message:null};#f=0;#p="";#A="";constructor(R,pe=[]){super();he.argumentLengthCheck(arguments,1,{header:"WebSocket constructor"});if(!He){He=true;process.emitWarning("WebSockets are experimental, expect them to change at any time.",{code:"UNDICI-WS"})}const Ae=he.converters["DOMString or sequence or WebSocketInit"](pe);R=he.converters.USVString(R);pe=Ae.protocols;const me=ye();let ve;try{ve=new URL(R,me)}catch(R){throw new ge(R,"SyntaxError")}if(ve.protocol==="http:"){ve.protocol="ws:"}else if(ve.protocol==="https:"){ve.protocol="wss:"}if(ve.protocol!=="ws:"&&ve.protocol!=="wss:"){throw new ge(`Expected a ws: or wss: protocol, got ${ve.protocol}`,"SyntaxError")}if(ve.hash||ve.href.endsWith("#")){throw new ge("Got fragment","SyntaxError")}if(typeof pe==="string"){pe=[pe]}if(pe.length!==new Set(pe.map((R=>R.toLowerCase()))).size){throw new ge("Invalid Sec-WebSocket-Protocol value","SyntaxError")}if(pe.length>0&&!pe.every((R=>Oe(R)))){throw new ge("Invalid Sec-WebSocket-Protocol value","SyntaxError")}this[we]=new URL(ve.href);this[_e]=Te(ve,pe,this,(R=>this.#h(R)),Ae);this[Ie]=WebSocket.CONNECTING;this[Be]="blob"}close(R=undefined,pe=undefined){he.brandCheck(this,WebSocket);if(R!==undefined){R=he.converters["unsigned short"](R,{clamp:true})}if(pe!==undefined){pe=he.converters.USVString(pe)}if(R!==undefined){if(R!==1e3&&(R<3e3||R>4999)){throw new ge("invalid code","InvalidAccessError")}}let Ae=0;if(pe!==undefined){Ae=Buffer.byteLength(pe);if(Ae>123){throw new ge(`Reason must be less than 123 bytes; received ${Ae}`,"SyntaxError")}}if(this[Ie]===WebSocket.CLOSING||this[Ie]===WebSocket.CLOSED){}else if(!De(this)){Re(this,"Connection was closed before it was established.");this[Ie]=WebSocket.CLOSING}else if(!ke(this)){const he=new Ne;if(R!==undefined&&pe===undefined){he.frameData=Buffer.allocUnsafe(2);he.frameData.writeUInt16BE(R,0)}else if(R!==undefined&&pe!==undefined){he.frameData=Buffer.allocUnsafe(2+Ae);he.frameData.writeUInt16BE(R,0);he.frameData.write(pe,2,"utf-8")}else{he.frameData=Ce}const ge=this[Se].socket;ge.write(he.createFrame(Ee.CLOSE),(R=>{if(!R){this[Qe]=true}}));this[Ie]=be.CLOSING}else{this[Ie]=WebSocket.CLOSING}}send(R){he.brandCheck(this,WebSocket);he.argumentLengthCheck(arguments,1,{header:"WebSocket.send"});R=he.converters.WebSocketSendData(R);if(this[Ie]===WebSocket.CONNECTING){throw new ge("Sent before connected.","InvalidStateError")}if(!De(this)||ke(this)){return}const pe=this[Se].socket;if(typeof R==="string"){const Ae=Buffer.from(R);const he=new Ne(Ae);const ge=he.createFrame(Ee.TEXT);this.#f+=Ae.byteLength;pe.write(ge,(()=>{this.#f-=Ae.byteLength}))}else if(Ue.isArrayBuffer(R)){const Ae=Buffer.from(R);const he=new Ne(Ae);const ge=he.createFrame(Ee.BINARY);this.#f+=Ae.byteLength;pe.write(ge,(()=>{this.#f-=Ae.byteLength}))}else if(ArrayBuffer.isView(R)){const Ae=Buffer.from(R,R.byteOffset,R.byteLength);const he=new Ne(Ae);const ge=he.createFrame(Ee.BINARY);this.#f+=Ae.byteLength;pe.write(ge,(()=>{this.#f-=Ae.byteLength}))}else if(je(R)){const Ae=new Ne;R.arrayBuffer().then((R=>{const he=Buffer.from(R);Ae.frameData=he;const ge=Ae.createFrame(Ee.BINARY);this.#f+=he.byteLength;pe.write(ge,(()=>{this.#f-=he.byteLength}))}))}}get readyState(){he.brandCheck(this,WebSocket);return this[Ie]}get bufferedAmount(){he.brandCheck(this,WebSocket);return this.#f}get url(){he.brandCheck(this,WebSocket);return me(this[we])}get extensions(){he.brandCheck(this,WebSocket);return this.#A}get protocol(){he.brandCheck(this,WebSocket);return this.#p}get onopen(){he.brandCheck(this,WebSocket);return this.#d.open}set onopen(R){he.brandCheck(this,WebSocket);if(this.#d.open){this.removeEventListener("open",this.#d.open)}if(typeof R==="function"){this.#d.open=R;this.addEventListener("open",R)}else{this.#d.open=null}}get onerror(){he.brandCheck(this,WebSocket);return this.#d.error}set onerror(R){he.brandCheck(this,WebSocket);if(this.#d.error){this.removeEventListener("error",this.#d.error)}if(typeof R==="function"){this.#d.error=R;this.addEventListener("error",R)}else{this.#d.error=null}}get onclose(){he.brandCheck(this,WebSocket);return this.#d.close}set onclose(R){he.brandCheck(this,WebSocket);if(this.#d.close){this.removeEventListener("close",this.#d.close)}if(typeof R==="function"){this.#d.close=R;this.addEventListener("close",R)}else{this.#d.close=null}}get onmessage(){he.brandCheck(this,WebSocket);return this.#d.message}set onmessage(R){he.brandCheck(this,WebSocket);if(this.#d.message){this.removeEventListener("message",this.#d.message)}if(typeof R==="function"){this.#d.message=R;this.addEventListener("message",R)}else{this.#d.message=null}}get binaryType(){he.brandCheck(this,WebSocket);return this[Be]}set binaryType(R){he.brandCheck(this,WebSocket);if(R!=="blob"&&R!=="arraybuffer"){this[Be]="blob"}else{this[Be]=R}}#h(R){this[Se]=R;const pe=new Me(this);pe.on("drain",(function onParserDrain(){this.ws[Se].socket.resume()}));R.socket.ws=this;this[xe]=pe;this[Ie]=be.OPEN;const Ae=R.headersList.get("sec-websocket-extensions");if(Ae!==null){this.#A=Ae}const he=R.headersList.get("sec-websocket-protocol");if(he!==null){this.#p=he}Pe("open",this)}}WebSocket.CONNECTING=WebSocket.prototype.CONNECTING=be.CONNECTING;WebSocket.OPEN=WebSocket.prototype.OPEN=be.OPEN;WebSocket.CLOSING=WebSocket.prototype.CLOSING=be.CLOSING;WebSocket.CLOSED=WebSocket.prototype.CLOSED=be.CLOSED;Object.defineProperties(WebSocket.prototype,{CONNECTING:ve,OPEN:ve,CLOSING:ve,CLOSED:ve,url:Fe,readyState:Fe,bufferedAmount:Fe,onopen:Fe,onerror:Fe,onclose:Fe,close:Fe,onmessage:Fe,binaryType:Fe,send:Fe,extensions:Fe,protocol:Fe,[Symbol.toStringTag]:{value:"WebSocket",writable:false,enumerable:false,configurable:true}});Object.defineProperties(WebSocket,{CONNECTING:ve,OPEN:ve,CLOSING:ve,CLOSED:ve});he.converters["sequence"]=he.sequenceConverter(he.converters.DOMString);he.converters["DOMString or sequence"]=function(R){if(he.util.Type(R)==="Object"&&Symbol.iterator in R){return he.converters["sequence"](R)}return he.converters.DOMString(R)};he.converters.WebSocketInit=he.dictionaryConverter([{key:"protocols",converter:he.converters["DOMString or sequence"],get defaultValue(){return[]}},{key:"dispatcher",converter:R=>R,get defaultValue(){return Le()}},{key:"headers",converter:he.nullableConverter(he.converters.HeadersInit)}]);he.converters["DOMString or sequence or WebSocketInit"]=function(R){if(he.util.Type(R)==="Object"&&!(Symbol.iterator in R)){return he.converters.WebSocketInit(R)}return{protocols:he.converters["DOMString or sequence"](R)}};he.converters.WebSocketSendData=function(R){if(he.util.Type(R)==="Object"){if(je(R)){return he.converters.Blob(R,{strict:false})}if(ArrayBuffer.isView(R)||Ue.isAnyArrayBuffer(R)){return he.converters.BufferSource(R)}}return he.converters.USVString(R)};R.exports={WebSocket:WebSocket}},75840:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});Object.defineProperty(pe,"NIL",{enumerable:true,get:function(){return ve.default}});Object.defineProperty(pe,"parse",{enumerable:true,get:function(){return we.default}});Object.defineProperty(pe,"stringify",{enumerable:true,get:function(){return Ce.default}});Object.defineProperty(pe,"v1",{enumerable:true,get:function(){return he.default}});Object.defineProperty(pe,"v3",{enumerable:true,get:function(){return ge.default}});Object.defineProperty(pe,"v4",{enumerable:true,get:function(){return me.default}});Object.defineProperty(pe,"v5",{enumerable:true,get:function(){return ye.default}});Object.defineProperty(pe,"validate",{enumerable:true,get:function(){return Ee.default}});Object.defineProperty(pe,"version",{enumerable:true,get:function(){return be.default}});var he=_interopRequireDefault(Ae(78628));var ge=_interopRequireDefault(Ae(86409));var me=_interopRequireDefault(Ae(85122));var ye=_interopRequireDefault(Ae(79120));var ve=_interopRequireDefault(Ae(25332));var be=_interopRequireDefault(Ae(32414));var Ee=_interopRequireDefault(Ae(66900));var Ce=_interopRequireDefault(Ae(18950));var we=_interopRequireDefault(Ae(62746));function _interopRequireDefault(R){return R&&R.__esModule?R:{default:R}}},4569:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe["default"]=void 0;var he=_interopRequireDefault(Ae(6113));function _interopRequireDefault(R){return R&&R.__esModule?R:{default:R}}function md5(R){if(Array.isArray(R)){R=Buffer.from(R)}else if(typeof R==="string"){R=Buffer.from(R,"utf8")}return he.default.createHash("md5").update(R).digest()}var ge=md5;pe["default"]=ge},82054:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe["default"]=void 0;var he=_interopRequireDefault(Ae(6113));function _interopRequireDefault(R){return R&&R.__esModule?R:{default:R}}var ge={randomUUID:he.default.randomUUID};pe["default"]=ge},25332:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe["default"]=void 0;var Ae="00000000-0000-0000-0000-000000000000";pe["default"]=Ae},62746:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe["default"]=void 0;var he=_interopRequireDefault(Ae(66900));function _interopRequireDefault(R){return R&&R.__esModule?R:{default:R}}function parse(R){if(!(0,he.default)(R)){throw TypeError("Invalid UUID")}let pe;const Ae=new Uint8Array(16);Ae[0]=(pe=parseInt(R.slice(0,8),16))>>>24;Ae[1]=pe>>>16&255;Ae[2]=pe>>>8&255;Ae[3]=pe&255;Ae[4]=(pe=parseInt(R.slice(9,13),16))>>>8;Ae[5]=pe&255;Ae[6]=(pe=parseInt(R.slice(14,18),16))>>>8;Ae[7]=pe&255;Ae[8]=(pe=parseInt(R.slice(19,23),16))>>>8;Ae[9]=pe&255;Ae[10]=(pe=parseInt(R.slice(24,36),16))/1099511627776&255;Ae[11]=pe/4294967296&255;Ae[12]=pe>>>24&255;Ae[13]=pe>>>16&255;Ae[14]=pe>>>8&255;Ae[15]=pe&255;return Ae}var ge=parse;pe["default"]=ge},40814:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe["default"]=void 0;var Ae=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;pe["default"]=Ae},50807:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe["default"]=rng;var he=_interopRequireDefault(Ae(6113));function _interopRequireDefault(R){return R&&R.__esModule?R:{default:R}}const ge=new Uint8Array(256);let me=ge.length;function rng(){if(me>ge.length-16){he.default.randomFillSync(ge);me=0}return ge.slice(me,me+=16)}},85274:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe["default"]=void 0;var he=_interopRequireDefault(Ae(6113));function _interopRequireDefault(R){return R&&R.__esModule?R:{default:R}}function sha1(R){if(Array.isArray(R)){R=Buffer.from(R)}else if(typeof R==="string"){R=Buffer.from(R,"utf8")}return he.default.createHash("sha1").update(R).digest()}var ge=sha1;pe["default"]=ge},18950:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe["default"]=void 0;pe.unsafeStringify=unsafeStringify;var he=_interopRequireDefault(Ae(66900));function _interopRequireDefault(R){return R&&R.__esModule?R:{default:R}}const ge=[];for(let R=0;R<256;++R){ge.push((R+256).toString(16).slice(1))}function unsafeStringify(R,pe=0){return ge[R[pe+0]]+ge[R[pe+1]]+ge[R[pe+2]]+ge[R[pe+3]]+"-"+ge[R[pe+4]]+ge[R[pe+5]]+"-"+ge[R[pe+6]]+ge[R[pe+7]]+"-"+ge[R[pe+8]]+ge[R[pe+9]]+"-"+ge[R[pe+10]]+ge[R[pe+11]]+ge[R[pe+12]]+ge[R[pe+13]]+ge[R[pe+14]]+ge[R[pe+15]]}function stringify(R,pe=0){const Ae=unsafeStringify(R,pe);if(!(0,he.default)(Ae)){throw TypeError("Stringified UUID is invalid")}return Ae}var me=stringify;pe["default"]=me},78628:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe["default"]=void 0;var he=_interopRequireDefault(Ae(50807));var ge=Ae(18950);function _interopRequireDefault(R){return R&&R.__esModule?R:{default:R}}let me;let ye;let ve=0;let be=0;function v1(R,pe,Ae){let Ee=pe&&Ae||0;const Ce=pe||new Array(16);R=R||{};let we=R.node||me;let Ie=R.clockseq!==undefined?R.clockseq:ye;if(we==null||Ie==null){const pe=R.random||(R.rng||he.default)();if(we==null){we=me=[pe[0]|1,pe[1],pe[2],pe[3],pe[4],pe[5]]}if(Ie==null){Ie=ye=(pe[6]<<8|pe[7])&16383}}let _e=R.msecs!==undefined?R.msecs:Date.now();let Be=R.nsecs!==undefined?R.nsecs:be+1;const Se=_e-ve+(Be-be)/1e4;if(Se<0&&R.clockseq===undefined){Ie=Ie+1&16383}if((Se<0||_e>ve)&&R.nsecs===undefined){Be=0}if(Be>=1e4){throw new Error("uuid.v1(): Can't create more than 10M uuids/sec")}ve=_e;be=Be;ye=Ie;_e+=122192928e5;const Qe=((_e&268435455)*1e4+Be)%4294967296;Ce[Ee++]=Qe>>>24&255;Ce[Ee++]=Qe>>>16&255;Ce[Ee++]=Qe>>>8&255;Ce[Ee++]=Qe&255;const xe=_e/4294967296*1e4&268435455;Ce[Ee++]=xe>>>8&255;Ce[Ee++]=xe&255;Ce[Ee++]=xe>>>24&15|16;Ce[Ee++]=xe>>>16&255;Ce[Ee++]=Ie>>>8|128;Ce[Ee++]=Ie&255;for(let R=0;R<6;++R){Ce[Ee+R]=we[R]}return pe||(0,ge.unsafeStringify)(Ce)}var Ee=v1;pe["default"]=Ee},86409:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe["default"]=void 0;var he=_interopRequireDefault(Ae(65998));var ge=_interopRequireDefault(Ae(4569));function _interopRequireDefault(R){return R&&R.__esModule?R:{default:R}}const me=(0,he.default)("v3",48,ge.default);var ye=me;pe["default"]=ye},65998:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.URL=pe.DNS=void 0;pe["default"]=v35;var he=Ae(18950);var ge=_interopRequireDefault(Ae(62746));function _interopRequireDefault(R){return R&&R.__esModule?R:{default:R}}function stringToBytes(R){R=unescape(encodeURIComponent(R));const pe=[];for(let Ae=0;Ae{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe["default"]=void 0;var he=_interopRequireDefault(Ae(82054));var ge=_interopRequireDefault(Ae(50807));var me=Ae(18950);function _interopRequireDefault(R){return R&&R.__esModule?R:{default:R}}function v4(R,pe,Ae){if(he.default.randomUUID&&!pe&&!R){return he.default.randomUUID()}R=R||{};const ye=R.random||(R.rng||ge.default)();ye[6]=ye[6]&15|64;ye[8]=ye[8]&63|128;if(pe){Ae=Ae||0;for(let R=0;R<16;++R){pe[Ae+R]=ye[R]}return pe}return(0,me.unsafeStringify)(ye)}var ye=v4;pe["default"]=ye},79120:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe["default"]=void 0;var he=_interopRequireDefault(Ae(65998));var ge=_interopRequireDefault(Ae(85274));function _interopRequireDefault(R){return R&&R.__esModule?R:{default:R}}const me=(0,he.default)("v5",80,ge.default);var ye=me;pe["default"]=ye},66900:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe["default"]=void 0;var he=_interopRequireDefault(Ae(40814));function _interopRequireDefault(R){return R&&R.__esModule?R:{default:R}}function validate(R){return typeof R==="string"&&he.default.test(R)}var ge=validate;pe["default"]=ge},32414:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe["default"]=void 0;var he=_interopRequireDefault(Ae(66900));function _interopRequireDefault(R){return R&&R.__esModule?R:{default:R}}function version(R){if(!(0,he.default)(R)){throw TypeError("Invalid UUID")}return parseInt(R.slice(14,15),16)}var ge=version;pe["default"]=ge},59824:(R,pe,Ae)=>{"use strict";const he=Ae(42577);const ge=Ae(45591);const me=Ae(52068);const ye=new Set(["","›"]);const ve=39;const be="";const Ee="[";const Ce="]";const we="m";const Ie=`${Ce}8;;`;const wrapAnsi=R=>`${ye.values().next().value}${Ee}${R}${we}`;const wrapAnsiHyperlink=R=>`${ye.values().next().value}${Ie}${R}${be}`;const wordLengths=R=>R.split(" ").map((R=>he(R)));const wrapWord=(R,pe,Ae)=>{const me=[...pe];let ve=false;let Ee=false;let Ce=he(ge(R[R.length-1]));for(const[pe,ge]of me.entries()){const _e=he(ge);if(Ce+_e<=Ae){R[R.length-1]+=ge}else{R.push(ge);Ce=0}if(ye.has(ge)){ve=true;Ee=me.slice(pe+1).join("").startsWith(Ie)}if(ve){if(Ee){if(ge===be){ve=false;Ee=false}}else if(ge===we){ve=false}continue}Ce+=_e;if(Ce===Ae&&pe0&&R.length>1){R[R.length-2]+=R.pop()}};const stringVisibleTrimSpacesRight=R=>{const pe=R.split(" ");let Ae=pe.length;while(Ae>0){if(he(pe[Ae-1])>0){break}Ae--}if(Ae===pe.length){return R}return pe.slice(0,Ae).join(" ")+pe.slice(Ae).join("")};const exec=(R,pe,Ae={})=>{if(Ae.trim!==false&&R.trim()===""){return""}let ge="";let Ce;let we;const _e=wordLengths(R);let Be=[""];for(const[ge,me]of R.split(" ").entries()){if(Ae.trim!==false){Be[Be.length-1]=Be[Be.length-1].trimStart()}let R=he(Be[Be.length-1]);if(ge!==0){if(R>=pe&&(Ae.wordWrap===false||Ae.trim===false)){Be.push("");R=0}if(R>0||Ae.trim===false){Be[Be.length-1]+=" ";R++}}if(Ae.hard&&_e[ge]>pe){const Ae=pe-R;const he=1+Math.floor((_e[ge]-Ae-1)/pe);const ye=Math.floor((_e[ge]-1)/pe);if(yepe&&R>0&&_e[ge]>0){if(Ae.wordWrap===false&&Rpe&&Ae.wordWrap===false){wrapWord(Be,me,pe);continue}Be[Be.length-1]+=me}if(Ae.trim!==false){Be=Be.map(stringVisibleTrimSpacesRight)}const Se=[...Be.join("\n")];for(const[R,pe]of Se.entries()){ge+=pe;if(ye.has(pe)){const{groups:pe}=new RegExp(`(?:\\${Ee}(?\\d+)m|\\${Ie}(?.*)${be})`).exec(Se.slice(R).join(""))||{groups:{}};if(pe.code!==undefined){const R=Number.parseFloat(pe.code);Ce=R===ve?undefined:R}else if(pe.uri!==undefined){we=pe.uri.length===0?undefined:pe.uri}}const Ae=me.codes.get(Number(Ce));if(Se[R+1]==="\n"){if(we){ge+=wrapAnsiHyperlink("")}if(Ce&&Ae){ge+=wrapAnsi(Ae)}}else if(pe==="\n"){if(Ce&&Ae){ge+=wrapAnsi(Ce)}if(we){ge+=wrapAnsiHyperlink(we)}}}return ge};R.exports=(R,pe,Ae)=>String(R).normalize().replace(/\r\n/g,"\n").split("\n").map((R=>exec(R,pe,Ae))).join("\n")},89664:function(R,pe,Ae){"use strict";var he=this&&this.__createBinding||(Object.create?function(R,pe,Ae,he){if(he===undefined)he=Ae;var ge=Object.getOwnPropertyDescriptor(pe,Ae);if(!ge||("get"in ge?!pe.__esModule:ge.writable||ge.configurable)){ge={enumerable:true,get:function(){return pe[Ae]}}}Object.defineProperty(R,he,ge)}:function(R,pe,Ae,he){if(he===undefined)he=Ae;R[he]=pe[Ae]});var ge=this&&this.__setModuleDefault||(Object.create?function(R,pe){Object.defineProperty(R,"default",{enumerable:true,value:pe})}:function(R,pe){R["default"]=pe});var me=this&&this.__importStar||function(R){if(R&&R.__esModule)return R;var pe={};if(R!=null)for(var Ae in R)if(Ae!=="default"&&Object.prototype.hasOwnProperty.call(R,Ae))he(pe,R,Ae);ge(pe,R);return pe};Object.defineProperty(pe,"__esModule",{value:true});const ye=me(Ae(42186));const getOptions=()=>({json:ye.getInput("json"),neo4jUri:ye.getInput("neo4j-uri"),neo4jUser:ye.getInput("neo4j-user"),neo4jPassword:ye.getInput("neo4j-password")});pe["default"]=getOptions},44231:function(R,pe,Ae){"use strict";var he=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});const ge=he(Ae(23363));const operationSwitch=async R=>{try{return(0,ge.default)(R)}catch(R){console.error(R);throw new Error("Action does not support the options provided")}};pe["default"]=operationSwitch},23363:function(R,pe,Ae){"use strict";var he=this&&this.__createBinding||(Object.create?function(R,pe,Ae,he){if(he===undefined)he=Ae;var ge=Object.getOwnPropertyDescriptor(pe,Ae);if(!ge||("get"in ge?!pe.__esModule:ge.writable||ge.configurable)){ge={enumerable:true,get:function(){return pe[Ae]}}}Object.defineProperty(R,he,ge)}:function(R,pe,Ae,he){if(he===undefined)he=Ae;R[he]=pe[Ae]});var ge=this&&this.__setModuleDefault||(Object.create?function(R,pe){Object.defineProperty(R,"default",{enumerable:true,value:pe})}:function(R,pe){R["default"]=pe});var me=this&&this.__importStar||function(R){if(R&&R.__esModule)return R;var pe={};if(R!=null)for(var Ae in R)if(Ae!=="default"&&Object.prototype.hasOwnProperty.call(R,Ae))he(pe,R,Ae);ge(pe,R);return pe};Object.defineProperty(pe,"__esModule",{value:true});const ye=me(Ae(91726));const operations=async R=>{if(R.neo4jUri){return ye.run(R)}};pe["default"]=operations},91726:function(R,pe,Ae){"use strict";var he=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});pe.run=void 0;const ge=he(Ae(42934));const me=he(Ae(42801));const ye=he(Ae(3426));const run=async R=>{const pe=ge.default.driver(R.neo4jUri,ge.default.auth.basic(R.neo4jUser,R.neo4jPassword));const Ae=pe.session();const he=JSON.parse(R.json);const ve=await me.default.fromDocument(he);const{query:be,params:Ee}=await ye.default.fromJsonGraph(ve);await Ae.run(be,Ee);await Ae.close();await pe.close();return{query:be,params:Ee}};pe.run=run},277:function(R,pe,Ae){"use strict";var he=this&&this.__createBinding||(Object.create?function(R,pe,Ae,he){if(he===undefined)he=Ae;var ge=Object.getOwnPropertyDescriptor(pe,Ae);if(!ge||("get"in ge?!pe.__esModule:ge.writable||ge.configurable)){ge={enumerable:true,get:function(){return pe[Ae]}}}Object.defineProperty(R,he,ge)}:function(R,pe,Ae,he){if(he===undefined)he=Ae;R[he]=pe[Ae]});var ge=this&&this.__setModuleDefault||(Object.create?function(R,pe){Object.defineProperty(R,"default",{enumerable:true,value:pe})}:function(R,pe){R["default"]=pe});var me=this&&this.__importStar||function(R){if(R&&R.__esModule)return R;var pe={};if(R!=null)for(var Ae in R)if(Ae!=="default"&&Object.prototype.hasOwnProperty.call(R,Ae))he(pe,R,Ae);ge(pe,R);return pe};var ye=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});const ve=me(Ae(42186));const be=ye(Ae(89664));const Ee=ye(Ae(44231));const Ce=ye(Ae(55038));async function run(){try{if(process.env.GITHUB_ACTION){const R=(0,be.default)();await(0,Ee.default)(R)}else{await Ce.default.init()}}catch(R){ve.setFailed(R.message)}}run()},3426:function(R,pe,Ae){"use strict";var he=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});const ge=he(Ae(99623));const setParam=(R,pe)=>{const Ae=Object.keys(pe).length;pe[Ae]=R;const he="$"+Ae.toString();if((0,ge.default)(R,ge.default.ISO_8601).isValid()){return`datetime(${he})`}return he};const setProperties=(R,pe,Ae)=>{let he="";if(Object.keys(pe).length>1){const{id:ge,labels:me,target:ye,source:ve,...be}=pe;const Ee=Object.keys(be);const Ce=[];for(const pe in Ee){const he=Ee[pe];const ge=be[Ee[pe]];Ce.push(` SET ${R}.\`${he}\`=${setParam(ge,Ae)}`)}he=Ce.join("\n")+"\n"}return he};const addNodes=(R,pe,Ae)=>{const he={};const ge=Object.values(R.nodes);for(const R in ge){const me=ge[R];const{id:ye,labels:ve}=me;he[ye]=`n${R}`;const be=Array.isArray(ve)?ve.join("`:`"):ve;pe+=`MERGE (n${R}:\`${be}\`{id:${setParam(ye,Ae)}}) \n`;pe+=setProperties(`n${R}`,me,Ae)}return{nodes:he,query:pe,params:Ae}};const addEdges=(R,pe,Ae,he)=>{for(const ge in R.edges){const me=R.edges[ge];const ye=pe[me.source];const ve=pe[me.target];const be=me.label;Ae+=`MERGE (${ye})-[e${ge}:\`${be}\`]->(${ve})\n`;Ae+=setProperties(`e${ge}`,me,he)}return Ae};const removeEmptyLines=R=>R.split("\n").filter((R=>R!=="")).join("\n");const fromJsonGraph=async R=>{const pe={};const Ae=addNodes(R,``,pe);Ae.query=addEdges(R,Ae.nodes,Ae.query,pe);Ae.query+=`RETURN ${Object.values(Ae.nodes)}\n`;Ae.query=removeEmptyLines(Ae.query);Ae.query+="\n";Ae.params=pe;return Ae};const makeInjectionVulnerable=({query:R,params:pe})=>{for(const Ae of Object.keys(pe)){R=R.replace(`$${Ae}`,pe[Ae])}return R};const me={fromJsonGraph:fromJsonGraph,makeInjectionVulnerable:makeInjectionVulnerable};pe["default"]=me},82971:function(R,pe,Ae){"use strict";var he=this&&this.__createBinding||(Object.create?function(R,pe,Ae,he){if(he===undefined)he=Ae;var ge=Object.getOwnPropertyDescriptor(pe,Ae);if(!ge||("get"in ge?!pe.__esModule:ge.writable||ge.configurable)){ge={enumerable:true,get:function(){return pe[Ae]}}}Object.defineProperty(R,he,ge)}:function(R,pe,Ae,he){if(he===undefined)he=Ae;R[he]=pe[Ae]});var ge=this&&this.__setModuleDefault||(Object.create?function(R,pe){Object.defineProperty(R,"default",{enumerable:true,value:pe})}:function(R,pe){R["default"]=pe});var me=this&&this.__importStar||function(R){if(R&&R.__esModule)return R;var pe={};if(R!=null)for(var Ae in R)if(Ae!=="default"&&Object.prototype.hasOwnProperty.call(R,Ae))he(pe,R,Ae);ge(pe,R);return pe};Object.defineProperty(pe,"__esModule",{value:true});const ye=me(Ae(34061));const signer=async R=>{const{alg:pe}=R;const Ae=await ye.importJWK(R);return{sign:async(R,he={})=>new ye.CompactSign(R).setProtectedHeader({alg:pe,...he}).sign(Ae)}};const verifier=async R=>{const{alg:pe}=R;const Ae=await ye.importJWK(R);return{alg:pe,verify:async R=>{const{protectedHeader:pe,payload:he}=await ye.compactVerify(R,Ae);return{protectedHeader:pe,payload:new Uint8Array(he)}}}};const ve={signer:signer,verifier:verifier};pe["default"]=ve},83683:function(R,pe,Ae){"use strict";var he=this&&this.__createBinding||(Object.create?function(R,pe,Ae,he){if(he===undefined)he=Ae;var ge=Object.getOwnPropertyDescriptor(pe,Ae);if(!ge||("get"in ge?!pe.__esModule:ge.writable||ge.configurable)){ge={enumerable:true,get:function(){return pe[Ae]}}}Object.defineProperty(R,he,ge)}:function(R,pe,Ae,he){if(he===undefined)he=Ae;R[he]=pe[Ae]});var ge=this&&this.__setModuleDefault||(Object.create?function(R,pe){Object.defineProperty(R,"default",{enumerable:true,value:pe})}:function(R,pe){R["default"]=pe});var me=this&&this.__importStar||function(R){if(R&&R.__esModule)return R;var pe={};if(R!=null)for(var Ae in R)if(Ae!=="default"&&Object.prototype.hasOwnProperty.call(R,Ae))he(pe,R,Ae);ge(pe,R);return pe};Object.defineProperty(pe,"__esModule",{value:true});const ye=me(Ae(34061));const ve={b64:false,crit:["b64"]};const signer=async R=>{const{alg:pe}=R;const Ae=await ye.importJWK(R);return{sign:async(R,he={})=>new ye.FlattenedSign(R).setProtectedHeader({alg:pe,...he,...ve}).sign(Ae)}};const verifier=async R=>{const{alg:pe}=R;const Ae=await ye.importJWK(R);return{alg:pe,verify:async R=>{const{protectedHeader:pe,payload:he}=await ye.flattenedVerify(R,Ae);return{protectedHeader:pe,payload:he}}}};const be={signer:signer,verifier:verifier};pe["default"]=be},10671:function(R,pe,Ae){"use strict";var he=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});const ge=he(Ae(6113));const me=Ae(34061);const ye=new Uint8Array(32);ye[0]=1;ye[31]=1;const key=()=>ge.default.webcrypto.getRandomValues(new Uint8Array(32));const ve={HS256:"sha256"};const signer=async R=>{const pe="HS256";const Ae=ve[pe];if(!Ae){throw new Error("Unsupoorted HMAC")}return{export:(Ae="#hmac")=>{const he={kid:Ae,kty:"oct",alg:pe,use:"sig",key_ops:["sign"],k:me.base64url.encode(R)};return he},sign:async pe=>{const he=ge.default.createHmac(Ae,R);return new Uint8Array(he.update(pe).digest())}}};const be={key:key,signer:signer,testKey:ye};pe["default"]=be},13111:function(R,pe,Ae){"use strict";var he=this&&this.__createBinding||(Object.create?function(R,pe,Ae,he){if(he===undefined)he=Ae;var ge=Object.getOwnPropertyDescriptor(pe,Ae);if(!ge||("get"in ge?!pe.__esModule:ge.writable||ge.configurable)){ge={enumerable:true,get:function(){return pe[Ae]}}}Object.defineProperty(R,he,ge)}:function(R,pe,Ae,he){if(he===undefined)he=Ae;R[he]=pe[Ae]});var ge=this&&this.__setModuleDefault||(Object.create?function(R,pe){Object.defineProperty(R,"default",{enumerable:true,value:pe})}:function(R,pe){R["default"]=pe});var me=this&&this.__importStar||function(R){if(R&&R.__esModule)return R;var pe={};if(R!=null)for(var Ae in R)if(Ae!=="default"&&Object.prototype.hasOwnProperty.call(R,Ae))he(pe,R,Ae);ge(pe,R);return pe};var ye=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});const ve=me(Ae(34061));const be=ye(Ae(82971));const Ee=ye(Ae(83683));const generate=async({crv:R,alg:pe},Ae=true)=>{if(pe==="ECDH-ES+A128KW"&&R===undefined){R="P-384"}if(pe==="HPKE-B0"){throw new Error("HPKE is not supported.")}const{publicKey:he,privateKey:ge}=await ve.generateKeyPair(pe,{extractable:Ae,crv:R});const me=await ve.exportJWK(he);const ye=await ve.exportJWK(ge);ye.alg=pe;ye.kid=await ve.calculateJwkThumbprintUri(me);return formatJwk(ye)};const formatJwk=R=>{const{kid:pe,x5u:Ae,x5c:he,x5t:ge,kty:me,crv:ye,alg:ve,use:be,key_ops:Ee,x:Ce,y:we,d:Ie,..._e}=R;return JSON.parse(JSON.stringify({kid:pe,kty:me,crv:ye,alg:ve,use:be,key_ops:Ee,x:Ce,y:we,d:Ie,x5u:Ae,x5c:he,x5t:ge,..._e}))};const publicKeyToUri=async R=>ve.calculateJwkThumbprintUri(R);const publicFromPrivate=R=>{const{d:pe,p:Ae,q:he,dp:ge,dq:me,qi:ye,key_ops:ve,...be}=R;return be};const encryptToKey=async({publicKey:R,plaintext:pe})=>{const Ae=await new ve.FlattenedEncrypt(pe).setProtectedHeader({alg:R.alg,enc:"A256GCM"}).encrypt(await ve.importJWK(R));return Ae};const decryptWithKey=async({privateKey:R,ciphertext:pe})=>ve.flattenedDecrypt(pe,await ve.importJWK(R));const Ce={generate:generate,format:formatJwk,uri:{thumbprint:publicKeyToUri},publicFromPrivate:publicFromPrivate,detached:Ee.default,attached:be.default,recipient:{encrypt:encryptToKey,decrypt:decryptWithKey}};pe["default"]=Ce},75243:function(R,pe,Ae){"use strict";var he=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});const ge=he(Ae(90250));const getLabelFromIri=R=>ge.default.startCase(R.split("/").pop().split("#").pop());const me=["https://www.w3.org/2018/credentials#verifiableCredential"];const addLabelsFromEdge=(R,pe,Ae,he)=>{const ge=R.edges.filter((R=>R.label===Ae));ge.forEach((Ae=>{const ge=R.nodes[Ae[pe]];ge.labels=ge.labels.filter((R=>R!=="Node"));const me=Ae[he];ge.labels.push(me)}))};const removeRdfTypes=R=>{const pe=R.edges.filter((R=>R.label==="http://www.w3.org/1999/02/22-rdf-syntax-ns#type"));pe.forEach((pe=>{const Ae=R.nodes[pe.source];Ae.labels=Ae.labels.filter((R=>R!=="Node"));Ae.labels.push(pe.target);delete R.nodes[pe.target];const he=R.edges.findIndex((R=>JSON.stringify(R)===JSON.stringify(pe)));R.edges.splice(he,1)}))};const readableEdges=R=>{R.edges=R.edges.map((R=>({...R,label:getLabelFromIri(R.label),predicate:R.label})))};const addVCDMVocab=R=>{R.edges.forEach((pe=>{if(pe.label&&pe.label.startsWith("https://www.w3.org/2018/credentials")){if(!me.includes(pe.label)){addLabelsFromEdge(R,"target",pe.label,"label")}}if(pe.label&&pe.label.startsWith("https://www.w3.org/ns/credentials/examples")){if(!me.includes(pe.label)){addLabelsFromEdge(R,"target",pe.label,"label")}}if(pe.label&&pe.label.startsWith("https://w3id.org/security")){if(pe.target&&pe.target.startsWith("https://w3id.org/security")){addLabelsFromEdge(R,"target",pe.label,"target")}else{addLabelsFromEdge(R,"target",pe.label,"label")}}}))};const annotateGraph=R=>{addVCDMVocab(R);removeRdfTypes(R);readableEdges(R);return R};pe["default"]=annotateGraph},58648:function(R,pe,Ae){"use strict";var he=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});const ge=he(Ae(11171));const me=Ae(43);const ye=he(Ae(38419));const ve=["subject","predicate","object","graph"];const signBlankNodeComponents=async({quad:R,signer:pe})=>{const Ae=JSON.parse(JSON.stringify(R));for(const he of ve){if(R[he].termType==="BlankNode"){Ae[he].value=await pe.sign(R[he].value)}}return Ae};const canonize=async({signer:R,labels:pe,document:Ae,documentLoader:he})=>{if(!(Ae&&typeof Ae==="object")){throw new TypeError('"document" must be an object.')}const ve=await ge.default.canonize(Ae,{algorithm:"URDNA2015",format:"application/n-quads",documentLoader:he,safe:false});const be=ve.split("\n").sort().join("\n");const Ee=await(0,ye.default)({labels:pe,signer:R});const Ce=await Promise.all(me.NQuads.parse(be).map((R=>signBlankNodeComponents({quad:R,signer:Ee}))));return Ce.sort()};pe["default"]=canonize},90633:function(R,pe,Ae){"use strict";var he=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});const ge=he(Ae(47707));pe["default"]=ge.default},10509:function(R,pe,Ae){"use strict";var he=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});const ge=he(Ae(90633));const documentLoader=async R=>{if(ge.default[R]){return{document:ge.default[R]}}throw new Error("Unsupported iri: "+R)};pe["default"]=documentLoader},13330:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});const Ae={"@vocab":"https://www.iana.org/assignments/jose#"};pe["default"]=Ae},42801:function(R,pe,Ae){"use strict";var he=this&&this.__createBinding||(Object.create?function(R,pe,Ae,he){if(he===undefined)he=Ae;var ge=Object.getOwnPropertyDescriptor(pe,Ae);if(!ge||("get"in ge?!pe.__esModule:ge.writable||ge.configurable)){ge={enumerable:true,get:function(){return pe[Ae]}}}Object.defineProperty(R,he,ge)}:function(R,pe,Ae,he){if(he===undefined)he=Ae;R[he]=pe[Ae]});var ge=this&&this.__setModuleDefault||(Object.create?function(R,pe){Object.defineProperty(R,"default",{enumerable:true,value:pe})}:function(R,pe){R["default"]=pe});var me=this&&this.__importStar||function(R){if(R&&R.__esModule)return R;var pe={};if(R!=null)for(var Ae in R)if(Ae!=="default"&&Object.prototype.hasOwnProperty.call(R,Ae))he(pe,R,Ae);ge(pe,R);return pe};var ye=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});const ve=me(Ae(34061));const be=ye(Ae(58648));const Ee=ye(Ae(10671));const Ce=ye(Ae(10509));const we=Ae(18171);const Ie=ye(Ae(75243));const _e=ye(Ae(13330));const addGraphNode=({graph:R,id:pe})=>{R.nodes[pe]={...R.nodes[pe]||{id:pe,labels:["Node"]}}};const addGraphNodeProperty=(R,pe,Ae,he)=>{R.nodes[pe]={...R.nodes[pe],[Ae]:he}};const addGraphEdge=({graph:R,source:pe,label:Ae,target:he})=>{R.edges.push(JSON.parse(JSON.stringify({source:pe,label:Ae,target:he})))};const updateGraph=(R,pe)=>{addGraphNode({graph:R,id:pe.subject.value});if(!pe.object.datatype){addGraphNode({graph:R,id:pe.object.value});addGraphEdge({graph:R,source:pe.subject.value,label:pe.predicate.value,target:pe.object.value})}else{addGraphNodeProperty(R,pe.subject.value,pe.predicate.value,pe.object.value)}};const fromNQuads=R=>{const pe={nodes:{},edges:[]};R.forEach((R=>{updateGraph(pe,R)}));return pe};const fromJsonLd=async({document:R,signer:pe})=>{const Ae=await(0,be.default)({signer:pe,document:R,documentLoader:Ce.default});return fromNQuads(Ae)};const fromCredential=async R=>{const{proof:pe,...Ae}=R;const he=Ee.default.key();const ge=await Ee.default.signer(he);const me=await fromJsonLd({document:Ae,signer:ge});if(pe!==undefined){const R=Array.isArray(pe)?pe:[pe];await Promise.all(R.map((async R=>{const pe=Ee.default.key();const he=await Ee.default.signer(pe);const ge=await fromJsonLd({document:{"@context":Ae["@context"],...R},signer:he});const ye=Object.keys(me.nodes)[0];const ve=Object.keys(ge.nodes)[0];me.nodes={...me.nodes,...ge.nodes};me.edges=[...me.edges,{source:ve,label:"https://w3id.org/security#proof",target:ye},...ge.edges]})))}return me};const fromPresentation=async R=>{const{proof:pe,verifiableCredential:Ae,...he}=R;const ge=Ee.default.key();const me=await Ee.default.signer(ge);const ye=await fromJsonLd({document:he,signer:me});if(Ae!==undefined){const R=Array.isArray(Ae)?Ae:[Ae];const pe=ye.edges.find((R=>R.target==="https://www.w3.org/2018/credentials#VerifiablePresentation"));await Promise.all(R.map((async R=>{const Ae=Array.isArray(R.type)?R.type:[R.type];let he=undefined;if(Ae.includes("EnvelopedVerifiableCredential")){if(R.id&&R.id.startsWith("data:application/vc+ld+json+sd-jwt;")){const pe=R.id.replace("data:application/vc+ld+json+sd-jwt;","");const Ae=ve.decodeJwt(pe);he=await fromCredential(Ae)}if(R.id&&R.id.startsWith("data:application/vc+ld+json+jwt;")){const pe=R.id.replace("data:application/vc+ld+json+jwt;","");const Ae=ve.decodeJwt(pe);he=await fromCredential(Ae)}}else{he=await fromCredential(R)}const ge=he.edges.find((R=>R.target==="https://www.w3.org/2018/credentials#VerifiableCredential"));const me=pe.source;const be=ge.source;ye.nodes={...ye.nodes,...he.nodes};ye.edges=[...ye.edges,{source:me,label:"https://www.w3.org/2018/credentials#verifiableCredential",target:be},...he.edges]})))}if(pe!==undefined){const Ae=Array.isArray(pe)?pe:[pe];await Promise.all(Ae.map((async pe=>{const Ae=Ee.default.key();const he=await Ee.default.signer(Ae);const ge=await fromJsonLd({document:{"@context":R["@context"],...pe},signer:he});const me=Object.keys(ye.nodes)[0];const ve=Object.keys(ge.nodes)[0];ye.nodes={...ye.nodes,...ge.nodes};ye.edges=[...ye.edges,{source:ve,label:"https://w3id.org/security#proof",target:me},...ge.edges]})))}return ye};const fromFlattendJws=async R=>{const pe=`${R.protected}.${R.payload}.${R.signature}`;const Ae=ve.decodeProtectedHeader(pe);const he=ve.decodeJwt(pe);const ge=Ee.default.key();const me=await Ee.default.signer(ge);const ye=await fromJsonLd({document:{"@context":_e.default,...Ae},signer:me});const be=await fromDocument(he);const Ce=Object.keys(ye.nodes)[0];const we=Object.keys(be.nodes)[0];be.nodes={...be.nodes,...ye.nodes};be.edges=[...be.edges,{source:Ce,label:"https://datatracker.ietf.org/doc/html/rfc7515#section-4",target:we},...ye.edges];return be};const fromDidDocument=async R=>{const{verificationMethod:pe,...Ae}=R;if(Ae["@context"]===undefined){Ae["@context"]=we.didCoreContext}const he=Ee.default.key();const ge=await Ee.default.signer(he);const me=await fromJsonLd({document:Ae,signer:ge});if(pe!==undefined){const R=Array.isArray(pe)?pe:[pe];await Promise.all(R.map((async R=>{const pe=Ee.default.key();const he=await Ee.default.signer(pe);const ge=await fromJsonLd({document:{"@context":Ae["@context"],...R},signer:he});const ye=Object.keys(me.nodes)[0];const ve=Object.keys(ge.nodes)[0];me.nodes={...me.nodes,...ge.nodes};me.edges=[...me.edges,{source:ve,label:"https://w3id.org/security#verificationMethod",target:ye},...ge.edges]})))}return me};const suspectDidDocument=R=>{if(R.id&&R.id.startsWith("did:")){return true}if(R["@context"]&&Array.isArray(R["@context"])&&R["@context"].includes("https://www.w3.org/ns/did/v1")){return true}if(R.verificationMethod||R.authentication||R.assertionMethod||R.keyAgreement){return true}return false};const fromDocument=async R=>{let pe;if(suspectDidDocument(R)){pe=await fromDidDocument(R)}else if(R.jwt||R.protected&&R.payload&&R.signature){let Ae=R;if(R.jwt){const[pe,he,ge]=R.jwt.split(".");Ae={protected:pe,payload:he,signature:ge}}pe=await fromFlattendJws(Ae)}else if((0,we.isVC)(R)){pe=await fromCredential(R)}else if((0,we.isVP)(R)){pe=await fromPresentation(R)}else{const Ae=Ee.default.key();const he=await Ee.default.signer(Ae);pe=await fromJsonLd({document:R,signer:he})}const Ae=(0,Ie.default)(pe);return Ae};const Be={fromNQuads:fromNQuads,fromDocument:fromDocument,fromCredential:fromCredential};pe["default"]=Be},38419:(R,pe,Ae)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});const he=Ae(34061);const ge=new TextEncoder;const remoteBlankNodeSigner=async({labels:R,signer:pe})=>R?{sign:async pe=>`_:${R.get(pe.slice(2))}`}:{sign:async R=>{const Ae=ge.encode(R.slice(2));const me=await pe.sign(Ae);return`_:u${he.base64url.encode(me)}`}};pe["default"]=remoteBlankNodeSigner},18171:(R,pe)=>{"use strict";Object.defineProperty(pe,"__esModule",{value:true});pe.didCoreContext=pe.isVP=pe.isVC=void 0;const Ae="VerifiableCredential";const he="VerifiablePresentation";const isVC=R=>R.type&&(R.type===Ae||R.type.includes(Ae));pe.isVC=isVC;const isVP=R=>R.type&&(R.type===he||R.type.includes(he));pe.isVP=isVP;pe.didCoreContext=["https://www.w3.org/ns/did/v1",{"@vocab":"https://www.iana.org/assignments/jose#",kid:"@id",iss:"@id",sub:"@id",jku:"@id",x5u:"@id"}]},37250:function(R,pe,Ae){"use strict";var he=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});const ge=he(Ae(67962));const me={ledgers:ge.default};pe["default"]=me},67962:function(R,pe,Ae){"use strict";var he=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});const ge=he(Ae(42538));const me={jsonFile:ge.default};pe["default"]=me},42538:function(R,pe,Ae){"use strict";var he=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});const ge=he(Ae(57147));const me=he(Ae(71017));const transparency_log=R=>{const pe={create:async()=>{try{const Ae=ge.default.readFileSync(me.default.resolve(process.cwd(),R)).toString();const he=JSON.parse(Ae);return pe}catch(Ae){const he={name:"scitt-ledger",version:"0.0.0",leaves:[]};ge.default.writeFileSync(me.default.resolve(process.cwd(),R),JSON.stringify(he,null,2));return pe}},append:async pe=>{const Ae=ge.default.readFileSync(me.default.resolve(process.cwd(),R)).toString();const he=JSON.parse(Ae);he.leaves.push(pe);const ye={id:he.leaves.length-1,leaf:pe};ge.default.writeFileSync(me.default.resolve(process.cwd(),R),JSON.stringify(he,null,2));return ye},getByIndex:async pe=>{const Ae=ge.default.readFileSync(me.default.resolve(process.cwd(),R)).toString();const he=JSON.parse(Ae);const ye=he.leaves[pe];return{id:he.leaves.indexOf(ye),leaf:ye}},getByValue:async pe=>{const Ae=ge.default.readFileSync(me.default.resolve(process.cwd(),R)).toString();const he=JSON.parse(Ae);const ye=he.leaves.find((R=>R===pe));if(ye===undefined){return undefined}return{id:he.leaves.indexOf(ye),leaf:ye}},allLogEntries:async()=>{const pe=ge.default.readFileSync(me.default.resolve(process.cwd(),R)).toString();const Ae=JSON.parse(pe);const he=Ae.leaves.map(((R,pe)=>({id:pe,leaf:R})));return he},allLeaves:async()=>{const pe=ge.default.readFileSync(me.default.resolve(process.cwd(),R)).toString();const Ae=JSON.parse(pe);return Ae.leaves}};return pe};pe["default"]=transparency_log},29746:function(R,pe,Ae){"use strict";var he=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});const ge=he(Ae(57147));const me=he(Ae(71017));const ye=he(Ae(88844));const diagnose=async R=>{const{input:pe,output:Ae}=R;const he=ge.default.readFileSync(me.default.resolve(process.cwd(),pe));const ve=await ye.default.cbor.diagnose(he);if(Ae){ge.default.writeFileSync(me.default.resolve(process.cwd(),Ae),ve)}else{console.info(ve)}};pe["default"]=diagnose},76619:function(R,pe,Ae){"use strict";var he=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});const ge=he(Ae(29746));const me={diagnose:ge.default};pe["default"]=me},74473:function(R,pe,Ae){"use strict";var he=this&&this.__createBinding||(Object.create?function(R,pe,Ae,he){if(he===undefined)he=Ae;var ge=Object.getOwnPropertyDescriptor(pe,Ae);if(!ge||("get"in ge?!pe.__esModule:ge.writable||ge.configurable)){ge={enumerable:true,get:function(){return pe[Ae]}}}Object.defineProperty(R,he,ge)}:function(R,pe,Ae,he){if(he===undefined)he=Ae;R[he]=pe[Ae]});var ge=this&&this.__setModuleDefault||(Object.create?function(R,pe){Object.defineProperty(R,"default",{enumerable:true,value:pe})}:function(R,pe){R["default"]=pe});var me=this&&this.__importStar||function(R){if(R&&R.__esModule)return R;var pe={};if(R!=null)for(var Ae in R)if(Ae!=="default"&&Object.prototype.hasOwnProperty.call(R,Ae))he(pe,R,Ae);ge(pe,R);return pe};Object.defineProperty(pe,"__esModule",{value:true});const ye=me(Ae(43806));pe["default"]=ye},43806:function(R,pe,Ae){"use strict";var he=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});pe.builder=pe.handler=pe.describe=pe.command=void 0;const ge=he(Ae(76619));pe.command="cose ";pe.describe="cose operations";const me={diagnostic:ge.default};const handler=async function(R){const{resource:pe,action:Ae}=R;if(me[pe][Ae]){me[pe][Ae](R)}};pe.handler=handler;const builder=R=>R.positional("resource",{describe:"The cose resource",type:"string"}).positional("action",{describe:"The operation on the cose resource",type:"string"}).option("env",{alias:"e",description:"Relative path to .env",demandOption:false}).option("detached",{alias:"d",description:"Detached payload",default:true}).option("iss",{alias:"iss",description:"Issuer id"}).option("kid",{alias:"kid",description:"Key id"}).option("input",{alias:"i",description:"File path as input"}).option("output",{alias:"o",description:"File path as output"});pe.builder=builder},27137:function(R,pe,Ae){"use strict";var he=this&&this.__createBinding||(Object.create?function(R,pe,Ae,he){if(he===undefined)he=Ae;var ge=Object.getOwnPropertyDescriptor(pe,Ae);if(!ge||("get"in ge?!pe.__esModule:ge.writable||ge.configurable)){ge={enumerable:true,get:function(){return pe[Ae]}}}Object.defineProperty(R,he,ge)}:function(R,pe,Ae,he){if(he===undefined)he=Ae;R[he]=pe[Ae]});var ge=this&&this.__setModuleDefault||(Object.create?function(R,pe){Object.defineProperty(R,"default",{enumerable:true,value:pe})}:function(R,pe){R["default"]=pe});var me=this&&this.__importStar||function(R){if(R&&R.__esModule)return R;var pe={};if(R!=null)for(var Ae in R)if(Ae!=="default"&&Object.prototype.hasOwnProperty.call(R,Ae))he(pe,R,Ae);ge(pe,R);return pe};Object.defineProperty(pe,"__esModule",{value:true});const ye=me(Ae(84877));pe["default"]=ye},84877:function(R,pe,Ae){"use strict";var he=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});pe.handler=pe.builder=pe.describe=pe.command=pe.resources=void 0;const ge=he(Ae(53766));pe.resources={qrcode:ge.default};pe.command="digital-link ";pe.describe="digital-link operations";const builder=R=>R.positional("resource",{describe:"The digital-link resource",type:"string"}).positional("action",{describe:"The operation on the digital-link resource",type:"string"}).option("output",{alias:"o",description:"File path as output"}).option("env",{alias:"e",description:"Relative path to .env",demandOption:false}).option("issuer-key",{description:"Path to issuer private key (jwk)"}).option("issuer-kid",{description:"Identifier to use for issuer kid"}).option("holder-key",{description:"Path to holder private key (jwk)"}).option("holder-kid",{description:"Identifier to use for holder kid"}).option("did-resolver",{description:"Base URL of a digital-link did resolver api",default:"https://transmute.id/api"}).option("verifiable-credential",{description:"Path to a verifiable credential"}).option("verifiable-presentation",{description:"Path to a verifiable presentation"});pe.builder=builder;const handler=async function(R){const{resource:Ae,action:he}=R;if(pe.resources[Ae][he]){pe.resources[Ae][he](R)}};pe.handler=handler},68227:function(R,pe,Ae){"use strict";var he=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});const ge=he(Ae(66718));const create=async R=>{ge.default.generate(R.url)};pe["default"]=create},53766:function(R,pe,Ae){"use strict";var he=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});const ge=he(Ae(68227));const me={create:ge.default};pe["default"]=me},80365:function(R,pe,Ae){"use strict";var he=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});const ge=he(Ae(57147));const me=he(Ae(71017));const ye=he(Ae(42801));const ve=he(Ae(3426));const be=he(Ae(44231));const Ee=`application/vnd.transmute.graph+json`;const Ce=`application/vnd.transmute.cypher+json`;const we=`application/vnd.transmute.cypher`;const register=R=>{R.command("graph [action]","graph operations",{env:{alias:"e",description:"Relative path to .env"},accept:{alias:"a",description:"Acceptable content type"},input:{alias:"i",description:"File path as input"}},(async R=>{const{env:pe,accept:he,input:Ie,unsafe:_e}=R;if(pe){Ae(12437).config({path:pe});const R={json:ge.default.readFileSync(me.default.resolve(process.cwd(),Ie)).toString(),neo4jUri:process.env.NEO4J_URI||"",neo4jUser:process.env.NEO4J_USERNAME||"",neo4jPassword:process.env.NEO4J_PASSWORD||""};const he=await(0,be.default)(R);console.info(JSON.stringify(he,null,2))}else if(he&&Ie){if(he===Ee){const R=JSON.parse(ge.default.readFileSync(me.default.resolve(process.cwd(),Ie)).toString());const pe=await ye.default.fromDocument(R);console.info(JSON.stringify({graph:pe},null,2))}if(he===Ce){const R=JSON.parse(ge.default.readFileSync(me.default.resolve(process.cwd(),Ie)).toString());const pe=await ye.default.fromDocument(R);const{query:Ae,params:he}=await ve.default.fromJsonGraph(pe);console.info(JSON.stringify({query:Ae,params:he},null,2))}if(he===we){const R=JSON.parse(ge.default.readFileSync(me.default.resolve(process.cwd(),Ie)).toString());const pe=await ye.default.fromDocument(R);const{query:Ae,params:he}=await ve.default.fromJsonGraph(pe);if(!_e){console.info(JSON.stringify({query:Ae,params:he},null,2))}console.info(ve.default.makeInjectionVulnerable({query:Ae,params:he}))}}}))};const Ie={register:register};pe["default"]=Ie},55038:function(R,pe,Ae){"use strict";var he=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});const ge=he(Ae(18822));const me=he(Ae(63434));const ye=he(Ae(80365));const ve=he(Ae(58106));const be=he(Ae(74473));const Ee=he(Ae(70618));const Ce=he(Ae(27137));const init=()=>{ge.default.scriptName("✨");me.default.register(ge.default);ge.default.command(be.default);ge.default.command(Ee.default);ge.default.command(Ce.default);ye.default.register(ge.default);ge.default.command(ve.default);ge.default.help().alias("help","h").demandCommand().argv};const we={init:init};pe["default"]=we},63025:function(R,pe,Ae){"use strict";var he=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});const ge=he(Ae(57147));const me=he(Ae(71017));const ye=he(Ae(13111));const decryptWithKey=async({recipient:R,input:pe,output:Ae})=>{const he=JSON.parse(ge.default.readFileSync(me.default.resolve(process.cwd(),R)).toString());const ve=JSON.parse(ge.default.readFileSync(me.default.resolve(process.cwd(),pe)).toString());const be=await ye.default.recipient.decrypt({privateKey:he,ciphertext:ve});ge.default.writeFileSync(me.default.resolve(process.cwd(),Ae),be.plaintext)};pe["default"]=decryptWithKey},79744:function(R,pe,Ae){"use strict";var he=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});const ge=he(Ae(57147));const me=he(Ae(71017));const ye=he(Ae(13111));const encryptToKey=async({recipient:R,input:pe,output:Ae})=>{const he=JSON.parse(ge.default.readFileSync(me.default.resolve(process.cwd(),R)).toString());const ve=ge.default.readFileSync(me.default.resolve(process.cwd(),pe));const be=await ye.default.recipient.encrypt({publicKey:he,plaintext:ve});ge.default.writeFileSync(me.default.resolve(process.cwd(),Ae),JSON.stringify(be,null,2))};pe["default"]=encryptToKey},13986:function(R,pe,Ae){"use strict";var he=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});const ge=he(Ae(57147));const me=he(Ae(71017));const ye=he(Ae(13111));const exportKey=({input:R,output:pe})=>{const Ae=JSON.parse(ge.default.readFileSync(me.default.resolve(process.cwd(),R)).toString());const he=JSON.stringify(ye.default.publicFromPrivate(Ae),null,2);const ve=me.default.resolve(process.cwd(),pe);ge.default.writeFileSync(ve,he)};pe["default"]=exportKey},73258:function(R,pe,Ae){"use strict";var he=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});const ge=he(Ae(57147));const me=he(Ae(71017));const ye=he(Ae(13111));const generateKey=async({crv:R,alg:pe,output:Ae})=>{const he=await ye.default.generate({crv:R,alg:pe});const ve=JSON.stringify(he,null,2);const be=me.default.resolve(process.cwd(),Ae);ge.default.writeFileSync(be,ve)};pe["default"]=generateKey},63434:function(R,pe,Ae){"use strict";var he=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});const ge=he(Ae(73258));const me=he(Ae(13986));const ye=he(Ae(79744));const ve=he(Ae(63025));const be=he(Ae(76503));const Ee=he(Ae(41934));const Ce={generate:ge.default,export:me.default,encrypt:ye.default,decrypt:ve.default,sign:be.default,verify:Ee.default};const register=R=>{R.command("key [action]","key operations",{crv:{alias:"crv",description:"See https://www.iana.org/assignments/jose#web-key-elliptic-curve"},alg:{alias:"alg",description:"See https://www.iana.org/assignments/jose#web-signature-encryption-algorithms"},output:{alias:"o",description:"Path to output"}},(async R=>{const{action:pe}=R;if(Ce[pe]){await Ce[pe](R)}}))};const we={register:register};pe["default"]=we},76503:function(R,pe,Ae){"use strict";var he=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});const ge=he(Ae(57147));const me=he(Ae(71017));const ye=he(Ae(29994));const ve=he(Ae(13111));const signWithKey=async({issuerKey:R,input:pe,output:Ae})=>{const he=JSON.parse(ge.default.readFileSync(me.default.resolve(process.cwd(),R)).toString());const be=ge.default.readFileSync(me.default.resolve(process.cwd(),pe));const Ee=ye.default.getType(me.default.resolve(process.cwd(),pe));const Ce=await ve.default.detached.signer(he);const we=await Ce.sign(be,{cty:Ee});ge.default.writeFileSync(me.default.resolve(process.cwd(),Ae),JSON.stringify({protected:we.protected,signature:we.signature},null,2))};pe["default"]=signWithKey},41934:function(R,pe,Ae){"use strict";var he=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});const ge=he(Ae(57147));const me=he(Ae(71017));const ye=he(Ae(13111));const verifyWithKey=async({verifierKey:R,input:pe,signature:Ae,output:he})=>{const ve=JSON.parse(ge.default.readFileSync(me.default.resolve(process.cwd(),R)).toString());const be=ge.default.readFileSync(me.default.resolve(process.cwd(),pe));const Ee=JSON.parse(ge.default.readFileSync(me.default.resolve(process.cwd(),Ae)).toString());const Ce=await ye.default.detached.verifier(ve);const{protectedHeader:we}=await Ce.verify({...Ee,payload:be});ge.default.writeFileSync(me.default.resolve(process.cwd(),he),JSON.stringify({verified:true,protectedHeader:we},null,2))};pe["default"]=verifyWithKey},58106:function(R,pe,Ae){"use strict";var he=this&&this.__createBinding||(Object.create?function(R,pe,Ae,he){if(he===undefined)he=Ae;var ge=Object.getOwnPropertyDescriptor(pe,Ae);if(!ge||("get"in ge?!pe.__esModule:ge.writable||ge.configurable)){ge={enumerable:true,get:function(){return pe[Ae]}}}Object.defineProperty(R,he,ge)}:function(R,pe,Ae,he){if(he===undefined)he=Ae;R[he]=pe[Ae]});var ge=this&&this.__setModuleDefault||(Object.create?function(R,pe){Object.defineProperty(R,"default",{enumerable:true,value:pe})}:function(R,pe){R["default"]=pe});var me=this&&this.__importStar||function(R){if(R&&R.__esModule)return R;var pe={};if(R!=null)for(var Ae in R)if(Ae!=="default"&&Object.prototype.hasOwnProperty.call(R,Ae))he(pe,R,Ae);ge(pe,R);return pe};Object.defineProperty(pe,"__esModule",{value:true});const ye=me(Ae(48680));pe["default"]=ye},48680:function(R,pe,Ae){"use strict";var he=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});pe.handler=pe.builder=pe.describe=pe.command=void 0;const ge=he(Ae(73772));const me=he(Ae(44231));pe.command="platform ";pe.describe="platform operations";const builder=R=>R.positional("resource",{describe:"The platform resource",type:"string"}).positional("action",{describe:"The operation on the platform resource",type:"string"}).option("env",{alias:"e",description:"Relative path to .env",demandOption:true}).option("input",{alias:"i",description:"File path as input"}).option("output",{alias:"o",description:"File path as output"}).option("sent",{description:"Filter to only sent items"}).option("received",{description:"Filter to only received items"}).option("push-neo4j",{description:"Push to Neo4j"});pe.builder=builder;const ye={presentations:{list:async R=>{const{api:pe,received:Ae,sent:he,pushNeo4j:ge}=R;const ye={items:[]};if(Ae){const R=await pe.presentations.getPresentationsSharedWithMe();const Ae=R.data;if(R.data){ye.page=Ae.page;ye.count=Ae.count;ye.items=[...ye.items,...Ae.items.map((R=>R.verifiablePresentation))]}}if(he){const R=await pe.presentations.getPresentationsSharedWithOthers();const he=R.data;if(R.data){ye.page=he.page;ye.count=he.count;ye.items=[...ye.items,...he.items.map((R=>R.verifiablePresentation))]}if(Ae){delete ye.page;delete ye.count}}if(!ge){console.info(JSON.stringify(ye,null,2))}else{const R=ye.items;for(const pe of R){try{const R={json:JSON.stringify({jwt:pe}),neo4jUri:process.env.NEO4J_URI||"",neo4jUser:process.env.NEO4J_USERNAME||"",neo4jPassword:process.env.NEO4J_PASSWORD||""};const Ae=await(0,me.default)(R);console.info(JSON.stringify(Ae,null,2))}catch(R){console.info(JSON.stringify({error:R.message},null,2))}}}}}};const handler=async function(R){const{resource:pe,action:he,env:me}=R;Ae(12437).config({path:me});const ve=await ge.default.fromEnv({CLIENT_ID:process.env.CLIENT_ID,CLIENT_SECRET:process.env.CLIENT_SECRET,API_BASE_URL:process.env.API_BASE_URL,TOKEN_AUDIENCE:process.env.TOKEN_AUDIENCE});R.api=ve;if(ye[pe][he]){ye[pe][he](R)}};pe.handler=handler},36845:function(R,pe,Ae){"use strict";var he=this&&this.__createBinding||(Object.create?function(R,pe,Ae,he){if(he===undefined)he=Ae;var ge=Object.getOwnPropertyDescriptor(pe,Ae);if(!ge||("get"in ge?!pe.__esModule:ge.writable||ge.configurable)){ge={enumerable:true,get:function(){return pe[Ae]}}}Object.defineProperty(R,he,ge)}:function(R,pe,Ae,he){if(he===undefined)he=Ae;R[he]=pe[Ae]});var ge=this&&this.__setModuleDefault||(Object.create?function(R,pe){Object.defineProperty(R,"default",{enumerable:true,value:pe})}:function(R,pe){R["default"]=pe});var me=this&&this.__importStar||function(R){if(R&&R.__esModule)return R;var pe={};if(R!=null)for(var Ae in R)if(Ae!=="default"&&Object.prototype.hasOwnProperty.call(R,Ae))he(pe,R,Ae);ge(pe,R);return pe};var ye=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});const ve=ye(Ae(57147));const be=ye(Ae(71017));const Ee=ye(Ae(6113));const Ce=ye(Ae(82315));const we=me(Ae(34061));const Ie=ye(Ae(88844));Ce.default.cryptoProvider.set(Ee.default);const _e=true;const Be={ES256:{name:"ECDSA",hash:"SHA-256",namedCurve:"P-256"},ES384:{name:"ECDSA",hash:"SHA-384",namedCurve:"P-384"}};const createRootCertificate=async R=>{const pe=Be[R.alg];const Ae=await Ee.default.subtle.generateKey(pe,_e,["sign","verify"]);const he=[];if(R.subjectGuid){he.push({type:"guid",value:R.subjectGuid})}if(R.subjectDid){he.push({type:"url",value:R.subjectDid})}const ge=await Ce.default.X509CertificateGenerator.create({serialNumber:"01",subject:R.subject,issuer:R.subject,notBefore:new Date(R.validFrom),notAfter:new Date(R.validUntil),signingAlgorithm:pe,publicKey:Ae.publicKey,signingKey:Ae.privateKey,extensions:[new Ce.default.SubjectAlternativeNameExtension(he),await Ce.default.SubjectKeyIdentifierExtension.create(Ae.publicKey)]});const me=ge.toString();const ye=await we.exportJWK(Ae.privateKey);ye.alg=R.alg;ye.kid=await we.calculateJwkThumbprintUri(ye);const ve=await we.exportJWK(Ae.publicKey);ve.alg=R.alg;ve.kid=await we.calculateJwkThumbprintUri(ve);return{subjectCertificate:me,subjectPublicKey:JSON.stringify(ve,null,2),subjectPrivateKey:JSON.stringify(ye,null,2)}};const createLeafCertificate=async R=>{const pe=ve.default.readFileSync(be.default.resolve(process.cwd(),R.issuerCertificate));const Ae=new Ce.default.X509Certificate(pe.toString());const he=Be[R.alg];const ge=await Ee.default.subtle.generateKey(he,_e,["sign","verify"]);const me=ve.default.readFileSync(be.default.resolve(process.cwd(),R.issuerPrivateKey));const ye=Ie.default.cbor.decode(me);const Se=await Ie.default.key.convertCoseKeyToJsonWebKey(ye);const Qe=[];if(R.subjectGuid){Qe.push({type:"guid",value:R.subjectGuid})}if(R.subjectDid){Qe.push({type:"url",value:R.subjectDid})}const xe=await Ce.default.X509CertificateGenerator.create({serialNumber:"01",subject:R.subject,issuer:Ae.issuer,notBefore:new Date(R.validFrom),notAfter:new Date(R.validUntil),signingAlgorithm:he,publicKey:ge.publicKey,signingKey:await Ee.default.subtle.importKey("jwk",Se,he,true,["sign"]),extensions:[new Ce.default.SubjectAlternativeNameExtension(Qe),await Ce.default.SubjectKeyIdentifierExtension.create(ge.publicKey)]});const De=new Ce.default.X509ChainBuilder({certificates:[Ae]});const ke=await De.build(xe);const Oe=ke.map((R=>R.toString("base64")));const Re=await we.importX509(xe.toString(),R.alg);const Pe=await we.exportJWK(Re);Pe.kid=await we.calculateJwkThumbprintUri(Pe);Pe.alg=R.alg;Pe.x5c=Oe;const Te={...Pe,...await we.exportJWK(ge.privateKey)};delete Te.x5c;const Ne=xe.toString();return{subjectCertificate:Ne,subjectPublicKey:JSON.stringify(Pe,null,2),subjectPrivateKey:JSON.stringify(Te,null,2)}};const create=async R=>{let pe;if(!R.issuerCertificate){pe=await createRootCertificate(R);const Ae=JSON.parse(pe.subjectPrivateKey);const he=await Ie.default.key.convertJsonWebKeyToCoseKey(Ae);const ge=Ie.default.cbor.encode(he);ve.default.writeFileSync(be.default.resolve(process.cwd(),R.subjectPrivateKey),Buffer.from(ge));ve.default.writeFileSync(be.default.resolve(process.cwd(),R.subjectCertificate),Buffer.from(pe.subjectCertificate))}else{pe=await createLeafCertificate(R);const Ae=await Ie.default.key.convertCoseKeyToJsonWebKey(JSON.parse(pe.subjectPublicKey));const he=Ie.default.cbor.encode(Ae);const ge=await Ie.default.key.convertCoseKeyToJsonWebKey(JSON.parse(pe.subjectPrivateKey));const me=Ie.default.cbor.encode(ge);ve.default.writeFileSync(be.default.resolve(process.cwd(),R.subjectPublicKey),Buffer.from(he));ve.default.writeFileSync(be.default.resolve(process.cwd(),R.subjectPrivateKey),Buffer.from(me));ve.default.writeFileSync(be.default.resolve(process.cwd(),R.subjectCertificate),Buffer.from(pe.subjectCertificate))}};pe["default"]=create},93798:function(R,pe,Ae){"use strict";var he=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});const ge=he(Ae(36845));const me={create:ge.default};pe["default"]=me},70618:function(R,pe,Ae){"use strict";var he=this&&this.__createBinding||(Object.create?function(R,pe,Ae,he){if(he===undefined)he=Ae;var ge=Object.getOwnPropertyDescriptor(pe,Ae);if(!ge||("get"in ge?!pe.__esModule:ge.writable||ge.configurable)){ge={enumerable:true,get:function(){return pe[Ae]}}}Object.defineProperty(R,he,ge)}:function(R,pe,Ae,he){if(he===undefined)he=Ae;R[he]=pe[Ae]});var ge=this&&this.__setModuleDefault||(Object.create?function(R,pe){Object.defineProperty(R,"default",{enumerable:true,value:pe})}:function(R,pe){R["default"]=pe});var me=this&&this.__importStar||function(R){if(R&&R.__esModule)return R;var pe={};if(R!=null)for(var Ae in R)if(Ae!=="default"&&Object.prototype.hasOwnProperty.call(R,Ae))he(pe,R,Ae);ge(pe,R);return pe};Object.defineProperty(pe,"__esModule",{value:true});const ye=me(Ae(70587));pe["default"]=ye},60409:function(R,pe,Ae){"use strict";var he=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});const ge=he(Ae(11318));const me={receipt:ge.default};pe["default"]=me},11318:function(R,pe,Ae){"use strict";var he=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});const ge=he(Ae(66934));const me={issue:ge.default};pe["default"]=me},66934:function(R,pe,Ae){"use strict";var he=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});const ge=he(Ae(57147));const me=he(Ae(71017));const ye=he(Ae(37250));const issue=async R=>{const pe=ge.default.readFileSync(me.default.resolve(process.cwd(),R.signedStatement));const Ae=me.default.resolve(process.cwd(),R.ledger);const he=await ye.default.ledgers.jsonFile(Ae).create();console.warn("needs update")};pe["default"]=issue},70587:function(R,pe,Ae){"use strict";var he=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});pe.handler=pe.builder=pe.describe=pe.command=pe.resources=void 0;const ge=he(Ae(84030));const me=he(Ae(60409));const ye=he(Ae(8143));const ve=he(Ae(93798));pe.resources={certificate:ve.default,statement:ge.default,ledger:me.default,transparent:ye.default};pe.command="scitt [action2]";pe.describe="scitt operations";const builder=R=>R.positional("resource",{describe:"The scitt resource",type:"string"}).positional("action",{describe:"The operation on the scitt resource",type:"string"}).option("env",{alias:"e",description:"Relative path to .env",demandOption:false}).option("output",{alias:"o",description:"File path as output"}).option("issuer-key",{description:"Path to issuer private key (jwk)"}).option("issuer-kid",{description:"Identifier to use for kid"}).option("did-resolver",{description:"Base URL of a did resolver api",default:"https://transmute.id/api"}).option("transparency-service",{description:"Base URL of a scitt transparency service api",default:"http://localhost:3000/api/did:web:scitt.xyz"}).option("statement",{description:"Path to statement"}).option("signed-statement",{description:"Path to signed-statement"}).option("receipt",{description:"Path to receipt"}).option("transparent-statement",{description:"Path to transparent-statement"});pe.builder=builder;const handler=async function(R){const{resource:Ae,action:he,action2:ge}=R;if(ge){pe.resources[Ae][he][ge](R)}else if(pe.resources[Ae][he]){pe.resources[Ae][he](R)}};pe.handler=handler},84030:function(R,pe,Ae){"use strict";var he=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});const ge=he(Ae(38359));const me=he(Ae(3715));const ye=he(Ae(6799));const ve={issue:ge.default,verify:me.default,verifyx5c:ye.default};pe["default"]=ve},38359:function(R,pe,Ae){"use strict";var he=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});const ge=he(Ae(57147));const me=he(Ae(71017));const ye=he(Ae(29994));const ve=he(Ae(88844));const issue=async R=>{const pe=ge.default.readFileSync(me.default.resolve(process.cwd(),R.statement));const Ae=ge.default.readFileSync(me.default.resolve(process.cwd(),R.issuerKey));const he=ve.default.cbor.decode(Ae);const be=ye.default.getType(me.default.resolve(process.cwd(),R.statement));console.warn("needs update")};pe["default"]=issue},3715:function(R,pe,Ae){"use strict";var he=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});const ge=he(Ae(57147));const me=he(Ae(71017));const ye=he(Ae(88844));const verify=async R=>{const pe=ge.default.readFileSync(me.default.resolve(process.cwd(),R.issuerKey));const Ae=ye.default.cbor.decode(pe);const he=ge.default.readFileSync(me.default.resolve(process.cwd(),R.statement));const ve=ge.default.readFileSync(me.default.resolve(process.cwd(),R.signedStatement));console.warn("needs update")};pe["default"]=verify},6799:function(R,pe,Ae){"use strict";var he=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});const ge=he(Ae(57147));const me=he(Ae(71017));const verifyx5c=async R=>{const pe=ge.default.readFileSync(me.default.resolve(process.cwd(),R.statement));const Ae=ge.default.readFileSync(me.default.resolve(process.cwd(),R.signedStatement));console.warn("needs update")};pe["default"]=verifyx5c},8143:function(R,pe,Ae){"use strict";var he=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});const ge=he(Ae(24159));const me={statement:ge.default};pe["default"]=me},24159:function(R,pe,Ae){"use strict";var he=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});const ge=he(Ae(69448));const me={verify:ge.default};pe["default"]=me},69448:function(R,pe,Ae){"use strict";var he=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(pe,"__esModule",{value:true});const ge=he(Ae(57147));const me=he(Ae(71017));const ye=he(Ae(88844));const verify=async R=>{const pe=ge.default.readFileSync(me.default.resolve(process.cwd(),R.statement));const Ae=ge.default.readFileSync(me.default.resolve(process.cwd(),R.transparentStatement));const he=ye.default.cbor.decode(ge.default.readFileSync(me.default.resolve(process.cwd(),R.issuerKey)));const ve=ye.default.cbor.decode(ge.default.readFileSync(me.default.resolve(process.cwd(),R.transparencyServiceKey)));console.warn("needs update")};pe["default"]=verify},12276:module=>{module.exports=eval("require")("rdf-canonize-native")},35670:R=>{function webpackEmptyContext(R){var pe=new Error("Cannot find module '"+R+"'");pe.code="MODULE_NOT_FOUND";throw pe}webpackEmptyContext.keys=()=>[];webpackEmptyContext.resolve=webpackEmptyContext;webpackEmptyContext.id=35670;R.exports=webpackEmptyContext},49167:R=>{function webpackEmptyContext(R){var pe=new Error("Cannot find module '"+R+"'");pe.code="MODULE_NOT_FOUND";throw pe}webpackEmptyContext.keys=()=>[];webpackEmptyContext.resolve=webpackEmptyContext;webpackEmptyContext.id=49167;R.exports=webpackEmptyContext},24907:R=>{function webpackEmptyContext(R){var pe=new Error("Cannot find module '"+R+"'");pe.code="MODULE_NOT_FOUND";throw pe}webpackEmptyContext.keys=()=>[];webpackEmptyContext.resolve=webpackEmptyContext;webpackEmptyContext.id=24907;R.exports=webpackEmptyContext},39491:R=>{"use strict";R.exports=require("assert")},50852:R=>{"use strict";R.exports=require("async_hooks")},14300:R=>{"use strict";R.exports=require("buffer")},96206:R=>{"use strict";R.exports=require("console")},6113:R=>{"use strict";R.exports=require("crypto")},67643:R=>{"use strict";R.exports=require("diagnostics_channel")},9523:R=>{"use strict";R.exports=require("dns")},82361:R=>{"use strict";R.exports=require("events")},57147:R=>{"use strict";R.exports=require("fs")},13685:R=>{"use strict";R.exports=require("http")},85158:R=>{"use strict";R.exports=require("http2")},95687:R=>{"use strict";R.exports=require("https")},41808:R=>{"use strict";R.exports=require("net")},72254:R=>{"use strict";R.exports=require("node:buffer")},15673:R=>{"use strict";R.exports=require("node:events")},87561:R=>{"use strict";R.exports=require("node:fs")},88849:R=>{"use strict";R.exports=require("node:http")},22286:R=>{"use strict";R.exports=require("node:https")},87503:R=>{"use strict";R.exports=require("node:net")},49411:R=>{"use strict";R.exports=require("node:path")},97742:R=>{"use strict";R.exports=require("node:process")},84492:R=>{"use strict";R.exports=require("node:stream")},72477:R=>{"use strict";R.exports=require("node:stream/web")},41041:R=>{"use strict";R.exports=require("node:url")},47261:R=>{"use strict";R.exports=require("node:util")},65628:R=>{"use strict";R.exports=require("node:zlib")},22037:R=>{"use strict";R.exports=require("os")},71017:R=>{"use strict";R.exports=require("path")},4074:R=>{"use strict";R.exports=require("perf_hooks")},63477:R=>{"use strict";R.exports=require("querystring")},12781:R=>{"use strict";R.exports=require("stream")},35356:R=>{"use strict";R.exports=require("stream/web")},71576:R=>{"use strict";R.exports=require("string_decoder")},24404:R=>{"use strict";R.exports=require("tls")},76224:R=>{"use strict";R.exports=require("tty")},57310:R=>{"use strict";R.exports=require("url")},73837:R=>{"use strict";R.exports=require("util")},29830:R=>{"use strict";R.exports=require("util/types")},71267:R=>{"use strict";R.exports=require("worker_threads")},59796:R=>{"use strict";R.exports=require("zlib")},92960:(R,pe,Ae)=>{"use strict";const he=Ae(84492).Writable;const ge=Ae(47261).inherits;const me=Ae(51142);const ye=Ae(81620);const ve=Ae(92032);const be=45;const Ee=Buffer.from("-");const Ce=Buffer.from("\r\n");const EMPTY_FN=function(){};function Dicer(R){if(!(this instanceof Dicer)){return new Dicer(R)}he.call(this,R);if(!R||!R.headerFirst&&typeof R.boundary!=="string"){throw new TypeError("Boundary required")}if(typeof R.boundary==="string"){this.setBoundary(R.boundary)}else{this._bparser=undefined}this._headerFirst=R.headerFirst;this._dashes=0;this._parts=0;this._finished=false;this._realFinish=false;this._isPreamble=true;this._justMatched=false;this._firstWrite=true;this._inHeader=true;this._part=undefined;this._cb=undefined;this._ignoreData=false;this._partOpts={highWaterMark:R.partHwm};this._pause=false;const pe=this;this._hparser=new ve(R);this._hparser.on("header",(function(R){pe._inHeader=false;pe._part.emit("header",R)}))}ge(Dicer,he);Dicer.prototype.emit=function(R){if(R==="finish"&&!this._realFinish){if(!this._finished){const R=this;process.nextTick((function(){R.emit("error",new Error("Unexpected end of multipart data"));if(R._part&&!R._ignoreData){const pe=R._isPreamble?"Preamble":"Part";R._part.emit("error",new Error(pe+" terminated early due to unexpected end of multipart data"));R._part.push(null);process.nextTick((function(){R._realFinish=true;R.emit("finish");R._realFinish=false}));return}R._realFinish=true;R.emit("finish");R._realFinish=false}))}}else{he.prototype.emit.apply(this,arguments)}};Dicer.prototype._write=function(R,pe,Ae){if(!this._hparser&&!this._bparser){return Ae()}if(this._headerFirst&&this._isPreamble){if(!this._part){this._part=new ye(this._partOpts);if(this.listenerCount("preamble")!==0){this.emit("preamble",this._part)}else{this._ignore()}}const pe=this._hparser.push(R);if(!this._inHeader&&pe!==undefined&&pe{"use strict";const he=Ae(15673).EventEmitter;const ge=Ae(47261).inherits;const me=Ae(21467);const ye=Ae(51142);const ve=Buffer.from("\r\n\r\n");const be=/\r\n/g;const Ee=/^([^:]+):[ \t]?([\x00-\xFF]+)?$/;function HeaderParser(R){he.call(this);R=R||{};const pe=this;this.nread=0;this.maxed=false;this.npairs=0;this.maxHeaderPairs=me(R,"maxHeaderPairs",2e3);this.maxHeaderSize=me(R,"maxHeaderSize",80*1024);this.buffer="";this.header={};this.finished=false;this.ss=new ye(ve);this.ss.on("info",(function(R,Ae,he,ge){if(Ae&&!pe.maxed){if(pe.nread+ge-he>=pe.maxHeaderSize){ge=pe.maxHeaderSize-pe.nread+he;pe.nread=pe.maxHeaderSize;pe.maxed=true}else{pe.nread+=ge-he}pe.buffer+=Ae.toString("binary",he,ge)}if(R){pe._finish()}}))}ge(HeaderParser,he);HeaderParser.prototype.push=function(R){const pe=this.ss.push(R);if(this.finished){return pe}};HeaderParser.prototype.reset=function(){this.finished=false;this.buffer="";this.header={};this.ss.reset()};HeaderParser.prototype._finish=function(){if(this.buffer){this._parseHeader()}this.ss.matches=this.ss.maxMatches;const R=this.header;this.header={};this.buffer="";this.finished=true;this.nread=this.npairs=0;this.maxed=false;this.emit("header",R)};HeaderParser.prototype._parseHeader=function(){if(this.npairs===this.maxHeaderPairs){return}const R=this.buffer.split(be);const pe=R.length;let Ae,he;for(var ge=0;ge{"use strict";const he=Ae(47261).inherits;const ge=Ae(84492).Readable;function PartStream(R){ge.call(this,R)}he(PartStream,ge);PartStream.prototype._read=function(R){};R.exports=PartStream},51142:(R,pe,Ae)=>{"use strict";const he=Ae(15673).EventEmitter;const ge=Ae(47261).inherits;function SBMH(R){if(typeof R==="string"){R=Buffer.from(R)}if(!Buffer.isBuffer(R)){throw new TypeError("The needle has to be a String or a Buffer.")}const pe=R.length;if(pe===0){throw new Error("The needle cannot be an empty String/Buffer.")}if(pe>256){throw new Error("The needle cannot have a length bigger than 256.")}this.maxMatches=Infinity;this.matches=0;this._occ=new Array(256).fill(pe);this._lookbehind_size=0;this._needle=R;this._bufpos=0;this._lookbehind=Buffer.alloc(pe);for(var Ae=0;Ae=0){this.emit("info",false,this._lookbehind,0,this._lookbehind_size);this._lookbehind_size=0}else{const Ae=this._lookbehind_size+me;if(Ae>0){this.emit("info",false,this._lookbehind,0,Ae)}this._lookbehind.copy(this._lookbehind,0,Ae,this._lookbehind_size-Ae);this._lookbehind_size-=Ae;R.copy(this._lookbehind,this._lookbehind_size);this._lookbehind_size+=pe;this._bufpos=pe;return pe}}me+=(me>=0)*this._bufpos;if(R.indexOf(Ae,me)!==-1){me=R.indexOf(Ae,me);++this.matches;if(me>0){this.emit("info",true,R,this._bufpos,me)}else{this.emit("info",true)}return this._bufpos=me+he}else{me=pe-he}while(me0){this.emit("info",false,R,this._bufpos,me{"use strict";const he=Ae(84492).Writable;const{inherits:ge}=Ae(47261);const me=Ae(92960);const ye=Ae(32183);const ve=Ae(78306);const be=Ae(31854);function Busboy(R){if(!(this instanceof Busboy)){return new Busboy(R)}if(typeof R!=="object"){throw new TypeError("Busboy expected an options-Object.")}if(typeof R.headers!=="object"){throw new TypeError("Busboy expected an options-Object with headers-attribute.")}if(typeof R.headers["content-type"]!=="string"){throw new TypeError("Missing Content-Type-header.")}const{headers:pe,...Ae}=R;this.opts={autoDestroy:false,...Ae};he.call(this,this.opts);this._done=false;this._parser=this.getParserByHeaders(pe);this._finished=false}ge(Busboy,he);Busboy.prototype.emit=function(R){if(R==="finish"){if(!this._done){this._parser?.end();return}else if(this._finished){return}this._finished=true}he.prototype.emit.apply(this,arguments)};Busboy.prototype.getParserByHeaders=function(R){const pe=be(R["content-type"]);const Ae={defCharset:this.opts.defCharset,fileHwm:this.opts.fileHwm,headers:R,highWaterMark:this.opts.highWaterMark,isPartAFile:this.opts.isPartAFile,limits:this.opts.limits,parsedConType:pe,preservePath:this.opts.preservePath};if(ye.detect.test(pe[0])){return new ye(this,Ae)}if(ve.detect.test(pe[0])){return new ve(this,Ae)}throw new Error("Unsupported Content-Type.")};Busboy.prototype._write=function(R,pe,Ae){this._parser.write(R,Ae)};R.exports=Busboy;R.exports["default"]=Busboy;R.exports.Busboy=Busboy;R.exports.Dicer=me},32183:(R,pe,Ae)=>{"use strict";const{Readable:he}=Ae(84492);const{inherits:ge}=Ae(47261);const me=Ae(92960);const ye=Ae(31854);const ve=Ae(84619);const be=Ae(48647);const Ee=Ae(21467);const Ce=/^boundary$/i;const we=/^form-data$/i;const Ie=/^charset$/i;const _e=/^filename$/i;const Be=/^name$/i;Multipart.detect=/^multipart\/form-data/i;function Multipart(R,pe){let Ae;let he;const ge=this;let Se;const Qe=pe.limits;const xe=pe.isPartAFile||((R,pe,Ae)=>pe==="application/octet-stream"||Ae!==undefined);const De=pe.parsedConType||[];const ke=pe.defCharset||"utf8";const Oe=pe.preservePath;const Re={highWaterMark:pe.fileHwm};for(Ae=0,he=De.length;AeFe){ge.parser.removeListener("part",onPart);ge.parser.on("part",skipPart);R.hitPartsLimit=true;R.emit("partsLimit");return skipPart(pe)}if(Je){const R=Je;R.emit("end");R.removeAllListeners("end")}pe.on("header",(function(me){let Ee;let Ce;let Se;let Qe;let De;let Fe;let je=0;if(me["content-type"]){Se=ye(me["content-type"][0]);if(Se[0]){Ee=Se[0].toLowerCase();for(Ae=0,he=Se.length;AeTe){const he=Te-je+R.length;if(he>0){Ae.push(R.slice(0,he))}Ae.truncated=true;Ae.bytesRead=Te;pe.removeAllListeners("data");Ae.emit("limit");return}else if(!Ae.push(R)){ge._pause=true}Ae.bytesRead=je};Ge=function(){We=undefined;Ae.push(null)}}else{if(He===Me){if(!R.hitFieldsLimit){R.hitFieldsLimit=true;R.emit("fieldsLimit")}return skipPart(pe)}++He;++Ve;let Ae="";let he=false;Je=pe;Le=function(R){if((je+=R.length)>Pe){const ge=Pe-(je-R.length);Ae+=R.toString("binary",0,ge);he=true;pe.removeAllListeners("data")}else{Ae+=R.toString("binary")}};Ge=function(){Je=undefined;if(Ae.length){Ae=ve(Ae,"binary",Qe)}R.emit("field",Ce,Ae,false,he,De,Ee);--Ve;checkFinished()}}pe._readableState.sync=false;pe.on("data",Le);pe.on("end",Ge)})).on("error",(function(R){if(We){We.emit("error",R)}}))})).on("error",(function(pe){R.emit("error",pe)})).on("finish",(function(){Ge=true;checkFinished()}))}Multipart.prototype.write=function(R,pe){const Ae=this.parser.write(R);if(Ae&&!this._pause){pe()}else{this._needDrain=!Ae;this._cb=pe}};Multipart.prototype.end=function(){const R=this;if(R.parser.writable){R.parser.end()}else if(!R._boy._done){process.nextTick((function(){R._boy._done=true;R._boy.emit("finish")}))}};function skipPart(R){R.resume()}function FileStream(R){he.call(this,R);this.bytesRead=0;this.truncated=false}ge(FileStream,he);FileStream.prototype._read=function(R){};R.exports=Multipart},78306:(R,pe,Ae)=>{"use strict";const he=Ae(27100);const ge=Ae(84619);const me=Ae(21467);const ye=/^charset$/i;UrlEncoded.detect=/^application\/x-www-form-urlencoded/i;function UrlEncoded(R,pe){const Ae=pe.limits;const ge=pe.parsedConType;this.boy=R;this.fieldSizeLimit=me(Ae,"fieldSize",1*1024*1024);this.fieldNameSizeLimit=me(Ae,"fieldNameSize",100);this.fieldsLimit=me(Ae,"fields",Infinity);let ve;for(var be=0,Ee=ge.length;beye){this._key+=this.decoder.write(R.toString("binary",ye,Ae))}this._state="val";this._hitLimit=false;this._checkingBytes=true;this._val="";this._bytesVal=0;this._valTrunc=false;this.decoder.reset();ye=Ae+1}else if(he!==undefined){++this._fields;let Ae;const me=this._keyTrunc;if(he>ye){Ae=this._key+=this.decoder.write(R.toString("binary",ye,he))}else{Ae=this._key}this._hitLimit=false;this._checkingBytes=true;this._key="";this._bytesKey=0;this._keyTrunc=false;this.decoder.reset();if(Ae.length){this.boy.emit("field",ge(Ae,"binary",this.charset),"",me,false)}ye=he+1;if(this._fields===this.fieldsLimit){return pe()}}else if(this._hitLimit){if(me>ye){this._key+=this.decoder.write(R.toString("binary",ye,me))}ye=me;if((this._bytesKey=this._key.length)===this.fieldNameSizeLimit){this._checkingBytes=false;this._keyTrunc=true}}else{if(yeye){this._val+=this.decoder.write(R.toString("binary",ye,he))}this.boy.emit("field",ge(this._key,"binary",this.charset),ge(this._val,"binary",this.charset),this._keyTrunc,this._valTrunc);this._state="key";this._hitLimit=false;this._checkingBytes=true;this._key="";this._bytesKey=0;this._keyTrunc=false;this.decoder.reset();ye=he+1;if(this._fields===this.fieldsLimit){return pe()}}else if(this._hitLimit){if(me>ye){this._val+=this.decoder.write(R.toString("binary",ye,me))}ye=me;if(this._val===""&&this.fieldSizeLimit===0||(this._bytesVal=this._val.length)===this.fieldSizeLimit){this._checkingBytes=false;this._valTrunc=true}}else{if(ye0){this.boy.emit("field",ge(this._key,"binary",this.charset),"",this._keyTrunc,false)}else if(this._state==="val"){this.boy.emit("field",ge(this._key,"binary",this.charset),ge(this._val,"binary",this.charset),this._keyTrunc,this._valTrunc)}this.boy._done=true;this.boy.emit("finish")};R.exports=UrlEncoded},27100:R=>{"use strict";const pe=/\+/g;const Ae=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];function Decoder(){this.buffer=undefined}Decoder.prototype.write=function(R){R=R.replace(pe," ");let he="";let ge=0;let me=0;const ye=R.length;for(;geme){he+=R.substring(me,ge);me=ge}this.buffer="";++me}}if(me{"use strict";R.exports=function basename(R){if(typeof R!=="string"){return""}for(var pe=R.length-1;pe>=0;--pe){switch(R.charCodeAt(pe)){case 47:case 92:R=R.slice(pe+1);return R===".."||R==="."?"":R}}return R===".."||R==="."?"":R}},84619:function(R){"use strict";const pe=new TextDecoder("utf-8");const Ae=new Map([["utf-8",pe],["utf8",pe]]);function getDecoder(R){let pe;while(true){switch(R){case"utf-8":case"utf8":return he.utf8;case"latin1":case"ascii":case"us-ascii":case"iso-8859-1":case"iso8859-1":case"iso88591":case"iso_8859-1":case"windows-1252":case"iso_8859-1:1987":case"cp1252":case"x-cp1252":return he.latin1;case"utf16le":case"utf-16le":case"ucs2":case"ucs-2":return he.utf16le;case"base64":return he.base64;default:if(pe===undefined){pe=true;R=R.toLowerCase();continue}return he.other.bind(R)}}}const he={utf8:(R,pe)=>{if(R.length===0){return""}if(typeof R==="string"){R=Buffer.from(R,pe)}return R.utf8Slice(0,R.length)},latin1:(R,pe)=>{if(R.length===0){return""}if(typeof R==="string"){return R}return R.latin1Slice(0,R.length)},utf16le:(R,pe)=>{if(R.length===0){return""}if(typeof R==="string"){R=Buffer.from(R,pe)}return R.ucs2Slice(0,R.length)},base64:(R,pe)=>{if(R.length===0){return""}if(typeof R==="string"){R=Buffer.from(R,pe)}return R.base64Slice(0,R.length)},other:(R,pe)=>{if(R.length===0){return""}if(typeof R==="string"){R=Buffer.from(R,pe)}if(Ae.has(this.toString())){try{return Ae.get(this).decode(R)}catch{}}return typeof R==="string"?R:R.toString()}};function decodeText(R,pe,Ae){if(R){return getDecoder(Ae)(R,pe)}return R}R.exports=decodeText},21467:R=>{"use strict";R.exports=function getLimit(R,pe,Ae){if(!R||R[pe]===undefined||R[pe]===null){return Ae}if(typeof R[pe]!=="number"||isNaN(R[pe])){throw new TypeError("Limit "+pe+" is not a valid number")}return R[pe]}},31854:(R,pe,Ae)=>{"use strict";const he=Ae(84619);const ge=/%[a-fA-F0-9][a-fA-F0-9]/g;const me={"%00":"\0","%01":"","%02":"","%03":"","%04":"","%05":"","%06":"","%07":"","%08":"\b","%09":"\t","%0a":"\n","%0A":"\n","%0b":"\v","%0B":"\v","%0c":"\f","%0C":"\f","%0d":"\r","%0D":"\r","%0e":"","%0E":"","%0f":"","%0F":"","%10":"","%11":"","%12":"","%13":"","%14":"","%15":"","%16":"","%17":"","%18":"","%19":"","%1a":"","%1A":"","%1b":"","%1B":"","%1c":"","%1C":"","%1d":"","%1D":"","%1e":"","%1E":"","%1f":"","%1F":"","%20":" ","%21":"!","%22":'"',"%23":"#","%24":"$","%25":"%","%26":"&","%27":"'","%28":"(","%29":")","%2a":"*","%2A":"*","%2b":"+","%2B":"+","%2c":",","%2C":",","%2d":"-","%2D":"-","%2e":".","%2E":".","%2f":"/","%2F":"/","%30":"0","%31":"1","%32":"2","%33":"3","%34":"4","%35":"5","%36":"6","%37":"7","%38":"8","%39":"9","%3a":":","%3A":":","%3b":";","%3B":";","%3c":"<","%3C":"<","%3d":"=","%3D":"=","%3e":">","%3E":">","%3f":"?","%3F":"?","%40":"@","%41":"A","%42":"B","%43":"C","%44":"D","%45":"E","%46":"F","%47":"G","%48":"H","%49":"I","%4a":"J","%4A":"J","%4b":"K","%4B":"K","%4c":"L","%4C":"L","%4d":"M","%4D":"M","%4e":"N","%4E":"N","%4f":"O","%4F":"O","%50":"P","%51":"Q","%52":"R","%53":"S","%54":"T","%55":"U","%56":"V","%57":"W","%58":"X","%59":"Y","%5a":"Z","%5A":"Z","%5b":"[","%5B":"[","%5c":"\\","%5C":"\\","%5d":"]","%5D":"]","%5e":"^","%5E":"^","%5f":"_","%5F":"_","%60":"`","%61":"a","%62":"b","%63":"c","%64":"d","%65":"e","%66":"f","%67":"g","%68":"h","%69":"i","%6a":"j","%6A":"j","%6b":"k","%6B":"k","%6c":"l","%6C":"l","%6d":"m","%6D":"m","%6e":"n","%6E":"n","%6f":"o","%6F":"o","%70":"p","%71":"q","%72":"r","%73":"s","%74":"t","%75":"u","%76":"v","%77":"w","%78":"x","%79":"y","%7a":"z","%7A":"z","%7b":"{","%7B":"{","%7c":"|","%7C":"|","%7d":"}","%7D":"}","%7e":"~","%7E":"~","%7f":"","%7F":"","%80":"€","%81":"","%82":"‚","%83":"ƒ","%84":"„","%85":"…","%86":"†","%87":"‡","%88":"ˆ","%89":"‰","%8a":"Š","%8A":"Š","%8b":"‹","%8B":"‹","%8c":"Œ","%8C":"Œ","%8d":"","%8D":"","%8e":"Ž","%8E":"Ž","%8f":"","%8F":"","%90":"","%91":"‘","%92":"’","%93":"“","%94":"”","%95":"•","%96":"–","%97":"—","%98":"˜","%99":"™","%9a":"š","%9A":"š","%9b":"›","%9B":"›","%9c":"œ","%9C":"œ","%9d":"","%9D":"","%9e":"ž","%9E":"ž","%9f":"Ÿ","%9F":"Ÿ","%a0":" ","%A0":" ","%a1":"¡","%A1":"¡","%a2":"¢","%A2":"¢","%a3":"£","%A3":"£","%a4":"¤","%A4":"¤","%a5":"¥","%A5":"¥","%a6":"¦","%A6":"¦","%a7":"§","%A7":"§","%a8":"¨","%A8":"¨","%a9":"©","%A9":"©","%aa":"ª","%Aa":"ª","%aA":"ª","%AA":"ª","%ab":"«","%Ab":"«","%aB":"«","%AB":"«","%ac":"¬","%Ac":"¬","%aC":"¬","%AC":"¬","%ad":"­","%Ad":"­","%aD":"­","%AD":"­","%ae":"®","%Ae":"®","%aE":"®","%AE":"®","%af":"¯","%Af":"¯","%aF":"¯","%AF":"¯","%b0":"°","%B0":"°","%b1":"±","%B1":"±","%b2":"²","%B2":"²","%b3":"³","%B3":"³","%b4":"´","%B4":"´","%b5":"µ","%B5":"µ","%b6":"¶","%B6":"¶","%b7":"·","%B7":"·","%b8":"¸","%B8":"¸","%b9":"¹","%B9":"¹","%ba":"º","%Ba":"º","%bA":"º","%BA":"º","%bb":"»","%Bb":"»","%bB":"»","%BB":"»","%bc":"¼","%Bc":"¼","%bC":"¼","%BC":"¼","%bd":"½","%Bd":"½","%bD":"½","%BD":"½","%be":"¾","%Be":"¾","%bE":"¾","%BE":"¾","%bf":"¿","%Bf":"¿","%bF":"¿","%BF":"¿","%c0":"À","%C0":"À","%c1":"Á","%C1":"Á","%c2":"Â","%C2":"Â","%c3":"Ã","%C3":"Ã","%c4":"Ä","%C4":"Ä","%c5":"Å","%C5":"Å","%c6":"Æ","%C6":"Æ","%c7":"Ç","%C7":"Ç","%c8":"È","%C8":"È","%c9":"É","%C9":"É","%ca":"Ê","%Ca":"Ê","%cA":"Ê","%CA":"Ê","%cb":"Ë","%Cb":"Ë","%cB":"Ë","%CB":"Ë","%cc":"Ì","%Cc":"Ì","%cC":"Ì","%CC":"Ì","%cd":"Í","%Cd":"Í","%cD":"Í","%CD":"Í","%ce":"Î","%Ce":"Î","%cE":"Î","%CE":"Î","%cf":"Ï","%Cf":"Ï","%cF":"Ï","%CF":"Ï","%d0":"Ð","%D0":"Ð","%d1":"Ñ","%D1":"Ñ","%d2":"Ò","%D2":"Ò","%d3":"Ó","%D3":"Ó","%d4":"Ô","%D4":"Ô","%d5":"Õ","%D5":"Õ","%d6":"Ö","%D6":"Ö","%d7":"×","%D7":"×","%d8":"Ø","%D8":"Ø","%d9":"Ù","%D9":"Ù","%da":"Ú","%Da":"Ú","%dA":"Ú","%DA":"Ú","%db":"Û","%Db":"Û","%dB":"Û","%DB":"Û","%dc":"Ü","%Dc":"Ü","%dC":"Ü","%DC":"Ü","%dd":"Ý","%Dd":"Ý","%dD":"Ý","%DD":"Ý","%de":"Þ","%De":"Þ","%dE":"Þ","%DE":"Þ","%df":"ß","%Df":"ß","%dF":"ß","%DF":"ß","%e0":"à","%E0":"à","%e1":"á","%E1":"á","%e2":"â","%E2":"â","%e3":"ã","%E3":"ã","%e4":"ä","%E4":"ä","%e5":"å","%E5":"å","%e6":"æ","%E6":"æ","%e7":"ç","%E7":"ç","%e8":"è","%E8":"è","%e9":"é","%E9":"é","%ea":"ê","%Ea":"ê","%eA":"ê","%EA":"ê","%eb":"ë","%Eb":"ë","%eB":"ë","%EB":"ë","%ec":"ì","%Ec":"ì","%eC":"ì","%EC":"ì","%ed":"í","%Ed":"í","%eD":"í","%ED":"í","%ee":"î","%Ee":"î","%eE":"î","%EE":"î","%ef":"ï","%Ef":"ï","%eF":"ï","%EF":"ï","%f0":"ð","%F0":"ð","%f1":"ñ","%F1":"ñ","%f2":"ò","%F2":"ò","%f3":"ó","%F3":"ó","%f4":"ô","%F4":"ô","%f5":"õ","%F5":"õ","%f6":"ö","%F6":"ö","%f7":"÷","%F7":"÷","%f8":"ø","%F8":"ø","%f9":"ù","%F9":"ù","%fa":"ú","%Fa":"ú","%fA":"ú","%FA":"ú","%fb":"û","%Fb":"û","%fB":"û","%FB":"û","%fc":"ü","%Fc":"ü","%fC":"ü","%FC":"ü","%fd":"ý","%Fd":"ý","%fD":"ý","%FD":"ý","%fe":"þ","%Fe":"þ","%fE":"þ","%FE":"þ","%ff":"ÿ","%Ff":"ÿ","%fF":"ÿ","%FF":"ÿ"};function encodedReplacer(R){return me[R]}const ye=0;const ve=1;const be=2;const Ee=3;function parseParams(R){const pe=[];let Ae=ye;let me="";let Ce=false;let we=false;let Ie=0;let _e="";const Be=R.length;for(var Se=0;Se{ /*! ***************************************************************************** Copyright (C) Microsoft. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use @@ -235,13 +214,13 @@ MERCHANTABLITY OR NON-INFRINGEMENT. See the Apache Version 2.0 License for specific language governing permissions and limitations under the License. ***************************************************************************** */ -var re;(function(re){(function(ie){var oe=typeof globalThis==="object"?globalThis:typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:sloppyModeThis();var se=makeExporter(re);if(typeof oe.Reflect!=="undefined"){se=makeExporter(oe.Reflect,se)}ie(se,oe);if(typeof oe.Reflect==="undefined"){oe.Reflect=re}function makeExporter(re,ie){return function(oe,se){Object.defineProperty(re,oe,{configurable:true,writable:true,value:se});if(ie)ie(oe,se)}}function functionThis(){try{return Function("return this;")()}catch(re){}}function indirectEvalThis(){try{return(void 0,eval)("(function() { return this; })()")}catch(re){}}function sloppyModeThis(){return functionThis()||indirectEvalThis()}})((function(re,ie){var oe=Object.prototype.hasOwnProperty;var se=typeof Symbol==="function";var ae=se&&typeof Symbol.toPrimitive!=="undefined"?Symbol.toPrimitive:"@@toPrimitive";var ce=se&&typeof Symbol.iterator!=="undefined"?Symbol.iterator:"@@iterator";var ue=typeof Object.create==="function";var le={__proto__:[]}instanceof Array;var fe=!ue&&!le;var de={create:ue?function(){return MakeDictionary(Object.create(null))}:le?function(){return MakeDictionary({__proto__:null})}:function(){return MakeDictionary({})},has:fe?function(re,ie){return oe.call(re,ie)}:function(re,ie){return ie in re},get:fe?function(re,ie){return oe.call(re,ie)?re[ie]:undefined}:function(re,ie){return re[ie]}};var pe=Object.getPrototypeOf(Function);var he=typeof Map==="function"&&typeof Map.prototype.entries==="function"?Map:CreateMapPolyfill();var Ae=typeof Set==="function"&&typeof Set.prototype.entries==="function"?Set:CreateSetPolyfill();var ge=typeof WeakMap==="function"?WeakMap:CreateWeakMapPolyfill();var me=se?Symbol.for("@reflect-metadata:registry"):undefined;var ye=GetOrCreateMetadataRegistry();var ve=CreateMetadataProvider(ye);function decorate(re,ie,oe,se){if(!IsUndefined(oe)){if(!IsArray(re))throw new TypeError;if(!IsObject(ie))throw new TypeError;if(!IsObject(se)&&!IsUndefined(se)&&!IsNull(se))throw new TypeError;if(IsNull(se))se=undefined;oe=ToPropertyKey(oe);return DecorateProperty(re,ie,oe,se)}else{if(!IsArray(re))throw new TypeError;if(!IsConstructor(ie))throw new TypeError;return DecorateConstructor(re,ie)}}re("decorate",decorate);function metadata(re,ie){function decorator(oe,se){if(!IsObject(oe))throw new TypeError;if(!IsUndefined(se)&&!IsPropertyKey(se))throw new TypeError;OrdinaryDefineOwnMetadata(re,ie,oe,se)}return decorator}re("metadata",metadata);function defineMetadata(re,ie,oe,se){if(!IsObject(oe))throw new TypeError;if(!IsUndefined(se))se=ToPropertyKey(se);return OrdinaryDefineOwnMetadata(re,ie,oe,se)}re("defineMetadata",defineMetadata);function hasMetadata(re,ie,oe){if(!IsObject(ie))throw new TypeError;if(!IsUndefined(oe))oe=ToPropertyKey(oe);return OrdinaryHasMetadata(re,ie,oe)}re("hasMetadata",hasMetadata);function hasOwnMetadata(re,ie,oe){if(!IsObject(ie))throw new TypeError;if(!IsUndefined(oe))oe=ToPropertyKey(oe);return OrdinaryHasOwnMetadata(re,ie,oe)}re("hasOwnMetadata",hasOwnMetadata);function getMetadata(re,ie,oe){if(!IsObject(ie))throw new TypeError;if(!IsUndefined(oe))oe=ToPropertyKey(oe);return OrdinaryGetMetadata(re,ie,oe)}re("getMetadata",getMetadata);function getOwnMetadata(re,ie,oe){if(!IsObject(ie))throw new TypeError;if(!IsUndefined(oe))oe=ToPropertyKey(oe);return OrdinaryGetOwnMetadata(re,ie,oe)}re("getOwnMetadata",getOwnMetadata);function getMetadataKeys(re,ie){if(!IsObject(re))throw new TypeError;if(!IsUndefined(ie))ie=ToPropertyKey(ie);return OrdinaryMetadataKeys(re,ie)}re("getMetadataKeys",getMetadataKeys);function getOwnMetadataKeys(re,ie){if(!IsObject(re))throw new TypeError;if(!IsUndefined(ie))ie=ToPropertyKey(ie);return OrdinaryOwnMetadataKeys(re,ie)}re("getOwnMetadataKeys",getOwnMetadataKeys);function deleteMetadata(re,ie,oe){if(!IsObject(ie))throw new TypeError;if(!IsUndefined(oe))oe=ToPropertyKey(oe);if(!IsObject(ie))throw new TypeError;if(!IsUndefined(oe))oe=ToPropertyKey(oe);var se=GetMetadataProvider(ie,oe,false);if(IsUndefined(se))return false;return se.OrdinaryDeleteMetadata(re,ie,oe)}re("deleteMetadata",deleteMetadata);function DecorateConstructor(re,ie){for(var oe=re.length-1;oe>=0;--oe){var se=re[oe];var ae=se(ie);if(!IsUndefined(ae)&&!IsNull(ae)){if(!IsConstructor(ae))throw new TypeError;ie=ae}}return ie}function DecorateProperty(re,ie,oe,se){for(var ae=re.length-1;ae>=0;--ae){var ce=re[ae];var ue=ce(ie,oe,se);if(!IsUndefined(ue)&&!IsNull(ue)){if(!IsObject(ue))throw new TypeError;se=ue}}return se}function OrdinaryHasMetadata(re,ie,oe){var se=OrdinaryHasOwnMetadata(re,ie,oe);if(se)return true;var ae=OrdinaryGetPrototypeOf(ie);if(!IsNull(ae))return OrdinaryHasMetadata(re,ae,oe);return false}function OrdinaryHasOwnMetadata(re,ie,oe){var se=GetMetadataProvider(ie,oe,false);if(IsUndefined(se))return false;return ToBoolean(se.OrdinaryHasOwnMetadata(re,ie,oe))}function OrdinaryGetMetadata(re,ie,oe){var se=OrdinaryHasOwnMetadata(re,ie,oe);if(se)return OrdinaryGetOwnMetadata(re,ie,oe);var ae=OrdinaryGetPrototypeOf(ie);if(!IsNull(ae))return OrdinaryGetMetadata(re,ae,oe);return undefined}function OrdinaryGetOwnMetadata(re,ie,oe){var se=GetMetadataProvider(ie,oe,false);if(IsUndefined(se))return;return se.OrdinaryGetOwnMetadata(re,ie,oe)}function OrdinaryDefineOwnMetadata(re,ie,oe,se){var ae=GetMetadataProvider(oe,se,true);ae.OrdinaryDefineOwnMetadata(re,ie,oe,se)}function OrdinaryMetadataKeys(re,ie){var oe=OrdinaryOwnMetadataKeys(re,ie);var se=OrdinaryGetPrototypeOf(re);if(se===null)return oe;var ae=OrdinaryMetadataKeys(se,ie);if(ae.length<=0)return oe;if(oe.length<=0)return ae;var ce=new Ae;var ue=[];for(var le=0,fe=oe;le=0&&re=this._keys.length){this._index=-1;this._keys=ie;this._values=ie}else{this._index++}return{value:oe,done:false}}return{value:undefined,done:true}};MapIterator.prototype.throw=function(re){if(this._index>=0){this._index=-1;this._keys=ie;this._values=ie}throw re};MapIterator.prototype.return=function(re){if(this._index>=0){this._index=-1;this._keys=ie;this._values=ie}return{value:re,done:true}};return MapIterator}();var se=function(){function Map(){this._keys=[];this._values=[];this._cacheKey=re;this._cacheIndex=-2}Object.defineProperty(Map.prototype,"size",{get:function(){return this._keys.length},enumerable:true,configurable:true});Map.prototype.has=function(re){return this._find(re,false)>=0};Map.prototype.get=function(re){var ie=this._find(re,false);return ie>=0?this._values[ie]:undefined};Map.prototype.set=function(re,ie){var oe=this._find(re,true);this._values[oe]=ie;return this};Map.prototype.delete=function(ie){var oe=this._find(ie,false);if(oe>=0){var se=this._keys.length;for(var ae=oe+1;ae{"use strict";var se=oe(15589);var ae=oe(9338);var ce=oe(16011);var ue=oe(25161);var le=oe(62986);var fe=oe(2289);var de=oe(20045);function resolveCollection(re,ie,oe,se,ae,ce){const ue=oe.type==="block-map"?le.resolveBlockMap(re,ie,oe,se,ce):oe.type==="block-seq"?fe.resolveBlockSeq(re,ie,oe,se,ce):de.resolveFlowCollection(re,ie,oe,se,ce);const pe=ue.constructor;if(ae==="!"||ae===pe.tagName){ue.tag=pe.tagName;return ue}if(ae)ue.tag=ae;return ue}function composeCollection(re,ie,oe,le,fe){const de=le.tag;const pe=!de?null:ie.directives.tagName(de.source,(re=>fe(de,"TAG_RESOLVE_FAILED",re)));if(oe.type==="block-seq"){const{anchor:re,newlineAfterProp:ie}=le;const oe=re&&de?re.offset>de.offset?re:de:re??de;if(oe&&(!ie||ie.offsetre.tag===pe&&re.collection===he));if(!Ae){const se=ie.schema.knownTags[pe];if(se&&se.collection===he){ie.schema.tags.push(Object.assign({},se,{default:false}));Ae=se}else{if(se?.collection){fe(de,"BAD_COLLECTION_TYPE",`${se.tag} used for ${he} collection, but expects ${se.collection}`,true)}else{fe(de,"TAG_RESOLVE_FAILED",`Unresolved tag: ${pe}`,true)}return resolveCollection(re,ie,oe,fe,pe)}}const ge=resolveCollection(re,ie,oe,fe,pe,Ae);const me=Ae.resolve?.(ge,(re=>fe(de,"TAG_RESOLVE_FAILED",re)),ie.options)??ge;const ye=se.isNode(me)?me:new ae.Scalar(me);ye.range=ge.range;ye.tag=pe;if(Ae?.format)ye.format=Ae.format;return ye}ie.composeCollection=composeCollection},25050:(re,ie,oe)=>{"use strict";var se=oe(10042);var ae=oe(38676);var ce=oe(1250);var ue=oe(6985);function composeDoc(re,ie,{offset:oe,start:le,value:fe,end:de},pe){const he=Object.assign({_directives:ie},re);const Ae=new se.Document(undefined,he);const ge={atRoot:true,directives:Ae.directives,options:Ae.options,schema:Ae.schema};const me=ue.resolveProps(le,{indicator:"doc-start",next:fe??de?.[0],offset:oe,onError:pe,parentIndent:0,startOnNewline:true});if(me.found){Ae.directives.docStart=true;if(fe&&(fe.type==="block-map"||fe.type==="block-seq")&&!me.hasNewline)pe(me.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")}Ae.contents=fe?ae.composeNode(ge,fe,me,pe):ae.composeEmptyNode(ge,me.end,le,null,me,pe);const ye=Ae.contents.range[2];const ve=ce.resolveEnd(de,ye,false,pe);if(ve.comment)Ae.comment=ve.comment;Ae.range=[oe,ye,ve.offset];return Ae}ie.composeDoc=composeDoc},38676:(re,ie,oe)=>{"use strict";var se=oe(5639);var ae=oe(8109);var ce=oe(94766);var ue=oe(1250);var le=oe(78781);const fe={composeNode:composeNode,composeEmptyNode:composeEmptyNode};function composeNode(re,ie,oe,se){const{spaceBefore:ue,comment:le,anchor:de,tag:pe}=oe;let he;let Ae=true;switch(ie.type){case"alias":he=composeAlias(re,ie,se);if(de||pe)se(ie,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":he=ce.composeScalar(re,ie,pe,se);if(de)he.anchor=de.source.substring(1);break;case"block-map":case"block-seq":case"flow-collection":he=ae.composeCollection(fe,re,ie,oe,se);if(de)he.anchor=de.source.substring(1);break;default:{const ae=ie.type==="error"?ie.message:`Unsupported token (type: ${ie.type})`;se(ie,"UNEXPECTED_TOKEN",ae);he=composeEmptyNode(re,ie.offset,undefined,null,oe,se);Ae=false}}if(de&&he.anchor==="")se(de,"BAD_ALIAS","Anchor cannot be an empty string");if(ue)he.spaceBefore=true;if(le){if(ie.type==="scalar"&&ie.source==="")he.comment=le;else he.commentBefore=le}if(re.options.keepSourceTokens&&Ae)he.srcToken=ie;return he}function composeEmptyNode(re,ie,oe,se,{spaceBefore:ae,comment:ue,anchor:fe,tag:de,end:pe},he){const Ae={type:"scalar",offset:le.emptyScalarPosition(ie,oe,se),indent:-1,source:""};const ge=ce.composeScalar(re,Ae,de,he);if(fe){ge.anchor=fe.source.substring(1);if(ge.anchor==="")he(fe,"BAD_ALIAS","Anchor cannot be an empty string")}if(ae)ge.spaceBefore=true;if(ue){ge.comment=ue;ge.range[2]=pe}return ge}function composeAlias({options:re},{offset:ie,source:oe,end:ae},ce){const le=new se.Alias(oe.substring(1));if(le.source==="")ce(ie,"BAD_ALIAS","Alias cannot be an empty string");if(le.source.endsWith(":"))ce(ie+oe.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",true);const fe=ie+oe.length;const de=ue.resolveEnd(ae,fe,re.strict,ce);le.range=[ie,fe,de.offset];if(de.comment)le.comment=de.comment;return le}ie.composeEmptyNode=composeEmptyNode;ie.composeNode=composeNode},94766:(re,ie,oe)=>{"use strict";var se=oe(15589);var ae=oe(9338);var ce=oe(89485);var ue=oe(97578);function composeScalar(re,ie,oe,le){const{value:fe,type:de,comment:pe,range:he}=ie.type==="block-scalar"?ce.resolveBlockScalar(re,ie,le):ue.resolveFlowScalar(ie,re.options.strict,le);const Ae=oe?re.directives.tagName(oe.source,(re=>le(oe,"TAG_RESOLVE_FAILED",re))):null;const ge=oe&&Ae?findScalarTagByName(re.schema,fe,Ae,oe,le):ie.type==="scalar"?findScalarTagByTest(re,fe,ie,le):re.schema[se.SCALAR];let me;try{const ce=ge.resolve(fe,(re=>le(oe??ie,"TAG_RESOLVE_FAILED",re)),re.options);me=se.isScalar(ce)?ce:new ae.Scalar(ce)}catch(re){const se=re instanceof Error?re.message:String(re);le(oe??ie,"TAG_RESOLVE_FAILED",se);me=new ae.Scalar(fe)}me.range=he;me.source=fe;if(de)me.type=de;if(Ae)me.tag=Ae;if(ge.format)me.format=ge.format;if(pe)me.comment=pe;return me}function findScalarTagByName(re,ie,oe,ae,ce){if(oe==="!")return re[se.SCALAR];const ue=[];for(const ie of re.tags){if(!ie.collection&&ie.tag===oe){if(ie.default&&ie.test)ue.push(ie);else return ie}}for(const re of ue)if(re.test?.test(ie))return re;const le=re.knownTags[oe];if(le&&!le.collection){re.tags.push(Object.assign({},le,{default:false,test:undefined}));return le}ce(ae,"TAG_RESOLVE_FAILED",`Unresolved tag: ${oe}`,oe!=="tag:yaml.org,2002:str");return re[se.SCALAR]}function findScalarTagByTest({directives:re,schema:ie},oe,ae,ce){const ue=ie.tags.find((re=>re.default&&re.test?.test(oe)))||ie[se.SCALAR];if(ie.compat){const le=ie.compat.find((re=>re.default&&re.test?.test(oe)))??ie[se.SCALAR];if(ue.tag!==le.tag){const ie=re.tagString(ue.tag);const oe=re.tagString(le.tag);const se=`Value may be parsed as either ${ie} or ${oe}`;ce(ae,"TAG_RESOLVE_FAILED",se,true)}}return ue}ie.composeScalar=composeScalar},19493:(re,ie,oe)=>{"use strict";var se=oe(5400);var ae=oe(10042);var ce=oe(14236);var ue=oe(15589);var le=oe(25050);var fe=oe(1250);function getErrorPos(re){if(typeof re==="number")return[re,re+1];if(Array.isArray(re))return re.length===2?re:[re[0],re[1]];const{offset:ie,source:oe}=re;return[ie,ie+(typeof oe==="string"?oe.length:1)]}function parsePrelude(re){let ie="";let oe=false;let se=false;for(let ae=0;ae{const ae=getErrorPos(re);if(se)this.warnings.push(new ce.YAMLWarning(ae,ie,oe));else this.errors.push(new ce.YAMLParseError(ae,ie,oe))};this.directives=new se.Directives({version:re.version||"1.2"});this.options=re}decorate(re,ie){const{comment:oe,afterEmptyLine:se}=parsePrelude(this.prelude);if(oe){const ae=re.contents;if(ie){re.comment=re.comment?`${re.comment}\n${oe}`:oe}else if(se||re.directives.docStart||!ae){re.commentBefore=oe}else if(ue.isCollection(ae)&&!ae.flow&&ae.items.length>0){let re=ae.items[0];if(ue.isPair(re))re=re.key;const ie=re.commentBefore;re.commentBefore=ie?`${oe}\n${ie}`:oe}else{const re=ae.commentBefore;ae.commentBefore=re?`${oe}\n${re}`:oe}}if(ie){Array.prototype.push.apply(re.errors,this.errors);Array.prototype.push.apply(re.warnings,this.warnings)}else{re.errors=this.errors;re.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(re,ie=false,oe=-1){for(const ie of re)yield*this.next(ie);yield*this.end(ie,oe)}*next(re){if(process.env.LOG_STREAM)console.dir(re,{depth:null});switch(re.type){case"directive":this.directives.add(re.source,((ie,oe,se)=>{const ae=getErrorPos(re);ae[0]+=ie;this.onError(ae,"BAD_DIRECTIVE",oe,se)}));this.prelude.push(re.source);this.atDirectives=true;break;case"document":{const ie=le.composeDoc(this.options,this.directives,re,this.onError);if(this.atDirectives&&!ie.directives.docStart)this.onError(re,"MISSING_CHAR","Missing directives-end/doc-start indicator line");this.decorate(ie,false);if(this.doc)yield this.doc;this.doc=ie;this.atDirectives=false;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(re.source);break;case"error":{const ie=re.source?`${re.message}: ${JSON.stringify(re.source)}`:re.message;const oe=new ce.YAMLParseError(getErrorPos(re),"UNEXPECTED_TOKEN",ie);if(this.atDirectives||!this.doc)this.errors.push(oe);else this.doc.errors.push(oe);break}case"doc-end":{if(!this.doc){const ie="Unexpected doc-end without preceding document";this.errors.push(new ce.YAMLParseError(getErrorPos(re),"UNEXPECTED_TOKEN",ie));break}this.doc.directives.docEnd=true;const ie=fe.resolveEnd(re.end,re.offset+re.source.length,this.doc.options.strict,this.onError);this.decorate(this.doc,true);if(ie.comment){const re=this.doc.comment;this.doc.comment=re?`${re}\n${ie.comment}`:ie.comment}this.doc.range[2]=ie.offset;break}default:this.errors.push(new ce.YAMLParseError(getErrorPos(re),"UNEXPECTED_TOKEN",`Unsupported token ${re.type}`))}}*end(re=false,ie=-1){if(this.doc){this.decorate(this.doc,true);yield this.doc;this.doc=null}else if(re){const re=Object.assign({_directives:this.directives},this.options);const oe=new ae.Document(undefined,re);if(this.atDirectives)this.onError(ie,"MISSING_CHAR","Missing directives-end indicator line");oe.range=[0,ie,ie];this.decorate(oe,false);yield oe}}}ie.Composer=Composer},62986:(re,ie,oe)=>{"use strict";var se=oe(246);var ae=oe(16011);var ce=oe(6985);var ue=oe(40976);var le=oe(83669);var fe=oe(66899);const de="All mapping items must start at the same column";function resolveBlockMap({composeNode:re,composeEmptyNode:ie},oe,pe,he,Ae){const ge=Ae?.nodeClass??ae.YAMLMap;const me=new ge(oe.schema);if(oe.atRoot)oe.atRoot=false;let ye=pe.offset;let ve=null;for(const ae of pe.items){const{start:Ae,key:ge,sep:be,value:we}=ae;const _e=ce.resolveProps(Ae,{indicator:"explicit-key-ind",next:ge??be?.[0],offset:ye,onError:he,parentIndent:pe.indent,startOnNewline:true});const Ee=!_e.found;if(Ee){if(ge){if(ge.type==="block-seq")he(ye,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key");else if("indent"in ge&&ge.indent!==pe.indent)he(ye,"BAD_INDENT",de)}if(!_e.anchor&&!_e.tag&&!be){ve=_e.end;if(_e.comment){if(me.comment)me.comment+="\n"+_e.comment;else me.comment=_e.comment}continue}if(_e.newlineAfterProp||ue.containsNewline(ge)){he(ge??Ae[Ae.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}}else if(_e.found?.indent!==pe.indent){he(ye,"BAD_INDENT",de)}const Ce=_e.end;const Ie=ge?re(oe,ge,_e,he):ie(oe,Ce,Ae,null,_e,he);if(oe.schema.compat)le.flowIndentCheck(pe.indent,ge,he);if(fe.mapIncludes(oe,me.items,Ie))he(Ce,"DUPLICATE_KEY","Map keys must be unique");const Se=ce.resolveProps(be??[],{indicator:"map-value-ind",next:we,offset:Ie.range[2],onError:he,parentIndent:pe.indent,startOnNewline:!ge||ge.type==="block-scalar"});ye=Se.end;if(Se.found){if(Ee){if(we?.type==="block-map"&&!Se.hasNewline)he(ye,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings");if(oe.options.strict&&_e.start{"use strict";var se=oe(9338);function resolveBlockScalar(re,ie,oe){const ae=ie.offset;const ce=parseBlockScalarHeader(ie,re.options.strict,oe);if(!ce)return{value:"",type:null,comment:"",range:[ae,ae,ae]};const ue=ce.mode===">"?se.Scalar.BLOCK_FOLDED:se.Scalar.BLOCK_LITERAL;const le=ie.source?splitLines(ie.source):[];let fe=le.length;for(let re=le.length-1;re>=0;--re){const ie=le[re][1];if(ie===""||ie==="\r")fe=re;else break}if(fe===0){const re=ce.chomp==="+"&&le.length>0?"\n".repeat(Math.max(1,le.length-1)):"";let oe=ae+ce.length;if(ie.source)oe+=ie.source.length;return{value:re,type:ue,comment:ce.comment,range:[ae,oe,oe]}}let de=ie.indent+ce.indent;let pe=ie.offset+ce.length;let he=0;for(let ie=0;iede)de=se.length}else{if(se.length=fe;--re){if(le[re][0].length>de)fe=re+1}let Ae="";let ge="";let me=false;for(let re=0;rede||ae[0]==="\t"){if(ge===" ")ge="\n";else if(!me&&ge==="\n")ge="\n\n";Ae+=ge+ie.slice(de)+ae;ge="\n";me=true}else if(ae===""){if(ge==="\n")Ae+="\n";else ge="\n"}else{Ae+=ge+ae;ge=" ";me=false}}switch(ce.chomp){case"-":break;case"+":for(let re=fe;re{"use strict";var se=oe(25161);var ae=oe(6985);var ce=oe(83669);function resolveBlockSeq({composeNode:re,composeEmptyNode:ie},oe,ue,le,fe){const de=fe?.nodeClass??se.YAMLSeq;const pe=new de(oe.schema);if(oe.atRoot)oe.atRoot=false;let he=ue.offset;let Ae=null;for(const{start:se,value:fe}of ue.items){const de=ae.resolveProps(se,{indicator:"seq-item-ind",next:fe,offset:he,onError:le,parentIndent:ue.indent,startOnNewline:true});if(!de.found){if(de.anchor||de.tag||fe){if(fe&&fe.type==="block-seq")le(de.end,"BAD_INDENT","All sequence items must start at the same column");else le(he,"MISSING_CHAR","Sequence item without - indicator")}else{Ae=de.end;if(de.comment)pe.comment=de.comment;continue}}const ge=fe?re(oe,fe,de,le):ie(oe,de.end,se,null,de,le);if(oe.schema.compat)ce.flowIndentCheck(ue.indent,fe,le);he=ge.range[2];pe.items.push(ge)}pe.range=[ue.offset,he,Ae??he];return pe}ie.resolveBlockSeq=resolveBlockSeq},1250:(re,ie)=>{"use strict";function resolveEnd(re,ie,oe,se){let ae="";if(re){let ce=false;let ue="";for(const le of re){const{source:re,type:fe}=le;switch(fe){case"space":ce=true;break;case"comment":{if(oe&&!ce)se(le,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const ie=re.substring(1)||" ";if(!ae)ae=ie;else ae+=ue+ie;ue="";break}case"newline":if(ae)ue+=re;ce=true;break;default:se(le,"UNEXPECTED_TOKEN",`Unexpected ${fe} at node end`)}ie+=re.length}}return{comment:ae,offset:ie}}ie.resolveEnd=resolveEnd},20045:(re,ie,oe)=>{"use strict";var se=oe(15589);var ae=oe(246);var ce=oe(16011);var ue=oe(25161);var le=oe(1250);var fe=oe(6985);var de=oe(40976);var pe=oe(66899);const he="Block collections are not allowed within flow collections";const isBlock=re=>re&&(re.type==="block-map"||re.type==="block-seq");function resolveFlowCollection({composeNode:re,composeEmptyNode:ie},oe,Ae,ge,me){const ye=Ae.start.source==="{";const ve=ye?"flow map":"flow sequence";const be=me?.nodeClass??(ye?ce.YAMLMap:ue.YAMLSeq);const we=new be(oe.schema);we.flow=true;const _e=oe.atRoot;if(_e)oe.atRoot=false;let Ee=Ae.offset+Ae.start.source.length;for(let ue=0;ue0){const re=le.resolveEnd(Se,Be,oe.options.strict,ge);if(re.comment){if(we.comment)we.comment+="\n"+re.comment;else we.comment=re.comment}we.range=[Ae.offset,Be,re.offset]}else{we.range=[Ae.offset,Be,Be]}return we}ie.resolveFlowCollection=resolveFlowCollection},97578:(re,ie,oe)=>{"use strict";var se=oe(9338);var ae=oe(1250);function resolveFlowScalar(re,ie,oe){const{offset:ce,type:ue,source:le,end:fe}=re;let de;let pe;const _onError=(re,ie,se)=>oe(ce+re,ie,se);switch(ue){case"scalar":de=se.Scalar.PLAIN;pe=plainValue(le,_onError);break;case"single-quoted-scalar":de=se.Scalar.QUOTE_SINGLE;pe=singleQuotedValue(le,_onError);break;case"double-quoted-scalar":de=se.Scalar.QUOTE_DOUBLE;pe=doubleQuotedValue(le,_onError);break;default:oe(re,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${ue}`);return{value:"",type:null,comment:"",range:[ce,ce+le.length,ce+le.length]}}const he=ce+le.length;const Ae=ae.resolveEnd(fe,he,ie,oe);return{value:pe,type:de,comment:Ae.comment,range:[ce,he,Ae.offset]}}function plainValue(re,ie){let oe="";switch(re[0]){case"\t":oe="a tab character";break;case",":oe="flow indicator character ,";break;case"%":oe="directive indicator character %";break;case"|":case">":{oe=`block scalar indicator ${re[0]}`;break}case"@":case"`":{oe=`reserved character ${re[0]}`;break}}if(oe)ie(0,"BAD_SCALAR_START",`Plain value cannot start with ${oe}`);return foldLines(re)}function singleQuotedValue(re,ie){if(re[re.length-1]!=="'"||re.length===1)ie(re.length,"MISSING_CHAR","Missing closing 'quote");return foldLines(re.slice(1,-1)).replace(/''/g,"'")}function foldLines(re){let ie,oe;try{ie=new RegExp("(.*?)(?ie?re.slice(ie,se+1):ae}else{oe+=ae}}if(re[re.length-1]!=='"'||re.length===1)ie(re.length,"MISSING_CHAR",'Missing closing "quote');return oe}function foldNewline(re,ie){let oe="";let se=re[ie+1];while(se===" "||se==="\t"||se==="\n"||se==="\r"){if(se==="\r"&&re[ie+2]!=="\n")break;if(se==="\n")oe+="\n";ie+=1;se=re[ie+1]}if(!oe)oe=" ";return{fold:oe,offset:ie}}const ce={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(re,ie,oe,se){const ae=re.substr(ie,oe);const ce=ae.length===oe&&/^[0-9a-fA-F]+$/.test(ae);const ue=ce?parseInt(ae,16):NaN;if(isNaN(ue)){const ae=re.substr(ie-2,oe+2);se(ie-2,"BAD_DQ_ESCAPE",`Invalid escape sequence ${ae}`);return ae}return String.fromCodePoint(ue)}ie.resolveFlowScalar=resolveFlowScalar},6985:(re,ie)=>{"use strict";function resolveProps(re,{flow:ie,indicator:oe,next:se,offset:ae,onError:ce,parentIndent:ue,startOnNewline:le}){let fe=false;let de=le;let pe=le;let he="";let Ae="";let ge=false;let me=false;let ye=null;let ve=null;let be=null;let we=null;let _e=null;let Ee=null;let Ce=null;for(const ae of re){if(me){if(ae.type!=="space"&&ae.type!=="newline"&&ae.type!=="comma")ce(ae.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space");me=false}if(ye){if(de&&ae.type!=="comment"&&ae.type!=="newline"){ce(ye,"TAB_AS_INDENT","Tabs are not allowed as indentation")}ye=null}switch(ae.type){case"space":if(!ie&&(oe!=="doc-start"||se?.type!=="flow-collection")&&ae.source.includes("\t")){ye=ae}pe=true;break;case"comment":{if(!pe)ce(ae,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const re=ae.source.substring(1)||" ";if(!he)he=re;else he+=Ae+re;Ae="";de=false;break}case"newline":if(de){if(he)he+=ae.source;else fe=true}else Ae+=ae.source;de=true;ge=true;if(ve||be)we=ae;pe=true;break;case"anchor":if(ve)ce(ae,"MULTIPLE_ANCHORS","A node can have at most one anchor");if(ae.source.endsWith(":"))ce(ae.offset+ae.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",true);ve=ae;if(Ce===null)Ce=ae.offset;de=false;pe=false;me=true;break;case"tag":{if(be)ce(ae,"MULTIPLE_TAGS","A node can have at most one tag");be=ae;if(Ce===null)Ce=ae.offset;de=false;pe=false;me=true;break}case oe:if(ve||be)ce(ae,"BAD_PROP_ORDER",`Anchors and tags must be after the ${ae.source} indicator`);if(Ee)ce(ae,"UNEXPECTED_TOKEN",`Unexpected ${ae.source} in ${ie??"collection"}`);Ee=ae;de=oe==="seq-item-ind"||oe==="explicit-key-ind";pe=false;break;case"comma":if(ie){if(_e)ce(ae,"UNEXPECTED_TOKEN",`Unexpected , in ${ie}`);_e=ae;de=false;pe=false;break}default:ce(ae,"UNEXPECTED_TOKEN",`Unexpected ${ae.type} token`);de=false;pe=false}}const Ie=re[re.length-1];const Se=Ie?Ie.offset+Ie.source.length:ae;if(me&&se&&se.type!=="space"&&se.type!=="newline"&&se.type!=="comma"&&(se.type!=="scalar"||se.source!=="")){ce(se.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space")}if(ye&&(de&&ye.indent<=ue||se?.type==="block-map"||se?.type==="block-seq"))ce(ye,"TAB_AS_INDENT","Tabs are not allowed as indentation");return{comma:_e,found:Ee,spaceBefore:fe,comment:he,hasNewline:ge,anchor:ve,tag:be,newlineAfterProp:we,end:Se,start:Ce??Se}}ie.resolveProps=resolveProps},40976:(re,ie)=>{"use strict";function containsNewline(re){if(!re)return null;switch(re.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(re.source.includes("\n"))return true;if(re.end)for(const ie of re.end)if(ie.type==="newline")return true;return false;case"flow-collection":for(const ie of re.items){for(const re of ie.start)if(re.type==="newline")return true;if(ie.sep)for(const re of ie.sep)if(re.type==="newline")return true;if(containsNewline(ie.key)||containsNewline(ie.value))return true}return false;default:return true}}ie.containsNewline=containsNewline},78781:(re,ie)=>{"use strict";function emptyScalarPosition(re,ie,oe){if(ie){if(oe===null)oe=ie.length;for(let se=oe-1;se>=0;--se){let oe=ie[se];switch(oe.type){case"space":case"comment":case"newline":re-=oe.source.length;continue}oe=ie[++se];while(oe?.type==="space"){re+=oe.source.length;oe=ie[++se]}break}}return re}ie.emptyScalarPosition=emptyScalarPosition},83669:(re,ie,oe)=>{"use strict";var se=oe(40976);function flowIndentCheck(re,ie,oe){if(ie?.type==="flow-collection"){const ae=ie.end[0];if(ae.indent===re&&(ae.source==="]"||ae.source==="}")&&se.containsNewline(ie)){const re="Flow end indicator should be more indented than parent";oe(ae,"BAD_INDENT",re,true)}}}ie.flowIndentCheck=flowIndentCheck},66899:(re,ie,oe)=>{"use strict";var se=oe(15589);function mapIncludes(re,ie,oe){const{uniqueKeys:ae}=re.options;if(ae===false)return false;const ce=typeof ae==="function"?ae:(ie,oe)=>ie===oe||se.isScalar(ie)&&se.isScalar(oe)&&ie.value===oe.value&&!(ie.value==="<<"&&re.schema.merge);return ie.some((re=>ce(re.key,oe)))}ie.mapIncludes=mapIncludes},10042:(re,ie,oe)=>{"use strict";var se=oe(5639);var ae=oe(3466);var ce=oe(15589);var ue=oe(246);var le=oe(72463);var fe=oe(56831);var de=oe(35225);var pe=oe(28459);var he=oe(63412);var Ae=oe(9652);var ge=oe(5400);class Document{constructor(re,ie,oe){this.commentBefore=null;this.comment=null;this.errors=[];this.warnings=[];Object.defineProperty(this,ce.NODE_TYPE,{value:ce.DOC});let se=null;if(typeof ie==="function"||Array.isArray(ie)){se=ie}else if(oe===undefined&&ie){oe=ie;ie=undefined}const ae=Object.assign({intAsBigInt:false,keepSourceTokens:false,logLevel:"warn",prettyErrors:true,strict:true,uniqueKeys:true,version:"1.2"},oe);this.options=ae;let{version:ue}=ae;if(oe?._directives){this.directives=oe._directives.atDocument();if(this.directives.yaml.explicit)ue=this.directives.yaml.version}else this.directives=new ge.Directives({version:ue});this.setSchema(ue,oe);this.contents=re===undefined?null:this.createNode(re,se,oe)}clone(){const re=Object.create(Document.prototype,{[ce.NODE_TYPE]:{value:ce.DOC}});re.commentBefore=this.commentBefore;re.comment=this.comment;re.errors=this.errors.slice();re.warnings=this.warnings.slice();re.options=Object.assign({},this.options);if(this.directives)re.directives=this.directives.clone();re.schema=this.schema.clone();re.contents=ce.isNode(this.contents)?this.contents.clone(re.schema):this.contents;if(this.range)re.range=this.range.slice();return re}add(re){if(assertCollection(this.contents))this.contents.add(re)}addIn(re,ie){if(assertCollection(this.contents))this.contents.addIn(re,ie)}createAlias(re,ie){if(!re.anchor){const oe=pe.anchorNames(this);re.anchor=!ie||oe.has(ie)?pe.findNewAnchor(ie||"a",oe):ie}return new se.Alias(re.anchor)}createNode(re,ie,oe){let se=undefined;if(typeof ie==="function"){re=ie.call({"":re},"",re);se=ie}else if(Array.isArray(ie)){const keyToStr=re=>typeof re==="number"||re instanceof String||re instanceof Number;const re=ie.filter(keyToStr).map(String);if(re.length>0)ie=ie.concat(re);se=ie}else if(oe===undefined&&ie){oe=ie;ie=undefined}const{aliasDuplicateObjects:ae,anchorPrefix:ue,flow:le,keepUndefined:fe,onTagObj:de,tag:he}=oe??{};const{onAnchor:ge,setAnchors:me,sourceObjects:ye}=pe.createNodeAnchors(this,ue||"a");const ve={aliasDuplicateObjects:ae??true,keepUndefined:fe??false,onAnchor:ge,onTagObj:de,replacer:se,schema:this.schema,sourceObjects:ye};const be=Ae.createNode(re,he,ve);if(le&&ce.isCollection(be))be.flow=true;me();return be}createPair(re,ie,oe={}){const se=this.createNode(re,null,oe);const ae=this.createNode(ie,null,oe);return new ue.Pair(se,ae)}delete(re){return assertCollection(this.contents)?this.contents.delete(re):false}deleteIn(re){if(ae.isEmptyPath(re)){if(this.contents==null)return false;this.contents=null;return true}return assertCollection(this.contents)?this.contents.deleteIn(re):false}get(re,ie){return ce.isCollection(this.contents)?this.contents.get(re,ie):undefined}getIn(re,ie){if(ae.isEmptyPath(re))return!ie&&ce.isScalar(this.contents)?this.contents.value:this.contents;return ce.isCollection(this.contents)?this.contents.getIn(re,ie):undefined}has(re){return ce.isCollection(this.contents)?this.contents.has(re):false}hasIn(re){if(ae.isEmptyPath(re))return this.contents!==undefined;return ce.isCollection(this.contents)?this.contents.hasIn(re):false}set(re,ie){if(this.contents==null){this.contents=ae.collectionFromPath(this.schema,[re],ie)}else if(assertCollection(this.contents)){this.contents.set(re,ie)}}setIn(re,ie){if(ae.isEmptyPath(re)){this.contents=ie}else if(this.contents==null){this.contents=ae.collectionFromPath(this.schema,Array.from(re),ie)}else if(assertCollection(this.contents)){this.contents.setIn(re,ie)}}setSchema(re,ie={}){if(typeof re==="number")re=String(re);let oe;switch(re){case"1.1":if(this.directives)this.directives.yaml.version="1.1";else this.directives=new ge.Directives({version:"1.1"});oe={merge:true,resolveKnownTags:false,schema:"yaml-1.1"};break;case"1.2":case"next":if(this.directives)this.directives.yaml.version=re;else this.directives=new ge.Directives({version:re});oe={merge:false,resolveKnownTags:true,schema:"core"};break;case null:if(this.directives)delete this.directives;oe=null;break;default:{const ie=JSON.stringify(re);throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${ie}`)}}if(ie.schema instanceof Object)this.schema=ie.schema;else if(oe)this.schema=new fe.Schema(Object.assign(oe,ie));else throw new Error(`With a null YAML version, the { schema: Schema } option is required`)}toJS({json:re,jsonArg:ie,mapAsMap:oe,maxAliasCount:se,onAnchor:ae,reviver:ce}={}){const ue={anchors:new Map,doc:this,keep:!re,mapAsMap:oe===true,mapKeyWarned:false,maxAliasCount:typeof se==="number"?se:100};const fe=le.toJS(this.contents,ie??"",ue);if(typeof ae==="function")for(const{count:re,res:ie}of ue.anchors.values())ae(ie,re);return typeof ce==="function"?he.applyReviver(ce,{"":fe},"",fe):fe}toJSON(re,ie){return this.toJS({json:true,jsonArg:re,mapAsMap:false,onAnchor:ie})}toString(re={}){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");if("indent"in re&&(!Number.isInteger(re.indent)||Number(re.indent)<=0)){const ie=JSON.stringify(re.indent);throw new Error(`"indent" option must be a positive integer, not ${ie}`)}return de.stringifyDocument(this,re)}}function assertCollection(re){if(ce.isCollection(re))return true;throw new Error("Expected a YAML collection as document contents")}ie.Document=Document},28459:(re,ie,oe)=>{"use strict";var se=oe(15589);var ae=oe(16796);function anchorIsValid(re){if(/[\x00-\x19\s,[\]{}]/.test(re)){const ie=JSON.stringify(re);const oe=`Anchor must not contain whitespace or control characters: ${ie}`;throw new Error(oe)}return true}function anchorNames(re){const ie=new Set;ae.visit(re,{Value(re,oe){if(oe.anchor)ie.add(oe.anchor)}});return ie}function findNewAnchor(re,ie){for(let oe=1;true;++oe){const se=`${re}${oe}`;if(!ie.has(se))return se}}function createNodeAnchors(re,ie){const oe=[];const ae=new Map;let ce=null;return{onAnchor:se=>{oe.push(se);if(!ce)ce=anchorNames(re);const ae=findNewAnchor(ie,ce);ce.add(ae);return ae},setAnchors:()=>{for(const re of oe){const ie=ae.get(re);if(typeof ie==="object"&&ie.anchor&&(se.isScalar(ie.node)||se.isCollection(ie.node))){ie.node.anchor=ie.anchor}else{const ie=new Error("Failed to resolve repeated object (this should not happen)");ie.source=re;throw ie}}},sourceObjects:ae}}ie.anchorIsValid=anchorIsValid;ie.anchorNames=anchorNames;ie.createNodeAnchors=createNodeAnchors;ie.findNewAnchor=findNewAnchor},63412:(re,ie)=>{"use strict";function applyReviver(re,ie,oe,se){if(se&&typeof se==="object"){if(Array.isArray(se)){for(let ie=0,oe=se.length;ie{"use strict";var se=oe(5639);var ae=oe(15589);var ce=oe(9338);const ue="tag:yaml.org,2002:";function findTagObject(re,ie,oe){if(ie){const re=oe.filter((re=>re.tag===ie));const se=re.find((re=>!re.format))??re[0];if(!se)throw new Error(`Tag ${ie} not found`);return se}return oe.find((ie=>ie.identify?.(re)&&!ie.format))}function createNode(re,ie,oe){if(ae.isDocument(re))re=re.contents;if(ae.isNode(re))return re;if(ae.isPair(re)){const ie=oe.schema[ae.MAP].createNode?.(oe.schema,null,oe);ie.items.push(re);return ie}if(re instanceof String||re instanceof Number||re instanceof Boolean||typeof BigInt!=="undefined"&&re instanceof BigInt){re=re.valueOf()}const{aliasDuplicateObjects:le,onAnchor:fe,onTagObj:de,schema:pe,sourceObjects:he}=oe;let Ae=undefined;if(le&&re&&typeof re==="object"){Ae=he.get(re);if(Ae){if(!Ae.anchor)Ae.anchor=fe(re);return new se.Alias(Ae.anchor)}else{Ae={anchor:null,node:null};he.set(re,Ae)}}if(ie?.startsWith("!!"))ie=ue+ie.slice(2);let ge=findTagObject(re,ie,pe.tags);if(!ge){if(re&&typeof re.toJSON==="function"){re=re.toJSON()}if(!re||typeof re!=="object"){const ie=new ce.Scalar(re);if(Ae)Ae.node=ie;return ie}ge=re instanceof Map?pe[ae.MAP]:Symbol.iterator in Object(re)?pe[ae.SEQ]:pe[ae.MAP]}if(de){de(ge);delete oe.onTagObj}const me=ge?.createNode?ge.createNode(oe.schema,re,oe):typeof ge?.nodeClass?.from==="function"?ge.nodeClass.from(oe.schema,re,oe):new ce.Scalar(re);if(ie)me.tag=ie;else if(!ge.default)me.tag=ge.tag;if(Ae)Ae.node=me;return me}ie.createNode=createNode},5400:(re,ie,oe)=>{"use strict";var se=oe(15589);var ae=oe(16796);const ce={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"};const escapeTagName=re=>re.replace(/[!,[\]{}]/g,(re=>ce[re]));class Directives{constructor(re,ie){this.docStart=null;this.docEnd=false;this.yaml=Object.assign({},Directives.defaultYaml,re);this.tags=Object.assign({},Directives.defaultTags,ie)}clone(){const re=new Directives(this.yaml,this.tags);re.docStart=this.docStart;return re}atDocument(){const re=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 re}add(re,ie){if(this.atNextDocument){this.yaml={explicit:Directives.defaultYaml.explicit,version:"1.1"};this.tags=Object.assign({},Directives.defaultTags);this.atNextDocument=false}const oe=re.trim().split(/[ \t]+/);const se=oe.shift();switch(se){case"%TAG":{if(oe.length!==2){ie(0,"%TAG directive should contain exactly two parts");if(oe.length<2)return false}const[re,se]=oe;this.tags[re]=se;return true}case"%YAML":{this.yaml.explicit=true;if(oe.length!==1){ie(0,"%YAML directive should contain exactly one part");return false}const[re]=oe;if(re==="1.1"||re==="1.2"){this.yaml.version=re;return true}else{const oe=/^\d+\.\d+$/.test(re);ie(6,`Unsupported YAML version ${re}`,oe);return false}}default:ie(0,`Unknown directive ${se}`,true);return false}}tagName(re,ie){if(re==="!")return"!";if(re[0]!=="!"){ie(`Not a valid tag: ${re}`);return null}if(re[1]==="<"){const oe=re.slice(2,-1);if(oe==="!"||oe==="!!"){ie(`Verbatim tags aren't resolved, so ${re} is invalid.`);return null}if(re[re.length-1]!==">")ie("Verbatim tags must end with a >");return oe}const[,oe,se]=re.match(/^(.*!)([^!]*)$/s);if(!se)ie(`The ${re} tag has no suffix`);const ae=this.tags[oe];if(ae){try{return ae+decodeURIComponent(se)}catch(re){ie(String(re));return null}}if(oe==="!")return re;ie(`Could not resolve tag: ${re}`);return null}tagString(re){for(const[ie,oe]of Object.entries(this.tags)){if(re.startsWith(oe))return ie+escapeTagName(re.substring(oe.length))}return re[0]==="!"?re:`!<${re}>`}toString(re){const ie=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[];const oe=Object.entries(this.tags);let ce;if(re&&oe.length>0&&se.isNode(re.contents)){const ie={};ae.visit(re.contents,((re,oe)=>{if(se.isNode(oe)&&oe.tag)ie[oe.tag]=true}));ce=Object.keys(ie)}else ce=[];for(const[se,ae]of oe){if(se==="!!"&&ae==="tag:yaml.org,2002:")continue;if(!re||ce.some((re=>re.startsWith(ae))))ie.push(`%TAG ${se} ${ae}`)}return ie.join("\n")}}Directives.defaultYaml={explicit:false,version:"1.2"};Directives.defaultTags={"!!":"tag:yaml.org,2002:"};ie.Directives=Directives},14236:(re,ie)=>{"use strict";class YAMLError extends Error{constructor(re,ie,oe,se){super();this.name=re;this.code=oe;this.message=se;this.pos=ie}}class YAMLParseError extends YAMLError{constructor(re,ie,oe){super("YAMLParseError",re,ie,oe)}}class YAMLWarning extends YAMLError{constructor(re,ie,oe){super("YAMLWarning",re,ie,oe)}}const prettifyError=(re,ie)=>oe=>{if(oe.pos[0]===-1)return;oe.linePos=oe.pos.map((re=>ie.linePos(re)));const{line:se,col:ae}=oe.linePos[0];oe.message+=` at line ${se}, column ${ae}`;let ce=ae-1;let ue=re.substring(ie.lineStarts[se-1],ie.lineStarts[se]).replace(/[\n\r]+$/,"");if(ce>=60&&ue.length>80){const re=Math.min(ce-39,ue.length-79);ue="…"+ue.substring(re);ce-=re-1}if(ue.length>80)ue=ue.substring(0,79)+"…";if(se>1&&/^ *$/.test(ue.substring(0,ce))){let oe=re.substring(ie.lineStarts[se-2],ie.lineStarts[se-1]);if(oe.length>80)oe=oe.substring(0,79)+"…\n";ue=oe+ue}if(/[^ ]/.test(ue)){let re=1;const ie=oe.linePos[1];if(ie&&ie.line===se&&ie.col>ae){re=Math.max(1,Math.min(ie.col-ae,80-ce))}const le=" ".repeat(ce)+"^".repeat(re);oe.message+=`:\n\n${ue}\n${le}\n`}};ie.YAMLError=YAMLError;ie.YAMLParseError=YAMLParseError;ie.YAMLWarning=YAMLWarning;ie.prettifyError=prettifyError},44083:(re,ie,oe)=>{"use strict";var se=oe(19493);var ae=oe(10042);var ce=oe(56831);var ue=oe(14236);var le=oe(5639);var fe=oe(15589);var de=oe(246);var pe=oe(9338);var he=oe(16011);var Ae=oe(25161);var ge=oe(19169);var me=oe(45976);var ye=oe(21929);var ve=oe(73328);var be=oe(28649);var we=oe(16796);ie.Composer=se.Composer;ie.Document=ae.Document;ie.Schema=ce.Schema;ie.YAMLError=ue.YAMLError;ie.YAMLParseError=ue.YAMLParseError;ie.YAMLWarning=ue.YAMLWarning;ie.Alias=le.Alias;ie.isAlias=fe.isAlias;ie.isCollection=fe.isCollection;ie.isDocument=fe.isDocument;ie.isMap=fe.isMap;ie.isNode=fe.isNode;ie.isPair=fe.isPair;ie.isScalar=fe.isScalar;ie.isSeq=fe.isSeq;ie.Pair=de.Pair;ie.Scalar=pe.Scalar;ie.YAMLMap=he.YAMLMap;ie.YAMLSeq=Ae.YAMLSeq;ie.CST=ge;ie.Lexer=me.Lexer;ie.LineCounter=ye.LineCounter;ie.Parser=ve.Parser;ie.parse=be.parse;ie.parseAllDocuments=be.parseAllDocuments;ie.parseDocument=be.parseDocument;ie.stringify=be.stringify;ie.visit=we.visit;ie.visitAsync=we.visitAsync},36909:(re,ie)=>{"use strict";function debug(re,...ie){if(re==="debug")console.log(...ie)}function warn(re,ie){if(re==="debug"||re==="warn"){if(typeof process!=="undefined"&&process.emitWarning)process.emitWarning(ie);else console.warn(ie)}}ie.debug=debug;ie.warn=warn},5639:(re,ie,oe)=>{"use strict";var se=oe(28459);var ae=oe(16796);var ce=oe(15589);var ue=oe(41399);var le=oe(72463);class Alias extends ue.NodeBase{constructor(re){super(ce.ALIAS);this.source=re;Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(re){let ie=undefined;ae.visit(re,{Node:(re,oe)=>{if(oe===this)return ae.visit.BREAK;if(oe.anchor===this.source)ie=oe}});return ie}toJSON(re,ie){if(!ie)return{source:this.source};const{anchors:oe,doc:se,maxAliasCount:ae}=ie;const ce=this.resolve(se);if(!ce){const re=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(re)}let ue=oe.get(ce);if(!ue){le.toJS(ce,null,ie);ue=oe.get(ce)}if(!ue||ue.res===undefined){const re="This should not happen: Alias anchor was not resolved?";throw new ReferenceError(re)}if(ae>=0){ue.count+=1;if(ue.aliasCount===0)ue.aliasCount=getAliasCount(se,ce,oe);if(ue.count*ue.aliasCount>ae){const re="Excessive alias count indicates a resource exhaustion attack";throw new ReferenceError(re)}}return ue.res}toString(re,ie,oe){const ae=`*${this.source}`;if(re){se.anchorIsValid(this.source);if(re.options.verifyAliasOrder&&!re.anchors.has(this.source)){const re=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(re)}if(re.implicitKey)return`${ae} `}return ae}}function getAliasCount(re,ie,oe){if(ce.isAlias(ie)){const se=ie.resolve(re);const ae=oe&&se&&oe.get(se);return ae?ae.count*ae.aliasCount:0}else if(ce.isCollection(ie)){let se=0;for(const ae of ie.items){const ie=getAliasCount(re,ae,oe);if(ie>se)se=ie}return se}else if(ce.isPair(ie)){const se=getAliasCount(re,ie.key,oe);const ae=getAliasCount(re,ie.value,oe);return Math.max(se,ae)}return 1}ie.Alias=Alias},3466:(re,ie,oe)=>{"use strict";var se=oe(9652);var ae=oe(15589);var ce=oe(41399);function collectionFromPath(re,ie,oe){let ae=oe;for(let re=ie.length-1;re>=0;--re){const oe=ie[re];if(typeof oe==="number"&&Number.isInteger(oe)&&oe>=0){const re=[];re[oe]=ae;ae=re}else{ae=new Map([[oe,ae]])}}return se.createNode(ae,undefined,{aliasDuplicateObjects:false,keepUndefined:false,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:re,sourceObjects:new Map})}const isEmptyPath=re=>re==null||typeof re==="object"&&!!re[Symbol.iterator]().next().done;class Collection extends ce.NodeBase{constructor(re,ie){super(re);Object.defineProperty(this,"schema",{value:ie,configurable:true,enumerable:false,writable:true})}clone(re){const ie=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));if(re)ie.schema=re;ie.items=ie.items.map((ie=>ae.isNode(ie)||ae.isPair(ie)?ie.clone(re):ie));if(this.range)ie.range=this.range.slice();return ie}addIn(re,ie){if(isEmptyPath(re))this.add(ie);else{const[oe,...se]=re;const ce=this.get(oe,true);if(ae.isCollection(ce))ce.addIn(se,ie);else if(ce===undefined&&this.schema)this.set(oe,collectionFromPath(this.schema,se,ie));else throw new Error(`Expected YAML collection at ${oe}. Remaining path: ${se}`)}}deleteIn(re){const[ie,...oe]=re;if(oe.length===0)return this.delete(ie);const se=this.get(ie,true);if(ae.isCollection(se))return se.deleteIn(oe);else throw new Error(`Expected YAML collection at ${ie}. Remaining path: ${oe}`)}getIn(re,ie){const[oe,...se]=re;const ce=this.get(oe,true);if(se.length===0)return!ie&&ae.isScalar(ce)?ce.value:ce;else return ae.isCollection(ce)?ce.getIn(se,ie):undefined}hasAllNullValues(re){return this.items.every((ie=>{if(!ae.isPair(ie))return false;const oe=ie.value;return oe==null||re&&ae.isScalar(oe)&&oe.value==null&&!oe.commentBefore&&!oe.comment&&!oe.tag}))}hasIn(re){const[ie,...oe]=re;if(oe.length===0)return this.has(ie);const se=this.get(ie,true);return ae.isCollection(se)?se.hasIn(oe):false}setIn(re,ie){const[oe,...se]=re;if(se.length===0){this.set(oe,ie)}else{const re=this.get(oe,true);if(ae.isCollection(re))re.setIn(se,ie);else if(re===undefined&&this.schema)this.set(oe,collectionFromPath(this.schema,se,ie));else throw new Error(`Expected YAML collection at ${oe}. Remaining path: ${se}`)}}}ie.Collection=Collection;ie.collectionFromPath=collectionFromPath;ie.isEmptyPath=isEmptyPath},41399:(re,ie,oe)=>{"use strict";var se=oe(63412);var ae=oe(15589);var ce=oe(72463);class NodeBase{constructor(re){Object.defineProperty(this,ae.NODE_TYPE,{value:re})}clone(){const re=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));if(this.range)re.range=this.range.slice();return re}toJS(re,{mapAsMap:ie,maxAliasCount:oe,onAnchor:ue,reviver:le}={}){if(!ae.isDocument(re))throw new TypeError("A document argument is required");const fe={anchors:new Map,doc:re,keep:true,mapAsMap:ie===true,mapKeyWarned:false,maxAliasCount:typeof oe==="number"?oe:100};const de=ce.toJS(this,"",fe);if(typeof ue==="function")for(const{count:re,res:ie}of fe.anchors.values())ue(ie,re);return typeof le==="function"?se.applyReviver(le,{"":de},"",de):de}}ie.NodeBase=NodeBase},246:(re,ie,oe)=>{"use strict";var se=oe(9652);var ae=oe(4875);var ce=oe(94676);var ue=oe(15589);function createPair(re,ie,oe){const ae=se.createNode(re,undefined,oe);const ce=se.createNode(ie,undefined,oe);return new Pair(ae,ce)}class Pair{constructor(re,ie=null){Object.defineProperty(this,ue.NODE_TYPE,{value:ue.PAIR});this.key=re;this.value=ie}clone(re){let{key:ie,value:oe}=this;if(ue.isNode(ie))ie=ie.clone(re);if(ue.isNode(oe))oe=oe.clone(re);return new Pair(ie,oe)}toJSON(re,ie){const oe=ie?.mapAsMap?new Map:{};return ce.addPairToJSMap(ie,oe,this)}toString(re,ie,oe){return re?.doc?ae.stringifyPair(this,re,ie,oe):JSON.stringify(this)}}ie.Pair=Pair;ie.createPair=createPair},9338:(re,ie,oe)=>{"use strict";var se=oe(15589);var ae=oe(41399);var ce=oe(72463);const isScalarValue=re=>!re||typeof re!=="function"&&typeof re!=="object";class Scalar extends ae.NodeBase{constructor(re){super(se.SCALAR);this.value=re}toJSON(re,ie){return ie?.keep?this.value:ce.toJS(this.value,re,ie)}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";ie.Scalar=Scalar;ie.isScalarValue=isScalarValue},16011:(re,ie,oe)=>{"use strict";var se=oe(22466);var ae=oe(94676);var ce=oe(3466);var ue=oe(15589);var le=oe(246);var fe=oe(9338);function findPair(re,ie){const oe=ue.isScalar(ie)?ie.value:ie;for(const se of re){if(ue.isPair(se)){if(se.key===ie||se.key===oe)return se;if(ue.isScalar(se.key)&&se.key.value===oe)return se}}return undefined}class YAMLMap extends ce.Collection{static get tagName(){return"tag:yaml.org,2002:map"}constructor(re){super(ue.MAP,re);this.items=[]}static from(re,ie,oe){const{keepUndefined:se,replacer:ae}=oe;const ce=new this(re);const add=(re,ue)=>{if(typeof ae==="function")ue=ae.call(ie,re,ue);else if(Array.isArray(ae)&&!ae.includes(re))return;if(ue!==undefined||se)ce.items.push(le.createPair(re,ue,oe))};if(ie instanceof Map){for(const[re,oe]of ie)add(re,oe)}else if(ie&&typeof ie==="object"){for(const re of Object.keys(ie))add(re,ie[re])}if(typeof re.sortMapEntries==="function"){ce.items.sort(re.sortMapEntries)}return ce}add(re,ie){let oe;if(ue.isPair(re))oe=re;else if(!re||typeof re!=="object"||!("key"in re)){oe=new le.Pair(re,re?.value)}else oe=new le.Pair(re.key,re.value);const se=findPair(this.items,oe.key);const ae=this.schema?.sortMapEntries;if(se){if(!ie)throw new Error(`Key ${oe.key} already set`);if(ue.isScalar(se.value)&&fe.isScalarValue(oe.value))se.value.value=oe.value;else se.value=oe.value}else if(ae){const re=this.items.findIndex((re=>ae(oe,re)<0));if(re===-1)this.items.push(oe);else this.items.splice(re,0,oe)}else{this.items.push(oe)}}delete(re){const ie=findPair(this.items,re);if(!ie)return false;const oe=this.items.splice(this.items.indexOf(ie),1);return oe.length>0}get(re,ie){const oe=findPair(this.items,re);const se=oe?.value;return(!ie&&ue.isScalar(se)?se.value:se)??undefined}has(re){return!!findPair(this.items,re)}set(re,ie){this.add(new le.Pair(re,ie),true)}toJSON(re,ie,oe){const se=oe?new oe:ie?.mapAsMap?new Map:{};if(ie?.onCreate)ie.onCreate(se);for(const re of this.items)ae.addPairToJSMap(ie,se,re);return se}toString(re,ie,oe){if(!re)return JSON.stringify(this);for(const re of this.items){if(!ue.isPair(re))throw new Error(`Map items must all be pairs; found ${JSON.stringify(re)} instead`)}if(!re.allNullValues&&this.hasAllNullValues(false))re=Object.assign({},re,{allNullValues:true});return se.stringifyCollection(this,re,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:re.indent||"",onChompKeep:oe,onComment:ie})}}ie.YAMLMap=YAMLMap;ie.findPair=findPair},25161:(re,ie,oe)=>{"use strict";var se=oe(9652);var ae=oe(22466);var ce=oe(3466);var ue=oe(15589);var le=oe(9338);var fe=oe(72463);class YAMLSeq extends ce.Collection{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(re){super(ue.SEQ,re);this.items=[]}add(re){this.items.push(re)}delete(re){const ie=asItemIndex(re);if(typeof ie!=="number")return false;const oe=this.items.splice(ie,1);return oe.length>0}get(re,ie){const oe=asItemIndex(re);if(typeof oe!=="number")return undefined;const se=this.items[oe];return!ie&&ue.isScalar(se)?se.value:se}has(re){const ie=asItemIndex(re);return typeof ie==="number"&&ie=0?ie:null}ie.YAMLSeq=YAMLSeq},94676:(re,ie,oe)=>{"use strict";var se=oe(36909);var ae=oe(18409);var ce=oe(15589);var ue=oe(9338);var le=oe(72463);const fe="<<";function addPairToJSMap(re,ie,{key:oe,value:se}){if(re?.doc.schema.merge&&isMergeKey(oe)){se=ce.isAlias(se)?se.resolve(re.doc):se;if(ce.isSeq(se))for(const oe of se.items)mergeToJSMap(re,ie,oe);else if(Array.isArray(se))for(const oe of se)mergeToJSMap(re,ie,oe);else mergeToJSMap(re,ie,se)}else{const ae=le.toJS(oe,"",re);if(ie instanceof Map){ie.set(ae,le.toJS(se,ae,re))}else if(ie instanceof Set){ie.add(ae)}else{const ce=stringifyKey(oe,ae,re);const ue=le.toJS(se,ce,re);if(ce in ie)Object.defineProperty(ie,ce,{value:ue,writable:true,enumerable:true,configurable:true});else ie[ce]=ue}}return ie}const isMergeKey=re=>re===fe||ce.isScalar(re)&&re.value===fe&&(!re.type||re.type===ue.Scalar.PLAIN);function mergeToJSMap(re,ie,oe){const se=re&&ce.isAlias(oe)?oe.resolve(re.doc):oe;if(!ce.isMap(se))throw new Error("Merge sources must be maps or map aliases");const ae=se.toJSON(null,re,Map);for(const[re,oe]of ae){if(ie instanceof Map){if(!ie.has(re))ie.set(re,oe)}else if(ie instanceof Set){ie.add(re)}else if(!Object.prototype.hasOwnProperty.call(ie,re)){Object.defineProperty(ie,re,{value:oe,writable:true,enumerable:true,configurable:true})}}return ie}function stringifyKey(re,ie,oe){if(ie===null)return"";if(typeof ie!=="object")return String(ie);if(ce.isNode(re)&&oe?.doc){const ie=ae.createStringifyContext(oe.doc,{});ie.anchors=new Set;for(const re of oe.anchors.keys())ie.anchors.add(re.anchor);ie.inFlow=true;ie.inStringifyKey=true;const ce=re.toString(ie);if(!oe.mapKeyWarned){let re=JSON.stringify(ce);if(re.length>40)re=re.substring(0,36)+'..."';se.warn(oe.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${re}. Set mapAsMap: true to use object keys.`);oe.mapKeyWarned=true}return ce}return JSON.stringify(ie)}ie.addPairToJSMap=addPairToJSMap},15589:(re,ie)=>{"use strict";const oe=Symbol.for("yaml.alias");const se=Symbol.for("yaml.document");const ae=Symbol.for("yaml.map");const ce=Symbol.for("yaml.pair");const ue=Symbol.for("yaml.scalar");const le=Symbol.for("yaml.seq");const fe=Symbol.for("yaml.node.type");const isAlias=re=>!!re&&typeof re==="object"&&re[fe]===oe;const isDocument=re=>!!re&&typeof re==="object"&&re[fe]===se;const isMap=re=>!!re&&typeof re==="object"&&re[fe]===ae;const isPair=re=>!!re&&typeof re==="object"&&re[fe]===ce;const isScalar=re=>!!re&&typeof re==="object"&&re[fe]===ue;const isSeq=re=>!!re&&typeof re==="object"&&re[fe]===le;function isCollection(re){if(re&&typeof re==="object")switch(re[fe]){case ae:case le:return true}return false}function isNode(re){if(re&&typeof re==="object")switch(re[fe]){case oe:case ae:case ue:case le:return true}return false}const hasAnchor=re=>(isScalar(re)||isCollection(re))&&!!re.anchor;ie.ALIAS=oe;ie.DOC=se;ie.MAP=ae;ie.NODE_TYPE=fe;ie.PAIR=ce;ie.SCALAR=ue;ie.SEQ=le;ie.hasAnchor=hasAnchor;ie.isAlias=isAlias;ie.isCollection=isCollection;ie.isDocument=isDocument;ie.isMap=isMap;ie.isNode=isNode;ie.isPair=isPair;ie.isScalar=isScalar;ie.isSeq=isSeq},72463:(re,ie,oe)=>{"use strict";var se=oe(15589);function toJS(re,ie,oe){if(Array.isArray(re))return re.map(((re,ie)=>toJS(re,String(ie),oe)));if(re&&typeof re.toJSON==="function"){if(!oe||!se.hasAnchor(re))return re.toJSON(ie,oe);const ae={aliasCount:0,count:1,res:undefined};oe.anchors.set(re,ae);oe.onCreate=re=>{ae.res=re;delete oe.onCreate};const ce=re.toJSON(ie,oe);if(oe.onCreate)oe.onCreate(ce);return ce}if(typeof re==="bigint"&&!oe?.keep)return Number(re);return re}ie.toJS=toJS},89027:(re,ie,oe)=>{"use strict";var se=oe(89485);var ae=oe(97578);var ce=oe(14236);var ue=oe(46226);function resolveAsScalar(re,ie=true,oe){if(re){const _onError=(re,ie,se)=>{const ae=typeof re==="number"?re:Array.isArray(re)?re[0]:re.offset;if(oe)oe(ae,ie,se);else throw new ce.YAMLParseError([ae,ae+1],ie,se)};switch(re.type){case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return ae.resolveFlowScalar(re,ie,_onError);case"block-scalar":return se.resolveBlockScalar({options:{strict:ie}},re,_onError)}}return null}function createScalarToken(re,ie){const{implicitKey:oe=false,indent:se,inFlow:ae=false,offset:ce=-1,type:le="PLAIN"}=ie;const fe=ue.stringifyString({type:le,value:re},{implicitKey:oe,indent:se>0?" ".repeat(se):"",inFlow:ae,options:{blockQuote:true,lineWidth:-1}});const de=ie.end??[{type:"newline",offset:-1,indent:se,source:"\n"}];switch(fe[0]){case"|":case">":{const re=fe.indexOf("\n");const ie=fe.substring(0,re);const oe=fe.substring(re+1)+"\n";const ae=[{type:"block-scalar-header",offset:ce,indent:se,source:ie}];if(!addEndtoBlockProps(ae,de))ae.push({type:"newline",offset:-1,indent:se,source:"\n"});return{type:"block-scalar",offset:ce,indent:se,props:ae,source:oe}}case'"':return{type:"double-quoted-scalar",offset:ce,indent:se,source:fe,end:de};case"'":return{type:"single-quoted-scalar",offset:ce,indent:se,source:fe,end:de};default:return{type:"scalar",offset:ce,indent:se,source:fe,end:de}}}function setScalarValue(re,ie,oe={}){let{afterKey:se=false,implicitKey:ae=false,inFlow:ce=false,type:le}=oe;let fe="indent"in re?re.indent:null;if(se&&typeof fe==="number")fe+=2;if(!le)switch(re.type){case"single-quoted-scalar":le="QUOTE_SINGLE";break;case"double-quoted-scalar":le="QUOTE_DOUBLE";break;case"block-scalar":{const ie=re.props[0];if(ie.type!=="block-scalar-header")throw new Error("Invalid block scalar header");le=ie.source[0]===">"?"BLOCK_FOLDED":"BLOCK_LITERAL";break}default:le="PLAIN"}const de=ue.stringifyString({type:le,value:ie},{implicitKey:ae||fe===null,indent:fe!==null&&fe>0?" ".repeat(fe):"",inFlow:ce,options:{blockQuote:true,lineWidth:-1}});switch(de[0]){case"|":case">":setBlockScalarValue(re,de);break;case'"':setFlowScalarValue(re,de,"double-quoted-scalar");break;case"'":setFlowScalarValue(re,de,"single-quoted-scalar");break;default:setFlowScalarValue(re,de,"scalar")}}function setBlockScalarValue(re,ie){const oe=ie.indexOf("\n");const se=ie.substring(0,oe);const ae=ie.substring(oe+1)+"\n";if(re.type==="block-scalar"){const ie=re.props[0];if(ie.type!=="block-scalar-header")throw new Error("Invalid block scalar header");ie.source=se;re.source=ae}else{const{offset:ie}=re;const oe="indent"in re?re.indent:-1;const ce=[{type:"block-scalar-header",offset:ie,indent:oe,source:se}];if(!addEndtoBlockProps(ce,"end"in re?re.end:undefined))ce.push({type:"newline",offset:-1,indent:oe,source:"\n"});for(const ie of Object.keys(re))if(ie!=="type"&&ie!=="offset")delete re[ie];Object.assign(re,{type:"block-scalar",indent:oe,props:ce,source:ae})}}function addEndtoBlockProps(re,ie){if(ie)for(const oe of ie)switch(oe.type){case"space":case"comment":re.push(oe);break;case"newline":re.push(oe);return true}return false}function setFlowScalarValue(re,ie,oe){switch(re.type){case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":re.type=oe;re.source=ie;break;case"block-scalar":{const se=re.props.slice(1);let ae=ie.length;if(re.props[0].type==="block-scalar-header")ae-=re.props[0].source.length;for(const re of se)re.offset+=ae;delete re.props;Object.assign(re,{type:oe,source:ie,end:se});break}case"block-map":case"block-seq":{const se=re.offset+ie.length;const ae={type:"newline",offset:se,indent:re.indent,source:"\n"};delete re.items;Object.assign(re,{type:oe,source:ie,end:[ae]});break}default:{const se="indent"in re?re.indent:-1;const ae="end"in re&&Array.isArray(re.end)?re.end.filter((re=>re.type==="space"||re.type==="comment"||re.type==="newline")):[];for(const ie of Object.keys(re))if(ie!=="type"&&ie!=="offset")delete re[ie];Object.assign(re,{type:oe,indent:se,source:ie,end:ae})}}}ie.createScalarToken=createScalarToken;ie.resolveAsScalar=resolveAsScalar;ie.setScalarValue=setScalarValue},86307:(re,ie)=>{"use strict";const stringify=re=>"type"in re?stringifyToken(re):stringifyItem(re);function stringifyToken(re){switch(re.type){case"block-scalar":{let ie="";for(const oe of re.props)ie+=stringifyToken(oe);return ie+re.source}case"block-map":case"block-seq":{let ie="";for(const oe of re.items)ie+=stringifyItem(oe);return ie}case"flow-collection":{let ie=re.start.source;for(const oe of re.items)ie+=stringifyItem(oe);for(const oe of re.end)ie+=oe.source;return ie}case"document":{let ie=stringifyItem(re);if(re.end)for(const oe of re.end)ie+=oe.source;return ie}default:{let ie=re.source;if("end"in re&&re.end)for(const oe of re.end)ie+=oe.source;return ie}}}function stringifyItem({start:re,key:ie,sep:oe,value:se}){let ae="";for(const ie of re)ae+=ie.source;if(ie)ae+=stringifyToken(ie);if(oe)for(const re of oe)ae+=re.source;if(se)ae+=stringifyToken(se);return ae}ie.stringify=stringify},98497:(re,ie)=>{"use strict";const oe=Symbol("break visit");const se=Symbol("skip children");const ae=Symbol("remove item");function visit(re,ie){if("type"in re&&re.type==="document")re={start:re.start,value:re.value};_visit(Object.freeze([]),re,ie)}visit.BREAK=oe;visit.SKIP=se;visit.REMOVE=ae;visit.itemAtPath=(re,ie)=>{let oe=re;for(const[re,se]of ie){const ie=oe?.[re];if(ie&&"items"in ie){oe=ie.items[se]}else return undefined}return oe};visit.parentCollection=(re,ie)=>{const oe=visit.itemAtPath(re,ie.slice(0,-1));const se=ie[ie.length-1][0];const ae=oe?.[se];if(ae&&"items"in ae)return ae;throw new Error("Parent collection not found")};function _visit(re,ie,se){let ce=se(ie,re);if(typeof ce==="symbol")return ce;for(const ue of["key","value"]){const le=ie[ue];if(le&&"items"in le){for(let ie=0;ie{"use strict";var se=oe(89027);var ae=oe(86307);var ce=oe(98497);const ue="\ufeff";const le="";const fe="";const de="";const isCollection=re=>!!re&&"items"in re;const isScalar=re=>!!re&&(re.type==="scalar"||re.type==="single-quoted-scalar"||re.type==="double-quoted-scalar"||re.type==="block-scalar");function prettyToken(re){switch(re){case ue:return"";case le:return"";case fe:return"";case de:return"";default:return JSON.stringify(re)}}function tokenType(re){switch(re){case ue:return"byte-order-mark";case le:return"doc-mode";case fe:return"flow-error-end";case de: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(re[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}ie.createScalarToken=se.createScalarToken;ie.resolveAsScalar=se.resolveAsScalar;ie.setScalarValue=se.setScalarValue;ie.stringify=ae.stringify;ie.visit=ce.visit;ie.BOM=ue;ie.DOCUMENT=le;ie.FLOW_END=fe;ie.SCALAR=de;ie.isCollection=isCollection;ie.isScalar=isScalar;ie.prettyToken=prettyToken;ie.tokenType=tokenType},45976:(re,ie,oe)=>{"use strict";var se=oe(19169);function isEmpty(re){switch(re){case undefined:case" ":case"\n":case"\r":case"\t":return true;default:return false}}const ae=new Set("0123456789ABCDEFabcdef");const ce=new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()");const ue=new Set(",[]{}");const le=new Set(" ,[]{}\n\r\t");const isNotAnchorChar=re=>!re||le.has(re);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(re,ie=false){if(re){if(typeof re!=="string")throw TypeError("source is not a string");this.buffer=this.buffer?this.buffer+re:re;this.lineEndPos=null}this.atEnd=!ie;let oe=this.next??"stream";while(oe&&(ie||this.hasChars(1)))oe=yield*this.parseNext(oe)}atLineEnd(){let re=this.pos;let ie=this.buffer[re];while(ie===" "||ie==="\t")ie=this.buffer[++re];if(!ie||ie==="#"||ie==="\n")return true;if(ie==="\r")return this.buffer[re+1]==="\n";return false}charAt(re){return this.buffer[this.pos+re]}continueScalar(re){let ie=this.buffer[re];if(this.indentNext>0){let oe=0;while(ie===" ")ie=this.buffer[++oe+re];if(ie==="\r"){const ie=this.buffer[oe+re+1];if(ie==="\n"||!ie&&!this.atEnd)return re+oe+1}return ie==="\n"||oe>=this.indentNext||!ie&&!this.atEnd?re+oe:-1}if(ie==="-"||ie==="."){const ie=this.buffer.substr(re,3);if((ie==="---"||ie==="...")&&isEmpty(this.buffer[re+3]))return-1}return re}getLine(){let re=this.lineEndPos;if(typeof re!=="number"||re!==-1&&rethis.indentValue&&!isEmpty(this.charAt(1)))this.indentNext=this.indentValue;return yield*this.parseBlockStart()}*parseBlockStart(){const[re,ie]=this.peek(2);if(!ie&&!this.atEnd)return this.setNext("block-start");if((re==="-"||re==="?"||re===":")&&isEmpty(ie)){const re=(yield*this.pushCount(1))+(yield*this.pushSpaces(true));this.indentNext=this.indentValue+1;this.indentValue+=re;return yield*this.parseBlockStart()}return"doc"}*parseDocument(){yield*this.pushSpaces(true);const re=this.getLine();if(re===null)return this.setNext("doc");let ie=yield*this.pushIndicators();switch(re[ie]){case"#":yield*this.pushCount(re.length-ie);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">":ie+=(yield*this.parseBlockScalarHeader());ie+=(yield*this.pushSpaces(true));yield*this.pushCount(re.length-ie);yield*this.pushNewline();return yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let re,ie;let oe=-1;do{re=yield*this.pushNewline();if(re>0){ie=yield*this.pushSpaces(false);this.indentValue=oe=ie}else{ie=0}ie+=(yield*this.pushSpaces(true))}while(re+ie>0);const ae=this.getLine();if(ae===null)return this.setNext("flow");if(oe!==-1&&oe"0"&&ie<="9")this.blockScalarIndent=Number(ie)-1;else if(ie!=="-")break}return yield*this.pushUntil((re=>isEmpty(re)||re==="#"))}*parseBlockScalar(){let re=this.pos-1;let ie=0;let oe;e:for(let se=this.pos;oe=this.buffer[se];++se){switch(oe){case" ":ie+=1;break;case"\n":re=se;ie=0;break;case"\r":{const re=this.buffer[se+1];if(!re&&!this.atEnd)return this.setNext("block-scalar");if(re==="\n")break}default:break e}}if(!oe&&!this.atEnd)return this.setNext("block-scalar");if(ie>=this.indentNext){if(this.blockScalarIndent===-1)this.indentNext=ie;else{this.indentNext=this.blockScalarIndent+(this.indentNext===0?1:this.indentNext)}do{const ie=this.continueScalar(re+1);if(ie===-1)break;re=this.buffer.indexOf("\n",ie)}while(re!==-1);if(re===-1){if(!this.atEnd)return this.setNext("block-scalar");re=this.buffer.length}}let ae=re+1;oe=this.buffer[ae];while(oe===" ")oe=this.buffer[++ae];if(oe==="\t"){while(oe==="\t"||oe===" "||oe==="\r"||oe==="\n")oe=this.buffer[++ae];re=ae-1}else if(!this.blockScalarKeep){do{let oe=re-1;let se=this.buffer[oe];if(se==="\r")se=this.buffer[--oe];const ae=oe;while(se===" ")se=this.buffer[--oe];if(se==="\n"&&oe>=this.pos&&oe+1+ie>ae)re=oe;else break}while(true)}yield se.SCALAR;yield*this.pushToIndex(re+1,true);return yield*this.parseLineStart()}*parsePlainScalar(){const re=this.flowLevel>0;let ie=this.pos-1;let oe=this.pos-1;let ae;while(ae=this.buffer[++oe]){if(ae===":"){const se=this.buffer[oe+1];if(isEmpty(se)||re&&ue.has(se))break;ie=oe}else if(isEmpty(ae)){let se=this.buffer[oe+1];if(ae==="\r"){if(se==="\n"){oe+=1;ae="\n";se=this.buffer[oe+1]}else ie=oe}if(se==="#"||re&&ue.has(se))break;if(ae==="\n"){const re=this.continueScalar(oe+1);if(re===-1)break;oe=Math.max(oe,re-2)}}else{if(re&&ue.has(ae))break;ie=oe}}if(!ae&&!this.atEnd)return this.setNext("plain-scalar");yield se.SCALAR;yield*this.pushToIndex(ie+1,true);return re?"flow":"doc"}*pushCount(re){if(re>0){yield this.buffer.substr(this.pos,re);this.pos+=re;return re}return 0}*pushToIndex(re,ie){const oe=this.buffer.slice(this.pos,re);if(oe){yield oe;this.pos+=oe.length;return oe.length}else if(ie)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 re=this.flowLevel>0;const ie=this.charAt(1);if(isEmpty(ie)||re&&ue.has(ie)){if(!re)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 re=this.pos+2;let ie=this.buffer[re];while(!isEmpty(ie)&&ie!==">")ie=this.buffer[++re];return yield*this.pushToIndex(ie===">"?re+1:re,false)}else{let re=this.pos+1;let ie=this.buffer[re];while(ie){if(ce.has(ie))ie=this.buffer[++re];else if(ie==="%"&&ae.has(this.buffer[re+1])&&ae.has(this.buffer[re+2])){ie=this.buffer[re+=3]}else break}return yield*this.pushToIndex(re,false)}}*pushNewline(){const re=this.buffer[this.pos];if(re==="\n")return yield*this.pushCount(1);else if(re==="\r"&&this.charAt(1)==="\n")return yield*this.pushCount(2);else return 0}*pushSpaces(re){let ie=this.pos-1;let oe;do{oe=this.buffer[++ie]}while(oe===" "||re&&oe==="\t");const se=ie-this.pos;if(se>0){yield this.buffer.substr(this.pos,se);this.pos=ie}return se}*pushUntil(re){let ie=this.pos;let oe=this.buffer[ie];while(!re(oe))oe=this.buffer[++ie];return yield*this.pushToIndex(ie,false)}}ie.Lexer=Lexer},21929:(re,ie)=>{"use strict";class LineCounter{constructor(){this.lineStarts=[];this.addNewLine=re=>this.lineStarts.push(re);this.linePos=re=>{let ie=0;let oe=this.lineStarts.length;while(ie>1;if(this.lineStarts[se]{"use strict";var se=oe(19169);var ae=oe(45976);function includesToken(re,ie){for(let oe=0;oe=0){switch(re[ie].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break e}}while(re[++ie]?.type==="space"){}return re.splice(ie,re.length)}function fixFlowSeqItems(re){if(re.start.type==="flow-seq-start"){for(const ie of re.items){if(ie.sep&&!ie.value&&!includesToken(ie.start,"explicit-key-ind")&&!includesToken(ie.sep,"map-value-ind")){if(ie.key)ie.value=ie.key;delete ie.key;if(isFlowToken(ie.value)){if(ie.value.end)Array.prototype.push.apply(ie.value.end,ie.sep);else ie.value.end=ie.sep}else Array.prototype.push.apply(ie.start,ie.sep);delete ie.sep}}}}class Parser{constructor(re){this.atNewLine=true;this.atScalar=false;this.indent=0;this.offset=0;this.onKeyLine=false;this.stack=[];this.source="";this.type="";this.lexer=new ae.Lexer;this.onNewLine=re}*parse(re,ie=false){if(this.onNewLine&&this.offset===0)this.onNewLine(0);for(const oe of this.lexer.lex(re,ie))yield*this.next(oe);if(!ie)yield*this.end()}*next(re){this.source=re;if(process.env.LOG_TOKENS)console.log("|",se.prettyToken(re));if(this.atScalar){this.atScalar=false;yield*this.step();this.offset+=re.length;return}const ie=se.tokenType(re);if(!ie){const ie=`Not a YAML token: ${re}`;yield*this.pop({type:"error",offset:this.offset,message:ie,source:re});this.offset+=re.length}else if(ie==="scalar"){this.atNewLine=false;this.atScalar=true;this.type="scalar"}else{this.type=ie;yield*this.step();switch(ie){case"newline":this.atNewLine=true;this.indent=0;if(this.onNewLine)this.onNewLine(this.offset+re.length);break;case"space":if(this.atNewLine&&re[0]===" ")this.indent+=re.length;break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":if(this.atNewLine)this.indent+=re.length;break;case"doc-mode":case"flow-error-end":return;default:this.atNewLine=false}this.offset+=re.length}}*end(){while(this.stack.length>0)yield*this.pop()}get sourceToken(){const re={type:this.type,offset:this.offset,indent:this.indent,source:this.source};return re}*step(){const re=this.peek(1);if(this.type==="doc-end"&&(!re||re.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(!re)return yield*this.stream();switch(re.type){case"document":return yield*this.document(re);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yield*this.scalar(re);case"block-scalar":return yield*this.blockScalar(re);case"block-map":return yield*this.blockMap(re);case"block-seq":return yield*this.blockSequence(re);case"flow-collection":return yield*this.flowCollection(re);case"doc-end":return yield*this.documentEnd(re)}yield*this.pop()}peek(re){return this.stack[this.stack.length-re]}*pop(re){const ie=re??this.stack.pop();if(!ie){const re="Tried to pop an empty stack";yield{type:"error",offset:this.offset,source:"",message:re}}else if(this.stack.length===0){yield ie}else{const re=this.peek(1);if(ie.type==="block-scalar"){ie.indent="indent"in re?re.indent:0}else if(ie.type==="flow-collection"&&re.type==="document"){ie.indent=0}if(ie.type==="flow-collection")fixFlowSeqItems(ie);switch(re.type){case"document":re.value=ie;break;case"block-scalar":re.props.push(ie);break;case"block-map":{const oe=re.items[re.items.length-1];if(oe.value){re.items.push({start:[],key:ie,sep:[]});this.onKeyLine=true;return}else if(oe.sep){oe.value=ie}else{Object.assign(oe,{key:ie,sep:[]});this.onKeyLine=!oe.explicitKey;return}break}case"block-seq":{const oe=re.items[re.items.length-1];if(oe.value)re.items.push({start:[],value:ie});else oe.value=ie;break}case"flow-collection":{const oe=re.items[re.items.length-1];if(!oe||oe.value)re.items.push({start:[],key:ie,sep:[]});else if(oe.sep)oe.value=ie;else Object.assign(oe,{key:ie,sep:[]});return}default:yield*this.pop();yield*this.pop(ie)}if((re.type==="document"||re.type==="block-map"||re.type==="block-seq")&&(ie.type==="block-map"||ie.type==="block-seq")){const oe=ie.items[ie.items.length-1];if(oe&&!oe.sep&&!oe.value&&oe.start.length>0&&findNonEmptyIndex(oe.start)===-1&&(ie.indent===0||oe.start.every((re=>re.type!=="comment"||re.indent=re.indent){const oe=!this.onKeyLine&&this.indent===re.indent;const se=oe&&(ie.sep||ie.explicitKey)&&this.type!=="seq-item-ind";let ae=[];if(se&&ie.sep&&!ie.value){const oe=[];for(let se=0;sere.indent)oe.length=0;break;default:oe.length=0}}if(oe.length>=2)ae=ie.sep.splice(oe[1])}switch(this.type){case"anchor":case"tag":if(se||ie.value){ae.push(this.sourceToken);re.items.push({start:ae});this.onKeyLine=true}else if(ie.sep){ie.sep.push(this.sourceToken)}else{ie.start.push(this.sourceToken)}return;case"explicit-key-ind":if(!ie.sep&&!ie.explicitKey){ie.start.push(this.sourceToken);ie.explicitKey=true}else if(se||ie.value){ae.push(this.sourceToken);re.items.push({start:ae,explicitKey:true})}else{this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken],explicitKey:true}]})}this.onKeyLine=true;return;case"map-value-ind":if(ie.explicitKey){if(!ie.sep){if(includesToken(ie.start,"newline")){Object.assign(ie,{key:null,sep:[this.sourceToken]})}else{const re=getFirstKeyStartProps(ie.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:re,key:null,sep:[this.sourceToken]}]})}}else if(ie.value){re.items.push({start:[],key:null,sep:[this.sourceToken]})}else if(includesToken(ie.sep,"map-value-ind")){this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:ae,key:null,sep:[this.sourceToken]}]})}else if(isFlowToken(ie.key)&&!includesToken(ie.sep,"newline")){const re=getFirstKeyStartProps(ie.start);const oe=ie.key;const se=ie.sep;se.push(this.sourceToken);delete ie.key,delete ie.sep;this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:re,key:oe,sep:se}]})}else if(ae.length>0){ie.sep=ie.sep.concat(ae,this.sourceToken)}else{ie.sep.push(this.sourceToken)}}else{if(!ie.sep){Object.assign(ie,{key:null,sep:[this.sourceToken]})}else if(ie.value||se){re.items.push({start:ae,key:null,sep:[this.sourceToken]})}else if(includesToken(ie.sep,"map-value-ind")){this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]})}else{ie.sep.push(this.sourceToken)}}this.onKeyLine=true;return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const oe=this.flowScalar(this.type);if(se||ie.value){re.items.push({start:ae,key:oe,sep:[]});this.onKeyLine=true}else if(ie.sep){this.stack.push(oe)}else{Object.assign(ie,{key:oe,sep:[]});this.onKeyLine=true}return}default:{const ie=this.startBlockValue(re);if(ie){if(oe&&ie.type!=="block-seq"){re.items.push({start:ae})}this.stack.push(ie);return}}}}yield*this.pop();yield*this.step()}*blockSequence(re){const ie=re.items[re.items.length-1];switch(this.type){case"newline":if(ie.value){const oe="end"in ie.value?ie.value.end:undefined;const se=Array.isArray(oe)?oe[oe.length-1]:undefined;if(se?.type==="comment")oe?.push(this.sourceToken);else re.items.push({start:[this.sourceToken]})}else ie.start.push(this.sourceToken);return;case"space":case"comment":if(ie.value)re.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(ie.start,re.indent)){const oe=re.items[re.items.length-2];const se=oe?.value?.end;if(Array.isArray(se)){Array.prototype.push.apply(se,ie.start);se.push(this.sourceToken);re.items.pop();return}}ie.start.push(this.sourceToken)}return;case"anchor":case"tag":if(ie.value||this.indent<=re.indent)break;ie.start.push(this.sourceToken);return;case"seq-item-ind":if(this.indent!==re.indent)break;if(ie.value||includesToken(ie.start,"seq-item-ind"))re.items.push({start:[this.sourceToken]});else ie.start.push(this.sourceToken);return}if(this.indent>re.indent){const ie=this.startBlockValue(re);if(ie){this.stack.push(ie);return}}yield*this.pop();yield*this.step()}*flowCollection(re){const ie=re.items[re.items.length-1];if(this.type==="flow-error-end"){let re;do{yield*this.pop();re=this.peek(1)}while(re&&re.type==="flow-collection")}else if(re.end.length===0){switch(this.type){case"comma":case"explicit-key-ind":if(!ie||ie.sep)re.items.push({start:[this.sourceToken]});else ie.start.push(this.sourceToken);return;case"map-value-ind":if(!ie||ie.value)re.items.push({start:[],key:null,sep:[this.sourceToken]});else if(ie.sep)ie.sep.push(this.sourceToken);else Object.assign(ie,{key:null,sep:[this.sourceToken]});return;case"space":case"comment":case"newline":case"anchor":case"tag":if(!ie||ie.value)re.items.push({start:[this.sourceToken]});else if(ie.sep)ie.sep.push(this.sourceToken);else ie.start.push(this.sourceToken);return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const oe=this.flowScalar(this.type);if(!ie||ie.value)re.items.push({start:[],key:oe,sep:[]});else if(ie.sep)this.stack.push(oe);else Object.assign(ie,{key:oe,sep:[]});return}case"flow-map-end":case"flow-seq-end":re.end.push(this.sourceToken);return}const oe=this.startBlockValue(re);if(oe)this.stack.push(oe);else{yield*this.pop();yield*this.step()}}else{const ie=this.peek(2);if(ie.type==="block-map"&&(this.type==="map-value-ind"&&ie.indent===re.indent||this.type==="newline"&&!ie.items[ie.items.length-1].sep)){yield*this.pop();yield*this.step()}else if(this.type==="map-value-ind"&&ie.type!=="flow-collection"){const oe=getPrevProps(ie);const se=getFirstKeyStartProps(oe);fixFlowSeqItems(re);const ae=re.end.splice(1,re.end.length);ae.push(this.sourceToken);const ce={type:"block-map",offset:re.offset,indent:re.indent,items:[{start:se,key:re,sep:ae}]};this.onKeyLine=true;this.stack[this.stack.length-1]=ce}else{yield*this.lineEnd(re)}}}flowScalar(re){if(this.onNewLine){let re=this.source.indexOf("\n")+1;while(re!==0){this.onNewLine(this.offset+re);re=this.source.indexOf("\n",re)+1}}return{type:re,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(re){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 ie=getPrevProps(re);const oe=getFirstKeyStartProps(ie);oe.push(this.sourceToken);return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:oe,explicitKey:true}]}}case"map-value-ind":{this.onKeyLine=true;const ie=getPrevProps(re);const oe=getFirstKeyStartProps(ie);return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:oe,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(re,ie){if(this.type!=="comment")return false;if(this.indent<=ie)return false;return re.every((re=>re.type==="newline"||re.type==="space"))}*documentEnd(re){if(this.type!=="doc-mode"){if(re.end)re.end.push(this.sourceToken);else re.end=[this.sourceToken];if(this.type==="newline")yield*this.pop()}}*lineEnd(re){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(re.end)re.end.push(this.sourceToken);else re.end=[this.sourceToken];if(this.type==="newline")yield*this.pop()}}}ie.Parser=Parser},28649:(re,ie,oe)=>{"use strict";var se=oe(19493);var ae=oe(10042);var ce=oe(14236);var ue=oe(36909);var le=oe(21929);var fe=oe(73328);function parseOptions(re){const ie=re.prettyErrors!==false;const oe=re.lineCounter||ie&&new le.LineCounter||null;return{lineCounter:oe,prettyErrors:ie}}function parseAllDocuments(re,ie={}){const{lineCounter:oe,prettyErrors:ae}=parseOptions(ie);const ue=new fe.Parser(oe?.addNewLine);const le=new se.Composer(ie);const de=Array.from(le.compose(ue.parse(re)));if(ae&&oe)for(const ie of de){ie.errors.forEach(ce.prettifyError(re,oe));ie.warnings.forEach(ce.prettifyError(re,oe))}if(de.length>0)return de;return Object.assign([],{empty:true},le.streamInfo())}function parseDocument(re,ie={}){const{lineCounter:oe,prettyErrors:ae}=parseOptions(ie);const ue=new fe.Parser(oe?.addNewLine);const le=new se.Composer(ie);let de=null;for(const ie of le.compose(ue.parse(re),true,re.length)){if(!de)de=ie;else if(de.options.logLevel!=="silent"){de.errors.push(new ce.YAMLParseError(ie.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}}if(ae&&oe){de.errors.forEach(ce.prettifyError(re,oe));de.warnings.forEach(ce.prettifyError(re,oe))}return de}function parse(re,ie,oe){let se=undefined;if(typeof ie==="function"){se=ie}else if(oe===undefined&&ie&&typeof ie==="object"){oe=ie}const ae=parseDocument(re,oe);if(!ae)return null;ae.warnings.forEach((re=>ue.warn(ae.options.logLevel,re)));if(ae.errors.length>0){if(ae.options.logLevel!=="silent")throw ae.errors[0];else ae.errors=[]}return ae.toJS(Object.assign({reviver:se},oe))}function stringify(re,ie,oe){let se=null;if(typeof ie==="function"||Array.isArray(ie)){se=ie}else if(oe===undefined&&ie){oe=ie}if(typeof oe==="string")oe=oe.length;if(typeof oe==="number"){const re=Math.round(oe);oe=re<1?undefined:re>8?{indent:8}:{indent:re}}if(re===undefined){const{keepUndefined:re}=oe??ie??{};if(!re)return undefined}return new ae.Document(re,se,oe).toString(oe)}ie.parse=parse;ie.parseAllDocuments=parseAllDocuments;ie.parseDocument=parseDocument;ie.stringify=stringify},56831:(re,ie,oe)=>{"use strict";var se=oe(15589);var ae=oe(60083);var ce=oe(91693);var ue=oe(32201);var le=oe(74138);const sortMapEntriesByKey=(re,ie)=>re.keyie.key?1:0;class Schema{constructor({compat:re,customTags:ie,merge:oe,resolveKnownTags:fe,schema:de,sortMapEntries:pe,toStringDefaults:he}){this.compat=Array.isArray(re)?le.getTags(re,"compat"):re?le.getTags(null,re):null;this.merge=!!oe;this.name=typeof de==="string"&&de||"core";this.knownTags=fe?le.coreKnownTags:{};this.tags=le.getTags(ie,this.name);this.toStringOptions=he??null;Object.defineProperty(this,se.MAP,{value:ae.map});Object.defineProperty(this,se.SCALAR,{value:ue.string});Object.defineProperty(this,se.SEQ,{value:ce.seq});this.sortMapEntries=typeof pe==="function"?pe:pe===true?sortMapEntriesByKey:null}clone(){const re=Object.create(Schema.prototype,Object.getOwnPropertyDescriptors(this));re.tags=this.tags.slice();return re}}ie.Schema=Schema},60083:(re,ie,oe)=>{"use strict";var se=oe(15589);var ae=oe(16011);const ce={collection:"map",default:true,nodeClass:ae.YAMLMap,tag:"tag:yaml.org,2002:map",resolve(re,ie){if(!se.isMap(re))ie("Expected a mapping for this tag");return re},createNode:(re,ie,oe)=>ae.YAMLMap.from(re,ie,oe)};ie.map=ce},26703:(re,ie,oe)=>{"use strict";var se=oe(9338);const ae={identify:re=>re==null,createNode:()=>new se.Scalar(null),default:true,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new se.Scalar(null),stringify:({source:re},ie)=>typeof re==="string"&&ae.test.test(re)?re:ie.options.nullStr};ie.nullTag=ae},91693:(re,ie,oe)=>{"use strict";var se=oe(15589);var ae=oe(25161);const ce={collection:"seq",default:true,nodeClass:ae.YAMLSeq,tag:"tag:yaml.org,2002:seq",resolve(re,ie){if(!se.isSeq(re))ie("Expected a sequence for this tag");return re},createNode:(re,ie,oe)=>ae.YAMLSeq.from(re,ie,oe)};ie.seq=ce},32201:(re,ie,oe)=>{"use strict";var se=oe(46226);const ae={identify:re=>typeof re==="string",default:true,tag:"tag:yaml.org,2002:str",resolve:re=>re,stringify(re,ie,oe,ae){ie=Object.assign({actualString:true},ie);return se.stringifyString(re,ie,oe,ae)}};ie.string=ae},42045:(re,ie,oe)=>{"use strict";var se=oe(9338);const ae={identify:re=>typeof re==="boolean",default:true,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:re=>new se.Scalar(re[0]==="t"||re[0]==="T"),stringify({source:re,value:ie},oe){if(re&&ae.test.test(re)){const oe=re[0]==="t"||re[0]==="T";if(ie===oe)return re}return ie?oe.options.trueStr:oe.options.falseStr}};ie.boolTag=ae},36810:(re,ie,oe)=>{"use strict";var se=oe(9338);var ae=oe(84174);const ce={identify:re=>typeof re==="number",default:true,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:re=>re.slice(-3).toLowerCase()==="nan"?NaN:re[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:ae.stringifyNumber};const ue={identify:re=>typeof re==="number",default:true,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:re=>parseFloat(re),stringify(re){const ie=Number(re.value);return isFinite(ie)?ie.toExponential():ae.stringifyNumber(re)}};const le={identify:re=>typeof re==="number",default:true,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(re){const ie=new se.Scalar(parseFloat(re));const oe=re.indexOf(".");if(oe!==-1&&re[re.length-1]==="0")ie.minFractionDigits=re.length-oe-1;return ie},stringify:ae.stringifyNumber};ie.float=le;ie.floatExp=ue;ie.floatNaN=ce},63019:(re,ie,oe)=>{"use strict";var se=oe(84174);const intIdentify=re=>typeof re==="bigint"||Number.isInteger(re);const intResolve=(re,ie,oe,{intAsBigInt:se})=>se?BigInt(re):parseInt(re.substring(ie),oe);function intStringify(re,ie,oe){const{value:ae}=re;if(intIdentify(ae)&&ae>=0)return oe+ae.toString(ie);return se.stringifyNumber(re)}const ae={identify:re=>intIdentify(re)&&re>=0,default:true,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(re,ie,oe)=>intResolve(re,2,8,oe),stringify:re=>intStringify(re,8,"0o")};const ce={identify:intIdentify,default:true,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(re,ie,oe)=>intResolve(re,0,10,oe),stringify:se.stringifyNumber};const ue={identify:re=>intIdentify(re)&&re>=0,default:true,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(re,ie,oe)=>intResolve(re,2,16,oe),stringify:re=>intStringify(re,16,"0x")};ie.int=ce;ie.intHex=ue;ie.intOct=ae},20027:(re,ie,oe)=>{"use strict";var se=oe(60083);var ae=oe(26703);var ce=oe(91693);var ue=oe(32201);var le=oe(42045);var fe=oe(36810);var de=oe(63019);const pe=[se.map,ce.seq,ue.string,ae.nullTag,le.boolTag,de.intOct,de.int,de.intHex,fe.floatNaN,fe.floatExp,fe.float];ie.schema=pe},14545:(re,ie,oe)=>{"use strict";var se=oe(9338);var ae=oe(60083);var ce=oe(91693);function intIdentify(re){return typeof re==="bigint"||Number.isInteger(re)}const stringifyJSON=({value:re})=>JSON.stringify(re);const ue=[{identify:re=>typeof re==="string",default:true,tag:"tag:yaml.org,2002:str",resolve:re=>re,stringify:stringifyJSON},{identify:re=>re==null,createNode:()=>new se.Scalar(null),default:true,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:stringifyJSON},{identify:re=>typeof re==="boolean",default:true,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:re=>re==="true",stringify:stringifyJSON},{identify:intIdentify,default:true,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(re,ie,{intAsBigInt:oe})=>oe?BigInt(re):parseInt(re,10),stringify:({value:re})=>intIdentify(re)?re.toString():JSON.stringify(re)},{identify:re=>typeof re==="number",default:true,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:re=>parseFloat(re),stringify:stringifyJSON}];const le={default:true,tag:"",test:/^/,resolve(re,ie){ie(`Unresolved plain scalar ${JSON.stringify(re)}`);return re}};const fe=[ae.map,ce.seq].concat(ue,le);ie.schema=fe},74138:(re,ie,oe)=>{"use strict";var se=oe(60083);var ae=oe(26703);var ce=oe(91693);var ue=oe(32201);var le=oe(42045);var fe=oe(36810);var de=oe(63019);var pe=oe(20027);var he=oe(14545);var Ae=oe(5724);var ge=oe(28974);var me=oe(29841);var ye=oe(15389);var ve=oe(37847);var be=oe(21156);const we=new Map([["core",pe.schema],["failsafe",[se.map,ce.seq,ue.string]],["json",he.schema],["yaml11",ye.schema],["yaml-1.1",ye.schema]]);const _e={binary:Ae.binary,bool:le.boolTag,float:fe.float,floatExp:fe.floatExp,floatNaN:fe.floatNaN,floatTime:be.floatTime,int:de.int,intHex:de.intHex,intOct:de.intOct,intTime:be.intTime,map:se.map,null:ae.nullTag,omap:ge.omap,pairs:me.pairs,seq:ce.seq,set:ve.set,timestamp:be.timestamp};const Ee={"tag:yaml.org,2002:binary":Ae.binary,"tag:yaml.org,2002:omap":ge.omap,"tag:yaml.org,2002:pairs":me.pairs,"tag:yaml.org,2002:set":ve.set,"tag:yaml.org,2002:timestamp":be.timestamp};function getTags(re,ie){let oe=we.get(ie);if(!oe){if(Array.isArray(re))oe=[];else{const re=Array.from(we.keys()).filter((re=>re!=="yaml11")).map((re=>JSON.stringify(re))).join(", ");throw new Error(`Unknown schema "${ie}"; use one of ${re} or define customTags array`)}}if(Array.isArray(re)){for(const ie of re)oe=oe.concat(ie)}else if(typeof re==="function"){oe=re(oe.slice())}return oe.map((re=>{if(typeof re!=="string")return re;const ie=_e[re];if(ie)return ie;const oe=Object.keys(_e).map((re=>JSON.stringify(re))).join(", ");throw new Error(`Unknown custom tag "${re}"; use one of ${oe}`)}))}ie.coreKnownTags=Ee;ie.getTags=getTags},5724:(re,ie,oe)=>{"use strict";var se=oe(9338);var ae=oe(46226);const ce={identify:re=>re instanceof Uint8Array,default:false,tag:"tag:yaml.org,2002:binary",resolve(re,ie){if(typeof Buffer==="function"){return Buffer.from(re,"base64")}else if(typeof atob==="function"){const ie=atob(re.replace(/[\n\r]/g,""));const oe=new Uint8Array(ie.length);for(let re=0;re{"use strict";var se=oe(9338);function boolStringify({value:re,source:ie},oe){const se=re?ae:ce;if(ie&&se.test.test(ie))return ie;return re?oe.options.trueStr:oe.options.falseStr}const ae={identify:re=>re===true,default:true,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new se.Scalar(true),stringify:boolStringify};const ce={identify:re=>re===false,default:true,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,resolve:()=>new se.Scalar(false),stringify:boolStringify};ie.falseTag=ce;ie.trueTag=ae},28035:(re,ie,oe)=>{"use strict";var se=oe(9338);var ae=oe(84174);const ce={identify:re=>typeof re==="number",default:true,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:re=>re.slice(-3).toLowerCase()==="nan"?NaN:re[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:ae.stringifyNumber};const ue={identify:re=>typeof re==="number",default:true,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:re=>parseFloat(re.replace(/_/g,"")),stringify(re){const ie=Number(re.value);return isFinite(ie)?ie.toExponential():ae.stringifyNumber(re)}};const le={identify:re=>typeof re==="number",default:true,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(re){const ie=new se.Scalar(parseFloat(re.replace(/_/g,"")));const oe=re.indexOf(".");if(oe!==-1){const se=re.substring(oe+1).replace(/_/g,"");if(se[se.length-1]==="0")ie.minFractionDigits=se.length}return ie},stringify:ae.stringifyNumber};ie.float=le;ie.floatExp=ue;ie.floatNaN=ce},19503:(re,ie,oe)=>{"use strict";var se=oe(84174);const intIdentify=re=>typeof re==="bigint"||Number.isInteger(re);function intResolve(re,ie,oe,{intAsBigInt:se}){const ae=re[0];if(ae==="-"||ae==="+")ie+=1;re=re.substring(ie).replace(/_/g,"");if(se){switch(oe){case 2:re=`0b${re}`;break;case 8:re=`0o${re}`;break;case 16:re=`0x${re}`;break}const ie=BigInt(re);return ae==="-"?BigInt(-1)*ie:ie}const ce=parseInt(re,oe);return ae==="-"?-1*ce:ce}function intStringify(re,ie,oe){const{value:ae}=re;if(intIdentify(ae)){const re=ae.toString(ie);return ae<0?"-"+oe+re.substr(1):oe+re}return se.stringifyNumber(re)}const ae={identify:intIdentify,default:true,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(re,ie,oe)=>intResolve(re,2,2,oe),stringify:re=>intStringify(re,2,"0b")};const ce={identify:intIdentify,default:true,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(re,ie,oe)=>intResolve(re,1,8,oe),stringify:re=>intStringify(re,8,"0")};const ue={identify:intIdentify,default:true,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(re,ie,oe)=>intResolve(re,0,10,oe),stringify:se.stringifyNumber};const le={identify:intIdentify,default:true,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(re,ie,oe)=>intResolve(re,2,16,oe),stringify:re=>intStringify(re,16,"0x")};ie.int=ue;ie.intBin=ae;ie.intHex=le;ie.intOct=ce},28974:(re,ie,oe)=>{"use strict";var se=oe(15589);var ae=oe(72463);var ce=oe(16011);var ue=oe(25161);var le=oe(29841);class YAMLOMap extends ue.YAMLSeq{constructor(){super();this.add=ce.YAMLMap.prototype.add.bind(this);this.delete=ce.YAMLMap.prototype.delete.bind(this);this.get=ce.YAMLMap.prototype.get.bind(this);this.has=ce.YAMLMap.prototype.has.bind(this);this.set=ce.YAMLMap.prototype.set.bind(this);this.tag=YAMLOMap.tag}toJSON(re,ie){if(!ie)return super.toJSON(re);const oe=new Map;if(ie?.onCreate)ie.onCreate(oe);for(const re of this.items){let ce,ue;if(se.isPair(re)){ce=ae.toJS(re.key,"",ie);ue=ae.toJS(re.value,ce,ie)}else{ce=ae.toJS(re,"",ie)}if(oe.has(ce))throw new Error("Ordered maps must not include duplicate keys");oe.set(ce,ue)}return oe}static from(re,ie,oe){const se=le.createPairs(re,ie,oe);const ae=new this;ae.items=se.items;return ae}}YAMLOMap.tag="tag:yaml.org,2002:omap";const fe={collection:"seq",identify:re=>re instanceof Map,nodeClass:YAMLOMap,default:false,tag:"tag:yaml.org,2002:omap",resolve(re,ie){const oe=le.resolvePairs(re,ie);const ae=[];for(const{key:re}of oe.items){if(se.isScalar(re)){if(ae.includes(re.value)){ie(`Ordered maps must not include duplicate keys: ${re.value}`)}else{ae.push(re.value)}}}return Object.assign(new YAMLOMap,oe)},createNode:(re,ie,oe)=>YAMLOMap.from(re,ie,oe)};ie.YAMLOMap=YAMLOMap;ie.omap=fe},29841:(re,ie,oe)=>{"use strict";var se=oe(15589);var ae=oe(246);var ce=oe(9338);var ue=oe(25161);function resolvePairs(re,ie){if(se.isSeq(re)){for(let oe=0;oe1)ie("Each pair must have its own sequence indicator");const re=ue.items[0]||new ae.Pair(new ce.Scalar(null));if(ue.commentBefore)re.key.commentBefore=re.key.commentBefore?`${ue.commentBefore}\n${re.key.commentBefore}`:ue.commentBefore;if(ue.comment){const ie=re.value??re.key;ie.comment=ie.comment?`${ue.comment}\n${ie.comment}`:ue.comment}ue=re}re.items[oe]=se.isPair(ue)?ue:new ae.Pair(ue)}}else ie("Expected a sequence for this tag");return re}function createPairs(re,ie,oe){const{replacer:se}=oe;const ce=new ue.YAMLSeq(re);ce.tag="tag:yaml.org,2002:pairs";let le=0;if(ie&&Symbol.iterator in Object(ie))for(let re of ie){if(typeof se==="function")re=se.call(ie,String(le++),re);let ue,fe;if(Array.isArray(re)){if(re.length===2){ue=re[0];fe=re[1]}else throw new TypeError(`Expected [key, value] tuple: ${re}`)}else if(re&&re instanceof Object){const ie=Object.keys(re);if(ie.length===1){ue=ie[0];fe=re[ue]}else{throw new TypeError(`Expected tuple with one key, not ${ie.length} keys`)}}else{ue=re}ce.items.push(ae.createPair(ue,fe,oe))}return ce}const le={collection:"seq",default:false,tag:"tag:yaml.org,2002:pairs",resolve:resolvePairs,createNode:createPairs};ie.createPairs=createPairs;ie.pairs=le;ie.resolvePairs=resolvePairs},15389:(re,ie,oe)=>{"use strict";var se=oe(60083);var ae=oe(26703);var ce=oe(91693);var ue=oe(32201);var le=oe(5724);var fe=oe(42631);var de=oe(28035);var pe=oe(19503);var he=oe(28974);var Ae=oe(29841);var ge=oe(37847);var me=oe(21156);const ye=[se.map,ce.seq,ue.string,ae.nullTag,fe.trueTag,fe.falseTag,pe.intBin,pe.intOct,pe.int,pe.intHex,de.floatNaN,de.floatExp,de.float,le.binary,he.omap,Ae.pairs,ge.set,me.intTime,me.floatTime,me.timestamp];ie.schema=ye},37847:(re,ie,oe)=>{"use strict";var se=oe(15589);var ae=oe(246);var ce=oe(16011);class YAMLSet extends ce.YAMLMap{constructor(re){super(re);this.tag=YAMLSet.tag}add(re){let ie;if(se.isPair(re))ie=re;else if(re&&typeof re==="object"&&"key"in re&&"value"in re&&re.value===null)ie=new ae.Pair(re.key,null);else ie=new ae.Pair(re,null);const oe=ce.findPair(this.items,ie.key);if(!oe)this.items.push(ie)}get(re,ie){const oe=ce.findPair(this.items,re);return!ie&&se.isPair(oe)?se.isScalar(oe.key)?oe.key.value:oe.key:oe}set(re,ie){if(typeof ie!=="boolean")throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof ie}`);const oe=ce.findPair(this.items,re);if(oe&&!ie){this.items.splice(this.items.indexOf(oe),1)}else if(!oe&&ie){this.items.push(new ae.Pair(re))}}toJSON(re,ie){return super.toJSON(re,ie,Set)}toString(re,ie,oe){if(!re)return JSON.stringify(this);if(this.hasAllNullValues(true))return super.toString(Object.assign({},re,{allNullValues:true}),ie,oe);else throw new Error("Set items must all have null values")}static from(re,ie,oe){const{replacer:se}=oe;const ce=new this(re);if(ie&&Symbol.iterator in Object(ie))for(let re of ie){if(typeof se==="function")re=se.call(ie,re,re);ce.items.push(ae.createPair(re,null,oe))}return ce}}YAMLSet.tag="tag:yaml.org,2002:set";const ue={collection:"map",identify:re=>re instanceof Set,nodeClass:YAMLSet,default:false,tag:"tag:yaml.org,2002:set",createNode:(re,ie,oe)=>YAMLSet.from(re,ie,oe),resolve(re,ie){if(se.isMap(re)){if(re.hasAllNullValues(true))return Object.assign(new YAMLSet,re);else ie("Set items must all have null values")}else ie("Expected a mapping for this tag");return re}};ie.YAMLSet=YAMLSet;ie.set=ue},21156:(re,ie,oe)=>{"use strict";var se=oe(84174);function parseSexagesimal(re,ie){const oe=re[0];const se=oe==="-"||oe==="+"?re.substring(1):re;const num=re=>ie?BigInt(re):Number(re);const ae=se.replace(/_/g,"").split(":").reduce(((re,ie)=>re*num(60)+num(ie)),num(0));return oe==="-"?num(-1)*ae:ae}function stringifySexagesimal(re){let{value:ie}=re;let num=re=>re;if(typeof ie==="bigint")num=re=>BigInt(re);else if(isNaN(ie)||!isFinite(ie))return se.stringifyNumber(re);let oe="";if(ie<0){oe="-";ie*=num(-1)}const ae=num(60);const ce=[ie%ae];if(ie<60){ce.unshift(0)}else{ie=(ie-ce[0])/ae;ce.unshift(ie%ae);if(ie>=60){ie=(ie-ce[0])/ae;ce.unshift(ie)}}return oe+ce.map((re=>String(re).padStart(2,"0"))).join(":").replace(/000000\d*$/,"")}const ae={identify:re=>typeof re==="bigint"||Number.isInteger(re),default:true,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(re,ie,{intAsBigInt:oe})=>parseSexagesimal(re,oe),stringify:stringifySexagesimal};const ce={identify:re=>typeof re==="number",default:true,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:re=>parseSexagesimal(re,false),stringify:stringifySexagesimal};const ue={identify:re=>re 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(re){const ie=re.match(ue.test);if(!ie)throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd");const[,oe,se,ae,ce,le,fe]=ie.map(Number);const de=ie[7]?Number((ie[7]+"00").substr(1,3)):0;let pe=Date.UTC(oe,se-1,ae,ce||0,le||0,fe||0,de);const he=ie[8];if(he&&he!=="Z"){let re=parseSexagesimal(he,false);if(Math.abs(re)<30)re*=60;pe-=6e4*re}return new Date(pe)},stringify:({value:re})=>re.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")};ie.floatTime=ce;ie.intTime=ae;ie.timestamp=ue},62889:(re,ie)=>{"use strict";const oe="flow";const se="block";const ae="quoted";function foldFlowLines(re,ie,oe="flow",{indentAtStart:ce,lineWidth:ue=80,minContentWidth:le=20,onFold:fe,onOverflow:de}={}){if(!ue||ue<0)return re;if(ueue-Math.max(2,le))he.push(0);else ge=ue-ce}let me=undefined;let ye=undefined;let ve=false;let be=-1;let we=-1;let _e=-1;if(oe===se){be=consumeMoreIndentedLines(re,be,ie.length);if(be!==-1)ge=be+pe}for(let ce;ce=re[be+=1];){if(oe===ae&&ce==="\\"){we=be;switch(re[be+1]){case"x":be+=3;break;case"u":be+=5;break;case"U":be+=9;break;default:be+=1}_e=be}if(ce==="\n"){if(oe===se)be=consumeMoreIndentedLines(re,be,ie.length);ge=be+ie.length+pe;me=undefined}else{if(ce===" "&&ye&&ye!==" "&&ye!=="\n"&&ye!=="\t"){const ie=re[be+1];if(ie&&ie!==" "&&ie!=="\n"&&ie!=="\t")me=be}if(be>=ge){if(me){he.push(me);ge=me+pe;me=undefined}else if(oe===ae){while(ye===" "||ye==="\t"){ye=ce;ce=re[be+=1];ve=true}const ie=be>_e+1?be-2:we-1;if(Ae[ie])return re;he.push(ie);Ae[ie]=true;ge=ie+pe;me=undefined}else{ve=true}}}ye=ce}if(ve&&de)de();if(he.length===0)return re;if(fe)fe();let Ee=re.slice(0,he[0]);for(let se=0;se{"use strict";var se=oe(28459);var ae=oe(15589);var ce=oe(85182);var ue=oe(46226);function createStringifyContext(re,ie){const oe=Object.assign({blockQuote:true,commentString:ce.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},re.schema.toStringOptions,ie);let se;switch(oe.collectionStyle){case"block":se=false;break;case"flow":se=true;break;default:se=null}return{anchors:new Set,doc:re,flowCollectionPadding:oe.flowCollectionPadding?" ":"",indent:"",indentStep:typeof oe.indent==="number"?" ".repeat(oe.indent):" ",inFlow:se,options:oe}}function getTagObject(re,ie){if(ie.tag){const oe=re.filter((re=>re.tag===ie.tag));if(oe.length>0)return oe.find((re=>re.format===ie.format))??oe[0]}let oe=undefined;let se;if(ae.isScalar(ie)){se=ie.value;const ae=re.filter((re=>re.identify?.(se)));oe=ae.find((re=>re.format===ie.format))??ae.find((re=>!re.format))}else{se=ie;oe=re.find((re=>re.nodeClass&&se instanceof re.nodeClass))}if(!oe){const re=se?.constructor?.name??typeof se;throw new Error(`Tag not resolved for ${re} value`)}return oe}function stringifyProps(re,ie,{anchors:oe,doc:ce}){if(!ce.directives)return"";const ue=[];const le=(ae.isScalar(re)||ae.isCollection(re))&&re.anchor;if(le&&se.anchorIsValid(le)){oe.add(le);ue.push(`&${le}`)}const fe=re.tag?re.tag:ie.default?null:ie.tag;if(fe)ue.push(ce.directives.tagString(fe));return ue.join(" ")}function stringify(re,ie,oe,se){if(ae.isPair(re))return re.toString(ie,oe,se);if(ae.isAlias(re)){if(ie.doc.directives)return re.toString(ie);if(ie.resolvedAliases?.has(re)){throw new TypeError(`Cannot stringify circular structure without alias nodes`)}else{if(ie.resolvedAliases)ie.resolvedAliases.add(re);else ie.resolvedAliases=new Set([re]);re=re.resolve(ie.doc)}}let ce=undefined;const le=ae.isNode(re)?re:ie.doc.createNode(re,{onTagObj:re=>ce=re});if(!ce)ce=getTagObject(ie.doc.schema.tags,le);const fe=stringifyProps(le,ce,ie);if(fe.length>0)ie.indentAtStart=(ie.indentAtStart??0)+fe.length+1;const de=typeof ce.stringify==="function"?ce.stringify(le,ie,oe,se):ae.isScalar(le)?ue.stringifyString(le,ie,oe,se):le.toString(ie,oe,se);if(!fe)return de;return ae.isScalar(le)||de[0]==="{"||de[0]==="["?`${fe} ${de}`:`${fe}\n${ie.indent}${de}`}ie.createStringifyContext=createStringifyContext;ie.stringify=stringify},22466:(re,ie,oe)=>{"use strict";var se=oe(15589);var ae=oe(18409);var ce=oe(85182);function stringifyCollection(re,ie,oe){const se=ie.inFlow??re.flow;const ae=se?stringifyFlowCollection:stringifyBlockCollection;return ae(re,ie,oe)}function stringifyBlockCollection({comment:re,items:ie},oe,{blockItemPrefix:ue,flowChars:le,itemIndent:fe,onChompKeep:de,onComment:pe}){const{indent:he,options:{commentString:Ae}}=oe;const ge=Object.assign({},oe,{indent:fe,type:null});let me=false;const ye=[];for(let re=0;rede=null),(()=>me=true));if(de)pe+=ce.lineComment(pe,fe,Ae(de));if(me&&de)me=false;ye.push(ue+pe)}let ve;if(ye.length===0){ve=le.start+le.end}else{ve=ye[0];for(let re=1;refe=null));if(oege||de.includes("\n")))Ae=true;me.push(de);ge=me.length}const{start:ye,end:ve}=oe;if(me.length===0){return ye+ve}else{if(!Ae){const re=me.reduce(((re,ie)=>re+ie.length+2),2);Ae=ie.options.lineWidth>0&&re>ie.options.lineWidth}if(Ae){let re=ye;for(const ie of me)re+=ie?`\n${fe}${le}${ie}`:"\n";return`${re}\n${le}${ve}`}else{return`${ye}${de}${me.join(" ")}${de}${ve}`}}}function addCommentBefore({indent:re,options:{commentString:ie}},oe,se,ae){if(se&&ae)se=se.replace(/^\n+/,"");if(se){const ae=ce.indentComment(ie(se),re);oe.push(ae.trimStart())}}ie.stringifyCollection=stringifyCollection},85182:(re,ie)=>{"use strict";const stringifyComment=re=>re.replace(/^(?!$)(?: $)?/gm,"#");function indentComment(re,ie){if(/^\n+$/.test(re))return re.substring(1);return ie?re.replace(/^(?! *$)/gm,ie):re}const lineComment=(re,ie,oe)=>re.endsWith("\n")?indentComment(oe,ie):oe.includes("\n")?"\n"+indentComment(oe,ie):(re.endsWith(" ")?"":" ")+oe;ie.indentComment=indentComment;ie.lineComment=lineComment;ie.stringifyComment=stringifyComment},35225:(re,ie,oe)=>{"use strict";var se=oe(15589);var ae=oe(18409);var ce=oe(85182);function stringifyDocument(re,ie){const oe=[];let ue=ie.directives===true;if(ie.directives!==false&&re.directives){const ie=re.directives.toString(re);if(ie){oe.push(ie);ue=true}else if(re.directives.docStart)ue=true}if(ue)oe.push("---");const le=ae.createStringifyContext(re,ie);const{commentString:fe}=le.options;if(re.commentBefore){if(oe.length!==1)oe.unshift("");const ie=fe(re.commentBefore);oe.unshift(ce.indentComment(ie,""))}let de=false;let pe=null;if(re.contents){if(se.isNode(re.contents)){if(re.contents.spaceBefore&&ue)oe.push("");if(re.contents.commentBefore){const ie=fe(re.contents.commentBefore);oe.push(ce.indentComment(ie,""))}le.forceBlockIndent=!!re.comment;pe=re.contents.comment}const ie=pe?undefined:()=>de=true;let he=ae.stringify(re.contents,le,(()=>pe=null),ie);if(pe)he+=ce.lineComment(he,"",fe(pe));if((he[0]==="|"||he[0]===">")&&oe[oe.length-1]==="---"){oe[oe.length-1]=`--- ${he}`}else oe.push(he)}else{oe.push(ae.stringify(re.contents,le))}if(re.directives?.docEnd){if(re.comment){const ie=fe(re.comment);if(ie.includes("\n")){oe.push("...");oe.push(ce.indentComment(ie,""))}else{oe.push(`... ${ie}`)}}else{oe.push("...")}}else{let ie=re.comment;if(ie&&de)ie=ie.replace(/^\n+/,"");if(ie){if((!de||pe)&&oe[oe.length-1]!=="")oe.push("");oe.push(ce.indentComment(fe(ie),""))}}return oe.join("\n")+"\n"}ie.stringifyDocument=stringifyDocument},84174:(re,ie)=>{"use strict";function stringifyNumber({format:re,minFractionDigits:ie,tag:oe,value:se}){if(typeof se==="bigint")return String(se);const ae=typeof se==="number"?se:Number(se);if(!isFinite(ae))return isNaN(ae)?".nan":ae<0?"-.inf":".inf";let ce=JSON.stringify(se);if(!re&&ie&&(!oe||oe==="tag:yaml.org,2002:float")&&/^\d/.test(ce)){let re=ce.indexOf(".");if(re<0){re=ce.length;ce+="."}let oe=ie-(ce.length-re-1);while(oe-- >0)ce+="0"}return ce}ie.stringifyNumber=stringifyNumber},4875:(re,ie,oe)=>{"use strict";var se=oe(15589);var ae=oe(9338);var ce=oe(18409);var ue=oe(85182);function stringifyPair({key:re,value:ie},oe,le,fe){const{allNullValues:de,doc:pe,indent:he,indentStep:Ae,options:{commentString:ge,indentSeq:me,simpleKeys:ye}}=oe;let ve=se.isNode(re)&&re.comment||null;if(ye){if(ve){throw new Error("With simple keys, key nodes cannot have comments")}if(se.isCollection(re)||!se.isNode(re)&&typeof re==="object"){const re="With simple keys, collection cannot be used as a key value";throw new Error(re)}}let be=!ye&&(!re||ve&&ie==null&&!oe.inFlow||se.isCollection(re)||(se.isScalar(re)?re.type===ae.Scalar.BLOCK_FOLDED||re.type===ae.Scalar.BLOCK_LITERAL:typeof re==="object"));oe=Object.assign({},oe,{allNullValues:false,implicitKey:!be&&(ye||!de),indent:he+Ae});let we=false;let _e=false;let Ee=ce.stringify(re,oe,(()=>we=true),(()=>_e=true));if(!be&&!oe.inFlow&&Ee.length>1024){if(ye)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");be=true}if(oe.inFlow){if(de||ie==null){if(we&&le)le();return Ee===""?"?":be?`? ${Ee}`:Ee}}else if(de&&!ye||ie==null&&be){Ee=`? ${Ee}`;if(ve&&!we){Ee+=ue.lineComment(Ee,oe.indent,ge(ve))}else if(_e&&fe)fe();return Ee}if(we)ve=null;if(be){if(ve)Ee+=ue.lineComment(Ee,oe.indent,ge(ve));Ee=`? ${Ee}\n${he}:`}else{Ee=`${Ee}:`;if(ve)Ee+=ue.lineComment(Ee,oe.indent,ge(ve))}let Ce,Ie,Se;if(se.isNode(ie)){Ce=!!ie.spaceBefore;Ie=ie.commentBefore;Se=ie.comment}else{Ce=false;Ie=null;Se=null;if(ie&&typeof ie==="object")ie=pe.createNode(ie)}oe.implicitKey=false;if(!be&&!ve&&se.isScalar(ie))oe.indentAtStart=Ee.length+1;_e=false;if(!me&&Ae.length>=2&&!oe.inFlow&&!be&&se.isSeq(ie)&&!ie.flow&&!ie.tag&&!ie.anchor){oe.indent=oe.indent.substring(2)}let Be=false;const xe=ce.stringify(ie,oe,(()=>Be=true),(()=>_e=true));let ke=" ";if(ve||Ce||Ie){ke=Ce?"\n":"";if(Ie){const re=ge(Ie);ke+=`\n${ue.indentComment(re,oe.indent)}`}if(xe===""&&!oe.inFlow){if(ke==="\n")ke="\n\n"}else{ke+=`\n${oe.indent}`}}else if(!be&&se.isCollection(ie)){const re=xe[0];const se=xe.indexOf("\n");const ae=se!==-1;const ce=oe.inFlow??ie.flow??ie.items.length===0;if(ae||!ce){let ie=false;if(ae&&(re==="&"||re==="!")){let oe=xe.indexOf(" ");if(re==="&"&&oe!==-1&&oe{"use strict";var se=oe(9338);var ae=oe(62889);const getFoldOptions=(re,ie)=>({indentAtStart:ie?re.indent.length:re.indentAtStart,lineWidth:re.options.lineWidth,minContentWidth:re.options.minContentWidth});const containsDocumentMarker=re=>/^(%|---|\.\.\.)/m.test(re);function lineLengthOverLimit(re,ie,oe){if(!ie||ie<0)return false;const se=ie-oe;const ae=re.length;if(ae<=se)return false;for(let ie=0,oe=0;iese)return true;oe=ie+1;if(ae-oe<=se)return false}}return true}function doubleQuotedString(re,ie){const oe=JSON.stringify(re);if(ie.options.doubleQuotedAsJSON)return oe;const{implicitKey:se}=ie;const ce=ie.options.doubleQuotedMinMultiLineLength;const ue=ie.indent||(containsDocumentMarker(re)?" ":"");let le="";let fe=0;for(let re=0,ie=oe[re];ie;ie=oe[++re]){if(ie===" "&&oe[re+1]==="\\"&&oe[re+2]==="n"){le+=oe.slice(fe,re)+"\\ ";re+=1;fe=re;ie="\\"}if(ie==="\\")switch(oe[re+1]){case"u":{le+=oe.slice(fe,re);const ie=oe.substr(re+2,4);switch(ie){case"0000":le+="\\0";break;case"0007":le+="\\a";break;case"000b":le+="\\v";break;case"001b":le+="\\e";break;case"0085":le+="\\N";break;case"00a0":le+="\\_";break;case"2028":le+="\\L";break;case"2029":le+="\\P";break;default:if(ie.substr(0,2)==="00")le+="\\x"+ie.substr(2);else le+=oe.substr(re,6)}re+=5;fe=re+1}break;case"n":if(se||oe[re+2]==='"'||oe.length\n";let me;let ye;for(ye=oe.length;ye>0;--ye){const re=oe[ye-1];if(re!=="\n"&&re!=="\t"&&re!==" ")break}let ve=oe.substring(ye);const be=ve.indexOf("\n");if(be===-1){me="-"}else if(oe===ve||be!==ve.length-1){me="+";if(fe)fe()}else{me=""}if(ve){oe=oe.slice(0,-ve.length);if(ve[ve.length-1]==="\n")ve=ve.slice(0,-1);ve=ve.replace(ce,`$&${Ae}`)}let we=false;let _e;let Ee=-1;for(_e=0;_e")+(we?Ie:"")+me;if(re){Se+=" "+pe(re.replace(/ ?[\r\n]+/g," "));if(le)le()}if(ge){oe=oe.replace(/\n+/g,`$&${Ae}`);return`${Se}\n${Ae}${Ce}${oe}${ve}`}oe=oe.replace(/\n+/g,"\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${Ae}`);const Be=ae.foldFlowLines(`${Ce}${oe}${ve}`,Ae,ae.FOLD_BLOCK,getFoldOptions(ue,true));return`${Se}\n${Ae}${Be}`}function plainString(re,ie,oe,ce){const{type:ue,value:le}=re;const{actualString:fe,implicitKey:de,indent:pe,indentStep:he,inFlow:Ae}=ie;if(de&&le.includes("\n")||Ae&&/[[\]{},]/.test(le)){return quotedString(le,ie)}if(!le||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(le)){return de||Ae||!le.includes("\n")?quotedString(le,ie):blockString(re,ie,oe,ce)}if(!de&&!Ae&&ue!==se.Scalar.PLAIN&&le.includes("\n")){return blockString(re,ie,oe,ce)}if(containsDocumentMarker(le)){if(pe===""){ie.forceBlockIndent=true;return blockString(re,ie,oe,ce)}else if(de&&pe===he){return quotedString(le,ie)}}const ge=le.replace(/\n+/g,`$&\n${pe}`);if(fe){const test=re=>re.default&&re.tag!=="tag:yaml.org,2002:str"&&re.test?.test(ge);const{compat:re,tags:oe}=ie.doc.schema;if(oe.some(test)||re?.some(test))return quotedString(le,ie)}return de?ge:ae.foldFlowLines(ge,pe,ae.FOLD_FLOW,getFoldOptions(ie,false))}function stringifyString(re,ie,oe,ae){const{implicitKey:ce,inFlow:ue}=ie;const le=typeof re.value==="string"?re:Object.assign({},re,{value:String(re.value)});let{type:fe}=re;if(fe!==se.Scalar.QUOTE_DOUBLE){if(/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(le.value))fe=se.Scalar.QUOTE_DOUBLE}const _stringify=re=>{switch(re){case se.Scalar.BLOCK_FOLDED:case se.Scalar.BLOCK_LITERAL:return ce||ue?quotedString(le.value,ie):blockString(le,ie,oe,ae);case se.Scalar.QUOTE_DOUBLE:return doubleQuotedString(le.value,ie);case se.Scalar.QUOTE_SINGLE:return singleQuotedString(le.value,ie);case se.Scalar.PLAIN:return plainString(le,ie,oe,ae);default:return null}};let de=_stringify(fe);if(de===null){const{defaultKeyType:re,defaultStringType:oe}=ie.options;const se=ce&&re||oe;de=_stringify(se);if(de===null)throw new Error(`Unsupported default string type ${se}`)}return de}ie.stringifyString=stringifyString},16796:(re,ie,oe)=>{"use strict";var se=oe(15589);const ae=Symbol("break visit");const ce=Symbol("skip children");const ue=Symbol("remove node");function visit(re,ie){const oe=initVisitor(ie);if(se.isDocument(re)){const ie=visit_(null,re.contents,oe,Object.freeze([re]));if(ie===ue)re.contents=null}else visit_(null,re,oe,Object.freeze([]))}visit.BREAK=ae;visit.SKIP=ce;visit.REMOVE=ue;function visit_(re,ie,oe,ce){const le=callVisitor(re,ie,oe,ce);if(se.isNode(le)||se.isPair(le)){replaceNode(re,ce,le);return visit_(re,le,oe,ce)}if(typeof le!=="symbol"){if(se.isCollection(ie)){ce=Object.freeze(ce.concat(ie));for(let re=0;re{"use strict";var se=oe(41773);var ae=oe(97742); +var R;(function(R){(function(pe){var Ae=typeof globalThis==="object"?globalThis:typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:sloppyModeThis();var he=makeExporter(R);if(typeof Ae.Reflect!=="undefined"){he=makeExporter(Ae.Reflect,he)}pe(he,Ae);if(typeof Ae.Reflect==="undefined"){Ae.Reflect=R}function makeExporter(R,pe){return function(Ae,he){Object.defineProperty(R,Ae,{configurable:true,writable:true,value:he});if(pe)pe(Ae,he)}}function functionThis(){try{return Function("return this;")()}catch(R){}}function indirectEvalThis(){try{return(void 0,eval)("(function() { return this; })()")}catch(R){}}function sloppyModeThis(){return functionThis()||indirectEvalThis()}})((function(R,pe){var Ae=Object.prototype.hasOwnProperty;var he=typeof Symbol==="function";var ge=he&&typeof Symbol.toPrimitive!=="undefined"?Symbol.toPrimitive:"@@toPrimitive";var me=he&&typeof Symbol.iterator!=="undefined"?Symbol.iterator:"@@iterator";var ye=typeof Object.create==="function";var ve={__proto__:[]}instanceof Array;var be=!ye&&!ve;var Ee={create:ye?function(){return MakeDictionary(Object.create(null))}:ve?function(){return MakeDictionary({__proto__:null})}:function(){return MakeDictionary({})},has:be?function(R,pe){return Ae.call(R,pe)}:function(R,pe){return pe in R},get:be?function(R,pe){return Ae.call(R,pe)?R[pe]:undefined}:function(R,pe){return R[pe]}};var Ce=Object.getPrototypeOf(Function);var we=typeof Map==="function"&&typeof Map.prototype.entries==="function"?Map:CreateMapPolyfill();var Ie=typeof Set==="function"&&typeof Set.prototype.entries==="function"?Set:CreateSetPolyfill();var _e=typeof WeakMap==="function"?WeakMap:CreateWeakMapPolyfill();var Be=he?Symbol.for("@reflect-metadata:registry"):undefined;var Se=GetOrCreateMetadataRegistry();var Qe=CreateMetadataProvider(Se);function decorate(R,pe,Ae,he){if(!IsUndefined(Ae)){if(!IsArray(R))throw new TypeError;if(!IsObject(pe))throw new TypeError;if(!IsObject(he)&&!IsUndefined(he)&&!IsNull(he))throw new TypeError;if(IsNull(he))he=undefined;Ae=ToPropertyKey(Ae);return DecorateProperty(R,pe,Ae,he)}else{if(!IsArray(R))throw new TypeError;if(!IsConstructor(pe))throw new TypeError;return DecorateConstructor(R,pe)}}R("decorate",decorate);function metadata(R,pe){function decorator(Ae,he){if(!IsObject(Ae))throw new TypeError;if(!IsUndefined(he)&&!IsPropertyKey(he))throw new TypeError;OrdinaryDefineOwnMetadata(R,pe,Ae,he)}return decorator}R("metadata",metadata);function defineMetadata(R,pe,Ae,he){if(!IsObject(Ae))throw new TypeError;if(!IsUndefined(he))he=ToPropertyKey(he);return OrdinaryDefineOwnMetadata(R,pe,Ae,he)}R("defineMetadata",defineMetadata);function hasMetadata(R,pe,Ae){if(!IsObject(pe))throw new TypeError;if(!IsUndefined(Ae))Ae=ToPropertyKey(Ae);return OrdinaryHasMetadata(R,pe,Ae)}R("hasMetadata",hasMetadata);function hasOwnMetadata(R,pe,Ae){if(!IsObject(pe))throw new TypeError;if(!IsUndefined(Ae))Ae=ToPropertyKey(Ae);return OrdinaryHasOwnMetadata(R,pe,Ae)}R("hasOwnMetadata",hasOwnMetadata);function getMetadata(R,pe,Ae){if(!IsObject(pe))throw new TypeError;if(!IsUndefined(Ae))Ae=ToPropertyKey(Ae);return OrdinaryGetMetadata(R,pe,Ae)}R("getMetadata",getMetadata);function getOwnMetadata(R,pe,Ae){if(!IsObject(pe))throw new TypeError;if(!IsUndefined(Ae))Ae=ToPropertyKey(Ae);return OrdinaryGetOwnMetadata(R,pe,Ae)}R("getOwnMetadata",getOwnMetadata);function getMetadataKeys(R,pe){if(!IsObject(R))throw new TypeError;if(!IsUndefined(pe))pe=ToPropertyKey(pe);return OrdinaryMetadataKeys(R,pe)}R("getMetadataKeys",getMetadataKeys);function getOwnMetadataKeys(R,pe){if(!IsObject(R))throw new TypeError;if(!IsUndefined(pe))pe=ToPropertyKey(pe);return OrdinaryOwnMetadataKeys(R,pe)}R("getOwnMetadataKeys",getOwnMetadataKeys);function deleteMetadata(R,pe,Ae){if(!IsObject(pe))throw new TypeError;if(!IsUndefined(Ae))Ae=ToPropertyKey(Ae);if(!IsObject(pe))throw new TypeError;if(!IsUndefined(Ae))Ae=ToPropertyKey(Ae);var he=GetMetadataProvider(pe,Ae,false);if(IsUndefined(he))return false;return he.OrdinaryDeleteMetadata(R,pe,Ae)}R("deleteMetadata",deleteMetadata);function DecorateConstructor(R,pe){for(var Ae=R.length-1;Ae>=0;--Ae){var he=R[Ae];var ge=he(pe);if(!IsUndefined(ge)&&!IsNull(ge)){if(!IsConstructor(ge))throw new TypeError;pe=ge}}return pe}function DecorateProperty(R,pe,Ae,he){for(var ge=R.length-1;ge>=0;--ge){var me=R[ge];var ye=me(pe,Ae,he);if(!IsUndefined(ye)&&!IsNull(ye)){if(!IsObject(ye))throw new TypeError;he=ye}}return he}function OrdinaryHasMetadata(R,pe,Ae){var he=OrdinaryHasOwnMetadata(R,pe,Ae);if(he)return true;var ge=OrdinaryGetPrototypeOf(pe);if(!IsNull(ge))return OrdinaryHasMetadata(R,ge,Ae);return false}function OrdinaryHasOwnMetadata(R,pe,Ae){var he=GetMetadataProvider(pe,Ae,false);if(IsUndefined(he))return false;return ToBoolean(he.OrdinaryHasOwnMetadata(R,pe,Ae))}function OrdinaryGetMetadata(R,pe,Ae){var he=OrdinaryHasOwnMetadata(R,pe,Ae);if(he)return OrdinaryGetOwnMetadata(R,pe,Ae);var ge=OrdinaryGetPrototypeOf(pe);if(!IsNull(ge))return OrdinaryGetMetadata(R,ge,Ae);return undefined}function OrdinaryGetOwnMetadata(R,pe,Ae){var he=GetMetadataProvider(pe,Ae,false);if(IsUndefined(he))return;return he.OrdinaryGetOwnMetadata(R,pe,Ae)}function OrdinaryDefineOwnMetadata(R,pe,Ae,he){var ge=GetMetadataProvider(Ae,he,true);ge.OrdinaryDefineOwnMetadata(R,pe,Ae,he)}function OrdinaryMetadataKeys(R,pe){var Ae=OrdinaryOwnMetadataKeys(R,pe);var he=OrdinaryGetPrototypeOf(R);if(he===null)return Ae;var ge=OrdinaryMetadataKeys(he,pe);if(ge.length<=0)return Ae;if(Ae.length<=0)return ge;var me=new Ie;var ye=[];for(var ve=0,be=Ae;ve=0&&R=this._keys.length){this._index=-1;this._keys=pe;this._values=pe}else{this._index++}return{value:Ae,done:false}}return{value:undefined,done:true}};MapIterator.prototype.throw=function(R){if(this._index>=0){this._index=-1;this._keys=pe;this._values=pe}throw R};MapIterator.prototype.return=function(R){if(this._index>=0){this._index=-1;this._keys=pe;this._values=pe}return{value:R,done:true}};return MapIterator}();var he=function(){function Map(){this._keys=[];this._values=[];this._cacheKey=R;this._cacheIndex=-2}Object.defineProperty(Map.prototype,"size",{get:function(){return this._keys.length},enumerable:true,configurable:true});Map.prototype.has=function(R){return this._find(R,false)>=0};Map.prototype.get=function(R){var pe=this._find(R,false);return pe>=0?this._values[pe]:undefined};Map.prototype.set=function(R,pe){var Ae=this._find(R,true);this._values[Ae]=pe;return this};Map.prototype.delete=function(pe){var Ae=this._find(pe,false);if(Ae>=0){var he=this._keys.length;for(var ge=Ae+1;ge{"use strict";var he=Ae(41773);var ge=Ae(97742); /*! * Copyright (c) 2022 Digital Bazaar, Inc. All rights reserved. - */const ce=new WeakMap;const[ue,le]=ae.versions.node.split(".").map((re=>parseInt(re,10)));const fe=ue>18||ue===18&&le>=2;function convertAgent(re){if(!fe){return re}if(re?.fetch&&!re.fetch._httpClientCustomFetch){return re}const ie=re?.agent||re?.httpsAgent;if(!ie){return re}let oe=ce.get(ie);if(!oe){const re=new se.Agent({connect:ie.options});oe=createFetch(re);oe._httpClientCustomFetch=true;ce.set(ie,oe)}return{...re,fetch:oe}}function createFetch(re){return function fetch(...ie){re=ie[1]&&ie[1].dispatcher||re;ie[1]={...ie[1],dispatcher:re};return globalThis.fetch(...ie)}}function deferred(re){let ie;return{then(oe,se){ie||(ie=new Promise((ie=>ie(re()))));return ie.then(oe,se)}}} + */const me=new WeakMap;const[ye,ve]=ge.versions.node.split(".").map((R=>parseInt(R,10)));const be=ye>18||ye===18&&ve>=2;function convertAgent(R){if(!be){return R}if(R?.fetch&&!R.fetch._httpClientCustomFetch){return R}const pe=R?.agent||R?.httpsAgent;if(!pe){return R}let Ae=me.get(pe);if(!Ae){const R=new he.Agent({connect:pe.options});Ae=createFetch(R);Ae._httpClientCustomFetch=true;me.set(pe,Ae)}return{...R,fetch:Ae}}function createFetch(R){return function fetch(...pe){R=pe[1]&&pe[1].dispatcher||R;pe[1]={...pe[1],dispatcher:R};return globalThis.fetch(...pe)}}function deferred(R){let pe;return{then(Ae,he){pe||(pe=new Promise((pe=>pe(R()))));return pe.then(Ae,he)}}} /*! * Copyright (c) 2020-2022 Digital Bazaar, Inc. All rights reserved. - */const de=deferred((()=>oe.e(925).then(oe.bind(oe,84925)).then((({default:re})=>re))));const pe={Accept:"application/ld+json, application/json"};const he=new Set(["get","post","put","push","patch","head","delete"]);function createInstance({parent:re=de,headers:ie={},...oe}={}){oe=convertAgent(oe);const se=deferred((()=>re.then((se=>{let ae;if(re===de){ae=se.create({headers:{...pe,...ie},...oe})}else{ae=se.extend({headers:ie,...oe})}return ae}))));return _createHttpClient(se)}function _createHttpClient(re){async function httpClient(...ie){const oe=await re;const se=(ie[1]&&ie[1].method||"get").toLowerCase();if(he.has(se)){return httpClient[se].apply(oe[se],ie)}ie[1]=convertAgent(ie[1]);return oe.apply(oe,ie)}for(const ie of he){httpClient[ie]=async function(...oe){const se=await re;return _handleResponse(se[ie],se,oe)}}httpClient.create=function({headers:re={},...ie}){return createInstance({headers:re,...ie})};httpClient.extend=function({headers:ie={},...oe}){return createInstance({parent:re,headers:ie,...oe})};Object.defineProperty(httpClient,"stop",{async get(){const ie=await re;return ie.stop}});return httpClient}async function _handleResponse(re,ie,oe){oe[1]=convertAgent(oe[1]);let se;const[ae]=oe;try{se=await re.apply(ie,oe)}catch(re){return _handleError({error:re,url:ae})}const{parseBody:ce=true}=oe[1]||{};let ue;if(ce){const re=se.headers.get("content-type");if(re&&re.includes("json")){ue=await se.json()}}Object.defineProperty(se,"data",{value:ue});return se}async function _handleError({error:re,url:ie}){re.requestUrl=ie;if(!re.response){if(re.message==="Failed to fetch"){re.message=`Failed to fetch "${ie}". Possible CORS error.`}if(re.name==="TimeoutError"){re.message=`Request to "${ie}" timed out.`}throw re}re.status=re.response.status;const oe=re.response.headers.get("content-type");if(oe&&oe.includes("json")){const ie=await re.response.json();re.message=ie.message||re.message;re.data=ie}throw re} + */const Ee=deferred((()=>Ae.e(925).then(Ae.bind(Ae,84925)).then((({default:R})=>R))));const Ce={Accept:"application/ld+json, application/json"};const we=new Set(["get","post","put","push","patch","head","delete"]);function createInstance({parent:R=Ee,headers:pe={},...Ae}={}){Ae=convertAgent(Ae);const he=deferred((()=>R.then((he=>{let ge;if(R===Ee){ge=he.create({headers:{...Ce,...pe},...Ae})}else{ge=he.extend({headers:pe,...Ae})}return ge}))));return _createHttpClient(he)}function _createHttpClient(R){async function httpClient(...pe){const Ae=await R;const he=(pe[1]&&pe[1].method||"get").toLowerCase();if(we.has(he)){return httpClient[he].apply(Ae[he],pe)}pe[1]=convertAgent(pe[1]);return Ae.apply(Ae,pe)}for(const pe of we){httpClient[pe]=async function(...Ae){const he=await R;return _handleResponse(he[pe],he,Ae)}}httpClient.create=function({headers:R={},...pe}){return createInstance({headers:R,...pe})};httpClient.extend=function({headers:pe={},...Ae}){return createInstance({parent:R,headers:pe,...Ae})};Object.defineProperty(httpClient,"stop",{async get(){const pe=await R;return pe.stop}});return httpClient}async function _handleResponse(R,pe,Ae){Ae[1]=convertAgent(Ae[1]);let he;const[ge]=Ae;try{he=await R.apply(pe,Ae)}catch(R){return _handleError({error:R,url:ge})}const{parseBody:me=true}=Ae[1]||{};let ye;if(me){const R=he.headers.get("content-type");if(R&&R.includes("json")){ye=await he.json()}}Object.defineProperty(he,"data",{value:ye});return he}async function _handleError({error:R,url:pe}){R.requestUrl=pe;if(!R.response){if(R.message==="Failed to fetch"){R.message=`Failed to fetch "${pe}". Possible CORS error.`}if(R.name==="TimeoutError"){R.message=`Request to "${pe}" timed out.`}throw R}R.status=R.response.status;const Ae=R.response.headers.get("content-type");if(Ae&&Ae.includes("json")){const pe=await R.response.json();R.message=pe.message||R.message;R.data=pe}throw R} /*! * Copyright (c) 2020-2022 Digital Bazaar, Inc. All rights reserved. - */const Ae=createInstance();ie.DEFAULT_HEADERS=pe;ie.httpClient=Ae;ie.kyPromise=de},88757:(re,ie,oe)=>{"use strict";const se=oe(64334);const ae=oe(57310);const ce=oe(63329);const ue=oe(13685);const le=oe(95687);const fe=oe(73837);const de=oe(67707);const pe=oe(59796);const he=oe(12781);const Ae=oe(82361);function _interopDefaultLegacy(re){return re&&typeof re==="object"&&"default"in re?re:{default:re}}const ge=_interopDefaultLegacy(se);const me=_interopDefaultLegacy(ae);const ye=_interopDefaultLegacy(ue);const ve=_interopDefaultLegacy(le);const be=_interopDefaultLegacy(fe);const we=_interopDefaultLegacy(de);const _e=_interopDefaultLegacy(pe);const Ee=_interopDefaultLegacy(he);const Ce=_interopDefaultLegacy(Ae);function bind(re,ie){return function wrap(){return re.apply(ie,arguments)}}const{toString:Ie}=Object.prototype;const{getPrototypeOf:Se}=Object;const Be=(re=>ie=>{const oe=Ie.call(ie);return re[oe]||(re[oe]=oe.slice(8,-1).toLowerCase())})(Object.create(null));const kindOfTest=re=>{re=re.toLowerCase();return ie=>Be(ie)===re};const typeOfTest=re=>ie=>typeof ie===re;const{isArray:xe}=Array;const ke=typeOfTest("undefined");function isBuffer(re){return re!==null&&!ke(re)&&re.constructor!==null&&!ke(re.constructor)&&Pe(re.constructor.isBuffer)&&re.constructor.isBuffer(re)}const Oe=kindOfTest("ArrayBuffer");function isArrayBufferView(re){let ie;if(typeof ArrayBuffer!=="undefined"&&ArrayBuffer.isView){ie=ArrayBuffer.isView(re)}else{ie=re&&re.buffer&&Oe(re.buffer)}return ie}const De=typeOfTest("string");const Pe=typeOfTest("function");const Te=typeOfTest("number");const isObject=re=>re!==null&&typeof re==="object";const isBoolean=re=>re===true||re===false;const isPlainObject=re=>{if(Be(re)!=="object"){return false}const ie=Se(re);return(ie===null||ie===Object.prototype||Object.getPrototypeOf(ie)===null)&&!(Symbol.toStringTag in re)&&!(Symbol.iterator in re)};const Qe=kindOfTest("Date");const Re=kindOfTest("File");const Me=kindOfTest("Blob");const Ne=kindOfTest("FileList");const isStream=re=>isObject(re)&&Pe(re.pipe);const isFormData=re=>{let ie;return re&&(typeof FormData==="function"&&re instanceof FormData||Pe(re.append)&&((ie=Be(re))==="formdata"||ie==="object"&&Pe(re.toString)&&re.toString()==="[object FormData]"))};const je=kindOfTest("URLSearchParams");const trim=re=>re.trim?re.trim():re.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function forEach(re,ie,{allOwnKeys:oe=false}={}){if(re===null||typeof re==="undefined"){return}let se;let ae;if(typeof re!=="object"){re=[re]}if(xe(re)){for(se=0,ae=re.length;se0){ae=oe[se];if(ie===ae.toLowerCase()){return ae}}return null}const Le=(()=>{if(typeof globalThis!=="undefined")return globalThis;return typeof self!=="undefined"?self:typeof window!=="undefined"?window:global})();const isContextDefined=re=>!ke(re)&&re!==Le;function merge(){const{caseless:re}=isContextDefined(this)&&this||{};const ie={};const assignValue=(oe,se)=>{const ae=re&&findKey(ie,se)||se;if(isPlainObject(ie[ae])&&isPlainObject(oe)){ie[ae]=merge(ie[ae],oe)}else if(isPlainObject(oe)){ie[ae]=merge({},oe)}else if(xe(oe)){ie[ae]=oe.slice()}else{ie[ae]=oe}};for(let re=0,ie=arguments.length;re{forEach(ie,((ie,se)=>{if(oe&&Pe(ie)){re[se]=bind(ie,oe)}else{re[se]=ie}}),{allOwnKeys:se});return re};const stripBOM=re=>{if(re.charCodeAt(0)===65279){re=re.slice(1)}return re};const inherits=(re,ie,oe,se)=>{re.prototype=Object.create(ie.prototype,se);re.prototype.constructor=re;Object.defineProperty(re,"super",{value:ie.prototype});oe&&Object.assign(re.prototype,oe)};const toFlatObject=(re,ie,oe,se)=>{let ae;let ce;let ue;const le={};ie=ie||{};if(re==null)return ie;do{ae=Object.getOwnPropertyNames(re);ce=ae.length;while(ce-- >0){ue=ae[ce];if((!se||se(ue,re,ie))&&!le[ue]){ie[ue]=re[ue];le[ue]=true}}re=oe!==false&&Se(re)}while(re&&(!oe||oe(re,ie))&&re!==Object.prototype);return ie};const endsWith=(re,ie,oe)=>{re=String(re);if(oe===undefined||oe>re.length){oe=re.length}oe-=ie.length;const se=re.indexOf(ie,oe);return se!==-1&&se===oe};const toArray=re=>{if(!re)return null;if(xe(re))return re;let ie=re.length;if(!Te(ie))return null;const oe=new Array(ie);while(ie-- >0){oe[ie]=re[ie]}return oe};const Fe=(re=>ie=>re&&ie instanceof re)(typeof Uint8Array!=="undefined"&&Se(Uint8Array));const forEachEntry=(re,ie)=>{const oe=re&&re[Symbol.iterator];const se=oe.call(re);let ae;while((ae=se.next())&&!ae.done){const oe=ae.value;ie.call(re,oe[0],oe[1])}};const matchAll=(re,ie)=>{let oe;const se=[];while((oe=re.exec(ie))!==null){se.push(oe)}return se};const Ue=kindOfTest("HTMLFormElement");const toCamelCase=re=>re.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function replacer(re,ie,oe){return ie.toUpperCase()+oe}));const He=(({hasOwnProperty:re})=>(ie,oe)=>re.call(ie,oe))(Object.prototype);const qe=kindOfTest("RegExp");const reduceDescriptors=(re,ie)=>{const oe=Object.getOwnPropertyDescriptors(re);const se={};forEach(oe,((oe,ae)=>{if(ie(oe,ae,re)!==false){se[ae]=oe}}));Object.defineProperties(re,se)};const freezeMethods=re=>{reduceDescriptors(re,((ie,oe)=>{if(Pe(re)&&["arguments","caller","callee"].indexOf(oe)!==-1){return false}const se=re[oe];if(!Pe(se))return;ie.enumerable=false;if("writable"in ie){ie.writable=false;return}if(!ie.set){ie.set=()=>{throw Error("Can not rewrite read-only method '"+oe+"'")}}}))};const toObjectSet=(re,ie)=>{const oe={};const define=re=>{re.forEach((re=>{oe[re]=true}))};xe(re)?define(re):define(String(re).split(ie));return oe};const noop=()=>{};const toFiniteNumber=(re,ie)=>{re=+re;return Number.isFinite(re)?re:ie};const Ke="abcdefghijklmnopqrstuvwxyz";const Ve="0123456789";const Je={DIGIT:Ve,ALPHA:Ke,ALPHA_DIGIT:Ke+Ke.toUpperCase()+Ve};const generateString=(re=16,ie=Je.ALPHA_DIGIT)=>{let oe="";const{length:se}=ie;while(re--){oe+=ie[Math.random()*se|0]}return oe};function isSpecCompliantForm(re){return!!(re&&Pe(re.append)&&re[Symbol.toStringTag]==="FormData"&&re[Symbol.iterator])}const toJSONObject=re=>{const ie=new Array(10);const visit=(re,oe)=>{if(isObject(re)){if(ie.indexOf(re)>=0){return}if(!("toJSON"in re)){ie[oe]=re;const se=xe(re)?[]:{};forEach(re,((re,ie)=>{const ae=visit(re,oe+1);!ke(ae)&&(se[ie]=ae)}));ie[oe]=undefined;return se}}return re};return visit(re,0)};const We=kindOfTest("AsyncFunction");const isThenable=re=>re&&(isObject(re)||Pe(re))&&Pe(re.then)&&Pe(re.catch);const Ge={isArray:xe,isArrayBuffer:Oe,isBuffer:isBuffer,isFormData:isFormData,isArrayBufferView:isArrayBufferView,isString:De,isNumber:Te,isBoolean:isBoolean,isObject:isObject,isPlainObject:isPlainObject,isUndefined:ke,isDate:Qe,isFile:Re,isBlob:Me,isRegExp:qe,isFunction:Pe,isStream:isStream,isURLSearchParams:je,isTypedArray:Fe,isFileList:Ne,forEach:forEach,merge:merge,extend:extend,trim:trim,stripBOM:stripBOM,inherits:inherits,toFlatObject:toFlatObject,kindOf:Be,kindOfTest:kindOfTest,endsWith:endsWith,toArray:toArray,forEachEntry:forEachEntry,matchAll:matchAll,isHTMLForm:Ue,hasOwnProperty:He,hasOwnProp:He,reduceDescriptors:reduceDescriptors,freezeMethods:freezeMethods,toObjectSet:toObjectSet,toCamelCase:toCamelCase,noop:noop,toFiniteNumber:toFiniteNumber,findKey:findKey,global:Le,isContextDefined:isContextDefined,ALPHABET:Je,generateString:generateString,isSpecCompliantForm:isSpecCompliantForm,toJSONObject:toJSONObject,isAsyncFn:We,isThenable:isThenable};function AxiosError(re,ie,oe,se,ae){Error.call(this);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}else{this.stack=(new Error).stack}this.message=re;this.name="AxiosError";ie&&(this.code=ie);oe&&(this.config=oe);se&&(this.request=se);ae&&(this.response=ae)}Ge.inherits(AxiosError,Error,{toJSON:function toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Ge.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Ye=AxiosError.prototype;const ze={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((re=>{ze[re]={value:re}}));Object.defineProperties(AxiosError,ze);Object.defineProperty(Ye,"isAxiosError",{value:true});AxiosError.from=(re,ie,oe,se,ae,ce)=>{const ue=Object.create(Ye);Ge.toFlatObject(re,ue,(function filter(re){return re!==Error.prototype}),(re=>re!=="isAxiosError"));AxiosError.call(ue,re.message,ie,oe,se,ae);ue.cause=re;ue.name=re.name;ce&&Object.assign(ue,ce);return ue};function isVisitable(re){return Ge.isPlainObject(re)||Ge.isArray(re)}function removeBrackets(re){return Ge.endsWith(re,"[]")?re.slice(0,-2):re}function renderKey(re,ie,oe){if(!re)return ie;return re.concat(ie).map((function each(re,ie){re=removeBrackets(re);return!oe&&ie?"["+re+"]":re})).join(oe?".":"")}function isFlatArray(re){return Ge.isArray(re)&&!re.some(isVisitable)}const $e=Ge.toFlatObject(Ge,{},null,(function filter(re){return/^is[A-Z]/.test(re)}));function toFormData(re,ie,oe){if(!Ge.isObject(re)){throw new TypeError("target must be an object")}ie=ie||new(ge["default"]||FormData);oe=Ge.toFlatObject(oe,{metaTokens:true,dots:false,indexes:false},false,(function defined(re,ie){return!Ge.isUndefined(ie[re])}));const se=oe.metaTokens;const ae=oe.visitor||defaultVisitor;const ce=oe.dots;const ue=oe.indexes;const le=oe.Blob||typeof Blob!=="undefined"&&Blob;const fe=le&&Ge.isSpecCompliantForm(ie);if(!Ge.isFunction(ae)){throw new TypeError("visitor must be a function")}function convertValue(re){if(re===null)return"";if(Ge.isDate(re)){return re.toISOString()}if(!fe&&Ge.isBlob(re)){throw new AxiosError("Blob is not supported. Use a Buffer instead.")}if(Ge.isArrayBuffer(re)||Ge.isTypedArray(re)){return fe&&typeof Blob==="function"?new Blob([re]):Buffer.from(re)}return re}function defaultVisitor(re,oe,ae){let le=re;if(re&&!ae&&typeof re==="object"){if(Ge.endsWith(oe,"{}")){oe=se?oe:oe.slice(0,-2);re=JSON.stringify(re)}else if(Ge.isArray(re)&&isFlatArray(re)||(Ge.isFileList(re)||Ge.endsWith(oe,"[]"))&&(le=Ge.toArray(re))){oe=removeBrackets(oe);le.forEach((function each(re,se){!(Ge.isUndefined(re)||re===null)&&ie.append(ue===true?renderKey([oe],se,ce):ue===null?oe:oe+"[]",convertValue(re))}));return false}}if(isVisitable(re)){return true}ie.append(renderKey(ae,oe,ce),convertValue(re));return false}const de=[];const pe=Object.assign($e,{defaultVisitor:defaultVisitor,convertValue:convertValue,isVisitable:isVisitable});function build(re,oe){if(Ge.isUndefined(re))return;if(de.indexOf(re)!==-1){throw Error("Circular reference detected in "+oe.join("."))}de.push(re);Ge.forEach(re,(function each(re,se){const ce=!(Ge.isUndefined(re)||re===null)&&ae.call(ie,re,Ge.isString(se)?se.trim():se,oe,pe);if(ce===true){build(re,oe?oe.concat(se):[se])}}));de.pop()}if(!Ge.isObject(re)){throw new TypeError("data must be an object")}build(re);return ie}function encode$1(re){const ie={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(re).replace(/[!'()~]|%20|%00/g,(function replacer(re){return ie[re]}))}function AxiosURLSearchParams(re,ie){this._pairs=[];re&&toFormData(re,this,ie)}const Ze=AxiosURLSearchParams.prototype;Ze.append=function append(re,ie){this._pairs.push([re,ie])};Ze.toString=function toString(re){const ie=re?function(ie){return re.call(this,ie,encode$1)}:encode$1;return this._pairs.map((function each(re){return ie(re[0])+"="+ie(re[1])}),"").join("&")};function encode(re){return encodeURIComponent(re).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function buildURL(re,ie,oe){if(!ie){return re}const se=oe&&oe.encode||encode;const ae=oe&&oe.serialize;let ce;if(ae){ce=ae(ie,oe)}else{ce=Ge.isURLSearchParams(ie)?ie.toString():new AxiosURLSearchParams(ie,oe).toString(se)}if(ce){const ie=re.indexOf("#");if(ie!==-1){re=re.slice(0,ie)}re+=(re.indexOf("?")===-1?"?":"&")+ce}return re}class InterceptorManager{constructor(){this.handlers=[]}use(re,ie,oe){this.handlers.push({fulfilled:re,rejected:ie,synchronous:oe?oe.synchronous:false,runWhen:oe?oe.runWhen:null});return this.handlers.length-1}eject(re){if(this.handlers[re]){this.handlers[re]=null}}clear(){if(this.handlers){this.handlers=[]}}forEach(re){Ge.forEach(this.handlers,(function forEachHandler(ie){if(ie!==null){re(ie)}}))}}const Xe=InterceptorManager;const et={silentJSONParsing:true,forcedJSONParsing:true,clarifyTimeoutError:false};const tt=me["default"].URLSearchParams;const rt={isNode:true,classes:{URLSearchParams:tt,FormData:ge["default"],Blob:typeof Blob!=="undefined"&&Blob||null},protocols:["http","https","file","data"]};function toURLEncodedForm(re,ie){return toFormData(re,new rt.classes.URLSearchParams,Object.assign({visitor:function(re,ie,oe,se){if(Ge.isBuffer(re)){this.append(ie,re.toString("base64"));return false}return se.defaultVisitor.apply(this,arguments)}},ie))}function parsePropPath(re){return Ge.matchAll(/\w+|\[(\w*)]/g,re).map((re=>re[0]==="[]"?"":re[1]||re[0]))}function arrayToObject(re){const ie={};const oe=Object.keys(re);let se;const ae=oe.length;let ce;for(se=0;se=re.length;ae=!ae&&Ge.isArray(oe)?oe.length:ae;if(ue){if(Ge.hasOwnProp(oe,ae)){oe[ae]=[oe[ae],ie]}else{oe[ae]=ie}return!ce}if(!oe[ae]||!Ge.isObject(oe[ae])){oe[ae]=[]}const le=buildPath(re,ie,oe[ae],se);if(le&&Ge.isArray(oe[ae])){oe[ae]=arrayToObject(oe[ae])}return!ce}if(Ge.isFormData(re)&&Ge.isFunction(re.entries)){const ie={};Ge.forEachEntry(re,((re,oe)=>{buildPath(parsePropPath(re),oe,ie,0)}));return ie}return null}const nt={"Content-Type":undefined};function stringifySafely(re,ie,oe){if(Ge.isString(re)){try{(ie||JSON.parse)(re);return Ge.trim(re)}catch(re){if(re.name!=="SyntaxError"){throw re}}}return(oe||JSON.stringify)(re)}const it={transitional:et,adapter:["xhr","http"],transformRequest:[function transformRequest(re,ie){const oe=ie.getContentType()||"";const se=oe.indexOf("application/json")>-1;const ae=Ge.isObject(re);if(ae&&Ge.isHTMLForm(re)){re=new FormData(re)}const ce=Ge.isFormData(re);if(ce){if(!se){return re}return se?JSON.stringify(formDataToJSON(re)):re}if(Ge.isArrayBuffer(re)||Ge.isBuffer(re)||Ge.isStream(re)||Ge.isFile(re)||Ge.isBlob(re)){return re}if(Ge.isArrayBufferView(re)){return re.buffer}if(Ge.isURLSearchParams(re)){ie.setContentType("application/x-www-form-urlencoded;charset=utf-8",false);return re.toString()}let ue;if(ae){if(oe.indexOf("application/x-www-form-urlencoded")>-1){return toURLEncodedForm(re,this.formSerializer).toString()}if((ue=Ge.isFileList(re))||oe.indexOf("multipart/form-data")>-1){const ie=this.env&&this.env.FormData;return toFormData(ue?{"files[]":re}:re,ie&&new ie,this.formSerializer)}}if(ae||se){ie.setContentType("application/json",false);return stringifySafely(re)}return re}],transformResponse:[function transformResponse(re){const ie=this.transitional||it.transitional;const oe=ie&&ie.forcedJSONParsing;const se=this.responseType==="json";if(re&&Ge.isString(re)&&(oe&&!this.responseType||se)){const oe=ie&&ie.silentJSONParsing;const ae=!oe&&se;try{return JSON.parse(re)}catch(re){if(ae){if(re.name==="SyntaxError"){throw AxiosError.from(re,AxiosError.ERR_BAD_RESPONSE,this,null,this.response)}throw re}}}return re}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:rt.classes.FormData,Blob:rt.classes.Blob},validateStatus:function validateStatus(re){return re>=200&&re<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};Ge.forEach(["delete","get","head"],(function forEachMethodNoData(re){it.headers[re]={}}));Ge.forEach(["post","put","patch"],(function forEachMethodWithData(re){it.headers[re]=Ge.merge(nt)}));const ot=it;const st=Ge.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);const parseHeaders=re=>{const ie={};let oe;let se;let ae;re&&re.split("\n").forEach((function parser(re){ae=re.indexOf(":");oe=re.substring(0,ae).trim().toLowerCase();se=re.substring(ae+1).trim();if(!oe||ie[oe]&&st[oe]){return}if(oe==="set-cookie"){if(ie[oe]){ie[oe].push(se)}else{ie[oe]=[se]}}else{ie[oe]=ie[oe]?ie[oe]+", "+se:se}}));return ie};const at=Symbol("internals");function normalizeHeader(re){return re&&String(re).trim().toLowerCase()}function normalizeValue(re){if(re===false||re==null){return re}return Ge.isArray(re)?re.map(normalizeValue):String(re)}function parseTokens(re){const ie=Object.create(null);const oe=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let se;while(se=oe.exec(re)){ie[se[1]]=se[2]}return ie}const isValidHeaderName=re=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(re.trim());function matchHeaderValue(re,ie,oe,se,ae){if(Ge.isFunction(se)){return se.call(this,ie,oe)}if(ae){ie=oe}if(!Ge.isString(ie))return;if(Ge.isString(se)){return ie.indexOf(se)!==-1}if(Ge.isRegExp(se)){return se.test(ie)}}function formatHeader(re){return re.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((re,ie,oe)=>ie.toUpperCase()+oe))}function buildAccessors(re,ie){const oe=Ge.toCamelCase(" "+ie);["get","set","has"].forEach((se=>{Object.defineProperty(re,se+oe,{value:function(re,oe,ae){return this[se].call(this,ie,re,oe,ae)},configurable:true})}))}class AxiosHeaders{constructor(re){re&&this.set(re)}set(re,ie,oe){const se=this;function setHeader(re,ie,oe){const ae=normalizeHeader(ie);if(!ae){throw new Error("header name must be a non-empty string")}const ce=Ge.findKey(se,ae);if(!ce||se[ce]===undefined||oe===true||oe===undefined&&se[ce]!==false){se[ce||ie]=normalizeValue(re)}}const setHeaders=(re,ie)=>Ge.forEach(re,((re,oe)=>setHeader(re,oe,ie)));if(Ge.isPlainObject(re)||re instanceof this.constructor){setHeaders(re,ie)}else if(Ge.isString(re)&&(re=re.trim())&&!isValidHeaderName(re)){setHeaders(parseHeaders(re),ie)}else{re!=null&&setHeader(ie,re,oe)}return this}get(re,ie){re=normalizeHeader(re);if(re){const oe=Ge.findKey(this,re);if(oe){const re=this[oe];if(!ie){return re}if(ie===true){return parseTokens(re)}if(Ge.isFunction(ie)){return ie.call(this,re,oe)}if(Ge.isRegExp(ie)){return ie.exec(re)}throw new TypeError("parser must be boolean|regexp|function")}}}has(re,ie){re=normalizeHeader(re);if(re){const oe=Ge.findKey(this,re);return!!(oe&&this[oe]!==undefined&&(!ie||matchHeaderValue(this,this[oe],oe,ie)))}return false}delete(re,ie){const oe=this;let se=false;function deleteHeader(re){re=normalizeHeader(re);if(re){const ae=Ge.findKey(oe,re);if(ae&&(!ie||matchHeaderValue(oe,oe[ae],ae,ie))){delete oe[ae];se=true}}}if(Ge.isArray(re)){re.forEach(deleteHeader)}else{deleteHeader(re)}return se}clear(re){const ie=Object.keys(this);let oe=ie.length;let se=false;while(oe--){const ae=ie[oe];if(!re||matchHeaderValue(this,this[ae],ae,re,true)){delete this[ae];se=true}}return se}normalize(re){const ie=this;const oe={};Ge.forEach(this,((se,ae)=>{const ce=Ge.findKey(oe,ae);if(ce){ie[ce]=normalizeValue(se);delete ie[ae];return}const ue=re?formatHeader(ae):String(ae).trim();if(ue!==ae){delete ie[ae]}ie[ue]=normalizeValue(se);oe[ue]=true}));return this}concat(...re){return this.constructor.concat(this,...re)}toJSON(re){const ie=Object.create(null);Ge.forEach(this,((oe,se)=>{oe!=null&&oe!==false&&(ie[se]=re&&Ge.isArray(oe)?oe.join(", "):oe)}));return ie}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([re,ie])=>re+": "+ie)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(re){return re instanceof this?re:new this(re)}static concat(re,...ie){const oe=new this(re);ie.forEach((re=>oe.set(re)));return oe}static accessor(re){const ie=this[at]=this[at]={accessors:{}};const oe=ie.accessors;const se=this.prototype;function defineAccessor(re){const ie=normalizeHeader(re);if(!oe[ie]){buildAccessors(se,re);oe[ie]=true}}Ge.isArray(re)?re.forEach(defineAccessor):defineAccessor(re);return this}}AxiosHeaders.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);Ge.freezeMethods(AxiosHeaders.prototype);Ge.freezeMethods(AxiosHeaders);const ct=AxiosHeaders;function transformData(re,ie){const oe=this||ot;const se=ie||oe;const ae=ct.from(se.headers);let ce=se.data;Ge.forEach(re,(function transform(re){ce=re.call(oe,ce,ae.normalize(),ie?ie.status:undefined)}));ae.normalize();return ce}function isCancel(re){return!!(re&&re.__CANCEL__)}function CanceledError(re,ie,oe){AxiosError.call(this,re==null?"canceled":re,AxiosError.ERR_CANCELED,ie,oe);this.name="CanceledError"}Ge.inherits(CanceledError,AxiosError,{__CANCEL__:true});function settle(re,ie,oe){const se=oe.config.validateStatus;if(!oe.status||!se||se(oe.status)){re(oe)}else{ie(new AxiosError("Request failed with status code "+oe.status,[AxiosError.ERR_BAD_REQUEST,AxiosError.ERR_BAD_RESPONSE][Math.floor(oe.status/100)-4],oe.config,oe.request,oe))}}function isAbsoluteURL(re){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(re)}function combineURLs(re,ie){return ie?re.replace(/\/+$/,"")+"/"+ie.replace(/^\/+/,""):re}function buildFullPath(re,ie){if(re&&!isAbsoluteURL(ie)){return combineURLs(re,ie)}return ie}const ut="1.4.0";function parseProtocol(re){const ie=/^([-+\w]{1,25})(:?\/\/|:)/.exec(re);return ie&&ie[1]||""}const ft=/^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;function fromDataURI(re,ie,oe){const se=oe&&oe.Blob||rt.classes.Blob;const ae=parseProtocol(re);if(ie===undefined&&se){ie=true}if(ae==="data"){re=ae.length?re.slice(ae.length+1):re;const oe=ft.exec(re);if(!oe){throw new AxiosError("Invalid URL",AxiosError.ERR_INVALID_URL)}const ce=oe[1];const ue=oe[2];const le=oe[3];const fe=Buffer.from(decodeURIComponent(le),ue?"base64":"utf8");if(ie){if(!se){throw new AxiosError("Blob is not supported",AxiosError.ERR_NOT_SUPPORT)}return new se([fe],{type:ce})}return fe}throw new AxiosError("Unsupported protocol "+ae,AxiosError.ERR_NOT_SUPPORT)}function throttle(re,ie){let oe=0;const se=1e3/ie;let ae=null;return function throttled(ie,ce){const ue=Date.now();if(ie||ue-oe>se){if(ae){clearTimeout(ae);ae=null}oe=ue;return re.apply(null,ce)}if(!ae){ae=setTimeout((()=>{ae=null;oe=Date.now();return re.apply(null,ce)}),se-(ue-oe))}}}function speedometer(re,ie){re=re||10;const oe=new Array(re);const se=new Array(re);let ae=0;let ce=0;let ue;ie=ie!==undefined?ie:1e3;return function push(le){const fe=Date.now();const de=se[ce];if(!ue){ue=fe}oe[ae]=le;se[ae]=fe;let pe=ce;let he=0;while(pe!==ae){he+=oe[pe++];pe=pe%re}ae=(ae+1)%re;if(ae===ce){ce=(ce+1)%re}if(fe-ue!Ge.isUndefined(ie[re])));super({readableHighWaterMark:re.chunkSize});const ie=this;const oe=this[dt]={length:re.length,timeWindow:re.timeWindow,ticksRate:re.ticksRate,chunkSize:re.chunkSize,maxRate:re.maxRate,minChunkSize:re.minChunkSize,bytesSeen:0,isCaptured:false,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null};const se=speedometer(oe.ticksRate*re.samplesCount,oe.timeWindow);this.on("newListener",(re=>{if(re==="progress"){if(!oe.isCaptured){oe.isCaptured=true}}}));let ae=0;oe.updateProgress=throttle((function throttledHandler(){const re=oe.length;const ce=oe.bytesSeen;const ue=ce-ae;if(!ue||ie.destroyed)return;const le=se(ue);ae=ce;process.nextTick((()=>{ie.emit("progress",{loaded:ce,total:re,progress:re?ce/re:undefined,bytes:ue,rate:le?le:undefined,estimated:le&&re&&ce<=re?(re-ce)/le:undefined})}))}),oe.ticksRate);const onFinish=()=>{oe.updateProgress(true)};this.once("end",onFinish);this.once("error",onFinish)}_read(re){const ie=this[dt];if(ie.onReadCallback){ie.onReadCallback()}return super._read(re)}_transform(re,ie,oe){const se=this;const ae=this[dt];const ce=ae.maxRate;const ue=this.readableHighWaterMark;const le=ae.timeWindow;const fe=1e3/le;const de=ce/fe;const pe=ae.minChunkSize!==false?Math.max(ae.minChunkSize,de*.01):0;function pushChunk(re,ie){const oe=Buffer.byteLength(re);ae.bytesSeen+=oe;ae.bytes+=oe;if(ae.isCaptured){ae.updateProgress()}if(se.push(re)){process.nextTick(ie)}else{ae.onReadCallback=()=>{ae.onReadCallback=null;process.nextTick(ie)}}}const transformChunk=(re,ie)=>{const oe=Buffer.byteLength(re);let se=null;let fe=ue;let he;let Ae=0;if(ce){const re=Date.now();if(!ae.ts||(Ae=re-ae.ts)>=le){ae.ts=re;he=de-ae.bytes;ae.bytes=he<0?-he:0;Ae=0}he=de-ae.bytes}if(ce){if(he<=0){return setTimeout((()=>{ie(null,re)}),le-Ae)}if(hefe&&oe-fe>pe){se=re.subarray(fe);re=re.subarray(0,fe)}pushChunk(re,se?()=>{process.nextTick(ie,null,se)}:ie)};transformChunk(re,(function transformNextChunk(re,ie){if(re){return oe(re)}if(ie){transformChunk(ie,transformNextChunk)}else{oe(null)}}))}setLength(re){this[dt].length=+re;return this}}const pt=AxiosTransformStream;const{asyncIterator:ht}=Symbol;const readBlob=async function*(re){if(re.stream){yield*re.stream()}else if(re.arrayBuffer){yield await re.arrayBuffer()}else if(re[ht]){yield*re[ht]()}else{yield re}};const At=readBlob;const mt=Ge.ALPHABET.ALPHA_DIGIT+"-_";const yt=new fe.TextEncoder;const vt="\r\n";const bt=yt.encode(vt);const wt=2;class FormDataPart{constructor(re,ie){const{escapeName:oe}=this.constructor;const se=Ge.isString(ie);let ae=`Content-Disposition: form-data; name="${oe(re)}"${!se&&ie.name?`; filename="${oe(ie.name)}"`:""}${vt}`;if(se){ie=yt.encode(String(ie).replace(/\r?\n|\r\n?/g,vt))}else{ae+=`Content-Type: ${ie.type||"application/octet-stream"}${vt}`}this.headers=yt.encode(ae+vt);this.contentLength=se?ie.byteLength:ie.size;this.size=this.headers.byteLength+this.contentLength+wt;this.name=re;this.value=ie}async*encode(){yield this.headers;const{value:re}=this;if(Ge.isTypedArray(re)){yield re}else{yield*At(re)}yield bt}static escapeName(re){return String(re).replace(/[\r\n"]/g,(re=>({"\r":"%0D","\n":"%0A",'"':"%22"}[re])))}}const formDataToStream=(re,ie,oe)=>{const{tag:se="form-data-boundary",size:ae=25,boundary:ce=se+"-"+Ge.generateString(ae,mt)}=oe||{};if(!Ge.isFormData(re)){throw TypeError("FormData instance required")}if(ce.length<1||ce.length>70){throw Error("boundary must be 10-70 characters long")}const ue=yt.encode("--"+ce+vt);const le=yt.encode("--"+ce+"--"+vt+vt);let fe=le.byteLength;const de=Array.from(re.entries()).map((([re,ie])=>{const oe=new FormDataPart(re,ie);fe+=oe.size;return oe}));fe+=ue.byteLength*de.length;fe=Ge.toFiniteNumber(fe);const pe={"Content-Type":`multipart/form-data; boundary=${ce}`};if(Number.isFinite(fe)){pe["Content-Length"]=fe}ie&&ie(pe);return he.Readable.from(async function*(){for(const re of de){yield ue;yield*re.encode()}yield le}())};const _t=formDataToStream;class ZlibHeaderTransformStream extends Ee["default"].Transform{__transform(re,ie,oe){this.push(re);oe()}_transform(re,ie,oe){if(re.length!==0){this._transform=this.__transform;if(re[0]!==120){const re=Buffer.alloc(2);re[0]=120;re[1]=156;this.push(re,ie)}}this.__transform(re,ie,oe)}}const Et=ZlibHeaderTransformStream;const callbackify=(re,ie)=>Ge.isAsyncFn(re)?function(...oe){const se=oe.pop();re.apply(this,oe).then((re=>{try{ie?se(null,...ie(re)):se(null,re)}catch(re){se(re)}}),se)}:re;const Ct=callbackify;const It={flush:_e["default"].constants.Z_SYNC_FLUSH,finishFlush:_e["default"].constants.Z_SYNC_FLUSH};const St={flush:_e["default"].constants.BROTLI_OPERATION_FLUSH,finishFlush:_e["default"].constants.BROTLI_OPERATION_FLUSH};const Bt=Ge.isFunction(_e["default"].createBrotliDecompress);const{http:xt,https:kt}=we["default"];const Ot=/https:?/;const Dt=rt.protocols.map((re=>re+":"));function dispatchBeforeRedirect(re){if(re.beforeRedirects.proxy){re.beforeRedirects.proxy(re)}if(re.beforeRedirects.config){re.beforeRedirects.config(re)}}function setProxy(re,ie,oe){let se=ie;if(!se&&se!==false){const re=ce.getProxyForUrl(oe);if(re){se=new URL(re)}}if(se){if(se.username){se.auth=(se.username||"")+":"+(se.password||"")}if(se.auth){if(se.auth.username||se.auth.password){se.auth=(se.auth.username||"")+":"+(se.auth.password||"")}const ie=Buffer.from(se.auth,"utf8").toString("base64");re.headers["Proxy-Authorization"]="Basic "+ie}re.headers.host=re.hostname+(re.port?":"+re.port:"");const ie=se.hostname||se.host;re.hostname=ie;re.host=ie;re.port=se.port;re.path=oe;if(se.protocol){re.protocol=se.protocol.includes(":")?se.protocol:`${se.protocol}:`}}re.beforeRedirects.proxy=function beforeRedirect(re){setProxy(re,ie,re.href)}}const Pt=typeof process!=="undefined"&&Ge.kindOf(process)==="process";const wrapAsync=re=>new Promise(((ie,oe)=>{let se;let ae;const done=(re,ie)=>{if(ae)return;ae=true;se&&se(re,ie)};const _resolve=re=>{done(re);ie(re)};const _reject=re=>{done(re,true);oe(re)};re(_resolve,_reject,(re=>se=re)).catch(_reject)}));const Tt=Pt&&function httpAdapter(re){return wrapAsync((async function dispatchHttpRequest(ie,oe,se){let{data:ae,lookup:ce,family:ue}=re;const{responseType:le,responseEncoding:fe}=re;const de=re.method.toUpperCase();let pe;let he=false;let Ae;if(ce&&Ge.isAsyncFn(ce)){ce=Ct(ce,(re=>{if(Ge.isString(re)){re=[re,re.indexOf(".")<0?6:4]}else if(!Ge.isArray(re)){throw new TypeError("lookup async function must return an array [ip: string, family: number]]")}return re}))}const ge=new Ce["default"];const onFinished=()=>{if(re.cancelToken){re.cancelToken.unsubscribe(abort)}if(re.signal){re.signal.removeEventListener("abort",abort)}ge.removeAllListeners()};se(((re,ie)=>{pe=true;if(ie){he=true;onFinished()}}));function abort(ie){ge.emit("abort",!ie||ie.type?new CanceledError(null,re,Ae):ie)}ge.once("abort",oe);if(re.cancelToken||re.signal){re.cancelToken&&re.cancelToken.subscribe(abort);if(re.signal){re.signal.aborted?abort():re.signal.addEventListener("abort",abort)}}const me=buildFullPath(re.baseURL,re.url);const we=new URL(me,"http://localhost");const Ie=we.protocol||Dt[0];if(Ie==="data:"){let se;if(de!=="GET"){return settle(ie,oe,{status:405,statusText:"method not allowed",headers:{},config:re})}try{se=fromDataURI(re.url,le==="blob",{Blob:re.env&&re.env.Blob})}catch(ie){throw AxiosError.from(ie,AxiosError.ERR_BAD_REQUEST,re)}if(le==="text"){se=se.toString(fe);if(!fe||fe==="utf8"){se=Ge.stripBOM(se)}}else if(le==="stream"){se=Ee["default"].Readable.from(se)}return settle(ie,oe,{data:se,status:200,statusText:"OK",headers:new ct,config:re})}if(Dt.indexOf(Ie)===-1){return oe(new AxiosError("Unsupported protocol "+Ie,AxiosError.ERR_BAD_REQUEST,re))}const Se=ct.from(re.headers).normalize();Se.set("User-Agent","axios/"+ut,false);const Be=re.onDownloadProgress;const xe=re.onUploadProgress;const ke=re.maxRate;let Oe=undefined;let De=undefined;if(Ge.isSpecCompliantForm(ae)){const re=Se.getContentType(/boundary=([-_\w\d]{10,70})/i);ae=_t(ae,(re=>{Se.set(re)}),{tag:`axios-${ut}-boundary`,boundary:re&&re[1]||undefined})}else if(Ge.isFormData(ae)&&Ge.isFunction(ae.getHeaders)){Se.set(ae.getHeaders());if(!Se.hasContentLength()){try{const re=await be["default"].promisify(ae.getLength).call(ae);Number.isFinite(re)&&re>=0&&Se.setContentLength(re)}catch(re){}}}else if(Ge.isBlob(ae)){ae.size&&Se.setContentType(ae.type||"application/octet-stream");Se.setContentLength(ae.size||0);ae=Ee["default"].Readable.from(At(ae))}else if(ae&&!Ge.isStream(ae)){if(Buffer.isBuffer(ae));else if(Ge.isArrayBuffer(ae)){ae=Buffer.from(new Uint8Array(ae))}else if(Ge.isString(ae)){ae=Buffer.from(ae,"utf-8")}else{return oe(new AxiosError("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",AxiosError.ERR_BAD_REQUEST,re))}Se.setContentLength(ae.length,false);if(re.maxBodyLength>-1&&ae.length>re.maxBodyLength){return oe(new AxiosError("Request body larger than maxBodyLength limit",AxiosError.ERR_BAD_REQUEST,re))}}const Pe=Ge.toFiniteNumber(Se.getContentLength());if(Ge.isArray(ke)){Oe=ke[0];De=ke[1]}else{Oe=De=ke}if(ae&&(xe||Oe)){if(!Ge.isStream(ae)){ae=Ee["default"].Readable.from(ae,{objectMode:false})}ae=Ee["default"].pipeline([ae,new pt({length:Pe,maxRate:Ge.toFiniteNumber(Oe)})],Ge.noop);xe&&ae.on("progress",(re=>{xe(Object.assign(re,{upload:true}))}))}let Te=undefined;if(re.auth){const ie=re.auth.username||"";const oe=re.auth.password||"";Te=ie+":"+oe}if(!Te&&we.username){const re=we.username;const ie=we.password;Te=re+":"+ie}Te&&Se.delete("authorization");let Qe;try{Qe=buildURL(we.pathname+we.search,re.params,re.paramsSerializer).replace(/^\?/,"")}catch(ie){const se=new Error(ie.message);se.config=re;se.url=re.url;se.exists=true;return oe(se)}Se.set("Accept-Encoding","gzip, compress, deflate"+(Bt?", br":""),false);const Re={path:Qe,method:de,headers:Se.toJSON(),agents:{http:re.httpAgent,https:re.httpsAgent},auth:Te,protocol:Ie,family:ue,lookup:ce,beforeRedirect:dispatchBeforeRedirect,beforeRedirects:{}};if(re.socketPath){Re.socketPath=re.socketPath}else{Re.hostname=we.hostname;Re.port=we.port;setProxy(Re,re.proxy,Ie+"//"+we.hostname+(we.port?":"+we.port:"")+Re.path)}let Me;const Ne=Ot.test(Re.protocol);Re.agent=Ne?re.httpsAgent:re.httpAgent;if(re.transport){Me=re.transport}else if(re.maxRedirects===0){Me=Ne?ve["default"]:ye["default"]}else{if(re.maxRedirects){Re.maxRedirects=re.maxRedirects}if(re.beforeRedirect){Re.beforeRedirects.config=re.beforeRedirect}Me=Ne?kt:xt}if(re.maxBodyLength>-1){Re.maxBodyLength=re.maxBodyLength}else{Re.maxBodyLength=Infinity}if(re.insecureHTTPParser){Re.insecureHTTPParser=re.insecureHTTPParser}Ae=Me.request(Re,(function handleResponse(se){if(Ae.destroyed)return;const ae=[se];const ce=+se.headers["content-length"];if(Be){const re=new pt({length:Ge.toFiniteNumber(ce),maxRate:Ge.toFiniteNumber(De)});Be&&re.on("progress",(re=>{Be(Object.assign(re,{download:true}))}));ae.push(re)}let ue=se;const pe=se.req||Ae;if(re.decompress!==false&&se.headers["content-encoding"]){if(de==="HEAD"||se.statusCode===204){delete se.headers["content-encoding"]}switch(se.headers["content-encoding"]){case"gzip":case"x-gzip":case"compress":case"x-compress":ae.push(_e["default"].createUnzip(It));delete se.headers["content-encoding"];break;case"deflate":ae.push(new Et);ae.push(_e["default"].createUnzip(It));delete se.headers["content-encoding"];break;case"br":if(Bt){ae.push(_e["default"].createBrotliDecompress(St));delete se.headers["content-encoding"]}}}ue=ae.length>1?Ee["default"].pipeline(ae,Ge.noop):ae[0];const me=Ee["default"].finished(ue,(()=>{me();onFinished()}));const ye={status:se.statusCode,statusText:se.statusMessage,headers:new ct(se.headers),config:re,request:pe};if(le==="stream"){ye.data=ue;settle(ie,oe,ye)}else{const se=[];let ae=0;ue.on("data",(function handleStreamData(ie){se.push(ie);ae+=ie.length;if(re.maxContentLength>-1&&ae>re.maxContentLength){he=true;ue.destroy();oe(new AxiosError("maxContentLength size of "+re.maxContentLength+" exceeded",AxiosError.ERR_BAD_RESPONSE,re,pe))}}));ue.on("aborted",(function handlerStreamAborted(){if(he){return}const ie=new AxiosError("maxContentLength size of "+re.maxContentLength+" exceeded",AxiosError.ERR_BAD_RESPONSE,re,pe);ue.destroy(ie);oe(ie)}));ue.on("error",(function handleStreamError(ie){if(Ae.destroyed)return;oe(AxiosError.from(ie,null,re,pe))}));ue.on("end",(function handleStreamEnd(){try{let re=se.length===1?se[0]:Buffer.concat(se);if(le!=="arraybuffer"){re=re.toString(fe);if(!fe||fe==="utf8"){re=Ge.stripBOM(re)}}ye.data=re}catch(ie){oe(AxiosError.from(ie,null,re,ye.request,ye))}settle(ie,oe,ye)}))}ge.once("abort",(re=>{if(!ue.destroyed){ue.emit("error",re);ue.destroy()}}))}));ge.once("abort",(re=>{oe(re);Ae.destroy(re)}));Ae.on("error",(function handleRequestError(ie){oe(AxiosError.from(ie,null,re,Ae))}));Ae.on("socket",(function handleRequestSocket(re){re.setKeepAlive(true,1e3*60)}));if(re.timeout){const ie=parseInt(re.timeout,10);if(isNaN(ie)){oe(new AxiosError("error trying to parse `config.timeout` to int",AxiosError.ERR_BAD_OPTION_VALUE,re,Ae));return}Ae.setTimeout(ie,(function handleRequestTimeout(){if(pe)return;let ie=re.timeout?"timeout of "+re.timeout+"ms exceeded":"timeout exceeded";const se=re.transitional||et;if(re.timeoutErrorMessage){ie=re.timeoutErrorMessage}oe(new AxiosError(ie,se.clarifyTimeoutError?AxiosError.ETIMEDOUT:AxiosError.ECONNABORTED,re,Ae));abort()}))}if(Ge.isStream(ae)){let ie=false;let oe=false;ae.on("end",(()=>{ie=true}));ae.once("error",(re=>{oe=true;Ae.destroy(re)}));ae.on("close",(()=>{if(!ie&&!oe){abort(new CanceledError("Request stream has been aborted",re,Ae))}}));ae.pipe(Ae)}else{Ae.end(ae)}}))};const Qt=rt.isStandardBrowserEnv?function standardBrowserEnv(){return{write:function write(re,ie,oe,se,ae,ce){const ue=[];ue.push(re+"="+encodeURIComponent(ie));if(Ge.isNumber(oe)){ue.push("expires="+new Date(oe).toGMTString())}if(Ge.isString(se)){ue.push("path="+se)}if(Ge.isString(ae)){ue.push("domain="+ae)}if(ce===true){ue.push("secure")}document.cookie=ue.join("; ")},read:function read(re){const ie=document.cookie.match(new RegExp("(^|;\\s*)("+re+")=([^;]*)"));return ie?decodeURIComponent(ie[3]):null},remove:function remove(re){this.write(re,"",Date.now()-864e5)}}}():function nonStandardBrowserEnv(){return{write:function write(){},read:function read(){return null},remove:function remove(){}}}();const Rt=rt.isStandardBrowserEnv?function standardBrowserEnv(){const re=/(msie|trident)/i.test(navigator.userAgent);const ie=document.createElement("a");let oe;function resolveURL(oe){let se=oe;if(re){ie.setAttribute("href",se);se=ie.href}ie.setAttribute("href",se);return{href:ie.href,protocol:ie.protocol?ie.protocol.replace(/:$/,""):"",host:ie.host,search:ie.search?ie.search.replace(/^\?/,""):"",hash:ie.hash?ie.hash.replace(/^#/,""):"",hostname:ie.hostname,port:ie.port,pathname:ie.pathname.charAt(0)==="/"?ie.pathname:"/"+ie.pathname}}oe=resolveURL(window.location.href);return function isURLSameOrigin(re){const ie=Ge.isString(re)?resolveURL(re):re;return ie.protocol===oe.protocol&&ie.host===oe.host}}():function nonStandardBrowserEnv(){return function isURLSameOrigin(){return true}}();function progressEventReducer(re,ie){let oe=0;const se=speedometer(50,250);return ae=>{const ce=ae.loaded;const ue=ae.lengthComputable?ae.total:undefined;const le=ce-oe;const fe=se(le);const de=ce<=ue;oe=ce;const pe={loaded:ce,total:ue,progress:ue?ce/ue:undefined,bytes:le,rate:fe?fe:undefined,estimated:fe&&ue&&de?(ue-ce)/fe:undefined,event:ae};pe[ie?"download":"upload"]=true;re(pe)}}const Mt=typeof XMLHttpRequest!=="undefined";const Nt=Mt&&function(re){return new Promise((function dispatchXhrRequest(ie,oe){let se=re.data;const ae=ct.from(re.headers).normalize();const ce=re.responseType;let ue;function done(){if(re.cancelToken){re.cancelToken.unsubscribe(ue)}if(re.signal){re.signal.removeEventListener("abort",ue)}}if(Ge.isFormData(se)){if(rt.isStandardBrowserEnv||rt.isStandardBrowserWebWorkerEnv){ae.setContentType(false)}else{ae.setContentType("multipart/form-data;",false)}}let le=new XMLHttpRequest;if(re.auth){const ie=re.auth.username||"";const oe=re.auth.password?unescape(encodeURIComponent(re.auth.password)):"";ae.set("Authorization","Basic "+btoa(ie+":"+oe))}const fe=buildFullPath(re.baseURL,re.url);le.open(re.method.toUpperCase(),buildURL(fe,re.params,re.paramsSerializer),true);le.timeout=re.timeout;function onloadend(){if(!le){return}const se=ct.from("getAllResponseHeaders"in le&&le.getAllResponseHeaders());const ae=!ce||ce==="text"||ce==="json"?le.responseText:le.response;const ue={data:ae,status:le.status,statusText:le.statusText,headers:se,config:re,request:le};settle((function _resolve(re){ie(re);done()}),(function _reject(re){oe(re);done()}),ue);le=null}if("onloadend"in le){le.onloadend=onloadend}else{le.onreadystatechange=function handleLoad(){if(!le||le.readyState!==4){return}if(le.status===0&&!(le.responseURL&&le.responseURL.indexOf("file:")===0)){return}setTimeout(onloadend)}}le.onabort=function handleAbort(){if(!le){return}oe(new AxiosError("Request aborted",AxiosError.ECONNABORTED,re,le));le=null};le.onerror=function handleError(){oe(new AxiosError("Network Error",AxiosError.ERR_NETWORK,re,le));le=null};le.ontimeout=function handleTimeout(){let ie=re.timeout?"timeout of "+re.timeout+"ms exceeded":"timeout exceeded";const se=re.transitional||et;if(re.timeoutErrorMessage){ie=re.timeoutErrorMessage}oe(new AxiosError(ie,se.clarifyTimeoutError?AxiosError.ETIMEDOUT:AxiosError.ECONNABORTED,re,le));le=null};if(rt.isStandardBrowserEnv){const ie=(re.withCredentials||Rt(fe))&&re.xsrfCookieName&&Qt.read(re.xsrfCookieName);if(ie){ae.set(re.xsrfHeaderName,ie)}}se===undefined&&ae.setContentType(null);if("setRequestHeader"in le){Ge.forEach(ae.toJSON(),(function setRequestHeader(re,ie){le.setRequestHeader(ie,re)}))}if(!Ge.isUndefined(re.withCredentials)){le.withCredentials=!!re.withCredentials}if(ce&&ce!=="json"){le.responseType=re.responseType}if(typeof re.onDownloadProgress==="function"){le.addEventListener("progress",progressEventReducer(re.onDownloadProgress,true))}if(typeof re.onUploadProgress==="function"&&le.upload){le.upload.addEventListener("progress",progressEventReducer(re.onUploadProgress))}if(re.cancelToken||re.signal){ue=ie=>{if(!le){return}oe(!ie||ie.type?new CanceledError(null,re,le):ie);le.abort();le=null};re.cancelToken&&re.cancelToken.subscribe(ue);if(re.signal){re.signal.aborted?ue():re.signal.addEventListener("abort",ue)}}const de=parseProtocol(fe);if(de&&rt.protocols.indexOf(de)===-1){oe(new AxiosError("Unsupported protocol "+de+":",AxiosError.ERR_BAD_REQUEST,re));return}le.send(se||null)}))};const jt={http:Tt,xhr:Nt};Ge.forEach(jt,((re,ie)=>{if(re){try{Object.defineProperty(re,"name",{value:ie})}catch(re){}Object.defineProperty(re,"adapterName",{value:ie})}}));const Lt={getAdapter:re=>{re=Ge.isArray(re)?re:[re];const{length:ie}=re;let oe;let se;for(let ae=0;aere instanceof ct?re.toJSON():re;function mergeConfig(re,ie){ie=ie||{};const oe={};function getMergedValue(re,ie,oe){if(Ge.isPlainObject(re)&&Ge.isPlainObject(ie)){return Ge.merge.call({caseless:oe},re,ie)}else if(Ge.isPlainObject(ie)){return Ge.merge({},ie)}else if(Ge.isArray(ie)){return ie.slice()}return ie}function mergeDeepProperties(re,ie,oe){if(!Ge.isUndefined(ie)){return getMergedValue(re,ie,oe)}else if(!Ge.isUndefined(re)){return getMergedValue(undefined,re,oe)}}function valueFromConfig2(re,ie){if(!Ge.isUndefined(ie)){return getMergedValue(undefined,ie)}}function defaultToConfig2(re,ie){if(!Ge.isUndefined(ie)){return getMergedValue(undefined,ie)}else if(!Ge.isUndefined(re)){return getMergedValue(undefined,re)}}function mergeDirectKeys(oe,se,ae){if(ae in ie){return getMergedValue(oe,se)}else if(ae in re){return getMergedValue(undefined,oe)}}const se={url:valueFromConfig2,method:valueFromConfig2,data:valueFromConfig2,baseURL:defaultToConfig2,transformRequest:defaultToConfig2,transformResponse:defaultToConfig2,paramsSerializer:defaultToConfig2,timeout:defaultToConfig2,timeoutMessage:defaultToConfig2,withCredentials:defaultToConfig2,adapter:defaultToConfig2,responseType:defaultToConfig2,xsrfCookieName:defaultToConfig2,xsrfHeaderName:defaultToConfig2,onUploadProgress:defaultToConfig2,onDownloadProgress:defaultToConfig2,decompress:defaultToConfig2,maxContentLength:defaultToConfig2,maxBodyLength:defaultToConfig2,beforeRedirect:defaultToConfig2,transport:defaultToConfig2,httpAgent:defaultToConfig2,httpsAgent:defaultToConfig2,cancelToken:defaultToConfig2,socketPath:defaultToConfig2,responseEncoding:defaultToConfig2,validateStatus:mergeDirectKeys,headers:(re,ie)=>mergeDeepProperties(headersToObject(re),headersToObject(ie),true)};Ge.forEach(Object.keys(Object.assign({},re,ie)),(function computeConfigValue(ae){const ce=se[ae]||mergeDeepProperties;const ue=ce(re[ae],ie[ae],ae);Ge.isUndefined(ue)&&ce!==mergeDirectKeys||(oe[ae]=ue)}));return oe}const Ft={};["object","boolean","number","function","string","symbol"].forEach(((re,ie)=>{Ft[re]=function validator(oe){return typeof oe===re||"a"+(ie<1?"n ":" ")+re}}));const Ut={};Ft.transitional=function transitional(re,ie,oe){function formatMessage(re,ie){return"[Axios v"+ut+"] Transitional option '"+re+"'"+ie+(oe?". "+oe:"")}return(oe,se,ae)=>{if(re===false){throw new AxiosError(formatMessage(se," has been removed"+(ie?" in "+ie:"")),AxiosError.ERR_DEPRECATED)}if(ie&&!Ut[se]){Ut[se]=true;console.warn(formatMessage(se," has been deprecated since v"+ie+" and will be removed in the near future"))}return re?re(oe,se,ae):true}};function assertOptions(re,ie,oe){if(typeof re!=="object"){throw new AxiosError("options must be an object",AxiosError.ERR_BAD_OPTION_VALUE)}const se=Object.keys(re);let ae=se.length;while(ae-- >0){const ce=se[ae];const ue=ie[ce];if(ue){const ie=re[ce];const oe=ie===undefined||ue(ie,ce,re);if(oe!==true){throw new AxiosError("option "+ce+" must be "+oe,AxiosError.ERR_BAD_OPTION_VALUE)}continue}if(oe!==true){throw new AxiosError("Unknown option "+ce,AxiosError.ERR_BAD_OPTION)}}}const Ht={assertOptions:assertOptions,validators:Ft};const qt=Ht.validators;class Axios{constructor(re){this.defaults=re;this.interceptors={request:new Xe,response:new Xe}}request(re,ie){if(typeof re==="string"){ie=ie||{};ie.url=re}else{ie=re||{}}ie=mergeConfig(this.defaults,ie);const{transitional:oe,paramsSerializer:se,headers:ae}=ie;if(oe!==undefined){Ht.assertOptions(oe,{silentJSONParsing:qt.transitional(qt.boolean),forcedJSONParsing:qt.transitional(qt.boolean),clarifyTimeoutError:qt.transitional(qt.boolean)},false)}if(se!=null){if(Ge.isFunction(se)){ie.paramsSerializer={serialize:se}}else{Ht.assertOptions(se,{encode:qt.function,serialize:qt.function},true)}}ie.method=(ie.method||this.defaults.method||"get").toLowerCase();let ce;ce=ae&&Ge.merge(ae.common,ae[ie.method]);ce&&Ge.forEach(["delete","get","head","post","put","patch","common"],(re=>{delete ae[re]}));ie.headers=ct.concat(ce,ae);const ue=[];let le=true;this.interceptors.request.forEach((function unshiftRequestInterceptors(re){if(typeof re.runWhen==="function"&&re.runWhen(ie)===false){return}le=le&&re.synchronous;ue.unshift(re.fulfilled,re.rejected)}));const fe=[];this.interceptors.response.forEach((function pushResponseInterceptors(re){fe.push(re.fulfilled,re.rejected)}));let de;let pe=0;let he;if(!le){const re=[dispatchRequest.bind(this),undefined];re.unshift.apply(re,ue);re.push.apply(re,fe);he=re.length;de=Promise.resolve(ie);while(pe{if(!oe._listeners)return;let ie=oe._listeners.length;while(ie-- >0){oe._listeners[ie](re)}oe._listeners=null}));this.promise.then=re=>{let ie;const se=new Promise((re=>{oe.subscribe(re);ie=re})).then(re);se.cancel=function reject(){oe.unsubscribe(ie)};return se};re((function cancel(re,se,ae){if(oe.reason){return}oe.reason=new CanceledError(re,se,ae);ie(oe.reason)}))}throwIfRequested(){if(this.reason){throw this.reason}}subscribe(re){if(this.reason){re(this.reason);return}if(this._listeners){this._listeners.push(re)}else{this._listeners=[re]}}unsubscribe(re){if(!this._listeners){return}const ie=this._listeners.indexOf(re);if(ie!==-1){this._listeners.splice(ie,1)}}static source(){let re;const ie=new CancelToken((function executor(ie){re=ie}));return{token:ie,cancel:re}}}const Vt=CancelToken;function spread(re){return function wrap(ie){return re.apply(null,ie)}}function isAxiosError(re){return Ge.isObject(re)&&re.isAxiosError===true}const Jt={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Jt).forEach((([re,ie])=>{Jt[ie]=re}));const Wt=Jt;function createInstance(re){const ie=new Kt(re);const oe=bind(Kt.prototype.request,ie);Ge.extend(oe,Kt.prototype,ie,{allOwnKeys:true});Ge.extend(oe,ie,null,{allOwnKeys:true});oe.create=function create(ie){return createInstance(mergeConfig(re,ie))};return oe}const Gt=createInstance(ot);Gt.Axios=Kt;Gt.CanceledError=CanceledError;Gt.CancelToken=Vt;Gt.isCancel=isCancel;Gt.VERSION=ut;Gt.toFormData=toFormData;Gt.AxiosError=AxiosError;Gt.Cancel=Gt.CanceledError;Gt.all=function all(re){return Promise.all(re)};Gt.spread=spread;Gt.isAxiosError=isAxiosError;Gt.mergeConfig=mergeConfig;Gt.AxiosHeaders=ct;Gt.formToJSON=re=>formDataToJSON(Ge.isHTMLForm(re)?new FormData(re):re);Gt.HttpStatusCode=Wt;Gt.default=Gt;re.exports=Gt},77059:(re,ie,oe)=>{"use strict";const se={right:alignRight,center:alignCenter};const ae=0;const ce=1;const ue=2;const le=3;class UI{constructor(re){var ie;this.width=re.width;this.wrap=(ie=re.wrap)!==null&&ie!==void 0?ie:true;this.rows=[]}span(...re){const ie=this.div(...re);ie.span=true}resetOutput(){this.rows=[]}div(...re){if(re.length===0){this.div("")}if(this.wrap&&this.shouldApplyLayoutDSL(...re)&&typeof re[0]==="string"){return this.applyLayoutDSL(re[0])}const ie=re.map((re=>{if(typeof re==="string"){return this.colFromString(re)}return re}));this.rows.push(ie);return ie}shouldApplyLayoutDSL(...re){return re.length===1&&typeof re[0]==="string"&&/[\t\n]/.test(re[0])}applyLayoutDSL(re){const ie=re.split("\n").map((re=>re.split("\t")));let oe=0;ie.forEach((re=>{if(re.length>1&&fe.stringWidth(re[0])>oe){oe=Math.min(Math.floor(this.width*.5),fe.stringWidth(re[0]))}}));ie.forEach((re=>{this.div(...re.map(((ie,se)=>({text:ie.trim(),padding:this.measurePadding(ie),width:se===0&&re.length>1?oe:undefined}))))}));return this.rows[this.rows.length-1]}colFromString(re){return{text:re,padding:this.measurePadding(re)}}measurePadding(re){const ie=fe.stripAnsi(re);return[0,ie.match(/\s*$/)[0].length,0,ie.match(/^\s*/)[0].length]}toString(){const re=[];this.rows.forEach((ie=>{this.rowToString(ie,re)}));return re.filter((re=>!re.hidden)).map((re=>re.text)).join("\n")}rowToString(re,ie){this.rasterize(re).forEach(((oe,ae)=>{let ue="";oe.forEach(((oe,de)=>{const{width:pe}=re[de];const he=this.negatePadding(re[de]);let Ae=oe;if(he>fe.stringWidth(oe)){Ae+=" ".repeat(he-fe.stringWidth(oe))}if(re[de].align&&re[de].align!=="left"&&this.wrap){const ie=se[re[de].align];Ae=ie(Ae,he);if(fe.stringWidth(Ae)0){ue=this.renderInline(ue,ie[ie.length-1])}}));ie.push({text:ue.replace(/ +$/,""),span:re.span})}));return ie}renderInline(re,ie){const oe=re.match(/^ */);const se=oe?oe[0].length:0;const ae=ie.text;const ce=fe.stringWidth(ae.trimRight());if(!ie.span){return re}if(!this.wrap){ie.hidden=true;return ae+re}if(se{re.width=oe[ce];if(this.wrap){se=fe.wrap(re.text,this.negatePadding(re),{hard:true}).split("\n")}else{se=re.text.split("\n")}if(re.border){se.unshift("."+"-".repeat(this.negatePadding(re)+2)+".");se.push("'"+"-".repeat(this.negatePadding(re)+2)+"'")}if(re.padding){se.unshift(...new Array(re.padding[ae]||0).fill(""));se.push(...new Array(re.padding[ue]||0).fill(""))}se.forEach(((re,oe)=>{if(!ie[oe]){ie.push([])}const se=ie[oe];for(let re=0;rere.width||fe.stringWidth(re.text)))}let ie=re.length;let oe=this.width;const se=re.map((re=>{if(re.width){ie--;oe-=re.width;return re.width}return undefined}));const ae=ie?Math.floor(oe/ie):0;return se.map(((ie,oe)=>{if(ie===undefined){return Math.max(ae,_minWidth(re[oe]))}return ie}))}}function addBorder(re,ie,oe){if(re.border){if(/[.']-+[.']/.test(ie)){return""}if(ie.trim().length!==0){return oe}return" "}return""}function _minWidth(re){const ie=re.padding||[];const oe=1+(ie[le]||0)+(ie[ce]||0);if(re.border){return oe+4}return oe}function getWindowWidth(){if(typeof process==="object"&&process.stdout&&process.stdout.columns){return process.stdout.columns}return 80}function alignRight(re,ie){re=re.trim();const oe=fe.stringWidth(re);if(oe=ie){return re}return" ".repeat(ie-oe>>1)+re}let fe;function cliui(re,ie){fe=ie;return new UI({width:(re===null||re===void 0?void 0:re.width)||getWindowWidth(),wrap:re===null||re===void 0?void 0:re.wrap})}const de=oe(42577);const pe=oe(45591);const he=oe(59824);function ui(re){return cliui(re,{stringWidth:de,stripAnsi:pe,wrap:he})}re.exports=ui},30452:(re,ie,oe)=>{"use strict";var se=oe(57147);var ae=oe(73837);var ce=oe(71017);let ue;class Y18N{constructor(re){re=re||{};this.directory=re.directory||"./locales";this.updateFiles=typeof re.updateFiles==="boolean"?re.updateFiles:true;this.locale=re.locale||"en";this.fallbackToLanguage=typeof re.fallbackToLanguage==="boolean"?re.fallbackToLanguage:true;this.cache=Object.create(null);this.writeQueue=[]}__(...re){if(typeof arguments[0]!=="string"){return this._taggedLiteral(arguments[0],...arguments)}const ie=re.shift();let cb=function(){};if(typeof re[re.length-1]==="function")cb=re.pop();cb=cb||function(){};if(!this.cache[this.locale])this._readLocaleFile();if(!this.cache[this.locale][ie]&&this.updateFiles){this.cache[this.locale][ie]=ie;this._enqueueWrite({directory:this.directory,locale:this.locale,cb:cb})}else{cb()}return ue.format.apply(ue.format,[this.cache[this.locale][ie]||ie].concat(re))}__n(){const re=Array.prototype.slice.call(arguments);const ie=re.shift();const oe=re.shift();const se=re.shift();let cb=function(){};if(typeof re[re.length-1]==="function")cb=re.pop();if(!this.cache[this.locale])this._readLocaleFile();let ae=se===1?ie:oe;if(this.cache[this.locale][ie]){const re=this.cache[this.locale][ie];ae=re[se===1?"one":"other"]}if(!this.cache[this.locale][ie]&&this.updateFiles){this.cache[this.locale][ie]={one:ie,other:oe};this._enqueueWrite({directory:this.directory,locale:this.locale,cb:cb})}else{cb()}const ce=[ae];if(~ae.indexOf("%d"))ce.push(se);return ue.format.apply(ue.format,ce.concat(re))}setLocale(re){this.locale=re}getLocale(){return this.locale}updateLocale(re){if(!this.cache[this.locale])this._readLocaleFile();for(const ie in re){if(Object.prototype.hasOwnProperty.call(re,ie)){this.cache[this.locale][ie]=re[ie]}}}_taggedLiteral(re,...ie){let oe="";re.forEach((function(re,se){const ae=ie[se+1];oe+=re;if(typeof ae!=="undefined"){oe+="%s"}}));return this.__.apply(this,[oe].concat([].slice.call(ie,1)))}_enqueueWrite(re){this.writeQueue.push(re);if(this.writeQueue.length===1)this._processWriteQueue()}_processWriteQueue(){const re=this;const ie=this.writeQueue[0];const oe=ie.directory;const se=ie.locale;const ae=ie.cb;const ce=this._resolveLocaleFile(oe,se);const le=JSON.stringify(this.cache[se],null,2);ue.fs.writeFile(ce,le,"utf-8",(function(ie){re.writeQueue.shift();if(re.writeQueue.length>0)re._processWriteQueue();ae(ie)}))}_readLocaleFile(){let re={};const ie=this._resolveLocaleFile(this.directory,this.locale);try{if(ue.fs.readFileSync){re=JSON.parse(ue.fs.readFileSync(ie,"utf-8"))}}catch(oe){if(oe instanceof SyntaxError){oe.message="syntax error in "+ie}if(oe.code==="ENOENT")re={};else throw oe}this.cache[this.locale]=re}_resolveLocaleFile(re,ie){let oe=ue.resolve(re,"./",ie+".json");if(this.fallbackToLanguage&&!this._fileExistsSync(oe)&&~ie.lastIndexOf("_")){const se=ue.resolve(re,"./",ie.split("_")[0]+".json");if(this._fileExistsSync(se))oe=se}return oe}_fileExistsSync(re){return ue.exists(re)}}function y18n$1(re,ie){ue=ie;const oe=new Y18N(re);return{__:oe.__.bind(oe),__n:oe.__n.bind(oe),setLocale:oe.setLocale.bind(oe),getLocale:oe.getLocale.bind(oe),updateLocale:oe.updateLocale.bind(oe),locale:oe.locale}}var le={fs:{readFileSync:se.readFileSync,writeFile:se.writeFile},format:ae.format,resolve:ce.resolve,exists:re=>{try{return se.statSync(re).isFile()}catch(re){return false}}};const y18n=re=>y18n$1(re,le);re.exports=y18n},31970:(re,ie,oe)=>{"use strict";var se=oe(73837);var ae=oe(71017);var ce=oe(57147);function camelCase(re){const ie=re!==re.toLowerCase()&&re!==re.toUpperCase();if(!ie){re=re.toLowerCase()}if(re.indexOf("-")===-1&&re.indexOf("_")===-1){return re}else{let ie="";let oe=false;const se=re.match(/^-+/);for(let ae=se?se[0].length:0;ae0){se+=`${ie}${oe.charAt(ae)}`}else{se+=ue}}return se}function looksLikeNumber(re){if(re===null||re===undefined)return false;if(typeof re==="number")return true;if(/^0x[0-9a-f]+$/i.test(re))return true;if(/^0[^.]/.test(re))return false;return/^[-]?(?:\d+(?:\.\d*)?|\.\d+)(e[-+]?\d+)?$/.test(re)}function tokenizeArgString(re){if(Array.isArray(re)){return re.map((re=>typeof re!=="string"?re+"":re))}re=re.trim();let ie=0;let oe=null;let se=null;let ae=null;const ce=[];for(let ue=0;ue{if(typeof ie==="number"){be.nargs[re]=ie;be.keys.push(re)}}))}if(typeof oe.coerce==="object"){Object.entries(oe.coerce).forEach((([re,ie])=>{if(typeof ie==="function"){be.coercions[re]=ie;be.keys.push(re)}}))}if(typeof oe.config!=="undefined"){if(Array.isArray(oe.config)||typeof oe.config==="string"){[].concat(oe.config).filter(Boolean).forEach((function(re){be.configs[re]=true}))}else if(typeof oe.config==="object"){Object.entries(oe.config).forEach((([re,ie])=>{if(typeof ie==="boolean"||typeof ie==="function"){be.configs[re]=ie}}))}}extendAliases(oe.key,ce,oe.default,be.arrays);Object.keys(de).forEach((function(re){(be.aliases[re]||[]).forEach((function(ie){de[ie]=de[re]}))}));let Ee=null;checkConfiguration();let Ce=[];const Ie=Object.assign(Object.create(null),{_:[]});const Se={};for(let re=0;re=3){if(checkAllAliases(le[1],be.arrays)){re=eatArray(re,le[1],se,le[2])}else if(checkAllAliases(le[1],be.nargs)!==false){re=eatNargs(re,le[1],se,le[2])}else{setArg(le[1],le[2],true)}}}else if(ie.match(_e)&&fe["boolean-negation"]){le=ie.match(_e);if(le!==null&&Array.isArray(le)&&le.length>=2){ce=le[1];setArg(ce,checkAllAliases(ce,be.arrays)?[false]:false)}}else if(ie.match(/^--.+/)||!fe["short-option-groups"]&&ie.match(/^-[^-]+/)){le=ie.match(/^--?(.+)/);if(le!==null&&Array.isArray(le)&&le.length>=2){ce=le[1];if(checkAllAliases(ce,be.arrays)){re=eatArray(re,ce,se)}else if(checkAllAliases(ce,be.nargs)!==false){re=eatNargs(re,ce,se)}else{de=se[re+1];if(de!==undefined&&(!de.match(/^-/)||de.match(we))&&!checkAllAliases(ce,be.bools)&&!checkAllAliases(ce,be.counts)){setArg(ce,de);re++}else if(/^(true|false)$/.test(de)){setArg(ce,de);re++}else{setArg(ce,defaultValue(ce))}}}}else if(ie.match(/^-.\..+=/)){le=ie.match(/^-([^=]+)=([\s\S]*)$/);if(le!==null&&Array.isArray(le)&&le.length>=3){setArg(le[1],le[2])}}else if(ie.match(/^-.\..+/)&&!ie.match(we)){de=se[re+1];le=ie.match(/^-(.\..+)/);if(le!==null&&Array.isArray(le)&&le.length>=2){ce=le[1];if(de!==undefined&&!de.match(/^-/)&&!checkAllAliases(ce,be.bools)&&!checkAllAliases(ce,be.counts)){setArg(ce,de);re++}else{setArg(ce,defaultValue(ce))}}}else if(ie.match(/^-[^-]+/)&&!ie.match(we)){ue=ie.slice(1,-1).split("");ae=false;for(let oe=0;oere!=="--"&&re.includes("-"))).forEach((re=>{delete Ie[re]}))}if(fe["strip-aliased"]){[].concat(...Object.keys(ce).map((re=>ce[re]))).forEach((re=>{if(fe["camel-case-expansion"]&&re.includes("-")){delete Ie[re.split(".").map((re=>camelCase(re))).join(".")]}delete Ie[re]}))}function pushPositional(re){const ie=maybeCoerceNumber("_",re);if(typeof ie==="string"||typeof ie==="number"){Ie._.push(ie)}}function eatNargs(re,ie,oe,se){let ae;let ce=checkAllAliases(ie,be.nargs);ce=typeof ce!=="number"||isNaN(ce)?1:ce;if(ce===0){if(!isUndefined(se)){Ee=Error(ve("Argument unexpected for: %s",ie))}setArg(ie,defaultValue(ie));return re}let ue=isUndefined(se)?0:1;if(fe["nargs-eats-options"]){if(oe.length-(re+1)+ue0){setArg(ie,se);le--}for(ae=re+1;ae0||le&&typeof le==="number"&&ce.length>=le)break;ue=oe[se];if(/^-/.test(ue)&&!we.test(ue)&&!isUnknownOptionAsArg(ue))break;re=se;ce.push(processValue(ie,ue,ae))}}if(typeof le==="number"&&(le&&ce.length1&&fe["dot-notation"]){(be.aliases[ce[0]]||[]).forEach((function(ie){let oe=ie.split(".");const ae=[].concat(ce);ae.shift();oe=oe.concat(ae);if(!(be.aliases[re]||[]).includes(oe.join("."))){setKey(Ie,oe,se)}}))}if(checkAllAliases(re,be.normalize)&&!checkAllAliases(re,be.arrays)){const oe=[re].concat(be.aliases[re]||[]);oe.forEach((function(re){Object.defineProperty(Se,re,{enumerable:true,get(){return ie},set(re){ie=typeof re==="string"?le.normalize(re):re}})}))}}function addNewAlias(re,ie){if(!(be.aliases[re]&&be.aliases[re].length)){be.aliases[re]=[ie];me[ie]=true}if(!(be.aliases[ie]&&be.aliases[ie].length)){addNewAlias(ie,re)}}function processValue(re,ie,oe){if(oe){ie=stripQuotes(ie)}if(checkAllAliases(re,be.bools)||checkAllAliases(re,be.counts)){if(typeof ie==="string")ie=ie==="true"}let se=Array.isArray(ie)?ie.map((function(ie){return maybeCoerceNumber(re,ie)})):maybeCoerceNumber(re,ie);if(checkAllAliases(re,be.counts)&&(isUndefined(se)||typeof se==="boolean")){se=increment()}if(checkAllAliases(re,be.normalize)&&checkAllAliases(re,be.arrays)){if(Array.isArray(ie))se=ie.map((re=>le.normalize(re)));else se=le.normalize(ie)}return se}function maybeCoerceNumber(re,ie){if(!fe["parse-positional-numbers"]&&re==="_")return ie;if(!checkAllAliases(re,be.strings)&&!checkAllAliases(re,be.bools)&&!Array.isArray(ie)){const oe=looksLikeNumber(ie)&&fe["parse-numbers"]&&Number.isSafeInteger(Math.floor(parseFloat(`${ie}`)));if(oe||!isUndefined(ie)&&checkAllAliases(re,be.numbers)){ie=Number(ie)}}return ie}function setConfig(re){const ie=Object.create(null);applyDefaultsAndAliases(ie,be.aliases,de);Object.keys(be.configs).forEach((function(oe){const se=re[oe]||ie[oe];if(se){try{let re=null;const ie=le.resolve(le.cwd(),se);const ae=be.configs[oe];if(typeof ae==="function"){try{re=ae(ie)}catch(ie){re=ie}if(re instanceof Error){Ee=re;return}}else{re=le.require(ie)}setConfigObject(re)}catch(ie){if(ie.name==="PermissionDenied")Ee=ie;else if(re[oe])Ee=Error(ve("Invalid JSON config file: %s",se))}}}))}function setConfigObject(re,ie){Object.keys(re).forEach((function(oe){const se=re[oe];const ae=ie?ie+"."+oe:oe;if(typeof se==="object"&&se!==null&&!Array.isArray(se)&&fe["dot-notation"]){setConfigObject(se,ae)}else{if(!hasKey(Ie,ae.split("."))||checkAllAliases(ae,be.arrays)&&fe["combine-arrays"]){setArg(ae,se)}}}))}function setConfigObjects(){if(typeof pe!=="undefined"){pe.forEach((function(re){setConfigObject(re)}))}}function applyEnvVars(re,ie){if(typeof he==="undefined")return;const oe=typeof he==="string"?he:"";const se=le.env();Object.keys(se).forEach((function(ae){if(oe===""||ae.lastIndexOf(oe,0)===0){const ce=ae.split("__").map((function(re,ie){if(ie===0){re=re.substring(oe.length)}return camelCase(re)}));if((ie&&be.configs[ce.join(".")]||!ie)&&!hasKey(re,ce)){setArg(ce.join("."),se[ae])}}}))}function applyCoercions(re){let ie;const oe=new Set;Object.keys(re).forEach((function(se){if(!oe.has(se)){ie=checkAllAliases(se,be.coercions);if(typeof ie==="function"){try{const ae=maybeCoerceNumber(se,ie(re[se]));[].concat(be.aliases[se]||[],se).forEach((ie=>{oe.add(ie);re[ie]=ae}))}catch(re){Ee=re}}}}))}function setPlaceholderKeys(re){be.keys.forEach((ie=>{if(~ie.indexOf("."))return;if(typeof re[ie]==="undefined")re[ie]=undefined}));return re}function applyDefaultsAndAliases(re,ie,oe,se=false){Object.keys(oe).forEach((function(ae){if(!hasKey(re,ae.split("."))){setKey(re,ae.split("."),oe[ae]);if(se)ye[ae]=true;(ie[ae]||[]).forEach((function(ie){if(hasKey(re,ie.split(".")))return;setKey(re,ie.split("."),oe[ae])}))}}))}function hasKey(re,ie){let oe=re;if(!fe["dot-notation"])ie=[ie.join(".")];ie.slice(0,-1).forEach((function(re){oe=oe[re]||{}}));const se=ie[ie.length-1];if(typeof oe!=="object")return false;else return se in oe}function setKey(re,ie,oe){let se=re;if(!fe["dot-notation"])ie=[ie.join(".")];ie.slice(0,-1).forEach((function(re){re=sanitizeKey(re);if(typeof se==="object"&&se[re]===undefined){se[re]={}}if(typeof se[re]!=="object"||Array.isArray(se[re])){if(Array.isArray(se[re])){se[re].push({})}else{se[re]=[se[re],{}]}se=se[re][se[re].length-1]}else{se=se[re]}}));const ae=sanitizeKey(ie[ie.length-1]);const ce=checkAllAliases(ie.join("."),be.arrays);const ue=Array.isArray(oe);let le=fe["duplicate-arguments-array"];if(!le&&checkAllAliases(ae,be.nargs)){le=true;if(!isUndefined(se[ae])&&be.nargs[ae]===1||Array.isArray(se[ae])&&se[ae].length===be.nargs[ae]){se[ae]=undefined}}if(oe===increment()){se[ae]=increment(se[ae])}else if(Array.isArray(se[ae])){if(le&&ce&&ue){se[ae]=fe["flatten-duplicate-arrays"]?se[ae].concat(oe):(Array.isArray(se[ae][0])?se[ae]:[se[ae]]).concat([oe])}else if(!le&&Boolean(ce)===Boolean(ue)){se[ae]=oe}else{se[ae]=se[ae].concat([oe])}}else if(se[ae]===undefined&&ce){se[ae]=ue?oe:[oe]}else if(le&&!(se[ae]===undefined||checkAllAliases(ae,be.counts)||checkAllAliases(ae,be.bools))){se[ae]=[se[ae],oe]}else{se[ae]=oe}}function extendAliases(...re){re.forEach((function(re){Object.keys(re||{}).forEach((function(re){if(be.aliases[re])return;be.aliases[re]=[].concat(ce[re]||[]);be.aliases[re].concat(re).forEach((function(ie){if(/-/.test(ie)&&fe["camel-case-expansion"]){const oe=camelCase(ie);if(oe!==re&&be.aliases[re].indexOf(oe)===-1){be.aliases[re].push(oe);me[oe]=true}}}));be.aliases[re].concat(re).forEach((function(ie){if(ie.length>1&&/[A-Z]/.test(ie)&&fe["camel-case-expansion"]){const oe=decamelize(ie,"-");if(oe!==re&&be.aliases[re].indexOf(oe)===-1){be.aliases[re].push(oe);me[oe]=true}}}));be.aliases[re].forEach((function(ie){be.aliases[ie]=[re].concat(be.aliases[re].filter((function(re){return ie!==re})))}))}))}))}function checkAllAliases(re,ie){const oe=[].concat(be.aliases[re]||[],re);const se=Object.keys(ie);const ae=oe.find((re=>se.includes(re)));return ae?ie[ae]:false}function hasAnyFlag(re){const ie=Object.keys(be);const oe=[].concat(ie.map((re=>be[re])));return oe.some((function(ie){return Array.isArray(ie)?ie.includes(re):ie[re]}))}function hasFlagsMatching(re,...ie){const oe=[].concat(...ie);return oe.some((function(ie){const oe=re.match(ie);return oe&&hasAnyFlag(oe[1])}))}function hasAllShortFlags(re){if(re.match(we)||!re.match(/^-[^-]+/)){return false}let ie=true;let oe;const se=re.slice(1).split("");for(let ae=0;ae{if(checkAllAliases(re,be.arrays)){Ee=Error(ve("Invalid configuration: %s, opts.count excludes opts.array.",re));return true}else if(checkAllAliases(re,be.nargs)){Ee=Error(ve("Invalid configuration: %s, opts.count excludes opts.narg.",re));return true}return false}))}return{aliases:Object.assign({},be.aliases),argv:Object.assign(Se,Ie),configuration:fe,defaulted:Object.assign({},ye),error:Ee,newAliases:Object.assign({},me)}}}function combineAliases(re){const ie=[];const oe=Object.create(null);let se=true;Object.keys(re).forEach((function(oe){ie.push([].concat(re[oe],oe))}));while(se){se=false;for(let re=0;rege,format:se.format,normalize:ae.normalize,resolve:ae.resolve,require:re=>{if(true){return oe(35670)(re)}else{}}});const ye=function Parser(re,ie){const oe=me.parse(re.slice(),ie);return oe.argv};ye.detailed=function(re,ie){return me.parse(re.slice(),ie)};ye.camelCase=camelCase;ye.decamelize=decamelize;ye.looksLikeNumber=looksLikeNumber;re.exports=ye},59562:(re,ie,oe)=>{"use strict";var se=oe(39491);class e extends Error{constructor(re){super(re||"yargs error"),this.name="YError",Error.captureStackTrace&&Error.captureStackTrace(this,e)}}let ae,ce=[];function n(re,ie,se,ue){ae=ue;let le={};if(Object.prototype.hasOwnProperty.call(re,"extends")){if("string"!=typeof re.extends)return le;const ue=/\.json|\..*rc$/.test(re.extends);let fe=null;if(ue)fe=function(re,ie){return ae.path.resolve(re,ie)}(ie,re.extends);else try{fe=oe(49167).resolve(re.extends)}catch(ie){return re}!function(re){if(ce.indexOf(re)>-1)throw new e(`Circular extended configurations: '${re}'.`)}(fe),ce.push(fe),le=ue?JSON.parse(ae.readFileSync(fe,"utf8")):oe(49167)(re.extends),delete re.extends,le=n(le,ae.path.dirname(fe),se,ae)}return ce=[],se?r(le,re):Object.assign({},le,re)}function r(re,ie){const oe={};function i(re){return re&&"object"==typeof re&&!Array.isArray(re)}Object.assign(oe,re);for(const se of Object.keys(ie))i(ie[se])&&i(oe[se])?oe[se]=r(re[se],ie[se]):oe[se]=ie[se];return oe}function o(re){const ie=re.replace(/\s{2,}/g," ").split(/\s+(?![^[]*]|[^<]*>)/),oe=/\.*[\][<>]/g,se=ie.shift();if(!se)throw new Error(`No command found in: ${re}`);const ae={cmd:se.replace(oe,""),demanded:[],optional:[]};return ie.forEach(((re,se)=>{let ce=!1;re=re.replace(/\s/g,""),/\.+[\]>]/.test(re)&&se===ie.length-1&&(ce=!0),/^\[/.test(re)?ae.optional.push({cmd:re.replace(oe,"").split("|"),variadic:ce}):ae.demanded.push({cmd:re.replace(oe,"").split("|"),variadic:ce})})),ae}const ue=["first","second","third","fourth","fifth","sixth"];function h(re,ie,oe){try{let se=0;const[ae,ce,ue]="object"==typeof re?[{demanded:[],optional:[]},re,ie]:[o(`cmd ${re}`),ie,oe],le=[].slice.call(ce);for(;le.length&&void 0===le[le.length-1];)le.pop();const fe=ue||le.length;if(fede)throw new e(`Too many arguments provided. Expected max ${de} but received ${fe}.`);ae.demanded.forEach((re=>{const ie=l(le.shift());0===re.cmd.filter((re=>re===ie||"*"===re)).length&&c(ie,re.cmd,se),se+=1})),ae.optional.forEach((re=>{if(0===le.length)return;const ie=l(le.shift());0===re.cmd.filter((re=>re===ie||"*"===re)).length&&c(ie,re.cmd,se),se+=1}))}catch(re){console.warn(re.stack)}}function l(re){return Array.isArray(re)?"array":null===re?"null":typeof re}function c(re,ie,oe){throw new e(`Invalid ${ue[oe]||"manyith"} argument. Expected ${ie.join(" or ")} but received ${re}.`)}function f(re){return!!re&&!!re.then&&"function"==typeof re.then}function d(re,ie,oe,se){oe.assert.notStrictEqual(re,ie,se)}function u(re,ie){ie.assert.strictEqual(typeof re,"string")}function p(re){return Object.keys(re)}function g(re={},ie=(()=>!0)){const oe={};return p(re).forEach((se=>{ie(se,re[se])&&(oe[se]=re[se])})),oe}function m(){return process.versions.electron&&!process.defaultApp?0:1}function y(){return process.argv[m()]}var le=Object.freeze({__proto__:null,hideBin:function(re){return re.slice(m()+1)},getProcessArgvBin:y});function v(re,ie,oe,se){if("a"===oe&&!se)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof ie?re!==ie||!se:!ie.has(re))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===oe?se:"a"===oe?se.call(re):se?se.value:ie.get(re)}function O(re,ie,oe,se,ae){if("m"===se)throw new TypeError("Private method is not writable");if("a"===se&&!ae)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof ie?re!==ie||!ae:!ie.has(re))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===se?ae.call(re,oe):ae?ae.value=oe:ie.set(re,oe),oe}class w{constructor(re){this.globalMiddleware=[],this.frozens=[],this.yargs=re}addMiddleware(re,ie,oe=!0,se=!1){if(h(" [boolean] [boolean] [boolean]",[re,ie,oe],arguments.length),Array.isArray(re)){for(let se=0;se{const se=[...oe[ie]||[],ie];return!re.option||!se.includes(re.option)})),re.option=ie,this.addMiddleware(re,!0,!0,!0)}getMiddleware(){return this.globalMiddleware}freeze(){this.frozens.push([...this.globalMiddleware])}unfreeze(){const re=this.frozens.pop();void 0!==re&&(this.globalMiddleware=re)}reset(){this.globalMiddleware=this.globalMiddleware.filter((re=>re.global))}}function C(re,ie,oe,se){return oe.reduce(((re,oe)=>{if(oe.applyBeforeValidation!==se)return re;if(oe.mutates){if(oe.applied)return re;oe.applied=!0}if(f(re))return re.then((re=>Promise.all([re,oe(re,ie)]))).then((([re,ie])=>Object.assign(re,ie)));{const se=oe(re,ie);return f(se)?se.then((ie=>Object.assign(re,ie))):Object.assign(re,se)}}),re)}function j(re,ie,oe=(re=>{throw re})){try{const oe="function"==typeof re?re():re;return f(oe)?oe.then((re=>ie(re))):ie(oe)}catch(re){return oe(re)}}const fe=/(^\*)|(^\$0)/;class _{constructor(re,ie,oe,se){this.requireCache=new Set,this.handlers={},this.aliasMap={},this.frozens=[],this.shim=se,this.usage=re,this.globalMiddleware=oe,this.validation=ie}addDirectory(re,ie,oe,se){"boolean"!=typeof(se=se||{}).recurse&&(se.recurse=!1),Array.isArray(se.extensions)||(se.extensions=["js"]);const ae="function"==typeof se.visit?se.visit:re=>re;se.visit=(re,ie,oe)=>{const se=ae(re,ie,oe);if(se){if(this.requireCache.has(ie))return se;this.requireCache.add(ie),this.addHandler(se)}return se},this.shim.requireDirectory({require:ie,filename:oe},re,se)}addHandler(re,ie,oe,se,ae,ce){let ue=[];const le=function(re){return re?re.map((re=>(re.applyBeforeValidation=!1,re))):[]}(ae);if(se=se||(()=>{}),Array.isArray(re))if(function(re){return re.every((re=>"string"==typeof re))}(re))[re,...ue]=re;else for(const ie of re)this.addHandler(ie);else{if(function(re){return"object"==typeof re&&!Array.isArray(re)}(re)){let ie=Array.isArray(re.command)||"string"==typeof re.command?re.command:this.moduleName(re);return re.aliases&&(ie=[].concat(ie).concat(re.aliases)),void this.addHandler(ie,this.extractDesc(re),re.builder,re.handler,re.middlewares,re.deprecated)}if(k(oe))return void this.addHandler([re].concat(ue),ie,oe.builder,oe.handler,oe.middlewares,oe.deprecated)}if("string"==typeof re){const ae=o(re);ue=ue.map((re=>o(re).cmd));let de=!1;const pe=[ae.cmd].concat(ue).filter((re=>!fe.test(re)||(de=!0,!1)));0===pe.length&&de&&pe.push("$0"),de&&(ae.cmd=pe[0],ue=pe.slice(1),re=re.replace(fe,ae.cmd)),ue.forEach((re=>{this.aliasMap[re]=ae.cmd})),!1!==ie&&this.usage.command(re,ie,de,ue,ce),this.handlers[ae.cmd]={original:re,description:ie,handler:se,builder:oe||{},middlewares:le,deprecated:ce,demanded:ae.demanded,optional:ae.optional},de&&(this.defaultCommand=this.handlers[ae.cmd])}}getCommandHandlers(){return this.handlers}getCommands(){return Object.keys(this.handlers).concat(Object.keys(this.aliasMap))}hasDefaultCommand(){return!!this.defaultCommand}runCommand(re,ie,oe,se,ae,ce){const ue=this.handlers[re]||this.handlers[this.aliasMap[re]]||this.defaultCommand,le=ie.getInternalMethods().getContext(),fe=le.commands.slice(),de=!re;re&&(le.commands.push(re),le.fullCommands.push(ue.original));const pe=this.applyBuilderUpdateUsageAndParse(de,ue,ie,oe.aliases,fe,se,ae,ce);return f(pe)?pe.then((re=>this.applyMiddlewareAndGetResult(de,ue,re.innerArgv,le,ae,re.aliases,ie))):this.applyMiddlewareAndGetResult(de,ue,pe.innerArgv,le,ae,pe.aliases,ie)}applyBuilderUpdateUsageAndParse(re,ie,oe,se,ae,ce,ue,le){const fe=ie.builder;let de=oe;if(x(fe)){oe.getInternalMethods().getUsageInstance().freeze();const pe=fe(oe.getInternalMethods().reset(se),le);if(f(pe))return pe.then((se=>{var le;return de=(le=se)&&"function"==typeof le.getInternalMethods?se:oe,this.parseAndUpdateUsage(re,ie,de,ae,ce,ue)}))}else(function(re){return"object"==typeof re})(fe)&&(oe.getInternalMethods().getUsageInstance().freeze(),de=oe.getInternalMethods().reset(se),Object.keys(ie.builder).forEach((re=>{de.option(re,fe[re])})));return this.parseAndUpdateUsage(re,ie,de,ae,ce,ue)}parseAndUpdateUsage(re,ie,oe,se,ae,ce){re&&oe.getInternalMethods().getUsageInstance().unfreeze(!0),this.shouldUpdateUsage(oe)&&oe.getInternalMethods().getUsageInstance().usage(this.usageFromParentCommandsCommandHandler(se,ie),ie.description);const ue=oe.getInternalMethods().runYargsParserAndExecuteCommands(null,void 0,!0,ae,ce);return f(ue)?ue.then((re=>({aliases:oe.parsed.aliases,innerArgv:re}))):{aliases:oe.parsed.aliases,innerArgv:ue}}shouldUpdateUsage(re){return!re.getInternalMethods().getUsageInstance().getUsageDisabled()&&0===re.getInternalMethods().getUsageInstance().getUsage().length}usageFromParentCommandsCommandHandler(re,ie){const oe=fe.test(ie.original)?ie.original.replace(fe,"").trim():ie.original,se=re.filter((re=>!fe.test(re)));return se.push(oe),`$0 ${se.join(" ")}`}handleValidationAndGetResult(re,ie,oe,se,ae,ce,ue,le){if(!ce.getInternalMethods().getHasOutput()){const ie=ce.getInternalMethods().runValidation(ae,le,ce.parsed.error,re);oe=j(oe,(re=>(ie(re),re)))}if(ie.handler&&!ce.getInternalMethods().getHasOutput()){ce.getInternalMethods().setHasOutput();const se=!!ce.getOptions().configuration["populate--"];ce.getInternalMethods().postProcess(oe,se,!1,!1),oe=j(oe=C(oe,ce,ue,!1),(re=>{const oe=ie.handler(re);return f(oe)?oe.then((()=>re)):re})),re||ce.getInternalMethods().getUsageInstance().cacheHelpMessage(),f(oe)&&!ce.getInternalMethods().hasParseCallback()&&oe.catch((re=>{try{ce.getInternalMethods().getUsageInstance().fail(null,re)}catch(re){}}))}return re||(se.commands.pop(),se.fullCommands.pop()),oe}applyMiddlewareAndGetResult(re,ie,oe,se,ae,ce,ue){let le={};if(ae)return oe;ue.getInternalMethods().getHasOutput()||(le=this.populatePositionals(ie,oe,se,ue));const fe=this.globalMiddleware.getMiddleware().slice(0).concat(ie.middlewares),de=C(oe,ue,fe,!0);return f(de)?de.then((oe=>this.handleValidationAndGetResult(re,ie,oe,se,ce,ue,fe,le))):this.handleValidationAndGetResult(re,ie,de,se,ce,ue,fe,le)}populatePositionals(re,ie,oe,se){ie._=ie._.slice(oe.commands.length);const ae=re.demanded.slice(0),ce=re.optional.slice(0),ue={};for(this.validation.positionalCount(ae.length,ie._.length);ae.length;){const re=ae.shift();this.populatePositional(re,ie,ue)}for(;ce.length;){const re=ce.shift();this.populatePositional(re,ie,ue)}return ie._=oe.commands.concat(ie._.map((re=>""+re))),this.postProcessPositionals(ie,ue,this.cmdToParseOptions(re.original),se),ue}populatePositional(re,ie,oe){const se=re.cmd[0];re.variadic?oe[se]=ie._.splice(0).map(String):ie._.length&&(oe[se]=[String(ie._.shift())])}cmdToParseOptions(re){const ie={array:[],default:{},alias:{},demand:{}},oe=o(re);return oe.demanded.forEach((re=>{const[oe,...se]=re.cmd;re.variadic&&(ie.array.push(oe),ie.default[oe]=[]),ie.alias[oe]=se,ie.demand[oe]=!0})),oe.optional.forEach((re=>{const[oe,...se]=re.cmd;re.variadic&&(ie.array.push(oe),ie.default[oe]=[]),ie.alias[oe]=se})),ie}postProcessPositionals(re,ie,oe,se){const ae=Object.assign({},se.getOptions());ae.default=Object.assign(oe.default,ae.default);for(const re of Object.keys(oe.alias))ae.alias[re]=(ae.alias[re]||[]).concat(oe.alias[re]);ae.array=ae.array.concat(oe.array),ae.config={};const ce=[];if(Object.keys(ie).forEach((re=>{ie[re].map((ie=>{ae.configuration["unknown-options-as-args"]&&(ae.key[re]=!0),ce.push(`--${re}`),ce.push(ie)}))})),!ce.length)return;const ue=Object.assign({},ae.configuration,{"populate--":!1}),le=this.shim.Parser.detailed(ce,Object.assign({},ae,{configuration:ue}));if(le.error)se.getInternalMethods().getUsageInstance().fail(le.error.message,le.error);else{const oe=Object.keys(ie);Object.keys(ie).forEach((re=>{oe.push(...le.aliases[re])})),Object.keys(le.argv).forEach((ae=>{oe.includes(ae)&&(ie[ae]||(ie[ae]=le.argv[ae]),!this.isInConfigs(se,ae)&&!this.isDefaulted(se,ae)&&Object.prototype.hasOwnProperty.call(re,ae)&&Object.prototype.hasOwnProperty.call(le.argv,ae)&&(Array.isArray(re[ae])||Array.isArray(le.argv[ae]))?re[ae]=[].concat(re[ae],le.argv[ae]):re[ae]=le.argv[ae])}))}}isDefaulted(re,ie){const{default:oe}=re.getOptions();return Object.prototype.hasOwnProperty.call(oe,ie)||Object.prototype.hasOwnProperty.call(oe,this.shim.Parser.camelCase(ie))}isInConfigs(re,ie){const{configObjects:oe}=re.getOptions();return oe.some((re=>Object.prototype.hasOwnProperty.call(re,ie)))||oe.some((re=>Object.prototype.hasOwnProperty.call(re,this.shim.Parser.camelCase(ie))))}runDefaultBuilderOn(re){if(!this.defaultCommand)return;if(this.shouldUpdateUsage(re)){const ie=fe.test(this.defaultCommand.original)?this.defaultCommand.original:this.defaultCommand.original.replace(/^[^[\]<>]*/,"$0 ");re.getInternalMethods().getUsageInstance().usage(ie,this.defaultCommand.description)}const ie=this.defaultCommand.builder;if(x(ie))return ie(re,!0);k(ie)||Object.keys(ie).forEach((oe=>{re.option(oe,ie[oe])}))}moduleName(re){const ie=function(re){if(false){}for(let ie,se=0,ae=Object.keys(oe.c);se{const oe=ie;oe._handle&&oe.isTTY&&"function"==typeof oe._handle.setBlocking&&oe._handle.setBlocking(re)}))}function A(re){return"boolean"==typeof re}function P(re,ie){const oe=ie.y18n.__,se={},ae=[];se.failFn=function(re){ae.push(re)};let ce=null,ue=null,le=!0;se.showHelpOnFail=function(ie=!0,oe){const[ae,fe]="string"==typeof ie?[!0,ie]:[ie,oe];return re.getInternalMethods().isGlobalContext()&&(ue=fe),ce=fe,le=ae,se};let fe=!1;se.fail=function(ie,oe){const de=re.getInternalMethods().getLoggerInstance();if(!ae.length){if(re.getExitProcess()&&E(!0),!fe){fe=!0,le&&(re.showHelp("error"),de.error()),(ie||oe)&&de.error(ie||oe);const se=ce||ue;se&&((ie||oe)&&de.error(""),de.error(se))}if(oe=oe||new e(ie),re.getExitProcess())return re.exit(1);if(re.getInternalMethods().hasParseCallback())return re.exit(1,oe);throw oe}for(let re=ae.length-1;re>=0;--re){const ce=ae[re];if(A(ce)){if(oe)throw oe;if(ie)throw Error(ie)}else ce(ie,oe,se)}};let de=[],pe=!1;se.usage=(re,ie)=>null===re?(pe=!0,de=[],se):(pe=!1,de.push([re,ie||""]),se),se.getUsage=()=>de,se.getUsageDisabled=()=>pe,se.getPositionalGroupName=()=>oe("Positionals:");let he=[];se.example=(re,ie)=>{he.push([re,ie||""])};let Ae=[];se.command=function(re,ie,oe,se,ae=!1){oe&&(Ae=Ae.map((re=>(re[2]=!1,re)))),Ae.push([re,ie||"",oe,se,ae])},se.getCommands=()=>Ae;let ge={};se.describe=function(re,ie){Array.isArray(re)?re.forEach((re=>{se.describe(re,ie)})):"object"==typeof re?Object.keys(re).forEach((ie=>{se.describe(ie,re[ie])})):ge[re]=ie},se.getDescriptions=()=>ge;let me=[];se.epilog=re=>{me.push(re)};let ye,ve=!1;se.wrap=re=>{ve=!0,ye=re},se.getWrap=()=>ie.getEnv("YARGS_DISABLE_WRAP")?null:(ve||(ye=function(){const re=80;return ie.process.stdColumns?Math.min(re,ie.process.stdColumns):re}(),ve=!0),ye);const be="__yargsString__:";function O(re,oe,se){let ae=0;return Array.isArray(re)||(re=Object.values(re).map((re=>[re]))),re.forEach((re=>{ae=Math.max(ie.stringWidth(se?`${se} ${I(re[0])}`:I(re[0]))+$(re[0]),ae)})),oe&&(ae=Math.min(ae,parseInt((.5*oe).toString(),10))),ae}let we;function C(ie){return re.getOptions().hiddenOptions.indexOf(ie)<0||re.parsed.argv[re.getOptions().showHiddenOpt]}function j(re,ie){let se=`[${oe("default:")} `;if(void 0===re&&!ie)return null;if(ie)se+=ie;else switch(typeof re){case"string":se+=`"${re}"`;break;case"object":se+=JSON.stringify(re);break;default:se+=re}return`${se}]`}se.deferY18nLookup=re=>be+re,se.help=function(){if(we)return we;!function(){const ie=re.getDemandedOptions(),oe=re.getOptions();(Object.keys(oe.alias)||[]).forEach((ae=>{oe.alias[ae].forEach((ce=>{ge[ce]&&se.describe(ae,ge[ce]),ce in ie&&re.demandOption(ae,ie[ce]),oe.boolean.includes(ce)&&re.boolean(ae),oe.count.includes(ce)&&re.count(ae),oe.string.includes(ce)&&re.string(ae),oe.normalize.includes(ce)&&re.normalize(ae),oe.array.includes(ce)&&re.array(ae),oe.number.includes(ce)&&re.number(ae)}))}))}();const ae=re.customScriptName?re.$0:ie.path.basename(re.$0),ce=re.getDemandedOptions(),ue=re.getDemandedCommands(),le=re.getDeprecatedOptions(),fe=re.getGroups(),ye=re.getOptions();let ve=[];ve=ve.concat(Object.keys(ge)),ve=ve.concat(Object.keys(ce)),ve=ve.concat(Object.keys(ue)),ve=ve.concat(Object.keys(ye.default)),ve=ve.filter(C),ve=Object.keys(ve.reduce(((re,ie)=>("_"!==ie&&(re[ie]=!0),re)),{}));const _e=se.getWrap(),Ee=ie.cliui({width:_e,wrap:!!_e});if(!pe)if(de.length)de.forEach((re=>{Ee.div({text:`${re[0].replace(/\$0/g,ae)}`}),re[1]&&Ee.div({text:`${re[1]}`,padding:[1,0,0,0]})})),Ee.div();else if(Ae.length){let re=null;re=ue._?`${ae} <${oe("command")}>\n`:`${ae} [${oe("command")}]\n`,Ee.div(`${re}`)}if(Ae.length>1||1===Ae.length&&!Ae[0][2]){Ee.div(oe("Commands:"));const ie=re.getInternalMethods().getContext(),se=ie.commands.length?`${ie.commands.join(" ")} `:"";!0===re.getInternalMethods().getParserConfiguration()["sort-commands"]&&(Ae=Ae.sort(((re,ie)=>re[0].localeCompare(ie[0]))));const ce=ae?`${ae} `:"";Ae.forEach((re=>{const ie=`${ce}${se}${re[0].replace(/^\$0 ?/,"")}`;Ee.span({text:ie,padding:[0,2,0,2],width:O(Ae,_e,`${ae}${se}`)+4},{text:re[1]});const ue=[];re[2]&&ue.push(`[${oe("default")}]`),re[3]&&re[3].length&&ue.push(`[${oe("aliases:")} ${re[3].join(", ")}]`),re[4]&&("string"==typeof re[4]?ue.push(`[${oe("deprecated: %s",re[4])}]`):ue.push(`[${oe("deprecated")}]`)),ue.length?Ee.div({text:ue.join(" "),padding:[0,0,0,2],align:"right"}):Ee.div()})),Ee.div()}const Ce=(Object.keys(ye.alias)||[]).concat(Object.keys(re.parsed.newAliases)||[]);ve=ve.filter((ie=>!re.parsed.newAliases[ie]&&Ce.every((re=>-1===(ye.alias[re]||[]).indexOf(ie)))));const Ie=oe("Options:");fe[Ie]||(fe[Ie]=[]),function(re,ie,oe,se){let ae=[],ce=null;Object.keys(oe).forEach((re=>{ae=ae.concat(oe[re])})),re.forEach((re=>{ce=[re].concat(ie[re]),ce.some((re=>-1!==ae.indexOf(re)))||oe[se].push(re)}))}(ve,ye.alias,fe,Ie);const k=re=>/^--/.test(I(re)),Se=Object.keys(fe).filter((re=>fe[re].length>0)).map((re=>({groupName:re,normalizedKeys:fe[re].filter(C).map((re=>{if(Ce.includes(re))return re;for(let ie,oe=0;void 0!==(ie=Ce[oe]);oe++)if((ye.alias[ie]||[]).includes(re))return ie;return re}))}))).filter((({normalizedKeys:re})=>re.length>0)).map((({groupName:re,normalizedKeys:ie})=>{const oe=ie.reduce(((ie,oe)=>(ie[oe]=[oe].concat(ye.alias[oe]||[]).map((ie=>re===se.getPositionalGroupName()?ie:(/^[0-9]$/.test(ie)?ye.boolean.includes(oe)?"-":"--":ie.length>1?"--":"-")+ie)).sort(((re,ie)=>k(re)===k(ie)?0:k(re)?1:-1)).join(", "),ie)),{});return{groupName:re,normalizedKeys:ie,switches:oe}}));if(Se.filter((({groupName:re})=>re!==se.getPositionalGroupName())).some((({normalizedKeys:re,switches:ie})=>!re.every((re=>k(ie[re])))))&&Se.filter((({groupName:re})=>re!==se.getPositionalGroupName())).forEach((({normalizedKeys:re,switches:ie})=>{re.forEach((re=>{var oe,se;k(ie[re])&&(ie[re]=(oe=ie[re],se=4,S(oe)?{text:oe.text,indentation:oe.indentation+se}:{text:oe,indentation:se}))}))})),Se.forEach((({groupName:ie,normalizedKeys:ae,switches:ue})=>{Ee.div(ie),ae.forEach((ie=>{const ae=ue[ie];let fe=ge[ie]||"",de=null;fe.includes(be)&&(fe=oe(fe.substring(16))),ye.boolean.includes(ie)&&(de=`[${oe("boolean")}]`),ye.count.includes(ie)&&(de=`[${oe("count")}]`),ye.string.includes(ie)&&(de=`[${oe("string")}]`),ye.normalize.includes(ie)&&(de=`[${oe("string")}]`),ye.array.includes(ie)&&(de=`[${oe("array")}]`),ye.number.includes(ie)&&(de=`[${oe("number")}]`);const pe=[ie in le?(he=le[ie],"string"==typeof he?`[${oe("deprecated: %s",he)}]`:`[${oe("deprecated")}]`):null,de,ie in ce?`[${oe("required")}]`:null,ye.choices&&ye.choices[ie]?`[${oe("choices:")} ${se.stringifiedValues(ye.choices[ie])}]`:null,j(ye.default[ie],ye.defaultDescription[ie])].filter(Boolean).join(" ");var he;Ee.span({text:I(ae),padding:[0,2,0,2+$(ae)],width:O(ue,_e)+4},fe);const Ae=!0===re.getInternalMethods().getUsageConfiguration()["hide-types"];pe&&!Ae?Ee.div({text:pe,padding:[0,0,0,2],align:"right"}):Ee.div()})),Ee.div()})),he.length&&(Ee.div(oe("Examples:")),he.forEach((re=>{re[0]=re[0].replace(/\$0/g,ae)})),he.forEach((re=>{""===re[1]?Ee.div({text:re[0],padding:[0,2,0,2]}):Ee.div({text:re[0],padding:[0,2,0,2],width:O(he,_e)+4},{text:re[1]})})),Ee.div()),me.length>0){const re=me.map((re=>re.replace(/\$0/g,ae))).join("\n");Ee.div(`${re}\n`)}return Ee.toString().replace(/\s*$/,"")},se.cacheHelpMessage=function(){we=this.help()},se.clearCachedHelpMessage=function(){we=void 0},se.hasCachedHelpMessage=function(){return!!we},se.showHelp=ie=>{const oe=re.getInternalMethods().getLoggerInstance();ie||(ie="error");("function"==typeof ie?ie:oe[ie])(se.help())},se.functionDescription=re=>["(",re.name?ie.Parser.decamelize(re.name,"-"):oe("generated-value"),")"].join(""),se.stringifiedValues=function(re,ie){let oe="";const se=ie||", ",ae=[].concat(re);return re&&ae.length?(ae.forEach((re=>{oe.length&&(oe+=se),oe+=JSON.stringify(re)})),oe):oe};let _e=null;se.version=re=>{_e=re},se.showVersion=ie=>{const oe=re.getInternalMethods().getLoggerInstance();ie||(ie="error");("function"==typeof ie?ie:oe[ie])(_e)},se.reset=function(re){return ce=null,fe=!1,de=[],pe=!1,me=[],he=[],Ae=[],ge=g(ge,(ie=>!re[ie])),se};const Ee=[];return se.freeze=function(){Ee.push({failMessage:ce,failureOutput:fe,usages:de,usageDisabled:pe,epilogs:me,examples:he,commands:Ae,descriptions:ge})},se.unfreeze=function(re=!1){const ie=Ee.pop();ie&&(re?(ge={...ie.descriptions,...ge},Ae=[...ie.commands,...Ae],de=[...ie.usages,...de],he=[...ie.examples,...he],me=[...ie.epilogs,...me]):({failMessage:ce,failureOutput:fe,usages:de,usageDisabled:pe,epilogs:me,examples:he,commands:Ae,descriptions:ge}=ie))},se}function S(re){return"object"==typeof re}function $(re){return S(re)?re.indentation:0}function I(re){return S(re)?re.text:re}class D{constructor(re,ie,oe,se){var ae,ce,ue;this.yargs=re,this.usage=ie,this.command=oe,this.shim=se,this.completionKey="get-yargs-completions",this.aliases=null,this.customCompletionFunction=null,this.indexAfterLastReset=0,this.zshShell=null!==(ue=(null===(ae=this.shim.getEnv("SHELL"))||void 0===ae?void 0:ae.includes("zsh"))||(null===(ce=this.shim.getEnv("ZSH_NAME"))||void 0===ce?void 0:ce.includes("zsh")))&&void 0!==ue&&ue}defaultCompletion(re,ie,oe,se){const ae=this.command.getCommandHandlers();for(let ie=0,oe=re.length;ie{const se=o(oe[0]).cmd;if(-1===ie.indexOf(se))if(this.zshShell){const ie=oe[1]||"";re.push(se.replace(/:/g,"\\:")+":"+ie)}else re.push(se)}))}optionCompletions(re,ie,oe,se){if((se.match(/^-/)||""===se&&0===re.length)&&!this.previousArgHasChoices(ie)){const oe=this.yargs.getOptions(),ae=this.yargs.getGroups()[this.usage.getPositionalGroupName()]||[];Object.keys(oe.key).forEach((ce=>{const ue=!!oe.configuration["boolean-negation"]&&oe.boolean.includes(ce);ae.includes(ce)||oe.hiddenOptions.includes(ce)||this.argsContainKey(ie,ce,ue)||this.completeOptionKey(ce,re,se,ue&&!!oe.default[ce])}))}}choicesFromOptionsCompletions(re,ie,oe,se){if(this.previousArgHasChoices(ie)){const oe=this.getPreviousArgChoices(ie);oe&&oe.length>0&&re.push(...oe.map((re=>re.replace(/:/g,"\\:"))))}}choicesFromPositionalsCompletions(re,ie,oe,se){if(""===se&&re.length>0&&this.previousArgHasChoices(ie))return;const ae=this.yargs.getGroups()[this.usage.getPositionalGroupName()]||[],ce=Math.max(this.indexAfterLastReset,this.yargs.getInternalMethods().getContext().commands.length+1),ue=ae[oe._.length-ce-1];if(!ue)return;const le=this.yargs.getOptions().choices[ue]||[];for(const ie of le)ie.startsWith(se)&&re.push(ie.replace(/:/g,"\\:"))}getPreviousArgChoices(re){if(re.length<1)return;let ie=re[re.length-1],oe="";if(!ie.startsWith("-")&&re.length>1&&(oe=ie,ie=re[re.length-2]),!ie.startsWith("-"))return;const se=ie.replace(/^-+/,""),ae=this.yargs.getOptions(),ce=[se,...this.yargs.getAliases()[se]||[]];let ue;for(const re of ce)if(Object.prototype.hasOwnProperty.call(ae.key,re)&&Array.isArray(ae.choices[re])){ue=ae.choices[re];break}return ue?ue.filter((re=>!oe||re.startsWith(oe))):void 0}previousArgHasChoices(re){const ie=this.getPreviousArgChoices(re);return void 0!==ie&&ie.length>0}argsContainKey(re,ie,oe){const i=ie=>-1!==re.indexOf((/^[^0-9]$/.test(ie)?"-":"--")+ie);if(i(ie))return!0;if(oe&&i(`no-${ie}`))return!0;if(this.aliases)for(const re of this.aliases[ie])if(i(re))return!0;return!1}completeOptionKey(re,ie,oe,se){var ae,ce,ue,le;let fe=re;if(this.zshShell){const ie=this.usage.getDescriptions(),oe=null===(ce=null===(ae=null==this?void 0:this.aliases)||void 0===ae?void 0:ae[re])||void 0===ce?void 0:ce.find((re=>{const oe=ie[re];return"string"==typeof oe&&oe.length>0})),se=oe?ie[oe]:void 0,de=null!==(le=null!==(ue=ie[re])&&void 0!==ue?ue:se)&&void 0!==le?le:"";fe=`${re.replace(/:/g,"\\:")}:${de.replace("__yargsString__:","").replace(/(\r\n|\n|\r)/gm," ")}`}const de=!/^--/.test(oe)&&(re=>/^[^0-9]$/.test(re))(re)?"-":"--";ie.push(de+fe),se&&ie.push(de+"no-"+fe)}customCompletion(re,ie,oe,se){if(d(this.customCompletionFunction,null,this.shim),this.customCompletionFunction.length<3){const re=this.customCompletionFunction(oe,ie);return f(re)?re.then((re=>{this.shim.process.nextTick((()=>{se(null,re)}))})).catch((re=>{this.shim.process.nextTick((()=>{se(re,void 0)}))})):se(null,re)}return function(re){return re.length>3}(this.customCompletionFunction)?this.customCompletionFunction(oe,ie,((ae=se)=>this.defaultCompletion(re,ie,oe,ae)),(re=>{se(null,re)})):this.customCompletionFunction(oe,ie,(re=>{se(null,re)}))}getCompletion(re,ie){const oe=re.length?re[re.length-1]:"",se=this.yargs.parse(re,!0),ae=this.customCompletionFunction?se=>this.customCompletion(re,se,oe,ie):se=>this.defaultCompletion(re,se,oe,ie);return f(se)?se.then(ae):ae(se)}generateCompletionScript(re,ie){let oe=this.zshShell?'#compdef {{app_name}}\n###-begin-{{app_name}}-completions-###\n#\n# yargs command completion script\n#\n# Installation: {{app_path}} {{completion_command}} >> ~/.zshrc\n# or {{app_path}} {{completion_command}} >> ~/.zprofile on OSX.\n#\n_{{app_name}}_yargs_completions()\n{\n local reply\n local si=$IFS\n IFS=$\'\n\' reply=($(COMP_CWORD="$((CURRENT-1))" COMP_LINE="$BUFFER" COMP_POINT="$CURSOR" {{app_path}} --get-yargs-completions "${words[@]}"))\n IFS=$si\n _describe \'values\' reply\n}\ncompdef _{{app_name}}_yargs_completions {{app_name}}\n###-end-{{app_name}}-completions-###\n':'###-begin-{{app_name}}-completions-###\n#\n# yargs command completion script\n#\n# Installation: {{app_path}} {{completion_command}} >> ~/.bashrc\n# or {{app_path}} {{completion_command}} >> ~/.bash_profile on OSX.\n#\n_{{app_name}}_yargs_completions()\n{\n local cur_word args type_list\n\n cur_word="${COMP_WORDS[COMP_CWORD]}"\n args=("${COMP_WORDS[@]}")\n\n # ask yargs to generate completions.\n type_list=$({{app_path}} --get-yargs-completions "${args[@]}")\n\n COMPREPLY=( $(compgen -W "${type_list}" -- ${cur_word}) )\n\n # if no match was found, fall back to filename completion\n if [ ${#COMPREPLY[@]} -eq 0 ]; then\n COMPREPLY=()\n fi\n\n return 0\n}\ncomplete -o bashdefault -o default -F _{{app_name}}_yargs_completions {{app_name}}\n###-end-{{app_name}}-completions-###\n';const se=this.shim.path.basename(re);return re.match(/\.js$/)&&(re=`./${re}`),oe=oe.replace(/{{app_name}}/g,se),oe=oe.replace(/{{completion_command}}/g,ie),oe.replace(/{{app_path}}/g,re)}registerFunction(re){this.customCompletionFunction=re}setParsed(re){this.aliases=re.aliases}}function N(re,ie){if(0===re.length)return ie.length;if(0===ie.length)return re.length;const oe=[];let se,ae;for(se=0;se<=ie.length;se++)oe[se]=[se];for(ae=0;ae<=re.length;ae++)oe[0][ae]=ae;for(se=1;se<=ie.length;se++)for(ae=1;ae<=re.length;ae++)ie.charAt(se-1)===re.charAt(ae-1)?oe[se][ae]=oe[se-1][ae-1]:se>1&&ae>1&&ie.charAt(se-2)===re.charAt(ae-1)&&ie.charAt(se-1)===re.charAt(ae-2)?oe[se][ae]=oe[se-2][ae-2]+1:oe[se][ae]=Math.min(oe[se-1][ae-1]+1,Math.min(oe[se][ae-1]+1,oe[se-1][ae]+1));return oe[ie.length][re.length]}const de=["$0","--","_"];var pe,he,Ae,ge,me,ye,ve,be,we,_e,Ee,Ce,Ie,Se,Be,xe,ke,Oe,De,Pe,Te,Qe,Re,Me,Ne,je,Le,Fe,Ue,He,qe,Ke,Ve,Je,We;const Ge=Symbol("copyDoubleDash"),Ye=Symbol("copyDoubleDash"),ze=Symbol("deleteFromParserHintObject"),$e=Symbol("emitWarning"),Ze=Symbol("freeze"),Xe=Symbol("getDollarZero"),et=Symbol("getParserConfiguration"),tt=Symbol("getUsageConfiguration"),rt=Symbol("guessLocale"),nt=Symbol("guessVersion"),it=Symbol("parsePositionalNumbers"),ot=Symbol("pkgUp"),st=Symbol("populateParserHintArray"),at=Symbol("populateParserHintSingleValueDictionary"),ct=Symbol("populateParserHintArrayDictionary"),ut=Symbol("populateParserHintDictionary"),ft=Symbol("sanitizeKey"),dt=Symbol("setKey"),pt=Symbol("unfreeze"),ht=Symbol("validateAsync"),At=Symbol("getCommandInstance"),mt=Symbol("getContext"),yt=Symbol("getHasOutput"),vt=Symbol("getLoggerInstance"),bt=Symbol("getParseContext"),wt=Symbol("getUsageInstance"),_t=Symbol("getValidationInstance"),Et=Symbol("hasParseCallback"),Ct=Symbol("isGlobalContext"),It=Symbol("postProcess"),St=Symbol("rebase"),Bt=Symbol("reset"),xt=Symbol("runYargsParserAndExecuteCommands"),kt=Symbol("runValidation"),Ot=Symbol("setHasOutput"),Dt=Symbol("kTrackManuallySetKeys");class te{constructor(re=[],ie,oe,se){this.customScriptName=!1,this.parsed=!1,pe.set(this,void 0),he.set(this,void 0),Ae.set(this,{commands:[],fullCommands:[]}),ge.set(this,null),me.set(this,null),ye.set(this,"show-hidden"),ve.set(this,null),be.set(this,!0),we.set(this,{}),_e.set(this,!0),Ee.set(this,[]),Ce.set(this,void 0),Ie.set(this,{}),Se.set(this,!1),Be.set(this,null),xe.set(this,!0),ke.set(this,void 0),Oe.set(this,""),De.set(this,void 0),Pe.set(this,void 0),Te.set(this,{}),Qe.set(this,null),Re.set(this,null),Me.set(this,{}),Ne.set(this,{}),je.set(this,void 0),Le.set(this,!1),Fe.set(this,void 0),Ue.set(this,!1),He.set(this,!1),qe.set(this,!1),Ke.set(this,void 0),Ve.set(this,{}),Je.set(this,null),We.set(this,void 0),O(this,Fe,se,"f"),O(this,je,re,"f"),O(this,he,ie,"f"),O(this,Pe,oe,"f"),O(this,Ce,new w(this),"f"),this.$0=this[Xe](),this[Bt](),O(this,pe,v(this,pe,"f"),"f"),O(this,Ke,v(this,Ke,"f"),"f"),O(this,We,v(this,We,"f"),"f"),O(this,De,v(this,De,"f"),"f"),v(this,De,"f").showHiddenOpt=v(this,ye,"f"),O(this,ke,this[Ye](),"f")}addHelpOpt(re,ie){return h("[string|boolean] [string]",[re,ie],arguments.length),v(this,Be,"f")&&(this[ze](v(this,Be,"f")),O(this,Be,null,"f")),!1===re&&void 0===ie||(O(this,Be,"string"==typeof re?re:"help","f"),this.boolean(v(this,Be,"f")),this.describe(v(this,Be,"f"),ie||v(this,Ke,"f").deferY18nLookup("Show help"))),this}help(re,ie){return this.addHelpOpt(re,ie)}addShowHiddenOpt(re,ie){if(h("[string|boolean] [string]",[re,ie],arguments.length),!1===re&&void 0===ie)return this;const oe="string"==typeof re?re:v(this,ye,"f");return this.boolean(oe),this.describe(oe,ie||v(this,Ke,"f").deferY18nLookup("Show hidden options")),v(this,De,"f").showHiddenOpt=oe,this}showHidden(re,ie){return this.addShowHiddenOpt(re,ie)}alias(re,ie){return h(" [string|array]",[re,ie],arguments.length),this[ct](this.alias.bind(this),"alias",re,ie),this}array(re){return h("",[re],arguments.length),this[st]("array",re),this[Dt](re),this}boolean(re){return h("",[re],arguments.length),this[st]("boolean",re),this[Dt](re),this}check(re,ie){return h(" [boolean]",[re,ie],arguments.length),this.middleware(((ie,oe)=>j((()=>re(ie,oe.getOptions())),(oe=>(oe?("string"==typeof oe||oe instanceof Error)&&v(this,Ke,"f").fail(oe.toString(),oe):v(this,Ke,"f").fail(v(this,Fe,"f").y18n.__("Argument check failed: %s",re.toString())),ie)),(re=>(v(this,Ke,"f").fail(re.message?re.message:re.toString(),re),ie)))),!1,ie),this}choices(re,ie){return h(" [string|array]",[re,ie],arguments.length),this[ct](this.choices.bind(this),"choices",re,ie),this}coerce(re,ie){if(h(" [function]",[re,ie],arguments.length),Array.isArray(re)){if(!ie)throw new e("coerce callback must be provided");for(const oe of re)this.coerce(oe,ie);return this}if("object"==typeof re){for(const ie of Object.keys(re))this.coerce(ie,re[ie]);return this}if(!ie)throw new e("coerce callback must be provided");return v(this,De,"f").key[re]=!0,v(this,Ce,"f").addCoerceMiddleware(((oe,se)=>{let ae;return Object.prototype.hasOwnProperty.call(oe,re)?j((()=>(ae=se.getAliases(),ie(oe[re]))),(ie=>{oe[re]=ie;const ce=se.getInternalMethods().getParserConfiguration()["strip-aliased"];if(ae[re]&&!0!==ce)for(const se of ae[re])oe[se]=ie;return oe}),(re=>{throw new e(re.message)})):oe}),re),this}conflicts(re,ie){return h(" [string|array]",[re,ie],arguments.length),v(this,We,"f").conflicts(re,ie),this}config(re="config",ie,oe){return h("[object|string] [string|function] [function]",[re,ie,oe],arguments.length),"object"!=typeof re||Array.isArray(re)?("function"==typeof ie&&(oe=ie,ie=void 0),this.describe(re,ie||v(this,Ke,"f").deferY18nLookup("Path to JSON config file")),(Array.isArray(re)?re:[re]).forEach((re=>{v(this,De,"f").config[re]=oe||!0})),this):(re=n(re,v(this,he,"f"),this[et]()["deep-merge-config"]||!1,v(this,Fe,"f")),v(this,De,"f").configObjects=(v(this,De,"f").configObjects||[]).concat(re),this)}completion(re,ie,oe){return h("[string] [string|boolean|function] [function]",[re,ie,oe],arguments.length),"function"==typeof ie&&(oe=ie,ie=void 0),O(this,me,re||v(this,me,"f")||"completion","f"),ie||!1===ie||(ie="generate completion script"),this.command(v(this,me,"f"),ie),oe&&v(this,ge,"f").registerFunction(oe),this}command(re,ie,oe,se,ae,ce){return h(" [string|boolean] [function|object] [function] [array] [boolean|string]",[re,ie,oe,se,ae,ce],arguments.length),v(this,pe,"f").addHandler(re,ie,oe,se,ae,ce),this}commands(re,ie,oe,se,ae,ce){return this.command(re,ie,oe,se,ae,ce)}commandDir(re,ie){h(" [object]",[re,ie],arguments.length);const oe=v(this,Pe,"f")||v(this,Fe,"f").require;return v(this,pe,"f").addDirectory(re,oe,v(this,Fe,"f").getCallerFile(),ie),this}count(re){return h("",[re],arguments.length),this[st]("count",re),this[Dt](re),this}default(re,ie,oe){return h(" [*] [string]",[re,ie,oe],arguments.length),oe&&(u(re,v(this,Fe,"f")),v(this,De,"f").defaultDescription[re]=oe),"function"==typeof ie&&(u(re,v(this,Fe,"f")),v(this,De,"f").defaultDescription[re]||(v(this,De,"f").defaultDescription[re]=v(this,Ke,"f").functionDescription(ie)),ie=ie.call()),this[at](this.default.bind(this),"default",re,ie),this}defaults(re,ie,oe){return this.default(re,ie,oe)}demandCommand(re=1,ie,oe,se){return h("[number] [number|string] [string|null|undefined] [string|null|undefined]",[re,ie,oe,se],arguments.length),"number"!=typeof ie&&(oe=ie,ie=1/0),this.global("_",!1),v(this,De,"f").demandedCommands._={min:re,max:ie,minMsg:oe,maxMsg:se},this}demand(re,ie,oe){return Array.isArray(ie)?(ie.forEach((re=>{d(oe,!0,v(this,Fe,"f")),this.demandOption(re,oe)})),ie=1/0):"number"!=typeof ie&&(oe=ie,ie=1/0),"number"==typeof re?(d(oe,!0,v(this,Fe,"f")),this.demandCommand(re,ie,oe,oe)):Array.isArray(re)?re.forEach((re=>{d(oe,!0,v(this,Fe,"f")),this.demandOption(re,oe)})):"string"==typeof oe?this.demandOption(re,oe):!0!==oe&&void 0!==oe||this.demandOption(re),this}demandOption(re,ie){return h(" [string]",[re,ie],arguments.length),this[at](this.demandOption.bind(this),"demandedOptions",re,ie),this}deprecateOption(re,ie){return h(" [string|boolean]",[re,ie],arguments.length),v(this,De,"f").deprecatedOptions[re]=ie,this}describe(re,ie){return h(" [string]",[re,ie],arguments.length),this[dt](re,!0),v(this,Ke,"f").describe(re,ie),this}detectLocale(re){return h("",[re],arguments.length),O(this,be,re,"f"),this}env(re){return h("[string|boolean]",[re],arguments.length),!1===re?delete v(this,De,"f").envPrefix:v(this,De,"f").envPrefix=re||"",this}epilogue(re){return h("",[re],arguments.length),v(this,Ke,"f").epilog(re),this}epilog(re){return this.epilogue(re)}example(re,ie){return h(" [string]",[re,ie],arguments.length),Array.isArray(re)?re.forEach((re=>this.example(...re))):v(this,Ke,"f").example(re,ie),this}exit(re,ie){O(this,Se,!0,"f"),O(this,ve,ie,"f"),v(this,_e,"f")&&v(this,Fe,"f").process.exit(re)}exitProcess(re=!0){return h("[boolean]",[re],arguments.length),O(this,_e,re,"f"),this}fail(re){if(h("",[re],arguments.length),"boolean"==typeof re&&!1!==re)throw new e("Invalid first argument. Expected function or boolean 'false'");return v(this,Ke,"f").failFn(re),this}getAliases(){return this.parsed?this.parsed.aliases:{}}async getCompletion(re,ie){return h(" [function]",[re,ie],arguments.length),ie?v(this,ge,"f").getCompletion(re,ie):new Promise(((ie,oe)=>{v(this,ge,"f").getCompletion(re,((re,se)=>{re?oe(re):ie(se)}))}))}getDemandedOptions(){return h([],0),v(this,De,"f").demandedOptions}getDemandedCommands(){return h([],0),v(this,De,"f").demandedCommands}getDeprecatedOptions(){return h([],0),v(this,De,"f").deprecatedOptions}getDetectLocale(){return v(this,be,"f")}getExitProcess(){return v(this,_e,"f")}getGroups(){return Object.assign({},v(this,Ie,"f"),v(this,Ne,"f"))}getHelp(){if(O(this,Se,!0,"f"),!v(this,Ke,"f").hasCachedHelpMessage()){if(!this.parsed){const re=this[xt](v(this,je,"f"),void 0,void 0,0,!0);if(f(re))return re.then((()=>v(this,Ke,"f").help()))}const re=v(this,pe,"f").runDefaultBuilderOn(this);if(f(re))return re.then((()=>v(this,Ke,"f").help()))}return Promise.resolve(v(this,Ke,"f").help())}getOptions(){return v(this,De,"f")}getStrict(){return v(this,Ue,"f")}getStrictCommands(){return v(this,He,"f")}getStrictOptions(){return v(this,qe,"f")}global(re,ie){return h(" [boolean]",[re,ie],arguments.length),re=[].concat(re),!1!==ie?v(this,De,"f").local=v(this,De,"f").local.filter((ie=>-1===re.indexOf(ie))):re.forEach((re=>{v(this,De,"f").local.includes(re)||v(this,De,"f").local.push(re)})),this}group(re,ie){h(" ",[re,ie],arguments.length);const oe=v(this,Ne,"f")[ie]||v(this,Ie,"f")[ie];v(this,Ne,"f")[ie]&&delete v(this,Ne,"f")[ie];const se={};return v(this,Ie,"f")[ie]=(oe||[]).concat(re).filter((re=>!se[re]&&(se[re]=!0))),this}hide(re){return h("",[re],arguments.length),v(this,De,"f").hiddenOptions.push(re),this}implies(re,ie){return h(" [number|string|array]",[re,ie],arguments.length),v(this,We,"f").implies(re,ie),this}locale(re){return h("[string]",[re],arguments.length),void 0===re?(this[rt](),v(this,Fe,"f").y18n.getLocale()):(O(this,be,!1,"f"),v(this,Fe,"f").y18n.setLocale(re),this)}middleware(re,ie,oe){return v(this,Ce,"f").addMiddleware(re,!!ie,oe)}nargs(re,ie){return h(" [number]",[re,ie],arguments.length),this[at](this.nargs.bind(this),"narg",re,ie),this}normalize(re){return h("",[re],arguments.length),this[st]("normalize",re),this}number(re){return h("",[re],arguments.length),this[st]("number",re),this[Dt](re),this}option(re,ie){if(h(" [object]",[re,ie],arguments.length),"object"==typeof re)Object.keys(re).forEach((ie=>{this.options(ie,re[ie])}));else{"object"!=typeof ie&&(ie={}),this[Dt](re),!v(this,Je,"f")||"version"!==re&&"version"!==(null==ie?void 0:ie.alias)||this[$e](['"version" is a reserved word.',"Please do one of the following:",'- Disable version with `yargs.version(false)` if using "version" as an option',"- Use the built-in `yargs.version` method instead (if applicable)","- Use a different option key","https://yargs.js.org/docs/#api-reference-version"].join("\n"),void 0,"versionWarning"),v(this,De,"f").key[re]=!0,ie.alias&&this.alias(re,ie.alias);const oe=ie.deprecate||ie.deprecated;oe&&this.deprecateOption(re,oe);const se=ie.demand||ie.required||ie.require;se&&this.demand(re,se),ie.demandOption&&this.demandOption(re,"string"==typeof ie.demandOption?ie.demandOption:void 0),ie.conflicts&&this.conflicts(re,ie.conflicts),"default"in ie&&this.default(re,ie.default),void 0!==ie.implies&&this.implies(re,ie.implies),void 0!==ie.nargs&&this.nargs(re,ie.nargs),ie.config&&this.config(re,ie.configParser),ie.normalize&&this.normalize(re),ie.choices&&this.choices(re,ie.choices),ie.coerce&&this.coerce(re,ie.coerce),ie.group&&this.group(re,ie.group),(ie.boolean||"boolean"===ie.type)&&(this.boolean(re),ie.alias&&this.boolean(ie.alias)),(ie.array||"array"===ie.type)&&(this.array(re),ie.alias&&this.array(ie.alias)),(ie.number||"number"===ie.type)&&(this.number(re),ie.alias&&this.number(ie.alias)),(ie.string||"string"===ie.type)&&(this.string(re),ie.alias&&this.string(ie.alias)),(ie.count||"count"===ie.type)&&this.count(re),"boolean"==typeof ie.global&&this.global(re,ie.global),ie.defaultDescription&&(v(this,De,"f").defaultDescription[re]=ie.defaultDescription),ie.skipValidation&&this.skipValidation(re);const ae=ie.describe||ie.description||ie.desc,ce=v(this,Ke,"f").getDescriptions();Object.prototype.hasOwnProperty.call(ce,re)&&"string"!=typeof ae||this.describe(re,ae),ie.hidden&&this.hide(re),ie.requiresArg&&this.requiresArg(re)}return this}options(re,ie){return this.option(re,ie)}parse(re,ie,oe){h("[string|array] [function|boolean|object] [function]",[re,ie,oe],arguments.length),this[Ze](),void 0===re&&(re=v(this,je,"f")),"object"==typeof ie&&(O(this,Re,ie,"f"),ie=oe),"function"==typeof ie&&(O(this,Qe,ie,"f"),ie=!1),ie||O(this,je,re,"f"),v(this,Qe,"f")&&O(this,_e,!1,"f");const se=this[xt](re,!!ie),ae=this.parsed;return v(this,ge,"f").setParsed(this.parsed),f(se)?se.then((re=>(v(this,Qe,"f")&&v(this,Qe,"f").call(this,v(this,ve,"f"),re,v(this,Oe,"f")),re))).catch((re=>{throw v(this,Qe,"f")&&v(this,Qe,"f")(re,this.parsed.argv,v(this,Oe,"f")),re})).finally((()=>{this[pt](),this.parsed=ae})):(v(this,Qe,"f")&&v(this,Qe,"f").call(this,v(this,ve,"f"),se,v(this,Oe,"f")),this[pt](),this.parsed=ae,se)}parseAsync(re,ie,oe){const se=this.parse(re,ie,oe);return f(se)?se:Promise.resolve(se)}parseSync(re,ie,oe){const se=this.parse(re,ie,oe);if(f(se))throw new e(".parseSync() must not be used with asynchronous builders, handlers, or middleware");return se}parserConfiguration(re){return h("",[re],arguments.length),O(this,Te,re,"f"),this}pkgConf(re,ie){h(" [string]",[re,ie],arguments.length);let oe=null;const se=this[ot](ie||v(this,he,"f"));return se[re]&&"object"==typeof se[re]&&(oe=n(se[re],ie||v(this,he,"f"),this[et]()["deep-merge-config"]||!1,v(this,Fe,"f")),v(this,De,"f").configObjects=(v(this,De,"f").configObjects||[]).concat(oe)),this}positional(re,ie){h(" ",[re,ie],arguments.length);const oe=["default","defaultDescription","implies","normalize","choices","conflicts","coerce","type","describe","desc","description","alias"];ie=g(ie,((re,ie)=>!("type"===re&&!["string","number","boolean"].includes(ie))&&oe.includes(re)));const se=v(this,Ae,"f").fullCommands[v(this,Ae,"f").fullCommands.length-1],ae=se?v(this,pe,"f").cmdToParseOptions(se):{array:[],alias:{},default:{},demand:{}};return p(ae).forEach((oe=>{const se=ae[oe];Array.isArray(se)?-1!==se.indexOf(re)&&(ie[oe]=!0):se[re]&&!(oe in ie)&&(ie[oe]=se[re])})),this.group(re,v(this,Ke,"f").getPositionalGroupName()),this.option(re,ie)}recommendCommands(re=!0){return h("[boolean]",[re],arguments.length),O(this,Le,re,"f"),this}required(re,ie,oe){return this.demand(re,ie,oe)}require(re,ie,oe){return this.demand(re,ie,oe)}requiresArg(re){return h(" [number]",[re],arguments.length),"string"==typeof re&&v(this,De,"f").narg[re]||this[at](this.requiresArg.bind(this),"narg",re,NaN),this}showCompletionScript(re,ie){return h("[string] [string]",[re,ie],arguments.length),re=re||this.$0,v(this,ke,"f").log(v(this,ge,"f").generateCompletionScript(re,ie||v(this,me,"f")||"completion")),this}showHelp(re){if(h("[string|function]",[re],arguments.length),O(this,Se,!0,"f"),!v(this,Ke,"f").hasCachedHelpMessage()){if(!this.parsed){const ie=this[xt](v(this,je,"f"),void 0,void 0,0,!0);if(f(ie))return ie.then((()=>{v(this,Ke,"f").showHelp(re)})),this}const ie=v(this,pe,"f").runDefaultBuilderOn(this);if(f(ie))return ie.then((()=>{v(this,Ke,"f").showHelp(re)})),this}return v(this,Ke,"f").showHelp(re),this}scriptName(re){return this.customScriptName=!0,this.$0=re,this}showHelpOnFail(re,ie){return h("[boolean|string] [string]",[re,ie],arguments.length),v(this,Ke,"f").showHelpOnFail(re,ie),this}showVersion(re){return h("[string|function]",[re],arguments.length),v(this,Ke,"f").showVersion(re),this}skipValidation(re){return h("",[re],arguments.length),this[st]("skipValidation",re),this}strict(re){return h("[boolean]",[re],arguments.length),O(this,Ue,!1!==re,"f"),this}strictCommands(re){return h("[boolean]",[re],arguments.length),O(this,He,!1!==re,"f"),this}strictOptions(re){return h("[boolean]",[re],arguments.length),O(this,qe,!1!==re,"f"),this}string(re){return h("",[re],arguments.length),this[st]("string",re),this[Dt](re),this}terminalWidth(){return h([],0),v(this,Fe,"f").process.stdColumns}updateLocale(re){return this.updateStrings(re)}updateStrings(re){return h("",[re],arguments.length),O(this,be,!1,"f"),v(this,Fe,"f").y18n.updateLocale(re),this}usage(re,ie,oe,se){if(h(" [string|boolean] [function|object] [function]",[re,ie,oe,se],arguments.length),void 0!==ie){if(d(re,null,v(this,Fe,"f")),(re||"").match(/^\$0( |$)/))return this.command(re,ie,oe,se);throw new e(".usage() description must start with $0 if being used as alias for .command()")}return v(this,Ke,"f").usage(re),this}usageConfiguration(re){return h("",[re],arguments.length),O(this,Ve,re,"f"),this}version(re,ie,oe){const se="version";if(h("[boolean|string] [string] [string]",[re,ie,oe],arguments.length),v(this,Je,"f")&&(this[ze](v(this,Je,"f")),v(this,Ke,"f").version(void 0),O(this,Je,null,"f")),0===arguments.length)oe=this[nt](),re=se;else if(1===arguments.length){if(!1===re)return this;oe=re,re=se}else 2===arguments.length&&(oe=ie,ie=void 0);return O(this,Je,"string"==typeof re?re:se,"f"),ie=ie||v(this,Ke,"f").deferY18nLookup("Show version number"),v(this,Ke,"f").version(oe||void 0),this.boolean(v(this,Je,"f")),this.describe(v(this,Je,"f"),ie),this}wrap(re){return h("",[re],arguments.length),v(this,Ke,"f").wrap(re),this}[(pe=new WeakMap,he=new WeakMap,Ae=new WeakMap,ge=new WeakMap,me=new WeakMap,ye=new WeakMap,ve=new WeakMap,be=new WeakMap,we=new WeakMap,_e=new WeakMap,Ee=new WeakMap,Ce=new WeakMap,Ie=new WeakMap,Se=new WeakMap,Be=new WeakMap,xe=new WeakMap,ke=new WeakMap,Oe=new WeakMap,De=new WeakMap,Pe=new WeakMap,Te=new WeakMap,Qe=new WeakMap,Re=new WeakMap,Me=new WeakMap,Ne=new WeakMap,je=new WeakMap,Le=new WeakMap,Fe=new WeakMap,Ue=new WeakMap,He=new WeakMap,qe=new WeakMap,Ke=new WeakMap,Ve=new WeakMap,Je=new WeakMap,We=new WeakMap,Ge)](re){if(!re._||!re["--"])return re;re._.push.apply(re._,re["--"]);try{delete re["--"]}catch(re){}return re}[Ye](){return{log:(...re)=>{this[Et]()||console.log(...re),O(this,Se,!0,"f"),v(this,Oe,"f").length&&O(this,Oe,v(this,Oe,"f")+"\n","f"),O(this,Oe,v(this,Oe,"f")+re.join(" "),"f")},error:(...re)=>{this[Et]()||console.error(...re),O(this,Se,!0,"f"),v(this,Oe,"f").length&&O(this,Oe,v(this,Oe,"f")+"\n","f"),O(this,Oe,v(this,Oe,"f")+re.join(" "),"f")}}}[ze](re){p(v(this,De,"f")).forEach((ie=>{if("configObjects"===ie)return;const oe=v(this,De,"f")[ie];Array.isArray(oe)?oe.includes(re)&&oe.splice(oe.indexOf(re),1):"object"==typeof oe&&delete oe[re]})),delete v(this,Ke,"f").getDescriptions()[re]}[$e](re,ie,oe){v(this,we,"f")[oe]||(v(this,Fe,"f").process.emitWarning(re,ie),v(this,we,"f")[oe]=!0)}[Ze](){v(this,Ee,"f").push({options:v(this,De,"f"),configObjects:v(this,De,"f").configObjects.slice(0),exitProcess:v(this,_e,"f"),groups:v(this,Ie,"f"),strict:v(this,Ue,"f"),strictCommands:v(this,He,"f"),strictOptions:v(this,qe,"f"),completionCommand:v(this,me,"f"),output:v(this,Oe,"f"),exitError:v(this,ve,"f"),hasOutput:v(this,Se,"f"),parsed:this.parsed,parseFn:v(this,Qe,"f"),parseContext:v(this,Re,"f")}),v(this,Ke,"f").freeze(),v(this,We,"f").freeze(),v(this,pe,"f").freeze(),v(this,Ce,"f").freeze()}[Xe](){let re,ie="";return re=/\b(node|iojs|electron)(\.exe)?$/.test(v(this,Fe,"f").process.argv()[0])?v(this,Fe,"f").process.argv().slice(1,2):v(this,Fe,"f").process.argv().slice(0,1),ie=re.map((re=>{const ie=this[St](v(this,he,"f"),re);return re.match(/^(\/|([a-zA-Z]:)?\\)/)&&ie.lengthie.includes("package.json")?"package.json":void 0));d(se,void 0,v(this,Fe,"f")),oe=JSON.parse(v(this,Fe,"f").readFileSync(se,"utf8"))}catch(re){}return v(this,Me,"f")[ie]=oe||{},v(this,Me,"f")[ie]}[st](re,ie){(ie=[].concat(ie)).forEach((ie=>{ie=this[ft](ie),v(this,De,"f")[re].push(ie)}))}[at](re,ie,oe,se){this[ut](re,ie,oe,se,((re,ie,oe)=>{v(this,De,"f")[re][ie]=oe}))}[ct](re,ie,oe,se){this[ut](re,ie,oe,se,((re,ie,oe)=>{v(this,De,"f")[re][ie]=(v(this,De,"f")[re][ie]||[]).concat(oe)}))}[ut](re,ie,oe,se,ae){if(Array.isArray(oe))oe.forEach((ie=>{re(ie,se)}));else if((re=>"object"==typeof re)(oe))for(const ie of p(oe))re(ie,oe[ie]);else ae(ie,this[ft](oe),se)}[ft](re){return"__proto__"===re?"___proto___":re}[dt](re,ie){return this[at](this[dt].bind(this),"key",re,ie),this}[pt](){var re,ie,oe,se,ae,ce,ue,le,fe,de,he,Ae;const ge=v(this,Ee,"f").pop();let ye;d(ge,void 0,v(this,Fe,"f")),re=this,ie=this,oe=this,se=this,ae=this,ce=this,ue=this,le=this,fe=this,de=this,he=this,Ae=this,({options:{set value(ie){O(re,De,ie,"f")}}.value,configObjects:ye,exitProcess:{set value(re){O(ie,_e,re,"f")}}.value,groups:{set value(re){O(oe,Ie,re,"f")}}.value,output:{set value(re){O(se,Oe,re,"f")}}.value,exitError:{set value(re){O(ae,ve,re,"f")}}.value,hasOutput:{set value(re){O(ce,Se,re,"f")}}.value,parsed:this.parsed,strict:{set value(re){O(ue,Ue,re,"f")}}.value,strictCommands:{set value(re){O(le,He,re,"f")}}.value,strictOptions:{set value(re){O(fe,qe,re,"f")}}.value,completionCommand:{set value(re){O(de,me,re,"f")}}.value,parseFn:{set value(re){O(he,Qe,re,"f")}}.value,parseContext:{set value(re){O(Ae,Re,re,"f")}}.value}=ge),v(this,De,"f").configObjects=ye,v(this,Ke,"f").unfreeze(),v(this,We,"f").unfreeze(),v(this,pe,"f").unfreeze(),v(this,Ce,"f").unfreeze()}[ht](re,ie){return j(ie,(ie=>(re(ie),ie)))}getInternalMethods(){return{getCommandInstance:this[At].bind(this),getContext:this[mt].bind(this),getHasOutput:this[yt].bind(this),getLoggerInstance:this[vt].bind(this),getParseContext:this[bt].bind(this),getParserConfiguration:this[et].bind(this),getUsageConfiguration:this[tt].bind(this),getUsageInstance:this[wt].bind(this),getValidationInstance:this[_t].bind(this),hasParseCallback:this[Et].bind(this),isGlobalContext:this[Ct].bind(this),postProcess:this[It].bind(this),reset:this[Bt].bind(this),runValidation:this[kt].bind(this),runYargsParserAndExecuteCommands:this[xt].bind(this),setHasOutput:this[Ot].bind(this)}}[At](){return v(this,pe,"f")}[mt](){return v(this,Ae,"f")}[yt](){return v(this,Se,"f")}[vt](){return v(this,ke,"f")}[bt](){return v(this,Re,"f")||{}}[wt](){return v(this,Ke,"f")}[_t](){return v(this,We,"f")}[Et](){return!!v(this,Qe,"f")}[Ct](){return v(this,xe,"f")}[It](re,ie,oe,se){if(oe)return re;if(f(re))return re;ie||(re=this[Ge](re));return(this[et]()["parse-positional-numbers"]||void 0===this[et]()["parse-positional-numbers"])&&(re=this[it](re)),se&&(re=C(re,this,v(this,Ce,"f").getMiddleware(),!1)),re}[Bt](re={}){O(this,De,v(this,De,"f")||{},"f");const ie={};ie.local=v(this,De,"f").local||[],ie.configObjects=v(this,De,"f").configObjects||[];const oe={};ie.local.forEach((ie=>{oe[ie]=!0,(re[ie]||[]).forEach((re=>{oe[re]=!0}))})),Object.assign(v(this,Ne,"f"),Object.keys(v(this,Ie,"f")).reduce(((re,ie)=>{const se=v(this,Ie,"f")[ie].filter((re=>!(re in oe)));return se.length>0&&(re[ie]=se),re}),{})),O(this,Ie,{},"f");return["array","boolean","string","skipValidation","count","normalize","number","hiddenOptions"].forEach((re=>{ie[re]=(v(this,De,"f")[re]||[]).filter((re=>!oe[re]))})),["narg","key","alias","default","defaultDescription","config","choices","demandedOptions","demandedCommands","deprecatedOptions"].forEach((re=>{ie[re]=g(v(this,De,"f")[re],(re=>!oe[re]))})),ie.envPrefix=v(this,De,"f").envPrefix,O(this,De,ie,"f"),O(this,Ke,v(this,Ke,"f")?v(this,Ke,"f").reset(oe):P(this,v(this,Fe,"f")),"f"),O(this,We,v(this,We,"f")?v(this,We,"f").reset(oe):function(re,ie,oe){const se=oe.y18n.__,ae=oe.y18n.__n,ce={nonOptionCount:function(oe){const se=re.getDemandedCommands(),ce=oe._.length+(oe["--"]?oe["--"].length:0)-re.getInternalMethods().getContext().commands.length;se._&&(cese._.max)&&(cese._.max&&(void 0!==se._.maxMsg?ie.fail(se._.maxMsg?se._.maxMsg.replace(/\$0/g,ce.toString()).replace(/\$1/,se._.max.toString()):null):ie.fail(ae("Too many non-option arguments: got %s, maximum of %s","Too many non-option arguments: got %s, maximum of %s",ce,ce.toString(),se._.max.toString()))))},positionalCount:function(re,oe){oe{de.includes(ie)||Object.prototype.hasOwnProperty.call(ue,ie)||Object.prototype.hasOwnProperty.call(re.getInternalMethods().getParseContext(),ie)||ce.isValidAndSomeAliasIsNotNew(ie,se)||Ae.push(ie)})),fe&&(ge.commands.length>0||he.length>0||le)&&oe._.slice(ge.commands.length).forEach((re=>{he.includes(""+re)||Ae.push(""+re)})),fe){const ie=(null===(pe=re.getDemandedCommands()._)||void 0===pe?void 0:pe.max)||0,se=ge.commands.length+ie;se{re=String(re),ge.commands.includes(re)||Ae.includes(re)||Ae.push(re)}))}Ae.length&&ie.fail(ae("Unknown argument: %s","Unknown arguments: %s",Ae.length,Ae.map((re=>re.trim()?re:`"${re}"`)).join(", ")))},unknownCommands:function(oe){const se=re.getInternalMethods().getCommandInstance().getCommands(),ce=[],ue=re.getInternalMethods().getContext();return(ue.commands.length>0||se.length>0)&&oe._.slice(ue.commands.length).forEach((re=>{se.includes(""+re)||ce.push(""+re)})),ce.length>0&&(ie.fail(ae("Unknown command: %s","Unknown commands: %s",ce.length,ce.join(", "))),!0)},isValidAndSomeAliasIsNotNew:function(ie,oe){if(!Object.prototype.hasOwnProperty.call(oe,ie))return!1;const se=re.parsed.newAliases;return[ie,...oe[ie]].some((re=>!Object.prototype.hasOwnProperty.call(se,re)||!se[ie]))},limitedChoices:function(oe){const ae=re.getOptions(),ce={};if(!Object.keys(ae.choices).length)return;Object.keys(oe).forEach((re=>{-1===de.indexOf(re)&&Object.prototype.hasOwnProperty.call(ae.choices,re)&&[].concat(oe[re]).forEach((ie=>{-1===ae.choices[re].indexOf(ie)&&void 0!==ie&&(ce[re]=(ce[re]||[]).concat(ie))}))}));const ue=Object.keys(ce);if(!ue.length)return;let le=se("Invalid values:");ue.forEach((re=>{le+=`\n ${se("Argument: %s, Given: %s, Choices: %s",re,ie.stringifiedValues(ce[re]),ie.stringifiedValues(ae.choices[re]))}`})),ie.fail(le)}};let ue={};function a(re,ie){const oe=Number(ie);return"number"==typeof(ie=isNaN(oe)?ie:oe)?ie=re._.length>=ie:ie.match(/^--no-.+/)?(ie=ie.match(/^--no-(.+)/)[1],ie=!Object.prototype.hasOwnProperty.call(re,ie)):ie=Object.prototype.hasOwnProperty.call(re,ie),ie}ce.implies=function(ie,se){h(" [array|number|string]",[ie,se],arguments.length),"object"==typeof ie?Object.keys(ie).forEach((re=>{ce.implies(re,ie[re])})):(re.global(ie),ue[ie]||(ue[ie]=[]),Array.isArray(se)?se.forEach((re=>ce.implies(ie,re))):(d(se,void 0,oe),ue[ie].push(se)))},ce.getImplied=function(){return ue},ce.implications=function(re){const oe=[];if(Object.keys(ue).forEach((ie=>{const se=ie;(ue[ie]||[]).forEach((ie=>{let ae=se;const ce=ie;ae=a(re,ae),ie=a(re,ie),ae&&!ie&&oe.push(` ${se} -> ${ce}`)}))})),oe.length){let re=`${se("Implications failed:")}\n`;oe.forEach((ie=>{re+=ie})),ie.fail(re)}};let le={};ce.conflicts=function(ie,oe){h(" [array|string]",[ie,oe],arguments.length),"object"==typeof ie?Object.keys(ie).forEach((re=>{ce.conflicts(re,ie[re])})):(re.global(ie),le[ie]||(le[ie]=[]),Array.isArray(oe)?oe.forEach((re=>ce.conflicts(ie,re))):le[ie].push(oe))},ce.getConflicting=()=>le,ce.conflicting=function(ae){Object.keys(ae).forEach((re=>{le[re]&&le[re].forEach((oe=>{oe&&void 0!==ae[re]&&void 0!==ae[oe]&&ie.fail(se("Arguments %s and %s are mutually exclusive",re,oe))}))})),re.getInternalMethods().getParserConfiguration()["strip-dashed"]&&Object.keys(le).forEach((re=>{le[re].forEach((ce=>{ce&&void 0!==ae[oe.Parser.camelCase(re)]&&void 0!==ae[oe.Parser.camelCase(ce)]&&ie.fail(se("Arguments %s and %s are mutually exclusive",re,ce))}))}))},ce.recommendCommands=function(re,oe){oe=oe.sort(((re,ie)=>ie.length-re.length));let ae=null,ce=1/0;for(let ie,se=0;void 0!==(ie=oe[se]);se++){const oe=N(re,ie);oe<=3&&oe!re[ie])),le=g(le,(ie=>!re[ie])),ce};const fe=[];return ce.freeze=function(){fe.push({implied:ue,conflicting:le})},ce.unfreeze=function(){const re=fe.pop();d(re,void 0,oe),({implied:ue,conflicting:le}=re)},ce}(this,v(this,Ke,"f"),v(this,Fe,"f")),"f"),O(this,pe,v(this,pe,"f")?v(this,pe,"f").reset():function(re,ie,oe,se){return new _(re,ie,oe,se)}(v(this,Ke,"f"),v(this,We,"f"),v(this,Ce,"f"),v(this,Fe,"f")),"f"),v(this,ge,"f")||O(this,ge,function(re,ie,oe,se){return new D(re,ie,oe,se)}(this,v(this,Ke,"f"),v(this,pe,"f"),v(this,Fe,"f")),"f"),v(this,Ce,"f").reset(),O(this,me,null,"f"),O(this,Oe,"","f"),O(this,ve,null,"f"),O(this,Se,!1,"f"),this.parsed=!1,this}[St](re,ie){return v(this,Fe,"f").path.relative(re,ie)}[xt](re,ie,oe,se=0,ae=!1){let ce=!!oe||ae;re=re||v(this,je,"f"),v(this,De,"f").__=v(this,Fe,"f").y18n.__,v(this,De,"f").configuration=this[et]();const ue=!!v(this,De,"f").configuration["populate--"],le=Object.assign({},v(this,De,"f").configuration,{"populate--":!0}),fe=v(this,Fe,"f").Parser.detailed(re,Object.assign({},v(this,De,"f"),{configuration:{"parse-positional-numbers":!1,...le}})),de=Object.assign(fe.argv,v(this,Re,"f"));let he;const Ae=fe.aliases;let ye=!1,ve=!1;Object.keys(de).forEach((re=>{re===v(this,Be,"f")&&de[re]?ye=!0:re===v(this,Je,"f")&&de[re]&&(ve=!0)})),de.$0=this.$0,this.parsed=fe,0===se&&v(this,Ke,"f").clearCachedHelpMessage();try{if(this[rt](),ie)return this[It](de,ue,!!oe,!1);if(v(this,Be,"f")){[v(this,Be,"f")].concat(Ae[v(this,Be,"f")]||[]).filter((re=>re.length>1)).includes(""+de._[de._.length-1])&&(de._.pop(),ye=!0)}O(this,xe,!1,"f");const le=v(this,pe,"f").getCommands(),be=v(this,ge,"f").completionKey in de,we=ye||be||ae;if(de._.length){if(le.length){let re;for(let ie,ce=se||0;void 0!==de._[ce];ce++){if(ie=String(de._[ce]),le.includes(ie)&&ie!==v(this,me,"f")){const re=v(this,pe,"f").runCommand(ie,this,fe,ce+1,ae,ye||ve||ae);return this[It](re,ue,!!oe,!1)}if(!re&&ie!==v(this,me,"f")){re=ie;break}}!v(this,pe,"f").hasDefaultCommand()&&v(this,Le,"f")&&re&&!we&&v(this,We,"f").recommendCommands(re,le)}v(this,me,"f")&&de._.includes(v(this,me,"f"))&&!be&&(v(this,_e,"f")&&E(!0),this.showCompletionScript(),this.exit(0))}if(v(this,pe,"f").hasDefaultCommand()&&!we){const re=v(this,pe,"f").runCommand(null,this,fe,0,ae,ye||ve||ae);return this[It](re,ue,!!oe,!1)}if(be){v(this,_e,"f")&&E(!0);const ie=(re=[].concat(re)).slice(re.indexOf(`--${v(this,ge,"f").completionKey}`)+1);return v(this,ge,"f").getCompletion(ie,((re,ie)=>{if(re)throw new e(re.message);(ie||[]).forEach((re=>{v(this,ke,"f").log(re)})),this.exit(0)})),this[It](de,!ue,!!oe,!1)}if(v(this,Se,"f")||(ye?(v(this,_e,"f")&&E(!0),ce=!0,this.showHelp("log"),this.exit(0)):ve&&(v(this,_e,"f")&&E(!0),ce=!0,v(this,Ke,"f").showVersion("log"),this.exit(0))),!ce&&v(this,De,"f").skipValidation.length>0&&(ce=Object.keys(de).some((re=>v(this,De,"f").skipValidation.indexOf(re)>=0&&!0===de[re]))),!ce){if(fe.error)throw new e(fe.error.message);if(!be){const re=this[kt](Ae,{},fe.error);oe||(he=C(de,this,v(this,Ce,"f").getMiddleware(),!0)),he=this[ht](re,null!=he?he:de),f(he)&&!oe&&(he=he.then((()=>C(de,this,v(this,Ce,"f").getMiddleware(),!1))))}}}catch(re){if(!(re instanceof e))throw re;v(this,Ke,"f").fail(re.message,re)}return this[It](null!=he?he:de,ue,!!oe,!0)}[kt](re,ie,oe,se){const ae={...this.getDemandedOptions()};return ce=>{if(oe)throw new e(oe.message);v(this,We,"f").nonOptionCount(ce),v(this,We,"f").requiredArguments(ce,ae);let ue=!1;v(this,He,"f")&&(ue=v(this,We,"f").unknownCommands(ce)),v(this,Ue,"f")&&!ue?v(this,We,"f").unknownArguments(ce,re,ie,!!se):v(this,qe,"f")&&v(this,We,"f").unknownArguments(ce,re,{},!1,!1),v(this,We,"f").limitedChoices(ce),v(this,We,"f").implications(ce),v(this,We,"f").conflicting(ce)}}[Ot](){O(this,Se,!0,"f")}[Dt](re){if("string"==typeof re)v(this,De,"f").key[re]=!0;else for(const ie of re)v(this,De,"f").key[ie]=!0}}var Pt,Tt;const{readFileSync:Qt}=oe(57147),{inspect:Rt}=oe(73837),{resolve:Mt}=oe(71017),Nt=oe(30452),jt=oe(31970);var Lt,Ft={assert:{notStrictEqual:se.notStrictEqual,strictEqual:se.strictEqual},cliui:oe(77059),findUp:oe(82644),getEnv:re=>process.env[re],getCallerFile:oe(70351),getProcessArgvBin:y,inspect:Rt,mainFilename:null!==(Tt=null===(Pt=false||void 0===oe(49167)?void 0:oe.c[oe.s])||void 0===Pt?void 0:Pt.filename)&&void 0!==Tt?Tt:process.cwd(),Parser:jt,path:oe(71017),process:{argv:()=>process.argv,cwd:process.cwd,emitWarning:(re,ie)=>process.emitWarning(re,ie),execPath:()=>process.execPath,exit:re=>{process.exit(re)},nextTick:process.nextTick,stdColumns:void 0!==process.stdout.columns?process.stdout.columns:null},readFileSync:Qt,require:oe(49167),requireDirectory:oe(89200),stringWidth:oe(42577),y18n:Nt({directory:Mt(__dirname,"../locales"),updateFiles:!1})};const Ut=(null===(Lt=null===process||void 0===process?void 0:process.env)||void 0===Lt?void 0:Lt.YARGS_MIN_NODE_VERSION)?Number(process.env.YARGS_MIN_NODE_VERSION):12;if(process&&process.version){if(Number(process.version.match(/v([^.]+)/)[1]){const se=new te(re,ie,oe,qt);return Object.defineProperty(se,"argv",{get:()=>se.parse(),enumerable:!0}),se.help(),se.version(),se}),argsert:h,isPromise:f,objFilter:g,parseCommand:o,Parser:Ht,processArgv:le,YError:e};re.exports=Kt},18822:(re,ie,oe)=>{"use strict";const{Yargs:se,processArgv:ae}=oe(59562);Argv(ae.hideBin(process.argv));re.exports=Argv;function Argv(re,ie){const ae=se(re,ie,oe(24907));singletonify(ae);return ae}function defineGetter(re,ie,oe){Object.defineProperty(re,ie,{configurable:true,enumerable:true,get:oe})}function lookupGetter(re,ie){const oe=Object.getOwnPropertyDescriptor(re,ie);if(typeof oe!=="undefined"){return oe.get}}function singletonify(re){[...Object.keys(re),...Object.getOwnPropertyNames(re.constructor.prototype)].forEach((ie=>{if(ie==="argv"){defineGetter(Argv,ie,lookupGetter(re,ie))}else if(typeof re[ie]==="function"){Argv[ie]=re[ie].bind(re)}else{defineGetter(Argv,"$0",(()=>re.$0));defineGetter(Argv,"parsed",(()=>re.parsed))}}))}},20259:re=>{"use strict";re.exports=JSON.parse('{"$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON AnySchema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},2988:re=>{"use strict";re.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')},18597:re=>{"use strict";re.exports={i8:"6.5.4"}},53765:re=>{"use strict";re.exports=JSON.parse('{"application/1d-interleaved-parityfec":{"source":"iana"},"application/3gpdash-qoe-report+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/3gpp-ims+xml":{"source":"iana","compressible":true},"application/3gpphal+json":{"source":"iana","compressible":true},"application/3gpphalforms+json":{"source":"iana","compressible":true},"application/a2l":{"source":"iana"},"application/ace+cbor":{"source":"iana"},"application/activemessage":{"source":"iana"},"application/activity+json":{"source":"iana","compressible":true},"application/alto-costmap+json":{"source":"iana","compressible":true},"application/alto-costmapfilter+json":{"source":"iana","compressible":true},"application/alto-directory+json":{"source":"iana","compressible":true},"application/alto-endpointcost+json":{"source":"iana","compressible":true},"application/alto-endpointcostparams+json":{"source":"iana","compressible":true},"application/alto-endpointprop+json":{"source":"iana","compressible":true},"application/alto-endpointpropparams+json":{"source":"iana","compressible":true},"application/alto-error+json":{"source":"iana","compressible":true},"application/alto-networkmap+json":{"source":"iana","compressible":true},"application/alto-networkmapfilter+json":{"source":"iana","compressible":true},"application/alto-updatestreamcontrol+json":{"source":"iana","compressible":true},"application/alto-updatestreamparams+json":{"source":"iana","compressible":true},"application/aml":{"source":"iana"},"application/andrew-inset":{"source":"iana","extensions":["ez"]},"application/applefile":{"source":"iana"},"application/applixware":{"source":"apache","extensions":["aw"]},"application/at+jwt":{"source":"iana"},"application/atf":{"source":"iana"},"application/atfx":{"source":"iana"},"application/atom+xml":{"source":"iana","compressible":true,"extensions":["atom"]},"application/atomcat+xml":{"source":"iana","compressible":true,"extensions":["atomcat"]},"application/atomdeleted+xml":{"source":"iana","compressible":true,"extensions":["atomdeleted"]},"application/atomicmail":{"source":"iana"},"application/atomsvc+xml":{"source":"iana","compressible":true,"extensions":["atomsvc"]},"application/atsc-dwd+xml":{"source":"iana","compressible":true,"extensions":["dwd"]},"application/atsc-dynamic-event-message":{"source":"iana"},"application/atsc-held+xml":{"source":"iana","compressible":true,"extensions":["held"]},"application/atsc-rdt+json":{"source":"iana","compressible":true},"application/atsc-rsat+xml":{"source":"iana","compressible":true,"extensions":["rsat"]},"application/atxml":{"source":"iana"},"application/auth-policy+xml":{"source":"iana","compressible":true},"application/bacnet-xdd+zip":{"source":"iana","compressible":false},"application/batch-smtp":{"source":"iana"},"application/bdoc":{"compressible":false,"extensions":["bdoc"]},"application/beep+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/calendar+json":{"source":"iana","compressible":true},"application/calendar+xml":{"source":"iana","compressible":true,"extensions":["xcs"]},"application/call-completion":{"source":"iana"},"application/cals-1840":{"source":"iana"},"application/captive+json":{"source":"iana","compressible":true},"application/cbor":{"source":"iana"},"application/cbor-seq":{"source":"iana"},"application/cccex":{"source":"iana"},"application/ccmp+xml":{"source":"iana","compressible":true},"application/ccxml+xml":{"source":"iana","compressible":true,"extensions":["ccxml"]},"application/cdfx+xml":{"source":"iana","compressible":true,"extensions":["cdfx"]},"application/cdmi-capability":{"source":"iana","extensions":["cdmia"]},"application/cdmi-container":{"source":"iana","extensions":["cdmic"]},"application/cdmi-domain":{"source":"iana","extensions":["cdmid"]},"application/cdmi-object":{"source":"iana","extensions":["cdmio"]},"application/cdmi-queue":{"source":"iana","extensions":["cdmiq"]},"application/cdni":{"source":"iana"},"application/cea":{"source":"iana"},"application/cea-2018+xml":{"source":"iana","compressible":true},"application/cellml+xml":{"source":"iana","compressible":true},"application/cfw":{"source":"iana"},"application/city+json":{"source":"iana","compressible":true},"application/clr":{"source":"iana"},"application/clue+xml":{"source":"iana","compressible":true},"application/clue_info+xml":{"source":"iana","compressible":true},"application/cms":{"source":"iana"},"application/cnrp+xml":{"source":"iana","compressible":true},"application/coap-group+json":{"source":"iana","compressible":true},"application/coap-payload":{"source":"iana"},"application/commonground":{"source":"iana"},"application/conference-info+xml":{"source":"iana","compressible":true},"application/cose":{"source":"iana"},"application/cose-key":{"source":"iana"},"application/cose-key-set":{"source":"iana"},"application/cpl+xml":{"source":"iana","compressible":true,"extensions":["cpl"]},"application/csrattrs":{"source":"iana"},"application/csta+xml":{"source":"iana","compressible":true},"application/cstadata+xml":{"source":"iana","compressible":true},"application/csvm+json":{"source":"iana","compressible":true},"application/cu-seeme":{"source":"apache","extensions":["cu"]},"application/cwt":{"source":"iana"},"application/cybercash":{"source":"iana"},"application/dart":{"compressible":true},"application/dash+xml":{"source":"iana","compressible":true,"extensions":["mpd"]},"application/dash-patch+xml":{"source":"iana","compressible":true,"extensions":["mpp"]},"application/dashdelta":{"source":"iana"},"application/davmount+xml":{"source":"iana","compressible":true,"extensions":["davmount"]},"application/dca-rft":{"source":"iana"},"application/dcd":{"source":"iana"},"application/dec-dx":{"source":"iana"},"application/dialog-info+xml":{"source":"iana","compressible":true},"application/dicom":{"source":"iana"},"application/dicom+json":{"source":"iana","compressible":true},"application/dicom+xml":{"source":"iana","compressible":true},"application/dii":{"source":"iana"},"application/dit":{"source":"iana"},"application/dns":{"source":"iana"},"application/dns+json":{"source":"iana","compressible":true},"application/dns-message":{"source":"iana"},"application/docbook+xml":{"source":"apache","compressible":true,"extensions":["dbk"]},"application/dots+cbor":{"source":"iana"},"application/dskpp+xml":{"source":"iana","compressible":true},"application/dssc+der":{"source":"iana","extensions":["dssc"]},"application/dssc+xml":{"source":"iana","compressible":true,"extensions":["xdssc"]},"application/dvcs":{"source":"iana"},"application/ecmascript":{"source":"iana","compressible":true,"extensions":["es","ecma"]},"application/edi-consent":{"source":"iana"},"application/edi-x12":{"source":"iana","compressible":false},"application/edifact":{"source":"iana","compressible":false},"application/efi":{"source":"iana"},"application/elm+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/elm+xml":{"source":"iana","compressible":true},"application/emergencycalldata.cap+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/emergencycalldata.comment+xml":{"source":"iana","compressible":true},"application/emergencycalldata.control+xml":{"source":"iana","compressible":true},"application/emergencycalldata.deviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.ecall.msd":{"source":"iana"},"application/emergencycalldata.providerinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.serviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.subscriberinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.veds+xml":{"source":"iana","compressible":true},"application/emma+xml":{"source":"iana","compressible":true,"extensions":["emma"]},"application/emotionml+xml":{"source":"iana","compressible":true,"extensions":["emotionml"]},"application/encaprtp":{"source":"iana"},"application/epp+xml":{"source":"iana","compressible":true},"application/epub+zip":{"source":"iana","compressible":false,"extensions":["epub"]},"application/eshop":{"source":"iana"},"application/exi":{"source":"iana","extensions":["exi"]},"application/expect-ct-report+json":{"source":"iana","compressible":true},"application/express":{"source":"iana","extensions":["exp"]},"application/fastinfoset":{"source":"iana"},"application/fastsoap":{"source":"iana"},"application/fdt+xml":{"source":"iana","compressible":true,"extensions":["fdt"]},"application/fhir+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/fhir+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/fido.trusted-apps+json":{"compressible":true},"application/fits":{"source":"iana"},"application/flexfec":{"source":"iana"},"application/font-sfnt":{"source":"iana"},"application/font-tdpfr":{"source":"iana","extensions":["pfr"]},"application/font-woff":{"source":"iana","compressible":false},"application/framework-attributes+xml":{"source":"iana","compressible":true},"application/geo+json":{"source":"iana","compressible":true,"extensions":["geojson"]},"application/geo+json-seq":{"source":"iana"},"application/geopackage+sqlite3":{"source":"iana"},"application/geoxacml+xml":{"source":"iana","compressible":true},"application/gltf-buffer":{"source":"iana"},"application/gml+xml":{"source":"iana","compressible":true,"extensions":["gml"]},"application/gpx+xml":{"source":"apache","compressible":true,"extensions":["gpx"]},"application/gxf":{"source":"apache","extensions":["gxf"]},"application/gzip":{"source":"iana","compressible":false,"extensions":["gz"]},"application/h224":{"source":"iana"},"application/held+xml":{"source":"iana","compressible":true},"application/hjson":{"extensions":["hjson"]},"application/http":{"source":"iana"},"application/hyperstudio":{"source":"iana","extensions":["stk"]},"application/ibe-key-request+xml":{"source":"iana","compressible":true},"application/ibe-pkg-reply+xml":{"source":"iana","compressible":true},"application/ibe-pp-data":{"source":"iana"},"application/iges":{"source":"iana"},"application/im-iscomposing+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/index":{"source":"iana"},"application/index.cmd":{"source":"iana"},"application/index.obj":{"source":"iana"},"application/index.response":{"source":"iana"},"application/index.vnd":{"source":"iana"},"application/inkml+xml":{"source":"iana","compressible":true,"extensions":["ink","inkml"]},"application/iotp":{"source":"iana"},"application/ipfix":{"source":"iana","extensions":["ipfix"]},"application/ipp":{"source":"iana"},"application/isup":{"source":"iana"},"application/its+xml":{"source":"iana","compressible":true,"extensions":["its"]},"application/java-archive":{"source":"apache","compressible":false,"extensions":["jar","war","ear"]},"application/java-serialized-object":{"source":"apache","compressible":false,"extensions":["ser"]},"application/java-vm":{"source":"apache","compressible":false,"extensions":["class"]},"application/javascript":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["js","mjs"]},"application/jf2feed+json":{"source":"iana","compressible":true},"application/jose":{"source":"iana"},"application/jose+json":{"source":"iana","compressible":true},"application/jrd+json":{"source":"iana","compressible":true},"application/jscalendar+json":{"source":"iana","compressible":true},"application/json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["json","map"]},"application/json-patch+json":{"source":"iana","compressible":true},"application/json-seq":{"source":"iana"},"application/json5":{"extensions":["json5"]},"application/jsonml+json":{"source":"apache","compressible":true,"extensions":["jsonml"]},"application/jwk+json":{"source":"iana","compressible":true},"application/jwk-set+json":{"source":"iana","compressible":true},"application/jwt":{"source":"iana"},"application/kpml-request+xml":{"source":"iana","compressible":true},"application/kpml-response+xml":{"source":"iana","compressible":true},"application/ld+json":{"source":"iana","compressible":true,"extensions":["jsonld"]},"application/lgr+xml":{"source":"iana","compressible":true,"extensions":["lgr"]},"application/link-format":{"source":"iana"},"application/load-control+xml":{"source":"iana","compressible":true},"application/lost+xml":{"source":"iana","compressible":true,"extensions":["lostxml"]},"application/lostsync+xml":{"source":"iana","compressible":true},"application/lpf+zip":{"source":"iana","compressible":false},"application/lxf":{"source":"iana"},"application/mac-binhex40":{"source":"iana","extensions":["hqx"]},"application/mac-compactpro":{"source":"apache","extensions":["cpt"]},"application/macwriteii":{"source":"iana"},"application/mads+xml":{"source":"iana","compressible":true,"extensions":["mads"]},"application/manifest+json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["webmanifest"]},"application/marc":{"source":"iana","extensions":["mrc"]},"application/marcxml+xml":{"source":"iana","compressible":true,"extensions":["mrcx"]},"application/mathematica":{"source":"iana","extensions":["ma","nb","mb"]},"application/mathml+xml":{"source":"iana","compressible":true,"extensions":["mathml"]},"application/mathml-content+xml":{"source":"iana","compressible":true},"application/mathml-presentation+xml":{"source":"iana","compressible":true},"application/mbms-associated-procedure-description+xml":{"source":"iana","compressible":true},"application/mbms-deregister+xml":{"source":"iana","compressible":true},"application/mbms-envelope+xml":{"source":"iana","compressible":true},"application/mbms-msk+xml":{"source":"iana","compressible":true},"application/mbms-msk-response+xml":{"source":"iana","compressible":true},"application/mbms-protection-description+xml":{"source":"iana","compressible":true},"application/mbms-reception-report+xml":{"source":"iana","compressible":true},"application/mbms-register+xml":{"source":"iana","compressible":true},"application/mbms-register-response+xml":{"source":"iana","compressible":true},"application/mbms-schedule+xml":{"source":"iana","compressible":true},"application/mbms-user-service-description+xml":{"source":"iana","compressible":true},"application/mbox":{"source":"iana","extensions":["mbox"]},"application/media-policy-dataset+xml":{"source":"iana","compressible":true,"extensions":["mpf"]},"application/media_control+xml":{"source":"iana","compressible":true},"application/mediaservercontrol+xml":{"source":"iana","compressible":true,"extensions":["mscml"]},"application/merge-patch+json":{"source":"iana","compressible":true},"application/metalink+xml":{"source":"apache","compressible":true,"extensions":["metalink"]},"application/metalink4+xml":{"source":"iana","compressible":true,"extensions":["meta4"]},"application/mets+xml":{"source":"iana","compressible":true,"extensions":["mets"]},"application/mf4":{"source":"iana"},"application/mikey":{"source":"iana"},"application/mipc":{"source":"iana"},"application/missing-blocks+cbor-seq":{"source":"iana"},"application/mmt-aei+xml":{"source":"iana","compressible":true,"extensions":["maei"]},"application/mmt-usd+xml":{"source":"iana","compressible":true,"extensions":["musd"]},"application/mods+xml":{"source":"iana","compressible":true,"extensions":["mods"]},"application/moss-keys":{"source":"iana"},"application/moss-signature":{"source":"iana"},"application/mosskey-data":{"source":"iana"},"application/mosskey-request":{"source":"iana"},"application/mp21":{"source":"iana","extensions":["m21","mp21"]},"application/mp4":{"source":"iana","extensions":["mp4s","m4p"]},"application/mpeg4-generic":{"source":"iana"},"application/mpeg4-iod":{"source":"iana"},"application/mpeg4-iod-xmt":{"source":"iana"},"application/mrb-consumer+xml":{"source":"iana","compressible":true},"application/mrb-publish+xml":{"source":"iana","compressible":true},"application/msc-ivr+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msc-mixer+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msword":{"source":"iana","compressible":false,"extensions":["doc","dot"]},"application/mud+json":{"source":"iana","compressible":true},"application/multipart-core":{"source":"iana"},"application/mxf":{"source":"iana","extensions":["mxf"]},"application/n-quads":{"source":"iana","extensions":["nq"]},"application/n-triples":{"source":"iana","extensions":["nt"]},"application/nasdata":{"source":"iana"},"application/news-checkgroups":{"source":"iana","charset":"US-ASCII"},"application/news-groupinfo":{"source":"iana","charset":"US-ASCII"},"application/news-transmission":{"source":"iana"},"application/nlsml+xml":{"source":"iana","compressible":true},"application/node":{"source":"iana","extensions":["cjs"]},"application/nss":{"source":"iana"},"application/oauth-authz-req+jwt":{"source":"iana"},"application/oblivious-dns-message":{"source":"iana"},"application/ocsp-request":{"source":"iana"},"application/ocsp-response":{"source":"iana"},"application/octet-stream":{"source":"iana","compressible":false,"extensions":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{"source":"iana","extensions":["oda"]},"application/odm+xml":{"source":"iana","compressible":true},"application/odx":{"source":"iana"},"application/oebps-package+xml":{"source":"iana","compressible":true,"extensions":["opf"]},"application/ogg":{"source":"iana","compressible":false,"extensions":["ogx"]},"application/omdoc+xml":{"source":"apache","compressible":true,"extensions":["omdoc"]},"application/onenote":{"source":"apache","extensions":["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{"source":"iana","compressible":true},"application/oscore":{"source":"iana"},"application/oxps":{"source":"iana","extensions":["oxps"]},"application/p21":{"source":"iana"},"application/p21+zip":{"source":"iana","compressible":false},"application/p2p-overlay+xml":{"source":"iana","compressible":true,"extensions":["relo"]},"application/parityfec":{"source":"iana"},"application/passport":{"source":"iana"},"application/patch-ops-error+xml":{"source":"iana","compressible":true,"extensions":["xer"]},"application/pdf":{"source":"iana","compressible":false,"extensions":["pdf"]},"application/pdx":{"source":"iana"},"application/pem-certificate-chain":{"source":"iana"},"application/pgp-encrypted":{"source":"iana","compressible":false,"extensions":["pgp"]},"application/pgp-keys":{"source":"iana","extensions":["asc"]},"application/pgp-signature":{"source":"iana","extensions":["asc","sig"]},"application/pics-rules":{"source":"apache","extensions":["prf"]},"application/pidf+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pidf-diff+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pkcs10":{"source":"iana","extensions":["p10"]},"application/pkcs12":{"source":"iana"},"application/pkcs7-mime":{"source":"iana","extensions":["p7m","p7c"]},"application/pkcs7-signature":{"source":"iana","extensions":["p7s"]},"application/pkcs8":{"source":"iana","extensions":["p8"]},"application/pkcs8-encrypted":{"source":"iana"},"application/pkix-attr-cert":{"source":"iana","extensions":["ac"]},"application/pkix-cert":{"source":"iana","extensions":["cer"]},"application/pkix-crl":{"source":"iana","extensions":["crl"]},"application/pkix-pkipath":{"source":"iana","extensions":["pkipath"]},"application/pkixcmp":{"source":"iana","extensions":["pki"]},"application/pls+xml":{"source":"iana","compressible":true,"extensions":["pls"]},"application/poc-settings+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/postscript":{"source":"iana","compressible":true,"extensions":["ai","eps","ps"]},"application/ppsp-tracker+json":{"source":"iana","compressible":true},"application/problem+json":{"source":"iana","compressible":true},"application/problem+xml":{"source":"iana","compressible":true},"application/provenance+xml":{"source":"iana","compressible":true,"extensions":["provx"]},"application/prs.alvestrand.titrax-sheet":{"source":"iana"},"application/prs.cww":{"source":"iana","extensions":["cww"]},"application/prs.cyn":{"source":"iana","charset":"7-BIT"},"application/prs.hpub+zip":{"source":"iana","compressible":false},"application/prs.nprend":{"source":"iana"},"application/prs.plucker":{"source":"iana"},"application/prs.rdf-xml-crypt":{"source":"iana"},"application/prs.xsf+xml":{"source":"iana","compressible":true},"application/pskc+xml":{"source":"iana","compressible":true,"extensions":["pskcxml"]},"application/pvd+json":{"source":"iana","compressible":true},"application/qsig":{"source":"iana"},"application/raml+yaml":{"compressible":true,"extensions":["raml"]},"application/raptorfec":{"source":"iana"},"application/rdap+json":{"source":"iana","compressible":true},"application/rdf+xml":{"source":"iana","compressible":true,"extensions":["rdf","owl"]},"application/reginfo+xml":{"source":"iana","compressible":true,"extensions":["rif"]},"application/relax-ng-compact-syntax":{"source":"iana","extensions":["rnc"]},"application/remote-printing":{"source":"iana"},"application/reputon+json":{"source":"iana","compressible":true},"application/resource-lists+xml":{"source":"iana","compressible":true,"extensions":["rl"]},"application/resource-lists-diff+xml":{"source":"iana","compressible":true,"extensions":["rld"]},"application/rfc+xml":{"source":"iana","compressible":true},"application/riscos":{"source":"iana"},"application/rlmi+xml":{"source":"iana","compressible":true},"application/rls-services+xml":{"source":"iana","compressible":true,"extensions":["rs"]},"application/route-apd+xml":{"source":"iana","compressible":true,"extensions":["rapd"]},"application/route-s-tsid+xml":{"source":"iana","compressible":true,"extensions":["sls"]},"application/route-usd+xml":{"source":"iana","compressible":true,"extensions":["rusd"]},"application/rpki-ghostbusters":{"source":"iana","extensions":["gbr"]},"application/rpki-manifest":{"source":"iana","extensions":["mft"]},"application/rpki-publication":{"source":"iana"},"application/rpki-roa":{"source":"iana","extensions":["roa"]},"application/rpki-updown":{"source":"iana"},"application/rsd+xml":{"source":"apache","compressible":true,"extensions":["rsd"]},"application/rss+xml":{"source":"apache","compressible":true,"extensions":["rss"]},"application/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"application/rtploopback":{"source":"iana"},"application/rtx":{"source":"iana"},"application/samlassertion+xml":{"source":"iana","compressible":true},"application/samlmetadata+xml":{"source":"iana","compressible":true},"application/sarif+json":{"source":"iana","compressible":true},"application/sarif-external-properties+json":{"source":"iana","compressible":true},"application/sbe":{"source":"iana"},"application/sbml+xml":{"source":"iana","compressible":true,"extensions":["sbml"]},"application/scaip+xml":{"source":"iana","compressible":true},"application/scim+json":{"source":"iana","compressible":true},"application/scvp-cv-request":{"source":"iana","extensions":["scq"]},"application/scvp-cv-response":{"source":"iana","extensions":["scs"]},"application/scvp-vp-request":{"source":"iana","extensions":["spq"]},"application/scvp-vp-response":{"source":"iana","extensions":["spp"]},"application/sdp":{"source":"iana","extensions":["sdp"]},"application/secevent+jwt":{"source":"iana"},"application/senml+cbor":{"source":"iana"},"application/senml+json":{"source":"iana","compressible":true},"application/senml+xml":{"source":"iana","compressible":true,"extensions":["senmlx"]},"application/senml-etch+cbor":{"source":"iana"},"application/senml-etch+json":{"source":"iana","compressible":true},"application/senml-exi":{"source":"iana"},"application/sensml+cbor":{"source":"iana"},"application/sensml+json":{"source":"iana","compressible":true},"application/sensml+xml":{"source":"iana","compressible":true,"extensions":["sensmlx"]},"application/sensml-exi":{"source":"iana"},"application/sep+xml":{"source":"iana","compressible":true},"application/sep-exi":{"source":"iana"},"application/session-info":{"source":"iana"},"application/set-payment":{"source":"iana"},"application/set-payment-initiation":{"source":"iana","extensions":["setpay"]},"application/set-registration":{"source":"iana"},"application/set-registration-initiation":{"source":"iana","extensions":["setreg"]},"application/sgml":{"source":"iana"},"application/sgml-open-catalog":{"source":"iana"},"application/shf+xml":{"source":"iana","compressible":true,"extensions":["shf"]},"application/sieve":{"source":"iana","extensions":["siv","sieve"]},"application/simple-filter+xml":{"source":"iana","compressible":true},"application/simple-message-summary":{"source":"iana"},"application/simplesymbolcontainer":{"source":"iana"},"application/sipc":{"source":"iana"},"application/slate":{"source":"iana"},"application/smil":{"source":"iana"},"application/smil+xml":{"source":"iana","compressible":true,"extensions":["smi","smil"]},"application/smpte336m":{"source":"iana"},"application/soap+fastinfoset":{"source":"iana"},"application/soap+xml":{"source":"iana","compressible":true},"application/sparql-query":{"source":"iana","extensions":["rq"]},"application/sparql-results+xml":{"source":"iana","compressible":true,"extensions":["srx"]},"application/spdx+json":{"source":"iana","compressible":true},"application/spirits-event+xml":{"source":"iana","compressible":true},"application/sql":{"source":"iana"},"application/srgs":{"source":"iana","extensions":["gram"]},"application/srgs+xml":{"source":"iana","compressible":true,"extensions":["grxml"]},"application/sru+xml":{"source":"iana","compressible":true,"extensions":["sru"]},"application/ssdl+xml":{"source":"apache","compressible":true,"extensions":["ssdl"]},"application/ssml+xml":{"source":"iana","compressible":true,"extensions":["ssml"]},"application/stix+json":{"source":"iana","compressible":true},"application/swid+xml":{"source":"iana","compressible":true,"extensions":["swidtag"]},"application/tamp-apex-update":{"source":"iana"},"application/tamp-apex-update-confirm":{"source":"iana"},"application/tamp-community-update":{"source":"iana"},"application/tamp-community-update-confirm":{"source":"iana"},"application/tamp-error":{"source":"iana"},"application/tamp-sequence-adjust":{"source":"iana"},"application/tamp-sequence-adjust-confirm":{"source":"iana"},"application/tamp-status-query":{"source":"iana"},"application/tamp-status-response":{"source":"iana"},"application/tamp-update":{"source":"iana"},"application/tamp-update-confirm":{"source":"iana"},"application/tar":{"compressible":true},"application/taxii+json":{"source":"iana","compressible":true},"application/td+json":{"source":"iana","compressible":true},"application/tei+xml":{"source":"iana","compressible":true,"extensions":["tei","teicorpus"]},"application/tetra_isi":{"source":"iana"},"application/thraud+xml":{"source":"iana","compressible":true,"extensions":["tfi"]},"application/timestamp-query":{"source":"iana"},"application/timestamp-reply":{"source":"iana"},"application/timestamped-data":{"source":"iana","extensions":["tsd"]},"application/tlsrpt+gzip":{"source":"iana"},"application/tlsrpt+json":{"source":"iana","compressible":true},"application/tnauthlist":{"source":"iana"},"application/token-introspection+jwt":{"source":"iana"},"application/toml":{"compressible":true,"extensions":["toml"]},"application/trickle-ice-sdpfrag":{"source":"iana"},"application/trig":{"source":"iana","extensions":["trig"]},"application/ttml+xml":{"source":"iana","compressible":true,"extensions":["ttml"]},"application/tve-trigger":{"source":"iana"},"application/tzif":{"source":"iana"},"application/tzif-leap":{"source":"iana"},"application/ubjson":{"compressible":false,"extensions":["ubj"]},"application/ulpfec":{"source":"iana"},"application/urc-grpsheet+xml":{"source":"iana","compressible":true},"application/urc-ressheet+xml":{"source":"iana","compressible":true,"extensions":["rsheet"]},"application/urc-targetdesc+xml":{"source":"iana","compressible":true,"extensions":["td"]},"application/urc-uisocketdesc+xml":{"source":"iana","compressible":true},"application/vcard+json":{"source":"iana","compressible":true},"application/vcard+xml":{"source":"iana","compressible":true},"application/vemmi":{"source":"iana"},"application/vividence.scriptfile":{"source":"apache"},"application/vnd.1000minds.decision-model+xml":{"source":"iana","compressible":true,"extensions":["1km"]},"application/vnd.3gpp-prose+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-prose-pc3ch+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-v2x-local-service-information":{"source":"iana"},"application/vnd.3gpp.5gnas":{"source":"iana"},"application/vnd.3gpp.access-transfer-events+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.bsf+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gmop+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gtpc":{"source":"iana"},"application/vnd.3gpp.interworking-data":{"source":"iana"},"application/vnd.3gpp.lpp":{"source":"iana"},"application/vnd.3gpp.mc-signalling-ear":{"source":"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-payload":{"source":"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-signalling":{"source":"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-floor-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-signed+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-init-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-transmission-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mid-call+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ngap":{"source":"iana"},"application/vnd.3gpp.pfcp":{"source":"iana"},"application/vnd.3gpp.pic-bw-large":{"source":"iana","extensions":["plb"]},"application/vnd.3gpp.pic-bw-small":{"source":"iana","extensions":["psb"]},"application/vnd.3gpp.pic-bw-var":{"source":"iana","extensions":["pvb"]},"application/vnd.3gpp.s1ap":{"source":"iana"},"application/vnd.3gpp.sms":{"source":"iana"},"application/vnd.3gpp.sms+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-ext+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.state-and-event-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ussd+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.bcmcsinfo+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.sms":{"source":"iana"},"application/vnd.3gpp2.tcap":{"source":"iana","extensions":["tcap"]},"application/vnd.3lightssoftware.imagescal":{"source":"iana"},"application/vnd.3m.post-it-notes":{"source":"iana","extensions":["pwn"]},"application/vnd.accpac.simply.aso":{"source":"iana","extensions":["aso"]},"application/vnd.accpac.simply.imp":{"source":"iana","extensions":["imp"]},"application/vnd.acucobol":{"source":"iana","extensions":["acu"]},"application/vnd.acucorp":{"source":"iana","extensions":["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{"source":"apache","compressible":false,"extensions":["air"]},"application/vnd.adobe.flash.movie":{"source":"iana"},"application/vnd.adobe.formscentral.fcdt":{"source":"iana","extensions":["fcdt"]},"application/vnd.adobe.fxp":{"source":"iana","extensions":["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{"source":"iana"},"application/vnd.adobe.xdp+xml":{"source":"iana","compressible":true,"extensions":["xdp"]},"application/vnd.adobe.xfdf":{"source":"iana","extensions":["xfdf"]},"application/vnd.aether.imp":{"source":"iana"},"application/vnd.afpc.afplinedata":{"source":"iana"},"application/vnd.afpc.afplinedata-pagedef":{"source":"iana"},"application/vnd.afpc.cmoca-cmresource":{"source":"iana"},"application/vnd.afpc.foca-charset":{"source":"iana"},"application/vnd.afpc.foca-codedfont":{"source":"iana"},"application/vnd.afpc.foca-codepage":{"source":"iana"},"application/vnd.afpc.modca":{"source":"iana"},"application/vnd.afpc.modca-cmtable":{"source":"iana"},"application/vnd.afpc.modca-formdef":{"source":"iana"},"application/vnd.afpc.modca-mediummap":{"source":"iana"},"application/vnd.afpc.modca-objectcontainer":{"source":"iana"},"application/vnd.afpc.modca-overlay":{"source":"iana"},"application/vnd.afpc.modca-pagesegment":{"source":"iana"},"application/vnd.age":{"source":"iana","extensions":["age"]},"application/vnd.ah-barcode":{"source":"iana"},"application/vnd.ahead.space":{"source":"iana","extensions":["ahead"]},"application/vnd.airzip.filesecure.azf":{"source":"iana","extensions":["azf"]},"application/vnd.airzip.filesecure.azs":{"source":"iana","extensions":["azs"]},"application/vnd.amadeus+json":{"source":"iana","compressible":true},"application/vnd.amazon.ebook":{"source":"apache","extensions":["azw"]},"application/vnd.amazon.mobi8-ebook":{"source":"iana"},"application/vnd.americandynamics.acc":{"source":"iana","extensions":["acc"]},"application/vnd.amiga.ami":{"source":"iana","extensions":["ami"]},"application/vnd.amundsen.maze+xml":{"source":"iana","compressible":true},"application/vnd.android.ota":{"source":"iana"},"application/vnd.android.package-archive":{"source":"apache","compressible":false,"extensions":["apk"]},"application/vnd.anki":{"source":"iana"},"application/vnd.anser-web-certificate-issue-initiation":{"source":"iana","extensions":["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{"source":"apache","extensions":["fti"]},"application/vnd.antix.game-component":{"source":"iana","extensions":["atx"]},"application/vnd.apache.arrow.file":{"source":"iana"},"application/vnd.apache.arrow.stream":{"source":"iana"},"application/vnd.apache.thrift.binary":{"source":"iana"},"application/vnd.apache.thrift.compact":{"source":"iana"},"application/vnd.apache.thrift.json":{"source":"iana"},"application/vnd.api+json":{"source":"iana","compressible":true},"application/vnd.aplextor.warrp+json":{"source":"iana","compressible":true},"application/vnd.apothekende.reservation+json":{"source":"iana","compressible":true},"application/vnd.apple.installer+xml":{"source":"iana","compressible":true,"extensions":["mpkg"]},"application/vnd.apple.keynote":{"source":"iana","extensions":["key"]},"application/vnd.apple.mpegurl":{"source":"iana","extensions":["m3u8"]},"application/vnd.apple.numbers":{"source":"iana","extensions":["numbers"]},"application/vnd.apple.pages":{"source":"iana","extensions":["pages"]},"application/vnd.apple.pkpass":{"compressible":false,"extensions":["pkpass"]},"application/vnd.arastra.swi":{"source":"iana"},"application/vnd.aristanetworks.swi":{"source":"iana","extensions":["swi"]},"application/vnd.artisan+json":{"source":"iana","compressible":true},"application/vnd.artsquare":{"source":"iana"},"application/vnd.astraea-software.iota":{"source":"iana","extensions":["iota"]},"application/vnd.audiograph":{"source":"iana","extensions":["aep"]},"application/vnd.autopackage":{"source":"iana"},"application/vnd.avalon+json":{"source":"iana","compressible":true},"application/vnd.avistar+xml":{"source":"iana","compressible":true},"application/vnd.balsamiq.bmml+xml":{"source":"iana","compressible":true,"extensions":["bmml"]},"application/vnd.balsamiq.bmpr":{"source":"iana"},"application/vnd.banana-accounting":{"source":"iana"},"application/vnd.bbf.usp.error":{"source":"iana"},"application/vnd.bbf.usp.msg":{"source":"iana"},"application/vnd.bbf.usp.msg+json":{"source":"iana","compressible":true},"application/vnd.bekitzur-stech+json":{"source":"iana","compressible":true},"application/vnd.bint.med-content":{"source":"iana"},"application/vnd.biopax.rdf+xml":{"source":"iana","compressible":true},"application/vnd.blink-idb-value-wrapper":{"source":"iana"},"application/vnd.blueice.multipass":{"source":"iana","extensions":["mpm"]},"application/vnd.bluetooth.ep.oob":{"source":"iana"},"application/vnd.bluetooth.le.oob":{"source":"iana"},"application/vnd.bmi":{"source":"iana","extensions":["bmi"]},"application/vnd.bpf":{"source":"iana"},"application/vnd.bpf3":{"source":"iana"},"application/vnd.businessobjects":{"source":"iana","extensions":["rep"]},"application/vnd.byu.uapi+json":{"source":"iana","compressible":true},"application/vnd.cab-jscript":{"source":"iana"},"application/vnd.canon-cpdl":{"source":"iana"},"application/vnd.canon-lips":{"source":"iana"},"application/vnd.capasystems-pg+json":{"source":"iana","compressible":true},"application/vnd.cendio.thinlinc.clientconf":{"source":"iana"},"application/vnd.century-systems.tcp_stream":{"source":"iana"},"application/vnd.chemdraw+xml":{"source":"iana","compressible":true,"extensions":["cdxml"]},"application/vnd.chess-pgn":{"source":"iana"},"application/vnd.chipnuts.karaoke-mmd":{"source":"iana","extensions":["mmd"]},"application/vnd.ciedi":{"source":"iana"},"application/vnd.cinderella":{"source":"iana","extensions":["cdy"]},"application/vnd.cirpack.isdn-ext":{"source":"iana"},"application/vnd.citationstyles.style+xml":{"source":"iana","compressible":true,"extensions":["csl"]},"application/vnd.claymore":{"source":"iana","extensions":["cla"]},"application/vnd.cloanto.rp9":{"source":"iana","extensions":["rp9"]},"application/vnd.clonk.c4group":{"source":"iana","extensions":["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{"source":"iana","extensions":["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{"source":"iana","extensions":["c11amz"]},"application/vnd.coffeescript":{"source":"iana"},"application/vnd.collabio.xodocuments.document":{"source":"iana"},"application/vnd.collabio.xodocuments.document-template":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation-template":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{"source":"iana"},"application/vnd.collection+json":{"source":"iana","compressible":true},"application/vnd.collection.doc+json":{"source":"iana","compressible":true},"application/vnd.collection.next+json":{"source":"iana","compressible":true},"application/vnd.comicbook+zip":{"source":"iana","compressible":false},"application/vnd.comicbook-rar":{"source":"iana"},"application/vnd.commerce-battelle":{"source":"iana"},"application/vnd.commonspace":{"source":"iana","extensions":["csp"]},"application/vnd.contact.cmsg":{"source":"iana","extensions":["cdbcmsg"]},"application/vnd.coreos.ignition+json":{"source":"iana","compressible":true},"application/vnd.cosmocaller":{"source":"iana","extensions":["cmc"]},"application/vnd.crick.clicker":{"source":"iana","extensions":["clkx"]},"application/vnd.crick.clicker.keyboard":{"source":"iana","extensions":["clkk"]},"application/vnd.crick.clicker.palette":{"source":"iana","extensions":["clkp"]},"application/vnd.crick.clicker.template":{"source":"iana","extensions":["clkt"]},"application/vnd.crick.clicker.wordbank":{"source":"iana","extensions":["clkw"]},"application/vnd.criticaltools.wbs+xml":{"source":"iana","compressible":true,"extensions":["wbs"]},"application/vnd.cryptii.pipe+json":{"source":"iana","compressible":true},"application/vnd.crypto-shade-file":{"source":"iana"},"application/vnd.cryptomator.encrypted":{"source":"iana"},"application/vnd.cryptomator.vault":{"source":"iana"},"application/vnd.ctc-posml":{"source":"iana","extensions":["pml"]},"application/vnd.ctct.ws+xml":{"source":"iana","compressible":true},"application/vnd.cups-pdf":{"source":"iana"},"application/vnd.cups-postscript":{"source":"iana"},"application/vnd.cups-ppd":{"source":"iana","extensions":["ppd"]},"application/vnd.cups-raster":{"source":"iana"},"application/vnd.cups-raw":{"source":"iana"},"application/vnd.curl":{"source":"iana"},"application/vnd.curl.car":{"source":"apache","extensions":["car"]},"application/vnd.curl.pcurl":{"source":"apache","extensions":["pcurl"]},"application/vnd.cyan.dean.root+xml":{"source":"iana","compressible":true},"application/vnd.cybank":{"source":"iana"},"application/vnd.cyclonedx+json":{"source":"iana","compressible":true},"application/vnd.cyclonedx+xml":{"source":"iana","compressible":true},"application/vnd.d2l.coursepackage1p0+zip":{"source":"iana","compressible":false},"application/vnd.d3m-dataset":{"source":"iana"},"application/vnd.d3m-problem":{"source":"iana"},"application/vnd.dart":{"source":"iana","compressible":true,"extensions":["dart"]},"application/vnd.data-vision.rdz":{"source":"iana","extensions":["rdz"]},"application/vnd.datapackage+json":{"source":"iana","compressible":true},"application/vnd.dataresource+json":{"source":"iana","compressible":true},"application/vnd.dbf":{"source":"iana","extensions":["dbf"]},"application/vnd.debian.binary-package":{"source":"iana"},"application/vnd.dece.data":{"source":"iana","extensions":["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{"source":"iana","compressible":true,"extensions":["uvt","uvvt"]},"application/vnd.dece.unspecified":{"source":"iana","extensions":["uvx","uvvx"]},"application/vnd.dece.zip":{"source":"iana","extensions":["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{"source":"iana","extensions":["fe_launch"]},"application/vnd.desmume.movie":{"source":"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{"source":"iana"},"application/vnd.dm.delegation+xml":{"source":"iana","compressible":true},"application/vnd.dna":{"source":"iana","extensions":["dna"]},"application/vnd.document+json":{"source":"iana","compressible":true},"application/vnd.dolby.mlp":{"source":"apache","extensions":["mlp"]},"application/vnd.dolby.mobile.1":{"source":"iana"},"application/vnd.dolby.mobile.2":{"source":"iana"},"application/vnd.doremir.scorecloud-binary-document":{"source":"iana"},"application/vnd.dpgraph":{"source":"iana","extensions":["dpg"]},"application/vnd.dreamfactory":{"source":"iana","extensions":["dfac"]},"application/vnd.drive+json":{"source":"iana","compressible":true},"application/vnd.ds-keypoint":{"source":"apache","extensions":["kpxx"]},"application/vnd.dtg.local":{"source":"iana"},"application/vnd.dtg.local.flash":{"source":"iana"},"application/vnd.dtg.local.html":{"source":"iana"},"application/vnd.dvb.ait":{"source":"iana","extensions":["ait"]},"application/vnd.dvb.dvbisl+xml":{"source":"iana","compressible":true},"application/vnd.dvb.dvbj":{"source":"iana"},"application/vnd.dvb.esgcontainer":{"source":"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess2":{"source":"iana"},"application/vnd.dvb.ipdcesgpdd":{"source":"iana"},"application/vnd.dvb.ipdcroaming":{"source":"iana"},"application/vnd.dvb.iptv.alfec-base":{"source":"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{"source":"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-container+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-generic+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-msglist+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-request+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-response+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-init+xml":{"source":"iana","compressible":true},"application/vnd.dvb.pfr":{"source":"iana"},"application/vnd.dvb.service":{"source":"iana","extensions":["svc"]},"application/vnd.dxr":{"source":"iana"},"application/vnd.dynageo":{"source":"iana","extensions":["geo"]},"application/vnd.dzr":{"source":"iana"},"application/vnd.easykaraoke.cdgdownload":{"source":"iana"},"application/vnd.ecdis-update":{"source":"iana"},"application/vnd.ecip.rlp":{"source":"iana"},"application/vnd.eclipse.ditto+json":{"source":"iana","compressible":true},"application/vnd.ecowin.chart":{"source":"iana","extensions":["mag"]},"application/vnd.ecowin.filerequest":{"source":"iana"},"application/vnd.ecowin.fileupdate":{"source":"iana"},"application/vnd.ecowin.series":{"source":"iana"},"application/vnd.ecowin.seriesrequest":{"source":"iana"},"application/vnd.ecowin.seriesupdate":{"source":"iana"},"application/vnd.efi.img":{"source":"iana"},"application/vnd.efi.iso":{"source":"iana"},"application/vnd.emclient.accessrequest+xml":{"source":"iana","compressible":true},"application/vnd.enliven":{"source":"iana","extensions":["nml"]},"application/vnd.enphase.envoy":{"source":"iana"},"application/vnd.eprints.data+xml":{"source":"iana","compressible":true},"application/vnd.epson.esf":{"source":"iana","extensions":["esf"]},"application/vnd.epson.msf":{"source":"iana","extensions":["msf"]},"application/vnd.epson.quickanime":{"source":"iana","extensions":["qam"]},"application/vnd.epson.salt":{"source":"iana","extensions":["slt"]},"application/vnd.epson.ssf":{"source":"iana","extensions":["ssf"]},"application/vnd.ericsson.quickcall":{"source":"iana"},"application/vnd.espass-espass+zip":{"source":"iana","compressible":false},"application/vnd.eszigno3+xml":{"source":"iana","compressible":true,"extensions":["es3","et3"]},"application/vnd.etsi.aoc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.asic-e+zip":{"source":"iana","compressible":false},"application/vnd.etsi.asic-s+zip":{"source":"iana","compressible":false},"application/vnd.etsi.cug+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvcommand+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-bc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-cod+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-npvr+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvservice+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsync+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvueprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mcid+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mheg5":{"source":"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{"source":"iana","compressible":true},"application/vnd.etsi.pstn+xml":{"source":"iana","compressible":true},"application/vnd.etsi.sci+xml":{"source":"iana","compressible":true},"application/vnd.etsi.simservs+xml":{"source":"iana","compressible":true},"application/vnd.etsi.timestamp-token":{"source":"iana"},"application/vnd.etsi.tsl+xml":{"source":"iana","compressible":true},"application/vnd.etsi.tsl.der":{"source":"iana"},"application/vnd.eu.kasparian.car+json":{"source":"iana","compressible":true},"application/vnd.eudora.data":{"source":"iana"},"application/vnd.evolv.ecig.profile":{"source":"iana"},"application/vnd.evolv.ecig.settings":{"source":"iana"},"application/vnd.evolv.ecig.theme":{"source":"iana"},"application/vnd.exstream-empower+zip":{"source":"iana","compressible":false},"application/vnd.exstream-package":{"source":"iana"},"application/vnd.ezpix-album":{"source":"iana","extensions":["ez2"]},"application/vnd.ezpix-package":{"source":"iana","extensions":["ez3"]},"application/vnd.f-secure.mobile":{"source":"iana"},"application/vnd.familysearch.gedcom+zip":{"source":"iana","compressible":false},"application/vnd.fastcopy-disk-image":{"source":"iana"},"application/vnd.fdf":{"source":"iana","extensions":["fdf"]},"application/vnd.fdsn.mseed":{"source":"iana","extensions":["mseed"]},"application/vnd.fdsn.seed":{"source":"iana","extensions":["seed","dataless"]},"application/vnd.ffsns":{"source":"iana"},"application/vnd.ficlab.flb+zip":{"source":"iana","compressible":false},"application/vnd.filmit.zfc":{"source":"iana"},"application/vnd.fints":{"source":"iana"},"application/vnd.firemonkeys.cloudcell":{"source":"iana"},"application/vnd.flographit":{"source":"iana","extensions":["gph"]},"application/vnd.fluxtime.clip":{"source":"iana","extensions":["ftc"]},"application/vnd.font-fontforge-sfd":{"source":"iana"},"application/vnd.framemaker":{"source":"iana","extensions":["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{"source":"iana","extensions":["fnc"]},"application/vnd.frogans.ltf":{"source":"iana","extensions":["ltf"]},"application/vnd.fsc.weblaunch":{"source":"iana","extensions":["fsc"]},"application/vnd.fujifilm.fb.docuworks":{"source":"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{"source":"iana"},"application/vnd.fujifilm.fb.docuworks.container":{"source":"iana"},"application/vnd.fujifilm.fb.jfi+xml":{"source":"iana","compressible":true},"application/vnd.fujitsu.oasys":{"source":"iana","extensions":["oas"]},"application/vnd.fujitsu.oasys2":{"source":"iana","extensions":["oa2"]},"application/vnd.fujitsu.oasys3":{"source":"iana","extensions":["oa3"]},"application/vnd.fujitsu.oasysgp":{"source":"iana","extensions":["fg5"]},"application/vnd.fujitsu.oasysprs":{"source":"iana","extensions":["bh2"]},"application/vnd.fujixerox.art-ex":{"source":"iana"},"application/vnd.fujixerox.art4":{"source":"iana"},"application/vnd.fujixerox.ddd":{"source":"iana","extensions":["ddd"]},"application/vnd.fujixerox.docuworks":{"source":"iana","extensions":["xdw"]},"application/vnd.fujixerox.docuworks.binder":{"source":"iana","extensions":["xbd"]},"application/vnd.fujixerox.docuworks.container":{"source":"iana"},"application/vnd.fujixerox.hbpl":{"source":"iana"},"application/vnd.fut-misnet":{"source":"iana"},"application/vnd.futoin+cbor":{"source":"iana"},"application/vnd.futoin+json":{"source":"iana","compressible":true},"application/vnd.fuzzysheet":{"source":"iana","extensions":["fzs"]},"application/vnd.genomatix.tuxedo":{"source":"iana","extensions":["txd"]},"application/vnd.gentics.grd+json":{"source":"iana","compressible":true},"application/vnd.geo+json":{"source":"iana","compressible":true},"application/vnd.geocube+xml":{"source":"iana","compressible":true},"application/vnd.geogebra.file":{"source":"iana","extensions":["ggb"]},"application/vnd.geogebra.slides":{"source":"iana"},"application/vnd.geogebra.tool":{"source":"iana","extensions":["ggt"]},"application/vnd.geometry-explorer":{"source":"iana","extensions":["gex","gre"]},"application/vnd.geonext":{"source":"iana","extensions":["gxt"]},"application/vnd.geoplan":{"source":"iana","extensions":["g2w"]},"application/vnd.geospace":{"source":"iana","extensions":["g3w"]},"application/vnd.gerber":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt-response":{"source":"iana"},"application/vnd.gmx":{"source":"iana","extensions":["gmx"]},"application/vnd.google-apps.document":{"compressible":false,"extensions":["gdoc"]},"application/vnd.google-apps.presentation":{"compressible":false,"extensions":["gslides"]},"application/vnd.google-apps.spreadsheet":{"compressible":false,"extensions":["gsheet"]},"application/vnd.google-earth.kml+xml":{"source":"iana","compressible":true,"extensions":["kml"]},"application/vnd.google-earth.kmz":{"source":"iana","compressible":false,"extensions":["kmz"]},"application/vnd.gov.sk.e-form+xml":{"source":"iana","compressible":true},"application/vnd.gov.sk.e-form+zip":{"source":"iana","compressible":false},"application/vnd.gov.sk.xmldatacontainer+xml":{"source":"iana","compressible":true},"application/vnd.grafeq":{"source":"iana","extensions":["gqf","gqs"]},"application/vnd.gridmp":{"source":"iana"},"application/vnd.groove-account":{"source":"iana","extensions":["gac"]},"application/vnd.groove-help":{"source":"iana","extensions":["ghf"]},"application/vnd.groove-identity-message":{"source":"iana","extensions":["gim"]},"application/vnd.groove-injector":{"source":"iana","extensions":["grv"]},"application/vnd.groove-tool-message":{"source":"iana","extensions":["gtm"]},"application/vnd.groove-tool-template":{"source":"iana","extensions":["tpl"]},"application/vnd.groove-vcard":{"source":"iana","extensions":["vcg"]},"application/vnd.hal+json":{"source":"iana","compressible":true},"application/vnd.hal+xml":{"source":"iana","compressible":true,"extensions":["hal"]},"application/vnd.handheld-entertainment+xml":{"source":"iana","compressible":true,"extensions":["zmm"]},"application/vnd.hbci":{"source":"iana","extensions":["hbci"]},"application/vnd.hc+json":{"source":"iana","compressible":true},"application/vnd.hcl-bireports":{"source":"iana"},"application/vnd.hdt":{"source":"iana"},"application/vnd.heroku+json":{"source":"iana","compressible":true},"application/vnd.hhe.lesson-player":{"source":"iana","extensions":["les"]},"application/vnd.hl7cda+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.hl7v2+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.hp-hpgl":{"source":"iana","extensions":["hpgl"]},"application/vnd.hp-hpid":{"source":"iana","extensions":["hpid"]},"application/vnd.hp-hps":{"source":"iana","extensions":["hps"]},"application/vnd.hp-jlyt":{"source":"iana","extensions":["jlt"]},"application/vnd.hp-pcl":{"source":"iana","extensions":["pcl"]},"application/vnd.hp-pclxl":{"source":"iana","extensions":["pclxl"]},"application/vnd.httphone":{"source":"iana"},"application/vnd.hydrostatix.sof-data":{"source":"iana","extensions":["sfd-hdstx"]},"application/vnd.hyper+json":{"source":"iana","compressible":true},"application/vnd.hyper-item+json":{"source":"iana","compressible":true},"application/vnd.hyperdrive+json":{"source":"iana","compressible":true},"application/vnd.hzn-3d-crossword":{"source":"iana"},"application/vnd.ibm.afplinedata":{"source":"iana"},"application/vnd.ibm.electronic-media":{"source":"iana"},"application/vnd.ibm.minipay":{"source":"iana","extensions":["mpy"]},"application/vnd.ibm.modcap":{"source":"iana","extensions":["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{"source":"iana","extensions":["irm"]},"application/vnd.ibm.secure-container":{"source":"iana","extensions":["sc"]},"application/vnd.iccprofile":{"source":"iana","extensions":["icc","icm"]},"application/vnd.ieee.1905":{"source":"iana"},"application/vnd.igloader":{"source":"iana","extensions":["igl"]},"application/vnd.imagemeter.folder+zip":{"source":"iana","compressible":false},"application/vnd.imagemeter.image+zip":{"source":"iana","compressible":false},"application/vnd.immervision-ivp":{"source":"iana","extensions":["ivp"]},"application/vnd.immervision-ivu":{"source":"iana","extensions":["ivu"]},"application/vnd.ims.imsccv1p1":{"source":"iana"},"application/vnd.ims.imsccv1p2":{"source":"iana"},"application/vnd.ims.imsccv1p3":{"source":"iana"},"application/vnd.ims.lis.v2.result+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy.id+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings.simple+json":{"source":"iana","compressible":true},"application/vnd.informedcontrol.rms+xml":{"source":"iana","compressible":true},"application/vnd.informix-visionary":{"source":"iana"},"application/vnd.infotech.project":{"source":"iana"},"application/vnd.infotech.project+xml":{"source":"iana","compressible":true},"application/vnd.innopath.wamp.notification":{"source":"iana"},"application/vnd.insors.igm":{"source":"iana","extensions":["igm"]},"application/vnd.intercon.formnet":{"source":"iana","extensions":["xpw","xpx"]},"application/vnd.intergeo":{"source":"iana","extensions":["i2g"]},"application/vnd.intertrust.digibox":{"source":"iana"},"application/vnd.intertrust.nncp":{"source":"iana"},"application/vnd.intu.qbo":{"source":"iana","extensions":["qbo"]},"application/vnd.intu.qfx":{"source":"iana","extensions":["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.conceptitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.knowledgeitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsmessage+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.packageitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.planningitem+xml":{"source":"iana","compressible":true},"application/vnd.ipunplugged.rcprofile":{"source":"iana","extensions":["rcprofile"]},"application/vnd.irepository.package+xml":{"source":"iana","compressible":true,"extensions":["irp"]},"application/vnd.is-xpr":{"source":"iana","extensions":["xpr"]},"application/vnd.isac.fcs":{"source":"iana","extensions":["fcs"]},"application/vnd.iso11783-10+zip":{"source":"iana","compressible":false},"application/vnd.jam":{"source":"iana","extensions":["jam"]},"application/vnd.japannet-directory-service":{"source":"iana"},"application/vnd.japannet-jpnstore-wakeup":{"source":"iana"},"application/vnd.japannet-payment-wakeup":{"source":"iana"},"application/vnd.japannet-registration":{"source":"iana"},"application/vnd.japannet-registration-wakeup":{"source":"iana"},"application/vnd.japannet-setstore-wakeup":{"source":"iana"},"application/vnd.japannet-verification":{"source":"iana"},"application/vnd.japannet-verification-wakeup":{"source":"iana"},"application/vnd.jcp.javame.midlet-rms":{"source":"iana","extensions":["rms"]},"application/vnd.jisp":{"source":"iana","extensions":["jisp"]},"application/vnd.joost.joda-archive":{"source":"iana","extensions":["joda"]},"application/vnd.jsk.isdn-ngn":{"source":"iana"},"application/vnd.kahootz":{"source":"iana","extensions":["ktz","ktr"]},"application/vnd.kde.karbon":{"source":"iana","extensions":["karbon"]},"application/vnd.kde.kchart":{"source":"iana","extensions":["chrt"]},"application/vnd.kde.kformula":{"source":"iana","extensions":["kfo"]},"application/vnd.kde.kivio":{"source":"iana","extensions":["flw"]},"application/vnd.kde.kontour":{"source":"iana","extensions":["kon"]},"application/vnd.kde.kpresenter":{"source":"iana","extensions":["kpr","kpt"]},"application/vnd.kde.kspread":{"source":"iana","extensions":["ksp"]},"application/vnd.kde.kword":{"source":"iana","extensions":["kwd","kwt"]},"application/vnd.kenameaapp":{"source":"iana","extensions":["htke"]},"application/vnd.kidspiration":{"source":"iana","extensions":["kia"]},"application/vnd.kinar":{"source":"iana","extensions":["kne","knp"]},"application/vnd.koan":{"source":"iana","extensions":["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{"source":"iana","extensions":["sse"]},"application/vnd.las":{"source":"iana"},"application/vnd.las.las+json":{"source":"iana","compressible":true},"application/vnd.las.las+xml":{"source":"iana","compressible":true,"extensions":["lasxml"]},"application/vnd.laszip":{"source":"iana"},"application/vnd.leap+json":{"source":"iana","compressible":true},"application/vnd.liberty-request+xml":{"source":"iana","compressible":true},"application/vnd.llamagraphics.life-balance.desktop":{"source":"iana","extensions":["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{"source":"iana","compressible":true,"extensions":["lbe"]},"application/vnd.logipipe.circuit+zip":{"source":"iana","compressible":false},"application/vnd.loom":{"source":"iana"},"application/vnd.lotus-1-2-3":{"source":"iana","extensions":["123"]},"application/vnd.lotus-approach":{"source":"iana","extensions":["apr"]},"application/vnd.lotus-freelance":{"source":"iana","extensions":["pre"]},"application/vnd.lotus-notes":{"source":"iana","extensions":["nsf"]},"application/vnd.lotus-organizer":{"source":"iana","extensions":["org"]},"application/vnd.lotus-screencam":{"source":"iana","extensions":["scm"]},"application/vnd.lotus-wordpro":{"source":"iana","extensions":["lwp"]},"application/vnd.macports.portpkg":{"source":"iana","extensions":["portpkg"]},"application/vnd.mapbox-vector-tile":{"source":"iana","extensions":["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.conftoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.license+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.mdcf":{"source":"iana"},"application/vnd.mason+json":{"source":"iana","compressible":true},"application/vnd.maxar.archive.3tz+zip":{"source":"iana","compressible":false},"application/vnd.maxmind.maxmind-db":{"source":"iana"},"application/vnd.mcd":{"source":"iana","extensions":["mcd"]},"application/vnd.medcalcdata":{"source":"iana","extensions":["mc1"]},"application/vnd.mediastation.cdkey":{"source":"iana","extensions":["cdkey"]},"application/vnd.meridian-slingshot":{"source":"iana"},"application/vnd.mfer":{"source":"iana","extensions":["mwf"]},"application/vnd.mfmp":{"source":"iana","extensions":["mfm"]},"application/vnd.micro+json":{"source":"iana","compressible":true},"application/vnd.micrografx.flo":{"source":"iana","extensions":["flo"]},"application/vnd.micrografx.igx":{"source":"iana","extensions":["igx"]},"application/vnd.microsoft.portable-executable":{"source":"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{"source":"iana"},"application/vnd.miele+json":{"source":"iana","compressible":true},"application/vnd.mif":{"source":"iana","extensions":["mif"]},"application/vnd.minisoft-hp3000-save":{"source":"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{"source":"iana"},"application/vnd.mobius.daf":{"source":"iana","extensions":["daf"]},"application/vnd.mobius.dis":{"source":"iana","extensions":["dis"]},"application/vnd.mobius.mbk":{"source":"iana","extensions":["mbk"]},"application/vnd.mobius.mqy":{"source":"iana","extensions":["mqy"]},"application/vnd.mobius.msl":{"source":"iana","extensions":["msl"]},"application/vnd.mobius.plc":{"source":"iana","extensions":["plc"]},"application/vnd.mobius.txf":{"source":"iana","extensions":["txf"]},"application/vnd.mophun.application":{"source":"iana","extensions":["mpn"]},"application/vnd.mophun.certificate":{"source":"iana","extensions":["mpc"]},"application/vnd.motorola.flexsuite":{"source":"iana"},"application/vnd.motorola.flexsuite.adsi":{"source":"iana"},"application/vnd.motorola.flexsuite.fis":{"source":"iana"},"application/vnd.motorola.flexsuite.gotap":{"source":"iana"},"application/vnd.motorola.flexsuite.kmr":{"source":"iana"},"application/vnd.motorola.flexsuite.ttc":{"source":"iana"},"application/vnd.motorola.flexsuite.wem":{"source":"iana"},"application/vnd.motorola.iprm":{"source":"iana"},"application/vnd.mozilla.xul+xml":{"source":"iana","compressible":true,"extensions":["xul"]},"application/vnd.ms-3mfdocument":{"source":"iana"},"application/vnd.ms-artgalry":{"source":"iana","extensions":["cil"]},"application/vnd.ms-asf":{"source":"iana"},"application/vnd.ms-cab-compressed":{"source":"iana","extensions":["cab"]},"application/vnd.ms-color.iccprofile":{"source":"apache"},"application/vnd.ms-excel":{"source":"iana","compressible":false,"extensions":["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{"source":"iana","extensions":["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{"source":"iana","extensions":["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{"source":"iana","extensions":["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{"source":"iana","extensions":["xltm"]},"application/vnd.ms-fontobject":{"source":"iana","compressible":true,"extensions":["eot"]},"application/vnd.ms-htmlhelp":{"source":"iana","extensions":["chm"]},"application/vnd.ms-ims":{"source":"iana","extensions":["ims"]},"application/vnd.ms-lrm":{"source":"iana","extensions":["lrm"]},"application/vnd.ms-office.activex+xml":{"source":"iana","compressible":true},"application/vnd.ms-officetheme":{"source":"iana","extensions":["thmx"]},"application/vnd.ms-opentype":{"source":"apache","compressible":true},"application/vnd.ms-outlook":{"compressible":false,"extensions":["msg"]},"application/vnd.ms-package.obfuscated-opentype":{"source":"apache"},"application/vnd.ms-pki.seccat":{"source":"apache","extensions":["cat"]},"application/vnd.ms-pki.stl":{"source":"apache","extensions":["stl"]},"application/vnd.ms-playready.initiator+xml":{"source":"iana","compressible":true},"application/vnd.ms-powerpoint":{"source":"iana","compressible":false,"extensions":["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{"source":"iana","extensions":["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{"source":"iana","extensions":["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{"source":"iana","extensions":["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{"source":"iana","extensions":["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{"source":"iana","extensions":["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{"source":"iana","compressible":true},"application/vnd.ms-printing.printticket+xml":{"source":"apache","compressible":true},"application/vnd.ms-printschematicket+xml":{"source":"iana","compressible":true},"application/vnd.ms-project":{"source":"iana","extensions":["mpp","mpt"]},"application/vnd.ms-tnef":{"source":"iana"},"application/vnd.ms-windows.devicepairing":{"source":"iana"},"application/vnd.ms-windows.nwprinting.oob":{"source":"iana"},"application/vnd.ms-windows.printerpairing":{"source":"iana"},"application/vnd.ms-windows.wsd.oob":{"source":"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.lic-resp":{"source":"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.meter-resp":{"source":"iana"},"application/vnd.ms-word.document.macroenabled.12":{"source":"iana","extensions":["docm"]},"application/vnd.ms-word.template.macroenabled.12":{"source":"iana","extensions":["dotm"]},"application/vnd.ms-works":{"source":"iana","extensions":["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{"source":"iana","extensions":["wpl"]},"application/vnd.ms-xpsdocument":{"source":"iana","compressible":false,"extensions":["xps"]},"application/vnd.msa-disk-image":{"source":"iana"},"application/vnd.mseq":{"source":"iana","extensions":["mseq"]},"application/vnd.msign":{"source":"iana"},"application/vnd.multiad.creator":{"source":"iana"},"application/vnd.multiad.creator.cif":{"source":"iana"},"application/vnd.music-niff":{"source":"iana"},"application/vnd.musician":{"source":"iana","extensions":["mus"]},"application/vnd.muvee.style":{"source":"iana","extensions":["msty"]},"application/vnd.mynfc":{"source":"iana","extensions":["taglet"]},"application/vnd.nacamar.ybrid+json":{"source":"iana","compressible":true},"application/vnd.ncd.control":{"source":"iana"},"application/vnd.ncd.reference":{"source":"iana"},"application/vnd.nearst.inv+json":{"source":"iana","compressible":true},"application/vnd.nebumind.line":{"source":"iana"},"application/vnd.nervana":{"source":"iana"},"application/vnd.netfpx":{"source":"iana"},"application/vnd.neurolanguage.nlu":{"source":"iana","extensions":["nlu"]},"application/vnd.nimn":{"source":"iana"},"application/vnd.nintendo.nitro.rom":{"source":"iana"},"application/vnd.nintendo.snes.rom":{"source":"iana"},"application/vnd.nitf":{"source":"iana","extensions":["ntf","nitf"]},"application/vnd.noblenet-directory":{"source":"iana","extensions":["nnd"]},"application/vnd.noblenet-sealer":{"source":"iana","extensions":["nns"]},"application/vnd.noblenet-web":{"source":"iana","extensions":["nnw"]},"application/vnd.nokia.catalogs":{"source":"iana"},"application/vnd.nokia.conml+wbxml":{"source":"iana"},"application/vnd.nokia.conml+xml":{"source":"iana","compressible":true},"application/vnd.nokia.iptv.config+xml":{"source":"iana","compressible":true},"application/vnd.nokia.isds-radio-presets":{"source":"iana"},"application/vnd.nokia.landmark+wbxml":{"source":"iana"},"application/vnd.nokia.landmark+xml":{"source":"iana","compressible":true},"application/vnd.nokia.landmarkcollection+xml":{"source":"iana","compressible":true},"application/vnd.nokia.n-gage.ac+xml":{"source":"iana","compressible":true,"extensions":["ac"]},"application/vnd.nokia.n-gage.data":{"source":"iana","extensions":["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{"source":"iana","extensions":["n-gage"]},"application/vnd.nokia.ncd":{"source":"iana"},"application/vnd.nokia.pcd+wbxml":{"source":"iana"},"application/vnd.nokia.pcd+xml":{"source":"iana","compressible":true},"application/vnd.nokia.radio-preset":{"source":"iana","extensions":["rpst"]},"application/vnd.nokia.radio-presets":{"source":"iana","extensions":["rpss"]},"application/vnd.novadigm.edm":{"source":"iana","extensions":["edm"]},"application/vnd.novadigm.edx":{"source":"iana","extensions":["edx"]},"application/vnd.novadigm.ext":{"source":"iana","extensions":["ext"]},"application/vnd.ntt-local.content-share":{"source":"iana"},"application/vnd.ntt-local.file-transfer":{"source":"iana"},"application/vnd.ntt-local.ogw_remote-access":{"source":"iana"},"application/vnd.ntt-local.sip-ta_remote":{"source":"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{"source":"iana"},"application/vnd.oasis.opendocument.chart":{"source":"iana","extensions":["odc"]},"application/vnd.oasis.opendocument.chart-template":{"source":"iana","extensions":["otc"]},"application/vnd.oasis.opendocument.database":{"source":"iana","extensions":["odb"]},"application/vnd.oasis.opendocument.formula":{"source":"iana","extensions":["odf"]},"application/vnd.oasis.opendocument.formula-template":{"source":"iana","extensions":["odft"]},"application/vnd.oasis.opendocument.graphics":{"source":"iana","compressible":false,"extensions":["odg"]},"application/vnd.oasis.opendocument.graphics-template":{"source":"iana","extensions":["otg"]},"application/vnd.oasis.opendocument.image":{"source":"iana","extensions":["odi"]},"application/vnd.oasis.opendocument.image-template":{"source":"iana","extensions":["oti"]},"application/vnd.oasis.opendocument.presentation":{"source":"iana","compressible":false,"extensions":["odp"]},"application/vnd.oasis.opendocument.presentation-template":{"source":"iana","extensions":["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{"source":"iana","compressible":false,"extensions":["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{"source":"iana","extensions":["ots"]},"application/vnd.oasis.opendocument.text":{"source":"iana","compressible":false,"extensions":["odt"]},"application/vnd.oasis.opendocument.text-master":{"source":"iana","extensions":["odm"]},"application/vnd.oasis.opendocument.text-template":{"source":"iana","extensions":["ott"]},"application/vnd.oasis.opendocument.text-web":{"source":"iana","extensions":["oth"]},"application/vnd.obn":{"source":"iana"},"application/vnd.ocf+cbor":{"source":"iana"},"application/vnd.oci.image.manifest.v1+json":{"source":"iana","compressible":true},"application/vnd.oftn.l10n+json":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessdownload+xml":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessstreaming+xml":{"source":"iana","compressible":true},"application/vnd.oipf.cspg-hexbinary":{"source":"iana"},"application/vnd.oipf.dae.svg+xml":{"source":"iana","compressible":true},"application/vnd.oipf.dae.xhtml+xml":{"source":"iana","compressible":true},"application/vnd.oipf.mippvcontrolmessage+xml":{"source":"iana","compressible":true},"application/vnd.oipf.pae.gem":{"source":"iana"},"application/vnd.oipf.spdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.oipf.spdlist+xml":{"source":"iana","compressible":true},"application/vnd.oipf.ueprofile+xml":{"source":"iana","compressible":true},"application/vnd.oipf.userprofile+xml":{"source":"iana","compressible":true},"application/vnd.olpc-sugar":{"source":"iana","extensions":["xo"]},"application/vnd.oma-scws-config":{"source":"iana"},"application/vnd.oma-scws-http-request":{"source":"iana"},"application/vnd.oma-scws-http-response":{"source":"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.drm-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.imd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.ltkm":{"source":"iana"},"application/vnd.oma.bcast.notification+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.provisioningtrigger":{"source":"iana"},"application/vnd.oma.bcast.sgboot":{"source":"iana"},"application/vnd.oma.bcast.sgdd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sgdu":{"source":"iana"},"application/vnd.oma.bcast.simple-symbol-container":{"source":"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sprov+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.stkm":{"source":"iana"},"application/vnd.oma.cab-address-book+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-feature-handler+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-pcc+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-subs-invite+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-user-prefs+xml":{"source":"iana","compressible":true},"application/vnd.oma.dcd":{"source":"iana"},"application/vnd.oma.dcdc":{"source":"iana"},"application/vnd.oma.dd2+xml":{"source":"iana","compressible":true,"extensions":["dd2"]},"application/vnd.oma.drm.risd+xml":{"source":"iana","compressible":true},"application/vnd.oma.group-usage-list+xml":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+cbor":{"source":"iana"},"application/vnd.oma.lwm2m+json":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+tlv":{"source":"iana"},"application/vnd.oma.pal+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.detailed-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.final-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.groups+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.invocation-descriptor+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.optimized-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.push":{"source":"iana"},"application/vnd.oma.scidm.messages+xml":{"source":"iana","compressible":true},"application/vnd.oma.xcap-directory+xml":{"source":"iana","compressible":true},"application/vnd.omads-email+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-file+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-folder+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omaloc-supl-init":{"source":"iana"},"application/vnd.onepager":{"source":"iana"},"application/vnd.onepagertamp":{"source":"iana"},"application/vnd.onepagertamx":{"source":"iana"},"application/vnd.onepagertat":{"source":"iana"},"application/vnd.onepagertatp":{"source":"iana"},"application/vnd.onepagertatx":{"source":"iana"},"application/vnd.openblox.game+xml":{"source":"iana","compressible":true,"extensions":["obgx"]},"application/vnd.openblox.game-binary":{"source":"iana"},"application/vnd.openeye.oeb":{"source":"iana"},"application/vnd.openofficeorg.extension":{"source":"apache","extensions":["oxt"]},"application/vnd.openstreetmap.data+xml":{"source":"iana","compressible":true,"extensions":["osm"]},"application/vnd.opentimestamps.ots":{"source":"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawing+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{"source":"iana","compressible":false,"extensions":["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slide":{"source":"iana","extensions":["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{"source":"iana","extensions":["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.template":{"source":"iana","extensions":["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"source":"iana","compressible":false,"extensions":["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{"source":"iana","extensions":["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.theme+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.vmldrawing":{"source":"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{"source":"iana","compressible":false,"extensions":["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{"source":"iana","extensions":["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.core-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.relationships+xml":{"source":"iana","compressible":true},"application/vnd.oracle.resource+json":{"source":"iana","compressible":true},"application/vnd.orange.indata":{"source":"iana"},"application/vnd.osa.netdeploy":{"source":"iana"},"application/vnd.osgeo.mapguide.package":{"source":"iana","extensions":["mgp"]},"application/vnd.osgi.bundle":{"source":"iana"},"application/vnd.osgi.dp":{"source":"iana","extensions":["dp"]},"application/vnd.osgi.subsystem":{"source":"iana","extensions":["esa"]},"application/vnd.otps.ct-kip+xml":{"source":"iana","compressible":true},"application/vnd.oxli.countgraph":{"source":"iana"},"application/vnd.pagerduty+json":{"source":"iana","compressible":true},"application/vnd.palm":{"source":"iana","extensions":["pdb","pqa","oprc"]},"application/vnd.panoply":{"source":"iana"},"application/vnd.paos.xml":{"source":"iana"},"application/vnd.patentdive":{"source":"iana"},"application/vnd.patientecommsdoc":{"source":"iana"},"application/vnd.pawaafile":{"source":"iana","extensions":["paw"]},"application/vnd.pcos":{"source":"iana"},"application/vnd.pg.format":{"source":"iana","extensions":["str"]},"application/vnd.pg.osasli":{"source":"iana","extensions":["ei6"]},"application/vnd.piaccess.application-licence":{"source":"iana"},"application/vnd.picsel":{"source":"iana","extensions":["efif"]},"application/vnd.pmi.widget":{"source":"iana","extensions":["wg"]},"application/vnd.poc.group-advertisement+xml":{"source":"iana","compressible":true},"application/vnd.pocketlearn":{"source":"iana","extensions":["plf"]},"application/vnd.powerbuilder6":{"source":"iana","extensions":["pbd"]},"application/vnd.powerbuilder6-s":{"source":"iana"},"application/vnd.powerbuilder7":{"source":"iana"},"application/vnd.powerbuilder7-s":{"source":"iana"},"application/vnd.powerbuilder75":{"source":"iana"},"application/vnd.powerbuilder75-s":{"source":"iana"},"application/vnd.preminet":{"source":"iana"},"application/vnd.previewsystems.box":{"source":"iana","extensions":["box"]},"application/vnd.proteus.magazine":{"source":"iana","extensions":["mgz"]},"application/vnd.psfs":{"source":"iana"},"application/vnd.publishare-delta-tree":{"source":"iana","extensions":["qps"]},"application/vnd.pvi.ptid1":{"source":"iana","extensions":["ptid"]},"application/vnd.pwg-multiplexed":{"source":"iana"},"application/vnd.pwg-xhtml-print+xml":{"source":"iana","compressible":true},"application/vnd.qualcomm.brew-app-res":{"source":"iana"},"application/vnd.quarantainenet":{"source":"iana"},"application/vnd.quark.quarkxpress":{"source":"iana","extensions":["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{"source":"iana"},"application/vnd.radisys.moml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conn+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-stream+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-base+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-detect+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-group+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-speech+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-transform+xml":{"source":"iana","compressible":true},"application/vnd.rainstor.data":{"source":"iana"},"application/vnd.rapid":{"source":"iana"},"application/vnd.rar":{"source":"iana","extensions":["rar"]},"application/vnd.realvnc.bed":{"source":"iana","extensions":["bed"]},"application/vnd.recordare.musicxml":{"source":"iana","extensions":["mxl"]},"application/vnd.recordare.musicxml+xml":{"source":"iana","compressible":true,"extensions":["musicxml"]},"application/vnd.renlearn.rlprint":{"source":"iana"},"application/vnd.resilient.logic":{"source":"iana"},"application/vnd.restful+json":{"source":"iana","compressible":true},"application/vnd.rig.cryptonote":{"source":"iana","extensions":["cryptonote"]},"application/vnd.rim.cod":{"source":"apache","extensions":["cod"]},"application/vnd.rn-realmedia":{"source":"apache","extensions":["rm"]},"application/vnd.rn-realmedia-vbr":{"source":"apache","extensions":["rmvb"]},"application/vnd.route66.link66+xml":{"source":"iana","compressible":true,"extensions":["link66"]},"application/vnd.rs-274x":{"source":"iana"},"application/vnd.ruckus.download":{"source":"iana"},"application/vnd.s3sms":{"source":"iana"},"application/vnd.sailingtracker.track":{"source":"iana","extensions":["st"]},"application/vnd.sar":{"source":"iana"},"application/vnd.sbm.cid":{"source":"iana"},"application/vnd.sbm.mid2":{"source":"iana"},"application/vnd.scribus":{"source":"iana"},"application/vnd.sealed.3df":{"source":"iana"},"application/vnd.sealed.csf":{"source":"iana"},"application/vnd.sealed.doc":{"source":"iana"},"application/vnd.sealed.eml":{"source":"iana"},"application/vnd.sealed.mht":{"source":"iana"},"application/vnd.sealed.net":{"source":"iana"},"application/vnd.sealed.ppt":{"source":"iana"},"application/vnd.sealed.tiff":{"source":"iana"},"application/vnd.sealed.xls":{"source":"iana"},"application/vnd.sealedmedia.softseal.html":{"source":"iana"},"application/vnd.sealedmedia.softseal.pdf":{"source":"iana"},"application/vnd.seemail":{"source":"iana","extensions":["see"]},"application/vnd.seis+json":{"source":"iana","compressible":true},"application/vnd.sema":{"source":"iana","extensions":["sema"]},"application/vnd.semd":{"source":"iana","extensions":["semd"]},"application/vnd.semf":{"source":"iana","extensions":["semf"]},"application/vnd.shade-save-file":{"source":"iana"},"application/vnd.shana.informed.formdata":{"source":"iana","extensions":["ifm"]},"application/vnd.shana.informed.formtemplate":{"source":"iana","extensions":["itp"]},"application/vnd.shana.informed.interchange":{"source":"iana","extensions":["iif"]},"application/vnd.shana.informed.package":{"source":"iana","extensions":["ipk"]},"application/vnd.shootproof+json":{"source":"iana","compressible":true},"application/vnd.shopkick+json":{"source":"iana","compressible":true},"application/vnd.shp":{"source":"iana"},"application/vnd.shx":{"source":"iana"},"application/vnd.sigrok.session":{"source":"iana"},"application/vnd.simtech-mindmapper":{"source":"iana","extensions":["twd","twds"]},"application/vnd.siren+json":{"source":"iana","compressible":true},"application/vnd.smaf":{"source":"iana","extensions":["mmf"]},"application/vnd.smart.notebook":{"source":"iana"},"application/vnd.smart.teacher":{"source":"iana","extensions":["teacher"]},"application/vnd.snesdev-page-table":{"source":"iana"},"application/vnd.software602.filler.form+xml":{"source":"iana","compressible":true,"extensions":["fo"]},"application/vnd.software602.filler.form-xml-zip":{"source":"iana"},"application/vnd.solent.sdkm+xml":{"source":"iana","compressible":true,"extensions":["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{"source":"iana","extensions":["dxp"]},"application/vnd.spotfire.sfs":{"source":"iana","extensions":["sfs"]},"application/vnd.sqlite3":{"source":"iana"},"application/vnd.sss-cod":{"source":"iana"},"application/vnd.sss-dtf":{"source":"iana"},"application/vnd.sss-ntf":{"source":"iana"},"application/vnd.stardivision.calc":{"source":"apache","extensions":["sdc"]},"application/vnd.stardivision.draw":{"source":"apache","extensions":["sda"]},"application/vnd.stardivision.impress":{"source":"apache","extensions":["sdd"]},"application/vnd.stardivision.math":{"source":"apache","extensions":["smf"]},"application/vnd.stardivision.writer":{"source":"apache","extensions":["sdw","vor"]},"application/vnd.stardivision.writer-global":{"source":"apache","extensions":["sgl"]},"application/vnd.stepmania.package":{"source":"iana","extensions":["smzip"]},"application/vnd.stepmania.stepchart":{"source":"iana","extensions":["sm"]},"application/vnd.street-stream":{"source":"iana"},"application/vnd.sun.wadl+xml":{"source":"iana","compressible":true,"extensions":["wadl"]},"application/vnd.sun.xml.calc":{"source":"apache","extensions":["sxc"]},"application/vnd.sun.xml.calc.template":{"source":"apache","extensions":["stc"]},"application/vnd.sun.xml.draw":{"source":"apache","extensions":["sxd"]},"application/vnd.sun.xml.draw.template":{"source":"apache","extensions":["std"]},"application/vnd.sun.xml.impress":{"source":"apache","extensions":["sxi"]},"application/vnd.sun.xml.impress.template":{"source":"apache","extensions":["sti"]},"application/vnd.sun.xml.math":{"source":"apache","extensions":["sxm"]},"application/vnd.sun.xml.writer":{"source":"apache","extensions":["sxw"]},"application/vnd.sun.xml.writer.global":{"source":"apache","extensions":["sxg"]},"application/vnd.sun.xml.writer.template":{"source":"apache","extensions":["stw"]},"application/vnd.sus-calendar":{"source":"iana","extensions":["sus","susp"]},"application/vnd.svd":{"source":"iana","extensions":["svd"]},"application/vnd.swiftview-ics":{"source":"iana"},"application/vnd.sycle+xml":{"source":"iana","compressible":true},"application/vnd.syft+json":{"source":"iana","compressible":true},"application/vnd.symbian.install":{"source":"apache","extensions":["sis","sisx"]},"application/vnd.syncml+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xsm"]},"application/vnd.syncml.dm+wbxml":{"source":"iana","charset":"UTF-8","extensions":["bdm"]},"application/vnd.syncml.dm+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xdm"]},"application/vnd.syncml.dm.notification":{"source":"iana"},"application/vnd.syncml.dmddf+wbxml":{"source":"iana"},"application/vnd.syncml.dmddf+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{"source":"iana"},"application/vnd.syncml.dmtnds+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.syncml.ds.notification":{"source":"iana"},"application/vnd.tableschema+json":{"source":"iana","compressible":true},"application/vnd.tao.intent-module-archive":{"source":"iana","extensions":["tao"]},"application/vnd.tcpdump.pcap":{"source":"iana","extensions":["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{"source":"iana","compressible":true},"application/vnd.tmd.mediaflex.api+xml":{"source":"iana","compressible":true},"application/vnd.tml":{"source":"iana"},"application/vnd.tmobile-livetv":{"source":"iana","extensions":["tmo"]},"application/vnd.tri.onesource":{"source":"iana"},"application/vnd.trid.tpt":{"source":"iana","extensions":["tpt"]},"application/vnd.triscape.mxs":{"source":"iana","extensions":["mxs"]},"application/vnd.trueapp":{"source":"iana","extensions":["tra"]},"application/vnd.truedoc":{"source":"iana"},"application/vnd.ubisoft.webplayer":{"source":"iana"},"application/vnd.ufdl":{"source":"iana","extensions":["ufd","ufdl"]},"application/vnd.uiq.theme":{"source":"iana","extensions":["utz"]},"application/vnd.umajin":{"source":"iana","extensions":["umj"]},"application/vnd.unity":{"source":"iana","extensions":["unityweb"]},"application/vnd.uoml+xml":{"source":"iana","compressible":true,"extensions":["uoml"]},"application/vnd.uplanet.alert":{"source":"iana"},"application/vnd.uplanet.alert-wbxml":{"source":"iana"},"application/vnd.uplanet.bearer-choice":{"source":"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{"source":"iana"},"application/vnd.uplanet.cacheop":{"source":"iana"},"application/vnd.uplanet.cacheop-wbxml":{"source":"iana"},"application/vnd.uplanet.channel":{"source":"iana"},"application/vnd.uplanet.channel-wbxml":{"source":"iana"},"application/vnd.uplanet.list":{"source":"iana"},"application/vnd.uplanet.list-wbxml":{"source":"iana"},"application/vnd.uplanet.listcmd":{"source":"iana"},"application/vnd.uplanet.listcmd-wbxml":{"source":"iana"},"application/vnd.uplanet.signal":{"source":"iana"},"application/vnd.uri-map":{"source":"iana"},"application/vnd.valve.source.material":{"source":"iana"},"application/vnd.vcx":{"source":"iana","extensions":["vcx"]},"application/vnd.vd-study":{"source":"iana"},"application/vnd.vectorworks":{"source":"iana"},"application/vnd.vel+json":{"source":"iana","compressible":true},"application/vnd.verimatrix.vcas":{"source":"iana"},"application/vnd.veritone.aion+json":{"source":"iana","compressible":true},"application/vnd.veryant.thin":{"source":"iana"},"application/vnd.ves.encrypted":{"source":"iana"},"application/vnd.vidsoft.vidconference":{"source":"iana"},"application/vnd.visio":{"source":"iana","extensions":["vsd","vst","vss","vsw"]},"application/vnd.visionary":{"source":"iana","extensions":["vis"]},"application/vnd.vividence.scriptfile":{"source":"iana"},"application/vnd.vsf":{"source":"iana","extensions":["vsf"]},"application/vnd.wap.sic":{"source":"iana"},"application/vnd.wap.slc":{"source":"iana"},"application/vnd.wap.wbxml":{"source":"iana","charset":"UTF-8","extensions":["wbxml"]},"application/vnd.wap.wmlc":{"source":"iana","extensions":["wmlc"]},"application/vnd.wap.wmlscriptc":{"source":"iana","extensions":["wmlsc"]},"application/vnd.webturbo":{"source":"iana","extensions":["wtb"]},"application/vnd.wfa.dpp":{"source":"iana"},"application/vnd.wfa.p2p":{"source":"iana"},"application/vnd.wfa.wsc":{"source":"iana"},"application/vnd.windows.devicepairing":{"source":"iana"},"application/vnd.wmc":{"source":"iana"},"application/vnd.wmf.bootstrap":{"source":"iana"},"application/vnd.wolfram.mathematica":{"source":"iana"},"application/vnd.wolfram.mathematica.package":{"source":"iana"},"application/vnd.wolfram.player":{"source":"iana","extensions":["nbp"]},"application/vnd.wordperfect":{"source":"iana","extensions":["wpd"]},"application/vnd.wqd":{"source":"iana","extensions":["wqd"]},"application/vnd.wrq-hp3000-labelled":{"source":"iana"},"application/vnd.wt.stf":{"source":"iana","extensions":["stf"]},"application/vnd.wv.csp+wbxml":{"source":"iana"},"application/vnd.wv.csp+xml":{"source":"iana","compressible":true},"application/vnd.wv.ssp+xml":{"source":"iana","compressible":true},"application/vnd.xacml+json":{"source":"iana","compressible":true},"application/vnd.xara":{"source":"iana","extensions":["xar"]},"application/vnd.xfdl":{"source":"iana","extensions":["xfdl"]},"application/vnd.xfdl.webform":{"source":"iana"},"application/vnd.xmi+xml":{"source":"iana","compressible":true},"application/vnd.xmpie.cpkg":{"source":"iana"},"application/vnd.xmpie.dpkg":{"source":"iana"},"application/vnd.xmpie.plan":{"source":"iana"},"application/vnd.xmpie.ppkg":{"source":"iana"},"application/vnd.xmpie.xlim":{"source":"iana"},"application/vnd.yamaha.hv-dic":{"source":"iana","extensions":["hvd"]},"application/vnd.yamaha.hv-script":{"source":"iana","extensions":["hvs"]},"application/vnd.yamaha.hv-voice":{"source":"iana","extensions":["hvp"]},"application/vnd.yamaha.openscoreformat":{"source":"iana","extensions":["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{"source":"iana","compressible":true,"extensions":["osfpvg"]},"application/vnd.yamaha.remote-setup":{"source":"iana"},"application/vnd.yamaha.smaf-audio":{"source":"iana","extensions":["saf"]},"application/vnd.yamaha.smaf-phrase":{"source":"iana","extensions":["spf"]},"application/vnd.yamaha.through-ngn":{"source":"iana"},"application/vnd.yamaha.tunnel-udpencap":{"source":"iana"},"application/vnd.yaoweme":{"source":"iana"},"application/vnd.yellowriver-custom-menu":{"source":"iana","extensions":["cmp"]},"application/vnd.youtube.yt":{"source":"iana"},"application/vnd.zul":{"source":"iana","extensions":["zir","zirz"]},"application/vnd.zzazz.deck+xml":{"source":"iana","compressible":true,"extensions":["zaz"]},"application/voicexml+xml":{"source":"iana","compressible":true,"extensions":["vxml"]},"application/voucher-cms+json":{"source":"iana","compressible":true},"application/vq-rtcpxr":{"source":"iana"},"application/wasm":{"source":"iana","compressible":true,"extensions":["wasm"]},"application/watcherinfo+xml":{"source":"iana","compressible":true,"extensions":["wif"]},"application/webpush-options+json":{"source":"iana","compressible":true},"application/whoispp-query":{"source":"iana"},"application/whoispp-response":{"source":"iana"},"application/widget":{"source":"iana","extensions":["wgt"]},"application/winhlp":{"source":"apache","extensions":["hlp"]},"application/wita":{"source":"iana"},"application/wordperfect5.1":{"source":"iana"},"application/wsdl+xml":{"source":"iana","compressible":true,"extensions":["wsdl"]},"application/wspolicy+xml":{"source":"iana","compressible":true,"extensions":["wspolicy"]},"application/x-7z-compressed":{"source":"apache","compressible":false,"extensions":["7z"]},"application/x-abiword":{"source":"apache","extensions":["abw"]},"application/x-ace-compressed":{"source":"apache","extensions":["ace"]},"application/x-amf":{"source":"apache"},"application/x-apple-diskimage":{"source":"apache","extensions":["dmg"]},"application/x-arj":{"compressible":false,"extensions":["arj"]},"application/x-authorware-bin":{"source":"apache","extensions":["aab","x32","u32","vox"]},"application/x-authorware-map":{"source":"apache","extensions":["aam"]},"application/x-authorware-seg":{"source":"apache","extensions":["aas"]},"application/x-bcpio":{"source":"apache","extensions":["bcpio"]},"application/x-bdoc":{"compressible":false,"extensions":["bdoc"]},"application/x-bittorrent":{"source":"apache","extensions":["torrent"]},"application/x-blorb":{"source":"apache","extensions":["blb","blorb"]},"application/x-bzip":{"source":"apache","compressible":false,"extensions":["bz"]},"application/x-bzip2":{"source":"apache","compressible":false,"extensions":["bz2","boz"]},"application/x-cbr":{"source":"apache","extensions":["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{"source":"apache","extensions":["vcd"]},"application/x-cfs-compressed":{"source":"apache","extensions":["cfs"]},"application/x-chat":{"source":"apache","extensions":["chat"]},"application/x-chess-pgn":{"source":"apache","extensions":["pgn"]},"application/x-chrome-extension":{"extensions":["crx"]},"application/x-cocoa":{"source":"nginx","extensions":["cco"]},"application/x-compress":{"source":"apache"},"application/x-conference":{"source":"apache","extensions":["nsc"]},"application/x-cpio":{"source":"apache","extensions":["cpio"]},"application/x-csh":{"source":"apache","extensions":["csh"]},"application/x-deb":{"compressible":false},"application/x-debian-package":{"source":"apache","extensions":["deb","udeb"]},"application/x-dgc-compressed":{"source":"apache","extensions":["dgc"]},"application/x-director":{"source":"apache","extensions":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{"source":"apache","extensions":["wad"]},"application/x-dtbncx+xml":{"source":"apache","compressible":true,"extensions":["ncx"]},"application/x-dtbook+xml":{"source":"apache","compressible":true,"extensions":["dtb"]},"application/x-dtbresource+xml":{"source":"apache","compressible":true,"extensions":["res"]},"application/x-dvi":{"source":"apache","compressible":false,"extensions":["dvi"]},"application/x-envoy":{"source":"apache","extensions":["evy"]},"application/x-eva":{"source":"apache","extensions":["eva"]},"application/x-font-bdf":{"source":"apache","extensions":["bdf"]},"application/x-font-dos":{"source":"apache"},"application/x-font-framemaker":{"source":"apache"},"application/x-font-ghostscript":{"source":"apache","extensions":["gsf"]},"application/x-font-libgrx":{"source":"apache"},"application/x-font-linux-psf":{"source":"apache","extensions":["psf"]},"application/x-font-pcf":{"source":"apache","extensions":["pcf"]},"application/x-font-snf":{"source":"apache","extensions":["snf"]},"application/x-font-speedo":{"source":"apache"},"application/x-font-sunos-news":{"source":"apache"},"application/x-font-type1":{"source":"apache","extensions":["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{"source":"apache"},"application/x-freearc":{"source":"apache","extensions":["arc"]},"application/x-futuresplash":{"source":"apache","extensions":["spl"]},"application/x-gca-compressed":{"source":"apache","extensions":["gca"]},"application/x-glulx":{"source":"apache","extensions":["ulx"]},"application/x-gnumeric":{"source":"apache","extensions":["gnumeric"]},"application/x-gramps-xml":{"source":"apache","extensions":["gramps"]},"application/x-gtar":{"source":"apache","extensions":["gtar"]},"application/x-gzip":{"source":"apache"},"application/x-hdf":{"source":"apache","extensions":["hdf"]},"application/x-httpd-php":{"compressible":true,"extensions":["php"]},"application/x-install-instructions":{"source":"apache","extensions":["install"]},"application/x-iso9660-image":{"source":"apache","extensions":["iso"]},"application/x-iwork-keynote-sffkey":{"extensions":["key"]},"application/x-iwork-numbers-sffnumbers":{"extensions":["numbers"]},"application/x-iwork-pages-sffpages":{"extensions":["pages"]},"application/x-java-archive-diff":{"source":"nginx","extensions":["jardiff"]},"application/x-java-jnlp-file":{"source":"apache","compressible":false,"extensions":["jnlp"]},"application/x-javascript":{"compressible":true},"application/x-keepass2":{"extensions":["kdbx"]},"application/x-latex":{"source":"apache","compressible":false,"extensions":["latex"]},"application/x-lua-bytecode":{"extensions":["luac"]},"application/x-lzh-compressed":{"source":"apache","extensions":["lzh","lha"]},"application/x-makeself":{"source":"nginx","extensions":["run"]},"application/x-mie":{"source":"apache","extensions":["mie"]},"application/x-mobipocket-ebook":{"source":"apache","extensions":["prc","mobi"]},"application/x-mpegurl":{"compressible":false},"application/x-ms-application":{"source":"apache","extensions":["application"]},"application/x-ms-shortcut":{"source":"apache","extensions":["lnk"]},"application/x-ms-wmd":{"source":"apache","extensions":["wmd"]},"application/x-ms-wmz":{"source":"apache","extensions":["wmz"]},"application/x-ms-xbap":{"source":"apache","extensions":["xbap"]},"application/x-msaccess":{"source":"apache","extensions":["mdb"]},"application/x-msbinder":{"source":"apache","extensions":["obd"]},"application/x-mscardfile":{"source":"apache","extensions":["crd"]},"application/x-msclip":{"source":"apache","extensions":["clp"]},"application/x-msdos-program":{"extensions":["exe"]},"application/x-msdownload":{"source":"apache","extensions":["exe","dll","com","bat","msi"]},"application/x-msmediaview":{"source":"apache","extensions":["mvb","m13","m14"]},"application/x-msmetafile":{"source":"apache","extensions":["wmf","wmz","emf","emz"]},"application/x-msmoney":{"source":"apache","extensions":["mny"]},"application/x-mspublisher":{"source":"apache","extensions":["pub"]},"application/x-msschedule":{"source":"apache","extensions":["scd"]},"application/x-msterminal":{"source":"apache","extensions":["trm"]},"application/x-mswrite":{"source":"apache","extensions":["wri"]},"application/x-netcdf":{"source":"apache","extensions":["nc","cdf"]},"application/x-ns-proxy-autoconfig":{"compressible":true,"extensions":["pac"]},"application/x-nzb":{"source":"apache","extensions":["nzb"]},"application/x-perl":{"source":"nginx","extensions":["pl","pm"]},"application/x-pilot":{"source":"nginx","extensions":["prc","pdb"]},"application/x-pkcs12":{"source":"apache","compressible":false,"extensions":["p12","pfx"]},"application/x-pkcs7-certificates":{"source":"apache","extensions":["p7b","spc"]},"application/x-pkcs7-certreqresp":{"source":"apache","extensions":["p7r"]},"application/x-pki-message":{"source":"iana"},"application/x-rar-compressed":{"source":"apache","compressible":false,"extensions":["rar"]},"application/x-redhat-package-manager":{"source":"nginx","extensions":["rpm"]},"application/x-research-info-systems":{"source":"apache","extensions":["ris"]},"application/x-sea":{"source":"nginx","extensions":["sea"]},"application/x-sh":{"source":"apache","compressible":true,"extensions":["sh"]},"application/x-shar":{"source":"apache","extensions":["shar"]},"application/x-shockwave-flash":{"source":"apache","compressible":false,"extensions":["swf"]},"application/x-silverlight-app":{"source":"apache","extensions":["xap"]},"application/x-sql":{"source":"apache","extensions":["sql"]},"application/x-stuffit":{"source":"apache","compressible":false,"extensions":["sit"]},"application/x-stuffitx":{"source":"apache","extensions":["sitx"]},"application/x-subrip":{"source":"apache","extensions":["srt"]},"application/x-sv4cpio":{"source":"apache","extensions":["sv4cpio"]},"application/x-sv4crc":{"source":"apache","extensions":["sv4crc"]},"application/x-t3vm-image":{"source":"apache","extensions":["t3"]},"application/x-tads":{"source":"apache","extensions":["gam"]},"application/x-tar":{"source":"apache","compressible":true,"extensions":["tar"]},"application/x-tcl":{"source":"apache","extensions":["tcl","tk"]},"application/x-tex":{"source":"apache","extensions":["tex"]},"application/x-tex-tfm":{"source":"apache","extensions":["tfm"]},"application/x-texinfo":{"source":"apache","extensions":["texinfo","texi"]},"application/x-tgif":{"source":"apache","extensions":["obj"]},"application/x-ustar":{"source":"apache","extensions":["ustar"]},"application/x-virtualbox-hdd":{"compressible":true,"extensions":["hdd"]},"application/x-virtualbox-ova":{"compressible":true,"extensions":["ova"]},"application/x-virtualbox-ovf":{"compressible":true,"extensions":["ovf"]},"application/x-virtualbox-vbox":{"compressible":true,"extensions":["vbox"]},"application/x-virtualbox-vbox-extpack":{"compressible":false,"extensions":["vbox-extpack"]},"application/x-virtualbox-vdi":{"compressible":true,"extensions":["vdi"]},"application/x-virtualbox-vhd":{"compressible":true,"extensions":["vhd"]},"application/x-virtualbox-vmdk":{"compressible":true,"extensions":["vmdk"]},"application/x-wais-source":{"source":"apache","extensions":["src"]},"application/x-web-app-manifest+json":{"compressible":true,"extensions":["webapp"]},"application/x-www-form-urlencoded":{"source":"iana","compressible":true},"application/x-x509-ca-cert":{"source":"iana","extensions":["der","crt","pem"]},"application/x-x509-ca-ra-cert":{"source":"iana"},"application/x-x509-next-ca-cert":{"source":"iana"},"application/x-xfig":{"source":"apache","extensions":["fig"]},"application/x-xliff+xml":{"source":"apache","compressible":true,"extensions":["xlf"]},"application/x-xpinstall":{"source":"apache","compressible":false,"extensions":["xpi"]},"application/x-xz":{"source":"apache","extensions":["xz"]},"application/x-zmachine":{"source":"apache","extensions":["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{"source":"iana"},"application/xacml+xml":{"source":"iana","compressible":true},"application/xaml+xml":{"source":"apache","compressible":true,"extensions":["xaml"]},"application/xcap-att+xml":{"source":"iana","compressible":true,"extensions":["xav"]},"application/xcap-caps+xml":{"source":"iana","compressible":true,"extensions":["xca"]},"application/xcap-diff+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/xcap-el+xml":{"source":"iana","compressible":true,"extensions":["xel"]},"application/xcap-error+xml":{"source":"iana","compressible":true},"application/xcap-ns+xml":{"source":"iana","compressible":true,"extensions":["xns"]},"application/xcon-conference-info+xml":{"source":"iana","compressible":true},"application/xcon-conference-info-diff+xml":{"source":"iana","compressible":true},"application/xenc+xml":{"source":"iana","compressible":true,"extensions":["xenc"]},"application/xhtml+xml":{"source":"iana","compressible":true,"extensions":["xhtml","xht"]},"application/xhtml-voice+xml":{"source":"apache","compressible":true},"application/xliff+xml":{"source":"iana","compressible":true,"extensions":["xlf"]},"application/xml":{"source":"iana","compressible":true,"extensions":["xml","xsl","xsd","rng"]},"application/xml-dtd":{"source":"iana","compressible":true,"extensions":["dtd"]},"application/xml-external-parsed-entity":{"source":"iana"},"application/xml-patch+xml":{"source":"iana","compressible":true},"application/xmpp+xml":{"source":"iana","compressible":true},"application/xop+xml":{"source":"iana","compressible":true,"extensions":["xop"]},"application/xproc+xml":{"source":"apache","compressible":true,"extensions":["xpl"]},"application/xslt+xml":{"source":"iana","compressible":true,"extensions":["xsl","xslt"]},"application/xspf+xml":{"source":"apache","compressible":true,"extensions":["xspf"]},"application/xv+xml":{"source":"iana","compressible":true,"extensions":["mxml","xhvml","xvml","xvm"]},"application/yang":{"source":"iana","extensions":["yang"]},"application/yang-data+json":{"source":"iana","compressible":true},"application/yang-data+xml":{"source":"iana","compressible":true},"application/yang-patch+json":{"source":"iana","compressible":true},"application/yang-patch+xml":{"source":"iana","compressible":true},"application/yin+xml":{"source":"iana","compressible":true,"extensions":["yin"]},"application/zip":{"source":"iana","compressible":false,"extensions":["zip"]},"application/zlib":{"source":"iana"},"application/zstd":{"source":"iana"},"audio/1d-interleaved-parityfec":{"source":"iana"},"audio/32kadpcm":{"source":"iana"},"audio/3gpp":{"source":"iana","compressible":false,"extensions":["3gpp"]},"audio/3gpp2":{"source":"iana"},"audio/aac":{"source":"iana"},"audio/ac3":{"source":"iana"},"audio/adpcm":{"source":"apache","extensions":["adp"]},"audio/amr":{"source":"iana","extensions":["amr"]},"audio/amr-wb":{"source":"iana"},"audio/amr-wb+":{"source":"iana"},"audio/aptx":{"source":"iana"},"audio/asc":{"source":"iana"},"audio/atrac-advanced-lossless":{"source":"iana"},"audio/atrac-x":{"source":"iana"},"audio/atrac3":{"source":"iana"},"audio/basic":{"source":"iana","compressible":false,"extensions":["au","snd"]},"audio/bv16":{"source":"iana"},"audio/bv32":{"source":"iana"},"audio/clearmode":{"source":"iana"},"audio/cn":{"source":"iana"},"audio/dat12":{"source":"iana"},"audio/dls":{"source":"iana"},"audio/dsr-es201108":{"source":"iana"},"audio/dsr-es202050":{"source":"iana"},"audio/dsr-es202211":{"source":"iana"},"audio/dsr-es202212":{"source":"iana"},"audio/dv":{"source":"iana"},"audio/dvi4":{"source":"iana"},"audio/eac3":{"source":"iana"},"audio/encaprtp":{"source":"iana"},"audio/evrc":{"source":"iana"},"audio/evrc-qcp":{"source":"iana"},"audio/evrc0":{"source":"iana"},"audio/evrc1":{"source":"iana"},"audio/evrcb":{"source":"iana"},"audio/evrcb0":{"source":"iana"},"audio/evrcb1":{"source":"iana"},"audio/evrcnw":{"source":"iana"},"audio/evrcnw0":{"source":"iana"},"audio/evrcnw1":{"source":"iana"},"audio/evrcwb":{"source":"iana"},"audio/evrcwb0":{"source":"iana"},"audio/evrcwb1":{"source":"iana"},"audio/evs":{"source":"iana"},"audio/flexfec":{"source":"iana"},"audio/fwdred":{"source":"iana"},"audio/g711-0":{"source":"iana"},"audio/g719":{"source":"iana"},"audio/g722":{"source":"iana"},"audio/g7221":{"source":"iana"},"audio/g723":{"source":"iana"},"audio/g726-16":{"source":"iana"},"audio/g726-24":{"source":"iana"},"audio/g726-32":{"source":"iana"},"audio/g726-40":{"source":"iana"},"audio/g728":{"source":"iana"},"audio/g729":{"source":"iana"},"audio/g7291":{"source":"iana"},"audio/g729d":{"source":"iana"},"audio/g729e":{"source":"iana"},"audio/gsm":{"source":"iana"},"audio/gsm-efr":{"source":"iana"},"audio/gsm-hr-08":{"source":"iana"},"audio/ilbc":{"source":"iana"},"audio/ip-mr_v2.5":{"source":"iana"},"audio/isac":{"source":"apache"},"audio/l16":{"source":"iana"},"audio/l20":{"source":"iana"},"audio/l24":{"source":"iana","compressible":false},"audio/l8":{"source":"iana"},"audio/lpc":{"source":"iana"},"audio/melp":{"source":"iana"},"audio/melp1200":{"source":"iana"},"audio/melp2400":{"source":"iana"},"audio/melp600":{"source":"iana"},"audio/mhas":{"source":"iana"},"audio/midi":{"source":"apache","extensions":["mid","midi","kar","rmi"]},"audio/mobile-xmf":{"source":"iana","extensions":["mxmf"]},"audio/mp3":{"compressible":false,"extensions":["mp3"]},"audio/mp4":{"source":"iana","compressible":false,"extensions":["m4a","mp4a"]},"audio/mp4a-latm":{"source":"iana"},"audio/mpa":{"source":"iana"},"audio/mpa-robust":{"source":"iana"},"audio/mpeg":{"source":"iana","compressible":false,"extensions":["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{"source":"iana"},"audio/musepack":{"source":"apache"},"audio/ogg":{"source":"iana","compressible":false,"extensions":["oga","ogg","spx","opus"]},"audio/opus":{"source":"iana"},"audio/parityfec":{"source":"iana"},"audio/pcma":{"source":"iana"},"audio/pcma-wb":{"source":"iana"},"audio/pcmu":{"source":"iana"},"audio/pcmu-wb":{"source":"iana"},"audio/prs.sid":{"source":"iana"},"audio/qcelp":{"source":"iana"},"audio/raptorfec":{"source":"iana"},"audio/red":{"source":"iana"},"audio/rtp-enc-aescm128":{"source":"iana"},"audio/rtp-midi":{"source":"iana"},"audio/rtploopback":{"source":"iana"},"audio/rtx":{"source":"iana"},"audio/s3m":{"source":"apache","extensions":["s3m"]},"audio/scip":{"source":"iana"},"audio/silk":{"source":"apache","extensions":["sil"]},"audio/smv":{"source":"iana"},"audio/smv-qcp":{"source":"iana"},"audio/smv0":{"source":"iana"},"audio/sofa":{"source":"iana"},"audio/sp-midi":{"source":"iana"},"audio/speex":{"source":"iana"},"audio/t140c":{"source":"iana"},"audio/t38":{"source":"iana"},"audio/telephone-event":{"source":"iana"},"audio/tetra_acelp":{"source":"iana"},"audio/tetra_acelp_bb":{"source":"iana"},"audio/tone":{"source":"iana"},"audio/tsvcis":{"source":"iana"},"audio/uemclip":{"source":"iana"},"audio/ulpfec":{"source":"iana"},"audio/usac":{"source":"iana"},"audio/vdvi":{"source":"iana"},"audio/vmr-wb":{"source":"iana"},"audio/vnd.3gpp.iufp":{"source":"iana"},"audio/vnd.4sb":{"source":"iana"},"audio/vnd.audiokoz":{"source":"iana"},"audio/vnd.celp":{"source":"iana"},"audio/vnd.cisco.nse":{"source":"iana"},"audio/vnd.cmles.radio-events":{"source":"iana"},"audio/vnd.cns.anp1":{"source":"iana"},"audio/vnd.cns.inf1":{"source":"iana"},"audio/vnd.dece.audio":{"source":"iana","extensions":["uva","uvva"]},"audio/vnd.digital-winds":{"source":"iana","extensions":["eol"]},"audio/vnd.dlna.adts":{"source":"iana"},"audio/vnd.dolby.heaac.1":{"source":"iana"},"audio/vnd.dolby.heaac.2":{"source":"iana"},"audio/vnd.dolby.mlp":{"source":"iana"},"audio/vnd.dolby.mps":{"source":"iana"},"audio/vnd.dolby.pl2":{"source":"iana"},"audio/vnd.dolby.pl2x":{"source":"iana"},"audio/vnd.dolby.pl2z":{"source":"iana"},"audio/vnd.dolby.pulse.1":{"source":"iana"},"audio/vnd.dra":{"source":"iana","extensions":["dra"]},"audio/vnd.dts":{"source":"iana","extensions":["dts"]},"audio/vnd.dts.hd":{"source":"iana","extensions":["dtshd"]},"audio/vnd.dts.uhd":{"source":"iana"},"audio/vnd.dvb.file":{"source":"iana"},"audio/vnd.everad.plj":{"source":"iana"},"audio/vnd.hns.audio":{"source":"iana"},"audio/vnd.lucent.voice":{"source":"iana","extensions":["lvp"]},"audio/vnd.ms-playready.media.pya":{"source":"iana","extensions":["pya"]},"audio/vnd.nokia.mobile-xmf":{"source":"iana"},"audio/vnd.nortel.vbk":{"source":"iana"},"audio/vnd.nuera.ecelp4800":{"source":"iana","extensions":["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{"source":"iana","extensions":["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{"source":"iana","extensions":["ecelp9600"]},"audio/vnd.octel.sbc":{"source":"iana"},"audio/vnd.presonus.multitrack":{"source":"iana"},"audio/vnd.qcelp":{"source":"iana"},"audio/vnd.rhetorex.32kadpcm":{"source":"iana"},"audio/vnd.rip":{"source":"iana","extensions":["rip"]},"audio/vnd.rn-realaudio":{"compressible":false},"audio/vnd.sealedmedia.softseal.mpeg":{"source":"iana"},"audio/vnd.vmx.cvsd":{"source":"iana"},"audio/vnd.wave":{"compressible":false},"audio/vorbis":{"source":"iana","compressible":false},"audio/vorbis-config":{"source":"iana"},"audio/wav":{"compressible":false,"extensions":["wav"]},"audio/wave":{"compressible":false,"extensions":["wav"]},"audio/webm":{"source":"apache","compressible":false,"extensions":["weba"]},"audio/x-aac":{"source":"apache","compressible":false,"extensions":["aac"]},"audio/x-aiff":{"source":"apache","extensions":["aif","aiff","aifc"]},"audio/x-caf":{"source":"apache","compressible":false,"extensions":["caf"]},"audio/x-flac":{"source":"apache","extensions":["flac"]},"audio/x-m4a":{"source":"nginx","extensions":["m4a"]},"audio/x-matroska":{"source":"apache","extensions":["mka"]},"audio/x-mpegurl":{"source":"apache","extensions":["m3u"]},"audio/x-ms-wax":{"source":"apache","extensions":["wax"]},"audio/x-ms-wma":{"source":"apache","extensions":["wma"]},"audio/x-pn-realaudio":{"source":"apache","extensions":["ram","ra"]},"audio/x-pn-realaudio-plugin":{"source":"apache","extensions":["rmp"]},"audio/x-realaudio":{"source":"nginx","extensions":["ra"]},"audio/x-tta":{"source":"apache"},"audio/x-wav":{"source":"apache","extensions":["wav"]},"audio/xm":{"source":"apache","extensions":["xm"]},"chemical/x-cdx":{"source":"apache","extensions":["cdx"]},"chemical/x-cif":{"source":"apache","extensions":["cif"]},"chemical/x-cmdf":{"source":"apache","extensions":["cmdf"]},"chemical/x-cml":{"source":"apache","extensions":["cml"]},"chemical/x-csml":{"source":"apache","extensions":["csml"]},"chemical/x-pdb":{"source":"apache"},"chemical/x-xyz":{"source":"apache","extensions":["xyz"]},"font/collection":{"source":"iana","extensions":["ttc"]},"font/otf":{"source":"iana","compressible":true,"extensions":["otf"]},"font/sfnt":{"source":"iana"},"font/ttf":{"source":"iana","compressible":true,"extensions":["ttf"]},"font/woff":{"source":"iana","extensions":["woff"]},"font/woff2":{"source":"iana","extensions":["woff2"]},"image/aces":{"source":"iana","extensions":["exr"]},"image/apng":{"compressible":false,"extensions":["apng"]},"image/avci":{"source":"iana","extensions":["avci"]},"image/avcs":{"source":"iana","extensions":["avcs"]},"image/avif":{"source":"iana","compressible":false,"extensions":["avif"]},"image/bmp":{"source":"iana","compressible":true,"extensions":["bmp"]},"image/cgm":{"source":"iana","extensions":["cgm"]},"image/dicom-rle":{"source":"iana","extensions":["drle"]},"image/emf":{"source":"iana","extensions":["emf"]},"image/fits":{"source":"iana","extensions":["fits"]},"image/g3fax":{"source":"iana","extensions":["g3"]},"image/gif":{"source":"iana","compressible":false,"extensions":["gif"]},"image/heic":{"source":"iana","extensions":["heic"]},"image/heic-sequence":{"source":"iana","extensions":["heics"]},"image/heif":{"source":"iana","extensions":["heif"]},"image/heif-sequence":{"source":"iana","extensions":["heifs"]},"image/hej2k":{"source":"iana","extensions":["hej2"]},"image/hsj2":{"source":"iana","extensions":["hsj2"]},"image/ief":{"source":"iana","extensions":["ief"]},"image/jls":{"source":"iana","extensions":["jls"]},"image/jp2":{"source":"iana","compressible":false,"extensions":["jp2","jpg2"]},"image/jpeg":{"source":"iana","compressible":false,"extensions":["jpeg","jpg","jpe"]},"image/jph":{"source":"iana","extensions":["jph"]},"image/jphc":{"source":"iana","extensions":["jhc"]},"image/jpm":{"source":"iana","compressible":false,"extensions":["jpm"]},"image/jpx":{"source":"iana","compressible":false,"extensions":["jpx","jpf"]},"image/jxr":{"source":"iana","extensions":["jxr"]},"image/jxra":{"source":"iana","extensions":["jxra"]},"image/jxrs":{"source":"iana","extensions":["jxrs"]},"image/jxs":{"source":"iana","extensions":["jxs"]},"image/jxsc":{"source":"iana","extensions":["jxsc"]},"image/jxsi":{"source":"iana","extensions":["jxsi"]},"image/jxss":{"source":"iana","extensions":["jxss"]},"image/ktx":{"source":"iana","extensions":["ktx"]},"image/ktx2":{"source":"iana","extensions":["ktx2"]},"image/naplps":{"source":"iana"},"image/pjpeg":{"compressible":false},"image/png":{"source":"iana","compressible":false,"extensions":["png"]},"image/prs.btif":{"source":"iana","extensions":["btif"]},"image/prs.pti":{"source":"iana","extensions":["pti"]},"image/pwg-raster":{"source":"iana"},"image/sgi":{"source":"apache","extensions":["sgi"]},"image/svg+xml":{"source":"iana","compressible":true,"extensions":["svg","svgz"]},"image/t38":{"source":"iana","extensions":["t38"]},"image/tiff":{"source":"iana","compressible":false,"extensions":["tif","tiff"]},"image/tiff-fx":{"source":"iana","extensions":["tfx"]},"image/vnd.adobe.photoshop":{"source":"iana","compressible":true,"extensions":["psd"]},"image/vnd.airzip.accelerator.azv":{"source":"iana","extensions":["azv"]},"image/vnd.cns.inf2":{"source":"iana"},"image/vnd.dece.graphic":{"source":"iana","extensions":["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{"source":"iana","extensions":["djvu","djv"]},"image/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"image/vnd.dwg":{"source":"iana","extensions":["dwg"]},"image/vnd.dxf":{"source":"iana","extensions":["dxf"]},"image/vnd.fastbidsheet":{"source":"iana","extensions":["fbs"]},"image/vnd.fpx":{"source":"iana","extensions":["fpx"]},"image/vnd.fst":{"source":"iana","extensions":["fst"]},"image/vnd.fujixerox.edmics-mmr":{"source":"iana","extensions":["mmr"]},"image/vnd.fujixerox.edmics-rlc":{"source":"iana","extensions":["rlc"]},"image/vnd.globalgraphics.pgb":{"source":"iana"},"image/vnd.microsoft.icon":{"source":"iana","compressible":true,"extensions":["ico"]},"image/vnd.mix":{"source":"iana"},"image/vnd.mozilla.apng":{"source":"iana"},"image/vnd.ms-dds":{"compressible":true,"extensions":["dds"]},"image/vnd.ms-modi":{"source":"iana","extensions":["mdi"]},"image/vnd.ms-photo":{"source":"apache","extensions":["wdp"]},"image/vnd.net-fpx":{"source":"iana","extensions":["npx"]},"image/vnd.pco.b16":{"source":"iana","extensions":["b16"]},"image/vnd.radiance":{"source":"iana"},"image/vnd.sealed.png":{"source":"iana"},"image/vnd.sealedmedia.softseal.gif":{"source":"iana"},"image/vnd.sealedmedia.softseal.jpg":{"source":"iana"},"image/vnd.svf":{"source":"iana"},"image/vnd.tencent.tap":{"source":"iana","extensions":["tap"]},"image/vnd.valve.source.texture":{"source":"iana","extensions":["vtf"]},"image/vnd.wap.wbmp":{"source":"iana","extensions":["wbmp"]},"image/vnd.xiff":{"source":"iana","extensions":["xif"]},"image/vnd.zbrush.pcx":{"source":"iana","extensions":["pcx"]},"image/webp":{"source":"apache","extensions":["webp"]},"image/wmf":{"source":"iana","extensions":["wmf"]},"image/x-3ds":{"source":"apache","extensions":["3ds"]},"image/x-cmu-raster":{"source":"apache","extensions":["ras"]},"image/x-cmx":{"source":"apache","extensions":["cmx"]},"image/x-freehand":{"source":"apache","extensions":["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{"source":"apache","compressible":true,"extensions":["ico"]},"image/x-jng":{"source":"nginx","extensions":["jng"]},"image/x-mrsid-image":{"source":"apache","extensions":["sid"]},"image/x-ms-bmp":{"source":"nginx","compressible":true,"extensions":["bmp"]},"image/x-pcx":{"source":"apache","extensions":["pcx"]},"image/x-pict":{"source":"apache","extensions":["pic","pct"]},"image/x-portable-anymap":{"source":"apache","extensions":["pnm"]},"image/x-portable-bitmap":{"source":"apache","extensions":["pbm"]},"image/x-portable-graymap":{"source":"apache","extensions":["pgm"]},"image/x-portable-pixmap":{"source":"apache","extensions":["ppm"]},"image/x-rgb":{"source":"apache","extensions":["rgb"]},"image/x-tga":{"source":"apache","extensions":["tga"]},"image/x-xbitmap":{"source":"apache","extensions":["xbm"]},"image/x-xcf":{"compressible":false},"image/x-xpixmap":{"source":"apache","extensions":["xpm"]},"image/x-xwindowdump":{"source":"apache","extensions":["xwd"]},"message/cpim":{"source":"iana"},"message/delivery-status":{"source":"iana"},"message/disposition-notification":{"source":"iana","extensions":["disposition-notification"]},"message/external-body":{"source":"iana"},"message/feedback-report":{"source":"iana"},"message/global":{"source":"iana","extensions":["u8msg"]},"message/global-delivery-status":{"source":"iana","extensions":["u8dsn"]},"message/global-disposition-notification":{"source":"iana","extensions":["u8mdn"]},"message/global-headers":{"source":"iana","extensions":["u8hdr"]},"message/http":{"source":"iana","compressible":false},"message/imdn+xml":{"source":"iana","compressible":true},"message/news":{"source":"iana"},"message/partial":{"source":"iana","compressible":false},"message/rfc822":{"source":"iana","compressible":true,"extensions":["eml","mime"]},"message/s-http":{"source":"iana"},"message/sip":{"source":"iana"},"message/sipfrag":{"source":"iana"},"message/tracking-status":{"source":"iana"},"message/vnd.si.simp":{"source":"iana"},"message/vnd.wfa.wsc":{"source":"iana","extensions":["wsc"]},"model/3mf":{"source":"iana","extensions":["3mf"]},"model/e57":{"source":"iana"},"model/gltf+json":{"source":"iana","compressible":true,"extensions":["gltf"]},"model/gltf-binary":{"source":"iana","compressible":true,"extensions":["glb"]},"model/iges":{"source":"iana","compressible":false,"extensions":["igs","iges"]},"model/mesh":{"source":"iana","compressible":false,"extensions":["msh","mesh","silo"]},"model/mtl":{"source":"iana","extensions":["mtl"]},"model/obj":{"source":"iana","extensions":["obj"]},"model/step":{"source":"iana"},"model/step+xml":{"source":"iana","compressible":true,"extensions":["stpx"]},"model/step+zip":{"source":"iana","compressible":false,"extensions":["stpz"]},"model/step-xml+zip":{"source":"iana","compressible":false,"extensions":["stpxz"]},"model/stl":{"source":"iana","extensions":["stl"]},"model/vnd.collada+xml":{"source":"iana","compressible":true,"extensions":["dae"]},"model/vnd.dwf":{"source":"iana","extensions":["dwf"]},"model/vnd.flatland.3dml":{"source":"iana"},"model/vnd.gdl":{"source":"iana","extensions":["gdl"]},"model/vnd.gs-gdl":{"source":"apache"},"model/vnd.gs.gdl":{"source":"iana"},"model/vnd.gtw":{"source":"iana","extensions":["gtw"]},"model/vnd.moml+xml":{"source":"iana","compressible":true},"model/vnd.mts":{"source":"iana","extensions":["mts"]},"model/vnd.opengex":{"source":"iana","extensions":["ogex"]},"model/vnd.parasolid.transmit.binary":{"source":"iana","extensions":["x_b"]},"model/vnd.parasolid.transmit.text":{"source":"iana","extensions":["x_t"]},"model/vnd.pytha.pyox":{"source":"iana"},"model/vnd.rosette.annotated-data-model":{"source":"iana"},"model/vnd.sap.vds":{"source":"iana","extensions":["vds"]},"model/vnd.usdz+zip":{"source":"iana","compressible":false,"extensions":["usdz"]},"model/vnd.valve.source.compiled-map":{"source":"iana","extensions":["bsp"]},"model/vnd.vtu":{"source":"iana","extensions":["vtu"]},"model/vrml":{"source":"iana","compressible":false,"extensions":["wrl","vrml"]},"model/x3d+binary":{"source":"apache","compressible":false,"extensions":["x3db","x3dbz"]},"model/x3d+fastinfoset":{"source":"iana","extensions":["x3db"]},"model/x3d+vrml":{"source":"apache","compressible":false,"extensions":["x3dv","x3dvz"]},"model/x3d+xml":{"source":"iana","compressible":true,"extensions":["x3d","x3dz"]},"model/x3d-vrml":{"source":"iana","extensions":["x3dv"]},"multipart/alternative":{"source":"iana","compressible":false},"multipart/appledouble":{"source":"iana"},"multipart/byteranges":{"source":"iana"},"multipart/digest":{"source":"iana"},"multipart/encrypted":{"source":"iana","compressible":false},"multipart/form-data":{"source":"iana","compressible":false},"multipart/header-set":{"source":"iana"},"multipart/mixed":{"source":"iana"},"multipart/multilingual":{"source":"iana"},"multipart/parallel":{"source":"iana"},"multipart/related":{"source":"iana","compressible":false},"multipart/report":{"source":"iana"},"multipart/signed":{"source":"iana","compressible":false},"multipart/vnd.bint.med-plus":{"source":"iana"},"multipart/voice-message":{"source":"iana"},"multipart/x-mixed-replace":{"source":"iana"},"text/1d-interleaved-parityfec":{"source":"iana"},"text/cache-manifest":{"source":"iana","compressible":true,"extensions":["appcache","manifest"]},"text/calendar":{"source":"iana","extensions":["ics","ifb"]},"text/calender":{"compressible":true},"text/cmd":{"compressible":true},"text/coffeescript":{"extensions":["coffee","litcoffee"]},"text/cql":{"source":"iana"},"text/cql-expression":{"source":"iana"},"text/cql-identifier":{"source":"iana"},"text/css":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["css"]},"text/csv":{"source":"iana","compressible":true,"extensions":["csv"]},"text/csv-schema":{"source":"iana"},"text/directory":{"source":"iana"},"text/dns":{"source":"iana"},"text/ecmascript":{"source":"iana"},"text/encaprtp":{"source":"iana"},"text/enriched":{"source":"iana"},"text/fhirpath":{"source":"iana"},"text/flexfec":{"source":"iana"},"text/fwdred":{"source":"iana"},"text/gff3":{"source":"iana"},"text/grammar-ref-list":{"source":"iana"},"text/html":{"source":"iana","compressible":true,"extensions":["html","htm","shtml"]},"text/jade":{"extensions":["jade"]},"text/javascript":{"source":"iana","compressible":true},"text/jcr-cnd":{"source":"iana"},"text/jsx":{"compressible":true,"extensions":["jsx"]},"text/less":{"compressible":true,"extensions":["less"]},"text/markdown":{"source":"iana","compressible":true,"extensions":["markdown","md"]},"text/mathml":{"source":"nginx","extensions":["mml"]},"text/mdx":{"compressible":true,"extensions":["mdx"]},"text/mizar":{"source":"iana"},"text/n3":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["n3"]},"text/parameters":{"source":"iana","charset":"UTF-8"},"text/parityfec":{"source":"iana"},"text/plain":{"source":"iana","compressible":true,"extensions":["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{"source":"iana","charset":"UTF-8"},"text/prs.fallenstein.rst":{"source":"iana"},"text/prs.lines.tag":{"source":"iana","extensions":["dsc"]},"text/prs.prop.logic":{"source":"iana"},"text/raptorfec":{"source":"iana"},"text/red":{"source":"iana"},"text/rfc822-headers":{"source":"iana"},"text/richtext":{"source":"iana","compressible":true,"extensions":["rtx"]},"text/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"text/rtp-enc-aescm128":{"source":"iana"},"text/rtploopback":{"source":"iana"},"text/rtx":{"source":"iana"},"text/sgml":{"source":"iana","extensions":["sgml","sgm"]},"text/shaclc":{"source":"iana"},"text/shex":{"source":"iana","extensions":["shex"]},"text/slim":{"extensions":["slim","slm"]},"text/spdx":{"source":"iana","extensions":["spdx"]},"text/strings":{"source":"iana"},"text/stylus":{"extensions":["stylus","styl"]},"text/t140":{"source":"iana"},"text/tab-separated-values":{"source":"iana","compressible":true,"extensions":["tsv"]},"text/troff":{"source":"iana","extensions":["t","tr","roff","man","me","ms"]},"text/turtle":{"source":"iana","charset":"UTF-8","extensions":["ttl"]},"text/ulpfec":{"source":"iana"},"text/uri-list":{"source":"iana","compressible":true,"extensions":["uri","uris","urls"]},"text/vcard":{"source":"iana","compressible":true,"extensions":["vcard"]},"text/vnd.a":{"source":"iana"},"text/vnd.abc":{"source":"iana"},"text/vnd.ascii-art":{"source":"iana"},"text/vnd.curl":{"source":"iana","extensions":["curl"]},"text/vnd.curl.dcurl":{"source":"apache","extensions":["dcurl"]},"text/vnd.curl.mcurl":{"source":"apache","extensions":["mcurl"]},"text/vnd.curl.scurl":{"source":"apache","extensions":["scurl"]},"text/vnd.debian.copyright":{"source":"iana","charset":"UTF-8"},"text/vnd.dmclientscript":{"source":"iana"},"text/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"text/vnd.esmertec.theme-descriptor":{"source":"iana","charset":"UTF-8"},"text/vnd.familysearch.gedcom":{"source":"iana","extensions":["ged"]},"text/vnd.ficlab.flt":{"source":"iana"},"text/vnd.fly":{"source":"iana","extensions":["fly"]},"text/vnd.fmi.flexstor":{"source":"iana","extensions":["flx"]},"text/vnd.gml":{"source":"iana"},"text/vnd.graphviz":{"source":"iana","extensions":["gv"]},"text/vnd.hans":{"source":"iana"},"text/vnd.hgl":{"source":"iana"},"text/vnd.in3d.3dml":{"source":"iana","extensions":["3dml"]},"text/vnd.in3d.spot":{"source":"iana","extensions":["spot"]},"text/vnd.iptc.newsml":{"source":"iana"},"text/vnd.iptc.nitf":{"source":"iana"},"text/vnd.latex-z":{"source":"iana"},"text/vnd.motorola.reflex":{"source":"iana"},"text/vnd.ms-mediapackage":{"source":"iana"},"text/vnd.net2phone.commcenter.command":{"source":"iana"},"text/vnd.radisys.msml-basic-layout":{"source":"iana"},"text/vnd.senx.warpscript":{"source":"iana"},"text/vnd.si.uricatalogue":{"source":"iana"},"text/vnd.sosi":{"source":"iana"},"text/vnd.sun.j2me.app-descriptor":{"source":"iana","charset":"UTF-8","extensions":["jad"]},"text/vnd.trolltech.linguist":{"source":"iana","charset":"UTF-8"},"text/vnd.wap.si":{"source":"iana"},"text/vnd.wap.sl":{"source":"iana"},"text/vnd.wap.wml":{"source":"iana","extensions":["wml"]},"text/vnd.wap.wmlscript":{"source":"iana","extensions":["wmls"]},"text/vtt":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["vtt"]},"text/x-asm":{"source":"apache","extensions":["s","asm"]},"text/x-c":{"source":"apache","extensions":["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{"source":"nginx","extensions":["htc"]},"text/x-fortran":{"source":"apache","extensions":["f","for","f77","f90"]},"text/x-gwt-rpc":{"compressible":true},"text/x-handlebars-template":{"extensions":["hbs"]},"text/x-java-source":{"source":"apache","extensions":["java"]},"text/x-jquery-tmpl":{"compressible":true},"text/x-lua":{"extensions":["lua"]},"text/x-markdown":{"compressible":true,"extensions":["mkd"]},"text/x-nfo":{"source":"apache","extensions":["nfo"]},"text/x-opml":{"source":"apache","extensions":["opml"]},"text/x-org":{"compressible":true,"extensions":["org"]},"text/x-pascal":{"source":"apache","extensions":["p","pas"]},"text/x-processing":{"compressible":true,"extensions":["pde"]},"text/x-sass":{"extensions":["sass"]},"text/x-scss":{"extensions":["scss"]},"text/x-setext":{"source":"apache","extensions":["etx"]},"text/x-sfv":{"source":"apache","extensions":["sfv"]},"text/x-suse-ymp":{"compressible":true,"extensions":["ymp"]},"text/x-uuencode":{"source":"apache","extensions":["uu"]},"text/x-vcalendar":{"source":"apache","extensions":["vcs"]},"text/x-vcard":{"source":"apache","extensions":["vcf"]},"text/xml":{"source":"iana","compressible":true,"extensions":["xml"]},"text/xml-external-parsed-entity":{"source":"iana"},"text/yaml":{"compressible":true,"extensions":["yaml","yml"]},"video/1d-interleaved-parityfec":{"source":"iana"},"video/3gpp":{"source":"iana","extensions":["3gp","3gpp"]},"video/3gpp-tt":{"source":"iana"},"video/3gpp2":{"source":"iana","extensions":["3g2"]},"video/av1":{"source":"iana"},"video/bmpeg":{"source":"iana"},"video/bt656":{"source":"iana"},"video/celb":{"source":"iana"},"video/dv":{"source":"iana"},"video/encaprtp":{"source":"iana"},"video/ffv1":{"source":"iana"},"video/flexfec":{"source":"iana"},"video/h261":{"source":"iana","extensions":["h261"]},"video/h263":{"source":"iana","extensions":["h263"]},"video/h263-1998":{"source":"iana"},"video/h263-2000":{"source":"iana"},"video/h264":{"source":"iana","extensions":["h264"]},"video/h264-rcdo":{"source":"iana"},"video/h264-svc":{"source":"iana"},"video/h265":{"source":"iana"},"video/iso.segment":{"source":"iana","extensions":["m4s"]},"video/jpeg":{"source":"iana","extensions":["jpgv"]},"video/jpeg2000":{"source":"iana"},"video/jpm":{"source":"apache","extensions":["jpm","jpgm"]},"video/jxsv":{"source":"iana"},"video/mj2":{"source":"iana","extensions":["mj2","mjp2"]},"video/mp1s":{"source":"iana"},"video/mp2p":{"source":"iana"},"video/mp2t":{"source":"iana","extensions":["ts"]},"video/mp4":{"source":"iana","compressible":false,"extensions":["mp4","mp4v","mpg4"]},"video/mp4v-es":{"source":"iana"},"video/mpeg":{"source":"iana","compressible":false,"extensions":["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{"source":"iana"},"video/mpv":{"source":"iana"},"video/nv":{"source":"iana"},"video/ogg":{"source":"iana","compressible":false,"extensions":["ogv"]},"video/parityfec":{"source":"iana"},"video/pointer":{"source":"iana"},"video/quicktime":{"source":"iana","compressible":false,"extensions":["qt","mov"]},"video/raptorfec":{"source":"iana"},"video/raw":{"source":"iana"},"video/rtp-enc-aescm128":{"source":"iana"},"video/rtploopback":{"source":"iana"},"video/rtx":{"source":"iana"},"video/scip":{"source":"iana"},"video/smpte291":{"source":"iana"},"video/smpte292m":{"source":"iana"},"video/ulpfec":{"source":"iana"},"video/vc1":{"source":"iana"},"video/vc2":{"source":"iana"},"video/vnd.cctv":{"source":"iana"},"video/vnd.dece.hd":{"source":"iana","extensions":["uvh","uvvh"]},"video/vnd.dece.mobile":{"source":"iana","extensions":["uvm","uvvm"]},"video/vnd.dece.mp4":{"source":"iana"},"video/vnd.dece.pd":{"source":"iana","extensions":["uvp","uvvp"]},"video/vnd.dece.sd":{"source":"iana","extensions":["uvs","uvvs"]},"video/vnd.dece.video":{"source":"iana","extensions":["uvv","uvvv"]},"video/vnd.directv.mpeg":{"source":"iana"},"video/vnd.directv.mpeg-tts":{"source":"iana"},"video/vnd.dlna.mpeg-tts":{"source":"iana"},"video/vnd.dvb.file":{"source":"iana","extensions":["dvb"]},"video/vnd.fvt":{"source":"iana","extensions":["fvt"]},"video/vnd.hns.video":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.ttsavc":{"source":"iana"},"video/vnd.iptvforum.ttsmpeg2":{"source":"iana"},"video/vnd.motorola.video":{"source":"iana"},"video/vnd.motorola.videop":{"source":"iana"},"video/vnd.mpegurl":{"source":"iana","extensions":["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{"source":"iana","extensions":["pyv"]},"video/vnd.nokia.interleaved-multimedia":{"source":"iana"},"video/vnd.nokia.mp4vr":{"source":"iana"},"video/vnd.nokia.videovoip":{"source":"iana"},"video/vnd.objectvideo":{"source":"iana"},"video/vnd.radgamettools.bink":{"source":"iana"},"video/vnd.radgamettools.smacker":{"source":"iana"},"video/vnd.sealed.mpeg1":{"source":"iana"},"video/vnd.sealed.mpeg4":{"source":"iana"},"video/vnd.sealed.swf":{"source":"iana"},"video/vnd.sealedmedia.softseal.mov":{"source":"iana"},"video/vnd.uvvu.mp4":{"source":"iana","extensions":["uvu","uvvu"]},"video/vnd.vivo":{"source":"iana","extensions":["viv"]},"video/vnd.youtube.yt":{"source":"iana"},"video/vp8":{"source":"iana"},"video/vp9":{"source":"iana"},"video/webm":{"source":"apache","compressible":false,"extensions":["webm"]},"video/x-f4v":{"source":"apache","extensions":["f4v"]},"video/x-fli":{"source":"apache","extensions":["fli"]},"video/x-flv":{"source":"apache","compressible":false,"extensions":["flv"]},"video/x-m4v":{"source":"apache","extensions":["m4v"]},"video/x-matroska":{"source":"apache","compressible":false,"extensions":["mkv","mk3d","mks"]},"video/x-mng":{"source":"apache","extensions":["mng"]},"video/x-ms-asf":{"source":"apache","extensions":["asf","asx"]},"video/x-ms-vob":{"source":"apache","extensions":["vob"]},"video/x-ms-wm":{"source":"apache","extensions":["wm"]},"video/x-ms-wmv":{"source":"apache","compressible":false,"extensions":["wmv"]},"video/x-ms-wmx":{"source":"apache","extensions":["wmx"]},"video/x-ms-wvx":{"source":"apache","extensions":["wvx"]},"video/x-msvideo":{"source":"apache","extensions":["avi"]},"video/x-sgi-movie":{"source":"apache","extensions":["movie"]},"video/x-smv":{"source":"apache","extensions":["smv"]},"x-conference/x-cooltalk":{"source":"apache","extensions":["ice"]},"x-shader/x-fragment":{"compressible":true},"x-shader/x-vertex":{"compressible":true}}')},47707:re=>{"use strict";re.exports=JSON.parse('{"https://www.w3.org/ns/credentials/v2":{"@context":{"@protected":true,"@vocab":"https://www.w3.org/ns/credentials/issuer-dependent#","id":"@id","type":"@type","VerifiableCredential":{"@id":"https://www.w3.org/2018/credentials#VerifiableCredential","@context":{"@protected":true,"id":"@id","type":"@type","credentialSchema":{"@id":"https://www.w3.org/2018/credentials#credentialSchema","@type":"@id"},"credentialStatus":{"@id":"https://www.w3.org/2018/credentials#credentialStatus","@type":"@id"},"credentialSubject":{"@id":"https://www.w3.org/2018/credentials#credentialSubject","@type":"@id"},"description":{"@id":"https://schema.org/description"},"evidence":{"@id":"https://www.w3.org/2018/credentials#evidence","@type":"@id"},"validFrom":{"@id":"https://www.w3.org/2018/credentials#validFrom","@type":"http://www.w3.org/2001/XMLSchema#dateTime"},"validUntil":{"@id":"https://www.w3.org/2018/credentials#validUntil","@type":"http://www.w3.org/2001/XMLSchema#dateTime"},"issuer":{"@id":"https://www.w3.org/2018/credentials#issuer","@type":"@id"},"name":{"@id":"https://schema.org/name"},"proof":{"@id":"https://w3id.org/security#proof","@type":"@id","@container":"@graph"},"refreshService":{"@id":"https://www.w3.org/2018/credentials#refreshService","@type":"@id"},"termsOfUse":{"@id":"https://www.w3.org/2018/credentials#termsOfUse","@type":"@id"}}},"VerifiablePresentation":{"@id":"https://www.w3.org/2018/credentials#VerifiablePresentation","@context":{"@protected":true,"id":"@id","type":"@type","holder":{"@id":"https://www.w3.org/2018/credentials#holder","@type":"@id"},"proof":{"@id":"https://w3id.org/security#proof","@type":"@id","@container":"@graph"},"verifiableCredential":{"@id":"https://www.w3.org/2018/credentials#verifiableCredential","@type":"@id","@container":"@graph"},"termsOfUse":{"@id":"https://www.w3.org/2018/credentials#termsOfUse","@type":"@id"}}},"JsonSchema2023":{"@id":"https://w3.org/2018/credentials#JsonSchema2023","@context":{"@protected":true,"id":"@id","type":"@type"}},"VerifiableCredentialSchema2023":{"@id":"https://w3.org/2018/credentials#VerifiableCredentialSchema2023","@context":{"@protected":true,"id":"@id","type":"@type"}},"StatusList2021Credential":{"@id":"https://w3id.org/vc/status-list#StatusList2021Credential","@context":{"@protected":true,"id":"@id","type":"@type","description":"https://schema.org/description","name":"https://schema.org/name"}},"StatusList2021":{"@id":"https://w3id.org/vc/status-list#StatusList2021","@context":{"@protected":true,"id":"@id","type":"@type","statusPurpose":"https://w3id.org/vc/status-list#statusPurpose","encodedList":"https://w3id.org/vc/status-list#encodedList"}},"StatusList2021Entry":{"@id":"https://w3id.org/vc/status-list#StatusList2021Entry","@context":{"@protected":true,"id":"@id","type":"@type","statusPurpose":"https://w3id.org/vc/status-list#statusPurpose","statusListIndex":"https://w3id.org/vc/status-list#statusListIndex","statusListCredential":{"@id":"https://w3id.org/vc/status-list#statusListCredential","@type":"@id"}}},"DataIntegrityProof":{"@id":"https://w3id.org/security#DataIntegrityProof","@context":{"@protected":true,"id":"@id","type":"@type","challenge":"https://w3id.org/security#challenge","created":{"@id":"http://purl.org/dc/terms/created","@type":"http://www.w3.org/2001/XMLSchema#dateTime"},"domain":"https://w3id.org/security#domain","expires":{"@id":"https://w3id.org/security#expiration","@type":"http://www.w3.org/2001/XMLSchema#dateTime"},"nonce":"https://w3id.org/security#nonce","proofPurpose":{"@id":"https://w3id.org/security#proofPurpose","@type":"@vocab","@context":{"@protected":true,"id":"@id","type":"@type","assertionMethod":{"@id":"https://w3id.org/security#assertionMethod","@type":"@id","@container":"@set"},"authentication":{"@id":"https://w3id.org/security#authenticationMethod","@type":"@id","@container":"@set"},"capabilityInvocation":{"@id":"https://w3id.org/security#capabilityInvocationMethod","@type":"@id","@container":"@set"},"capabilityDelegation":{"@id":"https://w3id.org/security#capabilityDelegationMethod","@type":"@id","@container":"@set"},"keyAgreement":{"@id":"https://w3id.org/security#keyAgreementMethod","@type":"@id","@container":"@set"}}},"cryptosuite":"https://w3id.org/security#cryptosuite","proofValue":{"@id":"https://w3id.org/security#proofValue","@type":"https://w3id.org/security#multibase"},"verificationMethod":{"@id":"https://w3id.org/security#verificationMethod","@type":"@id"}}}}},"https://www.w3.org/2018/credentials/v1":{"@context":{"@version":1.1,"@protected":true,"id":"@id","type":"@type","VerifiableCredential":{"@id":"https://www.w3.org/2018/credentials#VerifiableCredential","@context":{"@version":1.1,"@protected":true,"id":"@id","type":"@type","cred":"https://www.w3.org/2018/credentials#","sec":"https://w3id.org/security#","xsd":"http://www.w3.org/2001/XMLSchema#","credentialSchema":{"@id":"cred:credentialSchema","@type":"@id","@context":{"@version":1.1,"@protected":true,"id":"@id","type":"@type","cred":"https://www.w3.org/2018/credentials#","JsonSchemaValidator2018":"cred:JsonSchemaValidator2018"}},"credentialStatus":{"@id":"cred:credentialStatus","@type":"@id"},"credentialSubject":{"@id":"cred:credentialSubject","@type":"@id"},"evidence":{"@id":"cred:evidence","@type":"@id"},"expirationDate":{"@id":"cred:expirationDate","@type":"xsd:dateTime"},"holder":{"@id":"cred:holder","@type":"@id"},"issued":{"@id":"cred:issued","@type":"xsd:dateTime"},"issuer":{"@id":"cred:issuer","@type":"@id"},"issuanceDate":{"@id":"cred:issuanceDate","@type":"xsd:dateTime"},"proof":{"@id":"sec:proof","@type":"@id","@container":"@graph"},"refreshService":{"@id":"cred:refreshService","@type":"@id","@context":{"@version":1.1,"@protected":true,"id":"@id","type":"@type","cred":"https://www.w3.org/2018/credentials#","ManualRefreshService2018":"cred:ManualRefreshService2018"}},"termsOfUse":{"@id":"cred:termsOfUse","@type":"@id"},"validFrom":{"@id":"cred:validFrom","@type":"xsd:dateTime"},"validUntil":{"@id":"cred:validUntil","@type":"xsd:dateTime"}}},"VerifiablePresentation":{"@id":"https://www.w3.org/2018/credentials#VerifiablePresentation","@context":{"@version":1.1,"@protected":true,"id":"@id","type":"@type","cred":"https://www.w3.org/2018/credentials#","sec":"https://w3id.org/security#","holder":{"@id":"cred:holder","@type":"@id"},"proof":{"@id":"sec:proof","@type":"@id","@container":"@graph"},"verifiableCredential":{"@id":"cred:verifiableCredential","@type":"@id","@container":"@graph"}}},"EcdsaSecp256k1Signature2019":{"@id":"https://w3id.org/security#EcdsaSecp256k1Signature2019","@context":{"@version":1.1,"@protected":true,"id":"@id","type":"@type","sec":"https://w3id.org/security#","xsd":"http://www.w3.org/2001/XMLSchema#","challenge":"sec:challenge","created":{"@id":"http://purl.org/dc/terms/created","@type":"xsd:dateTime"},"domain":"sec:domain","expires":{"@id":"sec:expiration","@type":"xsd:dateTime"},"jws":"sec:jws","nonce":"sec:nonce","proofPurpose":{"@id":"sec:proofPurpose","@type":"@vocab","@context":{"@version":1.1,"@protected":true,"id":"@id","type":"@type","sec":"https://w3id.org/security#","assertionMethod":{"@id":"sec:assertionMethod","@type":"@id","@container":"@set"},"authentication":{"@id":"sec:authenticationMethod","@type":"@id","@container":"@set"}}},"proofValue":"sec:proofValue","verificationMethod":{"@id":"sec:verificationMethod","@type":"@id"}}},"EcdsaSecp256r1Signature2019":{"@id":"https://w3id.org/security#EcdsaSecp256r1Signature2019","@context":{"@version":1.1,"@protected":true,"id":"@id","type":"@type","sec":"https://w3id.org/security#","xsd":"http://www.w3.org/2001/XMLSchema#","challenge":"sec:challenge","created":{"@id":"http://purl.org/dc/terms/created","@type":"xsd:dateTime"},"domain":"sec:domain","expires":{"@id":"sec:expiration","@type":"xsd:dateTime"},"jws":"sec:jws","nonce":"sec:nonce","proofPurpose":{"@id":"sec:proofPurpose","@type":"@vocab","@context":{"@version":1.1,"@protected":true,"id":"@id","type":"@type","sec":"https://w3id.org/security#","assertionMethod":{"@id":"sec:assertionMethod","@type":"@id","@container":"@set"},"authentication":{"@id":"sec:authenticationMethod","@type":"@id","@container":"@set"}}},"proofValue":"sec:proofValue","verificationMethod":{"@id":"sec:verificationMethod","@type":"@id"}}},"Ed25519Signature2018":{"@id":"https://w3id.org/security#Ed25519Signature2018","@context":{"@version":1.1,"@protected":true,"id":"@id","type":"@type","sec":"https://w3id.org/security#","xsd":"http://www.w3.org/2001/XMLSchema#","challenge":"sec:challenge","created":{"@id":"http://purl.org/dc/terms/created","@type":"xsd:dateTime"},"domain":"sec:domain","expires":{"@id":"sec:expiration","@type":"xsd:dateTime"},"jws":"sec:jws","nonce":"sec:nonce","proofPurpose":{"@id":"sec:proofPurpose","@type":"@vocab","@context":{"@version":1.1,"@protected":true,"id":"@id","type":"@type","sec":"https://w3id.org/security#","assertionMethod":{"@id":"sec:assertionMethod","@type":"@id","@container":"@set"},"authentication":{"@id":"sec:authenticationMethod","@type":"@id","@container":"@set"}}},"proofValue":"sec:proofValue","verificationMethod":{"@id":"sec:verificationMethod","@type":"@id"}}},"RsaSignature2018":{"@id":"https://w3id.org/security#RsaSignature2018","@context":{"@version":1.1,"@protected":true,"challenge":"sec:challenge","created":{"@id":"http://purl.org/dc/terms/created","@type":"xsd:dateTime"},"domain":"sec:domain","expires":{"@id":"sec:expiration","@type":"xsd:dateTime"},"jws":"sec:jws","nonce":"sec:nonce","proofPurpose":{"@id":"sec:proofPurpose","@type":"@vocab","@context":{"@version":1.1,"@protected":true,"id":"@id","type":"@type","sec":"https://w3id.org/security#","assertionMethod":{"@id":"sec:assertionMethod","@type":"@id","@container":"@set"},"authentication":{"@id":"sec:authenticationMethod","@type":"@id","@container":"@set"}}},"proofValue":"sec:proofValue","verificationMethod":{"@id":"sec:verificationMethod","@type":"@id"}}},"proof":{"@id":"https://w3id.org/security#proof","@type":"@id","@container":"@graph"}}},"https://w3id.org/security/data-integrity/v1":{"@context":{"id":"@id","type":"@type","@protected":true,"proof":{"@id":"https://w3id.org/security#proof","@type":"@id","@container":"@graph"},"DataIntegrityProof":{"@id":"https://w3id.org/security#DataIntegrityProof","@context":{"@protected":true,"id":"@id","type":"@type","challenge":"https://w3id.org/security#challenge","created":{"@id":"http://purl.org/dc/terms/created","@type":"http://www.w3.org/2001/XMLSchema#dateTime"},"domain":"https://w3id.org/security#domain","expires":{"@id":"https://w3id.org/security#expiration","@type":"http://www.w3.org/2001/XMLSchema#dateTime"},"nonce":"https://w3id.org/security#nonce","proofPurpose":{"@id":"https://w3id.org/security#proofPurpose","@type":"@vocab","@context":{"@protected":true,"id":"@id","type":"@type","assertionMethod":{"@id":"https://w3id.org/security#assertionMethod","@type":"@id","@container":"@set"},"authentication":{"@id":"https://w3id.org/security#authenticationMethod","@type":"@id","@container":"@set"},"capabilityInvocation":{"@id":"https://w3id.org/security#capabilityInvocationMethod","@type":"@id","@container":"@set"},"capabilityDelegation":{"@id":"https://w3id.org/security#capabilityDelegationMethod","@type":"@id","@container":"@set"},"keyAgreement":{"@id":"https://w3id.org/security#keyAgreementMethod","@type":"@id","@container":"@set"}}},"cryptosuite":"https://w3id.org/security#cryptosuite","proofValue":{"@id":"https://w3id.org/security#proofValue","@type":"https://w3id.org/security#multibase"},"verificationMethod":{"@id":"https://w3id.org/security#verificationMethod","@type":"@id"}}}}},"https://w3id.org/vc-revocation-list-2020/v1":{"@context":{"@protected":true,"RevocationList2020Credential":{"@id":"https://w3id.org/vc-revocation-list-2020#RevocationList2020Credential","@context":{"@protected":true,"id":"@id","type":"@type","description":"http://schema.org/description","name":"http://schema.org/name"}},"RevocationList2020":{"@id":"https://w3id.org/vc-revocation-list-2020#RevocationList2020","@context":{"@protected":true,"id":"@id","type":"@type","encodedList":"https://w3id.org/vc-revocation-list-2020#encodedList"}},"RevocationList2020Status":{"@id":"https://w3id.org/vc-revocation-list-2020#RevocationList2020Status","@context":{"@protected":true,"id":"@id","type":"@type","revocationListCredential":{"@id":"https://w3id.org/vc-revocation-list-2020#revocationListCredential","@type":"@id"},"revocationListIndex":"https://w3id.org/vc-revocation-list-2020#revocationListIndex"}}}},"https://w3id.org/vc/status-list/2021/v1":{"@context":{"@protected":true,"StatusList2021Credential":{"@id":"https://w3id.org/vc/status-list#StatusList2021Credential","@context":{"@protected":true,"id":"@id","type":"@type","description":"http://schema.org/description","name":"http://schema.org/name"}},"StatusList2021":{"@id":"https://w3id.org/vc/status-list#StatusList2021","@context":{"@protected":true,"id":"@id","type":"@type","statusPurpose":"https://w3id.org/vc/status-list#statusPurpose","encodedList":"https://w3id.org/vc/status-list#encodedList"}},"StatusList2021Entry":{"@id":"https://w3id.org/vc/status-list#StatusList2021Entry","@context":{"@protected":true,"id":"@id","type":"@type","statusPurpose":"https://w3id.org/vc/status-list#statusPurpose","statusListIndex":"https://w3id.org/vc/status-list#statusListIndex","statusListCredential":{"@id":"https://w3id.org/vc/status-list#statusListCredential","@type":"@id"}}}}},"https://w3id.org/traceability/v1":{"@context":{"@version":1.1,"@vocab":"https://www.w3.org/ns/credentials/issuer-dependent#","ActivityPubActorCard":{"@context":{},"@id":"https://w3id.org/traceability#ActivityPubActorCard"},"AgricultureActivity":{"@context":{"activityDate":{"@id":"https://schema.org/DateTime"},"activityType":{"@id":"https://schema.org/value"},"actor":{"@id":"https://w3id.org/traceability#Person"},"agricultureProduct":{"@id":"https://schema.org/ItemList"},"business":{"@id":"https://w3id.org/traceability#dfn-entities"},"location":{"@id":"https://www.gs1.org/voc/Place"},"observation":{"@id":"https://w3id.org/traceability#observation"}},"@id":"https://w3id.org/traceability#AgricultureActivity"},"AgricultureCanineCard":{"@context":{},"@id":"https://w3id.org/traceability#AgricultureCanineCard"},"AgricultureInspectionCommonInfo":{"@context":{"applicant":{"@id":"https://vocabulary.uncefact.org/associatedParty"},"delegateOf":{"@id":"https://vocabulary.uncefact.org/specifiedLegalOrganization"},"facility":{"@id":"https://www.gs1.org/voc/location"},"inspectionEnded":{"@id":"https://schema.org/endDate"},"inspectionStarted":{"@id":"https://schema.org/startDate"},"inspector":{"@id":"https://w3id.org/traceability#Inspector"},"regulatoryAgency":{"@id":"https://vocabulary.uncefact.org/specifiedLegalOrganization"}},"@id":"https://w3id.org/traceability#AgricultureInspectionCommonInfo"},"AgricultureInspectionGeneric":{"@context":{"commonInfo":{"@id":"https://w3id.org/traceability#AgricultureInspectionCommonInfo"},"inspectionType":{"@id":"https://www.gs1.org/voc/certificationType"},"inspectorCounted":{"@id":"https://schema.org/value"},"name":{"@id":"https://schema.org/name"},"observation":{"@id":"https://vocabulary.uncefact.org/relatedObservation"},"packageSize":{"@id":"https://vocabulary.uncefact.org/Measurement"},"productQuantity":{"@id":"https://vocabulary.uncefact.org/Measurement"},"shipment":{"@id":"https://vocabulary.uncefact.org/transportPackage"},"status":{"@id":"https://vocabulary.uncefact.org/status"}},"@id":"https://w3id.org/traceability#AgricultureInspectionGeneric"},"AgriculturePackage":{"@context":{"agricultureProduct":{"@id":"https://schema.org/ItemList"},"date":{"@id":"https://schema.org/DateTime"},"grade":{"@id":"https://w3id.org/traceability#grade"},"harvest":{"@id":"https://w3id.org/traceability#AgricultureActivity"},"labelImageHash":{"@id":"https://w3id.org/traceability#labelImageHash"},"labelImageUrl":{"@id":"https://schema.org/url"},"packageName":{"@id":"https://schema.org/name"},"responsibleParty":{"@id":"https://w3id.org/traceability#responsibleParty"},"voicePickCode":{"@id":"https://w3id.org/traceability#voicePickCode"}},"@id":"https://w3id.org/traceability#AgriculturePackage"},"AgricultureParcelDelivery":{"@context":{"agriculturePackage":{"@id":"https://schema.org/itemShipped"},"broker":{"@id":"https://schema.org/broker"},"carrier":{"@id":"https://schema.org/carrier"},"consignee":{"@id":"https://schema.org/Organization"},"deliveryAddress":{"@id":"https://schema.org/deliveryAddress"},"deliveryMethod":{"@id":"https://schema.org/hasDeliveryMethod"},"expectedArrival":{"@id":"https://schema.org/expectedArrivalFrom"},"foreignPortExport":{"@id":"https://schema.org/itinerary"},"movementPoints":{"@id":"https://schema.org/itinerary"},"originAddress":{"@id":"https://schema.org/originAddress"},"plannedRoute":{"@id":"https://schema.org/itinerary"},"portOfEntry":{"@id":"https://schema.org/itinerary"},"purchaser":{"@id":"https://schema.org/buyer"},"shipper":{"@id":"https://schema.org/seller"},"specialInstructions":{"@id":"https://schema.org/comment"},"trackingNumber":{"@id":"https://schema.org/trackingNumber"}},"@id":"https://w3id.org/traceability#AgricultureParcelDelivery"},"AgricultureProduct":{"@context":{"countryOfOrigin":{"@id":"https://vocabulary.uncefact.org/originCountry"},"gtin":{"@id":"https://www.gs1.org/voc/gtin"},"labelImageHash":{"@id":"https://w3id.org/traceability#labelImageHash"},"labelImageUrl":{"@id":"https://schema.org/url"},"name":{"@id":"https://schema.org/name"},"plantParts":{"@id":"https://schema.org/description"},"plu":{"@id":"https://w3id.org/traceability#plu"},"product":{"@id":"https://www.gs1.org/voc/Product"},"productImageHash":{"@id":"https://w3id.org/traceability#productImageHash"},"productImageUrl":{"@id":"https://schema.org/url"},"scientificName":{"@id":"https://vocabulary.uncefact.org/scientificName"},"upc":{"@id":"https://www.gs1.org/standards/barcodes/ean-upc"}},"@id":"https://w3id.org/traceability#AgricultureProduct"},"BankAccount":{"@context":{"BIC11":{"@id":"https://w3id.org/traceability#BIC11"},"accountId":{"@id":"https://w3id.org/traceability#accountId"},"address":{"@id":"https://schema.org/PostalAddress"},"familyName":{"@id":"http://schema.org/familyName"},"givenName":{"@id":"http://schema.org/givenName"},"iban":{"@id":"https://w3id.org/traceability#iban"},"routingInfo":{"@id":"https://w3id.org/traceability#routingInfo"}},"@id":"https://w3id.org/traceability#BankAccount"},"BankAccountCredential":{"@context":{},"@id":"https://w3id.org/traceability#BankAccountCredential"},"BankAccountHolderAffirmation":{"@context":{"affirmingParty":{"@id":"https://w3id.org/traceability#evidenceVerifier"},"bank":{"@id":"https://schema.org/Organization"},"bankAccountHolderAffirmationApproach":{"@id":"https://schema.org/name"}},"@id":"https://w3id.org/traceability#BankAccountHolderAffirmation"},"BillOfLading":{"@context":{"billOfLadingNumber":{"@id":"https://service.unece.org/trade/uncefact/vocabulary/uncl1153/#Bill_of_lading_number"},"bookingNumber":{"@id":"https://service.unece.org/trade/uncefact/vocabulary/uncl1153/#Consignment_identifier_carrier_assigned"},"carrier":{"@id":"https://vocabulary.uncefact.org/carrierParty"},"consignee":{"@id":"https://vocabulary.uncefact.org/consigneeParty"},"consignor":{"@id":"https://vocabulary.uncefact.org/consignorParty"},"freight":{"@id":"https://schema.org/ParcelDelivery"},"freightForwarder":{"@id":"https://vocabulary.uncefact.org/freightForwarderParty"},"hazardCode":{"@id":"https://w3id.org/traceability#hazardCode"},"nmfcFreightClass":{"@id":"https://w3id.org/traceability#nmfcFreightClass"},"notify":{"@id":"https://vocabulary.uncefact.org/notifiedParty"},"particulars":{"@id":"https://vocabulary.uncefact.org/includedConsignmentItem"},"portOfDischarge":{"@id":"https://service.unece.org/trade/uncefact/vocabulary/uncl3227/#Place_of_discharge"},"portOfLoading":{"@id":"https://service.unece.org/trade/uncefact/vocabulary/uncl3227/#Place_of_loading"},"relatedDocuments":{"@id":"https://schema.org/Purchase"},"scac":{"@id":"https://service.unece.org/trade/uncefact/vocabulary/uncl1153/#Standard_Carrier_Alpha_Code_(SCAC)_number"}},"@id":"https://w3id.org/traceability#BillOfLading"},"BillOfLadingCredential":{"@context":{},"@id":"https://w3id.org/traceability#BillOfLadingCredential"},"BusinessRegistrationVerification":{"@context":{"affirmingParty":{"@id":"https://w3id.org/traceability#affirmingParty"},"countryOfRegistration":{"@id":"https://schema.org/country"},"registrationUrl":{"@id":"https://schema.org/url"},"taxIdentificationNumber":{"@id":"https://vocabulary.uncefact.org/uncl1153#AHP"}},"@id":"https://w3id.org/traceability#BusinessRegistrationVerification"},"CBP3461EntryCredential":{"@context":{},"@id":"https://w3id.org/traceability#CBP3461EntryCredential"},"CBP7501EntrySummaryCredential":{"@context":{},"@id":"https://w3id.org/traceability#CBP7501EntrySummaryCredential"},"CBPEntry":{"@context":{"arrivalDate":{"@id":"https://vocabulary.uncefact.org/actualArrivalRelatedDateTime"},"bolNumber":{"@id":"https://service.unece.org/trade/uncefact/vocabulary/uncl1153/#Bill_of_lading_number"},"bolType":{"@id":"https://w3id.org/traceability#bolType"},"bondType":{"@id":"https://w3id.org/traceability#bondType"},"bondValue":{"@id":"https://schema.org/MonetaryAmount"},"centralizedExaminationSite":{"@id":"https://w3id.org/traceability#centralizedExaminationSite"},"conveyanceName":{"@id":"https://w3id.org/traceability#conveyanceName"},"conveyanceNameOrFreeTradeZoneID":{"@id":"https://w3id.org/traceability#conveyanceNameOrFreeTradeZoneID"},"entryNumber":{"@id":"https://vocabulary.uncefact.org/ReferenceCodeList#AQM"},"entryType":{"@id":"https://w3id.org/traceability#entryType"},"entryValue":{"@id":"https://schema.org/MonetaryAmount"},"generalOrderNumber":{"@id":"https://w3id.org/traceability#generalOrderNumber"},"headerParties":{"@id":"https://schema.org/Organization"},"importer":{"@id":"https://vocabulary.uncefact.org/importerParty"},"importerOfRecord":{"@id":"https://w3id.org/traceability#importerOfRecord"},"inBondNumber":{"@id":"https://w3id.org/traceability#inBondNumber"},"lineItems":{"@id":"https://w3id.org/traceability#lineItems"},"locationOfGoods":{"@id":"https://schema.org/Place"},"nonAMS":{"@id":"https://w3id.org/traceability#nonAMS"},"originatingWarehouseEntryNumber":{"@id":"https://w3id.org/traceability#originatingWarehouseEntryNumber"},"portOfEntry":{"@id":"https://schema.org/Place"},"portOfUnlading":{"@id":"https://schema.org/Place"},"quantity":{"@id":"https://w3id.org/traceability#quantity"},"referenceIDCode":{"@id":"https://w3id.org/traceability#referenceIDCode"},"referenceIDNumber":{"@id":"https://w3id.org/traceability#referenceIDNumber"},"scac":{"@id":"https://service.unece.org/trade/uncefact/vocabulary/uncl1153/#Standard_Carrier_Alpha_Code_(SCAC)_number"},"splitBill":{"@id":"https://w3id.org/traceability#splitBill"},"suretyCode":{"@id":"https://w3id.org/traceability#suretyCode"},"transportMode":{"@id":"https://w3id.org/traceability#transportMode"},"voyageFlightTrip":{"@id":"https://w3id.org/traceability#voyageFlightTrip"}},"@id":"https://w3id.org/traceability#CBPEntry"},"CBPEntryEntity":{"@context":{"buyer":{"@id":"https://vocabulary.uncefact.org/buyerParty"},"consignee":{"@id":"https://vocabulary.uncefact.org/consigneeParty"},"importer":{"@id":"https://vocabulary.uncefact.org/manufacturerParty"},"importerOfRecord":{"@id":"https://w3id.org/traceability#importerOfRecord"},"seller":{"@id":"https://vocabulary.uncefact.org/sellerParty"}},"@id":"https://w3id.org/traceability#CBPEntryEntity"},"CBPEntryLineItem":{"@context":{"commodity":{"@id":"https://w3id.org/traceability#Commodity"},"countryOfOrigin":{"@id":"https://vocabulary.uncefact.org/originCountry"},"freeTradeZoneFilingDate":{"@id":"https://schema.org/Date"},"freeTradeZoneStatus":{"@id":"https://w3id.org/traceability#freeTradeZoneStatus"},"itemCount":{"@id":"https://vocabulary.uncefact.org/despatchedQuantity"},"itemParty":{"@id":"https://w3id.org/traceability#itemParty"},"productDescription":{"@id":"https://schema.org/description"},"value":{"@id":"https://schema.org/MonetaryAmount"}},"@id":"https://w3id.org/traceability#CBPEntryLineItem"},"CBPEntrySummary":{"@context":{"billOfLadingNumber":{"@id":"https://service.unece.org/trade/uncefact/vocabulary/uncl1153/#Bill_of_lading_number"},"bondType":{"@id":"https://w3id.org/traceability#bondType"},"consigneeNumber":{"@id":"https://schema.org/identifier"},"countryOfOrigin":{"@id":"https://w3id.org/traceability#countryOfOrigin"},"declarationOfImporter":{"@id":"https://w3id.org/traceability#declarationOfImporter"},"descriptionOfMerchandise":{"@id":"https://w3id.org/traceability#descriptionOfMerchandise"},"duty":{"@id":"https://schema.org/MonetaryAmount"},"entryDate":{"@id":"https://schema.org/Date"},"entryNumber":{"@id":"https://vocabulary.uncefact.org/ReferenceCodeList#AQM"},"entryType":{"@id":"https://w3id.org/traceability#entryType"},"exportDate":{"@id":"https://schema.org/Date"},"exportingCountry":{"@id":"https://schema.org/addressCountry"},"immediateTransportationDate":{"@id":"https://schema.org/Date"},"immediateTransportationNumber":{"@id":"https://schema.org/identifier"},"importDate":{"@id":"https://schema.org/Date"},"importerNumber":{"@id":"https://w3id.org/traceability#importerOfRecord"},"importerOfRecord":{"@id":"https://vocabulary.uncefact.org/importerParty"},"importingCarrier":{"@id":"https://vocabulary.uncefact.org/carrierParty"},"locationOfGoods":{"@id":"https://schema.org/Place"},"manufacturerId":{"@id":"https://schema.org/identifier"},"missingDocuments":{"@id":"https://w3id.org/traceability#missingDocuments"},"other":{"@id":"https://schema.org/MonetaryAmount"},"otherFeeSummary":{"@id":"https://w3id.org/traceability#otherFeeSummary"},"portCode":{"@id":"https://schema.org/Place"},"portOfLoading":{"@id":"https://schema.org/Place"},"portOfUnlading":{"@id":"https://schema.org/Place"},"referenceNumber":{"@id":"https://w3id.org/traceability#referenceNumber"},"summaryDate":{"@id":"https://schema.org/Date"},"suretyCode":{"@id":"https://w3id.org/traceability#suretyCode"},"tax":{"@id":"https://schema.org/MonetaryAmount"},"total":{"@id":"https://schema.org/MonetaryAmount"},"totalEnteredValue":{"@id":"https://schema.org/MonetaryAmount"},"transportMode":{"@id":"https://w3id.org/traceability#transportMode"},"ultimateConsignee":{"@id":"https://vocabulary.uncefact.org/shipToParty"}},"@id":"https://w3id.org/traceability#CBPEntrySummary"},"CBPEntrySummaryLineItem":{"@context":{"adCvdNumber":{"@id":"https://w3id.org/traceability#adCvdNumber"},"adCvdRate":{"@id":"https://w3id.org/traceability#adCvdRate"},"agriculturalLicenseNumber":{"@id":"https://w3id.org/traceability#agriculturalLicenseNumber"},"categoryNumber":{"@id":"https://w3id.org/traceability#categoryNumber"},"charges":{"@id":"https://schema.org/MonetaryAmount"},"commodity":{"@id":"https://w3id.org/traceability#Commodity"},"dutyAndIRTax":{"@id":"https://w3id.org/traceability#dutyAndIRTax"},"enteredValue":{"@id":"https://schema.org/MonetaryAmount"},"grossWeight":{"@id":"https://schema.org/weight"},"htsRate":{"@id":"https://w3id.org/traceability#htsRate"},"ircRate":{"@id":"https://w3id.org/traceability#ircRate"},"manifestQuantity":{"@id":"https://w3id.org/traceability#manifestQuantity"},"netQuantity":{"@id":"https://schema.org/Quantity"},"otherFees":{"@id":"https://w3id.org/traceability#otherFees"},"relationship":{"@id":"https://schema.org/MonetaryAmount"},"visaNumber":{"@id":"https://w3id.org/traceability#visaNumber"}},"@id":"https://w3id.org/traceability#CBPEntrySummaryLineItem"},"CBPImporterOfRecord":{"@context":{"identifierType":{"@id":"https://w3id.org/traceability#CBPImporterOfRecordType"},"number":{"@id":"https://w3id.org/traceability#CBPImporterOfRecordNumber"}},"@id":"https://w3id.org/traceability#CBPImporterOfRecord"},"CTPAT":{"@context":{"ctpatAccountNumber":{"@id":"https://w3id.org/traceability#ctpatAccountNumber"},"dateOfLastValidation":{"@id":"https://schema.org/Date"},"issuingCountry":{"@id":"https://schema.org/addressCountry"},"sviNumber":{"@id":"https://w3id.org/traceability#sviNumber"},"tier":{"@id":"https://w3id.org/traceability#ctpatTier"},"tradeSector":{"@id":"https://schema.org/industry"}},"@id":"https://w3id.org/traceability#CTPAT"},"CTPATCertificate":{"@context":{},"@id":"https://w3id.org/traceability#CTPATCertificate"},"CTPATEIPApplication":{"@context":{"applicant":{"@id":"https://w3id.org/traceability#applicant"},"applicantType":{"@id":"https://w3id.org/traceability#applicantType"}},"@id":"https://w3id.org/traceability#CTPAT"},"CTPATEIPApplicationCredential":{"@context":{},"@id":"https://w3id.org/traceability#CTPATEIPApplicationCredential"},"CTPATEIPFulfillmentCredential":{"@context":{},"@id":"https://w3id.org/traceability#CTPATEIPFulfillmentCredential"},"CTPATEIPMarketplaceCredential":{"@context":{},"@id":"https://w3id.org/traceability#CTPATEIPMarketplaceCredential"},"CTPATEIPSellerCredential":{"@context":{},"@id":"https://w3id.org/traceability#CTPATEIPSellerCredential"},"CTPATMember":{"@context":{"faxNumber":{"@id":"https://schema.org/faxNumber"},"iataCarrierCode":{"@id":"https://onerecord.iata.org/cargo/Company#airlineCode"},"importerOfRecord":{"@id":"https://w3id.org/traceability#importerOfRecord"},"logo":{"@id":"https://schema.org/logo"},"name":{"@id":"https://schema.org/name"},"scac":{"@id":"https://service.unece.org/trade/uncefact/vocabulary/uncl1153/#Standard_Carrier_Alpha_Code_(SCAC)_number"},"url":{"@id":"https://schema.org/url"}},"@id":"https://schema.org/Organization"},"CargoItem":{"@context":{"cargoLineItems":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.1#/components/schemas/cargoLineItem"},"carrierBookingReference":{"@id":"https://vocabulary.uncefact.org/carrierAssignedId"},"numberOfPackages":{"@id":"https://vocabulary.uncefact.org/packageQuantity"},"packageCode":{"@id":"https://vocabulary.uncefact.org/packageTypeCode"},"volume":{"@id":"https://vocabulary.uncefact.org/grossVolumeMeasure"},"volumeUnit":{"@id":"https://schema.org/unitCode"},"weight":{"@id":"https://schema.org/weight"},"weightUnit":{"@id":"https://schema.org/unitCode"}},"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.1#/components/schemas/cargoItem"},"CargoLineItem":{"@context":{"HSCode":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.1#/components/schemas/HSCode"},"cargoLineItemID":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.1#/components/schemas/cargoLineItemID"},"descriptionOfGoods":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.1#/components/schemas/descriptionOfGoods"},"shippingMarks":{"@id":"https://vocabulary.uncefact.org/physicalShippingMarks"}},"@id":"https://w3id.org/traceability#CargoLineItem"},"CertificationOfOrigin":{"@context":{},"@id":"https://w3id.org/traceability#CertificationOfOrigin"},"ChargeDeclaration":{"@context":{"dueAgent":{"@id":"https://schema.org/price"},"dueCarrier":{"@id":"https://schema.org/price"},"tax":{"@id":"https://schema.org/price"},"total":{"@id":"https://schema.org/totalPrice"},"valuationCharge":{"@id":"https://schema.org/price"},"weightCharge":{"@id":"https://schema.org/price"}},"@id":"https://w3id.org/traceability#ChargeDeclaration"},"ChemicalProperty":{"@context":{"description":{"@id":"https://schema.org/description"},"formula":{"@id":"https://purl.obolibrary.org/obo/chebi/formula"},"identifier":{"@id":"https://schema.org/identifier"},"inchi":{"@id":"https://purl.obolibrary.org/obo/chebi/inchi"},"inchikey":{"@id":"https://purl.obolibrary.org/obo/chebi/inchikey"},"name":{"@id":"https://schema.org/name"}},"@id":"https://w3id.org/traceability#ChemicalProperty"},"CommercialInvoiceCredential":{"@context":{},"@id":"https://w3id.org/traceability#CommercialInvoiceCredential"},"CommissionEvent":{"@context":{"organization":{"@id":"https://w3id.org/traceability#Organization"},"place":{"@id":"https://schema.org/Place"},"products":{"@id":"https://schema.org/Product"}},"@id":"https://w3id.org/traceability#CommissionEvent"},"Commodity":{"@context":{"commodityCode":{"@id":"https://w3id.org/traceability#commodityCode"},"commodityCodeType":{"@id":"https://w3id.org/traceability#commodityCodeType"},"description":{"@id":"https://schema.org/description"}},"@id":"https://w3id.org/traceability#Commodity"},"ConsignmentItem":{"@context":{"commodity":{"@id":"https://w3id.org/traceability#Commodity"},"countryOfOrigin":{"@id":"https://vocabulary.uncefact.org/originCountry"},"descriptionOfPackagesAndGoods":{"@id":"https://vocabulary.uncefact.org/natureIdentificationCargo"},"grossVolume":{"@id":"https://vocabulary.uncefact.org/grossVolumeMeasure"},"grossWeight":{"@id":"https://schema.org/weight"},"manufacturer":{"@id":"https://vocabulary.uncefact.org/manufacturerParty"},"marksAndNumbers":{"@id":"https://vocabulary.uncefact.org/ShippingMarks"},"netWeight":{"@id":"https://schema.org/weight"},"packageQuantity":{"@id":"https://vocabulary.uncefact.org/packageQuantity"}},"@id":"https://vocabulary.uncefact.org/ConsignmentItem"},"ConsignmentRatingDetail":{"@context":{"chargeableWeight":{"@id":"https://schema.org/weight"},"commodityItemNumber":{"@id":"https://vocabulary.uncefact.org/discountIndicator"},"grossWeight":{"@id":"https://vocabulary.uncefact.org/grossWeightMeasure"},"grossWeightUnit":{"@id":"https://schema.org/unitCode"},"natureAndVolumeOfGoods":{"@id":"https://schema.org/description"},"numberOfPieces":{"@id":"https://vocabulary.uncefact.org/packageQuantity"},"rateCharge":{"@id":"https://schema.org/price"},"rateClass":{"@id":"https://vocabulary.uncefact.org/freightChargeTariffClassCode"},"total":{"@id":"https://schema.org/totalPrice"}},"@id":"https://w3id.org/traceability#ConsignmentRatingDetail"},"ContactPoint":{"@context":{"email":{"@id":"https://schema.org/email"},"name":{"@id":"https://schema.org/name"},"phoneNumber":{"@id":"https://schema.org/telephone"},"place":{"@id":"https://w3id.org/traceability#place"}},"@id":"https://schema.org/ContactPoint"},"Customer":{"@context":{"address":{"@id":"https://schema.org/PostalAddress"},"email":{"@id":"https://schema.org/email"},"name":{"@id":"https://schema.org/name"},"telephone":{"@id":"https://schema.org/telephone"}},"@id":"https://w3id.org/traceability#Customer"},"DCSAShippingInstruction":{"@context":{"cargoItems":{"@id":"https://vocabulary.uncefact.org/includedConsignmentItem"},"carrierBookingReference":{"@id":"https://service.unece.org/trade/uncefact/vocabulary/uncl1153/#Consignment_identifier_carrier_assigned"},"consignee":{"@id":"https://vocabulary.uncefact.org/consigneeParty"},"consigneesFreightForwarder":{"@id":"https://vocabulary.uncefact.org/freightForwarderParty"},"firstNotify":{"@id":"https://vocabulary.uncefact.org/notifiedParty"},"invoicePayableAt":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.1#/components/schemas/invoicePayableAt"},"invoicePayerConsignee":{"@id":"https://vocabulary.uncefact.org/consigneeParty"},"invoicePayerShipper":{"@id":"https://vocabulary.uncefact.org/consignorParty"},"otherNotify":{"@id":"https://vocabulary.uncefact.org/notifiedParty"},"preCarriageUnderShippersResponsibility":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.1#/components/schemas/preCarriageUnderShippersResponsibility"},"secondNotify":{"@id":"https://vocabulary.uncefact.org/notifiedParty"},"shipmentLocations":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DOCUMENTATION_DOMAIN/1.0.0#/components/schemas/shipmentLocation"},"shipper":{"@id":"https://vocabulary.uncefact.org/consignorParty"},"shippersFreightForwarder":{"@id":"https://vocabulary.uncefact.org/freightForwarderParty"},"shippingInstructionID":{"@id":"https://service.unece.org/trade/uncefact/vocabulary/uncl1153/#Transport_instruction_number"},"transportDocumentType":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.1#/components/schemas/transportDocumentType"},"utilizedTransportEquipments":{"@id":"https://vocabulary.uncefact.org/utilizedTransportEquipment"}},"@id":"https://vocabulary.uncefact.org/TransportInstructions"},"DCSAShippingInstructionCredential":{"@context":{},"@id":"https://w3id.org/traceability#DCSAShippingInstructionCredential"},"DCSATransportDocument":{"@context":{"cargoMovementTypeAtDestination":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.2#/components/schemas/cargoMovementTypeAtDestination"},"cargoMovementTypeAtOrigin":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.2#/components/schemas/cargoMovementTypeAtOrigin"},"charges":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.1#/components/schemas/charges"},"clauses":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.1#/components/schemas/clauses"},"declaredValueCurrency":{"@id":"https://schema.org/currency"},"issueDate":{"@id":"https://vocabulary.uncefact.org/issueDateTime"},"issuerCode":{"@id":"https://service.unece.org/trade/uncefact/vocabulary/uncl1153/#Standard_Carrier_Alpha_Code_(SCAC)_number"},"issuerCodeListProvider":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.2#/components/schemas/issuerCodeListProvider"},"placeOfIssue":{"@id":"https://vocabulary.uncefact.org/issueLocation"},"receiptDeliveryTypeAtDestination":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.2#/components/schemas/receiptDeliveryTypeAtDestination"},"receiptDeliveryTypeAtOrigin":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.2#/components/schemas/receiptDeliveryTypeAtOrigin"},"receivedForShipmentDate":{"@id":"https://vocabulary.uncefact.org/availabilityDueDateTime"},"serviceContractReference":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.2#/components/schemas/serviceContractReference"},"shippedOnBoardDate":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.2#/components/schemas/shippedOnBoardDate"},"shippingInstruction":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.1#/components/schemas/shippingInstruction"},"termsAndConditions":{"@id":"https://vocabulary.uncefact.org/termsAndConditionsDescription"},"transportDocumentReference":{"@id":"https://service.unece.org/trade/uncefact/vocabulary/uncl1153/#Bill_of_lading_number"},"transports":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.1#/components/schemas/transports"}},"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.1#/components/schemas/transportDocument"},"DCSATransportDocumentCredential":{"@context":{},"@id":"https://w3id.org/traceability#DCSATransportDocumentCredential"},"DeMinimisShipment":{"@context":{"buyer":{"@id":"https://vocabulary.uncefact.org/buyerParty"},"enhancedProductDescription":{"@id":"https://w3id.org/traceability#enhancedProductDescription"},"finalDeliverTo":{"@id":"https://vocabulary.uncefact.org/shipToParty"},"houseBillOfLadingNumber":{"@id":"https://service.unece.org/trade/uncefact/vocabulary/uncl1153/#House_bill_of_lading_number"},"knownCarrierCustomerFlag":{"@id":"https://w3id.org/traceability#knownCarrierCustomerFlag"},"knownMarketplaceSellerFlag":{"@id":"https://w3id.org/traceability#knownMarketplaceSellerFlag"},"listedPriceOnMarketplace":{"@id":"https://schema.org/price"},"marketplaceSellerAccountNumber":{"@id":"https://service.unece.org/trade/uncefact/vocabulary/uncl1153/#Account_number"},"masterBillOfLadingNumber":{"@id":"https://service.unece.org/trade/uncefact/vocabulary/uncl1153/#Bill_of_lading_number"},"modeOfTransportation":{"@id":"https://vocabulary.uncefact.org/mode"},"originatorCode":{"@id":"https://w3id.org/traceability#originatorCode"},"participantFilerType":{"@id":"https://w3id.org/traceability#participantFilerType"},"productPicture":{"@id":"https://schema.org/image"},"seller":{"@id":"https://vocabulary.uncefact.org/sellerParty"},"shipmentInitiator":{"@id":"https://w3id.org/traceability#shipmentInitiator"},"shipmentSecurityScan":{"@id":"https://w3id.org/traceability#shipmentSecurityScan"},"shipmentTrackingNumber":{"@id":"https://vocabulary.uncefact.org/MarkingInstructionCodeList#37"}},"@id":"https://w3id.org/traceability#DeMinimisShipment"},"DeMinimisShipmentCredential":{"@context":{},"@id":"https://w3id.org/traceability#DeMinimisExemptionCertificate"},"DeliverySchedule":{"@context":{"addressCountry":{"@id":"https://schema.org/addressCountry"},"batchNumber":{"@id":"https://vocabulary.uncefact.org/ReferenceCodeList#BT"},"commodity":{"@id":"https://w3id.org/traceability#Commodity"},"consignee":{"@id":"https://schema.org/Organization"},"consignor":{"@id":"https://schema.org/Organization"},"deliveryDate":{"@id":"https://schema.org/arrivalTime"},"injectionDate":{"@id":"https://schema.org/departureTime"},"injectionVolume":{"@id":"https://schema.org/Quantity"},"place":{"@id":"https://schema.org/Place"},"portOfArrival":{"@id":"https://schema.org/identifier"},"portOfDestination":{"@id":"https://schema.org/identifier"},"portOfEntry":{"@id":"https://schema.org/identifier"},"scheduledDate":{"@id":"https://schema.org/departureTime"},"scheduledVolume":{"@id":"https://schema.org/Quantity"},"transporter":{"@id":"https://schema.org/Organization"}},"@id":"https://w3id.org/traceability#DeliverySchedule"},"DeliveryScheduleCredential":{"@context":{},"@id":"https://w3id.org/traceability#DeliveryScheduleCredential"},"DeliveryStatement":{"@context":{"commodity":{"@id":"https://w3id.org/traceability#Commodity"},"deliveredDate":{"@id":"https://schema.org/Date"},"deliveredVolume":{"@id":"https://schema.org/MeasuredValue"},"observation":{"@id":"https://w3id.org/traceability#observation"}},"@id":"https://w3id.org/traceability#DeliveryStatement"},"DeliveryStatementCredential":{"@context":{},"@id":"https://w3id.org/traceability#DeliveryStatementCredential"},"EDDShape":{"@context":{"abundance":{"@id":"https://schema.org/description"},"approximateQuantity":{"@id":"http://rs.tdwg.org/dwc/terms/organismQuantity"},"centroidType":{"@id":"https://schema.org/polygon"},"commonName":{"@id":"http://rs.tdwg.org/dwc/terms/vernacularName"},"coordinateUncertainty":{"@id":"http://rs.tdwg.org/dwc/terms/coordinateUncertaintyInMeters"},"dateEntered":{"@id":"http://rs.tdwg.org/dwc/terms/eventDate"},"dateUncertaintyDays":{"@id":"https://schema.org/value"},"dateUpdated":{"@id":"http://rs.tdwg.org/dwc/terms/eventDate"},"density":{"@id":"http://rs.tdwg.org/dwc/terms/measurementRemarks"},"grossAreaAcres":{"@id":"http://rs.tdwg.org/dwc/terms/measurementValue"},"habitat":{"@id":"http://rs.tdwg.org/dwc/terms/habitat"},"identificationCredibility":{"@id":"http://rs.tdwg.org/dwc/terms/identificationRemarks"},"incidence":{"@id":"http://rs.tdwg.org/dwc/terms/measurementValue"},"infestedAreaAcres":{"@id":"http://rs.tdwg.org/dwc/terms/measurementValue"},"location":{"@id":"https://schema.org/location"},"managementStatus":{"@id":"https://schema.org/status"},"mapResources":{"@id":"https://w3id.org/traceability#MapResource"},"meta":{"@id":"https://w3id.org/traceability#EDDShapeMeta"},"naDatum":{"@id":"http://rs.tdwg.org/dwc/terms/geodeticDatum"},"observationDate":{"@id":"http://rs.tdwg.org/dwc/terms/eventDate"},"occurrenceStatus":{"@id":"https://schema.org/value"},"percentCover":{"@id":"http://rs.tdwg.org/dwc/terms/measurementValue"},"persistentId":{"@id":"http://rs.tdwg.org/dwc/terms/occurrenceID"},"quantity":{"@id":"http://rs.tdwg.org/dwc/terms/organismQuantity"},"quantityUnits":{"@id":"http://rs.tdwg.org/dwc/terms/organismQuantityType"},"recordBasis":{"@id":"http://rs.tdwg.org/dwc/terms/samplingProtocol"},"reporter":{"@id":"https://schema.org/name"},"reviewer":{"@id":"http://rs.tdwg.org/dwc/terms/identifiedBy"},"scientificName":{"@id":"http://rs.tdwg.org/dwc/terms/scientificName"},"severity":{"@id":"http://rs.tdwg.org/dwc/terms/measurementValue"},"siteName":{"@id":"http://rs.tdwg.org/dwc/terms/locationID"},"status":{"@id":"https://schema.org/description"},"subjectNativity":{"@id":"http://rs.tdwg.org/dwc/terms/establishmentMeans"},"surveyor":{"@id":"http://rs.tdwg.org/dwc/terms/recordedBy"},"uuid":{"@id":"http://rs.tdwg.org/dwc/terms/dateIdentified"},"verificationMethod":{"@id":"http://rs.tdwg.org/dwc/terms/identificationRemarks"},"verified":{"@id":"http://rs.tdwg.org/dwc/terms/identificationVerificationStatus"},"visitType":{"@id":"https://schema.org/description"}},"@id":"https://w3id.org/traceability#EDDShape"},"EDDShapeMeta":{"@context":{"collectionTimeMinutes":{"@id":"https://schema.org/activityDuration"},"comments":{"@id":"http://rs.tdwg.org/dwc/terms/eventRemarks"},"dataCollectionMethod":{"@id":"http://rs.tdwg.org/dwc/terms/measurementMethod"},"hostDamage":{"@id":"https://schema.org/description"},"hostName":{"@id":"http://rs.tdwg.org/dwc/terms/vernacularName"},"hostPhenology":{"@id":"http://rs.tdwg.org/dwc/terms/lifeStage"},"hostScientificName":{"@id":"http://rs.tdwg.org/dwc/terms/scientificName"},"largestOrganismSampled":{"@id":"https://schema.org/size"},"lifeStatus":{"@id":"http://rs.tdwg.org/dwc/terms/occurrenceRemarks"},"localOwnership":{"@id":"http://rs.tdwg.org/dwc/terms/locality"},"locality":{"@id":"http://rs.tdwg.org/dwc/terms/locationRemarks"},"method":{"@id":"http://rs.tdwg.org/dwc/terms/locationRemarks"},"museum":{"@id":"https://schema.org/name"},"museumRecord":{"@id":"http://rs.tdwg.org/dwc/terms/catalogNumber"},"numberCollected":{"@id":"http://rs.tdwg.org/dwc/terms/measurementRemarks"},"numberTraps":{"@id":"http://rs.tdwg.org/dwc/terms/samplingEffort"},"observationId":{"@id":"http://rs.tdwg.org/dwc/terms/identifiedBy"},"originalRecordId":{"@id":"http://rs.tdwg.org/dwc/terms/recordNumber"},"originalReportedName":{"@id":"http://rs.tdwg.org/dwc/terms/verbatimIdentification"},"phenology":{"@id":"http://rs.tdwg.org/dwc/terms/organismRemarks"},"plantsTreated":{"@id":"http://rs.tdwg.org/dwc/terms/organismQuantity"},"populationStatus":{"@id":"http://rs.tdwg.org/dwc/terms/degreeOfEstablishment"},"publicReviewerComments":{"@id":"http://rs.tdwg.org/dwc/terms/identificationRemarks"},"recordOwner":{"@id":"https://schema.org/name"},"recordSourceType":{"@id":"http://rs.tdwg.org/dwc/terms/measurementRemarks"},"reference":{"@id":"http://rs.tdwg.org/dwc/terms/associatedReferences"},"sex":{"@id":"http://rs.tdwg.org/dwc/terms/sex"},"shapeType":{"@id":"https://schema.org/description"},"smallestOrganismSampled":{"@id":"https://schema.org/size"},"substrate":{"@id":"http://rs.tdwg.org/dwc/terms/occurrenceRemarks"},"targetCount":{"@id":"http://rs.tdwg.org/dwc/terms/organismQuantity"},"targetName":{"@id":"http://rs.tdwg.org/dwc/terms/organismName"},"targetRange":{"@id":"http://rs.tdwg.org/dwc/terms/organismQuantity"},"trapType":{"@id":"http://rs.tdwg.org/dwc/terms/samplingProtocol"},"treatmentArea":{"@id":"https://schema.org/value"},"treatmentComments":{"@id":"http://rs.tdwg.org/dwc/terms/eventRemarks"},"voucher":{"@id":"http://rs.tdwg.org/dwc/terms/disposition"},"waterBodyName":{"@id":"http://rs.tdwg.org/dwc/terms/waterBody"},"waterBodyType":{"@id":"http://rs.tdwg.org/dwc/terms/occurrenceRemarks"}},"@id":"https://w3id.org/traceability#EDDShapeMeta"},"Entity":{"@context":{"address":{"@id":"https://schema.org/PostalAddress"},"email":{"@id":"https://schema.org/email"},"entityType":{"@id":"https://schema.org/additionalType"},"faxNumber":{"@id":"https://schema.org/faxNumber"},"legalName":{"@id":"https://schema.org/legalName"},"name":{"@id":"https://schema.org/name"},"phoneNumber":{"@id":"https://schema.org/telephone"},"taxId":{"@id":"https://schema.org/taxID"},"url":{"@id":"https://schema.org/url"}},"@id":"https://w3id.org/traceability#Entity"},"EntryNumber":{"@context":{},"@id":"https://w3id.org/traceability#EntryNumber"},"EntryNumberCredential":{"@context":{},"@id":"https://w3id.org/traceability#EntryNumberCredential"},"Event":{"@context":{},"@id":"https://w3id.org/traceability#EventCredential"},"ExternalResource":{"@context":{"hash":{"@id":"https://schema.org/sha256"},"uri":{"@id":"https://schema.org/contentUrl"}},"@id":"https://w3id.org/traceability#ExternalResource"},"FSMAAbstractKDE":{"@context":{"name":{"@id":"https://schema.org/propertyID"},"value":{"@id":"https://schema.org/value"}},"@id":"https://w3id.org/traceability#FSMAAbstractKDE"},"FSMACreatingCTE":{"@context":{"additionalData":{"@id":"https://w3id.org/traceability#FSMAAbstractKDE"},"dateCompleted":{"@id":"https://schema.org/endDate"},"food":{"@id":"https://w3id.org/traceability#FSMAProduct"},"location":{"@id":"https://schema.org/location"}},"@id":"https://w3id.org/traceability#FSMACreatingCTE"},"FSMACreatingCTECredential":{"@context":{},"@id":"https://w3id.org/traceability#FSMACreatingCTECredential"},"FSMAFirstReceiverData":{"@context":{"additionalData":{"@id":"https://w3id.org/traceability#FSMAAbstractKDE"},"coolingDate":{"@id":"https://schema.org/endDate"},"coolingLocation":{"@id":"https://schema.org/location"},"harvestDate":{"@id":"https://schema.org/endDate"},"originatorLocation":{"@id":"https://schema.org/location"},"packingDate":{"@id":"https://schema.org/endDate"},"packingLocation":{"@id":"https://schema.org/location"},"traceabilityLot":{"@id":"https://w3id.org/traceability#FSMATraceabilityLot"}},"@id":"https://w3id.org/traceability#FSMAFirstReceiverData"},"FSMAFirstReceiverDataCredential":{"@context":{},"@id":"https://w3id.org/traceability#FSMAFirstReceiverDataCredential"},"FSMAGrowingCTE":{"@context":{"additionalData":{"@id":"https://w3id.org/traceability#FSMAAbstractKDE"},"growingAreaCoordinates":{"@id":"https://w3id.org/traceability#GeoCoordinates"},"traceabilityLot":{"@id":"https://w3id.org/traceability#FSMATraceabilityLot"}},"@id":"https://w3id.org/traceability#FSMAGrowingCTE"},"FSMAGrowingCTECredential":{"@context":{},"@id":"https://w3id.org/traceability#FSMAGrowingCTECredential"},"FSMAProduct":{"@context":{"additionalData":{"@id":"https://w3id.org/traceability#FSMAAbstractKDE"},"quantity":{"@id":"https://schema.org/value"},"traceabilityLot":{"@id":"https://w3id.org/traceability#FSMATraceabilityLot"},"unit":{"@id":"https://schema.org/unitText"}},"@id":"https://w3id.org/traceability#FSMAProduct"},"FSMAReceivingCTE":{"@context":{"additionalData":{"@id":"https://w3id.org/traceability#FSMAAbstractKDE"},"dateReceived":{"@id":"https://schema.org/endDate"},"shipment":{"@id":"https://w3id.org/traceability#FSMAShipment"}},"@id":"https://w3id.org/traceability#FSMAReceivingCTE"},"FSMAReceivingCTECredential":{"@context":{},"@id":"https://w3id.org/traceability#FSMAReceivingCTECredential"},"FSMAShipment":{"@context":{"additionalData":{"@id":"https://w3id.org/traceability#FSMAAbstractKDE"},"from":{"@id":"https://schema.org/fromLocation"},"product":{"@id":"https://w3id.org/traceability#FSMAProduct"},"to":{"@id":"https://schema.org/toLocation"}},"@id":"https://w3id.org/traceability#FSMAShipment"},"FSMAShippingCTE":{"@context":{"additionalData":{"@id":"https://w3id.org/traceability#FSMAAbstractKDE"},"dateShipped":{"@id":"https://schema.org/startDate"},"shipment":{"@id":"https://w3id.org/traceability#FSMAShipment"}},"@id":"https://w3id.org/traceability#FSMAShippingCTE"},"FSMAShippingCTECredential":{"@context":{},"@id":"https://w3id.org/traceability#FSMAShippingCTECredential"},"FSMATraceabilityLot":{"@context":{"additionalData":{"@id":"https://w3id.org/traceability#FSMAAbstractKDE"},"lotCode":{"@id":"https://www.gs1.org/voc/hasBatchLotNumber"},"lotCodeAssignmentMethod":{"@id":"https://schema.org/description"},"lotCodeGeneratorLocation":{"@id":"https://schema.org/location"},"lotCodeGeneratorPOC":{"@id":"https://schema.org/contactPoint"},"lotType":{"@id":"https://schema.org/additionalType"}},"@id":"https://w3id.org/traceability#FSMATraceabilityLot"},"FSMATransformingCTE":{"@context":{"additionalData":{"@id":"https://w3id.org/traceability#FSMAAbstractKDE"},"dateCompleted":{"@id":"https://schema.org/endDate"},"foodProduced":{"@id":"https://w3id.org/traceability#FSMAProduct"},"foodUsed":{"@id":"https://w3id.org/traceability#FSMAProduct"},"locationTransformed":{"@id":"https://schema.org/location"}},"@id":"https://w3id.org/traceability#FSMATransformingCTE"},"FSMATransformingCTECredential":{"@context":{},"@id":"https://w3id.org/traceability#FSMATransformingCTECredential"},"FoodDefenseDeficiency":{"@context":{"dateCorrected":{"@id":"https://vocabulary.uncefact.org/occurrenceDateTime"},"description":{"@id":"https://schema.org/description"},"number":{"@id":"https://schema.org/identifier"},"proposedCorrectionDate":{"@id":"https://vocabulary.uncefact.org/occurrenceDateTime"}},"@id":"https://w3id.org/traceability#FoodDefenseDeficiency"},"FoodDefenseInspection":{"@context":{"commonInfo":{"@id":"https://w3id.org/traceability#AgricultureInspectionCommonInfo"},"deficiencies":{"@id":"https://w3id.org/traceability#FoodDefenseDeficiency"},"questions":{"@id":"https://w3id.org/traceability#FoodDefenseQuestion"}},"@id":"https://w3id.org/traceability#FoodDefenseInspection"},"FoodDefenseInspectionCredential":{"@context":{},"@id":"https://w3id.org/traceability#FoodDefenseInspectionCredential"},"FoodDefenseQuestion":{"@context":{"facility":{"@id":"https://schema.org/location"},"number":{"@id":"https://schema.org/identifier"},"rating":{"@id":"https://vocabulary.uncefact.org/assertion"},"response":{"@id":"https://vocabulary.uncefact.org/assertion"}},"@id":"https://w3id.org/traceability#FoodDefenseQuestion"},"FoodGradeInspection":{"@context":{"carrierTypeName":{"@id":"https://vocabulary.uncefact.org/utilizedTransportEquipment"},"commonInfo":{"@id":"https://w3id.org/traceability#AgricultureInspectionCommonInfo"},"doorsOpen":{"@id":"https://vocabulary.uncefact.org/DocumentCodeList#287"},"estimatedCharges":{"@id":"https://vocabulary.uncefact.org/applicableServiceCharge"},"generalRemarks":{"@id":"https://vocabulary.uncefact.org/remarks"},"loadingStatus":{"@id":"https://vocabulary.uncefact.org/DocumentCodeList#287"},"lots":{"@id":"https://w3id.org/traceability#FoodGradeInspectionLot"},"refrigerationUnitOn":{"@id":"https://vocabulary.uncefact.org/DocumentCodeList#287"},"shipment":{"@id":"https://vocabulary.uncefact.org/transportPackage"}},"@id":"https://w3id.org/traceability#FoodGradeInspection"},"FoodGradeInspectionCredential":{"@context":{},"@id":"https://w3id.org/traceability#FoodGradeInspectionCredential"},"FoodGradeInspectionDefect":{"@context":{"averageDefects":{"@id":"https://qudt.org/vocab/unit/PERCENT"},"damage":{"@id":"https://qudt.org/vocab/unit/PERCENT"},"offsizeDefect":{"@id":"https://vocabulary.uncefact.org/damageRemarks"},"seriousDamage":{"@id":"https://qudt.org/vocab/unit/PERCENT"},"verySeriousDamage":{"@id":"https://qudt.org/vocab/unit/PERCENT"}},"@id":"https://w3id.org/traceability#FoodGradeInspectionDefect"},"FoodGradeInspectionLot":{"@context":{"agricultureProduct":{"@id":"https://w3id.org/traceability#AgricultureProduct"},"brandMarkings":{"@id":"https://vocabulary.uncefact.org/brandName"},"countInspected":{"@id":"https://vocabulary.uncefact.org/remark"},"defects":{"@id":"https://w3id.org/traceability#FoodGradeInspectionDefect"},"grade":{"@id":"https://w3id.org/traceability#FoodGradeInspectionResult"},"lotIdentifier":{"@id":"https://www.gs1.org/voc/hasBatchLotNumber"},"maxTemperature":{"@id":"https://schema.org/measuredValue"},"minTemperature":{"@id":"https://schema.org/measuredValue"},"numberContainers":{"@id":"https://vocabulary.uncefact.org/packageQuantity"},"remarks":{"@id":"https://vocabulary.uncefact.org/remark"},"samples":{"@id":"https://w3id.org/traceability#FoodGradeInspectionSample"}},"@id":"https://w3id.org/traceability#FoodGradeInspectionLot"},"FoodGradeInspectionResult":{"@context":{"details":{"@id":"https://vocabulary.uncefact.org/additionalInformationNote"},"gradeInspected":{"@id":"https://vocabulary.uncefact.org/standard"},"requirementsMet":{"@id":"https://vocabulary.uncefact.org/assertion"}},"@id":"https://w3id.org/traceability#FoodGradeInspectionResult"},"FoodGradeInspectionSample":{"@context":{"sampleProperties":{"@id":"https://w3id.org/traceability#FoodGradeInspectionSampleProperty"},"sampleSizeUnits":{"@id":"https://schema.org/unitText"},"sampleSizeValue":{"@id":"https://schema.org/value"}},"@id":"https://w3id.org/traceability#FoodGradeInspectionSample"},"FoodGradeInspectionSampleProperty":{"@context":{"propertyName":{"@id":"https://schema.org/name"},"propertyValue":{"@id":"https://schema.org/value"}},"@id":"https://w3id.org/traceability#FoodGradeInspectionSampleProperty"},"ForeignChargeDeclaration":{"@context":{"foreignCharges":{"@id":"https://schema.org/price"},"foreignChargesCurrency":{"@id":"https://schema.org/currency"},"foreignCurrencyConvertionRate":{"@id":"https://schema.org/currentExchangeRate"}},"@id":"https://w3id.org/traceability#ForeignChargeDeclaration"},"FreightManifest":{"@context":{"billsOfLading":{"@id":"https://vocabulary.uncefact.org/manifestRelatedDocument"},"carrier":{"@id":"https://vocabulary.uncefact.org/carrierParty"},"carrierCode":{"@id":"https://service.unece.org/trade/uncefact/vocabulary/uncl1153/#Standard_Carrier_Alpha_Code_(SCAC)_number"},"transportMeans":{"@id":"https://vocabulary.uncefact.org/transportMeans"},"transportMeansId":{"@id":"https://schema.org/identifier"},"voyage":{"@id":"https://vocabulary.uncefact.org/TransportMovement"}},"@id":"https://vocabulary.uncefact.org/manifestRelatedDocument"},"FreightManifestCredential":{"@context":{},"@id":"https://w3id.org/traceability#FreightManifestCredential"},"FulfillmentRegistrationCredential":{"@context":{},"@id":"https://w3id.org/traceability#FulfillmentRegistrationCredential"},"GAPCorrectiveActionReport":{"@context":{"affirmingRepresentative":{"@id":"https://vocabulary.uncefact.org/associatedParty"},"correctiveAction":{"@id":"https://schema.org/potentialAction"},"nonconformityDescription":{"@id":"https://schema.org/description"},"notifiedCompanyStaff":{"@id":"https://schema.org/actionStatus"}},"@id":"https://w3id.org/traceability#GAPCorrectiveActionReport"},"GAPInspection":{"@context":{"GAPPlus":{"@id":"https://vocabulary.uncefact.org/documentTypeCode"},"additionalComments":{"@id":"https://vocabulary.uncefact.org/remarks"},"commoditiesCovered":{"@id":"https://schema.org/ItemList"},"commoditiesProduced":{"@id":"https://schema.org/ItemList"},"commonInfo":{"@id":"https://w3id.org/traceability#AgricultureInspectionCommonInfo"},"dateReviewed":{"@id":"https://www.gs1.org/voc/certificationAuditDate"},"distributeTo":{"@id":"https://vocabulary.uncefact.org/associatedParty"},"fieldOpsHarvestingScope":{"@id":"https://www.gs1.org/voc/certificationStatement"},"harvestCompany":{"@id":"https://vocabulary.uncefact.org/associatedParty"},"logoUseScope":{"@id":"https://www.gs1.org/voc/certificationStatement"},"meetsCriteria":{"@id":"https://www.gs1.org/voc/certificationStatus"},"operationDescription":{"@id":"https://schema.org/description"},"otherContractors":{"@id":"https://vocabulary.uncefact.org/associatedParty"},"personsInterviewed":{"@id":"https://vocabulary.uncefact.org/associatedParty"},"postHarvestOpsScope":{"@id":"https://www.gs1.org/voc/certificationStatement"},"requestedBy":{"@id":"https://vocabulary.uncefact.org/associatedParty"},"requirementResults":{"@id":"https://w3id.org/traceability#GAPRequirementResult"},"reviewingOfficial":{"@id":"https://vocabulary.uncefact.org/associatedParty"},"subjectToRule":{"@id":"https://vocabulary.uncefact.org/regulationConformityId"},"tomatoGreenhouseScope":{"@id":"https://www.gs1.org/voc/certificationStatement"},"tomatoPackingDistributionScope":{"@id":"https://www.gs1.org/voc/certificationStatement"},"tomatoPackinghouseScope":{"@id":"https://www.gs1.org/voc/certificationStatement"},"tomatoProdHarvestingScope":{"@id":"https://www.gs1.org/voc/certificationStatement"},"totalArea":{"@id":"https://www.gs1.org/voc/grossArea"},"usesLogo":{"@id":"https://vocabulary.uncefact.org/assertion"}},"@id":"https://w3id.org/traceability#GAPInspection"},"GAPInspectionCredential":{"@context":{},"@id":"https://w3id.org/traceability#GAPInspectionCredential"},"GAPLocationCertification":{"@context":{"gapInspection":{"@id":"https://www.gs1.org/voc/certification"},"isCertified":{"@id":"https://www.gs1.org/voc/certificationStatus"},"location":{"@id":"https://www.gs1.org/voc/certificationSubject"}},"@id":"https://w3id.org/traceability#GAPLocationCertification"},"GAPRequirementResult":{"@context":{"auditorComments":{"@id":"https://vocabulary.uncefact.org/remarks"},"correctiveActionReport":{"@id":"https://w3id.org/traceability#GAPCorrectiveActionReport"},"requirementNumber":{"@id":"https://vocabulary.uncefact.org/standard"},"resultCode":{"@id":"https://vocabulary.uncefact.org/assertionCode"}},"@id":"https://w3id.org/traceability#GAPRequirementResult"},"GS18PrefixLicenceCredential":{"@context":{},"@id":"https://w3id.org/traceability#GS18PrefixLicenceCredential"},"GS1CompanyPrefixLicenceCredential":{"@context":{},"@id":"https://w3id.org/traceability#GS1CompanyPrefixLicenceCredential"},"GS1DataCredential":{"@context":{},"@id":"https://w3id.org/traceability#GS1DataCredential"},"GS1DelegationCredential":{"@context":{},"@id":"https://w3id.org/traceability#GS1DelegationCredential"},"GS1IdentificationKeyLicenceCredential":{"@context":{},"@id":"https://w3id.org/traceability#GS1IdentificationKeyLicenceCredential"},"GS1KeyCredential":{"@context":{},"@id":"https://w3id.org/traceability#GS1KeyCredential"},"GS1PrefixLicenceCredential":{"@context":{},"@id":"https://w3id.org/traceability#GS1PrefixLicenceCredential"},"GeoCoordinates":{"@context":{"latitude":{"@id":"https://schema.org/latitude"},"longitude":{"@id":"https://schema.org/longitude"}},"@id":"https://schema.org/GeoCoordinates"},"HouseBillOfLading":{"@context":{"billOfLadingNumber":{"@id":"https://service.unece.org/trade/uncefact/vocabulary/uncl1153/#Bill_of_lading_number"},"bookingNumber":{"@id":"https://vocabulary.uncefact.org/carrierAssignedId"},"carrier":{"@id":"https://vocabulary.uncefact.org/carrierParty"},"consignee":{"@id":"https://vocabulary.uncefact.org/consigneeParty"},"declaredValue":{"@id":"https://vocabulary.uncefact.org/declaredValueForCarriageAmount"},"freightAndCharges":{"@id":"https://vocabulary.uncefact.org/applicableServiceCharge"},"includedConsignmentItems":{"@id":"https://vocabulary.uncefact.org/includedConsignmentItem"},"mainCarriageTransportMovement":{"@id":"https://vocabulary.uncefact.org/mainCarriageTransportMovement"},"notifyParty":{"@id":"https://vocabulary.uncefact.org/notifiedParty"},"onCarriageTransportMovement":{"@id":"https://vocabulary.uncefact.org/onCarriageTransportMovement"},"placeOfDelivery":{"@id":"https://schema.org/Place"},"placeOfReceipt":{"@id":"https://schema.org/Place"},"portOfDischarge":{"@id":"https://vocabulary.uncefact.org/unloadingLocation"},"portOfLoading":{"@id":"https://vocabulary.uncefact.org/transshipmentLocation"},"preCarriageTransportMovement":{"@id":"https://vocabulary.uncefact.org/preCarriageTransportMovement"},"shipper":{"@id":"https://vocabulary.uncefact.org/consignorParty"},"shippersReferences":{"@id":"https://service.unece.org/trade/uncefact/vocabulary/uncl1153/#Consignment_identifier_freight_forwarder_assigned"},"termsAndConditions":{"@id":"https://vocabulary.uncefact.org/termsAndConditionsDescription"},"totalNumberOfPackages":{"@id":"https://vocabulary.uncefact.org/packageQuantity"},"transportEquipmentQuantity":{"@id":"https://vocabulary.uncefact.org/transportEquipmentQuantity"}},"@id":"https://w3id.org/traceability#HouseBillOfLading"},"HouseBillOfLadingCredential":{"@context":{},"@id":"https://w3id.org/traceability#HouseBillOfLadingCredential"},"IATAAirWaybill":{"@context":{"accountingInformation":{"@id":"https://vocabulary.uncefact.org/typeCode"},"agentAccountNumber":{"@id":"https://schema.org/accountId"},"agentIATACode":{"@id":"https://onerecord.iata.org/cargo/Company#iataCargoAgentCode"},"airWaybillNumber":{"@id":"https://schema.org/orderNumber"},"airlineCodeNumber":{"@id":"https://onerecord.iata.org/cargo/Company#airlineCode"},"airportOfDeparture":{"@id":"https://onerecord.iata.org/cargo/Location#code"},"amountOfInsurance":{"@id":"https://schema.org/value"},"carrier":{"@id":"https://vocabulary.uncefact.org/carrierParty"},"chargeCodes":{"@id":"https://vocabulary.uncefact.org/chargeCategoryCode"},"collectChargeDeclaration":{"@id":"https://w3id.org/traceability#CollectChargeDeclaration"},"collectTotal":{"@id":"https://schema.org/totalPrice"},"conditionsOfContract":{"@id":"https://schema.org/termsOfService"},"consignee":{"@id":"https://vocabulary.uncefact.org/consigneeParty"},"consigneesAccountNumber":{"@id":"https://schema.org/accountId"},"consignmentRatingDetails":{"@id":"https://vocabulary.uncefact.org/includedConsignmentItem"},"currency":{"@id":"https://schema.org/currency"},"declaredValueForCarriage":{"@id":"https://schema.org/value"},"declaredValueForCustoms":{"@id":"https://vocabulary.uncefact.org/customsValueSpecifiedAmount"},"destinationAirport":{"@id":"https://onerecord.iata.org/cargo/Company#airlineCode"},"destinationCollectChargeDeclaration":{"@id":"https://w3id.org/traceability#DestinationCollectChargeDeclaration"},"executedAt":{"@id":"https://schema.org/Place"},"executedOn":{"@id":"https://w3id.org/traceability#executionTime"},"handlingInformation":{"@id":"https://vocabulary.uncefact.org/handlingInstructions"},"insuranceClauses":{"@id":"https://vocabulary.uncefact.org/contractualClause"},"issuingCarrierAgent":{"@id":"https://vocabulary.uncefact.org/carrierAgentParty"},"otherCharges":{"@id":"https://schema.org/price"},"otherChargesType":{"@id":"https://vocabulary.uncefact.org/chargeCategoryCode"},"prepaidChargeDeclaration":{"@id":"https://w3id.org/traceability#PrepaidChargeDeclaration"},"prepaidTotal":{"@id":"https://schema.org/totalPrice"},"requestedDate":{"@id":"https://w3id.org/traceability#requestDate"},"requestedFlight":{"@id":"https://schema.org/Flight"},"requestedRouting":{"@id":"https://schema.org/Trip"},"serialNumber":{"@id":"https://schema.org/serialNumber"},"shipper":{"@id":"https://vocabulary.uncefact.org/consignorParty"},"shippersAccountNumber":{"@id":"https://schema.org/accountId"},"shippersCertificationBox":{"@id":"https://vocabulary.uncefact.org/CertificateTypeCodeList#2"},"specialCustomsInformation":{"@id":"https://vocabulary.uncefact.org/SpecifiedDeclaration"},"totalCharge":{"@id":"https://schema.org/totalPrice"},"totalGrossWeight":{"@id":"https://vocabulary.uncefact.org/grossWeightMeasure"},"totalNumberOfPieces":{"@id":"https://vocabulary.uncefact.org/packageQuantity"},"waybillType":{"@id":"https://schema.org/DigitalDocument"},"weightValuationChargesType":{"@id":"https://vocabulary.uncefact.org/chargeCategoryCode"}},"@id":"https://w3id.org/traceability#IATAAirWaybill"},"IATAAirWaybillCredential":{"@context":{},"@id":"https://w3id.org/traceability#IATAAirWaybillCredential"},"ImporterSecurityFiling":{"@context":{"buyer":{"@id":"https://vocabulary.uncefact.org/buyerParty"},"consignee":{"@id":"https://vocabulary.uncefact.org/consigneeParty"},"consolidator":{"@id":"https://vocabulary.uncefact.org/consolidatorParty"},"containerStuffingLocation":{"@id":"https://w3id.org/traceability#containerStuffingLocation"},"filingItems":{"@id":"https://vocabulary.uncefact.org/includedConsignmentItem"},"importer":{"@id":"https://vocabulary.uncefact.org/importerParty"},"seller":{"@id":"https://vocabulary.uncefact.org/sellerParty"},"shipToParty":{"@id":"https://vocabulary.uncefact.org/shipToParty"}},"@id":"https://w3id.org/traceability#ImporterSecurityFiling"},"ImporterSecurityFilingCredential":{"@context":{},"@id":"https://w3id.org/traceability#ImporterSecurityFilingCredential"},"Inbond":{"@context":{"billOfLadingNumber":{"@id":"https://schema.org/identifier"},"carrier":{"@id":"https://vocabulary.uncefact.org/carrierParty"},"entryId":{"@id":"https://schema.org/identifier"},"expectedDeliveryDate":{"@id":"https://schema.org/DateTime"},"ftzNo":{"@id":"https://schema.org/identifier"},"inBondNumber":{"@id":"https://schema.org/identifier"},"inBondType":{"@id":"https://schema.org/identifier"},"irsNumber":{"@id":"https://schema.org/identifier"},"portOfArrival":{"@id":"https://www.gs1.org/voc/Place"},"portOfDestination":{"@id":"https://www.gs1.org/voc/Place"},"portOfEntry":{"@id":"https://www.gs1.org/voc/Place"},"product":{"@id":"https://www.gs1.org/voc/Product"},"recipient":{"@id":"https://vocabulary.uncefact.org/consigneeParty"},"shipment":{"@id":"https://schema.org/ParcelDelivery"},"totalOrderValue":{"@id":"https://schema.org/PriceSpecification"},"valuePerItem":{"@id":"https://schema.org/PriceSpecification"}},"@id":"https://w3id.org/traceability#Inbond"},"InspectionReport":{"@context":{"chemicalObservation":{"@id":"https://schema.org/ItemList"},"comment":{"@id":"https://schema.org/comment"},"inspectors":{"@id":"https://schema.org/Person"},"mechanicalObservation":{"@id":"https://schema.org/ItemList"},"place":{"@id":"https://schema.org/Place"}},"@id":"https://w3id.org/traceability#InspectionReport"},"Inspector":{"@context":{"person":{"@id":"https://schema.org/Person"},"qualification":{"@id":"https://w3id.org/traceability#qualification"}},"@id":"https://w3id.org/traceability#Inspector"},"Instructions":{"@context":{"description":{"@id":"https://schema.org/description"}},"@id":"https://vocabulary.uncefact.org/TransportInstructions"},"IntellectualPropertyRights":{"@context":{"intellectualPropertyRightsOwner":{"@id":"https://w3id.org/traceability#intellectualPropertyRightsOwner"},"intellectualPropertyRightsProduct":{"@id":"https://w3id.org/traceability#intellectualPropertyRightsProduct"},"intellectualPropertyRightsType":{"@id":"https://w3id.org/traceability#intellectualPropertyRightsType"}},"@id":"https://w3id.org/traceability#IntellectualPropertyRights"},"IntellectualPropertyRightsAffirmation":{"@context":{"affirmingParty":{"@id":"https://w3id.org/traceability#affirmingParty"},"evidenceDocumentUrl":{"@id":"https://schema.org/url"},"intellectualPropertyRightsType":{"@id":"https://w3id.org/traceability#intellectualPropertyRightsType"}},"@id":"https://w3id.org/traceability#IntellectualPropertyRightsAffirmation"},"IntellectualPropertyRightsCredential":{"@context":{},"@id":"https://w3id.org/traceability#IntellectualPropertyRightsCredential"},"IntentToImport":{"@context":{"declarationDate":{"@id":"https://schema.org/startDate"},"exporter":{"@id":"https://vocabulary.uncefact.org/exporterParty"},"importer":{"@id":"https://vocabulary.uncefact.org/importerParty"},"product":{"@id":"https://www.gs1.org/voc/Product"}},"@id":"https://w3id.org/traceability#IntentToImport"},"IntentToImportCredential":{"@context":{},"@id":"https://w3id.org/traceability#IntentToImportCredential"},"InventoryRegistrationCredential":{"@context":{},"@id":"https://w3id.org/traceability#InventoryRegistrationCredential"},"Invoice":{"@context":{"billOfLadingNumber":{"@id":"https://service.unece.org/trade/uncefact/vocabulary/uncl1153/#Bill_of_lading_number"},"buyer":{"@id":"https://vocabulary.uncefact.org/buyerParty"},"comments":{"@id":"https://schema.org/Comment"},"consignee":{"@id":"https://vocabulary.uncefact.org/consigneeParty"},"customerReferenceNumber":{"@id":"https://service.unece.org/trade/uncefact/vocabulary/uncl1153/#Customer_reference_number"},"deductions":{"@id":"https://vocabulary.uncefact.org/deductionAmount"},"destinationCountry":{"@id":"https://vocabulary.uncefact.org/destinationCountry"},"discounts":{"@id":"https://schema.org/discount"},"freightCost":{"@id":"https://schema.org/DeliveryChargeSpecification"},"identifier":{"@id":"https://schema.org/identifier"},"insuranceCost":{"@id":"https://vocabulary.uncefact.org/insuranceChargeTotalAmount"},"invoiceDate":{"@id":"https://vocabulary.uncefact.org/invoiceDateTime"},"invoiceNumber":{"@id":"https://vocabulary.uncefact.org/invoiceIssuerReference"},"itemsShipped":{"@id":"https://schema.org/itemShipped"},"letterOfCreditNumber":{"@id":"https://vocabulary.uncefact.org/letterOfCreditDocument"},"originCountry":{"@id":"https://vocabulary.uncefact.org/originCountry"},"packageQuantity":{"@id":"https://vocabulary.uncefact.org/packageQuantity"},"portOfEntry":{"@id":"https://schema.org/Place"},"purchaseDate":{"@id":"https://schema.org/paymentDueDate"},"referencesOrder":{"@id":"https://schema.org/referencesOrder"},"seller":{"@id":"https://vocabulary.uncefact.org/sellerParty"},"tax":{"@id":"https://vocabulary.uncefact.org/taxTotalAmount"},"termsOfDelivery":{"@id":"https://vocabulary.uncefact.org/specifiedDeliveryTerms"},"termsOfPayment":{"@id":"https://vocabulary.uncefact.org/specifiedPaymentTerms"},"termsOfSettlement":{"@id":"https://schema.org/currency"},"totalPaymentDue":{"@id":"https://schema.org/totalPaymentDue"},"totalWeight":{"@id":"https://schema.org/weight"}},"@id":"https://schema.org/Invoice"},"LEIaddress":{"@context":{"addressNumberWithinBuilding":{"@id":"https://schema.org/value"},"city":{"@id":"https://schema.org/addressLocality"},"country":{"@id":"https://schema.org/addressCountry"},"language":{"@id":"https://schema.org/Language"},"mailRouting":{"@id":"https://schema.org/Trip"},"postalCode":{"@id":"https://schema.org/postalCode"},"region":{"@id":"https://schema.org/addressRegion"}},"@id":"https://w3id.org/traceability#LEIaddress"},"LEIauthority":{"@context":{"otherValidationAuthorityID":{"@id":"https://schema.org/taxID"},"validationAuthorityEntityID":{"@id":"https://schema.org/leiCode"},"validationAuthorityID":{"@id":"https://schema.org/identifier"}},"@id":"https://w3id.org/traceability#LEIauthority"},"LEIentity":{"@context":{"associatedEntity":{"@id":"https://schema.org/Organization"},"entityCategory":{"@id":"https://schema.org/category"},"expirationDate":{"@id":"https://schema.org/expires"},"expirationReason":{"@id":"https://schema.org/Answer"},"headquartersAddress":{"@id":"https://schema.org/PostalAddress"},"legalAddress":{"@id":"https://w3id.org/traceability#LEIaddress"},"legalForm":{"@id":"https://schema.org/additionalType"},"legalJurisdiction":{"@id":"https://schema.org/countryOfOrigin"},"legalName":{"@id":"https://schema.org/legalName"},"legalNameLanguage":{"@id":"https://schema.org/Language"},"otherAddresses":{"@id":"https://schema.org/Place"},"registrationAuthority":{"@id":"https://w3id.org/traceability#LEIauthority"},"status":{"@id":"https://schema.org/status"},"successorEntity":{"@id":"https://schema.org/Corporation"}},"@id":"https://w3id.org/traceability#LEIentity"},"LEIevidenceDocument":{"@context":{"entity":{"@id":"https://w3id.org/traceability#LEIentity"},"lei":{"@id":"https://www.gleif.org/en/about-lei/iso-17442-the-lei-code-structure#"},"registration":{"@id":"https://w3id.org/traceability#LEIregistration"}},"@id":"https://w3id.org/traceability#LEIevidenceDocument"},"LEIregistration":{"@context":{"initialRegistrationDate":{"@id":"https://schema.org/dateIssued"},"lastUpdateDate":{"@id":"https://schema.org/dateModified"},"managingLou":{"@id":"https://www.gleif.org/en/about-lei/iso-17442-the-lei-code-structure#"},"nextRenewalDate":{"@id":"https://schema.org/validThrough"},"status":{"@id":"https://schema.org/status"},"validationAuthority":{"@id":"https://w3id.org/traceability#LEIauthority"},"validationSources":{"@id":"https://schema.org/eventStatus"}},"@id":"https://w3id.org/traceability#LEIregistration"},"LaceyActProductDeclaration":{"@context":{"articleOrComponent":{"@id":"https://vocabulary.uncefact.org/procedureCode"},"countryOfHarvest":{"@id":"https://vocabulary.uncefact.org/originCountry"},"enteredValue":{"@id":"https://vocabulary.uncefact.org/customsValueSpecifiedAmount"},"htsNumber":{"@id":"https://vocabulary.uncefact.org/applicableRegulatoryProcedure"},"percentRecycled":{"@id":"https://qudt.org/vocab/unit/PERCENT"},"plantScientificNames":{"@id":"https://w3id.org/traceability#Taxonomy"},"quantityOfPlantMaterial":{"@id":"https://vocabulary.uncefact.org/totalPackageSpecifiedQuantity"}},"@id":"https://w3id.org/traceability#LaceyActProductDeclaration"},"LinkRole":{"@context":{"linkRelationship":{"@id":"https://schema.org/linkRelationship"},"target":{"@id":"https://schema.org/target"}},"@id":"https://schema.org/LinkRole"},"MapResource":{"@context":{"external":{"@id":"https://w3id.org/traceability#ExternalResource"},"geoJson":{"@id":"https://schema.org/geo"},"resourceType":{"@id":"https://schema.org/additionalType"}},"@id":"https://w3id.org/traceability#MapResource"},"MasterBillOfLading":{"@context":{"billOfLadingNumber":{"@id":"https://service.unece.org/trade/uncefact/vocabulary/uncl1153/#Bill_of_lading_number"},"bookingNumber":{"@id":"https://vocabulary.uncefact.org/carrierAssignedId"},"carrier":{"@id":"https://vocabulary.uncefact.org/carrierParty"},"consignee":{"@id":"https://vocabulary.uncefact.org/consigneeParty"},"declaredValue":{"@id":"https://vocabulary.uncefact.org/declaredValueForCarriageAmount"},"forwardingAgent":{"@id":"https://vocabulary.uncefact.org/freightForwarderParty"},"freightAndCharges":{"@id":"https://vocabulary.uncefact.org/applicableServiceCharge"},"includedConsignmentItems":{"@id":"https://vocabulary.uncefact.org/includedConsignmentItem"},"mainCarriageTransportMovement":{"@id":"https://vocabulary.uncefact.org/mainCarriageTransportMovement"},"notifyParty":{"@id":"https://vocabulary.uncefact.org/notifiedParty"},"onCarriageTransportMovement":{"@id":"https://vocabulary.uncefact.org/onCarriageTransportMovement"},"placeOfDelivery":{"@id":"https://schema.org/Place"},"placeOfReceipt":{"@id":"https://schema.org/Place"},"portOfDischarge":{"@id":"https://vocabulary.uncefact.org/unloadingLocation"},"portOfLoading":{"@id":"https://vocabulary.uncefact.org/transshipmentLocation"},"preCarriageTransportMovement":{"@id":"https://vocabulary.uncefact.org/preCarriageTransportMovement"},"scac":{"@id":"https://service.unece.org/trade/uncefact/vocabulary/uncl1153/#Standard_Carrier_Alpha_Code_(SCAC)_number"},"shippedOnBoardDate":{"@id":"https://schema.org/Date"},"shipper":{"@id":"https://vocabulary.uncefact.org/consignorParty"},"shippersReferences":{"@id":"https://service.unece.org/trade/uncefact/vocabulary/uncl1153/#Consignment_identifier_freight_forwarder_assigned"},"termsAndConditions":{"@id":"https://vocabulary.uncefact.org/termsAndConditionsDescription"},"totalNumberOfPackages":{"@id":"https://vocabulary.uncefact.org/packageQuantity"},"transportEquipmentQuantity":{"@id":"https://vocabulary.uncefact.org/transportEquipmentQuantity"},"utilizedTransportEquipment":{"@id":"https://vocabulary.uncefact.org/utilizedTransportEquipment"}},"@id":"https://w3id.org/traceability#MasterBillOfLading"},"MasterBillOfLadingCredential":{"@context":{},"@id":"https://w3id.org/traceability#MasterBillOfLadingCredential"},"MeasuredProperty":{"@context":{},"@id":"https://w3id.org/traceability#MeasuredProperty"},"MeasuredValue":{"@context":{"unitCode":{"@id":"https://schema.org/unitCode"},"value":{"@id":"https://schema.org/value"}},"@id":"https://schema.org/QuantitativeValue"},"MechanicalProperty":{"@context":{"description":{"@id":"https://schema.org/description"},"identifier":{"@id":"https://schema.org/identifier"},"name":{"@id":"https://schema.org/name"}},"@id":"https://w3id.org/traceability#MechanicalProperty"},"MillTestReportCredential":{"@context":{},"@id":"https://w3id.org/traceability#MillTestReportCredential"},"MonetaryAmount":{"@context":{"currency":{"@id":"https://schema.org/currency"},"value":{"@id":"https://schema.org/value"}},"@id":"https://schema.org/MonetaryAmount"},"MonthlyAdvanceManifest":{"@context":{"date":{"@id":"https://schema.org/Date"}},"@id":"https://w3id.org/traceability#MonthlyAdvanceManifest"},"MonthlyAdvanceManifestCredential":{"@context":{},"@id":"https://w3id.org/traceability#MonthlyAdvanceManifestCredential"},"MonthlyDeliveryStatement":{"@context":{"itemsDelivered":{"@id":"https://w3id.org/traceability#DeliveryStatement"}},"@id":"https://w3id.org/traceability#MonthlyDeliveryStatement"},"MultiModalBillOfLading":{"@context":{"billOfLadingNumber":{"@id":"https://service.unece.org/trade/uncefact/vocabulary/uncl1153/#Bill_of_lading_number"},"bookingNumber":{"@id":"https://vocabulary.uncefact.org/carrierAssignedId"},"carrier":{"@id":"https://vocabulary.uncefact.org/carrierParty"},"consignee":{"@id":"https://vocabulary.uncefact.org/consigneeParty"},"declaredValue":{"@id":"https://vocabulary.uncefact.org/declaredValueForCarriageAmount"},"freightAndCharges":{"@id":"https://vocabulary.uncefact.org/applicableServiceCharge"},"mainCarriageTransportMovement":{"@id":"https://vocabulary.uncefact.org/mainCarriageTransportMovement"},"notifyParty":{"@id":"https://vocabulary.uncefact.org/notifiedParty"},"onCarriageTransportMovement":{"@id":"https://vocabulary.uncefact.org/onCarriageTransportMovement"},"particulars":{"@id":"https://vocabulary.uncefact.org/includedConsignmentItem"},"placeOfDelivery":{"@id":"https://schema.org/Place"},"placeOfReceipt":{"@id":"https://schema.org/Place"},"portOfDischarge":{"@id":"https://vocabulary.uncefact.org/unloadingLocation"},"portOfLoading":{"@id":"https://vocabulary.uncefact.org/transshipmentLocation"},"preCarriageTransportMovement":{"@id":"https://vocabulary.uncefact.org/preCarriageTransportMovement"},"shippedOnBoardDate":{"@id":"https://schema.org/Date"},"shipper":{"@id":"https://vocabulary.uncefact.org/consignorParty"},"shippersReferences":{"@id":"https://service.unece.org/trade/uncefact/vocabulary/uncl1153/#Consignment_identifier_freight_forwarder_assigned"},"termsAndConditions":{"@id":"https://vocabulary.uncefact.org/termsAndConditionsDescription"},"totalNumberOfPackages":{"@id":"https://vocabulary.uncefact.org/packageQuantity"},"transportEquipmentQuantity":{"@id":"https://vocabulary.uncefact.org/transportEquipmentQuantity"},"utilizedTransportEquipment":{"@id":"https://vocabulary.uncefact.org/utilizedTransportEquipment"}},"@id":"https://w3id.org/traceability#MultiModalBillOfLading"},"MultiModalBillOfLadingCredential":{"@context":{},"@id":"https://w3id.org/traceability#MultiModalBillOfLadingCredential"},"NAISMADateTime":{"@context":{"collectionDate":{"@id":"http://rs.tdwg.org/dwc/terms/eventDate"},"dateAccuracyDays":{"@id":"https://schema.org/value"}},"@id":"https://w3id.org/traceability#NAISMADateTime"},"NAISMAInfestation":{"@context":{"areaSurveyed":{"@id":"http://rs.tdwg.org/dwc/terms/measurementValue"},"incidence":{"@id":"http://rs.tdwg.org/dwc/terms/measurementValue"},"infestedArea":{"@id":"http://rs.tdwg.org/dwc/terms/measurementValue"},"organismQuantity":{"@id":"http://rs.tdwg.org/dwc/terms/organismQuantity"},"organismQuantityUnits":{"@id":"https://schema.org/unitText"},"severity":{"@id":"http://rs.tdwg.org/dwc/terms/measurementValue"},"severityUnits":{"@id":"https://schema.org/unitText"}},"@id":"https://w3id.org/traceability#NAISMAInfestation"},"NAISMAInformationSource":{"@context":{"dataSource":{"@id":"https://w3id.org/traceability#Entity"},"examiner":{"@id":"http://rs.tdwg.org/dwc/terms/recordedBy"},"reference":{"@id":"http://rs.tdwg.org/dwc/terms/associatedReferences"}},"@id":"https://w3id.org/traceability#NAISMAInformationSource"},"NAISMALocation":{"@context":{"centroidType":{"@id":"https://schema.org/polygon"},"coordinateUncertainty":{"@id":"http://rs.tdwg.org/dwc/terms/coordinateUncertaintyInMeters"},"dataType":{"@id":"https://schema.org/additionalType"},"datum":{"@id":"http://rs.tdwg.org/dwc/terms/geodeticDatum"},"description":{"@id":"https://schema.org/description"},"ecosystem":{"@id":"http://rs.tdwg.org/dwc/terms/locationRemarks"},"location":{"@id":"https://w3id.org/traceability#Place"},"sourceOfLocation":{"@id":"http://rs.tdwg.org/dwc/terms/georeferenceProtocol"},"wellKnownText":{"@id":"http://rs.tdwg.org/dwc/terms/footprintWKT"}},"@id":"https://w3id.org/traceability#NAISMALocation"},"NAISMARecordLevelIdentifiers":{"@context":{"catalogNumber":{"@id":"https://schema.org/identifier"},"pid":{"@id":"https://schema.org/identifier"},"uuid":{"@id":"https://schema.org/identifier"}},"@id":"https://w3id.org/traceability#NAISMARecordLevelIdentifiers"},"NAISMARecordStatus":{"@context":{"managementStatus":{"@id":"https://schema.org/status"},"method":{"@id":"http://rs.tdwg.org/dwc/terms/measurementMethod"},"occurrenceStatus":{"@id":"https://schema.org/status"},"populationStatus":{"@id":"http://rs.tdwg.org/dwc/terms/degreeOfEstablishment"},"recordBasis":{"@id":"http://rs.tdwg.org/dwc/terms/samplingProtocol"},"recordType":{"@id":"https://schema.org/description"},"verificationMethod":{"@id":"http://rs.tdwg.org/dwc/terms/identificationRemarks"}},"@id":"https://w3id.org/traceability#NAISMARecordStatus"},"NAISMASubject":{"@context":{"comments":{"@id":"http://rs.tdwg.org/dwc/terms/occurrenceRemarks"},"hostSpecies":{"@id":"https://w3id.org/traceability#Taxonomy"},"lifeStage":{"@id":"http://rs.tdwg.org/dwc/terms/lifeStage"},"sex":{"@id":"http://rs.tdwg.org/dwc/terms/sex"}},"@id":"https://w3id.org/traceability#NAISMASubject"},"NAISMATaxonomy":{"@context":{"commonName":{"@id":"http://rs.tdwg.org/dwc/terms/vernacularName"},"speciesName":{"@id":"https://w3id.org/traceability#Taxonomy"},"taxonomicSerialNumber":{"@id":"http://rs.tdwg.org/dwc/terms/taxonID"}},"@id":"https://w3id.org/traceability#NAISMATaxonomy"},"Observation":{"@context":{"date":{"@id":"https://schema.org/observationDate"},"measurement":{"@id":"https://w3id.org/traceability#MeasuredValue"},"property":{"@id":"https://schema.org/measuredProperty"}},"@id":"https://schema.org/Observation"},"OilAndGasDeliveryTicket":{"@context":{"batchNumber":{"@id":"https://vocabulary.uncefact.org/ReferenceCodeList#BT"},"closeDate":{"@id":"https://schema.org/Date"},"consignee":{"@id":"https://vocabulary.uncefact.org/consigneeParty"},"consignor":{"@id":"https://vocabulary.uncefact.org/consignorParty"},"createdDate":{"@id":"https://schema.org/Date"},"observation":{"@id":"https://w3id.org/traceability#observation"},"openDate":{"@id":"https://schema.org/Date"},"place":{"@id":"https://schema.org/Place"},"product":{"@id":"https://www.gs1.org/voc/Product"},"ticketControlNumber":{"@id":"https://vocabulary.uncefact.org/ReferenceCodeList#CBA"}},"@id":"https://w3id.org/traceability#OilAndGasDeliveryTicket"},"OilAndGasDeliveryTicketCredential":{"@context":{},"@id":"https://w3id.org/traceability#OilAndGasDeliveryTicketCredential"},"OilAndGasProduct":{"@context":{"UWI":{"@id":"https://schema.org/identifier"},"facility":{"@id":"https://www.gs1.org/voc/Place"},"observation":{"@id":"https://w3id.org/traceability#observation"},"product":{"@id":"https://www.gs1.org/voc/Product"},"productionDate":{"@id":"https://schema.org/DateTime"}},"@id":"https://w3id.org/traceability#OilAndGasProduct"},"OilAndGasProductCredential":{"@context":{},"@id":"https://w3id.org/traceability#OilAndGasProductCredential"},"Order":{"@context":{"orderNumber":{"@id":"https://schema.org/orderNumber"},"orderedItems":{"@id":"https://schema.org/orderedItem"}},"@id":"https://schema.org/Order"},"OrderConfirmationCredential":{"@context":{},"@id":"https://w3id.org/traceability#OrderConfirmationCredential"},"OrderItem":{"@context":{"fulfillmentCenter":{"@id":"https://vocabulary.uncefact.org/logisticsServiceProviderParty"},"marketplace":{"@id":"https://vocabulary.uncefact.org/Marketplace"},"orderedItem":{"@id":"https://schema.org/orderedItem"},"orderedQuantity":{"@id":"https://schema.org/orderQuantity"}},"@id":"https://schema.org/OrderItem"},"OrganicCertification":{"@context":{"anniversaryDate":{"@id":"https://www.gs1.org/voc/certificationEndDate"},"certifiedOperation":{"@id":"https://www.gs1.org/voc/certificationSubject"},"certifyingAgent":{"@id":"https://www.gs1.org/voc/certificationAgency"},"countryOfIssuance":{"@id":"https://www.gs1.org/voc/countryCode"},"effectiveDate":{"@id":"https://www.gs1.org/voc/certificationStartDate"},"issueDate":{"@id":"https://www.gs1.org/voc/initialCertificationDate"},"operationCategory":{"@id":"https://www.gs1.org/voc/certificationStatement"},"organicProducts":{"@id":"https://www.gs1.org/voc/certificationStatement"}},"@id":"https://w3id.org/traceability#OrganicCertification"},"OrganicCertificationCredential":{"@context":{},"@id":"https://w3id.org/traceability#OrganicCertificationCredential"},"OrganicInspection":{"@context":{"OSPSectionReviews":{"@id":"https://w3id.org/traceability#OrganicOSPSectionReview"},"announcedInspection":{"@id":"https://vocabulary.uncefact.org/information"},"applicantCertificationNumber":{"@id":"https://vocabulary.uncefact.org/identification"},"attachments":{"@id":"https://vocabulary.uncefact.org/additionalDocument"},"authorizedOperationContacts":{"@id":"https://vocabulary.uncefact.org/specifiedContactPerson"},"commonInfo":{"@id":"https://w3id.org/traceability#AgricultureInspectionCommonInfo"},"continuingCertification":{"@id":"https://vocabulary.uncefact.org/information"},"estimatedHarvestDate":{"@id":"https://www.gs1.org/voc/harvestDate"},"introductionOperationDescription":{"@id":"https://schema.org/description"},"issuesRequests":{"@id":"https://vocabulary.uncefact.org/additionalDescription"},"newApplicant":{"@id":"https://vocabulary.uncefact.org/information"},"newLocationActivity":{"@id":"https://vocabulary.uncefact.org/information"},"peoplePresent":{"@id":"https://vocabulary.uncefact.org/associatedParty"},"pesticideResidueSampling":{"@id":"https://vocabulary.uncefact.org/information"},"reinstatement":{"@id":"https://vocabulary.uncefact.org/information"},"resolutionIssuesActionItems":{"@id":"https://schema.org/description"},"samplingDetails":{"@id":"https://vocabulary.uncefact.org/content"}},"@id":"https://w3id.org/traceability#OrganicInspection"},"OrganicOSPSectionReview":{"@context":{"OSPSectionCode":{"@id":"https://vocabulary.uncefact.org/standard"},"attachments":{"@id":"https://vocabulary.uncefact.org/additionalDocument"},"resultCode":{"@id":"https://vocabulary.uncefact.org/assertionCode"},"verificationExplanations":{"@id":"https://vocabulary.uncefact.org/remarks"}},"@id":"https://w3id.org/traceability#OrganicOSPSectionReview"},"OrganicProductCertification":{"@context":{"agricultureProduct":{"@id":"https://www.gs1.org/voc/certificationSubject"},"isCertified":{"@id":"https://www.gs1.org/voc/certificationStatus"},"organicCertification":{"@id":"https://www.gs1.org/voc/certification"}},"@id":"https://w3id.org/traceability#OrganicProductCertification"},"OrganicReview":{"@context":{"additionalInformation":{"@id":"https://vocabulary.uncefact.org/content"},"certificationDecision":{"@id":"https://www.gs1.org/voc/certificationStatus"},"decisionMaker":{"@id":"https://vocabulary.uncefact.org/specifiedContactPerson"},"inspectionReport":{"@id":"https://w3id.org/traceability#OrganicInspection"},"reviewer":{"@id":"https://vocabulary.uncefact.org/specifiedContactPerson"}},"@id":"https://w3id.org/traceability#OrganicReview"},"Organization":{"@context":{"contactPoint":{"@id":"https://schema.org/ContactPoint"},"description":{"@id":"https://schema.org/description"},"email":{"@id":"https://schema.org/email"},"faxNumber":{"@id":"https://schema.org/faxNumber"},"globalLocationNumber":{"@id":"https://schema.org/globalLocationNumber"},"iataCarrierCode":{"@id":"https://onerecord.iata.org/cargo/Company#airlineCode"},"legalName":{"@id":"https://schema.org/legalName"},"leiCode":{"@id":"https://schema.org/leiCode"},"location":{"@id":"https://schema.org/location"},"logo":{"@id":"https://schema.org/logo"},"name":{"@id":"https://schema.org/name"},"phoneNumber":{"@id":"https://schema.org/telephone"},"taxId":{"@id":"https://schema.org/taxID"},"url":{"@id":"https://schema.org/url"}},"@id":"https://schema.org/Organization"},"OssfScorecard":{"@context":{},"@id":"https://w3id.org/traceability#OssfScorecard"},"PGAShipmentStatus":{"@context":{"entryLineSequence":{"@id":"https://w3id.org/traceability#entryLineSequence"},"entryNo":{"@id":"https://w3id.org/traceability#entryNo"},"recordNo":{"@id":"https://w3id.org/traceability#recordNo"},"statusCode":{"@id":"https://w3id.org/traceability#statusCode"},"statusCodeDescription":{"@id":"https://w3id.org/traceability#statusCodeDescription"},"subReasonCode":{"@id":"https://w3id.org/traceability#subReasonCode"},"subReasonCodeDescription":{"@id":"https://w3id.org/traceability#subReasonCodeDescription"},"validCodeReason":{"@id":"https://w3id.org/traceability#validCodeReason"},"validCodeReasonDescription":{"@id":"https://w3id.org/traceability#validCodeReasonDescription"}},"@id":"https://w3id.org/traceability#PGAShipmentStatus"},"PGAShipmentStatusCredential":{"@context":{},"@id":"https://w3id.org/traceability#PGAShipmentStatusCredential"},"PGAShipmentStatusList":{"@context":{"pgaShipmentStatusItems":{"@id":"https://schema.org/ItemList"}},"@id":"https://w3id.org/traceability#PGAShipmentStatusList"},"Package":{"@context":{"depth":{"@id":"https://schema.org/depth"},"grossVolume":{"@id":"https://vocabulary.uncefact.org/grossVolumeMeasure"},"grossWeight":{"@id":"https://vocabulary.uncefact.org/grossWeightMeasure"},"height":{"@id":"https://schema.org/height"},"includedTradeLineItems":{"@id":"https://vocabulary.uncefact.org/specifiedTradeLineItem"},"netWeight":{"@id":"https://vocabulary.uncefact.org/netWeightMeasure"},"packagingType":{"@id":"https://www.gs1.org/voc/packagingMaterial"},"perPackageUnitQuantity":{"@id":"https://vocabulary.uncefact.org/perPackageUnitQuantity"},"physicalShippingMarks":{"@id":"https://vocabulary.uncefact.org/physicalShippingMarks"},"width":{"@id":"https://schema.org/width"}},"@id":"https://vocabulary.uncefact.org/Package"},"PackingList":{"@context":{"buyer":{"@id":"https://vocabulary.uncefact.org/buyerParty"},"deliveryStatus":{"@id":"https://schema.org/deliveryStatus"},"estimatedTimeOfArrival":{"@id":"https://schema.org/arrivalTime"},"handlingInstructions":{"@id":"https://vocabulary.uncefact.org/handlingInstructions"},"hasDeliveryMethod":{"@id":"https://schema.org/hasDeliveryMethod"},"invoiceId":{"@id":"https://schema.org/identifier"},"orderNumber":{"@id":"https://schema.org/orderNumber"},"partOfOrder":{"@id":"https://vocabulary.uncefact.org/includedConsignmentItem"},"seller":{"@id":"https://vocabulary.uncefact.org/sellerParty"},"shipFromParty":{"@id":"https://vocabulary.uncefact.org/shipFromParty"},"shipToParty":{"@id":"https://vocabulary.uncefact.org/shipToParty"},"shipmentId":{"@id":"https://vocabulary.uncefact.org/MarkingInstructionCodeList#37"},"totalGrossVolume":{"@id":"https://vocabulary.uncefact.org/grossVolumeMeasure"},"totalGrossWeight":{"@id":"https://vocabulary.uncefact.org/grossWeightMeasure"},"totalItemQuantity":{"@id":"https://vocabulary.uncefact.org/tradeLineItemQuantity"},"totalNetWeight":{"@id":"https://vocabulary.uncefact.org/netWeightMeasure"},"totalNumberOfPackages":{"@id":"https://vocabulary.uncefact.org/packageQuantity"},"trackingNumber":{"@id":"https://schema.org/trackingNumber"}},"@id":"https://w3id.org/traceability#PackingList"},"PackingListCredential":{"@context":{},"@id":"https://w3id.org/traceability#PackingListCredential"},"ParcelDelivery":{"@context":{"consignee":{"@id":"https://schema.org/Organization"},"deliveryAddress":{"@id":"https://schema.org/deliveryAddress"},"deliveryMethod":{"@id":"https://schema.org/DeliveryMethod"},"expectedArrival":{"@id":"https://schema.org/expectedArrivalFrom"},"item":{"@id":"https://schema.org/itemShipped"},"originAddress":{"@id":"https://schema.org/originAddress"},"partOfOrder":{"@id":"https://schema.org/partOfOrder"},"specialInstructions":{"@id":"https://schema.org/comment"},"trackingNumber":{"@id":"https://schema.org/trackingNumber"}},"@id":"https://schema.org/ParcelDelivery"},"PartOfOrder":{"@context":{"grossVolume":{"@id":"https://vocabulary.uncefact.org/grossVolumeMeasure"},"grossWeight":{"@id":"https://vocabulary.uncefact.org/grossWeightMeasure"},"itemQuantity":{"@id":"https://vocabulary.uncefact.org/tradeLineItemQuantity"},"manufacturer":{"@id":"https://schema.org/Organization"},"netWeight":{"@id":"https://vocabulary.uncefact.org/netWeightMeasure"},"orderNumber":{"@id":"https://schema.org/orderNumber"},"packageQuantity":{"@id":"https://vocabulary.uncefact.org/packageQuantity"},"transportPackages":{"@id":"https://vocabulary.uncefact.org/Package"}},"@id":"https://schema.org/OrderItem"},"Person":{"@context":{"email":{"@id":"https://schema.org/email"},"firstName":{"@id":"https://schema.org/givenName"},"jobTitle":{"@id":"https://schema.org/jobTitle"},"lastName":{"@id":"https://schema.org/familyName"},"phoneNumber":{"@id":"https://schema.org/telephone"},"taxId":{"@id":"https://schema.org/taxID"},"worksFor":{"@id":"https://schema.org/worksFor"}},"@id":"https://schema.org/Person"},"PestDetermination":{"@context":{"date":{"@id":"https://dwc.tdwg.org/list/#dwc_dateIdentified"},"determination":{"@id":"https://w3id.org/traceability#Taxonomy"},"determinedBy":{"@id":"https://dwc.tdwg.org/list/#dwc_identifiedBy"},"final":{"@id":"https://dwc.tdwg.org/list/#dwc_identificationVerificationStatus"},"method":{"@id":"https://dwc.tdwg.org/list/#dwc_measurementMethod"},"notes":{"@id":"https://dwc.tdwg.org/list/#dwc_identificationRemarks"},"reportable":{"@id":"https://dwc.tdwg.org/list/#dwc_occurrenceStatus"}},"@id":"https://w3id.org/traceability#PestDetermination"},"PestSample":{"@context":{"affected":{"@id":"https://dwc.tdwg.org/list/#dwc_measurementValue"},"aliveAdults":{"@id":"http://rs.tdwg.org/dwc/terms/individualCount"},"aliveCysts":{"@id":"http://rs.tdwg.org/dwc/terms/individualCount"},"aliveEggs":{"@id":"http://rs.tdwg.org/dwc/terms/individualCount"},"aliveJuveniles":{"@id":"http://rs.tdwg.org/dwc/terms/individualCount"},"aliveLarvae":{"@id":"http://rs.tdwg.org/dwc/terms/individualCount"},"aliveNymphs":{"@id":"http://rs.tdwg.org/dwc/terms/individualCount"},"alivePupae":{"@id":"http://rs.tdwg.org/dwc/terms/individualCount"},"castSkins":{"@id":"http://rs.tdwg.org/dwc/terms/individualCount"},"deadAdults":{"@id":"http://rs.tdwg.org/dwc/terms/individualCount"},"deadCysts":{"@id":"http://rs.tdwg.org/dwc/terms/individualCount"},"deadEggs":{"@id":"http://rs.tdwg.org/dwc/terms/individualCount"},"deadJuveniles":{"@id":"http://rs.tdwg.org/dwc/terms/individualCount"},"deadLarvae":{"@id":"http://rs.tdwg.org/dwc/terms/individualCount"},"deadNymphs":{"@id":"http://rs.tdwg.org/dwc/terms/individualCount"},"deadPupae":{"@id":"http://rs.tdwg.org/dwc/terms/individualCount"},"hostName":{"@id":"https://w3id.org/traceability#Taxonomy"},"hostQuantity":{"@id":"http://rs.tdwg.org/dwc/terms/organismQuantity"},"pestDistribution":{"@id":"http://rs.tdwg.org/dwc/terms/degreeOfEstablishment"},"pestProximity":{"@id":"http://rs.tdwg.org/dwc/terms/occurrenceRemarks"},"pestType":{"@id":"http://rs.tdwg.org/dwc/terms/occurrenceRemarks"},"plantDistribution":{"@id":"http://rs.tdwg.org/dwc/terms/degreeOfEstablishment"},"plantPartsAffected":{"@id":"http://rs.tdwg.org/dwc/terms/occurrenceRemarks"},"samplingMethod":{"@id":"http://rs.tdwg.org/dwc/terms/samplingProtocol"},"trapLureType":{"@id":"http://rs.tdwg.org/dwc/terms/samplingProtocol"},"trapNumber":{"@id":"http://rs.tdwg.org/dwc/terms/samplingProtocol"}},"@id":"https://w3id.org/traceability#PestSample"},"Phytosanitary":{"@context":{"additionalDeclaration":{"@id":"https://schema.org/Comment"},"agriculturePackage":{"@id":"https://w3id.org/traceability#AgriculturePackage"},"applicant":{"@id":"https://w3c-ccg.github.io/traceability-vocab/#dfn-entities"},"certificateNumber":{"@id":"https://schema.org/identifier"},"disinfectionChemical":{"@id":"https://schema.org/activeIngredient"},"disinfectionConcentration":{"@id":"https://w3id.org/traceability#disinfectionConcentration"},"disinfectionDate":{"@id":"https://schema.org/validFrom"},"disinfectionDuration":{"@id":"https://schema.org/duration"},"disinfectionTemperature":{"@id":"https://schema.org/MeasuredValue"},"disinfectionTreatment":{"@id":"https://w3id.org/traceability#disinfectionTreatment"},"distinguishingMarks":{"@id":"https://www.gs1.org/voc/variantDescription"},"facility":{"@id":"https://www.gs1.org/voc/Place"},"inspectionDate":{"@id":"https://schema.org/DateTime"},"inspectionType":{"@id":"https://schema.org/value"},"inspector":{"@id":"https://w3id.org/traceability#Inspector"},"notes":{"@id":"https://schema.org/Comment"},"observation":{"@id":"https://schema.org/ItemList"},"plantOrg":{"@id":"https://www.gs1.org/voc/Organization"},"portOfEntry":{"@id":"https://w3id.org/traceability#portOfEntry"},"shipment":{"@id":"https://schema.org/AgricultureParcelDelivery"},"signatureDate":{"@id":"https://schema.org/DateTime"}},"@id":"https://w3id.org/traceability/Phytosanitary"},"Place":{"@context":{"address":{"@id":"https://schema.org/PostalAddress"},"geo":{"@id":"https://schema.org/GeoCoordinates"},"globalLocationNumber":{"@id":"https://schema.org/globalLocationNumber"},"iataAirportCode":{"@id":"https://onerecord.iata.org/cargo/Location#code"},"locationName":{"@id":"https://schema.org/name"},"unLocode":{"@id":"https://vocabulary.uncefact.org/Location"},"usPortCode":{"@id":"https://w3id.org/traceability#usPortCode"}},"@id":"https://schema.org/Place"},"PlantSystemsInspection":{"@context":{"additionalViolations":{"@id":"https://schema.org/description"},"commonInfo":{"@id":"https://w3id.org/traceability#AgricultureInspectionCommonInfo"},"observationsImprovements":{"@id":"https://schema.org/description"},"productsPacked":{"@id":"https://vocabulary.uncefact.org/specifiedProduct"},"questions":{"@id":"https://w3id.org/traceability#PlantSystemsQuestion"},"summaryOfDeficiencies":{"@id":"https://schema.org/description"}},"@id":"https://w3id.org/traceability#PlantSystemsInspection"},"PlantSystemsInspectionCredential":{"@context":{},"@id":"https://w3id.org/traceability#PlantSystemsInspectionCredential"},"PlantSystemsQuestion":{"@context":{"code":{"@id":"https://schema.org/identifier"},"pointsDeducted":{"@id":"https://schema.org/ratingValue"},"pointsWorth":{"@id":"https://schema.org/ratingValue"}},"@id":"https://w3id.org/traceability#PlantSystemsQuestion"},"PostalAddress":{"@context":{"addressCountry":{"@id":"https://schema.org/addressCountry"},"addressLocality":{"@id":"https://schema.org/addressLocality"},"addressRegion":{"@id":"https://schema.org/addressRegion"},"countyCode":{"@id":"https://gs1.org/voc/countyCode"},"crossStreet":{"@id":"https://gs1.org/voc/crossStreet"},"name":{"@id":"https://schema.org/name"},"postOfficeBoxNumber":{"@id":"https://schema.org/postOfficeBoxNumber"},"postalCode":{"@id":"https://schema.org/postalCode"},"streetAddress":{"@id":"https://schema.org/streetAddress"}},"@id":"https://schema.org/PostalAddress"},"PostmanCollection":{"@context":{},"@id":"https://w3id.org/traceability#PostmanCollection"},"PriceSpecification":{"@context":{"price":{"@id":"https://schema.org/price"},"priceCurrency":{"@id":"https://schema.org/priceCurrency"}},"@id":"https://schema.org/PriceSpecification"},"Product":{"@context":{"batchNumber":{"@id":"https://vocabulary.uncefact.org/ReferenceCodeList#BT"},"category":{"@id":"https://schema.org/category"},"commodity":{"@id":"https://w3id.org/traceability#Commodity"},"depth":{"@id":"https://schema.org/depth"},"description":{"@id":"https://schema.org/description"},"gtin":{"@id":"https://schema.org/gtin"},"height":{"@id":"https://schema.org/height"},"images":{"@id":"https://schema.org/image"},"manufacturer":{"@id":"https://schema.org/manufacturer"},"name":{"@id":"https://schema.org/name"},"productPrice":{"@id":"https://schema.org/priceSpecification"},"seller":{"@id":"https://vocabulary.uncefact.org/sellerParty"},"sizeOrAmount":{"@id":"https://schema.org/size"},"sku":{"@id":"https://schema.org/sku"},"weight":{"@id":"https://schema.org/weight"},"width":{"@id":"https://schema.org/width"}},"@id":"https://schema.org/Product"},"ProductRegistrationCredential":{"@context":{},"@id":"https://w3id.org/traceability#ProductRegistrationCredential"},"Purchase":{"@context":{"customer":{"@id":"https://w3id.org/traceability#Entity"},"internalCertificateNo":{"@id":"https://schema.org/identifier"},"invoice":{"@id":"https://w3id.org/traceability#Invoice"},"invoiceNo":{"@id":"https://schema.org/identifier"},"purchaseOrderNo":{"@id":"https://schema.org/identifier"}},"@id":"https://w3id.org/traceability#Purchase"},"PurchaseOrder":{"@context":{"buyer":{"@id":"https://vocabulary.uncefact.org/buyerParty"},"comments":{"@id":"https://schema.org/Comment"},"discounts":{"@id":"https://vocabulary.uncefact.org/deductionAmount"},"freightCost":{"@id":"https://schema.org/DeliveryChargeSpecification"},"insuranceCost":{"@id":"https://vocabulary.uncefact.org/insuranceChargeTotalAmount"},"itemsOrdered":{"@id":"https://vocabulary.uncefact.org/SupplyChainTradeLineItem"},"orderDate":{"@id":"https://vocabulary.uncefact.org/buyerOrderDateTime"},"purchaseOrderNo":{"@id":"https://vocabulary.uncefact.org/ReferenceCodeList#AUJ"},"seller":{"@id":"https://vocabulary.uncefact.org/sellerParty"},"shipToParty":{"@id":"https://vocabulary.uncefact.org/shipToParty"},"tax":{"@id":"https://vocabulary.uncefact.org/taxTotalAmount"},"termsOfDelivery":{"@id":"https://vocabulary.uncefact.org/specifiedDeliveryTerms"},"termsOfPayment":{"@id":"https://vocabulary.uncefact.org/specifiedPaymentTerms"},"totalOrderAmount":{"@id":"https://vocabulary.uncefact.org/grandTotalAmount"},"totalPaymentDue":{"@id":"https://schema.org/totalPaymentDue"},"totalWeight":{"@id":"https://schema.org/weight"}},"@id":"https://vocabulary.uncefact.org/DocumentCodeList#105"},"PurchaseOrderCredential":{"@context":{},"@id":"https://w3id.org/traceability#PurchaseOrderCredential"},"Qualification":{"@context":{"qualificationCategory":{"@id":"https://schema.org/credentialCategory"},"qualificationValue":{"@id":"https://schema.org/hasCredential"}},"@id":"https://schema.org/qualifications"},"QuantitativeValue":{"@context":{"unitCode":{"@id":"https://schema.org/unitCode"},"value":{"@id":"https://schema.org/value"}},"@id":"https://schema.org/QuantitativeValue"},"RawMaterial":{"@context":{"inchiKey":{"@id":"https://w3id.org/traceability#inchiKey"},"name":{"@id":"https://schema.org/name"}},"@id":"https://w3id.org/traceability#RawMaterial"},"RevocationList2020Status":{"@context":{"revocationListCredential":{"@id":"https://schema.org/LinkRole"},"revocationListIndex":{"@id":"https://schema.org/itemListElement"}},"@id":"https://w3id.org/traceability#RevocationList2020Status"},"RoutingInfo":{"@context":{"code":{"@id":"https://w3id.org/traceability#routingInfoCode"},"value":{"@id":"https://w3id.org/traceability#routingInfoValue"}},"@id":"https://w3id.org/traceability#RoutingInfo"},"SIMASteelImportLicense":{"@context":{"countryOfExportation":{"@id":"https://vocabulary.uncefact.org/exportCountry"},"countryOfOrigin":{"@id":"https://vocabulary.uncefact.org/originCountry"},"customsEntryNumber":{"@id":"https://vocabulary.uncefact.org/ReferenceCodeList#AQM"},"expectedDateOfExport":{"@id":"https://vocabulary.uncefact.org/DateTimePeriodFunctionCodeList#129"},"expectedDateOfImport":{"@id":"https://vocabulary.uncefact.org/DateTimePeriodFunctionCodeList#151"},"expectedPortOfEntry":{"@id":"https://vocabulary.uncefact.org/LocationFunctionCodeList#24"},"exporter":{"@id":"https://vocabulary.uncefact.org/exporterParty"},"importer":{"@id":"https://vocabulary.uncefact.org/importerParty"},"licenseNumber":{"@id":"https://schema.org/identifier"},"licensedCompany":{"@id":"https://schema.org/Organization"},"manufacturer":{"@id":"https://vocabulary.uncefact.org/manufacturerParty"},"productInformation":{"@id":"https://w3id.org/traceability#productInformation"}},"@id":"https://w3id.org/traceability#SIMASteelImportLicense"},"SIMASteelImportLicenseApplicationCredential":{"@context":{},"@id":"https://w3id.org/traceability#SIMASteelImportLicenseApplicationCredential"},"SIMASteelImportLicenseCredential":{"@context":{},"@id":"https://w3id.org/traceability#SIMASteelImportLicenseCredential"},"SIMASteelImportProductSpecifier":{"@context":{"countryOfMeltAndPour":{"@id":"https://w3id.org/traceability#countryOfMeltAndPour"},"customsValue":{"@id":"https://vocabulary.uncefact.org/declaredValueForCustomsAmount"},"productCategory":{"@id":"https://w3id.org/traceability#ProductCategory"}},"@id":"https://w3id.org/traceability#SIMASteelImportProductSpecifier"},"SeaCargoManifest":{"@context":{"grossTonnage":{"@id":"https://vocabulary.uncefact.org/grossWeightMeasure"},"netTonnage":{"@id":"https://vocabulary.uncefact.org/netWeightMeasure"},"plannedArrivalDateTime":{"@id":"https://schema.org/DateTime"},"plannedDepartureDateTime":{"@id":"https://schema.org/Date"},"portOfArrival":{"@id":"https://schema.org/Place"},"portOfDeparture":{"@id":"https://schema.org/Place"},"registrationCountry":{"@id":"https://vocabulary.uncefact.org/registrationCountry"},"totalNumberOfPackages":{"@id":"https://vocabulary.uncefact.org/packageQuantity"},"totalNumberOfTransportDocuments":{"@id":"https://schema.org/Number"},"transportDocumentInformation":{"@id":"https://vocabulary.uncefact.org/transportContractDocument"},"transportEquipmentQuantity":{"@id":"https://vocabulary.uncefact.org/transportEquipmentQuantity"},"vesselName":{"@id":"https://vocabulary.uncefact.org/transportMeans"},"vesselNumber":{"@id":"https://schema.org/identifier"},"voyageNumber":{"@id":"https://vocabulary.uncefact.org/TransportMovement"}},"@id":"https://w3id.org/traceability#SeaCargoManifest"},"SeaCargoManifestCredential":{"@context":{},"@id":"https://w3id.org/traceability#SeaCargoManifestCredential"},"Seal":{"@context":{"sealNumber":{"@id":"https://vocabulary.uncefact.org/identifier"},"sealSource":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.1#/components/schemas/sealSource"},"sealType":{"@id":"https://vocabulary.uncefact.org/logisticsSealTypeCode"}},"@id":"https://vocabulary.uncefact.org/Seal"},"SellerRegistrationCredential":{"@context":{},"@id":"https://w3id.org/traceability#SellerRegistrationCredential"},"ServiceCharge":{"@context":{"appliedAmount":{"@id":"https://vocabulary.uncefact.org/appliedAmount"},"calculationBasis":{"@id":"https://vocabulary.uncefact.org/calculationBasis"},"chargeCode":{"@id":"https://vocabulary.uncefact.org/chargeCategoryCode"},"chargeText":{"@id":"https://schema.org/description"},"paymentTerm":{"@id":"https://vocabulary.uncefact.org/PaymentTerms"},"rate":{"@id":"https://vocabulary.uncefact.org/unitPrice"}},"@id":"https://vocabulary.uncefact.org/ServiceCharge"},"ShippingDetails":{"@context":{"containerNumber":{"@id":"https://w3id.org/traceability#containerNumber"},"customerAddress":{"@id":"https://w3id.org/traceability#customerAddress"},"manufacturerAddress":{"@id":"https://w3id.org/traceability#manufacturerAddress"},"masterBillOfLadingNumber":{"@id":"https://vocabulary.uncefact.org/uncl1153#MB"}},"@id":"https://w3id.org/traceability#ShippingDetails"},"ShippingInstructions":{"@context":{"billOfLadingNumber":{"@id":"https://service.unece.org/trade/uncefact/vocabulary/uncl1153/#Bill_of_lading_number"},"bookingNumber":{"@id":"https://vocabulary.uncefact.org/carrierAssignedId"},"consignee":{"@id":"https://vocabulary.uncefact.org/consigneeParty"},"declaredValue":{"@id":"https://vocabulary.uncefact.org/declaredValueForCarriageAmount"},"includedConsignmentItems":{"@id":"https://vocabulary.uncefact.org/includedConsignmentItem"},"mainCarriageTransportMovement":{"@id":"https://vocabulary.uncefact.org/mainCarriageTransportMovement"},"notifyParty":{"@id":"https://vocabulary.uncefact.org/notifiedParty"},"onCarriageTransportMovement":{"@id":"https://vocabulary.uncefact.org/onCarriageTransportMovement"},"placeOfDelivery":{"@id":"https://schema.org/Place"},"placeOfReceipt":{"@id":"https://schema.org/Place"},"portOfDischarge":{"@id":"https://vocabulary.uncefact.org/unloadingLocation"},"portOfLoading":{"@id":"https://vocabulary.uncefact.org/transshipmentLocation"},"preCarriageTransportMovement":{"@id":"https://vocabulary.uncefact.org/preCarriageTransportMovement"},"shipper":{"@id":"https://vocabulary.uncefact.org/consignorParty"},"shippersReferences":{"@id":"https://service.unece.org/trade/uncefact/vocabulary/uncl1153/#Consignment_identifier_freight_forwarder_assigned"},"totalNumberOfPackages":{"@id":"https://vocabulary.uncefact.org/packageQuantity"},"transportEquipmentQuantity":{"@id":"https://vocabulary.uncefact.org/transportEquipmentQuantity"},"utilizedTransportEquipment":{"@id":"https://vocabulary.uncefact.org/utilizedTransportEquipment"}},"@id":"https://w3id.org/traceability#ShippingInstructions"},"ShippingInstructionsCredential":{"@context":{},"@id":"https://w3id.org/traceability#ShippingInstructionsCredential"},"ShippingStop":{"@context":{"arrivalDate":{"@id":"https://schema.org/expectedArrivalFrom"},"carrier":{"@id":"https://schema.org/carrier"},"from":{"@id":"https://schema.org/fromLocation"},"path":{"@id":"https://schema.org/line"},"shippingMethod":{"@id":"https://schema.org/hasDeliveryMethod"},"shippingStopAddress":{"@id":"https://schema.org/address"},"stopType":{"@id":"https://schema.org/description"},"to":{"@id":"https://schema.org/toLocation"},"vesselNumber":{"@id":"https://schema.org/identifier"}},"@id":"https://w3id.org/traceability#ShippingStop"},"SoftwareBillOfMaterials":{"@context":{},"@id":"https://w3id.org/traceability#SoftwareBillOfMaterials"},"SoftwareBillofMaterialsCredential":{"@context":{},"@id":"https://w3id.org/traceability#SoftwareBillOfMaterialsCredential"},"SteelProduct":{"@context":{"commodity":{"@id":"https://w3id.org/traceability#Commodity"},"grade":{"@id":"https://schema.org/Rating"},"heatNumber":{"@id":"https://schema.org/identifier"},"inspection":{"@id":"https://w3id.org/traceability#Inspection"},"originalCountryOfMeltAndPour":{"@id":"https://schema.org/addressCountry"},"specification":{"@id":"https://schema.org/identifier"},"weight":{"@id":"https://schema.org/weight"},"weightUnit":{"@id":"http://qudt.org/schema/qudt/Unit"}},"@id":"https://w3id.org/traceability#SteelProduct"},"Taxonomy":{"@context":{"class":{"@id":"http://rs.tdwg.org/dwc/terms/class"},"family":{"@id":"http://rs.tdwg.org/dwc/terms/family"},"genus":{"@id":"http://rs.tdwg.org/dwc/terms/genus"},"kingdom":{"@id":"http://rs.tdwg.org/dwc/terms/kingdom"},"order":{"@id":"http://rs.tdwg.org/dwc/terms/order"},"phylum":{"@id":"http://rs.tdwg.org/dwc/terms/phylum"},"species":{"@id":"http://rs.tdwg.org/dwc/terms/specificEpithet"},"subspecies":{"@id":"http://rs.tdwg.org/dwc/terms/infraspecificEpithet"},"variety":{"@id":"http://rs.tdwg.org/dwc/terms/cultivarEpithet"}},"@id":"https://w3id.org/traceability#Taxonomy"},"TemperatureReading":{"@context":{"bulbNumber":{"@id":"https://schema.org/identifier"},"tests":{"@id":"https://schema.org/value"}},"@id":"https://w3id.org/traceability#TemperatureReading"},"Template":{"@context":{"image":{"@id":"https://schema.org/image"}},"@id":"https://w3id.org/traceability#Template"},"Thing":{"@context":{},"@id":"https://schema.org/Thing"},"ThingCredential":{"@context":{},"@id":"https://w3id.org/traceability#ThingCredential"},"TraceabilityAPI":{"@context":{},"@id":"https://w3id.org/traceability#TraceabilityAPI"},"TraceablePresentation":{"@context":{"replace":{"@id":"https://w3id.org/traceability#workflow-replace","@type":"@id"},"workflow":{"@context":{"definition":{"@id":"https://w3id.org/traceability#workflow-definition","@type":"@id"},"instance":{"@id":"https://w3id.org/traceability#workflow-instance","@type":"@id"}}}},"@id":"https://w3id.org/traceability#traceable-presentation"},"TradeLineItem":{"@context":{"countryOfOrigin":{"@id":"https://vocabulary.uncefact.org/originCountry"},"description":{"@id":"https://schema.org/description"},"grossWeight":{"@id":"https://vocabulary.uncefact.org/grossWeightMeasure"},"itemCount":{"@id":"https://vocabulary.uncefact.org/despatchedQuantity"},"name":{"@id":"https://schema.org/name"},"netWeight":{"@id":"https://vocabulary.uncefact.org/netWeightMeasure"},"packageQuantity":{"@id":"https://vocabulary.uncefact.org/packageQuantity"},"priceSpecification":{"@id":"https://schema.org/priceSpecification"},"product":{"@id":"https://schema.org/Product"},"purchaseOrderNumber":{"@id":"https://schema.org/orderNumber"},"shipToParty":{"@id":"https://vocabulary.uncefact.org/shipToParty"}},"@id":"https://vocabulary.uncefact.org/SupplyChainTradeLineItem"},"TransferEvent":{"@context":{"addressCountry":{"@id":"https://schema.org/addressCountry"},"identifier":{"@id":"https://schema.org/identifier"},"organization":{"@id":"https://w3id.org/traceability#Organization"},"place":{"@id":"https://schema.org/Place"},"price":{"@id":"https://schema.org/price"},"products":{"@id":"https://schema.org/Product"}},"@id":"https://w3id.org/traceability#TransferEvent"},"TransformEvent":{"@context":{"consumedProducts":{"@id":"https://w3c-ccg.github.io/hashlink/#hl-url-params"},"newProducts":{"@id":"https://w3c-ccg.github.io/hashlink/#hl-url-params"},"organization":{"@id":"https://w3id.org/traceability#Organization"},"place":{"@id":"https://schema.org/Place"}},"@id":"https://w3id.org/traceability#TransformEvent"},"Transport":{"@context":{"carrier":{"@id":"https://schema.org/Organization"},"dischargeLocation":{"@id":"https://schema.org/Place"},"loadLocation":{"@id":"https://schema.org/Place"},"modeOfTransport":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.1#/components/schemas/modeOfTransport"},"plannedArrivalDate":{"@id":"https://schema.org/Date"},"plannedDepartureDate":{"@id":"https://schema.org/Date"},"vesselNumber":{"@id":"https://vocabulary.uncefact.org/transportMeans"},"voyageNumber":{"@id":"https://vocabulary.uncefact.org/TransportMovement"}},"@id":"https://w3id.org/traceability#Transport"},"TransportDocument":{"@context":{},"@id":"https://w3id.org/traceability#TransportDocument"},"TransportEquipment":{"@context":{"ISOEquipmentCode":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.1#/components/schemas/ISOEquipmentCode"},"equipmentReference":{"@id":"https://vocabulary.uncefact.org/identification"},"isShipperOwned":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.1#/components/schemas/isShipperOwned"},"seals":{"@id":"https://vocabulary.uncefact.org/affixedSeal"},"tareWeight":{"@id":"https://vocabulary.uncefact.org/grossWeightMeasure"},"weightUnit":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.1#/components/schemas/weightUnit"}},"@id":"https://vocabulary.uncefact.org/LogisticsTransportEquipment"},"TransportEvent":{"@context":{"deliveryMethod":{"@id":"https://schema.org/DeliveryMethod"},"organization":{"@id":"https://w3id.org/traceability#Organization"},"place":{"@id":"https://schema.org/Place"},"products":{"@id":"https://schema.org/Product"},"trackingNumber":{"@id":"https://schema.org/trackingNumber"}},"@id":"https://w3id.org/traceability#TransportEvent"},"USDAPPQ203ForeignSiteInspection":{"@context":{"certificateNumber":{"@id":"https://vocabulary.uncefact.org/identification"},"commonInfo":{"@id":"https://w3id.org/traceability#AgricultureInspectionCommonInfo"},"inspectionType":{"@id":"https://www.gs1.org/voc/certificationType"},"observations":{"@id":"https://vocabulary.uncefact.org/relatedObservation"},"shipment":{"@id":"https://vocabulary.uncefact.org/transportPackage"},"signatureDate":{"@id":"https://www.gs1.org/voc/certificationAuditDate"}},"@id":"https://w3id.org/traceability#USDAPPQ203ForeignSiteInspection"},"USDAPPQ309APestInterceptionRecord":{"@context":{"PestSample":{"@id":"http://rs.tdwg.org/dwc/terms/materialSampleID"},"forwardTo":{"@id":"https://vocabulary.uncefact.org/recipientAssignedId"},"importedAs":{"@id":"https://schema.org/description"},"inspector":{"@id":"https://vocabulary.uncefact.org/inspectionParty"},"interceptionDate":{"@id":"https://vocabulary.uncefact.org/actualOccurrenceDateTime"},"interceptionNumber":{"@id":"https://vocabulary.uncefact.org/identification"},"materialFor":{"@id":"https://vocabulary.uncefact.org/intendedUse"},"modeOfTransportation":{"@id":"https://vocabulary.uncefact.org/mode"},"narp":{"@id":"https://vocabulary.uncefact.org/statementNote"},"overtime":{"@id":"https://vocabulary.uncefact.org/information"},"pathway":{"@id":"https://vocabulary.uncefact.org/mode"},"pestDeterminations":{"@id":"https://dwc.tdwg.org/list/#dwc_identificationID"},"priority":{"@id":"https://vocabulary.uncefact.org/priorityCode"},"quarantineStatus":{"@id":"https://vocabulary.uncefact.org/conditionCode"},"remarks":{"@id":"https://vocabulary.uncefact.org/remark"},"shipment":{"@id":"https://vocabulary.uncefact.org/transportPackage"},"shippingStop":{"@id":"https://vocabulary.uncefact.org/itineraryStopEvent"},"whereIntercepted":{"@id":"https://vocabulary.uncefact.org/AttachedTransportEquipment"}},"@id":"https://w3id.org/traceability#USDAPPQ309APestInterceptionRecord"},"USDAPPQ368NoticeOfArrival":{"@context":{"ITNumber":{"@id":"https://vocabulary.uncefact.org/customsId"},"arrivalDate":{"@id":"https://vocabulary.uncefact.org/actualArrivalRelatedDateTime"},"customsEntryNumber":{"@id":"https://vocabulary.uncefact.org/customsId"},"locationGrown":{"@id":"https://vocabulary.uncefact.org/originLocation"},"permitNumber":{"@id":"https://vocabulary.uncefact.org/identification"},"ppqOfficial":{"@id":"https://vocabulary.uncefact.org/inspectionParty"},"presentLocation":{"@id":"https://vocabulary.uncefact.org/consignmentDestinationSpecifiedLocation"},"productDisposition":{"@id":"https://vocabulary.uncefact.org/dispositionDocument"},"shipment":{"@id":"https://vocabulary.uncefact.org/transportPackage"},"signatureDate":{"@id":"https://vocabulary.uncefact.org/occurrenceDateTime"}},"@id":"https://w3id.org/traceability#USDAPPQ368NoticeOfArrival"},"USDAPPQ391SpecimensForDetermination":{"@context":{"collectionDate":{"@id":"https://vocabulary.uncefact.org/actualOccurrenceDateTime"},"collectionNumber":{"@id":"https://vocabulary.uncefact.org/identification"},"collector":{"@id":"https://vocabulary.uncefact.org/inspectionParty"},"dateReceived":{"@id":"https://vocabulary.uncefact.org/acceptanceDateTime"},"finalDetermination":{"@id":"https://dwc.tdwg.org/list/#dwc_identificationID"},"identificationReason":{"@id":"https://vocabulary.uncefact.org/reasonCode"},"interceptionSite":{"@id":"https://vocabulary.uncefact.org/occurrenceLocation"},"lab":{"@id":"https://vocabulary.uncefact.org/lodgementLocation"},"labConformationNumber":{"@id":"https://vocabulary.uncefact.org/identification"},"priority":{"@id":"https://vocabulary.uncefact.org/priorityCode"},"priorityExplanation":{"@id":"https://vocabulary.uncefact.org/remarks"},"remarks":{"@id":"https://vocabulary.uncefact.org/remarks"},"sampleDisposition":{"@id":"https://dwc.tdwg.org/list/#dwc_disposition"},"signatureDate":{"@id":"https://vocabulary.uncefact.org/occurrenceDateTime"},"submissionDate":{"@id":"https://vocabulary.uncefact.org/reportSubmissionDateTime"},"submitter":{"@id":"https://vocabulary.uncefact.org/PartyRoleCodeList#TB"},"submittingAgency":{"@id":"https://vocabulary.uncefact.org/agencyId"},"tentativeDetermination":{"@id":"https://dwc.tdwg.org/list/#dwc_identificationID"}},"@id":"https://w3id.org/traceability#USDAPPQ391SpecimensForDetermination"},"USDAPPQ429FumigationRecord":{"@context":{"cubicCapacity":{"@id":"https://vocabulary.uncefact.org/actualReportedMeasurement"},"dateFumigated":{"@id":"https://vocabulary.uncefact.org/actualOccurrenceDateTime"},"dateFumigationOrdered":{"@id":"https://vocabulary.uncefact.org/actualDateTime"},"detectorTubeReadings":{"@id":"https://vocabulary.uncefact.org/relatedObservation"},"enclosure":{"@id":"https://schema.org/description"},"foodOrFeedCommodity":{"@id":"https://vocabulary.uncefact.org/functionDescription"},"fumigantAndTreatmentSchedule":{"@id":"https://vocabulary.uncefact.org/regulationName"},"fumigationContractor":{"@id":"https://vocabulary.uncefact.org/associatedParty"},"fumigationSite":{"@id":"https://vocabulary.uncefact.org/occurrenceLocation"},"fumigatorMaterials":{"@id":"https://schema.org/description"},"gasAnalyzer":{"@id":"https://schema.org/description"},"gasConcentrations":{"@id":"https://vocabulary.uncefact.org/relatedObservation"},"gasIntroductionFinish":{"@id":"https://vocabulary.uncefact.org/endDateTime"},"gasIntroductionStart":{"@id":"https://vocabulary.uncefact.org/startDateTime"},"inspector":{"@id":"https://vocabulary.uncefact.org/specifiedContactPerson"},"interceptionRecord":{"@id":"https://w3id.org/traceability#USDAPPQ309APestInterceptionRecord.yml"},"numberOfFans":{"@id":"https://vocabulary.uncefact.org/unitQuantity"},"pest":{"@id":"https://schema.org/description"},"ppqMaterials":{"@id":"https://schema.org/description"},"preparationProcedures":{"@id":"https://schema.org/description"},"remarks":{"@id":"https://vocabulary.uncefact.org/remark"},"residueSampleNumber":{"@id":"https://schema.org/description"},"residueSampleTaken":{"@id":"https://vocabulary.uncefact.org/value"},"reviewer":{"@id":"https://vocabulary.uncefact.org/specifiedContactPerson"},"section18Exemption":{"@id":"https://vocabulary.uncefact.org/value"},"shipment":{"@id":"https://vocabulary.uncefact.org/transportPackage"},"stationReporting":{"@id":"https://vocabulary.uncefact.org/relevantLocation"},"tarpaulin":{"@id":"https://vocabulary.uncefact.org/value"},"temperatureOfCommodity":{"@id":"https://vocabulary.uncefact.org/actualReportedMeasurement"},"temperatureOfSpace":{"@id":"https://vocabulary.uncefact.org/actualReportedMeasurement"},"timeFansOperated":{"@id":"https://vocabulary.uncefact.org/durationMeasure"},"totalCFMOfFans":{"@id":"https://vocabulary.uncefact.org/actualReportedMeasurement"},"totalGasIntroduced":{"@id":"https://vocabulary.uncefact.org/actualReportedMeasurement"},"weatherConditions":{"@id":"https://schema.org/description"}},"@id":"https://w3id.org/traceability#USDAPPQ429FumigationRecord"},"USDAPPQ449RTemperatureCalibration":{"@context":{"cableLengthSatisfactory":{"@id":"https://vocabulary.uncefact.org/DocumentCodeList#287"},"company":{"@id":"https://vocabulary.uncefact.org/specifiedOrganization"},"flagCode":{"@id":"https://schema.org/value"},"hullNumberDockyard":{"@id":"https://vocabulary.uncefact.org/identification"},"imoNumber":{"@id":"https://vocabulary.uncefact.org/identification"},"inspectionDate":{"@id":"https://vocabulary.uncefact.org/performanceDateTime"},"inspectionPoint":{"@id":"https://vocabulary.uncefact.org/transitLocation"},"instrument1MakeModel":{"@id":"https://vocabulary.uncefact.org/AttachedTransportEquipment"},"instrument2MakeModel":{"@id":"https://vocabulary.uncefact.org/AttachedTransportEquipment"},"locationsDiagramMatchSatisfactory":{"@id":"https://vocabulary.uncefact.org/DocumentCodeList#287"},"ownerOperator":{"@id":"https://vocabulary.uncefact.org/specifiedContactPerson"},"participatingOfficials":{"@id":"https://vocabulary.uncefact.org/specifiedContactPerson"},"ppqDutyStation":{"@id":"https://vocabulary.uncefact.org/transitCustomsOfficeSpecifiedLocation"},"reactionTimeSatisfactory":{"@id":"https://vocabulary.uncefact.org/DocumentCodeList#287"},"remarks":{"@id":"https://vocabulary.uncefact.org/remarks"},"sensorsBoxesLabelingSatisfactory":{"@id":"https://vocabulary.uncefact.org/DocumentCodeList#287"},"shipsOfficer":{"@id":"https://vocabulary.uncefact.org/specifiedContactPerson"},"signatureDate":{"@id":"https://vocabulary.uncefact.org/performanceDateTime"},"temperatureReadings":{"@id":"https://vocabulary.uncefact.org/transportTemperature"},"vesselName":{"@id":"https://vocabulary.uncefact.org/name"}},"@id":"https://w3id.org/traceability#USDAPPQ449RTemperatureCalibration"},"USDAPPQ505PlantDeclaration":{"@context":{"date":{"@id":"https://vocabulary.uncefact.org/issueDateTime"},"preparer":{"@id":"https://vocabulary.uncefact.org/declarantParty"},"productDeclarations":{"@id":"https://w3id.org/traceability#LaceyActProductDeclaration"},"shipment":{"@id":"https://vocabulary.uncefact.org/transportPackage"}},"@id":"https://w3id.org/traceability#USDAPPQ505PlantDeclaration"},"USDAPPQ519ComplianceAgreement":{"@context":{"agreement":{"@id":"https://vocabulary.uncefact.org/guarantee"},"agreementDate":{"@id":"https://vocabulary.uncefact.org/issueDateTime"},"agreementNumber":{"@id":"https://vocabulary.uncefact.org/ReferenceCodeList#AJS"},"firm":{"@id":"https://vocabulary.uncefact.org/associatedParty"},"person":{"@id":"https://vocabulary.uncefact.org/associatedParty"},"ppqCbpOfficial":{"@id":"https://vocabulary.uncefact.org/associatedParty"},"quarantinesRegulations":{"@id":"https://vocabulary.uncefact.org/applicableRegulatoryProcedure"},"regulatedArticles":{"@id":"https://www.gs1.org/voc/regulatedProductName"},"signatureDate":{"@id":"https://vocabulary.uncefact.org/issueDateTime"},"usAgencyOfficial":{"@id":"https://vocabulary.uncefact.org/associatedParty"}},"@id":"https://w3id.org/traceability#USDAPPQ519ComplianceAgreement"},"USDAPPQ587PlantImportApplication":{"@context":{"applicant":{"@id":"https://vocabulary.uncefact.org/associatedParty"},"date":{"@id":"https://vocabulary.uncefact.org/creationDateTime"},"intendedUse":{"@id":"https://vocabulary.uncefact.org/intendedUse"},"meansOfTransportation":{"@id":"https://vocabulary.uncefact.org/usedTransportMeans"},"plantProductsImported":{"@id":"https://vocabulary.uncefact.org/specifiedProduct"}},"@id":"https://w3id.org/traceability#USDAPPQ587PlantImportApplication"},"USDAPPQ587PlantImportPermit":{"@context":{"applicant":{"@id":"https://vocabulary.uncefact.org/associatedParty"},"intendedUse":{"@id":"https://vocabulary.uncefact.org/intendedUse"},"shipment":{"@id":"https://vocabulary.uncefact.org/transportPackage"},"signatureDate":{"@id":"https://vocabulary.uncefact.org/issueDateTime"}},"@id":"https://w3id.org/traceability#USDAPPQ587PlantImportPermit"},"USDASpecialtyCrops237AForm":{"@context":{"additionalRemarks":{"@id":"https://vocabulary.uncefact.org/remarks"},"anticipatedAuditDate":{"@id":"https://www.gs1.org/voc/certificationAuditDate"},"applicant":{"@id":"https://vocabulary.uncefact.org/associatedParty"},"auditProgramsRequested":{"@id":"https://www.gs1.org/voc/certificationType"},"auditee":{"@id":"https://vocabulary.uncefact.org/associatedParty"},"billingAccountNumber":{"@id":"https://schema.org/accountId"},"commoditiesCovered":{"@id":"https://www.gs1.org/voc/certificationSubject"},"locations":{"@id":"https://schema.org/location"},"requestDate":{"@id":"https://vocabulary.uncefact.org/reportSubmissionDateTime"},"totalArea":{"@id":"https://www.gs1.org/voc/grossArea"}},"@id":"https://w3id.org/traceability#USDASpecialtyCrops237AForm"},"USMCACertificationOfOrigin":{"@context":{},"@id":"https://w3id.org/traceability#USMCACertificationOfOrigin"},"USMCACertifier":{"@context":{"certifierDetails":{"@id":"https://w3id.org/traceability#certifierDetails"},"role":{"@id":"https://w3id.org/traceability#certifierRole"}},"@id":"https://w3id.org/traceability/USMCACertifier"},"USMCAProductSpecifier":{"@context":{"countryOfOrigin":{"@id":"https://w3id.org/traceability#countryOfOrigin"},"exporterDetails":{"@id":"https://w3id.org/traceability#exporterDetails"},"importerDetails":{"@id":"https://w3id.org/traceability#importerDetails"},"importerUnknown":{"@id":"https://w3id.org/traceability#importerUnknown"},"originCriterion":{"@id":"https://w3id.org/traceability#originCriterion"},"producerConfidential":{"@id":"https://w3id.org/traceability#producerConfidential"},"producerDetails":{"@id":"https://schema.org/manufacturer"},"product":{"@id":"https://schema.org/Product"}},"@id":"https://w3id.org/traceability/USMCAProductSpecifier"},"UsdaSc6":{"@context":{"applicant":{"@id":"https://w3id.org/traceability#applicant"},"carrierId":{"@id":"https://w3id.org/traceability#carrierId"},"customsEntryNumber":{"@id":"https://w3id.org/traceability#customsEntryNumber"},"dateOfEntry":{"@id":"https://w3id.org/traceability#dateOfEntry"},"facility":{"@id":"https://www.gs1.org/voc/Place"},"importerSignatureDate":{"@id":"https://w3id.org/traceability#importerSignatureDate"},"inspectionDate":{"@id":"https://schema.org/DateTime"},"inspector":{"@id":"https://w3id.org/traceability#Inspector"},"intendedUse":{"@id":"https://w3id.org/traceability#intendedUse"},"intendedUseCert":{"@id":"https://w3id.org/traceability#intendedUseCert"},"lotId":{"@id":"https://w3id.org/traceability#lotId"},"serialNumber":{"@id":"https://w3id.org/traceability#serialNumber"},"shipment":{"@id":"https://w3id.org/traceability#AgricultureParcelDelivery"},"signatureDate":{"@id":"https://w3id.org/traceability#signatureDate"},"tariffCodeNumber":{"@id":"https://w3id.org/traceability#tariffCodeNumber"}},"@id":"https://w3id.org/traceability#UsdaSc6"},"VerifiableBusinessCard":{"@context":{},"@id":"https://w3id.org/traceability#VerifiableBusinessCard"},"VerifiablePostmanCollection":{"@context":{},"@id":"https://w3id.org/traceability#VerifiablePostmanCollection"},"VerifiableScorecard":{"@context":{},"@id":"https://w3id.org/traceability#VerifiableScorecard"},"dateOfExport":{"@id":"https://vocabulary.uncefact.org/exportExitDateTime","@type":"http://www.w3.org/2001/XMLSchema#dateTime"},"description":"https://schema.org/description","id":"@id","identifier":"https://schema.org/identifier","image":{"@id":"https://schema.org/image","@type":"@id"},"items":"https://schema.org/ItemList","manufacturer":"https://vocabulary.uncefact.org/manufacturerParty","manufacturingCountry":"https://vocabulary.uncefact.org/manufactureCountry","name":"https://schema.org/name","product":"https://w3id.org/traceability#SteelProduct","rawMaterial":"https://w3id.org/traceability#rawMaterial","relatedLink":{"@id":"https://w3id.org/traceability#LinkRole"},"type":"@type"}},"https://www.w3.org/ns/did/v1":{"@context":{"@protected":true,"id":"@id","type":"@type","alsoKnownAs":{"@id":"https://www.w3.org/ns/activitystreams#alsoKnownAs","@type":"@id"},"assertionMethod":{"@id":"https://w3id.org/security#assertionMethod","@type":"@id","@container":"@set"},"authentication":{"@id":"https://w3id.org/security#authenticationMethod","@type":"@id","@container":"@set"},"capabilityDelegation":{"@id":"https://w3id.org/security#capabilityDelegationMethod","@type":"@id","@container":"@set"},"capabilityInvocation":{"@id":"https://w3id.org/security#capabilityInvocationMethod","@type":"@id","@container":"@set"},"controller":{"@id":"https://w3id.org/security#controller","@type":"@id"},"keyAgreement":{"@id":"https://w3id.org/security#keyAgreementMethod","@type":"@id","@container":"@set"},"service":{"@id":"https://www.w3.org/ns/did#service","@type":"@id","@context":{"@protected":true,"id":"@id","type":"@type","serviceEndpoint":{"@id":"https://www.w3.org/ns/did#serviceEndpoint","@type":"@id"}}},"verificationMethod":{"@id":"https://w3id.org/security#verificationMethod","@type":"@id"}}},"https://www.w3.org/ns/credentials/examples/v2":{"@context":{"@vocab":"https://www.w3.org/ns/credentials/examples#"}}}')}};var __webpack_module_cache__={};function __nccwpck_require__(re){var ie=__webpack_module_cache__[re];if(ie!==undefined){return ie.exports}var oe=__webpack_module_cache__[re]={id:re,loaded:false,exports:{}};var se=true;try{__webpack_modules__[re].call(oe.exports,oe,oe.exports,__nccwpck_require__);se=false}finally{if(se)delete __webpack_module_cache__[re]}oe.loaded=true;return oe.exports}__nccwpck_require__.m=__webpack_modules__;__nccwpck_require__.c=__webpack_module_cache__;(()=>{var re=typeof Symbol==="function"?Symbol("webpack queues"):"__webpack_queues__";var ie=typeof Symbol==="function"?Symbol("webpack exports"):"__webpack_exports__";var oe=typeof Symbol==="function"?Symbol("webpack error"):"__webpack_error__";var resolveQueue=re=>{if(re&&!re.d){re.d=1;re.forEach((re=>re.r--));re.forEach((re=>re.r--?re.r++:re()))}};var wrapDeps=se=>se.map((se=>{if(se!==null&&typeof se==="object"){if(se[re])return se;if(se.then){var ae=[];ae.d=0;se.then((re=>{ce[ie]=re;resolveQueue(ae)}),(re=>{ce[oe]=re;resolveQueue(ae)}));var ce={};ce[re]=re=>re(ae);return ce}}var ue={};ue[re]=re=>{};ue[ie]=se;return ue}));__nccwpck_require__.a=(se,ae,ce)=>{var ue;ce&&((ue=[]).d=1);var le=new Set;var fe=se.exports;var de;var pe;var he;var Ae=new Promise(((re,ie)=>{he=ie;pe=re}));Ae[ie]=fe;Ae[re]=re=>(ue&&re(ue),le.forEach(re),Ae["catch"]((re=>{})));se.exports=Ae;ae((se=>{de=wrapDeps(se);var ae;var getResult=()=>de.map((re=>{if(re[oe])throw re[oe];return re[ie]}));var ce=new Promise((ie=>{ae=()=>ie(getResult);ae.r=0;var fnQueue=re=>re!==ue&&!le.has(re)&&(le.add(re),re&&!re.d&&(ae.r++,re.push(ae)));de.map((ie=>ie[re](fnQueue)))}));return ae.r?ce:getResult()}),(re=>(re?he(Ae[oe]=re):pe(fe),resolveQueue(ue))));ue&&(ue.d=0)}})();(()=>{var re=Object.getPrototypeOf?re=>Object.getPrototypeOf(re):re=>re.__proto__;var ie;__nccwpck_require__.t=function(oe,se){if(se&1)oe=this(oe);if(se&8)return oe;if(typeof oe==="object"&&oe){if(se&4&&oe.__esModule)return oe;if(se&16&&typeof oe.then==="function")return oe}var ae=Object.create(null);__nccwpck_require__.r(ae);var ce={};ie=ie||[null,re({}),re([]),re(re)];for(var ue=se&2&&oe;typeof ue=="object"&&!~ie.indexOf(ue);ue=re(ue)){Object.getOwnPropertyNames(ue).forEach((re=>ce[re]=()=>oe[re]))}ce["default"]=()=>oe;__nccwpck_require__.d(ae,ce);return ae}})();(()=>{__nccwpck_require__.d=(re,ie)=>{for(var oe in ie){if(__nccwpck_require__.o(ie,oe)&&!__nccwpck_require__.o(re,oe)){Object.defineProperty(re,oe,{enumerable:true,get:ie[oe]})}}}})();(()=>{__nccwpck_require__.f={};__nccwpck_require__.e=re=>Promise.all(Object.keys(__nccwpck_require__.f).reduce(((ie,oe)=>{__nccwpck_require__.f[oe](re,ie);return ie}),[]))})();(()=>{__nccwpck_require__.u=re=>""+re+".index.js"})();(()=>{__nccwpck_require__.o=(re,ie)=>Object.prototype.hasOwnProperty.call(re,ie)})();(()=>{__nccwpck_require__.r=re=>{if(typeof Symbol!=="undefined"&&Symbol.toStringTag){Object.defineProperty(re,Symbol.toStringTag,{value:"Module"})}Object.defineProperty(re,"__esModule",{value:true})}})();(()=>{__nccwpck_require__.nmd=re=>{re.paths=[];if(!re.children)re.children=[];return re}})();if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";(()=>{var re={179:1};var installChunk=ie=>{var oe=ie.modules,se=ie.ids,ae=ie.runtime;for(var ce in oe){if(__nccwpck_require__.o(oe,ce)){__nccwpck_require__.m[ce]=oe[ce]}}if(ae)ae(__nccwpck_require__);for(var ue=0;ue{if(!re[ie]){if(true){installChunk(require("./"+__nccwpck_require__.u(ie)))}else re[ie]=1}}})();var __webpack_exports__=__nccwpck_require__(__nccwpck_require__.s=7764);module.exports=__webpack_exports__})(); \ No newline at end of file + */const Ie=createInstance();pe.DEFAULT_HEADERS=Ce;pe.httpClient=Ie;pe.kyPromise=Ee},88757:(R,pe,Ae)=>{"use strict";const he=Ae(64334);const ge=Ae(57310);const me=Ae(63329);const ye=Ae(13685);const ve=Ae(95687);const be=Ae(73837);const Ee=Ae(67707);const Ce=Ae(59796);const we=Ae(12781);const Ie=Ae(82361);function _interopDefaultLegacy(R){return R&&typeof R==="object"&&"default"in R?R:{default:R}}const _e=_interopDefaultLegacy(he);const Be=_interopDefaultLegacy(ge);const Se=_interopDefaultLegacy(ye);const Qe=_interopDefaultLegacy(ve);const xe=_interopDefaultLegacy(be);const De=_interopDefaultLegacy(Ee);const ke=_interopDefaultLegacy(Ce);const Oe=_interopDefaultLegacy(we);function bind(R,pe){return function wrap(){return R.apply(pe,arguments)}}const{toString:Re}=Object.prototype;const{getPrototypeOf:Pe}=Object;const Te=(R=>pe=>{const Ae=Re.call(pe);return R[Ae]||(R[Ae]=Ae.slice(8,-1).toLowerCase())})(Object.create(null));const kindOfTest=R=>{R=R.toLowerCase();return pe=>Te(pe)===R};const typeOfTest=R=>pe=>typeof pe===R;const{isArray:Ne}=Array;const Me=typeOfTest("undefined");function isBuffer(R){return R!==null&&!Me(R)&&R.constructor!==null&&!Me(R.constructor)&&Le(R.constructor.isBuffer)&&R.constructor.isBuffer(R)}const Fe=kindOfTest("ArrayBuffer");function isArrayBufferView(R){let pe;if(typeof ArrayBuffer!=="undefined"&&ArrayBuffer.isView){pe=ArrayBuffer.isView(R)}else{pe=R&&R.buffer&&Fe(R.buffer)}return pe}const je=typeOfTest("string");const Le=typeOfTest("function");const Ue=typeOfTest("number");const isObject=R=>R!==null&&typeof R==="object";const isBoolean=R=>R===true||R===false;const isPlainObject=R=>{if(Te(R)!=="object"){return false}const pe=Pe(R);return(pe===null||pe===Object.prototype||Object.getPrototypeOf(pe)===null)&&!(Symbol.toStringTag in R)&&!(Symbol.iterator in R)};const He=kindOfTest("Date");const Ve=kindOfTest("File");const We=kindOfTest("Blob");const Je=kindOfTest("FileList");const isStream=R=>isObject(R)&&Le(R.pipe);const isFormData=R=>{let pe;return R&&(typeof FormData==="function"&&R instanceof FormData||Le(R.append)&&((pe=Te(R))==="formdata"||pe==="object"&&Le(R.toString)&&R.toString()==="[object FormData]"))};const Ge=kindOfTest("URLSearchParams");const[qe,Ye,Ke,ze]=["ReadableStream","Request","Response","Headers"].map(kindOfTest);const trim=R=>R.trim?R.trim():R.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function forEach(R,pe,{allOwnKeys:Ae=false}={}){if(R===null||typeof R==="undefined"){return}let he;let ge;if(typeof R!=="object"){R=[R]}if(Ne(R)){for(he=0,ge=R.length;he0){ge=Ae[he];if(pe===ge.toLowerCase()){return ge}}return null}const $e=(()=>{if(typeof globalThis!=="undefined")return globalThis;return typeof self!=="undefined"?self:typeof window!=="undefined"?window:global})();const isContextDefined=R=>!Me(R)&&R!==$e;function merge(){const{caseless:R}=isContextDefined(this)&&this||{};const pe={};const assignValue=(Ae,he)=>{const ge=R&&findKey(pe,he)||he;if(isPlainObject(pe[ge])&&isPlainObject(Ae)){pe[ge]=merge(pe[ge],Ae)}else if(isPlainObject(Ae)){pe[ge]=merge({},Ae)}else if(Ne(Ae)){pe[ge]=Ae.slice()}else{pe[ge]=Ae}};for(let R=0,pe=arguments.length;R{forEach(pe,((pe,he)=>{if(Ae&&Le(pe)){R[he]=bind(pe,Ae)}else{R[he]=pe}}),{allOwnKeys:he});return R};const stripBOM=R=>{if(R.charCodeAt(0)===65279){R=R.slice(1)}return R};const inherits=(R,pe,Ae,he)=>{R.prototype=Object.create(pe.prototype,he);R.prototype.constructor=R;Object.defineProperty(R,"super",{value:pe.prototype});Ae&&Object.assign(R.prototype,Ae)};const toFlatObject=(R,pe,Ae,he)=>{let ge;let me;let ye;const ve={};pe=pe||{};if(R==null)return pe;do{ge=Object.getOwnPropertyNames(R);me=ge.length;while(me-- >0){ye=ge[me];if((!he||he(ye,R,pe))&&!ve[ye]){pe[ye]=R[ye];ve[ye]=true}}R=Ae!==false&&Pe(R)}while(R&&(!Ae||Ae(R,pe))&&R!==Object.prototype);return pe};const endsWith=(R,pe,Ae)=>{R=String(R);if(Ae===undefined||Ae>R.length){Ae=R.length}Ae-=pe.length;const he=R.indexOf(pe,Ae);return he!==-1&&he===Ae};const toArray=R=>{if(!R)return null;if(Ne(R))return R;let pe=R.length;if(!Ue(pe))return null;const Ae=new Array(pe);while(pe-- >0){Ae[pe]=R[pe]}return Ae};const Ze=(R=>pe=>R&&pe instanceof R)(typeof Uint8Array!=="undefined"&&Pe(Uint8Array));const forEachEntry=(R,pe)=>{const Ae=R&&R[Symbol.iterator];const he=Ae.call(R);let ge;while((ge=he.next())&&!ge.done){const Ae=ge.value;pe.call(R,Ae[0],Ae[1])}};const matchAll=(R,pe)=>{let Ae;const he=[];while((Ae=R.exec(pe))!==null){he.push(Ae)}return he};const Xe=kindOfTest("HTMLFormElement");const toCamelCase=R=>R.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function replacer(R,pe,Ae){return pe.toUpperCase()+Ae}));const et=(({hasOwnProperty:R})=>(pe,Ae)=>R.call(pe,Ae))(Object.prototype);const tt=kindOfTest("RegExp");const reduceDescriptors=(R,pe)=>{const Ae=Object.getOwnPropertyDescriptors(R);const he={};forEach(Ae,((Ae,ge)=>{let me;if((me=pe(Ae,ge,R))!==false){he[ge]=me||Ae}}));Object.defineProperties(R,he)};const freezeMethods=R=>{reduceDescriptors(R,((pe,Ae)=>{if(Le(R)&&["arguments","caller","callee"].indexOf(Ae)!==-1){return false}const he=R[Ae];if(!Le(he))return;pe.enumerable=false;if("writable"in pe){pe.writable=false;return}if(!pe.set){pe.set=()=>{throw Error("Can not rewrite read-only method '"+Ae+"'")}}}))};const toObjectSet=(R,pe)=>{const Ae={};const define=R=>{R.forEach((R=>{Ae[R]=true}))};Ne(R)?define(R):define(String(R).split(pe));return Ae};const noop=()=>{};const toFiniteNumber=(R,pe)=>R!=null&&Number.isFinite(R=+R)?R:pe;const rt="abcdefghijklmnopqrstuvwxyz";const nt="0123456789";const it={DIGIT:nt,ALPHA:rt,ALPHA_DIGIT:rt+rt.toUpperCase()+nt};const generateString=(R=16,pe=it.ALPHA_DIGIT)=>{let Ae="";const{length:he}=pe;while(R--){Ae+=pe[Math.random()*he|0]}return Ae};function isSpecCompliantForm(R){return!!(R&&Le(R.append)&&R[Symbol.toStringTag]==="FormData"&&R[Symbol.iterator])}const toJSONObject=R=>{const pe=new Array(10);const visit=(R,Ae)=>{if(isObject(R)){if(pe.indexOf(R)>=0){return}if(!("toJSON"in R)){pe[Ae]=R;const he=Ne(R)?[]:{};forEach(R,((R,pe)=>{const ge=visit(R,Ae+1);!Me(ge)&&(he[pe]=ge)}));pe[Ae]=undefined;return he}}return R};return visit(R,0)};const ot=kindOfTest("AsyncFunction");const isThenable=R=>R&&(isObject(R)||Le(R))&&Le(R.then)&&Le(R.catch);const st=((R,pe)=>{if(R){return setImmediate}return pe?((R,pe)=>{$e.addEventListener("message",(({source:Ae,data:he})=>{if(Ae===$e&&he===R){pe.length&&pe.shift()()}}),false);return Ae=>{pe.push(Ae);$e.postMessage(R,"*")}})(`axios@${Math.random()}`,[]):R=>setTimeout(R)})(typeof setImmediate==="function",Le($e.postMessage));const at=typeof queueMicrotask!=="undefined"?queueMicrotask.bind($e):typeof process!=="undefined"&&process.nextTick||st;const ct={isArray:Ne,isArrayBuffer:Fe,isBuffer:isBuffer,isFormData:isFormData,isArrayBufferView:isArrayBufferView,isString:je,isNumber:Ue,isBoolean:isBoolean,isObject:isObject,isPlainObject:isPlainObject,isReadableStream:qe,isRequest:Ye,isResponse:Ke,isHeaders:ze,isUndefined:Me,isDate:He,isFile:Ve,isBlob:We,isRegExp:tt,isFunction:Le,isStream:isStream,isURLSearchParams:Ge,isTypedArray:Ze,isFileList:Je,forEach:forEach,merge:merge,extend:extend,trim:trim,stripBOM:stripBOM,inherits:inherits,toFlatObject:toFlatObject,kindOf:Te,kindOfTest:kindOfTest,endsWith:endsWith,toArray:toArray,forEachEntry:forEachEntry,matchAll:matchAll,isHTMLForm:Xe,hasOwnProperty:et,hasOwnProp:et,reduceDescriptors:reduceDescriptors,freezeMethods:freezeMethods,toObjectSet:toObjectSet,toCamelCase:toCamelCase,noop:noop,toFiniteNumber:toFiniteNumber,findKey:findKey,global:$e,isContextDefined:isContextDefined,ALPHABET:it,generateString:generateString,isSpecCompliantForm:isSpecCompliantForm,toJSONObject:toJSONObject,isAsyncFn:ot,isThenable:isThenable,setImmediate:st,asap:at};function AxiosError(R,pe,Ae,he,ge){Error.call(this);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}else{this.stack=(new Error).stack}this.message=R;this.name="AxiosError";pe&&(this.code=pe);Ae&&(this.config=Ae);he&&(this.request=he);ge&&(this.response=ge)}ct.inherits(AxiosError,Error,{toJSON:function toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:ct.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const ut=AxiosError.prototype;const lt={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((R=>{lt[R]={value:R}}));Object.defineProperties(AxiosError,lt);Object.defineProperty(ut,"isAxiosError",{value:true});AxiosError.from=(R,pe,Ae,he,ge,me)=>{const ye=Object.create(ut);ct.toFlatObject(R,ye,(function filter(R){return R!==Error.prototype}),(R=>R!=="isAxiosError"));AxiosError.call(ye,R.message,pe,Ae,he,ge);ye.cause=R;ye.name=R.name;me&&Object.assign(ye,me);return ye};function isVisitable(R){return ct.isPlainObject(R)||ct.isArray(R)}function removeBrackets(R){return ct.endsWith(R,"[]")?R.slice(0,-2):R}function renderKey(R,pe,Ae){if(!R)return pe;return R.concat(pe).map((function each(R,pe){R=removeBrackets(R);return!Ae&&pe?"["+R+"]":R})).join(Ae?".":"")}function isFlatArray(R){return ct.isArray(R)&&!R.some(isVisitable)}const dt=ct.toFlatObject(ct,{},null,(function filter(R){return/^is[A-Z]/.test(R)}));function toFormData(R,pe,Ae){if(!ct.isObject(R)){throw new TypeError("target must be an object")}pe=pe||new(_e["default"]||FormData);Ae=ct.toFlatObject(Ae,{metaTokens:true,dots:false,indexes:false},false,(function defined(R,pe){return!ct.isUndefined(pe[R])}));const he=Ae.metaTokens;const ge=Ae.visitor||defaultVisitor;const me=Ae.dots;const ye=Ae.indexes;const ve=Ae.Blob||typeof Blob!=="undefined"&&Blob;const be=ve&&ct.isSpecCompliantForm(pe);if(!ct.isFunction(ge)){throw new TypeError("visitor must be a function")}function convertValue(R){if(R===null)return"";if(ct.isDate(R)){return R.toISOString()}if(!be&&ct.isBlob(R)){throw new AxiosError("Blob is not supported. Use a Buffer instead.")}if(ct.isArrayBuffer(R)||ct.isTypedArray(R)){return be&&typeof Blob==="function"?new Blob([R]):Buffer.from(R)}return R}function defaultVisitor(R,Ae,ge){let ve=R;if(R&&!ge&&typeof R==="object"){if(ct.endsWith(Ae,"{}")){Ae=he?Ae:Ae.slice(0,-2);R=JSON.stringify(R)}else if(ct.isArray(R)&&isFlatArray(R)||(ct.isFileList(R)||ct.endsWith(Ae,"[]"))&&(ve=ct.toArray(R))){Ae=removeBrackets(Ae);ve.forEach((function each(R,he){!(ct.isUndefined(R)||R===null)&&pe.append(ye===true?renderKey([Ae],he,me):ye===null?Ae:Ae+"[]",convertValue(R))}));return false}}if(isVisitable(R)){return true}pe.append(renderKey(ge,Ae,me),convertValue(R));return false}const Ee=[];const Ce=Object.assign(dt,{defaultVisitor:defaultVisitor,convertValue:convertValue,isVisitable:isVisitable});function build(R,Ae){if(ct.isUndefined(R))return;if(Ee.indexOf(R)!==-1){throw Error("Circular reference detected in "+Ae.join("."))}Ee.push(R);ct.forEach(R,(function each(R,he){const me=!(ct.isUndefined(R)||R===null)&&ge.call(pe,R,ct.isString(he)?he.trim():he,Ae,Ce);if(me===true){build(R,Ae?Ae.concat(he):[he])}}));Ee.pop()}if(!ct.isObject(R)){throw new TypeError("data must be an object")}build(R);return pe}function encode$1(R){const pe={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(R).replace(/[!'()~]|%20|%00/g,(function replacer(R){return pe[R]}))}function AxiosURLSearchParams(R,pe){this._pairs=[];R&&toFormData(R,this,pe)}const ft=AxiosURLSearchParams.prototype;ft.append=function append(R,pe){this._pairs.push([R,pe])};ft.toString=function toString(R){const pe=R?function(pe){return R.call(this,pe,encode$1)}:encode$1;return this._pairs.map((function each(R){return pe(R[0])+"="+pe(R[1])}),"").join("&")};function encode(R){return encodeURIComponent(R).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function buildURL(R,pe,Ae){if(!pe){return R}const he=Ae&&Ae.encode||encode;const ge=Ae&&Ae.serialize;let me;if(ge){me=ge(pe,Ae)}else{me=ct.isURLSearchParams(pe)?pe.toString():new AxiosURLSearchParams(pe,Ae).toString(he)}if(me){const pe=R.indexOf("#");if(pe!==-1){R=R.slice(0,pe)}R+=(R.indexOf("?")===-1?"?":"&")+me}return R}class InterceptorManager{constructor(){this.handlers=[]}use(R,pe,Ae){this.handlers.push({fulfilled:R,rejected:pe,synchronous:Ae?Ae.synchronous:false,runWhen:Ae?Ae.runWhen:null});return this.handlers.length-1}eject(R){if(this.handlers[R]){this.handlers[R]=null}}clear(){if(this.handlers){this.handlers=[]}}forEach(R){ct.forEach(this.handlers,(function forEachHandler(pe){if(pe!==null){R(pe)}}))}}const pt=InterceptorManager;const At={silentJSONParsing:true,forcedJSONParsing:true,clarifyTimeoutError:false};const ht=Be["default"].URLSearchParams;const gt={isNode:true,classes:{URLSearchParams:ht,FormData:_e["default"],Blob:typeof Blob!=="undefined"&&Blob||null},protocols:["http","https","file","data"]};const mt=typeof window!=="undefined"&&typeof document!=="undefined";const yt=(R=>mt&&["ReactNative","NativeScript","NS"].indexOf(R)<0)(typeof navigator!=="undefined"&&navigator.product);const vt=(()=>typeof WorkerGlobalScope!=="undefined"&&self instanceof WorkerGlobalScope&&typeof self.importScripts==="function")();const bt=mt&&window.location.href||"http://localhost";const Et=Object.freeze({__proto__:null,hasBrowserEnv:mt,hasStandardBrowserWebWorkerEnv:vt,hasStandardBrowserEnv:yt,origin:bt});const Ct={...Et,...gt};function toURLEncodedForm(R,pe){return toFormData(R,new Ct.classes.URLSearchParams,Object.assign({visitor:function(R,pe,Ae,he){if(Ct.isNode&&ct.isBuffer(R)){this.append(pe,R.toString("base64"));return false}return he.defaultVisitor.apply(this,arguments)}},pe))}function parsePropPath(R){return ct.matchAll(/\w+|\[(\w*)]/g,R).map((R=>R[0]==="[]"?"":R[1]||R[0]))}function arrayToObject(R){const pe={};const Ae=Object.keys(R);let he;const ge=Ae.length;let me;for(he=0;he=R.length;ge=!ge&&ct.isArray(Ae)?Ae.length:ge;if(ye){if(ct.hasOwnProp(Ae,ge)){Ae[ge]=[Ae[ge],pe]}else{Ae[ge]=pe}return!me}if(!Ae[ge]||!ct.isObject(Ae[ge])){Ae[ge]=[]}const ve=buildPath(R,pe,Ae[ge],he);if(ve&&ct.isArray(Ae[ge])){Ae[ge]=arrayToObject(Ae[ge])}return!me}if(ct.isFormData(R)&&ct.isFunction(R.entries)){const pe={};ct.forEachEntry(R,((R,Ae)=>{buildPath(parsePropPath(R),Ae,pe,0)}));return pe}return null}function stringifySafely(R,pe,Ae){if(ct.isString(R)){try{(pe||JSON.parse)(R);return ct.trim(R)}catch(R){if(R.name!=="SyntaxError"){throw R}}}return(Ae||JSON.stringify)(R)}const wt={transitional:At,adapter:["xhr","http","fetch"],transformRequest:[function transformRequest(R,pe){const Ae=pe.getContentType()||"";const he=Ae.indexOf("application/json")>-1;const ge=ct.isObject(R);if(ge&&ct.isHTMLForm(R)){R=new FormData(R)}const me=ct.isFormData(R);if(me){return he?JSON.stringify(formDataToJSON(R)):R}if(ct.isArrayBuffer(R)||ct.isBuffer(R)||ct.isStream(R)||ct.isFile(R)||ct.isBlob(R)||ct.isReadableStream(R)){return R}if(ct.isArrayBufferView(R)){return R.buffer}if(ct.isURLSearchParams(R)){pe.setContentType("application/x-www-form-urlencoded;charset=utf-8",false);return R.toString()}let ye;if(ge){if(Ae.indexOf("application/x-www-form-urlencoded")>-1){return toURLEncodedForm(R,this.formSerializer).toString()}if((ye=ct.isFileList(R))||Ae.indexOf("multipart/form-data")>-1){const pe=this.env&&this.env.FormData;return toFormData(ye?{"files[]":R}:R,pe&&new pe,this.formSerializer)}}if(ge||he){pe.setContentType("application/json",false);return stringifySafely(R)}return R}],transformResponse:[function transformResponse(R){const pe=this.transitional||wt.transitional;const Ae=pe&&pe.forcedJSONParsing;const he=this.responseType==="json";if(ct.isResponse(R)||ct.isReadableStream(R)){return R}if(R&&ct.isString(R)&&(Ae&&!this.responseType||he)){const Ae=pe&&pe.silentJSONParsing;const ge=!Ae&&he;try{return JSON.parse(R)}catch(R){if(ge){if(R.name==="SyntaxError"){throw AxiosError.from(R,AxiosError.ERR_BAD_RESPONSE,this,null,this.response)}throw R}}}return R}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ct.classes.FormData,Blob:Ct.classes.Blob},validateStatus:function validateStatus(R){return R>=200&&R<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":undefined}}};ct.forEach(["delete","get","head","post","put","patch"],(R=>{wt.headers[R]={}}));const It=wt;const _t=ct.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);const parseHeaders=R=>{const pe={};let Ae;let he;let ge;R&&R.split("\n").forEach((function parser(R){ge=R.indexOf(":");Ae=R.substring(0,ge).trim().toLowerCase();he=R.substring(ge+1).trim();if(!Ae||pe[Ae]&&_t[Ae]){return}if(Ae==="set-cookie"){if(pe[Ae]){pe[Ae].push(he)}else{pe[Ae]=[he]}}else{pe[Ae]=pe[Ae]?pe[Ae]+", "+he:he}}));return pe};const Bt=Symbol("internals");function normalizeHeader(R){return R&&String(R).trim().toLowerCase()}function normalizeValue(R){if(R===false||R==null){return R}return ct.isArray(R)?R.map(normalizeValue):String(R)}function parseTokens(R){const pe=Object.create(null);const Ae=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let he;while(he=Ae.exec(R)){pe[he[1]]=he[2]}return pe}const isValidHeaderName=R=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(R.trim());function matchHeaderValue(R,pe,Ae,he,ge){if(ct.isFunction(he)){return he.call(this,pe,Ae)}if(ge){pe=Ae}if(!ct.isString(pe))return;if(ct.isString(he)){return pe.indexOf(he)!==-1}if(ct.isRegExp(he)){return he.test(pe)}}function formatHeader(R){return R.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((R,pe,Ae)=>pe.toUpperCase()+Ae))}function buildAccessors(R,pe){const Ae=ct.toCamelCase(" "+pe);["get","set","has"].forEach((he=>{Object.defineProperty(R,he+Ae,{value:function(R,Ae,ge){return this[he].call(this,pe,R,Ae,ge)},configurable:true})}))}class AxiosHeaders{constructor(R){R&&this.set(R)}set(R,pe,Ae){const he=this;function setHeader(R,pe,Ae){const ge=normalizeHeader(pe);if(!ge){throw new Error("header name must be a non-empty string")}const me=ct.findKey(he,ge);if(!me||he[me]===undefined||Ae===true||Ae===undefined&&he[me]!==false){he[me||pe]=normalizeValue(R)}}const setHeaders=(R,pe)=>ct.forEach(R,((R,Ae)=>setHeader(R,Ae,pe)));if(ct.isPlainObject(R)||R instanceof this.constructor){setHeaders(R,pe)}else if(ct.isString(R)&&(R=R.trim())&&!isValidHeaderName(R)){setHeaders(parseHeaders(R),pe)}else if(ct.isHeaders(R)){for(const[pe,he]of R.entries()){setHeader(he,pe,Ae)}}else{R!=null&&setHeader(pe,R,Ae)}return this}get(R,pe){R=normalizeHeader(R);if(R){const Ae=ct.findKey(this,R);if(Ae){const R=this[Ae];if(!pe){return R}if(pe===true){return parseTokens(R)}if(ct.isFunction(pe)){return pe.call(this,R,Ae)}if(ct.isRegExp(pe)){return pe.exec(R)}throw new TypeError("parser must be boolean|regexp|function")}}}has(R,pe){R=normalizeHeader(R);if(R){const Ae=ct.findKey(this,R);return!!(Ae&&this[Ae]!==undefined&&(!pe||matchHeaderValue(this,this[Ae],Ae,pe)))}return false}delete(R,pe){const Ae=this;let he=false;function deleteHeader(R){R=normalizeHeader(R);if(R){const ge=ct.findKey(Ae,R);if(ge&&(!pe||matchHeaderValue(Ae,Ae[ge],ge,pe))){delete Ae[ge];he=true}}}if(ct.isArray(R)){R.forEach(deleteHeader)}else{deleteHeader(R)}return he}clear(R){const pe=Object.keys(this);let Ae=pe.length;let he=false;while(Ae--){const ge=pe[Ae];if(!R||matchHeaderValue(this,this[ge],ge,R,true)){delete this[ge];he=true}}return he}normalize(R){const pe=this;const Ae={};ct.forEach(this,((he,ge)=>{const me=ct.findKey(Ae,ge);if(me){pe[me]=normalizeValue(he);delete pe[ge];return}const ye=R?formatHeader(ge):String(ge).trim();if(ye!==ge){delete pe[ge]}pe[ye]=normalizeValue(he);Ae[ye]=true}));return this}concat(...R){return this.constructor.concat(this,...R)}toJSON(R){const pe=Object.create(null);ct.forEach(this,((Ae,he)=>{Ae!=null&&Ae!==false&&(pe[he]=R&&ct.isArray(Ae)?Ae.join(", "):Ae)}));return pe}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([R,pe])=>R+": "+pe)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(R){return R instanceof this?R:new this(R)}static concat(R,...pe){const Ae=new this(R);pe.forEach((R=>Ae.set(R)));return Ae}static accessor(R){const pe=this[Bt]=this[Bt]={accessors:{}};const Ae=pe.accessors;const he=this.prototype;function defineAccessor(R){const pe=normalizeHeader(R);if(!Ae[pe]){buildAccessors(he,R);Ae[pe]=true}}ct.isArray(R)?R.forEach(defineAccessor):defineAccessor(R);return this}}AxiosHeaders.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);ct.reduceDescriptors(AxiosHeaders.prototype,(({value:R},pe)=>{let Ae=pe[0].toUpperCase()+pe.slice(1);return{get:()=>R,set(R){this[Ae]=R}}}));ct.freezeMethods(AxiosHeaders);const St=AxiosHeaders;function transformData(R,pe){const Ae=this||It;const he=pe||Ae;const ge=St.from(he.headers);let me=he.data;ct.forEach(R,(function transform(R){me=R.call(Ae,me,ge.normalize(),pe?pe.status:undefined)}));ge.normalize();return me}function isCancel(R){return!!(R&&R.__CANCEL__)}function CanceledError(R,pe,Ae){AxiosError.call(this,R==null?"canceled":R,AxiosError.ERR_CANCELED,pe,Ae);this.name="CanceledError"}ct.inherits(CanceledError,AxiosError,{__CANCEL__:true});function settle(R,pe,Ae){const he=Ae.config.validateStatus;if(!Ae.status||!he||he(Ae.status)){R(Ae)}else{pe(new AxiosError("Request failed with status code "+Ae.status,[AxiosError.ERR_BAD_REQUEST,AxiosError.ERR_BAD_RESPONSE][Math.floor(Ae.status/100)-4],Ae.config,Ae.request,Ae))}}function isAbsoluteURL(R){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(R)}function combineURLs(R,pe){return pe?R.replace(/\/?\/$/,"")+"/"+pe.replace(/^\/+/,""):R}function buildFullPath(R,pe){if(R&&!isAbsoluteURL(pe)){return combineURLs(R,pe)}return pe}const Qt="1.7.3";function parseProtocol(R){const pe=/^([-+\w]{1,25})(:?\/\/|:)/.exec(R);return pe&&pe[1]||""}const xt=/^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;function fromDataURI(R,pe,Ae){const he=Ae&&Ae.Blob||Ct.classes.Blob;const ge=parseProtocol(R);if(pe===undefined&&he){pe=true}if(ge==="data"){R=ge.length?R.slice(ge.length+1):R;const Ae=xt.exec(R);if(!Ae){throw new AxiosError("Invalid URL",AxiosError.ERR_INVALID_URL)}const me=Ae[1];const ye=Ae[2];const ve=Ae[3];const be=Buffer.from(decodeURIComponent(ve),ye?"base64":"utf8");if(pe){if(!he){throw new AxiosError("Blob is not supported",AxiosError.ERR_NOT_SUPPORT)}return new he([be],{type:me})}return be}throw new AxiosError("Unsupported protocol "+ge,AxiosError.ERR_NOT_SUPPORT)}const Dt=Symbol("internals");class AxiosTransformStream extends Oe["default"].Transform{constructor(R){R=ct.toFlatObject(R,{maxRate:0,chunkSize:64*1024,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,((R,pe)=>!ct.isUndefined(pe[R])));super({readableHighWaterMark:R.chunkSize});const pe=this[Dt]={timeWindow:R.timeWindow,chunkSize:R.chunkSize,maxRate:R.maxRate,minChunkSize:R.minChunkSize,bytesSeen:0,isCaptured:false,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null};this.on("newListener",(R=>{if(R==="progress"){if(!pe.isCaptured){pe.isCaptured=true}}}))}_read(R){const pe=this[Dt];if(pe.onReadCallback){pe.onReadCallback()}return super._read(R)}_transform(R,pe,Ae){const he=this[Dt];const ge=he.maxRate;const me=this.readableHighWaterMark;const ye=he.timeWindow;const ve=1e3/ye;const be=ge/ve;const Ee=he.minChunkSize!==false?Math.max(he.minChunkSize,be*.01):0;const pushChunk=(R,pe)=>{const Ae=Buffer.byteLength(R);he.bytesSeen+=Ae;he.bytes+=Ae;he.isCaptured&&this.emit("progress",he.bytesSeen);if(this.push(R)){process.nextTick(pe)}else{he.onReadCallback=()=>{he.onReadCallback=null;process.nextTick(pe)}}};const transformChunk=(R,pe)=>{const Ae=Buffer.byteLength(R);let ve=null;let Ce=me;let we;let Ie=0;if(ge){const R=Date.now();if(!he.ts||(Ie=R-he.ts)>=ye){he.ts=R;we=be-he.bytes;he.bytes=we<0?-we:0;Ie=0}we=be-he.bytes}if(ge){if(we<=0){return setTimeout((()=>{pe(null,R)}),ye-Ie)}if(weCe&&Ae-Ce>Ee){ve=R.subarray(Ce);R=R.subarray(0,Ce)}pushChunk(R,ve?()=>{process.nextTick(pe,null,ve)}:pe)};transformChunk(R,(function transformNextChunk(R,pe){if(R){return Ae(R)}if(pe){transformChunk(pe,transformNextChunk)}else{Ae(null)}}))}}const kt=AxiosTransformStream;const{asyncIterator:Ot}=Symbol;const readBlob=async function*(R){if(R.stream){yield*R.stream()}else if(R.arrayBuffer){yield await R.arrayBuffer()}else if(R[Ot]){yield*R[Ot]()}else{yield R}};const Rt=readBlob;const Pt=ct.ALPHABET.ALPHA_DIGIT+"-_";const Tt=new be.TextEncoder;const Nt="\r\n";const Mt=Tt.encode(Nt);const Ft=2;class FormDataPart{constructor(R,pe){const{escapeName:Ae}=this.constructor;const he=ct.isString(pe);let ge=`Content-Disposition: form-data; name="${Ae(R)}"${!he&&pe.name?`; filename="${Ae(pe.name)}"`:""}${Nt}`;if(he){pe=Tt.encode(String(pe).replace(/\r?\n|\r\n?/g,Nt))}else{ge+=`Content-Type: ${pe.type||"application/octet-stream"}${Nt}`}this.headers=Tt.encode(ge+Nt);this.contentLength=he?pe.byteLength:pe.size;this.size=this.headers.byteLength+this.contentLength+Ft;this.name=R;this.value=pe}async*encode(){yield this.headers;const{value:R}=this;if(ct.isTypedArray(R)){yield R}else{yield*Rt(R)}yield Mt}static escapeName(R){return String(R).replace(/[\r\n"]/g,(R=>({"\r":"%0D","\n":"%0A",'"':"%22"}[R])))}}const formDataToStream=(R,pe,Ae)=>{const{tag:he="form-data-boundary",size:ge=25,boundary:me=he+"-"+ct.generateString(ge,Pt)}=Ae||{};if(!ct.isFormData(R)){throw TypeError("FormData instance required")}if(me.length<1||me.length>70){throw Error("boundary must be 10-70 characters long")}const ye=Tt.encode("--"+me+Nt);const ve=Tt.encode("--"+me+"--"+Nt+Nt);let be=ve.byteLength;const Ee=Array.from(R.entries()).map((([R,pe])=>{const Ae=new FormDataPart(R,pe);be+=Ae.size;return Ae}));be+=ye.byteLength*Ee.length;be=ct.toFiniteNumber(be);const Ce={"Content-Type":`multipart/form-data; boundary=${me}`};if(Number.isFinite(be)){Ce["Content-Length"]=be}pe&&pe(Ce);return we.Readable.from(async function*(){for(const R of Ee){yield ye;yield*R.encode()}yield ve}())};const jt=formDataToStream;class ZlibHeaderTransformStream extends Oe["default"].Transform{__transform(R,pe,Ae){this.push(R);Ae()}_transform(R,pe,Ae){if(R.length!==0){this._transform=this.__transform;if(R[0]!==120){const R=Buffer.alloc(2);R[0]=120;R[1]=156;this.push(R,pe)}}this.__transform(R,pe,Ae)}}const Lt=ZlibHeaderTransformStream;const callbackify=(R,pe)=>ct.isAsyncFn(R)?function(...Ae){const he=Ae.pop();R.apply(this,Ae).then((R=>{try{pe?he(null,...pe(R)):he(null,R)}catch(R){he(R)}}),he)}:R;const Ut=callbackify;function speedometer(R,pe){R=R||10;const Ae=new Array(R);const he=new Array(R);let ge=0;let me=0;let ye;pe=pe!==undefined?pe:1e3;return function push(ve){const be=Date.now();const Ee=he[me];if(!ye){ye=be}Ae[ge]=ve;he[ge]=be;let Ce=me;let we=0;while(Ce!==ge){we+=Ae[Ce++];Ce=Ce%R}ge=(ge+1)%R;if(ge===me){me=(me+1)%R}if(be-ye{Ae=he;ge=null;if(me){clearTimeout(me);me=null}R.apply(null,pe)};const throttled=(...R)=>{const pe=Date.now();const ye=pe-Ae;if(ye>=he){invoke(R,pe)}else{ge=R;if(!me){me=setTimeout((()=>{me=null;invoke(ge)}),he-ye)}}};const flush=()=>ge&&invoke(ge);return[throttled,flush]}const progressEventReducer=(R,pe,Ae=3)=>{let he=0;const ge=speedometer(50,250);return throttle((Ae=>{const me=Ae.loaded;const ye=Ae.lengthComputable?Ae.total:undefined;const ve=me-he;const be=ge(ve);const Ee=me<=ye;he=me;const Ce={loaded:me,total:ye,progress:ye?me/ye:undefined,bytes:ve,rate:be?be:undefined,estimated:be&&ye&&Ee?(ye-me)/be:undefined,event:Ae,lengthComputable:ye!=null,[pe?"download":"upload"]:true};R(Ce)}),Ae)};const progressEventDecorator=(R,pe)=>{const Ae=R!=null;return[he=>pe[0]({lengthComputable:Ae,total:R,loaded:he}),pe[1]]};const asyncDecorator=R=>(...pe)=>ct.asap((()=>R(...pe)));const Ht={flush:ke["default"].constants.Z_SYNC_FLUSH,finishFlush:ke["default"].constants.Z_SYNC_FLUSH};const Vt={flush:ke["default"].constants.BROTLI_OPERATION_FLUSH,finishFlush:ke["default"].constants.BROTLI_OPERATION_FLUSH};const Wt=ct.isFunction(ke["default"].createBrotliDecompress);const{http:Jt,https:Gt}=De["default"];const qt=/https:?/;const Yt=Ct.protocols.map((R=>R+":"));const flushOnFinish=(R,[pe,Ae])=>{R.on("end",Ae).on("error",Ae);return pe};function dispatchBeforeRedirect(R,pe){if(R.beforeRedirects.proxy){R.beforeRedirects.proxy(R)}if(R.beforeRedirects.config){R.beforeRedirects.config(R,pe)}}function setProxy(R,pe,Ae){let he=pe;if(!he&&he!==false){const R=me.getProxyForUrl(Ae);if(R){he=new URL(R)}}if(he){if(he.username){he.auth=(he.username||"")+":"+(he.password||"")}if(he.auth){if(he.auth.username||he.auth.password){he.auth=(he.auth.username||"")+":"+(he.auth.password||"")}const pe=Buffer.from(he.auth,"utf8").toString("base64");R.headers["Proxy-Authorization"]="Basic "+pe}R.headers.host=R.hostname+(R.port?":"+R.port:"");const pe=he.hostname||he.host;R.hostname=pe;R.host=pe;R.port=he.port;R.path=Ae;if(he.protocol){R.protocol=he.protocol.includes(":")?he.protocol:`${he.protocol}:`}}R.beforeRedirects.proxy=function beforeRedirect(R){setProxy(R,pe,R.href)}}const Kt=typeof process!=="undefined"&&ct.kindOf(process)==="process";const wrapAsync=R=>new Promise(((pe,Ae)=>{let he;let ge;const done=(R,pe)=>{if(ge)return;ge=true;he&&he(R,pe)};const _resolve=R=>{done(R);pe(R)};const _reject=R=>{done(R,true);Ae(R)};R(_resolve,_reject,(R=>he=R)).catch(_reject)}));const resolveFamily=({address:R,family:pe})=>{if(!ct.isString(R)){throw TypeError("address must be a string")}return{address:R,family:pe||(R.indexOf(".")<0?6:4)}};const buildAddressEntry=(R,pe)=>resolveFamily(ct.isObject(R)?R:{address:R,family:pe});const zt=Kt&&function httpAdapter(R){return wrapAsync((async function dispatchHttpRequest(pe,Ae,he){let{data:ge,lookup:me,family:ye}=R;const{responseType:ve,responseEncoding:be}=R;const Ee=R.method.toUpperCase();let Ce;let we=false;let _e;if(me){const R=Ut(me,(R=>ct.isArray(R)?R:[R]));me=(pe,Ae,he)=>{R(pe,Ae,((R,pe,ge)=>{if(R){return he(R)}const me=ct.isArray(pe)?pe.map((R=>buildAddressEntry(R))):[buildAddressEntry(pe,ge)];Ae.all?he(R,me):he(R,me[0].address,me[0].family)}))}}const Be=new Ie.EventEmitter;const onFinished=()=>{if(R.cancelToken){R.cancelToken.unsubscribe(abort)}if(R.signal){R.signal.removeEventListener("abort",abort)}Be.removeAllListeners()};he(((R,pe)=>{Ce=true;if(pe){we=true;onFinished()}}));function abort(pe){Be.emit("abort",!pe||pe.type?new CanceledError(null,R,_e):pe)}Be.once("abort",Ae);if(R.cancelToken||R.signal){R.cancelToken&&R.cancelToken.subscribe(abort);if(R.signal){R.signal.aborted?abort():R.signal.addEventListener("abort",abort)}}const De=buildFullPath(R.baseURL,R.url);const Re=new URL(De,"http://localhost");const Pe=Re.protocol||Yt[0];if(Pe==="data:"){let he;if(Ee!=="GET"){return settle(pe,Ae,{status:405,statusText:"method not allowed",headers:{},config:R})}try{he=fromDataURI(R.url,ve==="blob",{Blob:R.env&&R.env.Blob})}catch(pe){throw AxiosError.from(pe,AxiosError.ERR_BAD_REQUEST,R)}if(ve==="text"){he=he.toString(be);if(!be||be==="utf8"){he=ct.stripBOM(he)}}else if(ve==="stream"){he=Oe["default"].Readable.from(he)}return settle(pe,Ae,{data:he,status:200,statusText:"OK",headers:new St,config:R})}if(Yt.indexOf(Pe)===-1){return Ae(new AxiosError("Unsupported protocol "+Pe,AxiosError.ERR_BAD_REQUEST,R))}const Te=St.from(R.headers).normalize();Te.set("User-Agent","axios/"+Qt,false);const{onUploadProgress:Ne,onDownloadProgress:Me}=R;const Fe=R.maxRate;let je=undefined;let Le=undefined;if(ct.isSpecCompliantForm(ge)){const R=Te.getContentType(/boundary=([-_\w\d]{10,70})/i);ge=jt(ge,(R=>{Te.set(R)}),{tag:`axios-${Qt}-boundary`,boundary:R&&R[1]||undefined})}else if(ct.isFormData(ge)&&ct.isFunction(ge.getHeaders)){Te.set(ge.getHeaders());if(!Te.hasContentLength()){try{const R=await xe["default"].promisify(ge.getLength).call(ge);Number.isFinite(R)&&R>=0&&Te.setContentLength(R)}catch(R){}}}else if(ct.isBlob(ge)){ge.size&&Te.setContentType(ge.type||"application/octet-stream");Te.setContentLength(ge.size||0);ge=Oe["default"].Readable.from(Rt(ge))}else if(ge&&!ct.isStream(ge)){if(Buffer.isBuffer(ge));else if(ct.isArrayBuffer(ge)){ge=Buffer.from(new Uint8Array(ge))}else if(ct.isString(ge)){ge=Buffer.from(ge,"utf-8")}else{return Ae(new AxiosError("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",AxiosError.ERR_BAD_REQUEST,R))}Te.setContentLength(ge.length,false);if(R.maxBodyLength>-1&&ge.length>R.maxBodyLength){return Ae(new AxiosError("Request body larger than maxBodyLength limit",AxiosError.ERR_BAD_REQUEST,R))}}const Ue=ct.toFiniteNumber(Te.getContentLength());if(ct.isArray(Fe)){je=Fe[0];Le=Fe[1]}else{je=Le=Fe}if(ge&&(Ne||je)){if(!ct.isStream(ge)){ge=Oe["default"].Readable.from(ge,{objectMode:false})}ge=Oe["default"].pipeline([ge,new kt({maxRate:ct.toFiniteNumber(je)})],ct.noop);Ne&&ge.on("progress",flushOnFinish(ge,progressEventDecorator(Ue,progressEventReducer(asyncDecorator(Ne),false,3))))}let He=undefined;if(R.auth){const pe=R.auth.username||"";const Ae=R.auth.password||"";He=pe+":"+Ae}if(!He&&Re.username){const R=Re.username;const pe=Re.password;He=R+":"+pe}He&&Te.delete("authorization");let Ve;try{Ve=buildURL(Re.pathname+Re.search,R.params,R.paramsSerializer).replace(/^\?/,"")}catch(pe){const he=new Error(pe.message);he.config=R;he.url=R.url;he.exists=true;return Ae(he)}Te.set("Accept-Encoding","gzip, compress, deflate"+(Wt?", br":""),false);const We={path:Ve,method:Ee,headers:Te.toJSON(),agents:{http:R.httpAgent,https:R.httpsAgent},auth:He,protocol:Pe,family:ye,beforeRedirect:dispatchBeforeRedirect,beforeRedirects:{}};!ct.isUndefined(me)&&(We.lookup=me);if(R.socketPath){We.socketPath=R.socketPath}else{We.hostname=Re.hostname;We.port=Re.port;setProxy(We,R.proxy,Pe+"//"+Re.hostname+(Re.port?":"+Re.port:"")+We.path)}let Je;const Ge=qt.test(We.protocol);We.agent=Ge?R.httpsAgent:R.httpAgent;if(R.transport){Je=R.transport}else if(R.maxRedirects===0){Je=Ge?Qe["default"]:Se["default"]}else{if(R.maxRedirects){We.maxRedirects=R.maxRedirects}if(R.beforeRedirect){We.beforeRedirects.config=R.beforeRedirect}Je=Ge?Gt:Jt}if(R.maxBodyLength>-1){We.maxBodyLength=R.maxBodyLength}else{We.maxBodyLength=Infinity}if(R.insecureHTTPParser){We.insecureHTTPParser=R.insecureHTTPParser}_e=Je.request(We,(function handleResponse(he){if(_e.destroyed)return;const ge=[he];const me=+he.headers["content-length"];if(Me||Le){const R=new kt({maxRate:ct.toFiniteNumber(Le)});Me&&R.on("progress",flushOnFinish(R,progressEventDecorator(me,progressEventReducer(asyncDecorator(Me),true,3))));ge.push(R)}let ye=he;const Ce=he.req||_e;if(R.decompress!==false&&he.headers["content-encoding"]){if(Ee==="HEAD"||he.statusCode===204){delete he.headers["content-encoding"]}switch((he.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":ge.push(ke["default"].createUnzip(Ht));delete he.headers["content-encoding"];break;case"deflate":ge.push(new Lt);ge.push(ke["default"].createUnzip(Ht));delete he.headers["content-encoding"];break;case"br":if(Wt){ge.push(ke["default"].createBrotliDecompress(Vt));delete he.headers["content-encoding"]}}}ye=ge.length>1?Oe["default"].pipeline(ge,ct.noop):ge[0];const Ie=Oe["default"].finished(ye,(()=>{Ie();onFinished()}));const Se={status:he.statusCode,statusText:he.statusMessage,headers:new St(he.headers),config:R,request:Ce};if(ve==="stream"){Se.data=ye;settle(pe,Ae,Se)}else{const he=[];let ge=0;ye.on("data",(function handleStreamData(pe){he.push(pe);ge+=pe.length;if(R.maxContentLength>-1&&ge>R.maxContentLength){we=true;ye.destroy();Ae(new AxiosError("maxContentLength size of "+R.maxContentLength+" exceeded",AxiosError.ERR_BAD_RESPONSE,R,Ce))}}));ye.on("aborted",(function handlerStreamAborted(){if(we){return}const pe=new AxiosError("maxContentLength size of "+R.maxContentLength+" exceeded",AxiosError.ERR_BAD_RESPONSE,R,Ce);ye.destroy(pe);Ae(pe)}));ye.on("error",(function handleStreamError(pe){if(_e.destroyed)return;Ae(AxiosError.from(pe,null,R,Ce))}));ye.on("end",(function handleStreamEnd(){try{let R=he.length===1?he[0]:Buffer.concat(he);if(ve!=="arraybuffer"){R=R.toString(be);if(!be||be==="utf8"){R=ct.stripBOM(R)}}Se.data=R}catch(pe){return Ae(AxiosError.from(pe,null,R,Se.request,Se))}settle(pe,Ae,Se)}))}Be.once("abort",(R=>{if(!ye.destroyed){ye.emit("error",R);ye.destroy()}}))}));Be.once("abort",(R=>{Ae(R);_e.destroy(R)}));_e.on("error",(function handleRequestError(pe){Ae(AxiosError.from(pe,null,R,_e))}));_e.on("socket",(function handleRequestSocket(R){R.setKeepAlive(true,1e3*60)}));if(R.timeout){const pe=parseInt(R.timeout,10);if(Number.isNaN(pe)){Ae(new AxiosError("error trying to parse `config.timeout` to int",AxiosError.ERR_BAD_OPTION_VALUE,R,_e));return}_e.setTimeout(pe,(function handleRequestTimeout(){if(Ce)return;let pe=R.timeout?"timeout of "+R.timeout+"ms exceeded":"timeout exceeded";const he=R.transitional||At;if(R.timeoutErrorMessage){pe=R.timeoutErrorMessage}Ae(new AxiosError(pe,he.clarifyTimeoutError?AxiosError.ETIMEDOUT:AxiosError.ECONNABORTED,R,_e));abort()}))}if(ct.isStream(ge)){let pe=false;let Ae=false;ge.on("end",(()=>{pe=true}));ge.once("error",(R=>{Ae=true;_e.destroy(R)}));ge.on("close",(()=>{if(!pe&&!Ae){abort(new CanceledError("Request stream has been aborted",R,_e))}}));ge.pipe(_e)}else{_e.end(ge)}}))};const $t=Ct.hasStandardBrowserEnv?function standardBrowserEnv(){const R=/(msie|trident)/i.test(navigator.userAgent);const pe=document.createElement("a");let Ae;function resolveURL(Ae){let he=Ae;if(R){pe.setAttribute("href",he);he=pe.href}pe.setAttribute("href",he);return{href:pe.href,protocol:pe.protocol?pe.protocol.replace(/:$/,""):"",host:pe.host,search:pe.search?pe.search.replace(/^\?/,""):"",hash:pe.hash?pe.hash.replace(/^#/,""):"",hostname:pe.hostname,port:pe.port,pathname:pe.pathname.charAt(0)==="/"?pe.pathname:"/"+pe.pathname}}Ae=resolveURL(window.location.href);return function isURLSameOrigin(R){const pe=ct.isString(R)?resolveURL(R):R;return pe.protocol===Ae.protocol&&pe.host===Ae.host}}():function nonStandardBrowserEnv(){return function isURLSameOrigin(){return true}}();const Zt=Ct.hasStandardBrowserEnv?{write(R,pe,Ae,he,ge,me){const ye=[R+"="+encodeURIComponent(pe)];ct.isNumber(Ae)&&ye.push("expires="+new Date(Ae).toGMTString());ct.isString(he)&&ye.push("path="+he);ct.isString(ge)&&ye.push("domain="+ge);me===true&&ye.push("secure");document.cookie=ye.join("; ")},read(R){const pe=document.cookie.match(new RegExp("(^|;\\s*)("+R+")=([^;]*)"));return pe?decodeURIComponent(pe[3]):null},remove(R){this.write(R,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};const headersToObject=R=>R instanceof St?{...R}:R;function mergeConfig(R,pe){pe=pe||{};const Ae={};function getMergedValue(R,pe,Ae){if(ct.isPlainObject(R)&&ct.isPlainObject(pe)){return ct.merge.call({caseless:Ae},R,pe)}else if(ct.isPlainObject(pe)){return ct.merge({},pe)}else if(ct.isArray(pe)){return pe.slice()}return pe}function mergeDeepProperties(R,pe,Ae){if(!ct.isUndefined(pe)){return getMergedValue(R,pe,Ae)}else if(!ct.isUndefined(R)){return getMergedValue(undefined,R,Ae)}}function valueFromConfig2(R,pe){if(!ct.isUndefined(pe)){return getMergedValue(undefined,pe)}}function defaultToConfig2(R,pe){if(!ct.isUndefined(pe)){return getMergedValue(undefined,pe)}else if(!ct.isUndefined(R)){return getMergedValue(undefined,R)}}function mergeDirectKeys(Ae,he,ge){if(ge in pe){return getMergedValue(Ae,he)}else if(ge in R){return getMergedValue(undefined,Ae)}}const he={url:valueFromConfig2,method:valueFromConfig2,data:valueFromConfig2,baseURL:defaultToConfig2,transformRequest:defaultToConfig2,transformResponse:defaultToConfig2,paramsSerializer:defaultToConfig2,timeout:defaultToConfig2,timeoutMessage:defaultToConfig2,withCredentials:defaultToConfig2,withXSRFToken:defaultToConfig2,adapter:defaultToConfig2,responseType:defaultToConfig2,xsrfCookieName:defaultToConfig2,xsrfHeaderName:defaultToConfig2,onUploadProgress:defaultToConfig2,onDownloadProgress:defaultToConfig2,decompress:defaultToConfig2,maxContentLength:defaultToConfig2,maxBodyLength:defaultToConfig2,beforeRedirect:defaultToConfig2,transport:defaultToConfig2,httpAgent:defaultToConfig2,httpsAgent:defaultToConfig2,cancelToken:defaultToConfig2,socketPath:defaultToConfig2,responseEncoding:defaultToConfig2,validateStatus:mergeDirectKeys,headers:(R,pe)=>mergeDeepProperties(headersToObject(R),headersToObject(pe),true)};ct.forEach(Object.keys(Object.assign({},R,pe)),(function computeConfigValue(ge){const me=he[ge]||mergeDeepProperties;const ye=me(R[ge],pe[ge],ge);ct.isUndefined(ye)&&me!==mergeDirectKeys||(Ae[ge]=ye)}));return Ae}const resolveConfig=R=>{const pe=mergeConfig({},R);let{data:Ae,withXSRFToken:he,xsrfHeaderName:ge,xsrfCookieName:me,headers:ye,auth:ve}=pe;pe.headers=ye=St.from(ye);pe.url=buildURL(buildFullPath(pe.baseURL,pe.url),R.params,R.paramsSerializer);if(ve){ye.set("Authorization","Basic "+btoa((ve.username||"")+":"+(ve.password?unescape(encodeURIComponent(ve.password)):"")))}let be;if(ct.isFormData(Ae)){if(Ct.hasStandardBrowserEnv||Ct.hasStandardBrowserWebWorkerEnv){ye.setContentType(undefined)}else if((be=ye.getContentType())!==false){const[R,...pe]=be?be.split(";").map((R=>R.trim())).filter(Boolean):[];ye.setContentType([R||"multipart/form-data",...pe].join("; "))}}if(Ct.hasStandardBrowserEnv){he&&ct.isFunction(he)&&(he=he(pe));if(he||he!==false&&$t(pe.url)){const R=ge&&me&&Zt.read(me);if(R){ye.set(ge,R)}}}return pe};const Xt=typeof XMLHttpRequest!=="undefined";const er=Xt&&function(R){return new Promise((function dispatchXhrRequest(pe,Ae){const he=resolveConfig(R);let ge=he.data;const me=St.from(he.headers).normalize();let{responseType:ye,onUploadProgress:ve,onDownloadProgress:be}=he;let Ee;let Ce,we;let Ie,_e;function done(){Ie&&Ie();_e&&_e();he.cancelToken&&he.cancelToken.unsubscribe(Ee);he.signal&&he.signal.removeEventListener("abort",Ee)}let Be=new XMLHttpRequest;Be.open(he.method.toUpperCase(),he.url,true);Be.timeout=he.timeout;function onloadend(){if(!Be){return}const he=St.from("getAllResponseHeaders"in Be&&Be.getAllResponseHeaders());const ge=!ye||ye==="text"||ye==="json"?Be.responseText:Be.response;const me={data:ge,status:Be.status,statusText:Be.statusText,headers:he,config:R,request:Be};settle((function _resolve(R){pe(R);done()}),(function _reject(R){Ae(R);done()}),me);Be=null}if("onloadend"in Be){Be.onloadend=onloadend}else{Be.onreadystatechange=function handleLoad(){if(!Be||Be.readyState!==4){return}if(Be.status===0&&!(Be.responseURL&&Be.responseURL.indexOf("file:")===0)){return}setTimeout(onloadend)}}Be.onabort=function handleAbort(){if(!Be){return}Ae(new AxiosError("Request aborted",AxiosError.ECONNABORTED,R,Be));Be=null};Be.onerror=function handleError(){Ae(new AxiosError("Network Error",AxiosError.ERR_NETWORK,R,Be));Be=null};Be.ontimeout=function handleTimeout(){let pe=he.timeout?"timeout of "+he.timeout+"ms exceeded":"timeout exceeded";const ge=he.transitional||At;if(he.timeoutErrorMessage){pe=he.timeoutErrorMessage}Ae(new AxiosError(pe,ge.clarifyTimeoutError?AxiosError.ETIMEDOUT:AxiosError.ECONNABORTED,R,Be));Be=null};ge===undefined&&me.setContentType(null);if("setRequestHeader"in Be){ct.forEach(me.toJSON(),(function setRequestHeader(R,pe){Be.setRequestHeader(pe,R)}))}if(!ct.isUndefined(he.withCredentials)){Be.withCredentials=!!he.withCredentials}if(ye&&ye!=="json"){Be.responseType=he.responseType}if(be){[we,_e]=progressEventReducer(be,true);Be.addEventListener("progress",we)}if(ve&&Be.upload){[Ce,Ie]=progressEventReducer(ve);Be.upload.addEventListener("progress",Ce);Be.upload.addEventListener("loadend",Ie)}if(he.cancelToken||he.signal){Ee=pe=>{if(!Be){return}Ae(!pe||pe.type?new CanceledError(null,R,Be):pe);Be.abort();Be=null};he.cancelToken&&he.cancelToken.subscribe(Ee);if(he.signal){he.signal.aborted?Ee():he.signal.addEventListener("abort",Ee)}}const Se=parseProtocol(he.url);if(Se&&Ct.protocols.indexOf(Se)===-1){Ae(new AxiosError("Unsupported protocol "+Se+":",AxiosError.ERR_BAD_REQUEST,R));return}Be.send(ge||null)}))};const composeSignals=(R,pe)=>{let Ae=new AbortController;let he;const onabort=function(R){if(!he){he=true;unsubscribe();const pe=R instanceof Error?R:this.reason;Ae.abort(pe instanceof AxiosError?pe:new CanceledError(pe instanceof Error?pe.message:pe))}};let ge=pe&&setTimeout((()=>{onabort(new AxiosError(`timeout ${pe} of ms exceeded`,AxiosError.ETIMEDOUT))}),pe);const unsubscribe=()=>{if(R){ge&&clearTimeout(ge);ge=null;R.forEach((R=>{R&&(R.removeEventListener?R.removeEventListener("abort",onabort):R.unsubscribe(onabort))}));R=null}};R.forEach((R=>R&&R.addEventListener&&R.addEventListener("abort",onabort)));const{signal:me}=Ae;me.unsubscribe=unsubscribe;return[me,()=>{ge&&clearTimeout(ge);ge=null}]};const tr=composeSignals;const streamChunk=function*(R,pe){let Ae=R.byteLength;if(!pe||Ae{const me=readBytes(R,pe,ge);let ye=0;let ve;let _onFinish=R=>{if(!ve){ve=true;he&&he(R)}};return new ReadableStream({async pull(R){try{const{done:pe,value:he}=await me.next();if(pe){_onFinish();R.close();return}let ge=he.byteLength;if(Ae){let R=ye+=ge;Ae(R)}R.enqueue(new Uint8Array(he))}catch(R){_onFinish(R);throw R}},cancel(R){_onFinish(R);return me.return()}},{highWaterMark:2})};const rr=typeof fetch==="function"&&typeof Request==="function"&&typeof Response==="function";const nr=rr&&typeof ReadableStream==="function";const ir=rr&&(typeof TextEncoder==="function"?(R=>pe=>R.encode(pe))(new TextEncoder):async R=>new Uint8Array(await new Response(R).arrayBuffer()));const test=(R,...pe)=>{try{return!!R(...pe)}catch(R){return false}};const or=nr&&test((()=>{let R=false;const pe=new Request(Ct.origin,{body:new ReadableStream,method:"POST",get duplex(){R=true;return"half"}}).headers.has("Content-Type");return R&&!pe}));const sr=64*1024;const ar=nr&&test((()=>ct.isReadableStream(new Response("").body)));const cr={stream:ar&&(R=>R.body)};rr&&(R=>{["text","arrayBuffer","blob","formData","stream"].forEach((pe=>{!cr[pe]&&(cr[pe]=ct.isFunction(R[pe])?R=>R[pe]():(R,Ae)=>{throw new AxiosError(`Response type '${pe}' is not supported`,AxiosError.ERR_NOT_SUPPORT,Ae)})}))})(new Response);const getBodyLength=async R=>{if(R==null){return 0}if(ct.isBlob(R)){return R.size}if(ct.isSpecCompliantForm(R)){return(await new Request(R).arrayBuffer()).byteLength}if(ct.isArrayBufferView(R)||ct.isArrayBuffer(R)){return R.byteLength}if(ct.isURLSearchParams(R)){R=R+""}if(ct.isString(R)){return(await ir(R)).byteLength}};const resolveBodyLength=async(R,pe)=>{const Ae=ct.toFiniteNumber(R.getContentLength());return Ae==null?getBodyLength(pe):Ae};const ur=rr&&(async R=>{let{url:pe,method:Ae,data:he,signal:ge,cancelToken:me,timeout:ye,onDownloadProgress:ve,onUploadProgress:be,responseType:Ee,headers:Ce,withCredentials:we="same-origin",fetchOptions:Ie}=resolveConfig(R);Ee=Ee?(Ee+"").toLowerCase():"text";let[_e,Be]=ge||me||ye?tr([ge,me],ye):[];let Se,Qe;const onFinish=()=>{!Se&&setTimeout((()=>{_e&&_e.unsubscribe()}));Se=true};let xe;try{if(be&&or&&Ae!=="get"&&Ae!=="head"&&(xe=await resolveBodyLength(Ce,he))!==0){let R=new Request(pe,{method:"POST",body:he,duplex:"half"});let Ae;if(ct.isFormData(he)&&(Ae=R.headers.get("content-type"))){Ce.setContentType(Ae)}if(R.body){const[pe,Ae]=progressEventDecorator(xe,progressEventReducer(asyncDecorator(be)));he=trackStream(R.body,sr,pe,Ae,ir)}}if(!ct.isString(we)){we=we?"include":"omit"}Qe=new Request(pe,{...Ie,signal:_e,method:Ae.toUpperCase(),headers:Ce.normalize().toJSON(),body:he,duplex:"half",credentials:we});let ge=await fetch(Qe);const me=ar&&(Ee==="stream"||Ee==="response");if(ar&&(ve||me)){const R={};["status","statusText","headers"].forEach((pe=>{R[pe]=ge[pe]}));const pe=ct.toFiniteNumber(ge.headers.get("content-length"));const[Ae,he]=ve&&progressEventDecorator(pe,progressEventReducer(asyncDecorator(ve),true))||[];ge=new Response(trackStream(ge.body,sr,Ae,(()=>{he&&he();me&&onFinish()}),ir),R)}Ee=Ee||"text";let ye=await cr[ct.findKey(cr,Ee)||"text"](ge,R);!me&&onFinish();Be&&Be();return await new Promise(((pe,Ae)=>{settle(pe,Ae,{data:ye,headers:St.from(ge.headers),status:ge.status,statusText:ge.statusText,config:R,request:Qe})}))}catch(pe){onFinish();if(pe&&pe.name==="TypeError"&&/fetch/i.test(pe.message)){throw Object.assign(new AxiosError("Network Error",AxiosError.ERR_NETWORK,R,Qe),{cause:pe.cause||pe})}throw AxiosError.from(pe,pe&&pe.code,R,Qe)}});const lr={http:zt,xhr:er,fetch:ur};ct.forEach(lr,((R,pe)=>{if(R){try{Object.defineProperty(R,"name",{value:pe})}catch(R){}Object.defineProperty(R,"adapterName",{value:pe})}}));const renderReason=R=>`- ${R}`;const isResolvedHandle=R=>ct.isFunction(R)||R===null||R===false;const dr={getAdapter:R=>{R=ct.isArray(R)?R:[R];const{length:pe}=R;let Ae;let he;const ge={};for(let me=0;me`adapter ${R} `+(pe===false?"is not supported by the environment":"is not available in the build")));let Ae=pe?R.length>1?"since :\n"+R.map(renderReason).join("\n"):" "+renderReason(R[0]):"as no adapter specified";throw new AxiosError(`There is no suitable adapter to dispatch the request `+Ae,"ERR_NOT_SUPPORT")}return he},adapters:lr};function throwIfCancellationRequested(R){if(R.cancelToken){R.cancelToken.throwIfRequested()}if(R.signal&&R.signal.aborted){throw new CanceledError(null,R)}}function dispatchRequest(R){throwIfCancellationRequested(R);R.headers=St.from(R.headers);R.data=transformData.call(R,R.transformRequest);if(["post","put","patch"].indexOf(R.method)!==-1){R.headers.setContentType("application/x-www-form-urlencoded",false)}const pe=dr.getAdapter(R.adapter||It.adapter);return pe(R).then((function onAdapterResolution(pe){throwIfCancellationRequested(R);pe.data=transformData.call(R,R.transformResponse,pe);pe.headers=St.from(pe.headers);return pe}),(function onAdapterRejection(pe){if(!isCancel(pe)){throwIfCancellationRequested(R);if(pe&&pe.response){pe.response.data=transformData.call(R,R.transformResponse,pe.response);pe.response.headers=St.from(pe.response.headers)}}return Promise.reject(pe)}))}const fr={};["object","boolean","number","function","string","symbol"].forEach(((R,pe)=>{fr[R]=function validator(Ae){return typeof Ae===R||"a"+(pe<1?"n ":" ")+R}}));const pr={};fr.transitional=function transitional(R,pe,Ae){function formatMessage(R,pe){return"[Axios v"+Qt+"] Transitional option '"+R+"'"+pe+(Ae?". "+Ae:"")}return(Ae,he,ge)=>{if(R===false){throw new AxiosError(formatMessage(he," has been removed"+(pe?" in "+pe:"")),AxiosError.ERR_DEPRECATED)}if(pe&&!pr[he]){pr[he]=true;console.warn(formatMessage(he," has been deprecated since v"+pe+" and will be removed in the near future"))}return R?R(Ae,he,ge):true}};function assertOptions(R,pe,Ae){if(typeof R!=="object"){throw new AxiosError("options must be an object",AxiosError.ERR_BAD_OPTION_VALUE)}const he=Object.keys(R);let ge=he.length;while(ge-- >0){const me=he[ge];const ye=pe[me];if(ye){const pe=R[me];const Ae=pe===undefined||ye(pe,me,R);if(Ae!==true){throw new AxiosError("option "+me+" must be "+Ae,AxiosError.ERR_BAD_OPTION_VALUE)}continue}if(Ae!==true){throw new AxiosError("Unknown option "+me,AxiosError.ERR_BAD_OPTION)}}}const Ar={assertOptions:assertOptions,validators:fr};const hr=Ar.validators;class Axios{constructor(R){this.defaults=R;this.interceptors={request:new pt,response:new pt}}async request(R,pe){try{return await this._request(R,pe)}catch(R){if(R instanceof Error){let pe;Error.captureStackTrace?Error.captureStackTrace(pe={}):pe=new Error;const Ae=pe.stack?pe.stack.replace(/^.+\n/,""):"";try{if(!R.stack){R.stack=Ae}else if(Ae&&!String(R.stack).endsWith(Ae.replace(/^.+\n.+\n/,""))){R.stack+="\n"+Ae}}catch(R){}}throw R}}_request(R,pe){if(typeof R==="string"){pe=pe||{};pe.url=R}else{pe=R||{}}pe=mergeConfig(this.defaults,pe);const{transitional:Ae,paramsSerializer:he,headers:ge}=pe;if(Ae!==undefined){Ar.assertOptions(Ae,{silentJSONParsing:hr.transitional(hr.boolean),forcedJSONParsing:hr.transitional(hr.boolean),clarifyTimeoutError:hr.transitional(hr.boolean)},false)}if(he!=null){if(ct.isFunction(he)){pe.paramsSerializer={serialize:he}}else{Ar.assertOptions(he,{encode:hr.function,serialize:hr.function},true)}}pe.method=(pe.method||this.defaults.method||"get").toLowerCase();let me=ge&&ct.merge(ge.common,ge[pe.method]);ge&&ct.forEach(["delete","get","head","post","put","patch","common"],(R=>{delete ge[R]}));pe.headers=St.concat(me,ge);const ye=[];let ve=true;this.interceptors.request.forEach((function unshiftRequestInterceptors(R){if(typeof R.runWhen==="function"&&R.runWhen(pe)===false){return}ve=ve&&R.synchronous;ye.unshift(R.fulfilled,R.rejected)}));const be=[];this.interceptors.response.forEach((function pushResponseInterceptors(R){be.push(R.fulfilled,R.rejected)}));let Ee;let Ce=0;let we;if(!ve){const R=[dispatchRequest.bind(this),undefined];R.unshift.apply(R,ye);R.push.apply(R,be);we=R.length;Ee=Promise.resolve(pe);while(Ce{if(!Ae._listeners)return;let pe=Ae._listeners.length;while(pe-- >0){Ae._listeners[pe](R)}Ae._listeners=null}));this.promise.then=R=>{let pe;const he=new Promise((R=>{Ae.subscribe(R);pe=R})).then(R);he.cancel=function reject(){Ae.unsubscribe(pe)};return he};R((function cancel(R,he,ge){if(Ae.reason){return}Ae.reason=new CanceledError(R,he,ge);pe(Ae.reason)}))}throwIfRequested(){if(this.reason){throw this.reason}}subscribe(R){if(this.reason){R(this.reason);return}if(this._listeners){this._listeners.push(R)}else{this._listeners=[R]}}unsubscribe(R){if(!this._listeners){return}const pe=this._listeners.indexOf(R);if(pe!==-1){this._listeners.splice(pe,1)}}static source(){let R;const pe=new CancelToken((function executor(pe){R=pe}));return{token:pe,cancel:R}}}const mr=CancelToken;function spread(R){return function wrap(pe){return R.apply(null,pe)}}function isAxiosError(R){return ct.isObject(R)&&R.isAxiosError===true}const yr={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(yr).forEach((([R,pe])=>{yr[pe]=R}));const vr=yr;function createInstance(R){const pe=new gr(R);const Ae=bind(gr.prototype.request,pe);ct.extend(Ae,gr.prototype,pe,{allOwnKeys:true});ct.extend(Ae,pe,null,{allOwnKeys:true});Ae.create=function create(pe){return createInstance(mergeConfig(R,pe))};return Ae}const br=createInstance(It);br.Axios=gr;br.CanceledError=CanceledError;br.CancelToken=mr;br.isCancel=isCancel;br.VERSION=Qt;br.toFormData=toFormData;br.AxiosError=AxiosError;br.Cancel=br.CanceledError;br.all=function all(R){return Promise.all(R)};br.spread=spread;br.isAxiosError=isAxiosError;br.mergeConfig=mergeConfig;br.AxiosHeaders=St;br.formToJSON=R=>formDataToJSON(ct.isHTMLForm(R)?new FormData(R):R);br.getAdapter=dr.getAdapter;br.HttpStatusCode=vr;br.default=br;R.exports=br},77059:(R,pe,Ae)=>{"use strict";const he={right:alignRight,center:alignCenter};const ge=0;const me=1;const ye=2;const ve=3;class UI{constructor(R){var pe;this.width=R.width;this.wrap=(pe=R.wrap)!==null&&pe!==void 0?pe:true;this.rows=[]}span(...R){const pe=this.div(...R);pe.span=true}resetOutput(){this.rows=[]}div(...R){if(R.length===0){this.div("")}if(this.wrap&&this.shouldApplyLayoutDSL(...R)&&typeof R[0]==="string"){return this.applyLayoutDSL(R[0])}const pe=R.map((R=>{if(typeof R==="string"){return this.colFromString(R)}return R}));this.rows.push(pe);return pe}shouldApplyLayoutDSL(...R){return R.length===1&&typeof R[0]==="string"&&/[\t\n]/.test(R[0])}applyLayoutDSL(R){const pe=R.split("\n").map((R=>R.split("\t")));let Ae=0;pe.forEach((R=>{if(R.length>1&&be.stringWidth(R[0])>Ae){Ae=Math.min(Math.floor(this.width*.5),be.stringWidth(R[0]))}}));pe.forEach((R=>{this.div(...R.map(((pe,he)=>({text:pe.trim(),padding:this.measurePadding(pe),width:he===0&&R.length>1?Ae:undefined}))))}));return this.rows[this.rows.length-1]}colFromString(R){return{text:R,padding:this.measurePadding(R)}}measurePadding(R){const pe=be.stripAnsi(R);return[0,pe.match(/\s*$/)[0].length,0,pe.match(/^\s*/)[0].length]}toString(){const R=[];this.rows.forEach((pe=>{this.rowToString(pe,R)}));return R.filter((R=>!R.hidden)).map((R=>R.text)).join("\n")}rowToString(R,pe){this.rasterize(R).forEach(((Ae,ge)=>{let ye="";Ae.forEach(((Ae,Ee)=>{const{width:Ce}=R[Ee];const we=this.negatePadding(R[Ee]);let Ie=Ae;if(we>be.stringWidth(Ae)){Ie+=" ".repeat(we-be.stringWidth(Ae))}if(R[Ee].align&&R[Ee].align!=="left"&&this.wrap){const pe=he[R[Ee].align];Ie=pe(Ie,we);if(be.stringWidth(Ie)0){ye=this.renderInline(ye,pe[pe.length-1])}}));pe.push({text:ye.replace(/ +$/,""),span:R.span})}));return pe}renderInline(R,pe){const Ae=R.match(/^ */);const he=Ae?Ae[0].length:0;const ge=pe.text;const me=be.stringWidth(ge.trimRight());if(!pe.span){return R}if(!this.wrap){pe.hidden=true;return ge+R}if(he{R.width=Ae[me];if(this.wrap){he=be.wrap(R.text,this.negatePadding(R),{hard:true}).split("\n")}else{he=R.text.split("\n")}if(R.border){he.unshift("."+"-".repeat(this.negatePadding(R)+2)+".");he.push("'"+"-".repeat(this.negatePadding(R)+2)+"'")}if(R.padding){he.unshift(...new Array(R.padding[ge]||0).fill(""));he.push(...new Array(R.padding[ye]||0).fill(""))}he.forEach(((R,Ae)=>{if(!pe[Ae]){pe.push([])}const he=pe[Ae];for(let R=0;RR.width||be.stringWidth(R.text)))}let pe=R.length;let Ae=this.width;const he=R.map((R=>{if(R.width){pe--;Ae-=R.width;return R.width}return undefined}));const ge=pe?Math.floor(Ae/pe):0;return he.map(((pe,Ae)=>{if(pe===undefined){return Math.max(ge,_minWidth(R[Ae]))}return pe}))}}function addBorder(R,pe,Ae){if(R.border){if(/[.']-+[.']/.test(pe)){return""}if(pe.trim().length!==0){return Ae}return" "}return""}function _minWidth(R){const pe=R.padding||[];const Ae=1+(pe[ve]||0)+(pe[me]||0);if(R.border){return Ae+4}return Ae}function getWindowWidth(){if(typeof process==="object"&&process.stdout&&process.stdout.columns){return process.stdout.columns}return 80}function alignRight(R,pe){R=R.trim();const Ae=be.stringWidth(R);if(Ae=pe){return R}return" ".repeat(pe-Ae>>1)+R}let be;function cliui(R,pe){be=pe;return new UI({width:(R===null||R===void 0?void 0:R.width)||getWindowWidth(),wrap:R===null||R===void 0?void 0:R.wrap})}const Ee=Ae(42577);const Ce=Ae(45591);const we=Ae(59824);function ui(R){return cliui(R,{stringWidth:Ee,stripAnsi:Ce,wrap:we})}R.exports=ui},30452:(R,pe,Ae)=>{"use strict";var he=Ae(57147);var ge=Ae(73837);var me=Ae(71017);let ye;class Y18N{constructor(R){R=R||{};this.directory=R.directory||"./locales";this.updateFiles=typeof R.updateFiles==="boolean"?R.updateFiles:true;this.locale=R.locale||"en";this.fallbackToLanguage=typeof R.fallbackToLanguage==="boolean"?R.fallbackToLanguage:true;this.cache=Object.create(null);this.writeQueue=[]}__(...R){if(typeof arguments[0]!=="string"){return this._taggedLiteral(arguments[0],...arguments)}const pe=R.shift();let cb=function(){};if(typeof R[R.length-1]==="function")cb=R.pop();cb=cb||function(){};if(!this.cache[this.locale])this._readLocaleFile();if(!this.cache[this.locale][pe]&&this.updateFiles){this.cache[this.locale][pe]=pe;this._enqueueWrite({directory:this.directory,locale:this.locale,cb:cb})}else{cb()}return ye.format.apply(ye.format,[this.cache[this.locale][pe]||pe].concat(R))}__n(){const R=Array.prototype.slice.call(arguments);const pe=R.shift();const Ae=R.shift();const he=R.shift();let cb=function(){};if(typeof R[R.length-1]==="function")cb=R.pop();if(!this.cache[this.locale])this._readLocaleFile();let ge=he===1?pe:Ae;if(this.cache[this.locale][pe]){const R=this.cache[this.locale][pe];ge=R[he===1?"one":"other"]}if(!this.cache[this.locale][pe]&&this.updateFiles){this.cache[this.locale][pe]={one:pe,other:Ae};this._enqueueWrite({directory:this.directory,locale:this.locale,cb:cb})}else{cb()}const me=[ge];if(~ge.indexOf("%d"))me.push(he);return ye.format.apply(ye.format,me.concat(R))}setLocale(R){this.locale=R}getLocale(){return this.locale}updateLocale(R){if(!this.cache[this.locale])this._readLocaleFile();for(const pe in R){if(Object.prototype.hasOwnProperty.call(R,pe)){this.cache[this.locale][pe]=R[pe]}}}_taggedLiteral(R,...pe){let Ae="";R.forEach((function(R,he){const ge=pe[he+1];Ae+=R;if(typeof ge!=="undefined"){Ae+="%s"}}));return this.__.apply(this,[Ae].concat([].slice.call(pe,1)))}_enqueueWrite(R){this.writeQueue.push(R);if(this.writeQueue.length===1)this._processWriteQueue()}_processWriteQueue(){const R=this;const pe=this.writeQueue[0];const Ae=pe.directory;const he=pe.locale;const ge=pe.cb;const me=this._resolveLocaleFile(Ae,he);const ve=JSON.stringify(this.cache[he],null,2);ye.fs.writeFile(me,ve,"utf-8",(function(pe){R.writeQueue.shift();if(R.writeQueue.length>0)R._processWriteQueue();ge(pe)}))}_readLocaleFile(){let R={};const pe=this._resolveLocaleFile(this.directory,this.locale);try{if(ye.fs.readFileSync){R=JSON.parse(ye.fs.readFileSync(pe,"utf-8"))}}catch(Ae){if(Ae instanceof SyntaxError){Ae.message="syntax error in "+pe}if(Ae.code==="ENOENT")R={};else throw Ae}this.cache[this.locale]=R}_resolveLocaleFile(R,pe){let Ae=ye.resolve(R,"./",pe+".json");if(this.fallbackToLanguage&&!this._fileExistsSync(Ae)&&~pe.lastIndexOf("_")){const he=ye.resolve(R,"./",pe.split("_")[0]+".json");if(this._fileExistsSync(he))Ae=he}return Ae}_fileExistsSync(R){return ye.exists(R)}}function y18n$1(R,pe){ye=pe;const Ae=new Y18N(R);return{__:Ae.__.bind(Ae),__n:Ae.__n.bind(Ae),setLocale:Ae.setLocale.bind(Ae),getLocale:Ae.getLocale.bind(Ae),updateLocale:Ae.updateLocale.bind(Ae),locale:Ae.locale}}var ve={fs:{readFileSync:he.readFileSync,writeFile:he.writeFile},format:ge.format,resolve:me.resolve,exists:R=>{try{return he.statSync(R).isFile()}catch(R){return false}}};const y18n=R=>y18n$1(R,ve);R.exports=y18n},31970:(R,pe,Ae)=>{"use strict";var he=Ae(73837);var ge=Ae(71017);var me=Ae(57147);function camelCase(R){const pe=R!==R.toLowerCase()&&R!==R.toUpperCase();if(!pe){R=R.toLowerCase()}if(R.indexOf("-")===-1&&R.indexOf("_")===-1){return R}else{let pe="";let Ae=false;const he=R.match(/^-+/);for(let ge=he?he[0].length:0;ge0){he+=`${pe}${Ae.charAt(ge)}`}else{he+=ye}}return he}function looksLikeNumber(R){if(R===null||R===undefined)return false;if(typeof R==="number")return true;if(/^0x[0-9a-f]+$/i.test(R))return true;if(/^0[^.]/.test(R))return false;return/^[-]?(?:\d+(?:\.\d*)?|\.\d+)(e[-+]?\d+)?$/.test(R)}function tokenizeArgString(R){if(Array.isArray(R)){return R.map((R=>typeof R!=="string"?R+"":R))}R=R.trim();let pe=0;let Ae=null;let he=null;let ge=null;const me=[];for(let ye=0;ye{if(typeof pe==="number"){xe.nargs[R]=pe;xe.keys.push(R)}}))}if(typeof Ae.coerce==="object"){Object.entries(Ae.coerce).forEach((([R,pe])=>{if(typeof pe==="function"){xe.coercions[R]=pe;xe.keys.push(R)}}))}if(typeof Ae.config!=="undefined"){if(Array.isArray(Ae.config)||typeof Ae.config==="string"){[].concat(Ae.config).filter(Boolean).forEach((function(R){xe.configs[R]=true}))}else if(typeof Ae.config==="object"){Object.entries(Ae.config).forEach((([R,pe])=>{if(typeof pe==="boolean"||typeof pe==="function"){xe.configs[R]=pe}}))}}extendAliases(Ae.key,me,Ae.default,xe.arrays);Object.keys(Ee).forEach((function(R){(xe.aliases[R]||[]).forEach((function(pe){Ee[pe]=Ee[R]}))}));let Oe=null;checkConfiguration();let Re=[];const Pe=Object.assign(Object.create(null),{_:[]});const Te={};for(let R=0;R=3){if(checkAllAliases(ve[1],xe.arrays)){R=eatArray(R,ve[1],he,ve[2])}else if(checkAllAliases(ve[1],xe.nargs)!==false){R=eatNargs(R,ve[1],he,ve[2])}else{setArg(ve[1],ve[2],true)}}}else if(pe.match(ke)&&be["boolean-negation"]){ve=pe.match(ke);if(ve!==null&&Array.isArray(ve)&&ve.length>=2){me=ve[1];setArg(me,checkAllAliases(me,xe.arrays)?[false]:false)}}else if(pe.match(/^--.+/)||!be["short-option-groups"]&&pe.match(/^-[^-]+/)){ve=pe.match(/^--?(.+)/);if(ve!==null&&Array.isArray(ve)&&ve.length>=2){me=ve[1];if(checkAllAliases(me,xe.arrays)){R=eatArray(R,me,he)}else if(checkAllAliases(me,xe.nargs)!==false){R=eatNargs(R,me,he)}else{Ee=he[R+1];if(Ee!==undefined&&(!Ee.match(/^-/)||Ee.match(De))&&!checkAllAliases(me,xe.bools)&&!checkAllAliases(me,xe.counts)){setArg(me,Ee);R++}else if(/^(true|false)$/.test(Ee)){setArg(me,Ee);R++}else{setArg(me,defaultValue(me))}}}}else if(pe.match(/^-.\..+=/)){ve=pe.match(/^-([^=]+)=([\s\S]*)$/);if(ve!==null&&Array.isArray(ve)&&ve.length>=3){setArg(ve[1],ve[2])}}else if(pe.match(/^-.\..+/)&&!pe.match(De)){Ee=he[R+1];ve=pe.match(/^-(.\..+)/);if(ve!==null&&Array.isArray(ve)&&ve.length>=2){me=ve[1];if(Ee!==undefined&&!Ee.match(/^-/)&&!checkAllAliases(me,xe.bools)&&!checkAllAliases(me,xe.counts)){setArg(me,Ee);R++}else{setArg(me,defaultValue(me))}}}else if(pe.match(/^-[^-]+/)&&!pe.match(De)){ye=pe.slice(1,-1).split("");ge=false;for(let Ae=0;AeR!=="--"&&R.includes("-"))).forEach((R=>{delete Pe[R]}))}if(be["strip-aliased"]){[].concat(...Object.keys(me).map((R=>me[R]))).forEach((R=>{if(be["camel-case-expansion"]&&R.includes("-")){delete Pe[R.split(".").map((R=>camelCase(R))).join(".")]}delete Pe[R]}))}function pushPositional(R){const pe=maybeCoerceNumber("_",R);if(typeof pe==="string"||typeof pe==="number"){Pe._.push(pe)}}function eatNargs(R,pe,Ae,he){let ge;let me=checkAllAliases(pe,xe.nargs);me=typeof me!=="number"||isNaN(me)?1:me;if(me===0){if(!isUndefined(he)){Oe=Error(Qe("Argument unexpected for: %s",pe))}setArg(pe,defaultValue(pe));return R}let ye=isUndefined(he)?0:1;if(be["nargs-eats-options"]){if(Ae.length-(R+1)+ye0){setArg(pe,he);ve--}for(ge=R+1;ge0||ve&&typeof ve==="number"&&me.length>=ve)break;ye=Ae[he];if(/^-/.test(ye)&&!De.test(ye)&&!isUnknownOptionAsArg(ye))break;R=he;me.push(processValue(pe,ye,ge))}}if(typeof ve==="number"&&(ve&&me.length1&&be["dot-notation"]){(xe.aliases[me[0]]||[]).forEach((function(pe){let Ae=pe.split(".");const ge=[].concat(me);ge.shift();Ae=Ae.concat(ge);if(!(xe.aliases[R]||[]).includes(Ae.join("."))){setKey(Pe,Ae,he)}}))}if(checkAllAliases(R,xe.normalize)&&!checkAllAliases(R,xe.arrays)){const Ae=[R].concat(xe.aliases[R]||[]);Ae.forEach((function(R){Object.defineProperty(Te,R,{enumerable:true,get(){return pe},set(R){pe=typeof R==="string"?ve.normalize(R):R}})}))}}function addNewAlias(R,pe){if(!(xe.aliases[R]&&xe.aliases[R].length)){xe.aliases[R]=[pe];Be[pe]=true}if(!(xe.aliases[pe]&&xe.aliases[pe].length)){addNewAlias(pe,R)}}function processValue(R,pe,Ae){if(Ae){pe=stripQuotes(pe)}if(checkAllAliases(R,xe.bools)||checkAllAliases(R,xe.counts)){if(typeof pe==="string")pe=pe==="true"}let he=Array.isArray(pe)?pe.map((function(pe){return maybeCoerceNumber(R,pe)})):maybeCoerceNumber(R,pe);if(checkAllAliases(R,xe.counts)&&(isUndefined(he)||typeof he==="boolean")){he=increment()}if(checkAllAliases(R,xe.normalize)&&checkAllAliases(R,xe.arrays)){if(Array.isArray(pe))he=pe.map((R=>ve.normalize(R)));else he=ve.normalize(pe)}return he}function maybeCoerceNumber(R,pe){if(!be["parse-positional-numbers"]&&R==="_")return pe;if(!checkAllAliases(R,xe.strings)&&!checkAllAliases(R,xe.bools)&&!Array.isArray(pe)){const Ae=looksLikeNumber(pe)&&be["parse-numbers"]&&Number.isSafeInteger(Math.floor(parseFloat(`${pe}`)));if(Ae||!isUndefined(pe)&&checkAllAliases(R,xe.numbers)){pe=Number(pe)}}return pe}function setConfig(R){const pe=Object.create(null);applyDefaultsAndAliases(pe,xe.aliases,Ee);Object.keys(xe.configs).forEach((function(Ae){const he=R[Ae]||pe[Ae];if(he){try{let R=null;const pe=ve.resolve(ve.cwd(),he);const ge=xe.configs[Ae];if(typeof ge==="function"){try{R=ge(pe)}catch(pe){R=pe}if(R instanceof Error){Oe=R;return}}else{R=ve.require(pe)}setConfigObject(R)}catch(pe){if(pe.name==="PermissionDenied")Oe=pe;else if(R[Ae])Oe=Error(Qe("Invalid JSON config file: %s",he))}}}))}function setConfigObject(R,pe){Object.keys(R).forEach((function(Ae){const he=R[Ae];const ge=pe?pe+"."+Ae:Ae;if(typeof he==="object"&&he!==null&&!Array.isArray(he)&&be["dot-notation"]){setConfigObject(he,ge)}else{if(!hasKey(Pe,ge.split("."))||checkAllAliases(ge,xe.arrays)&&be["combine-arrays"]){setArg(ge,he)}}}))}function setConfigObjects(){if(typeof Ce!=="undefined"){Ce.forEach((function(R){setConfigObject(R)}))}}function applyEnvVars(R,pe){if(typeof we==="undefined")return;const Ae=typeof we==="string"?we:"";const he=ve.env();Object.keys(he).forEach((function(ge){if(Ae===""||ge.lastIndexOf(Ae,0)===0){const me=ge.split("__").map((function(R,pe){if(pe===0){R=R.substring(Ae.length)}return camelCase(R)}));if((pe&&xe.configs[me.join(".")]||!pe)&&!hasKey(R,me)){setArg(me.join("."),he[ge])}}}))}function applyCoercions(R){let pe;const Ae=new Set;Object.keys(R).forEach((function(he){if(!Ae.has(he)){pe=checkAllAliases(he,xe.coercions);if(typeof pe==="function"){try{const ge=maybeCoerceNumber(he,pe(R[he]));[].concat(xe.aliases[he]||[],he).forEach((pe=>{Ae.add(pe);R[pe]=ge}))}catch(R){Oe=R}}}}))}function setPlaceholderKeys(R){xe.keys.forEach((pe=>{if(~pe.indexOf("."))return;if(typeof R[pe]==="undefined")R[pe]=undefined}));return R}function applyDefaultsAndAliases(R,pe,Ae,he=false){Object.keys(Ae).forEach((function(ge){if(!hasKey(R,ge.split("."))){setKey(R,ge.split("."),Ae[ge]);if(he)Se[ge]=true;(pe[ge]||[]).forEach((function(pe){if(hasKey(R,pe.split(".")))return;setKey(R,pe.split("."),Ae[ge])}))}}))}function hasKey(R,pe){let Ae=R;if(!be["dot-notation"])pe=[pe.join(".")];pe.slice(0,-1).forEach((function(R){Ae=Ae[R]||{}}));const he=pe[pe.length-1];if(typeof Ae!=="object")return false;else return he in Ae}function setKey(R,pe,Ae){let he=R;if(!be["dot-notation"])pe=[pe.join(".")];pe.slice(0,-1).forEach((function(R){R=sanitizeKey(R);if(typeof he==="object"&&he[R]===undefined){he[R]={}}if(typeof he[R]!=="object"||Array.isArray(he[R])){if(Array.isArray(he[R])){he[R].push({})}else{he[R]=[he[R],{}]}he=he[R][he[R].length-1]}else{he=he[R]}}));const ge=sanitizeKey(pe[pe.length-1]);const me=checkAllAliases(pe.join("."),xe.arrays);const ye=Array.isArray(Ae);let ve=be["duplicate-arguments-array"];if(!ve&&checkAllAliases(ge,xe.nargs)){ve=true;if(!isUndefined(he[ge])&&xe.nargs[ge]===1||Array.isArray(he[ge])&&he[ge].length===xe.nargs[ge]){he[ge]=undefined}}if(Ae===increment()){he[ge]=increment(he[ge])}else if(Array.isArray(he[ge])){if(ve&&me&&ye){he[ge]=be["flatten-duplicate-arrays"]?he[ge].concat(Ae):(Array.isArray(he[ge][0])?he[ge]:[he[ge]]).concat([Ae])}else if(!ve&&Boolean(me)===Boolean(ye)){he[ge]=Ae}else{he[ge]=he[ge].concat([Ae])}}else if(he[ge]===undefined&&me){he[ge]=ye?Ae:[Ae]}else if(ve&&!(he[ge]===undefined||checkAllAliases(ge,xe.counts)||checkAllAliases(ge,xe.bools))){he[ge]=[he[ge],Ae]}else{he[ge]=Ae}}function extendAliases(...R){R.forEach((function(R){Object.keys(R||{}).forEach((function(R){if(xe.aliases[R])return;xe.aliases[R]=[].concat(me[R]||[]);xe.aliases[R].concat(R).forEach((function(pe){if(/-/.test(pe)&&be["camel-case-expansion"]){const Ae=camelCase(pe);if(Ae!==R&&xe.aliases[R].indexOf(Ae)===-1){xe.aliases[R].push(Ae);Be[Ae]=true}}}));xe.aliases[R].concat(R).forEach((function(pe){if(pe.length>1&&/[A-Z]/.test(pe)&&be["camel-case-expansion"]){const Ae=decamelize(pe,"-");if(Ae!==R&&xe.aliases[R].indexOf(Ae)===-1){xe.aliases[R].push(Ae);Be[Ae]=true}}}));xe.aliases[R].forEach((function(pe){xe.aliases[pe]=[R].concat(xe.aliases[R].filter((function(R){return pe!==R})))}))}))}))}function checkAllAliases(R,pe){const Ae=[].concat(xe.aliases[R]||[],R);const he=Object.keys(pe);const ge=Ae.find((R=>he.includes(R)));return ge?pe[ge]:false}function hasAnyFlag(R){const pe=Object.keys(xe);const Ae=[].concat(pe.map((R=>xe[R])));return Ae.some((function(pe){return Array.isArray(pe)?pe.includes(R):pe[R]}))}function hasFlagsMatching(R,...pe){const Ae=[].concat(...pe);return Ae.some((function(pe){const Ae=R.match(pe);return Ae&&hasAnyFlag(Ae[1])}))}function hasAllShortFlags(R){if(R.match(De)||!R.match(/^-[^-]+/)){return false}let pe=true;let Ae;const he=R.slice(1).split("");for(let ge=0;ge{if(checkAllAliases(R,xe.arrays)){Oe=Error(Qe("Invalid configuration: %s, opts.count excludes opts.array.",R));return true}else if(checkAllAliases(R,xe.nargs)){Oe=Error(Qe("Invalid configuration: %s, opts.count excludes opts.narg.",R));return true}return false}))}return{aliases:Object.assign({},xe.aliases),argv:Object.assign(Te,Pe),configuration:be,defaulted:Object.assign({},Se),error:Oe,newAliases:Object.assign({},Be)}}}function combineAliases(R){const pe=[];const Ae=Object.create(null);let he=true;Object.keys(R).forEach((function(Ae){pe.push([].concat(R[Ae],Ae))}));while(he){he=false;for(let R=0;R_e,format:he.format,normalize:ge.normalize,resolve:ge.resolve,require:R=>{if(true){return Ae(35670)(R)}else{}}});const Se=function Parser(R,pe){const Ae=Be.parse(R.slice(),pe);return Ae.argv};Se.detailed=function(R,pe){return Be.parse(R.slice(),pe)};Se.camelCase=camelCase;Se.decamelize=decamelize;Se.looksLikeNumber=looksLikeNumber;R.exports=Se},59562:(R,pe,Ae)=>{"use strict";var he=Ae(39491);class e extends Error{constructor(R){super(R||"yargs error"),this.name="YError",Error.captureStackTrace&&Error.captureStackTrace(this,e)}}let ge,me=[];function n(R,pe,he,ye){ge=ye;let ve={};if(Object.prototype.hasOwnProperty.call(R,"extends")){if("string"!=typeof R.extends)return ve;const ye=/\.json|\..*rc$/.test(R.extends);let be=null;if(ye)be=function(R,pe){return ge.path.resolve(R,pe)}(pe,R.extends);else try{be=Ae(49167).resolve(R.extends)}catch(pe){return R}!function(R){if(me.indexOf(R)>-1)throw new e(`Circular extended configurations: '${R}'.`)}(be),me.push(be),ve=ye?JSON.parse(ge.readFileSync(be,"utf8")):Ae(49167)(R.extends),delete R.extends,ve=n(ve,ge.path.dirname(be),he,ge)}return me=[],he?r(ve,R):Object.assign({},ve,R)}function r(R,pe){const Ae={};function i(R){return R&&"object"==typeof R&&!Array.isArray(R)}Object.assign(Ae,R);for(const he of Object.keys(pe))i(pe[he])&&i(Ae[he])?Ae[he]=r(R[he],pe[he]):Ae[he]=pe[he];return Ae}function o(R){const pe=R.replace(/\s{2,}/g," ").split(/\s+(?![^[]*]|[^<]*>)/),Ae=/\.*[\][<>]/g,he=pe.shift();if(!he)throw new Error(`No command found in: ${R}`);const ge={cmd:he.replace(Ae,""),demanded:[],optional:[]};return pe.forEach(((R,he)=>{let me=!1;R=R.replace(/\s/g,""),/\.+[\]>]/.test(R)&&he===pe.length-1&&(me=!0),/^\[/.test(R)?ge.optional.push({cmd:R.replace(Ae,"").split("|"),variadic:me}):ge.demanded.push({cmd:R.replace(Ae,"").split("|"),variadic:me})})),ge}const ye=["first","second","third","fourth","fifth","sixth"];function h(R,pe,Ae){try{let he=0;const[ge,me,ye]="object"==typeof R?[{demanded:[],optional:[]},R,pe]:[o(`cmd ${R}`),pe,Ae],ve=[].slice.call(me);for(;ve.length&&void 0===ve[ve.length-1];)ve.pop();const be=ye||ve.length;if(beEe)throw new e(`Too many arguments provided. Expected max ${Ee} but received ${be}.`);ge.demanded.forEach((R=>{const pe=l(ve.shift());0===R.cmd.filter((R=>R===pe||"*"===R)).length&&c(pe,R.cmd,he),he+=1})),ge.optional.forEach((R=>{if(0===ve.length)return;const pe=l(ve.shift());0===R.cmd.filter((R=>R===pe||"*"===R)).length&&c(pe,R.cmd,he),he+=1}))}catch(R){console.warn(R.stack)}}function l(R){return Array.isArray(R)?"array":null===R?"null":typeof R}function c(R,pe,Ae){throw new e(`Invalid ${ye[Ae]||"manyith"} argument. Expected ${pe.join(" or ")} but received ${R}.`)}function f(R){return!!R&&!!R.then&&"function"==typeof R.then}function d(R,pe,Ae,he){Ae.assert.notStrictEqual(R,pe,he)}function u(R,pe){pe.assert.strictEqual(typeof R,"string")}function p(R){return Object.keys(R)}function g(R={},pe=(()=>!0)){const Ae={};return p(R).forEach((he=>{pe(he,R[he])&&(Ae[he]=R[he])})),Ae}function m(){return process.versions.electron&&!process.defaultApp?0:1}function y(){return process.argv[m()]}var ve=Object.freeze({__proto__:null,hideBin:function(R){return R.slice(m()+1)},getProcessArgvBin:y});function v(R,pe,Ae,he){if("a"===Ae&&!he)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof pe?R!==pe||!he:!pe.has(R))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===Ae?he:"a"===Ae?he.call(R):he?he.value:pe.get(R)}function O(R,pe,Ae,he,ge){if("m"===he)throw new TypeError("Private method is not writable");if("a"===he&&!ge)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof pe?R!==pe||!ge:!pe.has(R))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===he?ge.call(R,Ae):ge?ge.value=Ae:pe.set(R,Ae),Ae}class w{constructor(R){this.globalMiddleware=[],this.frozens=[],this.yargs=R}addMiddleware(R,pe,Ae=!0,he=!1){if(h(" [boolean] [boolean] [boolean]",[R,pe,Ae],arguments.length),Array.isArray(R)){for(let he=0;he{const he=[...Ae[pe]||[],pe];return!R.option||!he.includes(R.option)})),R.option=pe,this.addMiddleware(R,!0,!0,!0)}getMiddleware(){return this.globalMiddleware}freeze(){this.frozens.push([...this.globalMiddleware])}unfreeze(){const R=this.frozens.pop();void 0!==R&&(this.globalMiddleware=R)}reset(){this.globalMiddleware=this.globalMiddleware.filter((R=>R.global))}}function C(R,pe,Ae,he){return Ae.reduce(((R,Ae)=>{if(Ae.applyBeforeValidation!==he)return R;if(Ae.mutates){if(Ae.applied)return R;Ae.applied=!0}if(f(R))return R.then((R=>Promise.all([R,Ae(R,pe)]))).then((([R,pe])=>Object.assign(R,pe)));{const he=Ae(R,pe);return f(he)?he.then((pe=>Object.assign(R,pe))):Object.assign(R,he)}}),R)}function j(R,pe,Ae=(R=>{throw R})){try{const Ae="function"==typeof R?R():R;return f(Ae)?Ae.then((R=>pe(R))):pe(Ae)}catch(R){return Ae(R)}}const be=/(^\*)|(^\$0)/;class _{constructor(R,pe,Ae,he){this.requireCache=new Set,this.handlers={},this.aliasMap={},this.frozens=[],this.shim=he,this.usage=R,this.globalMiddleware=Ae,this.validation=pe}addDirectory(R,pe,Ae,he){"boolean"!=typeof(he=he||{}).recurse&&(he.recurse=!1),Array.isArray(he.extensions)||(he.extensions=["js"]);const ge="function"==typeof he.visit?he.visit:R=>R;he.visit=(R,pe,Ae)=>{const he=ge(R,pe,Ae);if(he){if(this.requireCache.has(pe))return he;this.requireCache.add(pe),this.addHandler(he)}return he},this.shim.requireDirectory({require:pe,filename:Ae},R,he)}addHandler(R,pe,Ae,he,ge,me){let ye=[];const ve=function(R){return R?R.map((R=>(R.applyBeforeValidation=!1,R))):[]}(ge);if(he=he||(()=>{}),Array.isArray(R))if(function(R){return R.every((R=>"string"==typeof R))}(R))[R,...ye]=R;else for(const pe of R)this.addHandler(pe);else{if(function(R){return"object"==typeof R&&!Array.isArray(R)}(R)){let pe=Array.isArray(R.command)||"string"==typeof R.command?R.command:this.moduleName(R);return R.aliases&&(pe=[].concat(pe).concat(R.aliases)),void this.addHandler(pe,this.extractDesc(R),R.builder,R.handler,R.middlewares,R.deprecated)}if(k(Ae))return void this.addHandler([R].concat(ye),pe,Ae.builder,Ae.handler,Ae.middlewares,Ae.deprecated)}if("string"==typeof R){const ge=o(R);ye=ye.map((R=>o(R).cmd));let Ee=!1;const Ce=[ge.cmd].concat(ye).filter((R=>!be.test(R)||(Ee=!0,!1)));0===Ce.length&&Ee&&Ce.push("$0"),Ee&&(ge.cmd=Ce[0],ye=Ce.slice(1),R=R.replace(be,ge.cmd)),ye.forEach((R=>{this.aliasMap[R]=ge.cmd})),!1!==pe&&this.usage.command(R,pe,Ee,ye,me),this.handlers[ge.cmd]={original:R,description:pe,handler:he,builder:Ae||{},middlewares:ve,deprecated:me,demanded:ge.demanded,optional:ge.optional},Ee&&(this.defaultCommand=this.handlers[ge.cmd])}}getCommandHandlers(){return this.handlers}getCommands(){return Object.keys(this.handlers).concat(Object.keys(this.aliasMap))}hasDefaultCommand(){return!!this.defaultCommand}runCommand(R,pe,Ae,he,ge,me){const ye=this.handlers[R]||this.handlers[this.aliasMap[R]]||this.defaultCommand,ve=pe.getInternalMethods().getContext(),be=ve.commands.slice(),Ee=!R;R&&(ve.commands.push(R),ve.fullCommands.push(ye.original));const Ce=this.applyBuilderUpdateUsageAndParse(Ee,ye,pe,Ae.aliases,be,he,ge,me);return f(Ce)?Ce.then((R=>this.applyMiddlewareAndGetResult(Ee,ye,R.innerArgv,ve,ge,R.aliases,pe))):this.applyMiddlewareAndGetResult(Ee,ye,Ce.innerArgv,ve,ge,Ce.aliases,pe)}applyBuilderUpdateUsageAndParse(R,pe,Ae,he,ge,me,ye,ve){const be=pe.builder;let Ee=Ae;if(x(be)){Ae.getInternalMethods().getUsageInstance().freeze();const Ce=be(Ae.getInternalMethods().reset(he),ve);if(f(Ce))return Ce.then((he=>{var ve;return Ee=(ve=he)&&"function"==typeof ve.getInternalMethods?he:Ae,this.parseAndUpdateUsage(R,pe,Ee,ge,me,ye)}))}else(function(R){return"object"==typeof R})(be)&&(Ae.getInternalMethods().getUsageInstance().freeze(),Ee=Ae.getInternalMethods().reset(he),Object.keys(pe.builder).forEach((R=>{Ee.option(R,be[R])})));return this.parseAndUpdateUsage(R,pe,Ee,ge,me,ye)}parseAndUpdateUsage(R,pe,Ae,he,ge,me){R&&Ae.getInternalMethods().getUsageInstance().unfreeze(!0),this.shouldUpdateUsage(Ae)&&Ae.getInternalMethods().getUsageInstance().usage(this.usageFromParentCommandsCommandHandler(he,pe),pe.description);const ye=Ae.getInternalMethods().runYargsParserAndExecuteCommands(null,void 0,!0,ge,me);return f(ye)?ye.then((R=>({aliases:Ae.parsed.aliases,innerArgv:R}))):{aliases:Ae.parsed.aliases,innerArgv:ye}}shouldUpdateUsage(R){return!R.getInternalMethods().getUsageInstance().getUsageDisabled()&&0===R.getInternalMethods().getUsageInstance().getUsage().length}usageFromParentCommandsCommandHandler(R,pe){const Ae=be.test(pe.original)?pe.original.replace(be,"").trim():pe.original,he=R.filter((R=>!be.test(R)));return he.push(Ae),`$0 ${he.join(" ")}`}handleValidationAndGetResult(R,pe,Ae,he,ge,me,ye,ve){if(!me.getInternalMethods().getHasOutput()){const pe=me.getInternalMethods().runValidation(ge,ve,me.parsed.error,R);Ae=j(Ae,(R=>(pe(R),R)))}if(pe.handler&&!me.getInternalMethods().getHasOutput()){me.getInternalMethods().setHasOutput();const he=!!me.getOptions().configuration["populate--"];me.getInternalMethods().postProcess(Ae,he,!1,!1),Ae=j(Ae=C(Ae,me,ye,!1),(R=>{const Ae=pe.handler(R);return f(Ae)?Ae.then((()=>R)):R})),R||me.getInternalMethods().getUsageInstance().cacheHelpMessage(),f(Ae)&&!me.getInternalMethods().hasParseCallback()&&Ae.catch((R=>{try{me.getInternalMethods().getUsageInstance().fail(null,R)}catch(R){}}))}return R||(he.commands.pop(),he.fullCommands.pop()),Ae}applyMiddlewareAndGetResult(R,pe,Ae,he,ge,me,ye){let ve={};if(ge)return Ae;ye.getInternalMethods().getHasOutput()||(ve=this.populatePositionals(pe,Ae,he,ye));const be=this.globalMiddleware.getMiddleware().slice(0).concat(pe.middlewares),Ee=C(Ae,ye,be,!0);return f(Ee)?Ee.then((Ae=>this.handleValidationAndGetResult(R,pe,Ae,he,me,ye,be,ve))):this.handleValidationAndGetResult(R,pe,Ee,he,me,ye,be,ve)}populatePositionals(R,pe,Ae,he){pe._=pe._.slice(Ae.commands.length);const ge=R.demanded.slice(0),me=R.optional.slice(0),ye={};for(this.validation.positionalCount(ge.length,pe._.length);ge.length;){const R=ge.shift();this.populatePositional(R,pe,ye)}for(;me.length;){const R=me.shift();this.populatePositional(R,pe,ye)}return pe._=Ae.commands.concat(pe._.map((R=>""+R))),this.postProcessPositionals(pe,ye,this.cmdToParseOptions(R.original),he),ye}populatePositional(R,pe,Ae){const he=R.cmd[0];R.variadic?Ae[he]=pe._.splice(0).map(String):pe._.length&&(Ae[he]=[String(pe._.shift())])}cmdToParseOptions(R){const pe={array:[],default:{},alias:{},demand:{}},Ae=o(R);return Ae.demanded.forEach((R=>{const[Ae,...he]=R.cmd;R.variadic&&(pe.array.push(Ae),pe.default[Ae]=[]),pe.alias[Ae]=he,pe.demand[Ae]=!0})),Ae.optional.forEach((R=>{const[Ae,...he]=R.cmd;R.variadic&&(pe.array.push(Ae),pe.default[Ae]=[]),pe.alias[Ae]=he})),pe}postProcessPositionals(R,pe,Ae,he){const ge=Object.assign({},he.getOptions());ge.default=Object.assign(Ae.default,ge.default);for(const R of Object.keys(Ae.alias))ge.alias[R]=(ge.alias[R]||[]).concat(Ae.alias[R]);ge.array=ge.array.concat(Ae.array),ge.config={};const me=[];if(Object.keys(pe).forEach((R=>{pe[R].map((pe=>{ge.configuration["unknown-options-as-args"]&&(ge.key[R]=!0),me.push(`--${R}`),me.push(pe)}))})),!me.length)return;const ye=Object.assign({},ge.configuration,{"populate--":!1}),ve=this.shim.Parser.detailed(me,Object.assign({},ge,{configuration:ye}));if(ve.error)he.getInternalMethods().getUsageInstance().fail(ve.error.message,ve.error);else{const Ae=Object.keys(pe);Object.keys(pe).forEach((R=>{Ae.push(...ve.aliases[R])})),Object.keys(ve.argv).forEach((ge=>{Ae.includes(ge)&&(pe[ge]||(pe[ge]=ve.argv[ge]),!this.isInConfigs(he,ge)&&!this.isDefaulted(he,ge)&&Object.prototype.hasOwnProperty.call(R,ge)&&Object.prototype.hasOwnProperty.call(ve.argv,ge)&&(Array.isArray(R[ge])||Array.isArray(ve.argv[ge]))?R[ge]=[].concat(R[ge],ve.argv[ge]):R[ge]=ve.argv[ge])}))}}isDefaulted(R,pe){const{default:Ae}=R.getOptions();return Object.prototype.hasOwnProperty.call(Ae,pe)||Object.prototype.hasOwnProperty.call(Ae,this.shim.Parser.camelCase(pe))}isInConfigs(R,pe){const{configObjects:Ae}=R.getOptions();return Ae.some((R=>Object.prototype.hasOwnProperty.call(R,pe)))||Ae.some((R=>Object.prototype.hasOwnProperty.call(R,this.shim.Parser.camelCase(pe))))}runDefaultBuilderOn(R){if(!this.defaultCommand)return;if(this.shouldUpdateUsage(R)){const pe=be.test(this.defaultCommand.original)?this.defaultCommand.original:this.defaultCommand.original.replace(/^[^[\]<>]*/,"$0 ");R.getInternalMethods().getUsageInstance().usage(pe,this.defaultCommand.description)}const pe=this.defaultCommand.builder;if(x(pe))return pe(R,!0);k(pe)||Object.keys(pe).forEach((Ae=>{R.option(Ae,pe[Ae])}))}moduleName(R){const pe=function(R){if(false){}for(let pe,he=0,ge=Object.keys(Ae.c);he{const Ae=pe;Ae._handle&&Ae.isTTY&&"function"==typeof Ae._handle.setBlocking&&Ae._handle.setBlocking(R)}))}function A(R){return"boolean"==typeof R}function P(R,pe){const Ae=pe.y18n.__,he={},ge=[];he.failFn=function(R){ge.push(R)};let me=null,ye=null,ve=!0;he.showHelpOnFail=function(pe=!0,Ae){const[ge,be]="string"==typeof pe?[!0,pe]:[pe,Ae];return R.getInternalMethods().isGlobalContext()&&(ye=be),me=be,ve=ge,he};let be=!1;he.fail=function(pe,Ae){const Ee=R.getInternalMethods().getLoggerInstance();if(!ge.length){if(R.getExitProcess()&&E(!0),!be){be=!0,ve&&(R.showHelp("error"),Ee.error()),(pe||Ae)&&Ee.error(pe||Ae);const he=me||ye;he&&((pe||Ae)&&Ee.error(""),Ee.error(he))}if(Ae=Ae||new e(pe),R.getExitProcess())return R.exit(1);if(R.getInternalMethods().hasParseCallback())return R.exit(1,Ae);throw Ae}for(let R=ge.length-1;R>=0;--R){const me=ge[R];if(A(me)){if(Ae)throw Ae;if(pe)throw Error(pe)}else me(pe,Ae,he)}};let Ee=[],Ce=!1;he.usage=(R,pe)=>null===R?(Ce=!0,Ee=[],he):(Ce=!1,Ee.push([R,pe||""]),he),he.getUsage=()=>Ee,he.getUsageDisabled=()=>Ce,he.getPositionalGroupName=()=>Ae("Positionals:");let we=[];he.example=(R,pe)=>{we.push([R,pe||""])};let Ie=[];he.command=function(R,pe,Ae,he,ge=!1){Ae&&(Ie=Ie.map((R=>(R[2]=!1,R)))),Ie.push([R,pe||"",Ae,he,ge])},he.getCommands=()=>Ie;let _e={};he.describe=function(R,pe){Array.isArray(R)?R.forEach((R=>{he.describe(R,pe)})):"object"==typeof R?Object.keys(R).forEach((pe=>{he.describe(pe,R[pe])})):_e[R]=pe},he.getDescriptions=()=>_e;let Be=[];he.epilog=R=>{Be.push(R)};let Se,Qe=!1;he.wrap=R=>{Qe=!0,Se=R},he.getWrap=()=>pe.getEnv("YARGS_DISABLE_WRAP")?null:(Qe||(Se=function(){const R=80;return pe.process.stdColumns?Math.min(R,pe.process.stdColumns):R}(),Qe=!0),Se);const xe="__yargsString__:";function O(R,Ae,he){let ge=0;return Array.isArray(R)||(R=Object.values(R).map((R=>[R]))),R.forEach((R=>{ge=Math.max(pe.stringWidth(he?`${he} ${I(R[0])}`:I(R[0]))+$(R[0]),ge)})),Ae&&(ge=Math.min(ge,parseInt((.5*Ae).toString(),10))),ge}let De;function C(pe){return R.getOptions().hiddenOptions.indexOf(pe)<0||R.parsed.argv[R.getOptions().showHiddenOpt]}function j(R,pe){let he=`[${Ae("default:")} `;if(void 0===R&&!pe)return null;if(pe)he+=pe;else switch(typeof R){case"string":he+=`"${R}"`;break;case"object":he+=JSON.stringify(R);break;default:he+=R}return`${he}]`}he.deferY18nLookup=R=>xe+R,he.help=function(){if(De)return De;!function(){const pe=R.getDemandedOptions(),Ae=R.getOptions();(Object.keys(Ae.alias)||[]).forEach((ge=>{Ae.alias[ge].forEach((me=>{_e[me]&&he.describe(ge,_e[me]),me in pe&&R.demandOption(ge,pe[me]),Ae.boolean.includes(me)&&R.boolean(ge),Ae.count.includes(me)&&R.count(ge),Ae.string.includes(me)&&R.string(ge),Ae.normalize.includes(me)&&R.normalize(ge),Ae.array.includes(me)&&R.array(ge),Ae.number.includes(me)&&R.number(ge)}))}))}();const ge=R.customScriptName?R.$0:pe.path.basename(R.$0),me=R.getDemandedOptions(),ye=R.getDemandedCommands(),ve=R.getDeprecatedOptions(),be=R.getGroups(),Se=R.getOptions();let Qe=[];Qe=Qe.concat(Object.keys(_e)),Qe=Qe.concat(Object.keys(me)),Qe=Qe.concat(Object.keys(ye)),Qe=Qe.concat(Object.keys(Se.default)),Qe=Qe.filter(C),Qe=Object.keys(Qe.reduce(((R,pe)=>("_"!==pe&&(R[pe]=!0),R)),{}));const ke=he.getWrap(),Oe=pe.cliui({width:ke,wrap:!!ke});if(!Ce)if(Ee.length)Ee.forEach((R=>{Oe.div({text:`${R[0].replace(/\$0/g,ge)}`}),R[1]&&Oe.div({text:`${R[1]}`,padding:[1,0,0,0]})})),Oe.div();else if(Ie.length){let R=null;R=ye._?`${ge} <${Ae("command")}>\n`:`${ge} [${Ae("command")}]\n`,Oe.div(`${R}`)}if(Ie.length>1||1===Ie.length&&!Ie[0][2]){Oe.div(Ae("Commands:"));const pe=R.getInternalMethods().getContext(),he=pe.commands.length?`${pe.commands.join(" ")} `:"";!0===R.getInternalMethods().getParserConfiguration()["sort-commands"]&&(Ie=Ie.sort(((R,pe)=>R[0].localeCompare(pe[0]))));const me=ge?`${ge} `:"";Ie.forEach((R=>{const pe=`${me}${he}${R[0].replace(/^\$0 ?/,"")}`;Oe.span({text:pe,padding:[0,2,0,2],width:O(Ie,ke,`${ge}${he}`)+4},{text:R[1]});const ye=[];R[2]&&ye.push(`[${Ae("default")}]`),R[3]&&R[3].length&&ye.push(`[${Ae("aliases:")} ${R[3].join(", ")}]`),R[4]&&("string"==typeof R[4]?ye.push(`[${Ae("deprecated: %s",R[4])}]`):ye.push(`[${Ae("deprecated")}]`)),ye.length?Oe.div({text:ye.join(" "),padding:[0,0,0,2],align:"right"}):Oe.div()})),Oe.div()}const Re=(Object.keys(Se.alias)||[]).concat(Object.keys(R.parsed.newAliases)||[]);Qe=Qe.filter((pe=>!R.parsed.newAliases[pe]&&Re.every((R=>-1===(Se.alias[R]||[]).indexOf(pe)))));const Pe=Ae("Options:");be[Pe]||(be[Pe]=[]),function(R,pe,Ae,he){let ge=[],me=null;Object.keys(Ae).forEach((R=>{ge=ge.concat(Ae[R])})),R.forEach((R=>{me=[R].concat(pe[R]),me.some((R=>-1!==ge.indexOf(R)))||Ae[he].push(R)}))}(Qe,Se.alias,be,Pe);const k=R=>/^--/.test(I(R)),Te=Object.keys(be).filter((R=>be[R].length>0)).map((R=>({groupName:R,normalizedKeys:be[R].filter(C).map((R=>{if(Re.includes(R))return R;for(let pe,Ae=0;void 0!==(pe=Re[Ae]);Ae++)if((Se.alias[pe]||[]).includes(R))return pe;return R}))}))).filter((({normalizedKeys:R})=>R.length>0)).map((({groupName:R,normalizedKeys:pe})=>{const Ae=pe.reduce(((pe,Ae)=>(pe[Ae]=[Ae].concat(Se.alias[Ae]||[]).map((pe=>R===he.getPositionalGroupName()?pe:(/^[0-9]$/.test(pe)?Se.boolean.includes(Ae)?"-":"--":pe.length>1?"--":"-")+pe)).sort(((R,pe)=>k(R)===k(pe)?0:k(R)?1:-1)).join(", "),pe)),{});return{groupName:R,normalizedKeys:pe,switches:Ae}}));if(Te.filter((({groupName:R})=>R!==he.getPositionalGroupName())).some((({normalizedKeys:R,switches:pe})=>!R.every((R=>k(pe[R])))))&&Te.filter((({groupName:R})=>R!==he.getPositionalGroupName())).forEach((({normalizedKeys:R,switches:pe})=>{R.forEach((R=>{var Ae,he;k(pe[R])&&(pe[R]=(Ae=pe[R],he=4,S(Ae)?{text:Ae.text,indentation:Ae.indentation+he}:{text:Ae,indentation:he}))}))})),Te.forEach((({groupName:pe,normalizedKeys:ge,switches:ye})=>{Oe.div(pe),ge.forEach((pe=>{const ge=ye[pe];let be=_e[pe]||"",Ee=null;be.includes(xe)&&(be=Ae(be.substring(16))),Se.boolean.includes(pe)&&(Ee=`[${Ae("boolean")}]`),Se.count.includes(pe)&&(Ee=`[${Ae("count")}]`),Se.string.includes(pe)&&(Ee=`[${Ae("string")}]`),Se.normalize.includes(pe)&&(Ee=`[${Ae("string")}]`),Se.array.includes(pe)&&(Ee=`[${Ae("array")}]`),Se.number.includes(pe)&&(Ee=`[${Ae("number")}]`);const Ce=[pe in ve?(we=ve[pe],"string"==typeof we?`[${Ae("deprecated: %s",we)}]`:`[${Ae("deprecated")}]`):null,Ee,pe in me?`[${Ae("required")}]`:null,Se.choices&&Se.choices[pe]?`[${Ae("choices:")} ${he.stringifiedValues(Se.choices[pe])}]`:null,j(Se.default[pe],Se.defaultDescription[pe])].filter(Boolean).join(" ");var we;Oe.span({text:I(ge),padding:[0,2,0,2+$(ge)],width:O(ye,ke)+4},be);const Ie=!0===R.getInternalMethods().getUsageConfiguration()["hide-types"];Ce&&!Ie?Oe.div({text:Ce,padding:[0,0,0,2],align:"right"}):Oe.div()})),Oe.div()})),we.length&&(Oe.div(Ae("Examples:")),we.forEach((R=>{R[0]=R[0].replace(/\$0/g,ge)})),we.forEach((R=>{""===R[1]?Oe.div({text:R[0],padding:[0,2,0,2]}):Oe.div({text:R[0],padding:[0,2,0,2],width:O(we,ke)+4},{text:R[1]})})),Oe.div()),Be.length>0){const R=Be.map((R=>R.replace(/\$0/g,ge))).join("\n");Oe.div(`${R}\n`)}return Oe.toString().replace(/\s*$/,"")},he.cacheHelpMessage=function(){De=this.help()},he.clearCachedHelpMessage=function(){De=void 0},he.hasCachedHelpMessage=function(){return!!De},he.showHelp=pe=>{const Ae=R.getInternalMethods().getLoggerInstance();pe||(pe="error");("function"==typeof pe?pe:Ae[pe])(he.help())},he.functionDescription=R=>["(",R.name?pe.Parser.decamelize(R.name,"-"):Ae("generated-value"),")"].join(""),he.stringifiedValues=function(R,pe){let Ae="";const he=pe||", ",ge=[].concat(R);return R&&ge.length?(ge.forEach((R=>{Ae.length&&(Ae+=he),Ae+=JSON.stringify(R)})),Ae):Ae};let ke=null;he.version=R=>{ke=R},he.showVersion=pe=>{const Ae=R.getInternalMethods().getLoggerInstance();pe||(pe="error");("function"==typeof pe?pe:Ae[pe])(ke)},he.reset=function(R){return me=null,be=!1,Ee=[],Ce=!1,Be=[],we=[],Ie=[],_e=g(_e,(pe=>!R[pe])),he};const Oe=[];return he.freeze=function(){Oe.push({failMessage:me,failureOutput:be,usages:Ee,usageDisabled:Ce,epilogs:Be,examples:we,commands:Ie,descriptions:_e})},he.unfreeze=function(R=!1){const pe=Oe.pop();pe&&(R?(_e={...pe.descriptions,..._e},Ie=[...pe.commands,...Ie],Ee=[...pe.usages,...Ee],we=[...pe.examples,...we],Be=[...pe.epilogs,...Be]):({failMessage:me,failureOutput:be,usages:Ee,usageDisabled:Ce,epilogs:Be,examples:we,commands:Ie,descriptions:_e}=pe))},he}function S(R){return"object"==typeof R}function $(R){return S(R)?R.indentation:0}function I(R){return S(R)?R.text:R}class D{constructor(R,pe,Ae,he){var ge,me,ye;this.yargs=R,this.usage=pe,this.command=Ae,this.shim=he,this.completionKey="get-yargs-completions",this.aliases=null,this.customCompletionFunction=null,this.indexAfterLastReset=0,this.zshShell=null!==(ye=(null===(ge=this.shim.getEnv("SHELL"))||void 0===ge?void 0:ge.includes("zsh"))||(null===(me=this.shim.getEnv("ZSH_NAME"))||void 0===me?void 0:me.includes("zsh")))&&void 0!==ye&&ye}defaultCompletion(R,pe,Ae,he){const ge=this.command.getCommandHandlers();for(let pe=0,Ae=R.length;pe{const he=o(Ae[0]).cmd;if(-1===pe.indexOf(he))if(this.zshShell){const pe=Ae[1]||"";R.push(he.replace(/:/g,"\\:")+":"+pe)}else R.push(he)}))}optionCompletions(R,pe,Ae,he){if((he.match(/^-/)||""===he&&0===R.length)&&!this.previousArgHasChoices(pe)){const Ae=this.yargs.getOptions(),ge=this.yargs.getGroups()[this.usage.getPositionalGroupName()]||[];Object.keys(Ae.key).forEach((me=>{const ye=!!Ae.configuration["boolean-negation"]&&Ae.boolean.includes(me);ge.includes(me)||Ae.hiddenOptions.includes(me)||this.argsContainKey(pe,me,ye)||this.completeOptionKey(me,R,he,ye&&!!Ae.default[me])}))}}choicesFromOptionsCompletions(R,pe,Ae,he){if(this.previousArgHasChoices(pe)){const Ae=this.getPreviousArgChoices(pe);Ae&&Ae.length>0&&R.push(...Ae.map((R=>R.replace(/:/g,"\\:"))))}}choicesFromPositionalsCompletions(R,pe,Ae,he){if(""===he&&R.length>0&&this.previousArgHasChoices(pe))return;const ge=this.yargs.getGroups()[this.usage.getPositionalGroupName()]||[],me=Math.max(this.indexAfterLastReset,this.yargs.getInternalMethods().getContext().commands.length+1),ye=ge[Ae._.length-me-1];if(!ye)return;const ve=this.yargs.getOptions().choices[ye]||[];for(const pe of ve)pe.startsWith(he)&&R.push(pe.replace(/:/g,"\\:"))}getPreviousArgChoices(R){if(R.length<1)return;let pe=R[R.length-1],Ae="";if(!pe.startsWith("-")&&R.length>1&&(Ae=pe,pe=R[R.length-2]),!pe.startsWith("-"))return;const he=pe.replace(/^-+/,""),ge=this.yargs.getOptions(),me=[he,...this.yargs.getAliases()[he]||[]];let ye;for(const R of me)if(Object.prototype.hasOwnProperty.call(ge.key,R)&&Array.isArray(ge.choices[R])){ye=ge.choices[R];break}return ye?ye.filter((R=>!Ae||R.startsWith(Ae))):void 0}previousArgHasChoices(R){const pe=this.getPreviousArgChoices(R);return void 0!==pe&&pe.length>0}argsContainKey(R,pe,Ae){const i=pe=>-1!==R.indexOf((/^[^0-9]$/.test(pe)?"-":"--")+pe);if(i(pe))return!0;if(Ae&&i(`no-${pe}`))return!0;if(this.aliases)for(const R of this.aliases[pe])if(i(R))return!0;return!1}completeOptionKey(R,pe,Ae,he){var ge,me,ye,ve;let be=R;if(this.zshShell){const pe=this.usage.getDescriptions(),Ae=null===(me=null===(ge=null==this?void 0:this.aliases)||void 0===ge?void 0:ge[R])||void 0===me?void 0:me.find((R=>{const Ae=pe[R];return"string"==typeof Ae&&Ae.length>0})),he=Ae?pe[Ae]:void 0,Ee=null!==(ve=null!==(ye=pe[R])&&void 0!==ye?ye:he)&&void 0!==ve?ve:"";be=`${R.replace(/:/g,"\\:")}:${Ee.replace("__yargsString__:","").replace(/(\r\n|\n|\r)/gm," ")}`}const Ee=!/^--/.test(Ae)&&(R=>/^[^0-9]$/.test(R))(R)?"-":"--";pe.push(Ee+be),he&&pe.push(Ee+"no-"+be)}customCompletion(R,pe,Ae,he){if(d(this.customCompletionFunction,null,this.shim),this.customCompletionFunction.length<3){const R=this.customCompletionFunction(Ae,pe);return f(R)?R.then((R=>{this.shim.process.nextTick((()=>{he(null,R)}))})).catch((R=>{this.shim.process.nextTick((()=>{he(R,void 0)}))})):he(null,R)}return function(R){return R.length>3}(this.customCompletionFunction)?this.customCompletionFunction(Ae,pe,((ge=he)=>this.defaultCompletion(R,pe,Ae,ge)),(R=>{he(null,R)})):this.customCompletionFunction(Ae,pe,(R=>{he(null,R)}))}getCompletion(R,pe){const Ae=R.length?R[R.length-1]:"",he=this.yargs.parse(R,!0),ge=this.customCompletionFunction?he=>this.customCompletion(R,he,Ae,pe):he=>this.defaultCompletion(R,he,Ae,pe);return f(he)?he.then(ge):ge(he)}generateCompletionScript(R,pe){let Ae=this.zshShell?'#compdef {{app_name}}\n###-begin-{{app_name}}-completions-###\n#\n# yargs command completion script\n#\n# Installation: {{app_path}} {{completion_command}} >> ~/.zshrc\n# or {{app_path}} {{completion_command}} >> ~/.zprofile on OSX.\n#\n_{{app_name}}_yargs_completions()\n{\n local reply\n local si=$IFS\n IFS=$\'\n\' reply=($(COMP_CWORD="$((CURRENT-1))" COMP_LINE="$BUFFER" COMP_POINT="$CURSOR" {{app_path}} --get-yargs-completions "${words[@]}"))\n IFS=$si\n _describe \'values\' reply\n}\ncompdef _{{app_name}}_yargs_completions {{app_name}}\n###-end-{{app_name}}-completions-###\n':'###-begin-{{app_name}}-completions-###\n#\n# yargs command completion script\n#\n# Installation: {{app_path}} {{completion_command}} >> ~/.bashrc\n# or {{app_path}} {{completion_command}} >> ~/.bash_profile on OSX.\n#\n_{{app_name}}_yargs_completions()\n{\n local cur_word args type_list\n\n cur_word="${COMP_WORDS[COMP_CWORD]}"\n args=("${COMP_WORDS[@]}")\n\n # ask yargs to generate completions.\n type_list=$({{app_path}} --get-yargs-completions "${args[@]}")\n\n COMPREPLY=( $(compgen -W "${type_list}" -- ${cur_word}) )\n\n # if no match was found, fall back to filename completion\n if [ ${#COMPREPLY[@]} -eq 0 ]; then\n COMPREPLY=()\n fi\n\n return 0\n}\ncomplete -o bashdefault -o default -F _{{app_name}}_yargs_completions {{app_name}}\n###-end-{{app_name}}-completions-###\n';const he=this.shim.path.basename(R);return R.match(/\.js$/)&&(R=`./${R}`),Ae=Ae.replace(/{{app_name}}/g,he),Ae=Ae.replace(/{{completion_command}}/g,pe),Ae.replace(/{{app_path}}/g,R)}registerFunction(R){this.customCompletionFunction=R}setParsed(R){this.aliases=R.aliases}}function N(R,pe){if(0===R.length)return pe.length;if(0===pe.length)return R.length;const Ae=[];let he,ge;for(he=0;he<=pe.length;he++)Ae[he]=[he];for(ge=0;ge<=R.length;ge++)Ae[0][ge]=ge;for(he=1;he<=pe.length;he++)for(ge=1;ge<=R.length;ge++)pe.charAt(he-1)===R.charAt(ge-1)?Ae[he][ge]=Ae[he-1][ge-1]:he>1&&ge>1&&pe.charAt(he-2)===R.charAt(ge-1)&&pe.charAt(he-1)===R.charAt(ge-2)?Ae[he][ge]=Ae[he-2][ge-2]+1:Ae[he][ge]=Math.min(Ae[he-1][ge-1]+1,Math.min(Ae[he][ge-1]+1,Ae[he-1][ge]+1));return Ae[pe.length][R.length]}const Ee=["$0","--","_"];var Ce,we,Ie,_e,Be,Se,Qe,xe,De,ke,Oe,Re,Pe,Te,Ne,Me,Fe,je,Le,Ue,He,Ve,We,Je,Ge,qe,Ye,Ke,ze,$e,Ze,Xe,et,tt,rt;const nt=Symbol("copyDoubleDash"),it=Symbol("copyDoubleDash"),ot=Symbol("deleteFromParserHintObject"),st=Symbol("emitWarning"),at=Symbol("freeze"),ct=Symbol("getDollarZero"),ut=Symbol("getParserConfiguration"),lt=Symbol("getUsageConfiguration"),dt=Symbol("guessLocale"),ft=Symbol("guessVersion"),pt=Symbol("parsePositionalNumbers"),At=Symbol("pkgUp"),ht=Symbol("populateParserHintArray"),gt=Symbol("populateParserHintSingleValueDictionary"),mt=Symbol("populateParserHintArrayDictionary"),yt=Symbol("populateParserHintDictionary"),vt=Symbol("sanitizeKey"),bt=Symbol("setKey"),Et=Symbol("unfreeze"),Ct=Symbol("validateAsync"),wt=Symbol("getCommandInstance"),It=Symbol("getContext"),_t=Symbol("getHasOutput"),Bt=Symbol("getLoggerInstance"),St=Symbol("getParseContext"),Qt=Symbol("getUsageInstance"),xt=Symbol("getValidationInstance"),Dt=Symbol("hasParseCallback"),kt=Symbol("isGlobalContext"),Ot=Symbol("postProcess"),Rt=Symbol("rebase"),Pt=Symbol("reset"),Tt=Symbol("runYargsParserAndExecuteCommands"),Nt=Symbol("runValidation"),Mt=Symbol("setHasOutput"),Ft=Symbol("kTrackManuallySetKeys");class te{constructor(R=[],pe,Ae,he){this.customScriptName=!1,this.parsed=!1,Ce.set(this,void 0),we.set(this,void 0),Ie.set(this,{commands:[],fullCommands:[]}),_e.set(this,null),Be.set(this,null),Se.set(this,"show-hidden"),Qe.set(this,null),xe.set(this,!0),De.set(this,{}),ke.set(this,!0),Oe.set(this,[]),Re.set(this,void 0),Pe.set(this,{}),Te.set(this,!1),Ne.set(this,null),Me.set(this,!0),Fe.set(this,void 0),je.set(this,""),Le.set(this,void 0),Ue.set(this,void 0),He.set(this,{}),Ve.set(this,null),We.set(this,null),Je.set(this,{}),Ge.set(this,{}),qe.set(this,void 0),Ye.set(this,!1),Ke.set(this,void 0),ze.set(this,!1),$e.set(this,!1),Ze.set(this,!1),Xe.set(this,void 0),et.set(this,{}),tt.set(this,null),rt.set(this,void 0),O(this,Ke,he,"f"),O(this,qe,R,"f"),O(this,we,pe,"f"),O(this,Ue,Ae,"f"),O(this,Re,new w(this),"f"),this.$0=this[ct](),this[Pt](),O(this,Ce,v(this,Ce,"f"),"f"),O(this,Xe,v(this,Xe,"f"),"f"),O(this,rt,v(this,rt,"f"),"f"),O(this,Le,v(this,Le,"f"),"f"),v(this,Le,"f").showHiddenOpt=v(this,Se,"f"),O(this,Fe,this[it](),"f")}addHelpOpt(R,pe){return h("[string|boolean] [string]",[R,pe],arguments.length),v(this,Ne,"f")&&(this[ot](v(this,Ne,"f")),O(this,Ne,null,"f")),!1===R&&void 0===pe||(O(this,Ne,"string"==typeof R?R:"help","f"),this.boolean(v(this,Ne,"f")),this.describe(v(this,Ne,"f"),pe||v(this,Xe,"f").deferY18nLookup("Show help"))),this}help(R,pe){return this.addHelpOpt(R,pe)}addShowHiddenOpt(R,pe){if(h("[string|boolean] [string]",[R,pe],arguments.length),!1===R&&void 0===pe)return this;const Ae="string"==typeof R?R:v(this,Se,"f");return this.boolean(Ae),this.describe(Ae,pe||v(this,Xe,"f").deferY18nLookup("Show hidden options")),v(this,Le,"f").showHiddenOpt=Ae,this}showHidden(R,pe){return this.addShowHiddenOpt(R,pe)}alias(R,pe){return h(" [string|array]",[R,pe],arguments.length),this[mt](this.alias.bind(this),"alias",R,pe),this}array(R){return h("",[R],arguments.length),this[ht]("array",R),this[Ft](R),this}boolean(R){return h("",[R],arguments.length),this[ht]("boolean",R),this[Ft](R),this}check(R,pe){return h(" [boolean]",[R,pe],arguments.length),this.middleware(((pe,Ae)=>j((()=>R(pe,Ae.getOptions())),(Ae=>(Ae?("string"==typeof Ae||Ae instanceof Error)&&v(this,Xe,"f").fail(Ae.toString(),Ae):v(this,Xe,"f").fail(v(this,Ke,"f").y18n.__("Argument check failed: %s",R.toString())),pe)),(R=>(v(this,Xe,"f").fail(R.message?R.message:R.toString(),R),pe)))),!1,pe),this}choices(R,pe){return h(" [string|array]",[R,pe],arguments.length),this[mt](this.choices.bind(this),"choices",R,pe),this}coerce(R,pe){if(h(" [function]",[R,pe],arguments.length),Array.isArray(R)){if(!pe)throw new e("coerce callback must be provided");for(const Ae of R)this.coerce(Ae,pe);return this}if("object"==typeof R){for(const pe of Object.keys(R))this.coerce(pe,R[pe]);return this}if(!pe)throw new e("coerce callback must be provided");return v(this,Le,"f").key[R]=!0,v(this,Re,"f").addCoerceMiddleware(((Ae,he)=>{let ge;return Object.prototype.hasOwnProperty.call(Ae,R)?j((()=>(ge=he.getAliases(),pe(Ae[R]))),(pe=>{Ae[R]=pe;const me=he.getInternalMethods().getParserConfiguration()["strip-aliased"];if(ge[R]&&!0!==me)for(const he of ge[R])Ae[he]=pe;return Ae}),(R=>{throw new e(R.message)})):Ae}),R),this}conflicts(R,pe){return h(" [string|array]",[R,pe],arguments.length),v(this,rt,"f").conflicts(R,pe),this}config(R="config",pe,Ae){return h("[object|string] [string|function] [function]",[R,pe,Ae],arguments.length),"object"!=typeof R||Array.isArray(R)?("function"==typeof pe&&(Ae=pe,pe=void 0),this.describe(R,pe||v(this,Xe,"f").deferY18nLookup("Path to JSON config file")),(Array.isArray(R)?R:[R]).forEach((R=>{v(this,Le,"f").config[R]=Ae||!0})),this):(R=n(R,v(this,we,"f"),this[ut]()["deep-merge-config"]||!1,v(this,Ke,"f")),v(this,Le,"f").configObjects=(v(this,Le,"f").configObjects||[]).concat(R),this)}completion(R,pe,Ae){return h("[string] [string|boolean|function] [function]",[R,pe,Ae],arguments.length),"function"==typeof pe&&(Ae=pe,pe=void 0),O(this,Be,R||v(this,Be,"f")||"completion","f"),pe||!1===pe||(pe="generate completion script"),this.command(v(this,Be,"f"),pe),Ae&&v(this,_e,"f").registerFunction(Ae),this}command(R,pe,Ae,he,ge,me){return h(" [string|boolean] [function|object] [function] [array] [boolean|string]",[R,pe,Ae,he,ge,me],arguments.length),v(this,Ce,"f").addHandler(R,pe,Ae,he,ge,me),this}commands(R,pe,Ae,he,ge,me){return this.command(R,pe,Ae,he,ge,me)}commandDir(R,pe){h(" [object]",[R,pe],arguments.length);const Ae=v(this,Ue,"f")||v(this,Ke,"f").require;return v(this,Ce,"f").addDirectory(R,Ae,v(this,Ke,"f").getCallerFile(),pe),this}count(R){return h("",[R],arguments.length),this[ht]("count",R),this[Ft](R),this}default(R,pe,Ae){return h(" [*] [string]",[R,pe,Ae],arguments.length),Ae&&(u(R,v(this,Ke,"f")),v(this,Le,"f").defaultDescription[R]=Ae),"function"==typeof pe&&(u(R,v(this,Ke,"f")),v(this,Le,"f").defaultDescription[R]||(v(this,Le,"f").defaultDescription[R]=v(this,Xe,"f").functionDescription(pe)),pe=pe.call()),this[gt](this.default.bind(this),"default",R,pe),this}defaults(R,pe,Ae){return this.default(R,pe,Ae)}demandCommand(R=1,pe,Ae,he){return h("[number] [number|string] [string|null|undefined] [string|null|undefined]",[R,pe,Ae,he],arguments.length),"number"!=typeof pe&&(Ae=pe,pe=1/0),this.global("_",!1),v(this,Le,"f").demandedCommands._={min:R,max:pe,minMsg:Ae,maxMsg:he},this}demand(R,pe,Ae){return Array.isArray(pe)?(pe.forEach((R=>{d(Ae,!0,v(this,Ke,"f")),this.demandOption(R,Ae)})),pe=1/0):"number"!=typeof pe&&(Ae=pe,pe=1/0),"number"==typeof R?(d(Ae,!0,v(this,Ke,"f")),this.demandCommand(R,pe,Ae,Ae)):Array.isArray(R)?R.forEach((R=>{d(Ae,!0,v(this,Ke,"f")),this.demandOption(R,Ae)})):"string"==typeof Ae?this.demandOption(R,Ae):!0!==Ae&&void 0!==Ae||this.demandOption(R),this}demandOption(R,pe){return h(" [string]",[R,pe],arguments.length),this[gt](this.demandOption.bind(this),"demandedOptions",R,pe),this}deprecateOption(R,pe){return h(" [string|boolean]",[R,pe],arguments.length),v(this,Le,"f").deprecatedOptions[R]=pe,this}describe(R,pe){return h(" [string]",[R,pe],arguments.length),this[bt](R,!0),v(this,Xe,"f").describe(R,pe),this}detectLocale(R){return h("",[R],arguments.length),O(this,xe,R,"f"),this}env(R){return h("[string|boolean]",[R],arguments.length),!1===R?delete v(this,Le,"f").envPrefix:v(this,Le,"f").envPrefix=R||"",this}epilogue(R){return h("",[R],arguments.length),v(this,Xe,"f").epilog(R),this}epilog(R){return this.epilogue(R)}example(R,pe){return h(" [string]",[R,pe],arguments.length),Array.isArray(R)?R.forEach((R=>this.example(...R))):v(this,Xe,"f").example(R,pe),this}exit(R,pe){O(this,Te,!0,"f"),O(this,Qe,pe,"f"),v(this,ke,"f")&&v(this,Ke,"f").process.exit(R)}exitProcess(R=!0){return h("[boolean]",[R],arguments.length),O(this,ke,R,"f"),this}fail(R){if(h("",[R],arguments.length),"boolean"==typeof R&&!1!==R)throw new e("Invalid first argument. Expected function or boolean 'false'");return v(this,Xe,"f").failFn(R),this}getAliases(){return this.parsed?this.parsed.aliases:{}}async getCompletion(R,pe){return h(" [function]",[R,pe],arguments.length),pe?v(this,_e,"f").getCompletion(R,pe):new Promise(((pe,Ae)=>{v(this,_e,"f").getCompletion(R,((R,he)=>{R?Ae(R):pe(he)}))}))}getDemandedOptions(){return h([],0),v(this,Le,"f").demandedOptions}getDemandedCommands(){return h([],0),v(this,Le,"f").demandedCommands}getDeprecatedOptions(){return h([],0),v(this,Le,"f").deprecatedOptions}getDetectLocale(){return v(this,xe,"f")}getExitProcess(){return v(this,ke,"f")}getGroups(){return Object.assign({},v(this,Pe,"f"),v(this,Ge,"f"))}getHelp(){if(O(this,Te,!0,"f"),!v(this,Xe,"f").hasCachedHelpMessage()){if(!this.parsed){const R=this[Tt](v(this,qe,"f"),void 0,void 0,0,!0);if(f(R))return R.then((()=>v(this,Xe,"f").help()))}const R=v(this,Ce,"f").runDefaultBuilderOn(this);if(f(R))return R.then((()=>v(this,Xe,"f").help()))}return Promise.resolve(v(this,Xe,"f").help())}getOptions(){return v(this,Le,"f")}getStrict(){return v(this,ze,"f")}getStrictCommands(){return v(this,$e,"f")}getStrictOptions(){return v(this,Ze,"f")}global(R,pe){return h(" [boolean]",[R,pe],arguments.length),R=[].concat(R),!1!==pe?v(this,Le,"f").local=v(this,Le,"f").local.filter((pe=>-1===R.indexOf(pe))):R.forEach((R=>{v(this,Le,"f").local.includes(R)||v(this,Le,"f").local.push(R)})),this}group(R,pe){h(" ",[R,pe],arguments.length);const Ae=v(this,Ge,"f")[pe]||v(this,Pe,"f")[pe];v(this,Ge,"f")[pe]&&delete v(this,Ge,"f")[pe];const he={};return v(this,Pe,"f")[pe]=(Ae||[]).concat(R).filter((R=>!he[R]&&(he[R]=!0))),this}hide(R){return h("",[R],arguments.length),v(this,Le,"f").hiddenOptions.push(R),this}implies(R,pe){return h(" [number|string|array]",[R,pe],arguments.length),v(this,rt,"f").implies(R,pe),this}locale(R){return h("[string]",[R],arguments.length),void 0===R?(this[dt](),v(this,Ke,"f").y18n.getLocale()):(O(this,xe,!1,"f"),v(this,Ke,"f").y18n.setLocale(R),this)}middleware(R,pe,Ae){return v(this,Re,"f").addMiddleware(R,!!pe,Ae)}nargs(R,pe){return h(" [number]",[R,pe],arguments.length),this[gt](this.nargs.bind(this),"narg",R,pe),this}normalize(R){return h("",[R],arguments.length),this[ht]("normalize",R),this}number(R){return h("",[R],arguments.length),this[ht]("number",R),this[Ft](R),this}option(R,pe){if(h(" [object]",[R,pe],arguments.length),"object"==typeof R)Object.keys(R).forEach((pe=>{this.options(pe,R[pe])}));else{"object"!=typeof pe&&(pe={}),this[Ft](R),!v(this,tt,"f")||"version"!==R&&"version"!==(null==pe?void 0:pe.alias)||this[st](['"version" is a reserved word.',"Please do one of the following:",'- Disable version with `yargs.version(false)` if using "version" as an option',"- Use the built-in `yargs.version` method instead (if applicable)","- Use a different option key","https://yargs.js.org/docs/#api-reference-version"].join("\n"),void 0,"versionWarning"),v(this,Le,"f").key[R]=!0,pe.alias&&this.alias(R,pe.alias);const Ae=pe.deprecate||pe.deprecated;Ae&&this.deprecateOption(R,Ae);const he=pe.demand||pe.required||pe.require;he&&this.demand(R,he),pe.demandOption&&this.demandOption(R,"string"==typeof pe.demandOption?pe.demandOption:void 0),pe.conflicts&&this.conflicts(R,pe.conflicts),"default"in pe&&this.default(R,pe.default),void 0!==pe.implies&&this.implies(R,pe.implies),void 0!==pe.nargs&&this.nargs(R,pe.nargs),pe.config&&this.config(R,pe.configParser),pe.normalize&&this.normalize(R),pe.choices&&this.choices(R,pe.choices),pe.coerce&&this.coerce(R,pe.coerce),pe.group&&this.group(R,pe.group),(pe.boolean||"boolean"===pe.type)&&(this.boolean(R),pe.alias&&this.boolean(pe.alias)),(pe.array||"array"===pe.type)&&(this.array(R),pe.alias&&this.array(pe.alias)),(pe.number||"number"===pe.type)&&(this.number(R),pe.alias&&this.number(pe.alias)),(pe.string||"string"===pe.type)&&(this.string(R),pe.alias&&this.string(pe.alias)),(pe.count||"count"===pe.type)&&this.count(R),"boolean"==typeof pe.global&&this.global(R,pe.global),pe.defaultDescription&&(v(this,Le,"f").defaultDescription[R]=pe.defaultDescription),pe.skipValidation&&this.skipValidation(R);const ge=pe.describe||pe.description||pe.desc,me=v(this,Xe,"f").getDescriptions();Object.prototype.hasOwnProperty.call(me,R)&&"string"!=typeof ge||this.describe(R,ge),pe.hidden&&this.hide(R),pe.requiresArg&&this.requiresArg(R)}return this}options(R,pe){return this.option(R,pe)}parse(R,pe,Ae){h("[string|array] [function|boolean|object] [function]",[R,pe,Ae],arguments.length),this[at](),void 0===R&&(R=v(this,qe,"f")),"object"==typeof pe&&(O(this,We,pe,"f"),pe=Ae),"function"==typeof pe&&(O(this,Ve,pe,"f"),pe=!1),pe||O(this,qe,R,"f"),v(this,Ve,"f")&&O(this,ke,!1,"f");const he=this[Tt](R,!!pe),ge=this.parsed;return v(this,_e,"f").setParsed(this.parsed),f(he)?he.then((R=>(v(this,Ve,"f")&&v(this,Ve,"f").call(this,v(this,Qe,"f"),R,v(this,je,"f")),R))).catch((R=>{throw v(this,Ve,"f")&&v(this,Ve,"f")(R,this.parsed.argv,v(this,je,"f")),R})).finally((()=>{this[Et](),this.parsed=ge})):(v(this,Ve,"f")&&v(this,Ve,"f").call(this,v(this,Qe,"f"),he,v(this,je,"f")),this[Et](),this.parsed=ge,he)}parseAsync(R,pe,Ae){const he=this.parse(R,pe,Ae);return f(he)?he:Promise.resolve(he)}parseSync(R,pe,Ae){const he=this.parse(R,pe,Ae);if(f(he))throw new e(".parseSync() must not be used with asynchronous builders, handlers, or middleware");return he}parserConfiguration(R){return h("",[R],arguments.length),O(this,He,R,"f"),this}pkgConf(R,pe){h(" [string]",[R,pe],arguments.length);let Ae=null;const he=this[At](pe||v(this,we,"f"));return he[R]&&"object"==typeof he[R]&&(Ae=n(he[R],pe||v(this,we,"f"),this[ut]()["deep-merge-config"]||!1,v(this,Ke,"f")),v(this,Le,"f").configObjects=(v(this,Le,"f").configObjects||[]).concat(Ae)),this}positional(R,pe){h(" ",[R,pe],arguments.length);const Ae=["default","defaultDescription","implies","normalize","choices","conflicts","coerce","type","describe","desc","description","alias"];pe=g(pe,((R,pe)=>!("type"===R&&!["string","number","boolean"].includes(pe))&&Ae.includes(R)));const he=v(this,Ie,"f").fullCommands[v(this,Ie,"f").fullCommands.length-1],ge=he?v(this,Ce,"f").cmdToParseOptions(he):{array:[],alias:{},default:{},demand:{}};return p(ge).forEach((Ae=>{const he=ge[Ae];Array.isArray(he)?-1!==he.indexOf(R)&&(pe[Ae]=!0):he[R]&&!(Ae in pe)&&(pe[Ae]=he[R])})),this.group(R,v(this,Xe,"f").getPositionalGroupName()),this.option(R,pe)}recommendCommands(R=!0){return h("[boolean]",[R],arguments.length),O(this,Ye,R,"f"),this}required(R,pe,Ae){return this.demand(R,pe,Ae)}require(R,pe,Ae){return this.demand(R,pe,Ae)}requiresArg(R){return h(" [number]",[R],arguments.length),"string"==typeof R&&v(this,Le,"f").narg[R]||this[gt](this.requiresArg.bind(this),"narg",R,NaN),this}showCompletionScript(R,pe){return h("[string] [string]",[R,pe],arguments.length),R=R||this.$0,v(this,Fe,"f").log(v(this,_e,"f").generateCompletionScript(R,pe||v(this,Be,"f")||"completion")),this}showHelp(R){if(h("[string|function]",[R],arguments.length),O(this,Te,!0,"f"),!v(this,Xe,"f").hasCachedHelpMessage()){if(!this.parsed){const pe=this[Tt](v(this,qe,"f"),void 0,void 0,0,!0);if(f(pe))return pe.then((()=>{v(this,Xe,"f").showHelp(R)})),this}const pe=v(this,Ce,"f").runDefaultBuilderOn(this);if(f(pe))return pe.then((()=>{v(this,Xe,"f").showHelp(R)})),this}return v(this,Xe,"f").showHelp(R),this}scriptName(R){return this.customScriptName=!0,this.$0=R,this}showHelpOnFail(R,pe){return h("[boolean|string] [string]",[R,pe],arguments.length),v(this,Xe,"f").showHelpOnFail(R,pe),this}showVersion(R){return h("[string|function]",[R],arguments.length),v(this,Xe,"f").showVersion(R),this}skipValidation(R){return h("",[R],arguments.length),this[ht]("skipValidation",R),this}strict(R){return h("[boolean]",[R],arguments.length),O(this,ze,!1!==R,"f"),this}strictCommands(R){return h("[boolean]",[R],arguments.length),O(this,$e,!1!==R,"f"),this}strictOptions(R){return h("[boolean]",[R],arguments.length),O(this,Ze,!1!==R,"f"),this}string(R){return h("",[R],arguments.length),this[ht]("string",R),this[Ft](R),this}terminalWidth(){return h([],0),v(this,Ke,"f").process.stdColumns}updateLocale(R){return this.updateStrings(R)}updateStrings(R){return h("",[R],arguments.length),O(this,xe,!1,"f"),v(this,Ke,"f").y18n.updateLocale(R),this}usage(R,pe,Ae,he){if(h(" [string|boolean] [function|object] [function]",[R,pe,Ae,he],arguments.length),void 0!==pe){if(d(R,null,v(this,Ke,"f")),(R||"").match(/^\$0( |$)/))return this.command(R,pe,Ae,he);throw new e(".usage() description must start with $0 if being used as alias for .command()")}return v(this,Xe,"f").usage(R),this}usageConfiguration(R){return h("",[R],arguments.length),O(this,et,R,"f"),this}version(R,pe,Ae){const he="version";if(h("[boolean|string] [string] [string]",[R,pe,Ae],arguments.length),v(this,tt,"f")&&(this[ot](v(this,tt,"f")),v(this,Xe,"f").version(void 0),O(this,tt,null,"f")),0===arguments.length)Ae=this[ft](),R=he;else if(1===arguments.length){if(!1===R)return this;Ae=R,R=he}else 2===arguments.length&&(Ae=pe,pe=void 0);return O(this,tt,"string"==typeof R?R:he,"f"),pe=pe||v(this,Xe,"f").deferY18nLookup("Show version number"),v(this,Xe,"f").version(Ae||void 0),this.boolean(v(this,tt,"f")),this.describe(v(this,tt,"f"),pe),this}wrap(R){return h("",[R],arguments.length),v(this,Xe,"f").wrap(R),this}[(Ce=new WeakMap,we=new WeakMap,Ie=new WeakMap,_e=new WeakMap,Be=new WeakMap,Se=new WeakMap,Qe=new WeakMap,xe=new WeakMap,De=new WeakMap,ke=new WeakMap,Oe=new WeakMap,Re=new WeakMap,Pe=new WeakMap,Te=new WeakMap,Ne=new WeakMap,Me=new WeakMap,Fe=new WeakMap,je=new WeakMap,Le=new WeakMap,Ue=new WeakMap,He=new WeakMap,Ve=new WeakMap,We=new WeakMap,Je=new WeakMap,Ge=new WeakMap,qe=new WeakMap,Ye=new WeakMap,Ke=new WeakMap,ze=new WeakMap,$e=new WeakMap,Ze=new WeakMap,Xe=new WeakMap,et=new WeakMap,tt=new WeakMap,rt=new WeakMap,nt)](R){if(!R._||!R["--"])return R;R._.push.apply(R._,R["--"]);try{delete R["--"]}catch(R){}return R}[it](){return{log:(...R)=>{this[Dt]()||console.log(...R),O(this,Te,!0,"f"),v(this,je,"f").length&&O(this,je,v(this,je,"f")+"\n","f"),O(this,je,v(this,je,"f")+R.join(" "),"f")},error:(...R)=>{this[Dt]()||console.error(...R),O(this,Te,!0,"f"),v(this,je,"f").length&&O(this,je,v(this,je,"f")+"\n","f"),O(this,je,v(this,je,"f")+R.join(" "),"f")}}}[ot](R){p(v(this,Le,"f")).forEach((pe=>{if("configObjects"===pe)return;const Ae=v(this,Le,"f")[pe];Array.isArray(Ae)?Ae.includes(R)&&Ae.splice(Ae.indexOf(R),1):"object"==typeof Ae&&delete Ae[R]})),delete v(this,Xe,"f").getDescriptions()[R]}[st](R,pe,Ae){v(this,De,"f")[Ae]||(v(this,Ke,"f").process.emitWarning(R,pe),v(this,De,"f")[Ae]=!0)}[at](){v(this,Oe,"f").push({options:v(this,Le,"f"),configObjects:v(this,Le,"f").configObjects.slice(0),exitProcess:v(this,ke,"f"),groups:v(this,Pe,"f"),strict:v(this,ze,"f"),strictCommands:v(this,$e,"f"),strictOptions:v(this,Ze,"f"),completionCommand:v(this,Be,"f"),output:v(this,je,"f"),exitError:v(this,Qe,"f"),hasOutput:v(this,Te,"f"),parsed:this.parsed,parseFn:v(this,Ve,"f"),parseContext:v(this,We,"f")}),v(this,Xe,"f").freeze(),v(this,rt,"f").freeze(),v(this,Ce,"f").freeze(),v(this,Re,"f").freeze()}[ct](){let R,pe="";return R=/\b(node|iojs|electron)(\.exe)?$/.test(v(this,Ke,"f").process.argv()[0])?v(this,Ke,"f").process.argv().slice(1,2):v(this,Ke,"f").process.argv().slice(0,1),pe=R.map((R=>{const pe=this[Rt](v(this,we,"f"),R);return R.match(/^(\/|([a-zA-Z]:)?\\)/)&&pe.lengthpe.includes("package.json")?"package.json":void 0));d(he,void 0,v(this,Ke,"f")),Ae=JSON.parse(v(this,Ke,"f").readFileSync(he,"utf8"))}catch(R){}return v(this,Je,"f")[pe]=Ae||{},v(this,Je,"f")[pe]}[ht](R,pe){(pe=[].concat(pe)).forEach((pe=>{pe=this[vt](pe),v(this,Le,"f")[R].push(pe)}))}[gt](R,pe,Ae,he){this[yt](R,pe,Ae,he,((R,pe,Ae)=>{v(this,Le,"f")[R][pe]=Ae}))}[mt](R,pe,Ae,he){this[yt](R,pe,Ae,he,((R,pe,Ae)=>{v(this,Le,"f")[R][pe]=(v(this,Le,"f")[R][pe]||[]).concat(Ae)}))}[yt](R,pe,Ae,he,ge){if(Array.isArray(Ae))Ae.forEach((pe=>{R(pe,he)}));else if((R=>"object"==typeof R)(Ae))for(const pe of p(Ae))R(pe,Ae[pe]);else ge(pe,this[vt](Ae),he)}[vt](R){return"__proto__"===R?"___proto___":R}[bt](R,pe){return this[gt](this[bt].bind(this),"key",R,pe),this}[Et](){var R,pe,Ae,he,ge,me,ye,ve,be,Ee,we,Ie;const _e=v(this,Oe,"f").pop();let Se;d(_e,void 0,v(this,Ke,"f")),R=this,pe=this,Ae=this,he=this,ge=this,me=this,ye=this,ve=this,be=this,Ee=this,we=this,Ie=this,({options:{set value(pe){O(R,Le,pe,"f")}}.value,configObjects:Se,exitProcess:{set value(R){O(pe,ke,R,"f")}}.value,groups:{set value(R){O(Ae,Pe,R,"f")}}.value,output:{set value(R){O(he,je,R,"f")}}.value,exitError:{set value(R){O(ge,Qe,R,"f")}}.value,hasOutput:{set value(R){O(me,Te,R,"f")}}.value,parsed:this.parsed,strict:{set value(R){O(ye,ze,R,"f")}}.value,strictCommands:{set value(R){O(ve,$e,R,"f")}}.value,strictOptions:{set value(R){O(be,Ze,R,"f")}}.value,completionCommand:{set value(R){O(Ee,Be,R,"f")}}.value,parseFn:{set value(R){O(we,Ve,R,"f")}}.value,parseContext:{set value(R){O(Ie,We,R,"f")}}.value}=_e),v(this,Le,"f").configObjects=Se,v(this,Xe,"f").unfreeze(),v(this,rt,"f").unfreeze(),v(this,Ce,"f").unfreeze(),v(this,Re,"f").unfreeze()}[Ct](R,pe){return j(pe,(pe=>(R(pe),pe)))}getInternalMethods(){return{getCommandInstance:this[wt].bind(this),getContext:this[It].bind(this),getHasOutput:this[_t].bind(this),getLoggerInstance:this[Bt].bind(this),getParseContext:this[St].bind(this),getParserConfiguration:this[ut].bind(this),getUsageConfiguration:this[lt].bind(this),getUsageInstance:this[Qt].bind(this),getValidationInstance:this[xt].bind(this),hasParseCallback:this[Dt].bind(this),isGlobalContext:this[kt].bind(this),postProcess:this[Ot].bind(this),reset:this[Pt].bind(this),runValidation:this[Nt].bind(this),runYargsParserAndExecuteCommands:this[Tt].bind(this),setHasOutput:this[Mt].bind(this)}}[wt](){return v(this,Ce,"f")}[It](){return v(this,Ie,"f")}[_t](){return v(this,Te,"f")}[Bt](){return v(this,Fe,"f")}[St](){return v(this,We,"f")||{}}[Qt](){return v(this,Xe,"f")}[xt](){return v(this,rt,"f")}[Dt](){return!!v(this,Ve,"f")}[kt](){return v(this,Me,"f")}[Ot](R,pe,Ae,he){if(Ae)return R;if(f(R))return R;pe||(R=this[nt](R));return(this[ut]()["parse-positional-numbers"]||void 0===this[ut]()["parse-positional-numbers"])&&(R=this[pt](R)),he&&(R=C(R,this,v(this,Re,"f").getMiddleware(),!1)),R}[Pt](R={}){O(this,Le,v(this,Le,"f")||{},"f");const pe={};pe.local=v(this,Le,"f").local||[],pe.configObjects=v(this,Le,"f").configObjects||[];const Ae={};pe.local.forEach((pe=>{Ae[pe]=!0,(R[pe]||[]).forEach((R=>{Ae[R]=!0}))})),Object.assign(v(this,Ge,"f"),Object.keys(v(this,Pe,"f")).reduce(((R,pe)=>{const he=v(this,Pe,"f")[pe].filter((R=>!(R in Ae)));return he.length>0&&(R[pe]=he),R}),{})),O(this,Pe,{},"f");return["array","boolean","string","skipValidation","count","normalize","number","hiddenOptions"].forEach((R=>{pe[R]=(v(this,Le,"f")[R]||[]).filter((R=>!Ae[R]))})),["narg","key","alias","default","defaultDescription","config","choices","demandedOptions","demandedCommands","deprecatedOptions"].forEach((R=>{pe[R]=g(v(this,Le,"f")[R],(R=>!Ae[R]))})),pe.envPrefix=v(this,Le,"f").envPrefix,O(this,Le,pe,"f"),O(this,Xe,v(this,Xe,"f")?v(this,Xe,"f").reset(Ae):P(this,v(this,Ke,"f")),"f"),O(this,rt,v(this,rt,"f")?v(this,rt,"f").reset(Ae):function(R,pe,Ae){const he=Ae.y18n.__,ge=Ae.y18n.__n,me={nonOptionCount:function(Ae){const he=R.getDemandedCommands(),me=Ae._.length+(Ae["--"]?Ae["--"].length:0)-R.getInternalMethods().getContext().commands.length;he._&&(mehe._.max)&&(mehe._.max&&(void 0!==he._.maxMsg?pe.fail(he._.maxMsg?he._.maxMsg.replace(/\$0/g,me.toString()).replace(/\$1/,he._.max.toString()):null):pe.fail(ge("Too many non-option arguments: got %s, maximum of %s","Too many non-option arguments: got %s, maximum of %s",me,me.toString(),he._.max.toString()))))},positionalCount:function(R,Ae){Ae{Ee.includes(pe)||Object.prototype.hasOwnProperty.call(ye,pe)||Object.prototype.hasOwnProperty.call(R.getInternalMethods().getParseContext(),pe)||me.isValidAndSomeAliasIsNotNew(pe,he)||Ie.push(pe)})),be&&(_e.commands.length>0||we.length>0||ve)&&Ae._.slice(_e.commands.length).forEach((R=>{we.includes(""+R)||Ie.push(""+R)})),be){const pe=(null===(Ce=R.getDemandedCommands()._)||void 0===Ce?void 0:Ce.max)||0,he=_e.commands.length+pe;he{R=String(R),_e.commands.includes(R)||Ie.includes(R)||Ie.push(R)}))}Ie.length&&pe.fail(ge("Unknown argument: %s","Unknown arguments: %s",Ie.length,Ie.map((R=>R.trim()?R:`"${R}"`)).join(", ")))},unknownCommands:function(Ae){const he=R.getInternalMethods().getCommandInstance().getCommands(),me=[],ye=R.getInternalMethods().getContext();return(ye.commands.length>0||he.length>0)&&Ae._.slice(ye.commands.length).forEach((R=>{he.includes(""+R)||me.push(""+R)})),me.length>0&&(pe.fail(ge("Unknown command: %s","Unknown commands: %s",me.length,me.join(", "))),!0)},isValidAndSomeAliasIsNotNew:function(pe,Ae){if(!Object.prototype.hasOwnProperty.call(Ae,pe))return!1;const he=R.parsed.newAliases;return[pe,...Ae[pe]].some((R=>!Object.prototype.hasOwnProperty.call(he,R)||!he[pe]))},limitedChoices:function(Ae){const ge=R.getOptions(),me={};if(!Object.keys(ge.choices).length)return;Object.keys(Ae).forEach((R=>{-1===Ee.indexOf(R)&&Object.prototype.hasOwnProperty.call(ge.choices,R)&&[].concat(Ae[R]).forEach((pe=>{-1===ge.choices[R].indexOf(pe)&&void 0!==pe&&(me[R]=(me[R]||[]).concat(pe))}))}));const ye=Object.keys(me);if(!ye.length)return;let ve=he("Invalid values:");ye.forEach((R=>{ve+=`\n ${he("Argument: %s, Given: %s, Choices: %s",R,pe.stringifiedValues(me[R]),pe.stringifiedValues(ge.choices[R]))}`})),pe.fail(ve)}};let ye={};function a(R,pe){const Ae=Number(pe);return"number"==typeof(pe=isNaN(Ae)?pe:Ae)?pe=R._.length>=pe:pe.match(/^--no-.+/)?(pe=pe.match(/^--no-(.+)/)[1],pe=!Object.prototype.hasOwnProperty.call(R,pe)):pe=Object.prototype.hasOwnProperty.call(R,pe),pe}me.implies=function(pe,he){h(" [array|number|string]",[pe,he],arguments.length),"object"==typeof pe?Object.keys(pe).forEach((R=>{me.implies(R,pe[R])})):(R.global(pe),ye[pe]||(ye[pe]=[]),Array.isArray(he)?he.forEach((R=>me.implies(pe,R))):(d(he,void 0,Ae),ye[pe].push(he)))},me.getImplied=function(){return ye},me.implications=function(R){const Ae=[];if(Object.keys(ye).forEach((pe=>{const he=pe;(ye[pe]||[]).forEach((pe=>{let ge=he;const me=pe;ge=a(R,ge),pe=a(R,pe),ge&&!pe&&Ae.push(` ${he} -> ${me}`)}))})),Ae.length){let R=`${he("Implications failed:")}\n`;Ae.forEach((pe=>{R+=pe})),pe.fail(R)}};let ve={};me.conflicts=function(pe,Ae){h(" [array|string]",[pe,Ae],arguments.length),"object"==typeof pe?Object.keys(pe).forEach((R=>{me.conflicts(R,pe[R])})):(R.global(pe),ve[pe]||(ve[pe]=[]),Array.isArray(Ae)?Ae.forEach((R=>me.conflicts(pe,R))):ve[pe].push(Ae))},me.getConflicting=()=>ve,me.conflicting=function(ge){Object.keys(ge).forEach((R=>{ve[R]&&ve[R].forEach((Ae=>{Ae&&void 0!==ge[R]&&void 0!==ge[Ae]&&pe.fail(he("Arguments %s and %s are mutually exclusive",R,Ae))}))})),R.getInternalMethods().getParserConfiguration()["strip-dashed"]&&Object.keys(ve).forEach((R=>{ve[R].forEach((me=>{me&&void 0!==ge[Ae.Parser.camelCase(R)]&&void 0!==ge[Ae.Parser.camelCase(me)]&&pe.fail(he("Arguments %s and %s are mutually exclusive",R,me))}))}))},me.recommendCommands=function(R,Ae){Ae=Ae.sort(((R,pe)=>pe.length-R.length));let ge=null,me=1/0;for(let pe,he=0;void 0!==(pe=Ae[he]);he++){const Ae=N(R,pe);Ae<=3&&Ae!R[pe])),ve=g(ve,(pe=>!R[pe])),me};const be=[];return me.freeze=function(){be.push({implied:ye,conflicting:ve})},me.unfreeze=function(){const R=be.pop();d(R,void 0,Ae),({implied:ye,conflicting:ve}=R)},me}(this,v(this,Xe,"f"),v(this,Ke,"f")),"f"),O(this,Ce,v(this,Ce,"f")?v(this,Ce,"f").reset():function(R,pe,Ae,he){return new _(R,pe,Ae,he)}(v(this,Xe,"f"),v(this,rt,"f"),v(this,Re,"f"),v(this,Ke,"f")),"f"),v(this,_e,"f")||O(this,_e,function(R,pe,Ae,he){return new D(R,pe,Ae,he)}(this,v(this,Xe,"f"),v(this,Ce,"f"),v(this,Ke,"f")),"f"),v(this,Re,"f").reset(),O(this,Be,null,"f"),O(this,je,"","f"),O(this,Qe,null,"f"),O(this,Te,!1,"f"),this.parsed=!1,this}[Rt](R,pe){return v(this,Ke,"f").path.relative(R,pe)}[Tt](R,pe,Ae,he=0,ge=!1){let me=!!Ae||ge;R=R||v(this,qe,"f"),v(this,Le,"f").__=v(this,Ke,"f").y18n.__,v(this,Le,"f").configuration=this[ut]();const ye=!!v(this,Le,"f").configuration["populate--"],ve=Object.assign({},v(this,Le,"f").configuration,{"populate--":!0}),be=v(this,Ke,"f").Parser.detailed(R,Object.assign({},v(this,Le,"f"),{configuration:{"parse-positional-numbers":!1,...ve}})),Ee=Object.assign(be.argv,v(this,We,"f"));let we;const Ie=be.aliases;let Se=!1,Qe=!1;Object.keys(Ee).forEach((R=>{R===v(this,Ne,"f")&&Ee[R]?Se=!0:R===v(this,tt,"f")&&Ee[R]&&(Qe=!0)})),Ee.$0=this.$0,this.parsed=be,0===he&&v(this,Xe,"f").clearCachedHelpMessage();try{if(this[dt](),pe)return this[Ot](Ee,ye,!!Ae,!1);if(v(this,Ne,"f")){[v(this,Ne,"f")].concat(Ie[v(this,Ne,"f")]||[]).filter((R=>R.length>1)).includes(""+Ee._[Ee._.length-1])&&(Ee._.pop(),Se=!0)}O(this,Me,!1,"f");const ve=v(this,Ce,"f").getCommands(),xe=v(this,_e,"f").completionKey in Ee,De=Se||xe||ge;if(Ee._.length){if(ve.length){let R;for(let pe,me=he||0;void 0!==Ee._[me];me++){if(pe=String(Ee._[me]),ve.includes(pe)&&pe!==v(this,Be,"f")){const R=v(this,Ce,"f").runCommand(pe,this,be,me+1,ge,Se||Qe||ge);return this[Ot](R,ye,!!Ae,!1)}if(!R&&pe!==v(this,Be,"f")){R=pe;break}}!v(this,Ce,"f").hasDefaultCommand()&&v(this,Ye,"f")&&R&&!De&&v(this,rt,"f").recommendCommands(R,ve)}v(this,Be,"f")&&Ee._.includes(v(this,Be,"f"))&&!xe&&(v(this,ke,"f")&&E(!0),this.showCompletionScript(),this.exit(0))}if(v(this,Ce,"f").hasDefaultCommand()&&!De){const R=v(this,Ce,"f").runCommand(null,this,be,0,ge,Se||Qe||ge);return this[Ot](R,ye,!!Ae,!1)}if(xe){v(this,ke,"f")&&E(!0);const pe=(R=[].concat(R)).slice(R.indexOf(`--${v(this,_e,"f").completionKey}`)+1);return v(this,_e,"f").getCompletion(pe,((R,pe)=>{if(R)throw new e(R.message);(pe||[]).forEach((R=>{v(this,Fe,"f").log(R)})),this.exit(0)})),this[Ot](Ee,!ye,!!Ae,!1)}if(v(this,Te,"f")||(Se?(v(this,ke,"f")&&E(!0),me=!0,this.showHelp("log"),this.exit(0)):Qe&&(v(this,ke,"f")&&E(!0),me=!0,v(this,Xe,"f").showVersion("log"),this.exit(0))),!me&&v(this,Le,"f").skipValidation.length>0&&(me=Object.keys(Ee).some((R=>v(this,Le,"f").skipValidation.indexOf(R)>=0&&!0===Ee[R]))),!me){if(be.error)throw new e(be.error.message);if(!xe){const R=this[Nt](Ie,{},be.error);Ae||(we=C(Ee,this,v(this,Re,"f").getMiddleware(),!0)),we=this[Ct](R,null!=we?we:Ee),f(we)&&!Ae&&(we=we.then((()=>C(Ee,this,v(this,Re,"f").getMiddleware(),!1))))}}}catch(R){if(!(R instanceof e))throw R;v(this,Xe,"f").fail(R.message,R)}return this[Ot](null!=we?we:Ee,ye,!!Ae,!0)}[Nt](R,pe,Ae,he){const ge={...this.getDemandedOptions()};return me=>{if(Ae)throw new e(Ae.message);v(this,rt,"f").nonOptionCount(me),v(this,rt,"f").requiredArguments(me,ge);let ye=!1;v(this,$e,"f")&&(ye=v(this,rt,"f").unknownCommands(me)),v(this,ze,"f")&&!ye?v(this,rt,"f").unknownArguments(me,R,pe,!!he):v(this,Ze,"f")&&v(this,rt,"f").unknownArguments(me,R,{},!1,!1),v(this,rt,"f").limitedChoices(me),v(this,rt,"f").implications(me),v(this,rt,"f").conflicting(me)}}[Mt](){O(this,Te,!0,"f")}[Ft](R){if("string"==typeof R)v(this,Le,"f").key[R]=!0;else for(const pe of R)v(this,Le,"f").key[pe]=!0}}var jt,Lt;const{readFileSync:Ut}=Ae(57147),{inspect:Ht}=Ae(73837),{resolve:Vt}=Ae(71017),Wt=Ae(30452),Jt=Ae(31970);var Gt,qt={assert:{notStrictEqual:he.notStrictEqual,strictEqual:he.strictEqual},cliui:Ae(77059),findUp:Ae(82644),getEnv:R=>process.env[R],getCallerFile:Ae(70351),getProcessArgvBin:y,inspect:Ht,mainFilename:null!==(Lt=null===(jt=false||void 0===Ae(49167)?void 0:Ae.c[Ae.s])||void 0===jt?void 0:jt.filename)&&void 0!==Lt?Lt:process.cwd(),Parser:Jt,path:Ae(71017),process:{argv:()=>process.argv,cwd:process.cwd,emitWarning:(R,pe)=>process.emitWarning(R,pe),execPath:()=>process.execPath,exit:R=>{process.exit(R)},nextTick:process.nextTick,stdColumns:void 0!==process.stdout.columns?process.stdout.columns:null},readFileSync:Ut,require:Ae(49167),requireDirectory:Ae(89200),stringWidth:Ae(42577),y18n:Wt({directory:Vt(__dirname,"../locales"),updateFiles:!1})};const Yt=(null===(Gt=null===process||void 0===process?void 0:process.env)||void 0===Gt?void 0:Gt.YARGS_MIN_NODE_VERSION)?Number(process.env.YARGS_MIN_NODE_VERSION):12;if(process&&process.version){if(Number(process.version.match(/v([^.]+)/)[1]){const he=new te(R,pe,Ae,zt);return Object.defineProperty(he,"argv",{get:()=>he.parse(),enumerable:!0}),he.help(),he.version(),he}),argsert:h,isPromise:f,objFilter:g,parseCommand:o,Parser:Kt,processArgv:ve,YError:e};R.exports=$t},18822:(R,pe,Ae)=>{"use strict";const{Yargs:he,processArgv:ge}=Ae(59562);Argv(ge.hideBin(process.argv));R.exports=Argv;function Argv(R,pe){const ge=he(R,pe,Ae(24907));singletonify(ge);return ge}function defineGetter(R,pe,Ae){Object.defineProperty(R,pe,{configurable:true,enumerable:true,get:Ae})}function lookupGetter(R,pe){const Ae=Object.getOwnPropertyDescriptor(R,pe);if(typeof Ae!=="undefined"){return Ae.get}}function singletonify(R){[...Object.keys(R),...Object.getOwnPropertyNames(R.constructor.prototype)].forEach((pe=>{if(pe==="argv"){defineGetter(Argv,pe,lookupGetter(R,pe))}else if(typeof R[pe]==="function"){Argv[pe]=R[pe].bind(R)}else{defineGetter(Argv,"$0",(()=>R.$0));defineGetter(Argv,"parsed",(()=>R.parsed))}}))}},53765:R=>{"use strict";R.exports=JSON.parse('{"application/1d-interleaved-parityfec":{"source":"iana"},"application/3gpdash-qoe-report+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/3gpp-ims+xml":{"source":"iana","compressible":true},"application/3gpphal+json":{"source":"iana","compressible":true},"application/3gpphalforms+json":{"source":"iana","compressible":true},"application/a2l":{"source":"iana"},"application/ace+cbor":{"source":"iana"},"application/activemessage":{"source":"iana"},"application/activity+json":{"source":"iana","compressible":true},"application/alto-costmap+json":{"source":"iana","compressible":true},"application/alto-costmapfilter+json":{"source":"iana","compressible":true},"application/alto-directory+json":{"source":"iana","compressible":true},"application/alto-endpointcost+json":{"source":"iana","compressible":true},"application/alto-endpointcostparams+json":{"source":"iana","compressible":true},"application/alto-endpointprop+json":{"source":"iana","compressible":true},"application/alto-endpointpropparams+json":{"source":"iana","compressible":true},"application/alto-error+json":{"source":"iana","compressible":true},"application/alto-networkmap+json":{"source":"iana","compressible":true},"application/alto-networkmapfilter+json":{"source":"iana","compressible":true},"application/alto-updatestreamcontrol+json":{"source":"iana","compressible":true},"application/alto-updatestreamparams+json":{"source":"iana","compressible":true},"application/aml":{"source":"iana"},"application/andrew-inset":{"source":"iana","extensions":["ez"]},"application/applefile":{"source":"iana"},"application/applixware":{"source":"apache","extensions":["aw"]},"application/at+jwt":{"source":"iana"},"application/atf":{"source":"iana"},"application/atfx":{"source":"iana"},"application/atom+xml":{"source":"iana","compressible":true,"extensions":["atom"]},"application/atomcat+xml":{"source":"iana","compressible":true,"extensions":["atomcat"]},"application/atomdeleted+xml":{"source":"iana","compressible":true,"extensions":["atomdeleted"]},"application/atomicmail":{"source":"iana"},"application/atomsvc+xml":{"source":"iana","compressible":true,"extensions":["atomsvc"]},"application/atsc-dwd+xml":{"source":"iana","compressible":true,"extensions":["dwd"]},"application/atsc-dynamic-event-message":{"source":"iana"},"application/atsc-held+xml":{"source":"iana","compressible":true,"extensions":["held"]},"application/atsc-rdt+json":{"source":"iana","compressible":true},"application/atsc-rsat+xml":{"source":"iana","compressible":true,"extensions":["rsat"]},"application/atxml":{"source":"iana"},"application/auth-policy+xml":{"source":"iana","compressible":true},"application/bacnet-xdd+zip":{"source":"iana","compressible":false},"application/batch-smtp":{"source":"iana"},"application/bdoc":{"compressible":false,"extensions":["bdoc"]},"application/beep+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/calendar+json":{"source":"iana","compressible":true},"application/calendar+xml":{"source":"iana","compressible":true,"extensions":["xcs"]},"application/call-completion":{"source":"iana"},"application/cals-1840":{"source":"iana"},"application/captive+json":{"source":"iana","compressible":true},"application/cbor":{"source":"iana"},"application/cbor-seq":{"source":"iana"},"application/cccex":{"source":"iana"},"application/ccmp+xml":{"source":"iana","compressible":true},"application/ccxml+xml":{"source":"iana","compressible":true,"extensions":["ccxml"]},"application/cdfx+xml":{"source":"iana","compressible":true,"extensions":["cdfx"]},"application/cdmi-capability":{"source":"iana","extensions":["cdmia"]},"application/cdmi-container":{"source":"iana","extensions":["cdmic"]},"application/cdmi-domain":{"source":"iana","extensions":["cdmid"]},"application/cdmi-object":{"source":"iana","extensions":["cdmio"]},"application/cdmi-queue":{"source":"iana","extensions":["cdmiq"]},"application/cdni":{"source":"iana"},"application/cea":{"source":"iana"},"application/cea-2018+xml":{"source":"iana","compressible":true},"application/cellml+xml":{"source":"iana","compressible":true},"application/cfw":{"source":"iana"},"application/city+json":{"source":"iana","compressible":true},"application/clr":{"source":"iana"},"application/clue+xml":{"source":"iana","compressible":true},"application/clue_info+xml":{"source":"iana","compressible":true},"application/cms":{"source":"iana"},"application/cnrp+xml":{"source":"iana","compressible":true},"application/coap-group+json":{"source":"iana","compressible":true},"application/coap-payload":{"source":"iana"},"application/commonground":{"source":"iana"},"application/conference-info+xml":{"source":"iana","compressible":true},"application/cose":{"source":"iana"},"application/cose-key":{"source":"iana"},"application/cose-key-set":{"source":"iana"},"application/cpl+xml":{"source":"iana","compressible":true,"extensions":["cpl"]},"application/csrattrs":{"source":"iana"},"application/csta+xml":{"source":"iana","compressible":true},"application/cstadata+xml":{"source":"iana","compressible":true},"application/csvm+json":{"source":"iana","compressible":true},"application/cu-seeme":{"source":"apache","extensions":["cu"]},"application/cwt":{"source":"iana"},"application/cybercash":{"source":"iana"},"application/dart":{"compressible":true},"application/dash+xml":{"source":"iana","compressible":true,"extensions":["mpd"]},"application/dash-patch+xml":{"source":"iana","compressible":true,"extensions":["mpp"]},"application/dashdelta":{"source":"iana"},"application/davmount+xml":{"source":"iana","compressible":true,"extensions":["davmount"]},"application/dca-rft":{"source":"iana"},"application/dcd":{"source":"iana"},"application/dec-dx":{"source":"iana"},"application/dialog-info+xml":{"source":"iana","compressible":true},"application/dicom":{"source":"iana"},"application/dicom+json":{"source":"iana","compressible":true},"application/dicom+xml":{"source":"iana","compressible":true},"application/dii":{"source":"iana"},"application/dit":{"source":"iana"},"application/dns":{"source":"iana"},"application/dns+json":{"source":"iana","compressible":true},"application/dns-message":{"source":"iana"},"application/docbook+xml":{"source":"apache","compressible":true,"extensions":["dbk"]},"application/dots+cbor":{"source":"iana"},"application/dskpp+xml":{"source":"iana","compressible":true},"application/dssc+der":{"source":"iana","extensions":["dssc"]},"application/dssc+xml":{"source":"iana","compressible":true,"extensions":["xdssc"]},"application/dvcs":{"source":"iana"},"application/ecmascript":{"source":"iana","compressible":true,"extensions":["es","ecma"]},"application/edi-consent":{"source":"iana"},"application/edi-x12":{"source":"iana","compressible":false},"application/edifact":{"source":"iana","compressible":false},"application/efi":{"source":"iana"},"application/elm+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/elm+xml":{"source":"iana","compressible":true},"application/emergencycalldata.cap+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/emergencycalldata.comment+xml":{"source":"iana","compressible":true},"application/emergencycalldata.control+xml":{"source":"iana","compressible":true},"application/emergencycalldata.deviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.ecall.msd":{"source":"iana"},"application/emergencycalldata.providerinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.serviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.subscriberinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.veds+xml":{"source":"iana","compressible":true},"application/emma+xml":{"source":"iana","compressible":true,"extensions":["emma"]},"application/emotionml+xml":{"source":"iana","compressible":true,"extensions":["emotionml"]},"application/encaprtp":{"source":"iana"},"application/epp+xml":{"source":"iana","compressible":true},"application/epub+zip":{"source":"iana","compressible":false,"extensions":["epub"]},"application/eshop":{"source":"iana"},"application/exi":{"source":"iana","extensions":["exi"]},"application/expect-ct-report+json":{"source":"iana","compressible":true},"application/express":{"source":"iana","extensions":["exp"]},"application/fastinfoset":{"source":"iana"},"application/fastsoap":{"source":"iana"},"application/fdt+xml":{"source":"iana","compressible":true,"extensions":["fdt"]},"application/fhir+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/fhir+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/fido.trusted-apps+json":{"compressible":true},"application/fits":{"source":"iana"},"application/flexfec":{"source":"iana"},"application/font-sfnt":{"source":"iana"},"application/font-tdpfr":{"source":"iana","extensions":["pfr"]},"application/font-woff":{"source":"iana","compressible":false},"application/framework-attributes+xml":{"source":"iana","compressible":true},"application/geo+json":{"source":"iana","compressible":true,"extensions":["geojson"]},"application/geo+json-seq":{"source":"iana"},"application/geopackage+sqlite3":{"source":"iana"},"application/geoxacml+xml":{"source":"iana","compressible":true},"application/gltf-buffer":{"source":"iana"},"application/gml+xml":{"source":"iana","compressible":true,"extensions":["gml"]},"application/gpx+xml":{"source":"apache","compressible":true,"extensions":["gpx"]},"application/gxf":{"source":"apache","extensions":["gxf"]},"application/gzip":{"source":"iana","compressible":false,"extensions":["gz"]},"application/h224":{"source":"iana"},"application/held+xml":{"source":"iana","compressible":true},"application/hjson":{"extensions":["hjson"]},"application/http":{"source":"iana"},"application/hyperstudio":{"source":"iana","extensions":["stk"]},"application/ibe-key-request+xml":{"source":"iana","compressible":true},"application/ibe-pkg-reply+xml":{"source":"iana","compressible":true},"application/ibe-pp-data":{"source":"iana"},"application/iges":{"source":"iana"},"application/im-iscomposing+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/index":{"source":"iana"},"application/index.cmd":{"source":"iana"},"application/index.obj":{"source":"iana"},"application/index.response":{"source":"iana"},"application/index.vnd":{"source":"iana"},"application/inkml+xml":{"source":"iana","compressible":true,"extensions":["ink","inkml"]},"application/iotp":{"source":"iana"},"application/ipfix":{"source":"iana","extensions":["ipfix"]},"application/ipp":{"source":"iana"},"application/isup":{"source":"iana"},"application/its+xml":{"source":"iana","compressible":true,"extensions":["its"]},"application/java-archive":{"source":"apache","compressible":false,"extensions":["jar","war","ear"]},"application/java-serialized-object":{"source":"apache","compressible":false,"extensions":["ser"]},"application/java-vm":{"source":"apache","compressible":false,"extensions":["class"]},"application/javascript":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["js","mjs"]},"application/jf2feed+json":{"source":"iana","compressible":true},"application/jose":{"source":"iana"},"application/jose+json":{"source":"iana","compressible":true},"application/jrd+json":{"source":"iana","compressible":true},"application/jscalendar+json":{"source":"iana","compressible":true},"application/json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["json","map"]},"application/json-patch+json":{"source":"iana","compressible":true},"application/json-seq":{"source":"iana"},"application/json5":{"extensions":["json5"]},"application/jsonml+json":{"source":"apache","compressible":true,"extensions":["jsonml"]},"application/jwk+json":{"source":"iana","compressible":true},"application/jwk-set+json":{"source":"iana","compressible":true},"application/jwt":{"source":"iana"},"application/kpml-request+xml":{"source":"iana","compressible":true},"application/kpml-response+xml":{"source":"iana","compressible":true},"application/ld+json":{"source":"iana","compressible":true,"extensions":["jsonld"]},"application/lgr+xml":{"source":"iana","compressible":true,"extensions":["lgr"]},"application/link-format":{"source":"iana"},"application/load-control+xml":{"source":"iana","compressible":true},"application/lost+xml":{"source":"iana","compressible":true,"extensions":["lostxml"]},"application/lostsync+xml":{"source":"iana","compressible":true},"application/lpf+zip":{"source":"iana","compressible":false},"application/lxf":{"source":"iana"},"application/mac-binhex40":{"source":"iana","extensions":["hqx"]},"application/mac-compactpro":{"source":"apache","extensions":["cpt"]},"application/macwriteii":{"source":"iana"},"application/mads+xml":{"source":"iana","compressible":true,"extensions":["mads"]},"application/manifest+json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["webmanifest"]},"application/marc":{"source":"iana","extensions":["mrc"]},"application/marcxml+xml":{"source":"iana","compressible":true,"extensions":["mrcx"]},"application/mathematica":{"source":"iana","extensions":["ma","nb","mb"]},"application/mathml+xml":{"source":"iana","compressible":true,"extensions":["mathml"]},"application/mathml-content+xml":{"source":"iana","compressible":true},"application/mathml-presentation+xml":{"source":"iana","compressible":true},"application/mbms-associated-procedure-description+xml":{"source":"iana","compressible":true},"application/mbms-deregister+xml":{"source":"iana","compressible":true},"application/mbms-envelope+xml":{"source":"iana","compressible":true},"application/mbms-msk+xml":{"source":"iana","compressible":true},"application/mbms-msk-response+xml":{"source":"iana","compressible":true},"application/mbms-protection-description+xml":{"source":"iana","compressible":true},"application/mbms-reception-report+xml":{"source":"iana","compressible":true},"application/mbms-register+xml":{"source":"iana","compressible":true},"application/mbms-register-response+xml":{"source":"iana","compressible":true},"application/mbms-schedule+xml":{"source":"iana","compressible":true},"application/mbms-user-service-description+xml":{"source":"iana","compressible":true},"application/mbox":{"source":"iana","extensions":["mbox"]},"application/media-policy-dataset+xml":{"source":"iana","compressible":true,"extensions":["mpf"]},"application/media_control+xml":{"source":"iana","compressible":true},"application/mediaservercontrol+xml":{"source":"iana","compressible":true,"extensions":["mscml"]},"application/merge-patch+json":{"source":"iana","compressible":true},"application/metalink+xml":{"source":"apache","compressible":true,"extensions":["metalink"]},"application/metalink4+xml":{"source":"iana","compressible":true,"extensions":["meta4"]},"application/mets+xml":{"source":"iana","compressible":true,"extensions":["mets"]},"application/mf4":{"source":"iana"},"application/mikey":{"source":"iana"},"application/mipc":{"source":"iana"},"application/missing-blocks+cbor-seq":{"source":"iana"},"application/mmt-aei+xml":{"source":"iana","compressible":true,"extensions":["maei"]},"application/mmt-usd+xml":{"source":"iana","compressible":true,"extensions":["musd"]},"application/mods+xml":{"source":"iana","compressible":true,"extensions":["mods"]},"application/moss-keys":{"source":"iana"},"application/moss-signature":{"source":"iana"},"application/mosskey-data":{"source":"iana"},"application/mosskey-request":{"source":"iana"},"application/mp21":{"source":"iana","extensions":["m21","mp21"]},"application/mp4":{"source":"iana","extensions":["mp4s","m4p"]},"application/mpeg4-generic":{"source":"iana"},"application/mpeg4-iod":{"source":"iana"},"application/mpeg4-iod-xmt":{"source":"iana"},"application/mrb-consumer+xml":{"source":"iana","compressible":true},"application/mrb-publish+xml":{"source":"iana","compressible":true},"application/msc-ivr+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msc-mixer+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msword":{"source":"iana","compressible":false,"extensions":["doc","dot"]},"application/mud+json":{"source":"iana","compressible":true},"application/multipart-core":{"source":"iana"},"application/mxf":{"source":"iana","extensions":["mxf"]},"application/n-quads":{"source":"iana","extensions":["nq"]},"application/n-triples":{"source":"iana","extensions":["nt"]},"application/nasdata":{"source":"iana"},"application/news-checkgroups":{"source":"iana","charset":"US-ASCII"},"application/news-groupinfo":{"source":"iana","charset":"US-ASCII"},"application/news-transmission":{"source":"iana"},"application/nlsml+xml":{"source":"iana","compressible":true},"application/node":{"source":"iana","extensions":["cjs"]},"application/nss":{"source":"iana"},"application/oauth-authz-req+jwt":{"source":"iana"},"application/oblivious-dns-message":{"source":"iana"},"application/ocsp-request":{"source":"iana"},"application/ocsp-response":{"source":"iana"},"application/octet-stream":{"source":"iana","compressible":false,"extensions":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{"source":"iana","extensions":["oda"]},"application/odm+xml":{"source":"iana","compressible":true},"application/odx":{"source":"iana"},"application/oebps-package+xml":{"source":"iana","compressible":true,"extensions":["opf"]},"application/ogg":{"source":"iana","compressible":false,"extensions":["ogx"]},"application/omdoc+xml":{"source":"apache","compressible":true,"extensions":["omdoc"]},"application/onenote":{"source":"apache","extensions":["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{"source":"iana","compressible":true},"application/oscore":{"source":"iana"},"application/oxps":{"source":"iana","extensions":["oxps"]},"application/p21":{"source":"iana"},"application/p21+zip":{"source":"iana","compressible":false},"application/p2p-overlay+xml":{"source":"iana","compressible":true,"extensions":["relo"]},"application/parityfec":{"source":"iana"},"application/passport":{"source":"iana"},"application/patch-ops-error+xml":{"source":"iana","compressible":true,"extensions":["xer"]},"application/pdf":{"source":"iana","compressible":false,"extensions":["pdf"]},"application/pdx":{"source":"iana"},"application/pem-certificate-chain":{"source":"iana"},"application/pgp-encrypted":{"source":"iana","compressible":false,"extensions":["pgp"]},"application/pgp-keys":{"source":"iana","extensions":["asc"]},"application/pgp-signature":{"source":"iana","extensions":["asc","sig"]},"application/pics-rules":{"source":"apache","extensions":["prf"]},"application/pidf+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pidf-diff+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pkcs10":{"source":"iana","extensions":["p10"]},"application/pkcs12":{"source":"iana"},"application/pkcs7-mime":{"source":"iana","extensions":["p7m","p7c"]},"application/pkcs7-signature":{"source":"iana","extensions":["p7s"]},"application/pkcs8":{"source":"iana","extensions":["p8"]},"application/pkcs8-encrypted":{"source":"iana"},"application/pkix-attr-cert":{"source":"iana","extensions":["ac"]},"application/pkix-cert":{"source":"iana","extensions":["cer"]},"application/pkix-crl":{"source":"iana","extensions":["crl"]},"application/pkix-pkipath":{"source":"iana","extensions":["pkipath"]},"application/pkixcmp":{"source":"iana","extensions":["pki"]},"application/pls+xml":{"source":"iana","compressible":true,"extensions":["pls"]},"application/poc-settings+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/postscript":{"source":"iana","compressible":true,"extensions":["ai","eps","ps"]},"application/ppsp-tracker+json":{"source":"iana","compressible":true},"application/problem+json":{"source":"iana","compressible":true},"application/problem+xml":{"source":"iana","compressible":true},"application/provenance+xml":{"source":"iana","compressible":true,"extensions":["provx"]},"application/prs.alvestrand.titrax-sheet":{"source":"iana"},"application/prs.cww":{"source":"iana","extensions":["cww"]},"application/prs.cyn":{"source":"iana","charset":"7-BIT"},"application/prs.hpub+zip":{"source":"iana","compressible":false},"application/prs.nprend":{"source":"iana"},"application/prs.plucker":{"source":"iana"},"application/prs.rdf-xml-crypt":{"source":"iana"},"application/prs.xsf+xml":{"source":"iana","compressible":true},"application/pskc+xml":{"source":"iana","compressible":true,"extensions":["pskcxml"]},"application/pvd+json":{"source":"iana","compressible":true},"application/qsig":{"source":"iana"},"application/raml+yaml":{"compressible":true,"extensions":["raml"]},"application/raptorfec":{"source":"iana"},"application/rdap+json":{"source":"iana","compressible":true},"application/rdf+xml":{"source":"iana","compressible":true,"extensions":["rdf","owl"]},"application/reginfo+xml":{"source":"iana","compressible":true,"extensions":["rif"]},"application/relax-ng-compact-syntax":{"source":"iana","extensions":["rnc"]},"application/remote-printing":{"source":"iana"},"application/reputon+json":{"source":"iana","compressible":true},"application/resource-lists+xml":{"source":"iana","compressible":true,"extensions":["rl"]},"application/resource-lists-diff+xml":{"source":"iana","compressible":true,"extensions":["rld"]},"application/rfc+xml":{"source":"iana","compressible":true},"application/riscos":{"source":"iana"},"application/rlmi+xml":{"source":"iana","compressible":true},"application/rls-services+xml":{"source":"iana","compressible":true,"extensions":["rs"]},"application/route-apd+xml":{"source":"iana","compressible":true,"extensions":["rapd"]},"application/route-s-tsid+xml":{"source":"iana","compressible":true,"extensions":["sls"]},"application/route-usd+xml":{"source":"iana","compressible":true,"extensions":["rusd"]},"application/rpki-ghostbusters":{"source":"iana","extensions":["gbr"]},"application/rpki-manifest":{"source":"iana","extensions":["mft"]},"application/rpki-publication":{"source":"iana"},"application/rpki-roa":{"source":"iana","extensions":["roa"]},"application/rpki-updown":{"source":"iana"},"application/rsd+xml":{"source":"apache","compressible":true,"extensions":["rsd"]},"application/rss+xml":{"source":"apache","compressible":true,"extensions":["rss"]},"application/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"application/rtploopback":{"source":"iana"},"application/rtx":{"source":"iana"},"application/samlassertion+xml":{"source":"iana","compressible":true},"application/samlmetadata+xml":{"source":"iana","compressible":true},"application/sarif+json":{"source":"iana","compressible":true},"application/sarif-external-properties+json":{"source":"iana","compressible":true},"application/sbe":{"source":"iana"},"application/sbml+xml":{"source":"iana","compressible":true,"extensions":["sbml"]},"application/scaip+xml":{"source":"iana","compressible":true},"application/scim+json":{"source":"iana","compressible":true},"application/scvp-cv-request":{"source":"iana","extensions":["scq"]},"application/scvp-cv-response":{"source":"iana","extensions":["scs"]},"application/scvp-vp-request":{"source":"iana","extensions":["spq"]},"application/scvp-vp-response":{"source":"iana","extensions":["spp"]},"application/sdp":{"source":"iana","extensions":["sdp"]},"application/secevent+jwt":{"source":"iana"},"application/senml+cbor":{"source":"iana"},"application/senml+json":{"source":"iana","compressible":true},"application/senml+xml":{"source":"iana","compressible":true,"extensions":["senmlx"]},"application/senml-etch+cbor":{"source":"iana"},"application/senml-etch+json":{"source":"iana","compressible":true},"application/senml-exi":{"source":"iana"},"application/sensml+cbor":{"source":"iana"},"application/sensml+json":{"source":"iana","compressible":true},"application/sensml+xml":{"source":"iana","compressible":true,"extensions":["sensmlx"]},"application/sensml-exi":{"source":"iana"},"application/sep+xml":{"source":"iana","compressible":true},"application/sep-exi":{"source":"iana"},"application/session-info":{"source":"iana"},"application/set-payment":{"source":"iana"},"application/set-payment-initiation":{"source":"iana","extensions":["setpay"]},"application/set-registration":{"source":"iana"},"application/set-registration-initiation":{"source":"iana","extensions":["setreg"]},"application/sgml":{"source":"iana"},"application/sgml-open-catalog":{"source":"iana"},"application/shf+xml":{"source":"iana","compressible":true,"extensions":["shf"]},"application/sieve":{"source":"iana","extensions":["siv","sieve"]},"application/simple-filter+xml":{"source":"iana","compressible":true},"application/simple-message-summary":{"source":"iana"},"application/simplesymbolcontainer":{"source":"iana"},"application/sipc":{"source":"iana"},"application/slate":{"source":"iana"},"application/smil":{"source":"iana"},"application/smil+xml":{"source":"iana","compressible":true,"extensions":["smi","smil"]},"application/smpte336m":{"source":"iana"},"application/soap+fastinfoset":{"source":"iana"},"application/soap+xml":{"source":"iana","compressible":true},"application/sparql-query":{"source":"iana","extensions":["rq"]},"application/sparql-results+xml":{"source":"iana","compressible":true,"extensions":["srx"]},"application/spdx+json":{"source":"iana","compressible":true},"application/spirits-event+xml":{"source":"iana","compressible":true},"application/sql":{"source":"iana"},"application/srgs":{"source":"iana","extensions":["gram"]},"application/srgs+xml":{"source":"iana","compressible":true,"extensions":["grxml"]},"application/sru+xml":{"source":"iana","compressible":true,"extensions":["sru"]},"application/ssdl+xml":{"source":"apache","compressible":true,"extensions":["ssdl"]},"application/ssml+xml":{"source":"iana","compressible":true,"extensions":["ssml"]},"application/stix+json":{"source":"iana","compressible":true},"application/swid+xml":{"source":"iana","compressible":true,"extensions":["swidtag"]},"application/tamp-apex-update":{"source":"iana"},"application/tamp-apex-update-confirm":{"source":"iana"},"application/tamp-community-update":{"source":"iana"},"application/tamp-community-update-confirm":{"source":"iana"},"application/tamp-error":{"source":"iana"},"application/tamp-sequence-adjust":{"source":"iana"},"application/tamp-sequence-adjust-confirm":{"source":"iana"},"application/tamp-status-query":{"source":"iana"},"application/tamp-status-response":{"source":"iana"},"application/tamp-update":{"source":"iana"},"application/tamp-update-confirm":{"source":"iana"},"application/tar":{"compressible":true},"application/taxii+json":{"source":"iana","compressible":true},"application/td+json":{"source":"iana","compressible":true},"application/tei+xml":{"source":"iana","compressible":true,"extensions":["tei","teicorpus"]},"application/tetra_isi":{"source":"iana"},"application/thraud+xml":{"source":"iana","compressible":true,"extensions":["tfi"]},"application/timestamp-query":{"source":"iana"},"application/timestamp-reply":{"source":"iana"},"application/timestamped-data":{"source":"iana","extensions":["tsd"]},"application/tlsrpt+gzip":{"source":"iana"},"application/tlsrpt+json":{"source":"iana","compressible":true},"application/tnauthlist":{"source":"iana"},"application/token-introspection+jwt":{"source":"iana"},"application/toml":{"compressible":true,"extensions":["toml"]},"application/trickle-ice-sdpfrag":{"source":"iana"},"application/trig":{"source":"iana","extensions":["trig"]},"application/ttml+xml":{"source":"iana","compressible":true,"extensions":["ttml"]},"application/tve-trigger":{"source":"iana"},"application/tzif":{"source":"iana"},"application/tzif-leap":{"source":"iana"},"application/ubjson":{"compressible":false,"extensions":["ubj"]},"application/ulpfec":{"source":"iana"},"application/urc-grpsheet+xml":{"source":"iana","compressible":true},"application/urc-ressheet+xml":{"source":"iana","compressible":true,"extensions":["rsheet"]},"application/urc-targetdesc+xml":{"source":"iana","compressible":true,"extensions":["td"]},"application/urc-uisocketdesc+xml":{"source":"iana","compressible":true},"application/vcard+json":{"source":"iana","compressible":true},"application/vcard+xml":{"source":"iana","compressible":true},"application/vemmi":{"source":"iana"},"application/vividence.scriptfile":{"source":"apache"},"application/vnd.1000minds.decision-model+xml":{"source":"iana","compressible":true,"extensions":["1km"]},"application/vnd.3gpp-prose+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-prose-pc3ch+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-v2x-local-service-information":{"source":"iana"},"application/vnd.3gpp.5gnas":{"source":"iana"},"application/vnd.3gpp.access-transfer-events+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.bsf+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gmop+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gtpc":{"source":"iana"},"application/vnd.3gpp.interworking-data":{"source":"iana"},"application/vnd.3gpp.lpp":{"source":"iana"},"application/vnd.3gpp.mc-signalling-ear":{"source":"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-payload":{"source":"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-signalling":{"source":"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-floor-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-signed+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-init-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-transmission-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mid-call+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ngap":{"source":"iana"},"application/vnd.3gpp.pfcp":{"source":"iana"},"application/vnd.3gpp.pic-bw-large":{"source":"iana","extensions":["plb"]},"application/vnd.3gpp.pic-bw-small":{"source":"iana","extensions":["psb"]},"application/vnd.3gpp.pic-bw-var":{"source":"iana","extensions":["pvb"]},"application/vnd.3gpp.s1ap":{"source":"iana"},"application/vnd.3gpp.sms":{"source":"iana"},"application/vnd.3gpp.sms+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-ext+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.state-and-event-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ussd+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.bcmcsinfo+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.sms":{"source":"iana"},"application/vnd.3gpp2.tcap":{"source":"iana","extensions":["tcap"]},"application/vnd.3lightssoftware.imagescal":{"source":"iana"},"application/vnd.3m.post-it-notes":{"source":"iana","extensions":["pwn"]},"application/vnd.accpac.simply.aso":{"source":"iana","extensions":["aso"]},"application/vnd.accpac.simply.imp":{"source":"iana","extensions":["imp"]},"application/vnd.acucobol":{"source":"iana","extensions":["acu"]},"application/vnd.acucorp":{"source":"iana","extensions":["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{"source":"apache","compressible":false,"extensions":["air"]},"application/vnd.adobe.flash.movie":{"source":"iana"},"application/vnd.adobe.formscentral.fcdt":{"source":"iana","extensions":["fcdt"]},"application/vnd.adobe.fxp":{"source":"iana","extensions":["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{"source":"iana"},"application/vnd.adobe.xdp+xml":{"source":"iana","compressible":true,"extensions":["xdp"]},"application/vnd.adobe.xfdf":{"source":"iana","extensions":["xfdf"]},"application/vnd.aether.imp":{"source":"iana"},"application/vnd.afpc.afplinedata":{"source":"iana"},"application/vnd.afpc.afplinedata-pagedef":{"source":"iana"},"application/vnd.afpc.cmoca-cmresource":{"source":"iana"},"application/vnd.afpc.foca-charset":{"source":"iana"},"application/vnd.afpc.foca-codedfont":{"source":"iana"},"application/vnd.afpc.foca-codepage":{"source":"iana"},"application/vnd.afpc.modca":{"source":"iana"},"application/vnd.afpc.modca-cmtable":{"source":"iana"},"application/vnd.afpc.modca-formdef":{"source":"iana"},"application/vnd.afpc.modca-mediummap":{"source":"iana"},"application/vnd.afpc.modca-objectcontainer":{"source":"iana"},"application/vnd.afpc.modca-overlay":{"source":"iana"},"application/vnd.afpc.modca-pagesegment":{"source":"iana"},"application/vnd.age":{"source":"iana","extensions":["age"]},"application/vnd.ah-barcode":{"source":"iana"},"application/vnd.ahead.space":{"source":"iana","extensions":["ahead"]},"application/vnd.airzip.filesecure.azf":{"source":"iana","extensions":["azf"]},"application/vnd.airzip.filesecure.azs":{"source":"iana","extensions":["azs"]},"application/vnd.amadeus+json":{"source":"iana","compressible":true},"application/vnd.amazon.ebook":{"source":"apache","extensions":["azw"]},"application/vnd.amazon.mobi8-ebook":{"source":"iana"},"application/vnd.americandynamics.acc":{"source":"iana","extensions":["acc"]},"application/vnd.amiga.ami":{"source":"iana","extensions":["ami"]},"application/vnd.amundsen.maze+xml":{"source":"iana","compressible":true},"application/vnd.android.ota":{"source":"iana"},"application/vnd.android.package-archive":{"source":"apache","compressible":false,"extensions":["apk"]},"application/vnd.anki":{"source":"iana"},"application/vnd.anser-web-certificate-issue-initiation":{"source":"iana","extensions":["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{"source":"apache","extensions":["fti"]},"application/vnd.antix.game-component":{"source":"iana","extensions":["atx"]},"application/vnd.apache.arrow.file":{"source":"iana"},"application/vnd.apache.arrow.stream":{"source":"iana"},"application/vnd.apache.thrift.binary":{"source":"iana"},"application/vnd.apache.thrift.compact":{"source":"iana"},"application/vnd.apache.thrift.json":{"source":"iana"},"application/vnd.api+json":{"source":"iana","compressible":true},"application/vnd.aplextor.warrp+json":{"source":"iana","compressible":true},"application/vnd.apothekende.reservation+json":{"source":"iana","compressible":true},"application/vnd.apple.installer+xml":{"source":"iana","compressible":true,"extensions":["mpkg"]},"application/vnd.apple.keynote":{"source":"iana","extensions":["key"]},"application/vnd.apple.mpegurl":{"source":"iana","extensions":["m3u8"]},"application/vnd.apple.numbers":{"source":"iana","extensions":["numbers"]},"application/vnd.apple.pages":{"source":"iana","extensions":["pages"]},"application/vnd.apple.pkpass":{"compressible":false,"extensions":["pkpass"]},"application/vnd.arastra.swi":{"source":"iana"},"application/vnd.aristanetworks.swi":{"source":"iana","extensions":["swi"]},"application/vnd.artisan+json":{"source":"iana","compressible":true},"application/vnd.artsquare":{"source":"iana"},"application/vnd.astraea-software.iota":{"source":"iana","extensions":["iota"]},"application/vnd.audiograph":{"source":"iana","extensions":["aep"]},"application/vnd.autopackage":{"source":"iana"},"application/vnd.avalon+json":{"source":"iana","compressible":true},"application/vnd.avistar+xml":{"source":"iana","compressible":true},"application/vnd.balsamiq.bmml+xml":{"source":"iana","compressible":true,"extensions":["bmml"]},"application/vnd.balsamiq.bmpr":{"source":"iana"},"application/vnd.banana-accounting":{"source":"iana"},"application/vnd.bbf.usp.error":{"source":"iana"},"application/vnd.bbf.usp.msg":{"source":"iana"},"application/vnd.bbf.usp.msg+json":{"source":"iana","compressible":true},"application/vnd.bekitzur-stech+json":{"source":"iana","compressible":true},"application/vnd.bint.med-content":{"source":"iana"},"application/vnd.biopax.rdf+xml":{"source":"iana","compressible":true},"application/vnd.blink-idb-value-wrapper":{"source":"iana"},"application/vnd.blueice.multipass":{"source":"iana","extensions":["mpm"]},"application/vnd.bluetooth.ep.oob":{"source":"iana"},"application/vnd.bluetooth.le.oob":{"source":"iana"},"application/vnd.bmi":{"source":"iana","extensions":["bmi"]},"application/vnd.bpf":{"source":"iana"},"application/vnd.bpf3":{"source":"iana"},"application/vnd.businessobjects":{"source":"iana","extensions":["rep"]},"application/vnd.byu.uapi+json":{"source":"iana","compressible":true},"application/vnd.cab-jscript":{"source":"iana"},"application/vnd.canon-cpdl":{"source":"iana"},"application/vnd.canon-lips":{"source":"iana"},"application/vnd.capasystems-pg+json":{"source":"iana","compressible":true},"application/vnd.cendio.thinlinc.clientconf":{"source":"iana"},"application/vnd.century-systems.tcp_stream":{"source":"iana"},"application/vnd.chemdraw+xml":{"source":"iana","compressible":true,"extensions":["cdxml"]},"application/vnd.chess-pgn":{"source":"iana"},"application/vnd.chipnuts.karaoke-mmd":{"source":"iana","extensions":["mmd"]},"application/vnd.ciedi":{"source":"iana"},"application/vnd.cinderella":{"source":"iana","extensions":["cdy"]},"application/vnd.cirpack.isdn-ext":{"source":"iana"},"application/vnd.citationstyles.style+xml":{"source":"iana","compressible":true,"extensions":["csl"]},"application/vnd.claymore":{"source":"iana","extensions":["cla"]},"application/vnd.cloanto.rp9":{"source":"iana","extensions":["rp9"]},"application/vnd.clonk.c4group":{"source":"iana","extensions":["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{"source":"iana","extensions":["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{"source":"iana","extensions":["c11amz"]},"application/vnd.coffeescript":{"source":"iana"},"application/vnd.collabio.xodocuments.document":{"source":"iana"},"application/vnd.collabio.xodocuments.document-template":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation-template":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{"source":"iana"},"application/vnd.collection+json":{"source":"iana","compressible":true},"application/vnd.collection.doc+json":{"source":"iana","compressible":true},"application/vnd.collection.next+json":{"source":"iana","compressible":true},"application/vnd.comicbook+zip":{"source":"iana","compressible":false},"application/vnd.comicbook-rar":{"source":"iana"},"application/vnd.commerce-battelle":{"source":"iana"},"application/vnd.commonspace":{"source":"iana","extensions":["csp"]},"application/vnd.contact.cmsg":{"source":"iana","extensions":["cdbcmsg"]},"application/vnd.coreos.ignition+json":{"source":"iana","compressible":true},"application/vnd.cosmocaller":{"source":"iana","extensions":["cmc"]},"application/vnd.crick.clicker":{"source":"iana","extensions":["clkx"]},"application/vnd.crick.clicker.keyboard":{"source":"iana","extensions":["clkk"]},"application/vnd.crick.clicker.palette":{"source":"iana","extensions":["clkp"]},"application/vnd.crick.clicker.template":{"source":"iana","extensions":["clkt"]},"application/vnd.crick.clicker.wordbank":{"source":"iana","extensions":["clkw"]},"application/vnd.criticaltools.wbs+xml":{"source":"iana","compressible":true,"extensions":["wbs"]},"application/vnd.cryptii.pipe+json":{"source":"iana","compressible":true},"application/vnd.crypto-shade-file":{"source":"iana"},"application/vnd.cryptomator.encrypted":{"source":"iana"},"application/vnd.cryptomator.vault":{"source":"iana"},"application/vnd.ctc-posml":{"source":"iana","extensions":["pml"]},"application/vnd.ctct.ws+xml":{"source":"iana","compressible":true},"application/vnd.cups-pdf":{"source":"iana"},"application/vnd.cups-postscript":{"source":"iana"},"application/vnd.cups-ppd":{"source":"iana","extensions":["ppd"]},"application/vnd.cups-raster":{"source":"iana"},"application/vnd.cups-raw":{"source":"iana"},"application/vnd.curl":{"source":"iana"},"application/vnd.curl.car":{"source":"apache","extensions":["car"]},"application/vnd.curl.pcurl":{"source":"apache","extensions":["pcurl"]},"application/vnd.cyan.dean.root+xml":{"source":"iana","compressible":true},"application/vnd.cybank":{"source":"iana"},"application/vnd.cyclonedx+json":{"source":"iana","compressible":true},"application/vnd.cyclonedx+xml":{"source":"iana","compressible":true},"application/vnd.d2l.coursepackage1p0+zip":{"source":"iana","compressible":false},"application/vnd.d3m-dataset":{"source":"iana"},"application/vnd.d3m-problem":{"source":"iana"},"application/vnd.dart":{"source":"iana","compressible":true,"extensions":["dart"]},"application/vnd.data-vision.rdz":{"source":"iana","extensions":["rdz"]},"application/vnd.datapackage+json":{"source":"iana","compressible":true},"application/vnd.dataresource+json":{"source":"iana","compressible":true},"application/vnd.dbf":{"source":"iana","extensions":["dbf"]},"application/vnd.debian.binary-package":{"source":"iana"},"application/vnd.dece.data":{"source":"iana","extensions":["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{"source":"iana","compressible":true,"extensions":["uvt","uvvt"]},"application/vnd.dece.unspecified":{"source":"iana","extensions":["uvx","uvvx"]},"application/vnd.dece.zip":{"source":"iana","extensions":["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{"source":"iana","extensions":["fe_launch"]},"application/vnd.desmume.movie":{"source":"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{"source":"iana"},"application/vnd.dm.delegation+xml":{"source":"iana","compressible":true},"application/vnd.dna":{"source":"iana","extensions":["dna"]},"application/vnd.document+json":{"source":"iana","compressible":true},"application/vnd.dolby.mlp":{"source":"apache","extensions":["mlp"]},"application/vnd.dolby.mobile.1":{"source":"iana"},"application/vnd.dolby.mobile.2":{"source":"iana"},"application/vnd.doremir.scorecloud-binary-document":{"source":"iana"},"application/vnd.dpgraph":{"source":"iana","extensions":["dpg"]},"application/vnd.dreamfactory":{"source":"iana","extensions":["dfac"]},"application/vnd.drive+json":{"source":"iana","compressible":true},"application/vnd.ds-keypoint":{"source":"apache","extensions":["kpxx"]},"application/vnd.dtg.local":{"source":"iana"},"application/vnd.dtg.local.flash":{"source":"iana"},"application/vnd.dtg.local.html":{"source":"iana"},"application/vnd.dvb.ait":{"source":"iana","extensions":["ait"]},"application/vnd.dvb.dvbisl+xml":{"source":"iana","compressible":true},"application/vnd.dvb.dvbj":{"source":"iana"},"application/vnd.dvb.esgcontainer":{"source":"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess2":{"source":"iana"},"application/vnd.dvb.ipdcesgpdd":{"source":"iana"},"application/vnd.dvb.ipdcroaming":{"source":"iana"},"application/vnd.dvb.iptv.alfec-base":{"source":"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{"source":"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-container+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-generic+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-msglist+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-request+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-response+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-init+xml":{"source":"iana","compressible":true},"application/vnd.dvb.pfr":{"source":"iana"},"application/vnd.dvb.service":{"source":"iana","extensions":["svc"]},"application/vnd.dxr":{"source":"iana"},"application/vnd.dynageo":{"source":"iana","extensions":["geo"]},"application/vnd.dzr":{"source":"iana"},"application/vnd.easykaraoke.cdgdownload":{"source":"iana"},"application/vnd.ecdis-update":{"source":"iana"},"application/vnd.ecip.rlp":{"source":"iana"},"application/vnd.eclipse.ditto+json":{"source":"iana","compressible":true},"application/vnd.ecowin.chart":{"source":"iana","extensions":["mag"]},"application/vnd.ecowin.filerequest":{"source":"iana"},"application/vnd.ecowin.fileupdate":{"source":"iana"},"application/vnd.ecowin.series":{"source":"iana"},"application/vnd.ecowin.seriesrequest":{"source":"iana"},"application/vnd.ecowin.seriesupdate":{"source":"iana"},"application/vnd.efi.img":{"source":"iana"},"application/vnd.efi.iso":{"source":"iana"},"application/vnd.emclient.accessrequest+xml":{"source":"iana","compressible":true},"application/vnd.enliven":{"source":"iana","extensions":["nml"]},"application/vnd.enphase.envoy":{"source":"iana"},"application/vnd.eprints.data+xml":{"source":"iana","compressible":true},"application/vnd.epson.esf":{"source":"iana","extensions":["esf"]},"application/vnd.epson.msf":{"source":"iana","extensions":["msf"]},"application/vnd.epson.quickanime":{"source":"iana","extensions":["qam"]},"application/vnd.epson.salt":{"source":"iana","extensions":["slt"]},"application/vnd.epson.ssf":{"source":"iana","extensions":["ssf"]},"application/vnd.ericsson.quickcall":{"source":"iana"},"application/vnd.espass-espass+zip":{"source":"iana","compressible":false},"application/vnd.eszigno3+xml":{"source":"iana","compressible":true,"extensions":["es3","et3"]},"application/vnd.etsi.aoc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.asic-e+zip":{"source":"iana","compressible":false},"application/vnd.etsi.asic-s+zip":{"source":"iana","compressible":false},"application/vnd.etsi.cug+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvcommand+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-bc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-cod+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-npvr+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvservice+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsync+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvueprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mcid+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mheg5":{"source":"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{"source":"iana","compressible":true},"application/vnd.etsi.pstn+xml":{"source":"iana","compressible":true},"application/vnd.etsi.sci+xml":{"source":"iana","compressible":true},"application/vnd.etsi.simservs+xml":{"source":"iana","compressible":true},"application/vnd.etsi.timestamp-token":{"source":"iana"},"application/vnd.etsi.tsl+xml":{"source":"iana","compressible":true},"application/vnd.etsi.tsl.der":{"source":"iana"},"application/vnd.eu.kasparian.car+json":{"source":"iana","compressible":true},"application/vnd.eudora.data":{"source":"iana"},"application/vnd.evolv.ecig.profile":{"source":"iana"},"application/vnd.evolv.ecig.settings":{"source":"iana"},"application/vnd.evolv.ecig.theme":{"source":"iana"},"application/vnd.exstream-empower+zip":{"source":"iana","compressible":false},"application/vnd.exstream-package":{"source":"iana"},"application/vnd.ezpix-album":{"source":"iana","extensions":["ez2"]},"application/vnd.ezpix-package":{"source":"iana","extensions":["ez3"]},"application/vnd.f-secure.mobile":{"source":"iana"},"application/vnd.familysearch.gedcom+zip":{"source":"iana","compressible":false},"application/vnd.fastcopy-disk-image":{"source":"iana"},"application/vnd.fdf":{"source":"iana","extensions":["fdf"]},"application/vnd.fdsn.mseed":{"source":"iana","extensions":["mseed"]},"application/vnd.fdsn.seed":{"source":"iana","extensions":["seed","dataless"]},"application/vnd.ffsns":{"source":"iana"},"application/vnd.ficlab.flb+zip":{"source":"iana","compressible":false},"application/vnd.filmit.zfc":{"source":"iana"},"application/vnd.fints":{"source":"iana"},"application/vnd.firemonkeys.cloudcell":{"source":"iana"},"application/vnd.flographit":{"source":"iana","extensions":["gph"]},"application/vnd.fluxtime.clip":{"source":"iana","extensions":["ftc"]},"application/vnd.font-fontforge-sfd":{"source":"iana"},"application/vnd.framemaker":{"source":"iana","extensions":["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{"source":"iana","extensions":["fnc"]},"application/vnd.frogans.ltf":{"source":"iana","extensions":["ltf"]},"application/vnd.fsc.weblaunch":{"source":"iana","extensions":["fsc"]},"application/vnd.fujifilm.fb.docuworks":{"source":"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{"source":"iana"},"application/vnd.fujifilm.fb.docuworks.container":{"source":"iana"},"application/vnd.fujifilm.fb.jfi+xml":{"source":"iana","compressible":true},"application/vnd.fujitsu.oasys":{"source":"iana","extensions":["oas"]},"application/vnd.fujitsu.oasys2":{"source":"iana","extensions":["oa2"]},"application/vnd.fujitsu.oasys3":{"source":"iana","extensions":["oa3"]},"application/vnd.fujitsu.oasysgp":{"source":"iana","extensions":["fg5"]},"application/vnd.fujitsu.oasysprs":{"source":"iana","extensions":["bh2"]},"application/vnd.fujixerox.art-ex":{"source":"iana"},"application/vnd.fujixerox.art4":{"source":"iana"},"application/vnd.fujixerox.ddd":{"source":"iana","extensions":["ddd"]},"application/vnd.fujixerox.docuworks":{"source":"iana","extensions":["xdw"]},"application/vnd.fujixerox.docuworks.binder":{"source":"iana","extensions":["xbd"]},"application/vnd.fujixerox.docuworks.container":{"source":"iana"},"application/vnd.fujixerox.hbpl":{"source":"iana"},"application/vnd.fut-misnet":{"source":"iana"},"application/vnd.futoin+cbor":{"source":"iana"},"application/vnd.futoin+json":{"source":"iana","compressible":true},"application/vnd.fuzzysheet":{"source":"iana","extensions":["fzs"]},"application/vnd.genomatix.tuxedo":{"source":"iana","extensions":["txd"]},"application/vnd.gentics.grd+json":{"source":"iana","compressible":true},"application/vnd.geo+json":{"source":"iana","compressible":true},"application/vnd.geocube+xml":{"source":"iana","compressible":true},"application/vnd.geogebra.file":{"source":"iana","extensions":["ggb"]},"application/vnd.geogebra.slides":{"source":"iana"},"application/vnd.geogebra.tool":{"source":"iana","extensions":["ggt"]},"application/vnd.geometry-explorer":{"source":"iana","extensions":["gex","gre"]},"application/vnd.geonext":{"source":"iana","extensions":["gxt"]},"application/vnd.geoplan":{"source":"iana","extensions":["g2w"]},"application/vnd.geospace":{"source":"iana","extensions":["g3w"]},"application/vnd.gerber":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt-response":{"source":"iana"},"application/vnd.gmx":{"source":"iana","extensions":["gmx"]},"application/vnd.google-apps.document":{"compressible":false,"extensions":["gdoc"]},"application/vnd.google-apps.presentation":{"compressible":false,"extensions":["gslides"]},"application/vnd.google-apps.spreadsheet":{"compressible":false,"extensions":["gsheet"]},"application/vnd.google-earth.kml+xml":{"source":"iana","compressible":true,"extensions":["kml"]},"application/vnd.google-earth.kmz":{"source":"iana","compressible":false,"extensions":["kmz"]},"application/vnd.gov.sk.e-form+xml":{"source":"iana","compressible":true},"application/vnd.gov.sk.e-form+zip":{"source":"iana","compressible":false},"application/vnd.gov.sk.xmldatacontainer+xml":{"source":"iana","compressible":true},"application/vnd.grafeq":{"source":"iana","extensions":["gqf","gqs"]},"application/vnd.gridmp":{"source":"iana"},"application/vnd.groove-account":{"source":"iana","extensions":["gac"]},"application/vnd.groove-help":{"source":"iana","extensions":["ghf"]},"application/vnd.groove-identity-message":{"source":"iana","extensions":["gim"]},"application/vnd.groove-injector":{"source":"iana","extensions":["grv"]},"application/vnd.groove-tool-message":{"source":"iana","extensions":["gtm"]},"application/vnd.groove-tool-template":{"source":"iana","extensions":["tpl"]},"application/vnd.groove-vcard":{"source":"iana","extensions":["vcg"]},"application/vnd.hal+json":{"source":"iana","compressible":true},"application/vnd.hal+xml":{"source":"iana","compressible":true,"extensions":["hal"]},"application/vnd.handheld-entertainment+xml":{"source":"iana","compressible":true,"extensions":["zmm"]},"application/vnd.hbci":{"source":"iana","extensions":["hbci"]},"application/vnd.hc+json":{"source":"iana","compressible":true},"application/vnd.hcl-bireports":{"source":"iana"},"application/vnd.hdt":{"source":"iana"},"application/vnd.heroku+json":{"source":"iana","compressible":true},"application/vnd.hhe.lesson-player":{"source":"iana","extensions":["les"]},"application/vnd.hl7cda+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.hl7v2+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.hp-hpgl":{"source":"iana","extensions":["hpgl"]},"application/vnd.hp-hpid":{"source":"iana","extensions":["hpid"]},"application/vnd.hp-hps":{"source":"iana","extensions":["hps"]},"application/vnd.hp-jlyt":{"source":"iana","extensions":["jlt"]},"application/vnd.hp-pcl":{"source":"iana","extensions":["pcl"]},"application/vnd.hp-pclxl":{"source":"iana","extensions":["pclxl"]},"application/vnd.httphone":{"source":"iana"},"application/vnd.hydrostatix.sof-data":{"source":"iana","extensions":["sfd-hdstx"]},"application/vnd.hyper+json":{"source":"iana","compressible":true},"application/vnd.hyper-item+json":{"source":"iana","compressible":true},"application/vnd.hyperdrive+json":{"source":"iana","compressible":true},"application/vnd.hzn-3d-crossword":{"source":"iana"},"application/vnd.ibm.afplinedata":{"source":"iana"},"application/vnd.ibm.electronic-media":{"source":"iana"},"application/vnd.ibm.minipay":{"source":"iana","extensions":["mpy"]},"application/vnd.ibm.modcap":{"source":"iana","extensions":["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{"source":"iana","extensions":["irm"]},"application/vnd.ibm.secure-container":{"source":"iana","extensions":["sc"]},"application/vnd.iccprofile":{"source":"iana","extensions":["icc","icm"]},"application/vnd.ieee.1905":{"source":"iana"},"application/vnd.igloader":{"source":"iana","extensions":["igl"]},"application/vnd.imagemeter.folder+zip":{"source":"iana","compressible":false},"application/vnd.imagemeter.image+zip":{"source":"iana","compressible":false},"application/vnd.immervision-ivp":{"source":"iana","extensions":["ivp"]},"application/vnd.immervision-ivu":{"source":"iana","extensions":["ivu"]},"application/vnd.ims.imsccv1p1":{"source":"iana"},"application/vnd.ims.imsccv1p2":{"source":"iana"},"application/vnd.ims.imsccv1p3":{"source":"iana"},"application/vnd.ims.lis.v2.result+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy.id+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings.simple+json":{"source":"iana","compressible":true},"application/vnd.informedcontrol.rms+xml":{"source":"iana","compressible":true},"application/vnd.informix-visionary":{"source":"iana"},"application/vnd.infotech.project":{"source":"iana"},"application/vnd.infotech.project+xml":{"source":"iana","compressible":true},"application/vnd.innopath.wamp.notification":{"source":"iana"},"application/vnd.insors.igm":{"source":"iana","extensions":["igm"]},"application/vnd.intercon.formnet":{"source":"iana","extensions":["xpw","xpx"]},"application/vnd.intergeo":{"source":"iana","extensions":["i2g"]},"application/vnd.intertrust.digibox":{"source":"iana"},"application/vnd.intertrust.nncp":{"source":"iana"},"application/vnd.intu.qbo":{"source":"iana","extensions":["qbo"]},"application/vnd.intu.qfx":{"source":"iana","extensions":["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.conceptitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.knowledgeitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsmessage+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.packageitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.planningitem+xml":{"source":"iana","compressible":true},"application/vnd.ipunplugged.rcprofile":{"source":"iana","extensions":["rcprofile"]},"application/vnd.irepository.package+xml":{"source":"iana","compressible":true,"extensions":["irp"]},"application/vnd.is-xpr":{"source":"iana","extensions":["xpr"]},"application/vnd.isac.fcs":{"source":"iana","extensions":["fcs"]},"application/vnd.iso11783-10+zip":{"source":"iana","compressible":false},"application/vnd.jam":{"source":"iana","extensions":["jam"]},"application/vnd.japannet-directory-service":{"source":"iana"},"application/vnd.japannet-jpnstore-wakeup":{"source":"iana"},"application/vnd.japannet-payment-wakeup":{"source":"iana"},"application/vnd.japannet-registration":{"source":"iana"},"application/vnd.japannet-registration-wakeup":{"source":"iana"},"application/vnd.japannet-setstore-wakeup":{"source":"iana"},"application/vnd.japannet-verification":{"source":"iana"},"application/vnd.japannet-verification-wakeup":{"source":"iana"},"application/vnd.jcp.javame.midlet-rms":{"source":"iana","extensions":["rms"]},"application/vnd.jisp":{"source":"iana","extensions":["jisp"]},"application/vnd.joost.joda-archive":{"source":"iana","extensions":["joda"]},"application/vnd.jsk.isdn-ngn":{"source":"iana"},"application/vnd.kahootz":{"source":"iana","extensions":["ktz","ktr"]},"application/vnd.kde.karbon":{"source":"iana","extensions":["karbon"]},"application/vnd.kde.kchart":{"source":"iana","extensions":["chrt"]},"application/vnd.kde.kformula":{"source":"iana","extensions":["kfo"]},"application/vnd.kde.kivio":{"source":"iana","extensions":["flw"]},"application/vnd.kde.kontour":{"source":"iana","extensions":["kon"]},"application/vnd.kde.kpresenter":{"source":"iana","extensions":["kpr","kpt"]},"application/vnd.kde.kspread":{"source":"iana","extensions":["ksp"]},"application/vnd.kde.kword":{"source":"iana","extensions":["kwd","kwt"]},"application/vnd.kenameaapp":{"source":"iana","extensions":["htke"]},"application/vnd.kidspiration":{"source":"iana","extensions":["kia"]},"application/vnd.kinar":{"source":"iana","extensions":["kne","knp"]},"application/vnd.koan":{"source":"iana","extensions":["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{"source":"iana","extensions":["sse"]},"application/vnd.las":{"source":"iana"},"application/vnd.las.las+json":{"source":"iana","compressible":true},"application/vnd.las.las+xml":{"source":"iana","compressible":true,"extensions":["lasxml"]},"application/vnd.laszip":{"source":"iana"},"application/vnd.leap+json":{"source":"iana","compressible":true},"application/vnd.liberty-request+xml":{"source":"iana","compressible":true},"application/vnd.llamagraphics.life-balance.desktop":{"source":"iana","extensions":["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{"source":"iana","compressible":true,"extensions":["lbe"]},"application/vnd.logipipe.circuit+zip":{"source":"iana","compressible":false},"application/vnd.loom":{"source":"iana"},"application/vnd.lotus-1-2-3":{"source":"iana","extensions":["123"]},"application/vnd.lotus-approach":{"source":"iana","extensions":["apr"]},"application/vnd.lotus-freelance":{"source":"iana","extensions":["pre"]},"application/vnd.lotus-notes":{"source":"iana","extensions":["nsf"]},"application/vnd.lotus-organizer":{"source":"iana","extensions":["org"]},"application/vnd.lotus-screencam":{"source":"iana","extensions":["scm"]},"application/vnd.lotus-wordpro":{"source":"iana","extensions":["lwp"]},"application/vnd.macports.portpkg":{"source":"iana","extensions":["portpkg"]},"application/vnd.mapbox-vector-tile":{"source":"iana","extensions":["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.conftoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.license+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.mdcf":{"source":"iana"},"application/vnd.mason+json":{"source":"iana","compressible":true},"application/vnd.maxar.archive.3tz+zip":{"source":"iana","compressible":false},"application/vnd.maxmind.maxmind-db":{"source":"iana"},"application/vnd.mcd":{"source":"iana","extensions":["mcd"]},"application/vnd.medcalcdata":{"source":"iana","extensions":["mc1"]},"application/vnd.mediastation.cdkey":{"source":"iana","extensions":["cdkey"]},"application/vnd.meridian-slingshot":{"source":"iana"},"application/vnd.mfer":{"source":"iana","extensions":["mwf"]},"application/vnd.mfmp":{"source":"iana","extensions":["mfm"]},"application/vnd.micro+json":{"source":"iana","compressible":true},"application/vnd.micrografx.flo":{"source":"iana","extensions":["flo"]},"application/vnd.micrografx.igx":{"source":"iana","extensions":["igx"]},"application/vnd.microsoft.portable-executable":{"source":"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{"source":"iana"},"application/vnd.miele+json":{"source":"iana","compressible":true},"application/vnd.mif":{"source":"iana","extensions":["mif"]},"application/vnd.minisoft-hp3000-save":{"source":"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{"source":"iana"},"application/vnd.mobius.daf":{"source":"iana","extensions":["daf"]},"application/vnd.mobius.dis":{"source":"iana","extensions":["dis"]},"application/vnd.mobius.mbk":{"source":"iana","extensions":["mbk"]},"application/vnd.mobius.mqy":{"source":"iana","extensions":["mqy"]},"application/vnd.mobius.msl":{"source":"iana","extensions":["msl"]},"application/vnd.mobius.plc":{"source":"iana","extensions":["plc"]},"application/vnd.mobius.txf":{"source":"iana","extensions":["txf"]},"application/vnd.mophun.application":{"source":"iana","extensions":["mpn"]},"application/vnd.mophun.certificate":{"source":"iana","extensions":["mpc"]},"application/vnd.motorola.flexsuite":{"source":"iana"},"application/vnd.motorola.flexsuite.adsi":{"source":"iana"},"application/vnd.motorola.flexsuite.fis":{"source":"iana"},"application/vnd.motorola.flexsuite.gotap":{"source":"iana"},"application/vnd.motorola.flexsuite.kmr":{"source":"iana"},"application/vnd.motorola.flexsuite.ttc":{"source":"iana"},"application/vnd.motorola.flexsuite.wem":{"source":"iana"},"application/vnd.motorola.iprm":{"source":"iana"},"application/vnd.mozilla.xul+xml":{"source":"iana","compressible":true,"extensions":["xul"]},"application/vnd.ms-3mfdocument":{"source":"iana"},"application/vnd.ms-artgalry":{"source":"iana","extensions":["cil"]},"application/vnd.ms-asf":{"source":"iana"},"application/vnd.ms-cab-compressed":{"source":"iana","extensions":["cab"]},"application/vnd.ms-color.iccprofile":{"source":"apache"},"application/vnd.ms-excel":{"source":"iana","compressible":false,"extensions":["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{"source":"iana","extensions":["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{"source":"iana","extensions":["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{"source":"iana","extensions":["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{"source":"iana","extensions":["xltm"]},"application/vnd.ms-fontobject":{"source":"iana","compressible":true,"extensions":["eot"]},"application/vnd.ms-htmlhelp":{"source":"iana","extensions":["chm"]},"application/vnd.ms-ims":{"source":"iana","extensions":["ims"]},"application/vnd.ms-lrm":{"source":"iana","extensions":["lrm"]},"application/vnd.ms-office.activex+xml":{"source":"iana","compressible":true},"application/vnd.ms-officetheme":{"source":"iana","extensions":["thmx"]},"application/vnd.ms-opentype":{"source":"apache","compressible":true},"application/vnd.ms-outlook":{"compressible":false,"extensions":["msg"]},"application/vnd.ms-package.obfuscated-opentype":{"source":"apache"},"application/vnd.ms-pki.seccat":{"source":"apache","extensions":["cat"]},"application/vnd.ms-pki.stl":{"source":"apache","extensions":["stl"]},"application/vnd.ms-playready.initiator+xml":{"source":"iana","compressible":true},"application/vnd.ms-powerpoint":{"source":"iana","compressible":false,"extensions":["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{"source":"iana","extensions":["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{"source":"iana","extensions":["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{"source":"iana","extensions":["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{"source":"iana","extensions":["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{"source":"iana","extensions":["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{"source":"iana","compressible":true},"application/vnd.ms-printing.printticket+xml":{"source":"apache","compressible":true},"application/vnd.ms-printschematicket+xml":{"source":"iana","compressible":true},"application/vnd.ms-project":{"source":"iana","extensions":["mpp","mpt"]},"application/vnd.ms-tnef":{"source":"iana"},"application/vnd.ms-windows.devicepairing":{"source":"iana"},"application/vnd.ms-windows.nwprinting.oob":{"source":"iana"},"application/vnd.ms-windows.printerpairing":{"source":"iana"},"application/vnd.ms-windows.wsd.oob":{"source":"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.lic-resp":{"source":"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.meter-resp":{"source":"iana"},"application/vnd.ms-word.document.macroenabled.12":{"source":"iana","extensions":["docm"]},"application/vnd.ms-word.template.macroenabled.12":{"source":"iana","extensions":["dotm"]},"application/vnd.ms-works":{"source":"iana","extensions":["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{"source":"iana","extensions":["wpl"]},"application/vnd.ms-xpsdocument":{"source":"iana","compressible":false,"extensions":["xps"]},"application/vnd.msa-disk-image":{"source":"iana"},"application/vnd.mseq":{"source":"iana","extensions":["mseq"]},"application/vnd.msign":{"source":"iana"},"application/vnd.multiad.creator":{"source":"iana"},"application/vnd.multiad.creator.cif":{"source":"iana"},"application/vnd.music-niff":{"source":"iana"},"application/vnd.musician":{"source":"iana","extensions":["mus"]},"application/vnd.muvee.style":{"source":"iana","extensions":["msty"]},"application/vnd.mynfc":{"source":"iana","extensions":["taglet"]},"application/vnd.nacamar.ybrid+json":{"source":"iana","compressible":true},"application/vnd.ncd.control":{"source":"iana"},"application/vnd.ncd.reference":{"source":"iana"},"application/vnd.nearst.inv+json":{"source":"iana","compressible":true},"application/vnd.nebumind.line":{"source":"iana"},"application/vnd.nervana":{"source":"iana"},"application/vnd.netfpx":{"source":"iana"},"application/vnd.neurolanguage.nlu":{"source":"iana","extensions":["nlu"]},"application/vnd.nimn":{"source":"iana"},"application/vnd.nintendo.nitro.rom":{"source":"iana"},"application/vnd.nintendo.snes.rom":{"source":"iana"},"application/vnd.nitf":{"source":"iana","extensions":["ntf","nitf"]},"application/vnd.noblenet-directory":{"source":"iana","extensions":["nnd"]},"application/vnd.noblenet-sealer":{"source":"iana","extensions":["nns"]},"application/vnd.noblenet-web":{"source":"iana","extensions":["nnw"]},"application/vnd.nokia.catalogs":{"source":"iana"},"application/vnd.nokia.conml+wbxml":{"source":"iana"},"application/vnd.nokia.conml+xml":{"source":"iana","compressible":true},"application/vnd.nokia.iptv.config+xml":{"source":"iana","compressible":true},"application/vnd.nokia.isds-radio-presets":{"source":"iana"},"application/vnd.nokia.landmark+wbxml":{"source":"iana"},"application/vnd.nokia.landmark+xml":{"source":"iana","compressible":true},"application/vnd.nokia.landmarkcollection+xml":{"source":"iana","compressible":true},"application/vnd.nokia.n-gage.ac+xml":{"source":"iana","compressible":true,"extensions":["ac"]},"application/vnd.nokia.n-gage.data":{"source":"iana","extensions":["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{"source":"iana","extensions":["n-gage"]},"application/vnd.nokia.ncd":{"source":"iana"},"application/vnd.nokia.pcd+wbxml":{"source":"iana"},"application/vnd.nokia.pcd+xml":{"source":"iana","compressible":true},"application/vnd.nokia.radio-preset":{"source":"iana","extensions":["rpst"]},"application/vnd.nokia.radio-presets":{"source":"iana","extensions":["rpss"]},"application/vnd.novadigm.edm":{"source":"iana","extensions":["edm"]},"application/vnd.novadigm.edx":{"source":"iana","extensions":["edx"]},"application/vnd.novadigm.ext":{"source":"iana","extensions":["ext"]},"application/vnd.ntt-local.content-share":{"source":"iana"},"application/vnd.ntt-local.file-transfer":{"source":"iana"},"application/vnd.ntt-local.ogw_remote-access":{"source":"iana"},"application/vnd.ntt-local.sip-ta_remote":{"source":"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{"source":"iana"},"application/vnd.oasis.opendocument.chart":{"source":"iana","extensions":["odc"]},"application/vnd.oasis.opendocument.chart-template":{"source":"iana","extensions":["otc"]},"application/vnd.oasis.opendocument.database":{"source":"iana","extensions":["odb"]},"application/vnd.oasis.opendocument.formula":{"source":"iana","extensions":["odf"]},"application/vnd.oasis.opendocument.formula-template":{"source":"iana","extensions":["odft"]},"application/vnd.oasis.opendocument.graphics":{"source":"iana","compressible":false,"extensions":["odg"]},"application/vnd.oasis.opendocument.graphics-template":{"source":"iana","extensions":["otg"]},"application/vnd.oasis.opendocument.image":{"source":"iana","extensions":["odi"]},"application/vnd.oasis.opendocument.image-template":{"source":"iana","extensions":["oti"]},"application/vnd.oasis.opendocument.presentation":{"source":"iana","compressible":false,"extensions":["odp"]},"application/vnd.oasis.opendocument.presentation-template":{"source":"iana","extensions":["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{"source":"iana","compressible":false,"extensions":["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{"source":"iana","extensions":["ots"]},"application/vnd.oasis.opendocument.text":{"source":"iana","compressible":false,"extensions":["odt"]},"application/vnd.oasis.opendocument.text-master":{"source":"iana","extensions":["odm"]},"application/vnd.oasis.opendocument.text-template":{"source":"iana","extensions":["ott"]},"application/vnd.oasis.opendocument.text-web":{"source":"iana","extensions":["oth"]},"application/vnd.obn":{"source":"iana"},"application/vnd.ocf+cbor":{"source":"iana"},"application/vnd.oci.image.manifest.v1+json":{"source":"iana","compressible":true},"application/vnd.oftn.l10n+json":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessdownload+xml":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessstreaming+xml":{"source":"iana","compressible":true},"application/vnd.oipf.cspg-hexbinary":{"source":"iana"},"application/vnd.oipf.dae.svg+xml":{"source":"iana","compressible":true},"application/vnd.oipf.dae.xhtml+xml":{"source":"iana","compressible":true},"application/vnd.oipf.mippvcontrolmessage+xml":{"source":"iana","compressible":true},"application/vnd.oipf.pae.gem":{"source":"iana"},"application/vnd.oipf.spdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.oipf.spdlist+xml":{"source":"iana","compressible":true},"application/vnd.oipf.ueprofile+xml":{"source":"iana","compressible":true},"application/vnd.oipf.userprofile+xml":{"source":"iana","compressible":true},"application/vnd.olpc-sugar":{"source":"iana","extensions":["xo"]},"application/vnd.oma-scws-config":{"source":"iana"},"application/vnd.oma-scws-http-request":{"source":"iana"},"application/vnd.oma-scws-http-response":{"source":"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.drm-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.imd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.ltkm":{"source":"iana"},"application/vnd.oma.bcast.notification+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.provisioningtrigger":{"source":"iana"},"application/vnd.oma.bcast.sgboot":{"source":"iana"},"application/vnd.oma.bcast.sgdd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sgdu":{"source":"iana"},"application/vnd.oma.bcast.simple-symbol-container":{"source":"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sprov+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.stkm":{"source":"iana"},"application/vnd.oma.cab-address-book+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-feature-handler+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-pcc+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-subs-invite+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-user-prefs+xml":{"source":"iana","compressible":true},"application/vnd.oma.dcd":{"source":"iana"},"application/vnd.oma.dcdc":{"source":"iana"},"application/vnd.oma.dd2+xml":{"source":"iana","compressible":true,"extensions":["dd2"]},"application/vnd.oma.drm.risd+xml":{"source":"iana","compressible":true},"application/vnd.oma.group-usage-list+xml":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+cbor":{"source":"iana"},"application/vnd.oma.lwm2m+json":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+tlv":{"source":"iana"},"application/vnd.oma.pal+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.detailed-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.final-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.groups+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.invocation-descriptor+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.optimized-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.push":{"source":"iana"},"application/vnd.oma.scidm.messages+xml":{"source":"iana","compressible":true},"application/vnd.oma.xcap-directory+xml":{"source":"iana","compressible":true},"application/vnd.omads-email+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-file+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-folder+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omaloc-supl-init":{"source":"iana"},"application/vnd.onepager":{"source":"iana"},"application/vnd.onepagertamp":{"source":"iana"},"application/vnd.onepagertamx":{"source":"iana"},"application/vnd.onepagertat":{"source":"iana"},"application/vnd.onepagertatp":{"source":"iana"},"application/vnd.onepagertatx":{"source":"iana"},"application/vnd.openblox.game+xml":{"source":"iana","compressible":true,"extensions":["obgx"]},"application/vnd.openblox.game-binary":{"source":"iana"},"application/vnd.openeye.oeb":{"source":"iana"},"application/vnd.openofficeorg.extension":{"source":"apache","extensions":["oxt"]},"application/vnd.openstreetmap.data+xml":{"source":"iana","compressible":true,"extensions":["osm"]},"application/vnd.opentimestamps.ots":{"source":"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawing+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{"source":"iana","compressible":false,"extensions":["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slide":{"source":"iana","extensions":["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{"source":"iana","extensions":["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.template":{"source":"iana","extensions":["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"source":"iana","compressible":false,"extensions":["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{"source":"iana","extensions":["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.theme+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.vmldrawing":{"source":"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{"source":"iana","compressible":false,"extensions":["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{"source":"iana","extensions":["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.core-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.relationships+xml":{"source":"iana","compressible":true},"application/vnd.oracle.resource+json":{"source":"iana","compressible":true},"application/vnd.orange.indata":{"source":"iana"},"application/vnd.osa.netdeploy":{"source":"iana"},"application/vnd.osgeo.mapguide.package":{"source":"iana","extensions":["mgp"]},"application/vnd.osgi.bundle":{"source":"iana"},"application/vnd.osgi.dp":{"source":"iana","extensions":["dp"]},"application/vnd.osgi.subsystem":{"source":"iana","extensions":["esa"]},"application/vnd.otps.ct-kip+xml":{"source":"iana","compressible":true},"application/vnd.oxli.countgraph":{"source":"iana"},"application/vnd.pagerduty+json":{"source":"iana","compressible":true},"application/vnd.palm":{"source":"iana","extensions":["pdb","pqa","oprc"]},"application/vnd.panoply":{"source":"iana"},"application/vnd.paos.xml":{"source":"iana"},"application/vnd.patentdive":{"source":"iana"},"application/vnd.patientecommsdoc":{"source":"iana"},"application/vnd.pawaafile":{"source":"iana","extensions":["paw"]},"application/vnd.pcos":{"source":"iana"},"application/vnd.pg.format":{"source":"iana","extensions":["str"]},"application/vnd.pg.osasli":{"source":"iana","extensions":["ei6"]},"application/vnd.piaccess.application-licence":{"source":"iana"},"application/vnd.picsel":{"source":"iana","extensions":["efif"]},"application/vnd.pmi.widget":{"source":"iana","extensions":["wg"]},"application/vnd.poc.group-advertisement+xml":{"source":"iana","compressible":true},"application/vnd.pocketlearn":{"source":"iana","extensions":["plf"]},"application/vnd.powerbuilder6":{"source":"iana","extensions":["pbd"]},"application/vnd.powerbuilder6-s":{"source":"iana"},"application/vnd.powerbuilder7":{"source":"iana"},"application/vnd.powerbuilder7-s":{"source":"iana"},"application/vnd.powerbuilder75":{"source":"iana"},"application/vnd.powerbuilder75-s":{"source":"iana"},"application/vnd.preminet":{"source":"iana"},"application/vnd.previewsystems.box":{"source":"iana","extensions":["box"]},"application/vnd.proteus.magazine":{"source":"iana","extensions":["mgz"]},"application/vnd.psfs":{"source":"iana"},"application/vnd.publishare-delta-tree":{"source":"iana","extensions":["qps"]},"application/vnd.pvi.ptid1":{"source":"iana","extensions":["ptid"]},"application/vnd.pwg-multiplexed":{"source":"iana"},"application/vnd.pwg-xhtml-print+xml":{"source":"iana","compressible":true},"application/vnd.qualcomm.brew-app-res":{"source":"iana"},"application/vnd.quarantainenet":{"source":"iana"},"application/vnd.quark.quarkxpress":{"source":"iana","extensions":["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{"source":"iana"},"application/vnd.radisys.moml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conn+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-stream+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-base+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-detect+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-group+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-speech+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-transform+xml":{"source":"iana","compressible":true},"application/vnd.rainstor.data":{"source":"iana"},"application/vnd.rapid":{"source":"iana"},"application/vnd.rar":{"source":"iana","extensions":["rar"]},"application/vnd.realvnc.bed":{"source":"iana","extensions":["bed"]},"application/vnd.recordare.musicxml":{"source":"iana","extensions":["mxl"]},"application/vnd.recordare.musicxml+xml":{"source":"iana","compressible":true,"extensions":["musicxml"]},"application/vnd.renlearn.rlprint":{"source":"iana"},"application/vnd.resilient.logic":{"source":"iana"},"application/vnd.restful+json":{"source":"iana","compressible":true},"application/vnd.rig.cryptonote":{"source":"iana","extensions":["cryptonote"]},"application/vnd.rim.cod":{"source":"apache","extensions":["cod"]},"application/vnd.rn-realmedia":{"source":"apache","extensions":["rm"]},"application/vnd.rn-realmedia-vbr":{"source":"apache","extensions":["rmvb"]},"application/vnd.route66.link66+xml":{"source":"iana","compressible":true,"extensions":["link66"]},"application/vnd.rs-274x":{"source":"iana"},"application/vnd.ruckus.download":{"source":"iana"},"application/vnd.s3sms":{"source":"iana"},"application/vnd.sailingtracker.track":{"source":"iana","extensions":["st"]},"application/vnd.sar":{"source":"iana"},"application/vnd.sbm.cid":{"source":"iana"},"application/vnd.sbm.mid2":{"source":"iana"},"application/vnd.scribus":{"source":"iana"},"application/vnd.sealed.3df":{"source":"iana"},"application/vnd.sealed.csf":{"source":"iana"},"application/vnd.sealed.doc":{"source":"iana"},"application/vnd.sealed.eml":{"source":"iana"},"application/vnd.sealed.mht":{"source":"iana"},"application/vnd.sealed.net":{"source":"iana"},"application/vnd.sealed.ppt":{"source":"iana"},"application/vnd.sealed.tiff":{"source":"iana"},"application/vnd.sealed.xls":{"source":"iana"},"application/vnd.sealedmedia.softseal.html":{"source":"iana"},"application/vnd.sealedmedia.softseal.pdf":{"source":"iana"},"application/vnd.seemail":{"source":"iana","extensions":["see"]},"application/vnd.seis+json":{"source":"iana","compressible":true},"application/vnd.sema":{"source":"iana","extensions":["sema"]},"application/vnd.semd":{"source":"iana","extensions":["semd"]},"application/vnd.semf":{"source":"iana","extensions":["semf"]},"application/vnd.shade-save-file":{"source":"iana"},"application/vnd.shana.informed.formdata":{"source":"iana","extensions":["ifm"]},"application/vnd.shana.informed.formtemplate":{"source":"iana","extensions":["itp"]},"application/vnd.shana.informed.interchange":{"source":"iana","extensions":["iif"]},"application/vnd.shana.informed.package":{"source":"iana","extensions":["ipk"]},"application/vnd.shootproof+json":{"source":"iana","compressible":true},"application/vnd.shopkick+json":{"source":"iana","compressible":true},"application/vnd.shp":{"source":"iana"},"application/vnd.shx":{"source":"iana"},"application/vnd.sigrok.session":{"source":"iana"},"application/vnd.simtech-mindmapper":{"source":"iana","extensions":["twd","twds"]},"application/vnd.siren+json":{"source":"iana","compressible":true},"application/vnd.smaf":{"source":"iana","extensions":["mmf"]},"application/vnd.smart.notebook":{"source":"iana"},"application/vnd.smart.teacher":{"source":"iana","extensions":["teacher"]},"application/vnd.snesdev-page-table":{"source":"iana"},"application/vnd.software602.filler.form+xml":{"source":"iana","compressible":true,"extensions":["fo"]},"application/vnd.software602.filler.form-xml-zip":{"source":"iana"},"application/vnd.solent.sdkm+xml":{"source":"iana","compressible":true,"extensions":["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{"source":"iana","extensions":["dxp"]},"application/vnd.spotfire.sfs":{"source":"iana","extensions":["sfs"]},"application/vnd.sqlite3":{"source":"iana"},"application/vnd.sss-cod":{"source":"iana"},"application/vnd.sss-dtf":{"source":"iana"},"application/vnd.sss-ntf":{"source":"iana"},"application/vnd.stardivision.calc":{"source":"apache","extensions":["sdc"]},"application/vnd.stardivision.draw":{"source":"apache","extensions":["sda"]},"application/vnd.stardivision.impress":{"source":"apache","extensions":["sdd"]},"application/vnd.stardivision.math":{"source":"apache","extensions":["smf"]},"application/vnd.stardivision.writer":{"source":"apache","extensions":["sdw","vor"]},"application/vnd.stardivision.writer-global":{"source":"apache","extensions":["sgl"]},"application/vnd.stepmania.package":{"source":"iana","extensions":["smzip"]},"application/vnd.stepmania.stepchart":{"source":"iana","extensions":["sm"]},"application/vnd.street-stream":{"source":"iana"},"application/vnd.sun.wadl+xml":{"source":"iana","compressible":true,"extensions":["wadl"]},"application/vnd.sun.xml.calc":{"source":"apache","extensions":["sxc"]},"application/vnd.sun.xml.calc.template":{"source":"apache","extensions":["stc"]},"application/vnd.sun.xml.draw":{"source":"apache","extensions":["sxd"]},"application/vnd.sun.xml.draw.template":{"source":"apache","extensions":["std"]},"application/vnd.sun.xml.impress":{"source":"apache","extensions":["sxi"]},"application/vnd.sun.xml.impress.template":{"source":"apache","extensions":["sti"]},"application/vnd.sun.xml.math":{"source":"apache","extensions":["sxm"]},"application/vnd.sun.xml.writer":{"source":"apache","extensions":["sxw"]},"application/vnd.sun.xml.writer.global":{"source":"apache","extensions":["sxg"]},"application/vnd.sun.xml.writer.template":{"source":"apache","extensions":["stw"]},"application/vnd.sus-calendar":{"source":"iana","extensions":["sus","susp"]},"application/vnd.svd":{"source":"iana","extensions":["svd"]},"application/vnd.swiftview-ics":{"source":"iana"},"application/vnd.sycle+xml":{"source":"iana","compressible":true},"application/vnd.syft+json":{"source":"iana","compressible":true},"application/vnd.symbian.install":{"source":"apache","extensions":["sis","sisx"]},"application/vnd.syncml+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xsm"]},"application/vnd.syncml.dm+wbxml":{"source":"iana","charset":"UTF-8","extensions":["bdm"]},"application/vnd.syncml.dm+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xdm"]},"application/vnd.syncml.dm.notification":{"source":"iana"},"application/vnd.syncml.dmddf+wbxml":{"source":"iana"},"application/vnd.syncml.dmddf+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{"source":"iana"},"application/vnd.syncml.dmtnds+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.syncml.ds.notification":{"source":"iana"},"application/vnd.tableschema+json":{"source":"iana","compressible":true},"application/vnd.tao.intent-module-archive":{"source":"iana","extensions":["tao"]},"application/vnd.tcpdump.pcap":{"source":"iana","extensions":["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{"source":"iana","compressible":true},"application/vnd.tmd.mediaflex.api+xml":{"source":"iana","compressible":true},"application/vnd.tml":{"source":"iana"},"application/vnd.tmobile-livetv":{"source":"iana","extensions":["tmo"]},"application/vnd.tri.onesource":{"source":"iana"},"application/vnd.trid.tpt":{"source":"iana","extensions":["tpt"]},"application/vnd.triscape.mxs":{"source":"iana","extensions":["mxs"]},"application/vnd.trueapp":{"source":"iana","extensions":["tra"]},"application/vnd.truedoc":{"source":"iana"},"application/vnd.ubisoft.webplayer":{"source":"iana"},"application/vnd.ufdl":{"source":"iana","extensions":["ufd","ufdl"]},"application/vnd.uiq.theme":{"source":"iana","extensions":["utz"]},"application/vnd.umajin":{"source":"iana","extensions":["umj"]},"application/vnd.unity":{"source":"iana","extensions":["unityweb"]},"application/vnd.uoml+xml":{"source":"iana","compressible":true,"extensions":["uoml"]},"application/vnd.uplanet.alert":{"source":"iana"},"application/vnd.uplanet.alert-wbxml":{"source":"iana"},"application/vnd.uplanet.bearer-choice":{"source":"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{"source":"iana"},"application/vnd.uplanet.cacheop":{"source":"iana"},"application/vnd.uplanet.cacheop-wbxml":{"source":"iana"},"application/vnd.uplanet.channel":{"source":"iana"},"application/vnd.uplanet.channel-wbxml":{"source":"iana"},"application/vnd.uplanet.list":{"source":"iana"},"application/vnd.uplanet.list-wbxml":{"source":"iana"},"application/vnd.uplanet.listcmd":{"source":"iana"},"application/vnd.uplanet.listcmd-wbxml":{"source":"iana"},"application/vnd.uplanet.signal":{"source":"iana"},"application/vnd.uri-map":{"source":"iana"},"application/vnd.valve.source.material":{"source":"iana"},"application/vnd.vcx":{"source":"iana","extensions":["vcx"]},"application/vnd.vd-study":{"source":"iana"},"application/vnd.vectorworks":{"source":"iana"},"application/vnd.vel+json":{"source":"iana","compressible":true},"application/vnd.verimatrix.vcas":{"source":"iana"},"application/vnd.veritone.aion+json":{"source":"iana","compressible":true},"application/vnd.veryant.thin":{"source":"iana"},"application/vnd.ves.encrypted":{"source":"iana"},"application/vnd.vidsoft.vidconference":{"source":"iana"},"application/vnd.visio":{"source":"iana","extensions":["vsd","vst","vss","vsw"]},"application/vnd.visionary":{"source":"iana","extensions":["vis"]},"application/vnd.vividence.scriptfile":{"source":"iana"},"application/vnd.vsf":{"source":"iana","extensions":["vsf"]},"application/vnd.wap.sic":{"source":"iana"},"application/vnd.wap.slc":{"source":"iana"},"application/vnd.wap.wbxml":{"source":"iana","charset":"UTF-8","extensions":["wbxml"]},"application/vnd.wap.wmlc":{"source":"iana","extensions":["wmlc"]},"application/vnd.wap.wmlscriptc":{"source":"iana","extensions":["wmlsc"]},"application/vnd.webturbo":{"source":"iana","extensions":["wtb"]},"application/vnd.wfa.dpp":{"source":"iana"},"application/vnd.wfa.p2p":{"source":"iana"},"application/vnd.wfa.wsc":{"source":"iana"},"application/vnd.windows.devicepairing":{"source":"iana"},"application/vnd.wmc":{"source":"iana"},"application/vnd.wmf.bootstrap":{"source":"iana"},"application/vnd.wolfram.mathematica":{"source":"iana"},"application/vnd.wolfram.mathematica.package":{"source":"iana"},"application/vnd.wolfram.player":{"source":"iana","extensions":["nbp"]},"application/vnd.wordperfect":{"source":"iana","extensions":["wpd"]},"application/vnd.wqd":{"source":"iana","extensions":["wqd"]},"application/vnd.wrq-hp3000-labelled":{"source":"iana"},"application/vnd.wt.stf":{"source":"iana","extensions":["stf"]},"application/vnd.wv.csp+wbxml":{"source":"iana"},"application/vnd.wv.csp+xml":{"source":"iana","compressible":true},"application/vnd.wv.ssp+xml":{"source":"iana","compressible":true},"application/vnd.xacml+json":{"source":"iana","compressible":true},"application/vnd.xara":{"source":"iana","extensions":["xar"]},"application/vnd.xfdl":{"source":"iana","extensions":["xfdl"]},"application/vnd.xfdl.webform":{"source":"iana"},"application/vnd.xmi+xml":{"source":"iana","compressible":true},"application/vnd.xmpie.cpkg":{"source":"iana"},"application/vnd.xmpie.dpkg":{"source":"iana"},"application/vnd.xmpie.plan":{"source":"iana"},"application/vnd.xmpie.ppkg":{"source":"iana"},"application/vnd.xmpie.xlim":{"source":"iana"},"application/vnd.yamaha.hv-dic":{"source":"iana","extensions":["hvd"]},"application/vnd.yamaha.hv-script":{"source":"iana","extensions":["hvs"]},"application/vnd.yamaha.hv-voice":{"source":"iana","extensions":["hvp"]},"application/vnd.yamaha.openscoreformat":{"source":"iana","extensions":["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{"source":"iana","compressible":true,"extensions":["osfpvg"]},"application/vnd.yamaha.remote-setup":{"source":"iana"},"application/vnd.yamaha.smaf-audio":{"source":"iana","extensions":["saf"]},"application/vnd.yamaha.smaf-phrase":{"source":"iana","extensions":["spf"]},"application/vnd.yamaha.through-ngn":{"source":"iana"},"application/vnd.yamaha.tunnel-udpencap":{"source":"iana"},"application/vnd.yaoweme":{"source":"iana"},"application/vnd.yellowriver-custom-menu":{"source":"iana","extensions":["cmp"]},"application/vnd.youtube.yt":{"source":"iana"},"application/vnd.zul":{"source":"iana","extensions":["zir","zirz"]},"application/vnd.zzazz.deck+xml":{"source":"iana","compressible":true,"extensions":["zaz"]},"application/voicexml+xml":{"source":"iana","compressible":true,"extensions":["vxml"]},"application/voucher-cms+json":{"source":"iana","compressible":true},"application/vq-rtcpxr":{"source":"iana"},"application/wasm":{"source":"iana","compressible":true,"extensions":["wasm"]},"application/watcherinfo+xml":{"source":"iana","compressible":true,"extensions":["wif"]},"application/webpush-options+json":{"source":"iana","compressible":true},"application/whoispp-query":{"source":"iana"},"application/whoispp-response":{"source":"iana"},"application/widget":{"source":"iana","extensions":["wgt"]},"application/winhlp":{"source":"apache","extensions":["hlp"]},"application/wita":{"source":"iana"},"application/wordperfect5.1":{"source":"iana"},"application/wsdl+xml":{"source":"iana","compressible":true,"extensions":["wsdl"]},"application/wspolicy+xml":{"source":"iana","compressible":true,"extensions":["wspolicy"]},"application/x-7z-compressed":{"source":"apache","compressible":false,"extensions":["7z"]},"application/x-abiword":{"source":"apache","extensions":["abw"]},"application/x-ace-compressed":{"source":"apache","extensions":["ace"]},"application/x-amf":{"source":"apache"},"application/x-apple-diskimage":{"source":"apache","extensions":["dmg"]},"application/x-arj":{"compressible":false,"extensions":["arj"]},"application/x-authorware-bin":{"source":"apache","extensions":["aab","x32","u32","vox"]},"application/x-authorware-map":{"source":"apache","extensions":["aam"]},"application/x-authorware-seg":{"source":"apache","extensions":["aas"]},"application/x-bcpio":{"source":"apache","extensions":["bcpio"]},"application/x-bdoc":{"compressible":false,"extensions":["bdoc"]},"application/x-bittorrent":{"source":"apache","extensions":["torrent"]},"application/x-blorb":{"source":"apache","extensions":["blb","blorb"]},"application/x-bzip":{"source":"apache","compressible":false,"extensions":["bz"]},"application/x-bzip2":{"source":"apache","compressible":false,"extensions":["bz2","boz"]},"application/x-cbr":{"source":"apache","extensions":["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{"source":"apache","extensions":["vcd"]},"application/x-cfs-compressed":{"source":"apache","extensions":["cfs"]},"application/x-chat":{"source":"apache","extensions":["chat"]},"application/x-chess-pgn":{"source":"apache","extensions":["pgn"]},"application/x-chrome-extension":{"extensions":["crx"]},"application/x-cocoa":{"source":"nginx","extensions":["cco"]},"application/x-compress":{"source":"apache"},"application/x-conference":{"source":"apache","extensions":["nsc"]},"application/x-cpio":{"source":"apache","extensions":["cpio"]},"application/x-csh":{"source":"apache","extensions":["csh"]},"application/x-deb":{"compressible":false},"application/x-debian-package":{"source":"apache","extensions":["deb","udeb"]},"application/x-dgc-compressed":{"source":"apache","extensions":["dgc"]},"application/x-director":{"source":"apache","extensions":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{"source":"apache","extensions":["wad"]},"application/x-dtbncx+xml":{"source":"apache","compressible":true,"extensions":["ncx"]},"application/x-dtbook+xml":{"source":"apache","compressible":true,"extensions":["dtb"]},"application/x-dtbresource+xml":{"source":"apache","compressible":true,"extensions":["res"]},"application/x-dvi":{"source":"apache","compressible":false,"extensions":["dvi"]},"application/x-envoy":{"source":"apache","extensions":["evy"]},"application/x-eva":{"source":"apache","extensions":["eva"]},"application/x-font-bdf":{"source":"apache","extensions":["bdf"]},"application/x-font-dos":{"source":"apache"},"application/x-font-framemaker":{"source":"apache"},"application/x-font-ghostscript":{"source":"apache","extensions":["gsf"]},"application/x-font-libgrx":{"source":"apache"},"application/x-font-linux-psf":{"source":"apache","extensions":["psf"]},"application/x-font-pcf":{"source":"apache","extensions":["pcf"]},"application/x-font-snf":{"source":"apache","extensions":["snf"]},"application/x-font-speedo":{"source":"apache"},"application/x-font-sunos-news":{"source":"apache"},"application/x-font-type1":{"source":"apache","extensions":["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{"source":"apache"},"application/x-freearc":{"source":"apache","extensions":["arc"]},"application/x-futuresplash":{"source":"apache","extensions":["spl"]},"application/x-gca-compressed":{"source":"apache","extensions":["gca"]},"application/x-glulx":{"source":"apache","extensions":["ulx"]},"application/x-gnumeric":{"source":"apache","extensions":["gnumeric"]},"application/x-gramps-xml":{"source":"apache","extensions":["gramps"]},"application/x-gtar":{"source":"apache","extensions":["gtar"]},"application/x-gzip":{"source":"apache"},"application/x-hdf":{"source":"apache","extensions":["hdf"]},"application/x-httpd-php":{"compressible":true,"extensions":["php"]},"application/x-install-instructions":{"source":"apache","extensions":["install"]},"application/x-iso9660-image":{"source":"apache","extensions":["iso"]},"application/x-iwork-keynote-sffkey":{"extensions":["key"]},"application/x-iwork-numbers-sffnumbers":{"extensions":["numbers"]},"application/x-iwork-pages-sffpages":{"extensions":["pages"]},"application/x-java-archive-diff":{"source":"nginx","extensions":["jardiff"]},"application/x-java-jnlp-file":{"source":"apache","compressible":false,"extensions":["jnlp"]},"application/x-javascript":{"compressible":true},"application/x-keepass2":{"extensions":["kdbx"]},"application/x-latex":{"source":"apache","compressible":false,"extensions":["latex"]},"application/x-lua-bytecode":{"extensions":["luac"]},"application/x-lzh-compressed":{"source":"apache","extensions":["lzh","lha"]},"application/x-makeself":{"source":"nginx","extensions":["run"]},"application/x-mie":{"source":"apache","extensions":["mie"]},"application/x-mobipocket-ebook":{"source":"apache","extensions":["prc","mobi"]},"application/x-mpegurl":{"compressible":false},"application/x-ms-application":{"source":"apache","extensions":["application"]},"application/x-ms-shortcut":{"source":"apache","extensions":["lnk"]},"application/x-ms-wmd":{"source":"apache","extensions":["wmd"]},"application/x-ms-wmz":{"source":"apache","extensions":["wmz"]},"application/x-ms-xbap":{"source":"apache","extensions":["xbap"]},"application/x-msaccess":{"source":"apache","extensions":["mdb"]},"application/x-msbinder":{"source":"apache","extensions":["obd"]},"application/x-mscardfile":{"source":"apache","extensions":["crd"]},"application/x-msclip":{"source":"apache","extensions":["clp"]},"application/x-msdos-program":{"extensions":["exe"]},"application/x-msdownload":{"source":"apache","extensions":["exe","dll","com","bat","msi"]},"application/x-msmediaview":{"source":"apache","extensions":["mvb","m13","m14"]},"application/x-msmetafile":{"source":"apache","extensions":["wmf","wmz","emf","emz"]},"application/x-msmoney":{"source":"apache","extensions":["mny"]},"application/x-mspublisher":{"source":"apache","extensions":["pub"]},"application/x-msschedule":{"source":"apache","extensions":["scd"]},"application/x-msterminal":{"source":"apache","extensions":["trm"]},"application/x-mswrite":{"source":"apache","extensions":["wri"]},"application/x-netcdf":{"source":"apache","extensions":["nc","cdf"]},"application/x-ns-proxy-autoconfig":{"compressible":true,"extensions":["pac"]},"application/x-nzb":{"source":"apache","extensions":["nzb"]},"application/x-perl":{"source":"nginx","extensions":["pl","pm"]},"application/x-pilot":{"source":"nginx","extensions":["prc","pdb"]},"application/x-pkcs12":{"source":"apache","compressible":false,"extensions":["p12","pfx"]},"application/x-pkcs7-certificates":{"source":"apache","extensions":["p7b","spc"]},"application/x-pkcs7-certreqresp":{"source":"apache","extensions":["p7r"]},"application/x-pki-message":{"source":"iana"},"application/x-rar-compressed":{"source":"apache","compressible":false,"extensions":["rar"]},"application/x-redhat-package-manager":{"source":"nginx","extensions":["rpm"]},"application/x-research-info-systems":{"source":"apache","extensions":["ris"]},"application/x-sea":{"source":"nginx","extensions":["sea"]},"application/x-sh":{"source":"apache","compressible":true,"extensions":["sh"]},"application/x-shar":{"source":"apache","extensions":["shar"]},"application/x-shockwave-flash":{"source":"apache","compressible":false,"extensions":["swf"]},"application/x-silverlight-app":{"source":"apache","extensions":["xap"]},"application/x-sql":{"source":"apache","extensions":["sql"]},"application/x-stuffit":{"source":"apache","compressible":false,"extensions":["sit"]},"application/x-stuffitx":{"source":"apache","extensions":["sitx"]},"application/x-subrip":{"source":"apache","extensions":["srt"]},"application/x-sv4cpio":{"source":"apache","extensions":["sv4cpio"]},"application/x-sv4crc":{"source":"apache","extensions":["sv4crc"]},"application/x-t3vm-image":{"source":"apache","extensions":["t3"]},"application/x-tads":{"source":"apache","extensions":["gam"]},"application/x-tar":{"source":"apache","compressible":true,"extensions":["tar"]},"application/x-tcl":{"source":"apache","extensions":["tcl","tk"]},"application/x-tex":{"source":"apache","extensions":["tex"]},"application/x-tex-tfm":{"source":"apache","extensions":["tfm"]},"application/x-texinfo":{"source":"apache","extensions":["texinfo","texi"]},"application/x-tgif":{"source":"apache","extensions":["obj"]},"application/x-ustar":{"source":"apache","extensions":["ustar"]},"application/x-virtualbox-hdd":{"compressible":true,"extensions":["hdd"]},"application/x-virtualbox-ova":{"compressible":true,"extensions":["ova"]},"application/x-virtualbox-ovf":{"compressible":true,"extensions":["ovf"]},"application/x-virtualbox-vbox":{"compressible":true,"extensions":["vbox"]},"application/x-virtualbox-vbox-extpack":{"compressible":false,"extensions":["vbox-extpack"]},"application/x-virtualbox-vdi":{"compressible":true,"extensions":["vdi"]},"application/x-virtualbox-vhd":{"compressible":true,"extensions":["vhd"]},"application/x-virtualbox-vmdk":{"compressible":true,"extensions":["vmdk"]},"application/x-wais-source":{"source":"apache","extensions":["src"]},"application/x-web-app-manifest+json":{"compressible":true,"extensions":["webapp"]},"application/x-www-form-urlencoded":{"source":"iana","compressible":true},"application/x-x509-ca-cert":{"source":"iana","extensions":["der","crt","pem"]},"application/x-x509-ca-ra-cert":{"source":"iana"},"application/x-x509-next-ca-cert":{"source":"iana"},"application/x-xfig":{"source":"apache","extensions":["fig"]},"application/x-xliff+xml":{"source":"apache","compressible":true,"extensions":["xlf"]},"application/x-xpinstall":{"source":"apache","compressible":false,"extensions":["xpi"]},"application/x-xz":{"source":"apache","extensions":["xz"]},"application/x-zmachine":{"source":"apache","extensions":["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{"source":"iana"},"application/xacml+xml":{"source":"iana","compressible":true},"application/xaml+xml":{"source":"apache","compressible":true,"extensions":["xaml"]},"application/xcap-att+xml":{"source":"iana","compressible":true,"extensions":["xav"]},"application/xcap-caps+xml":{"source":"iana","compressible":true,"extensions":["xca"]},"application/xcap-diff+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/xcap-el+xml":{"source":"iana","compressible":true,"extensions":["xel"]},"application/xcap-error+xml":{"source":"iana","compressible":true},"application/xcap-ns+xml":{"source":"iana","compressible":true,"extensions":["xns"]},"application/xcon-conference-info+xml":{"source":"iana","compressible":true},"application/xcon-conference-info-diff+xml":{"source":"iana","compressible":true},"application/xenc+xml":{"source":"iana","compressible":true,"extensions":["xenc"]},"application/xhtml+xml":{"source":"iana","compressible":true,"extensions":["xhtml","xht"]},"application/xhtml-voice+xml":{"source":"apache","compressible":true},"application/xliff+xml":{"source":"iana","compressible":true,"extensions":["xlf"]},"application/xml":{"source":"iana","compressible":true,"extensions":["xml","xsl","xsd","rng"]},"application/xml-dtd":{"source":"iana","compressible":true,"extensions":["dtd"]},"application/xml-external-parsed-entity":{"source":"iana"},"application/xml-patch+xml":{"source":"iana","compressible":true},"application/xmpp+xml":{"source":"iana","compressible":true},"application/xop+xml":{"source":"iana","compressible":true,"extensions":["xop"]},"application/xproc+xml":{"source":"apache","compressible":true,"extensions":["xpl"]},"application/xslt+xml":{"source":"iana","compressible":true,"extensions":["xsl","xslt"]},"application/xspf+xml":{"source":"apache","compressible":true,"extensions":["xspf"]},"application/xv+xml":{"source":"iana","compressible":true,"extensions":["mxml","xhvml","xvml","xvm"]},"application/yang":{"source":"iana","extensions":["yang"]},"application/yang-data+json":{"source":"iana","compressible":true},"application/yang-data+xml":{"source":"iana","compressible":true},"application/yang-patch+json":{"source":"iana","compressible":true},"application/yang-patch+xml":{"source":"iana","compressible":true},"application/yin+xml":{"source":"iana","compressible":true,"extensions":["yin"]},"application/zip":{"source":"iana","compressible":false,"extensions":["zip"]},"application/zlib":{"source":"iana"},"application/zstd":{"source":"iana"},"audio/1d-interleaved-parityfec":{"source":"iana"},"audio/32kadpcm":{"source":"iana"},"audio/3gpp":{"source":"iana","compressible":false,"extensions":["3gpp"]},"audio/3gpp2":{"source":"iana"},"audio/aac":{"source":"iana"},"audio/ac3":{"source":"iana"},"audio/adpcm":{"source":"apache","extensions":["adp"]},"audio/amr":{"source":"iana","extensions":["amr"]},"audio/amr-wb":{"source":"iana"},"audio/amr-wb+":{"source":"iana"},"audio/aptx":{"source":"iana"},"audio/asc":{"source":"iana"},"audio/atrac-advanced-lossless":{"source":"iana"},"audio/atrac-x":{"source":"iana"},"audio/atrac3":{"source":"iana"},"audio/basic":{"source":"iana","compressible":false,"extensions":["au","snd"]},"audio/bv16":{"source":"iana"},"audio/bv32":{"source":"iana"},"audio/clearmode":{"source":"iana"},"audio/cn":{"source":"iana"},"audio/dat12":{"source":"iana"},"audio/dls":{"source":"iana"},"audio/dsr-es201108":{"source":"iana"},"audio/dsr-es202050":{"source":"iana"},"audio/dsr-es202211":{"source":"iana"},"audio/dsr-es202212":{"source":"iana"},"audio/dv":{"source":"iana"},"audio/dvi4":{"source":"iana"},"audio/eac3":{"source":"iana"},"audio/encaprtp":{"source":"iana"},"audio/evrc":{"source":"iana"},"audio/evrc-qcp":{"source":"iana"},"audio/evrc0":{"source":"iana"},"audio/evrc1":{"source":"iana"},"audio/evrcb":{"source":"iana"},"audio/evrcb0":{"source":"iana"},"audio/evrcb1":{"source":"iana"},"audio/evrcnw":{"source":"iana"},"audio/evrcnw0":{"source":"iana"},"audio/evrcnw1":{"source":"iana"},"audio/evrcwb":{"source":"iana"},"audio/evrcwb0":{"source":"iana"},"audio/evrcwb1":{"source":"iana"},"audio/evs":{"source":"iana"},"audio/flexfec":{"source":"iana"},"audio/fwdred":{"source":"iana"},"audio/g711-0":{"source":"iana"},"audio/g719":{"source":"iana"},"audio/g722":{"source":"iana"},"audio/g7221":{"source":"iana"},"audio/g723":{"source":"iana"},"audio/g726-16":{"source":"iana"},"audio/g726-24":{"source":"iana"},"audio/g726-32":{"source":"iana"},"audio/g726-40":{"source":"iana"},"audio/g728":{"source":"iana"},"audio/g729":{"source":"iana"},"audio/g7291":{"source":"iana"},"audio/g729d":{"source":"iana"},"audio/g729e":{"source":"iana"},"audio/gsm":{"source":"iana"},"audio/gsm-efr":{"source":"iana"},"audio/gsm-hr-08":{"source":"iana"},"audio/ilbc":{"source":"iana"},"audio/ip-mr_v2.5":{"source":"iana"},"audio/isac":{"source":"apache"},"audio/l16":{"source":"iana"},"audio/l20":{"source":"iana"},"audio/l24":{"source":"iana","compressible":false},"audio/l8":{"source":"iana"},"audio/lpc":{"source":"iana"},"audio/melp":{"source":"iana"},"audio/melp1200":{"source":"iana"},"audio/melp2400":{"source":"iana"},"audio/melp600":{"source":"iana"},"audio/mhas":{"source":"iana"},"audio/midi":{"source":"apache","extensions":["mid","midi","kar","rmi"]},"audio/mobile-xmf":{"source":"iana","extensions":["mxmf"]},"audio/mp3":{"compressible":false,"extensions":["mp3"]},"audio/mp4":{"source":"iana","compressible":false,"extensions":["m4a","mp4a"]},"audio/mp4a-latm":{"source":"iana"},"audio/mpa":{"source":"iana"},"audio/mpa-robust":{"source":"iana"},"audio/mpeg":{"source":"iana","compressible":false,"extensions":["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{"source":"iana"},"audio/musepack":{"source":"apache"},"audio/ogg":{"source":"iana","compressible":false,"extensions":["oga","ogg","spx","opus"]},"audio/opus":{"source":"iana"},"audio/parityfec":{"source":"iana"},"audio/pcma":{"source":"iana"},"audio/pcma-wb":{"source":"iana"},"audio/pcmu":{"source":"iana"},"audio/pcmu-wb":{"source":"iana"},"audio/prs.sid":{"source":"iana"},"audio/qcelp":{"source":"iana"},"audio/raptorfec":{"source":"iana"},"audio/red":{"source":"iana"},"audio/rtp-enc-aescm128":{"source":"iana"},"audio/rtp-midi":{"source":"iana"},"audio/rtploopback":{"source":"iana"},"audio/rtx":{"source":"iana"},"audio/s3m":{"source":"apache","extensions":["s3m"]},"audio/scip":{"source":"iana"},"audio/silk":{"source":"apache","extensions":["sil"]},"audio/smv":{"source":"iana"},"audio/smv-qcp":{"source":"iana"},"audio/smv0":{"source":"iana"},"audio/sofa":{"source":"iana"},"audio/sp-midi":{"source":"iana"},"audio/speex":{"source":"iana"},"audio/t140c":{"source":"iana"},"audio/t38":{"source":"iana"},"audio/telephone-event":{"source":"iana"},"audio/tetra_acelp":{"source":"iana"},"audio/tetra_acelp_bb":{"source":"iana"},"audio/tone":{"source":"iana"},"audio/tsvcis":{"source":"iana"},"audio/uemclip":{"source":"iana"},"audio/ulpfec":{"source":"iana"},"audio/usac":{"source":"iana"},"audio/vdvi":{"source":"iana"},"audio/vmr-wb":{"source":"iana"},"audio/vnd.3gpp.iufp":{"source":"iana"},"audio/vnd.4sb":{"source":"iana"},"audio/vnd.audiokoz":{"source":"iana"},"audio/vnd.celp":{"source":"iana"},"audio/vnd.cisco.nse":{"source":"iana"},"audio/vnd.cmles.radio-events":{"source":"iana"},"audio/vnd.cns.anp1":{"source":"iana"},"audio/vnd.cns.inf1":{"source":"iana"},"audio/vnd.dece.audio":{"source":"iana","extensions":["uva","uvva"]},"audio/vnd.digital-winds":{"source":"iana","extensions":["eol"]},"audio/vnd.dlna.adts":{"source":"iana"},"audio/vnd.dolby.heaac.1":{"source":"iana"},"audio/vnd.dolby.heaac.2":{"source":"iana"},"audio/vnd.dolby.mlp":{"source":"iana"},"audio/vnd.dolby.mps":{"source":"iana"},"audio/vnd.dolby.pl2":{"source":"iana"},"audio/vnd.dolby.pl2x":{"source":"iana"},"audio/vnd.dolby.pl2z":{"source":"iana"},"audio/vnd.dolby.pulse.1":{"source":"iana"},"audio/vnd.dra":{"source":"iana","extensions":["dra"]},"audio/vnd.dts":{"source":"iana","extensions":["dts"]},"audio/vnd.dts.hd":{"source":"iana","extensions":["dtshd"]},"audio/vnd.dts.uhd":{"source":"iana"},"audio/vnd.dvb.file":{"source":"iana"},"audio/vnd.everad.plj":{"source":"iana"},"audio/vnd.hns.audio":{"source":"iana"},"audio/vnd.lucent.voice":{"source":"iana","extensions":["lvp"]},"audio/vnd.ms-playready.media.pya":{"source":"iana","extensions":["pya"]},"audio/vnd.nokia.mobile-xmf":{"source":"iana"},"audio/vnd.nortel.vbk":{"source":"iana"},"audio/vnd.nuera.ecelp4800":{"source":"iana","extensions":["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{"source":"iana","extensions":["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{"source":"iana","extensions":["ecelp9600"]},"audio/vnd.octel.sbc":{"source":"iana"},"audio/vnd.presonus.multitrack":{"source":"iana"},"audio/vnd.qcelp":{"source":"iana"},"audio/vnd.rhetorex.32kadpcm":{"source":"iana"},"audio/vnd.rip":{"source":"iana","extensions":["rip"]},"audio/vnd.rn-realaudio":{"compressible":false},"audio/vnd.sealedmedia.softseal.mpeg":{"source":"iana"},"audio/vnd.vmx.cvsd":{"source":"iana"},"audio/vnd.wave":{"compressible":false},"audio/vorbis":{"source":"iana","compressible":false},"audio/vorbis-config":{"source":"iana"},"audio/wav":{"compressible":false,"extensions":["wav"]},"audio/wave":{"compressible":false,"extensions":["wav"]},"audio/webm":{"source":"apache","compressible":false,"extensions":["weba"]},"audio/x-aac":{"source":"apache","compressible":false,"extensions":["aac"]},"audio/x-aiff":{"source":"apache","extensions":["aif","aiff","aifc"]},"audio/x-caf":{"source":"apache","compressible":false,"extensions":["caf"]},"audio/x-flac":{"source":"apache","extensions":["flac"]},"audio/x-m4a":{"source":"nginx","extensions":["m4a"]},"audio/x-matroska":{"source":"apache","extensions":["mka"]},"audio/x-mpegurl":{"source":"apache","extensions":["m3u"]},"audio/x-ms-wax":{"source":"apache","extensions":["wax"]},"audio/x-ms-wma":{"source":"apache","extensions":["wma"]},"audio/x-pn-realaudio":{"source":"apache","extensions":["ram","ra"]},"audio/x-pn-realaudio-plugin":{"source":"apache","extensions":["rmp"]},"audio/x-realaudio":{"source":"nginx","extensions":["ra"]},"audio/x-tta":{"source":"apache"},"audio/x-wav":{"source":"apache","extensions":["wav"]},"audio/xm":{"source":"apache","extensions":["xm"]},"chemical/x-cdx":{"source":"apache","extensions":["cdx"]},"chemical/x-cif":{"source":"apache","extensions":["cif"]},"chemical/x-cmdf":{"source":"apache","extensions":["cmdf"]},"chemical/x-cml":{"source":"apache","extensions":["cml"]},"chemical/x-csml":{"source":"apache","extensions":["csml"]},"chemical/x-pdb":{"source":"apache"},"chemical/x-xyz":{"source":"apache","extensions":["xyz"]},"font/collection":{"source":"iana","extensions":["ttc"]},"font/otf":{"source":"iana","compressible":true,"extensions":["otf"]},"font/sfnt":{"source":"iana"},"font/ttf":{"source":"iana","compressible":true,"extensions":["ttf"]},"font/woff":{"source":"iana","extensions":["woff"]},"font/woff2":{"source":"iana","extensions":["woff2"]},"image/aces":{"source":"iana","extensions":["exr"]},"image/apng":{"compressible":false,"extensions":["apng"]},"image/avci":{"source":"iana","extensions":["avci"]},"image/avcs":{"source":"iana","extensions":["avcs"]},"image/avif":{"source":"iana","compressible":false,"extensions":["avif"]},"image/bmp":{"source":"iana","compressible":true,"extensions":["bmp"]},"image/cgm":{"source":"iana","extensions":["cgm"]},"image/dicom-rle":{"source":"iana","extensions":["drle"]},"image/emf":{"source":"iana","extensions":["emf"]},"image/fits":{"source":"iana","extensions":["fits"]},"image/g3fax":{"source":"iana","extensions":["g3"]},"image/gif":{"source":"iana","compressible":false,"extensions":["gif"]},"image/heic":{"source":"iana","extensions":["heic"]},"image/heic-sequence":{"source":"iana","extensions":["heics"]},"image/heif":{"source":"iana","extensions":["heif"]},"image/heif-sequence":{"source":"iana","extensions":["heifs"]},"image/hej2k":{"source":"iana","extensions":["hej2"]},"image/hsj2":{"source":"iana","extensions":["hsj2"]},"image/ief":{"source":"iana","extensions":["ief"]},"image/jls":{"source":"iana","extensions":["jls"]},"image/jp2":{"source":"iana","compressible":false,"extensions":["jp2","jpg2"]},"image/jpeg":{"source":"iana","compressible":false,"extensions":["jpeg","jpg","jpe"]},"image/jph":{"source":"iana","extensions":["jph"]},"image/jphc":{"source":"iana","extensions":["jhc"]},"image/jpm":{"source":"iana","compressible":false,"extensions":["jpm"]},"image/jpx":{"source":"iana","compressible":false,"extensions":["jpx","jpf"]},"image/jxr":{"source":"iana","extensions":["jxr"]},"image/jxra":{"source":"iana","extensions":["jxra"]},"image/jxrs":{"source":"iana","extensions":["jxrs"]},"image/jxs":{"source":"iana","extensions":["jxs"]},"image/jxsc":{"source":"iana","extensions":["jxsc"]},"image/jxsi":{"source":"iana","extensions":["jxsi"]},"image/jxss":{"source":"iana","extensions":["jxss"]},"image/ktx":{"source":"iana","extensions":["ktx"]},"image/ktx2":{"source":"iana","extensions":["ktx2"]},"image/naplps":{"source":"iana"},"image/pjpeg":{"compressible":false},"image/png":{"source":"iana","compressible":false,"extensions":["png"]},"image/prs.btif":{"source":"iana","extensions":["btif"]},"image/prs.pti":{"source":"iana","extensions":["pti"]},"image/pwg-raster":{"source":"iana"},"image/sgi":{"source":"apache","extensions":["sgi"]},"image/svg+xml":{"source":"iana","compressible":true,"extensions":["svg","svgz"]},"image/t38":{"source":"iana","extensions":["t38"]},"image/tiff":{"source":"iana","compressible":false,"extensions":["tif","tiff"]},"image/tiff-fx":{"source":"iana","extensions":["tfx"]},"image/vnd.adobe.photoshop":{"source":"iana","compressible":true,"extensions":["psd"]},"image/vnd.airzip.accelerator.azv":{"source":"iana","extensions":["azv"]},"image/vnd.cns.inf2":{"source":"iana"},"image/vnd.dece.graphic":{"source":"iana","extensions":["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{"source":"iana","extensions":["djvu","djv"]},"image/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"image/vnd.dwg":{"source":"iana","extensions":["dwg"]},"image/vnd.dxf":{"source":"iana","extensions":["dxf"]},"image/vnd.fastbidsheet":{"source":"iana","extensions":["fbs"]},"image/vnd.fpx":{"source":"iana","extensions":["fpx"]},"image/vnd.fst":{"source":"iana","extensions":["fst"]},"image/vnd.fujixerox.edmics-mmr":{"source":"iana","extensions":["mmr"]},"image/vnd.fujixerox.edmics-rlc":{"source":"iana","extensions":["rlc"]},"image/vnd.globalgraphics.pgb":{"source":"iana"},"image/vnd.microsoft.icon":{"source":"iana","compressible":true,"extensions":["ico"]},"image/vnd.mix":{"source":"iana"},"image/vnd.mozilla.apng":{"source":"iana"},"image/vnd.ms-dds":{"compressible":true,"extensions":["dds"]},"image/vnd.ms-modi":{"source":"iana","extensions":["mdi"]},"image/vnd.ms-photo":{"source":"apache","extensions":["wdp"]},"image/vnd.net-fpx":{"source":"iana","extensions":["npx"]},"image/vnd.pco.b16":{"source":"iana","extensions":["b16"]},"image/vnd.radiance":{"source":"iana"},"image/vnd.sealed.png":{"source":"iana"},"image/vnd.sealedmedia.softseal.gif":{"source":"iana"},"image/vnd.sealedmedia.softseal.jpg":{"source":"iana"},"image/vnd.svf":{"source":"iana"},"image/vnd.tencent.tap":{"source":"iana","extensions":["tap"]},"image/vnd.valve.source.texture":{"source":"iana","extensions":["vtf"]},"image/vnd.wap.wbmp":{"source":"iana","extensions":["wbmp"]},"image/vnd.xiff":{"source":"iana","extensions":["xif"]},"image/vnd.zbrush.pcx":{"source":"iana","extensions":["pcx"]},"image/webp":{"source":"apache","extensions":["webp"]},"image/wmf":{"source":"iana","extensions":["wmf"]},"image/x-3ds":{"source":"apache","extensions":["3ds"]},"image/x-cmu-raster":{"source":"apache","extensions":["ras"]},"image/x-cmx":{"source":"apache","extensions":["cmx"]},"image/x-freehand":{"source":"apache","extensions":["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{"source":"apache","compressible":true,"extensions":["ico"]},"image/x-jng":{"source":"nginx","extensions":["jng"]},"image/x-mrsid-image":{"source":"apache","extensions":["sid"]},"image/x-ms-bmp":{"source":"nginx","compressible":true,"extensions":["bmp"]},"image/x-pcx":{"source":"apache","extensions":["pcx"]},"image/x-pict":{"source":"apache","extensions":["pic","pct"]},"image/x-portable-anymap":{"source":"apache","extensions":["pnm"]},"image/x-portable-bitmap":{"source":"apache","extensions":["pbm"]},"image/x-portable-graymap":{"source":"apache","extensions":["pgm"]},"image/x-portable-pixmap":{"source":"apache","extensions":["ppm"]},"image/x-rgb":{"source":"apache","extensions":["rgb"]},"image/x-tga":{"source":"apache","extensions":["tga"]},"image/x-xbitmap":{"source":"apache","extensions":["xbm"]},"image/x-xcf":{"compressible":false},"image/x-xpixmap":{"source":"apache","extensions":["xpm"]},"image/x-xwindowdump":{"source":"apache","extensions":["xwd"]},"message/cpim":{"source":"iana"},"message/delivery-status":{"source":"iana"},"message/disposition-notification":{"source":"iana","extensions":["disposition-notification"]},"message/external-body":{"source":"iana"},"message/feedback-report":{"source":"iana"},"message/global":{"source":"iana","extensions":["u8msg"]},"message/global-delivery-status":{"source":"iana","extensions":["u8dsn"]},"message/global-disposition-notification":{"source":"iana","extensions":["u8mdn"]},"message/global-headers":{"source":"iana","extensions":["u8hdr"]},"message/http":{"source":"iana","compressible":false},"message/imdn+xml":{"source":"iana","compressible":true},"message/news":{"source":"iana"},"message/partial":{"source":"iana","compressible":false},"message/rfc822":{"source":"iana","compressible":true,"extensions":["eml","mime"]},"message/s-http":{"source":"iana"},"message/sip":{"source":"iana"},"message/sipfrag":{"source":"iana"},"message/tracking-status":{"source":"iana"},"message/vnd.si.simp":{"source":"iana"},"message/vnd.wfa.wsc":{"source":"iana","extensions":["wsc"]},"model/3mf":{"source":"iana","extensions":["3mf"]},"model/e57":{"source":"iana"},"model/gltf+json":{"source":"iana","compressible":true,"extensions":["gltf"]},"model/gltf-binary":{"source":"iana","compressible":true,"extensions":["glb"]},"model/iges":{"source":"iana","compressible":false,"extensions":["igs","iges"]},"model/mesh":{"source":"iana","compressible":false,"extensions":["msh","mesh","silo"]},"model/mtl":{"source":"iana","extensions":["mtl"]},"model/obj":{"source":"iana","extensions":["obj"]},"model/step":{"source":"iana"},"model/step+xml":{"source":"iana","compressible":true,"extensions":["stpx"]},"model/step+zip":{"source":"iana","compressible":false,"extensions":["stpz"]},"model/step-xml+zip":{"source":"iana","compressible":false,"extensions":["stpxz"]},"model/stl":{"source":"iana","extensions":["stl"]},"model/vnd.collada+xml":{"source":"iana","compressible":true,"extensions":["dae"]},"model/vnd.dwf":{"source":"iana","extensions":["dwf"]},"model/vnd.flatland.3dml":{"source":"iana"},"model/vnd.gdl":{"source":"iana","extensions":["gdl"]},"model/vnd.gs-gdl":{"source":"apache"},"model/vnd.gs.gdl":{"source":"iana"},"model/vnd.gtw":{"source":"iana","extensions":["gtw"]},"model/vnd.moml+xml":{"source":"iana","compressible":true},"model/vnd.mts":{"source":"iana","extensions":["mts"]},"model/vnd.opengex":{"source":"iana","extensions":["ogex"]},"model/vnd.parasolid.transmit.binary":{"source":"iana","extensions":["x_b"]},"model/vnd.parasolid.transmit.text":{"source":"iana","extensions":["x_t"]},"model/vnd.pytha.pyox":{"source":"iana"},"model/vnd.rosette.annotated-data-model":{"source":"iana"},"model/vnd.sap.vds":{"source":"iana","extensions":["vds"]},"model/vnd.usdz+zip":{"source":"iana","compressible":false,"extensions":["usdz"]},"model/vnd.valve.source.compiled-map":{"source":"iana","extensions":["bsp"]},"model/vnd.vtu":{"source":"iana","extensions":["vtu"]},"model/vrml":{"source":"iana","compressible":false,"extensions":["wrl","vrml"]},"model/x3d+binary":{"source":"apache","compressible":false,"extensions":["x3db","x3dbz"]},"model/x3d+fastinfoset":{"source":"iana","extensions":["x3db"]},"model/x3d+vrml":{"source":"apache","compressible":false,"extensions":["x3dv","x3dvz"]},"model/x3d+xml":{"source":"iana","compressible":true,"extensions":["x3d","x3dz"]},"model/x3d-vrml":{"source":"iana","extensions":["x3dv"]},"multipart/alternative":{"source":"iana","compressible":false},"multipart/appledouble":{"source":"iana"},"multipart/byteranges":{"source":"iana"},"multipart/digest":{"source":"iana"},"multipart/encrypted":{"source":"iana","compressible":false},"multipart/form-data":{"source":"iana","compressible":false},"multipart/header-set":{"source":"iana"},"multipart/mixed":{"source":"iana"},"multipart/multilingual":{"source":"iana"},"multipart/parallel":{"source":"iana"},"multipart/related":{"source":"iana","compressible":false},"multipart/report":{"source":"iana"},"multipart/signed":{"source":"iana","compressible":false},"multipart/vnd.bint.med-plus":{"source":"iana"},"multipart/voice-message":{"source":"iana"},"multipart/x-mixed-replace":{"source":"iana"},"text/1d-interleaved-parityfec":{"source":"iana"},"text/cache-manifest":{"source":"iana","compressible":true,"extensions":["appcache","manifest"]},"text/calendar":{"source":"iana","extensions":["ics","ifb"]},"text/calender":{"compressible":true},"text/cmd":{"compressible":true},"text/coffeescript":{"extensions":["coffee","litcoffee"]},"text/cql":{"source":"iana"},"text/cql-expression":{"source":"iana"},"text/cql-identifier":{"source":"iana"},"text/css":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["css"]},"text/csv":{"source":"iana","compressible":true,"extensions":["csv"]},"text/csv-schema":{"source":"iana"},"text/directory":{"source":"iana"},"text/dns":{"source":"iana"},"text/ecmascript":{"source":"iana"},"text/encaprtp":{"source":"iana"},"text/enriched":{"source":"iana"},"text/fhirpath":{"source":"iana"},"text/flexfec":{"source":"iana"},"text/fwdred":{"source":"iana"},"text/gff3":{"source":"iana"},"text/grammar-ref-list":{"source":"iana"},"text/html":{"source":"iana","compressible":true,"extensions":["html","htm","shtml"]},"text/jade":{"extensions":["jade"]},"text/javascript":{"source":"iana","compressible":true},"text/jcr-cnd":{"source":"iana"},"text/jsx":{"compressible":true,"extensions":["jsx"]},"text/less":{"compressible":true,"extensions":["less"]},"text/markdown":{"source":"iana","compressible":true,"extensions":["markdown","md"]},"text/mathml":{"source":"nginx","extensions":["mml"]},"text/mdx":{"compressible":true,"extensions":["mdx"]},"text/mizar":{"source":"iana"},"text/n3":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["n3"]},"text/parameters":{"source":"iana","charset":"UTF-8"},"text/parityfec":{"source":"iana"},"text/plain":{"source":"iana","compressible":true,"extensions":["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{"source":"iana","charset":"UTF-8"},"text/prs.fallenstein.rst":{"source":"iana"},"text/prs.lines.tag":{"source":"iana","extensions":["dsc"]},"text/prs.prop.logic":{"source":"iana"},"text/raptorfec":{"source":"iana"},"text/red":{"source":"iana"},"text/rfc822-headers":{"source":"iana"},"text/richtext":{"source":"iana","compressible":true,"extensions":["rtx"]},"text/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"text/rtp-enc-aescm128":{"source":"iana"},"text/rtploopback":{"source":"iana"},"text/rtx":{"source":"iana"},"text/sgml":{"source":"iana","extensions":["sgml","sgm"]},"text/shaclc":{"source":"iana"},"text/shex":{"source":"iana","extensions":["shex"]},"text/slim":{"extensions":["slim","slm"]},"text/spdx":{"source":"iana","extensions":["spdx"]},"text/strings":{"source":"iana"},"text/stylus":{"extensions":["stylus","styl"]},"text/t140":{"source":"iana"},"text/tab-separated-values":{"source":"iana","compressible":true,"extensions":["tsv"]},"text/troff":{"source":"iana","extensions":["t","tr","roff","man","me","ms"]},"text/turtle":{"source":"iana","charset":"UTF-8","extensions":["ttl"]},"text/ulpfec":{"source":"iana"},"text/uri-list":{"source":"iana","compressible":true,"extensions":["uri","uris","urls"]},"text/vcard":{"source":"iana","compressible":true,"extensions":["vcard"]},"text/vnd.a":{"source":"iana"},"text/vnd.abc":{"source":"iana"},"text/vnd.ascii-art":{"source":"iana"},"text/vnd.curl":{"source":"iana","extensions":["curl"]},"text/vnd.curl.dcurl":{"source":"apache","extensions":["dcurl"]},"text/vnd.curl.mcurl":{"source":"apache","extensions":["mcurl"]},"text/vnd.curl.scurl":{"source":"apache","extensions":["scurl"]},"text/vnd.debian.copyright":{"source":"iana","charset":"UTF-8"},"text/vnd.dmclientscript":{"source":"iana"},"text/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"text/vnd.esmertec.theme-descriptor":{"source":"iana","charset":"UTF-8"},"text/vnd.familysearch.gedcom":{"source":"iana","extensions":["ged"]},"text/vnd.ficlab.flt":{"source":"iana"},"text/vnd.fly":{"source":"iana","extensions":["fly"]},"text/vnd.fmi.flexstor":{"source":"iana","extensions":["flx"]},"text/vnd.gml":{"source":"iana"},"text/vnd.graphviz":{"source":"iana","extensions":["gv"]},"text/vnd.hans":{"source":"iana"},"text/vnd.hgl":{"source":"iana"},"text/vnd.in3d.3dml":{"source":"iana","extensions":["3dml"]},"text/vnd.in3d.spot":{"source":"iana","extensions":["spot"]},"text/vnd.iptc.newsml":{"source":"iana"},"text/vnd.iptc.nitf":{"source":"iana"},"text/vnd.latex-z":{"source":"iana"},"text/vnd.motorola.reflex":{"source":"iana"},"text/vnd.ms-mediapackage":{"source":"iana"},"text/vnd.net2phone.commcenter.command":{"source":"iana"},"text/vnd.radisys.msml-basic-layout":{"source":"iana"},"text/vnd.senx.warpscript":{"source":"iana"},"text/vnd.si.uricatalogue":{"source":"iana"},"text/vnd.sosi":{"source":"iana"},"text/vnd.sun.j2me.app-descriptor":{"source":"iana","charset":"UTF-8","extensions":["jad"]},"text/vnd.trolltech.linguist":{"source":"iana","charset":"UTF-8"},"text/vnd.wap.si":{"source":"iana"},"text/vnd.wap.sl":{"source":"iana"},"text/vnd.wap.wml":{"source":"iana","extensions":["wml"]},"text/vnd.wap.wmlscript":{"source":"iana","extensions":["wmls"]},"text/vtt":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["vtt"]},"text/x-asm":{"source":"apache","extensions":["s","asm"]},"text/x-c":{"source":"apache","extensions":["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{"source":"nginx","extensions":["htc"]},"text/x-fortran":{"source":"apache","extensions":["f","for","f77","f90"]},"text/x-gwt-rpc":{"compressible":true},"text/x-handlebars-template":{"extensions":["hbs"]},"text/x-java-source":{"source":"apache","extensions":["java"]},"text/x-jquery-tmpl":{"compressible":true},"text/x-lua":{"extensions":["lua"]},"text/x-markdown":{"compressible":true,"extensions":["mkd"]},"text/x-nfo":{"source":"apache","extensions":["nfo"]},"text/x-opml":{"source":"apache","extensions":["opml"]},"text/x-org":{"compressible":true,"extensions":["org"]},"text/x-pascal":{"source":"apache","extensions":["p","pas"]},"text/x-processing":{"compressible":true,"extensions":["pde"]},"text/x-sass":{"extensions":["sass"]},"text/x-scss":{"extensions":["scss"]},"text/x-setext":{"source":"apache","extensions":["etx"]},"text/x-sfv":{"source":"apache","extensions":["sfv"]},"text/x-suse-ymp":{"compressible":true,"extensions":["ymp"]},"text/x-uuencode":{"source":"apache","extensions":["uu"]},"text/x-vcalendar":{"source":"apache","extensions":["vcs"]},"text/x-vcard":{"source":"apache","extensions":["vcf"]},"text/xml":{"source":"iana","compressible":true,"extensions":["xml"]},"text/xml-external-parsed-entity":{"source":"iana"},"text/yaml":{"compressible":true,"extensions":["yaml","yml"]},"video/1d-interleaved-parityfec":{"source":"iana"},"video/3gpp":{"source":"iana","extensions":["3gp","3gpp"]},"video/3gpp-tt":{"source":"iana"},"video/3gpp2":{"source":"iana","extensions":["3g2"]},"video/av1":{"source":"iana"},"video/bmpeg":{"source":"iana"},"video/bt656":{"source":"iana"},"video/celb":{"source":"iana"},"video/dv":{"source":"iana"},"video/encaprtp":{"source":"iana"},"video/ffv1":{"source":"iana"},"video/flexfec":{"source":"iana"},"video/h261":{"source":"iana","extensions":["h261"]},"video/h263":{"source":"iana","extensions":["h263"]},"video/h263-1998":{"source":"iana"},"video/h263-2000":{"source":"iana"},"video/h264":{"source":"iana","extensions":["h264"]},"video/h264-rcdo":{"source":"iana"},"video/h264-svc":{"source":"iana"},"video/h265":{"source":"iana"},"video/iso.segment":{"source":"iana","extensions":["m4s"]},"video/jpeg":{"source":"iana","extensions":["jpgv"]},"video/jpeg2000":{"source":"iana"},"video/jpm":{"source":"apache","extensions":["jpm","jpgm"]},"video/jxsv":{"source":"iana"},"video/mj2":{"source":"iana","extensions":["mj2","mjp2"]},"video/mp1s":{"source":"iana"},"video/mp2p":{"source":"iana"},"video/mp2t":{"source":"iana","extensions":["ts"]},"video/mp4":{"source":"iana","compressible":false,"extensions":["mp4","mp4v","mpg4"]},"video/mp4v-es":{"source":"iana"},"video/mpeg":{"source":"iana","compressible":false,"extensions":["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{"source":"iana"},"video/mpv":{"source":"iana"},"video/nv":{"source":"iana"},"video/ogg":{"source":"iana","compressible":false,"extensions":["ogv"]},"video/parityfec":{"source":"iana"},"video/pointer":{"source":"iana"},"video/quicktime":{"source":"iana","compressible":false,"extensions":["qt","mov"]},"video/raptorfec":{"source":"iana"},"video/raw":{"source":"iana"},"video/rtp-enc-aescm128":{"source":"iana"},"video/rtploopback":{"source":"iana"},"video/rtx":{"source":"iana"},"video/scip":{"source":"iana"},"video/smpte291":{"source":"iana"},"video/smpte292m":{"source":"iana"},"video/ulpfec":{"source":"iana"},"video/vc1":{"source":"iana"},"video/vc2":{"source":"iana"},"video/vnd.cctv":{"source":"iana"},"video/vnd.dece.hd":{"source":"iana","extensions":["uvh","uvvh"]},"video/vnd.dece.mobile":{"source":"iana","extensions":["uvm","uvvm"]},"video/vnd.dece.mp4":{"source":"iana"},"video/vnd.dece.pd":{"source":"iana","extensions":["uvp","uvvp"]},"video/vnd.dece.sd":{"source":"iana","extensions":["uvs","uvvs"]},"video/vnd.dece.video":{"source":"iana","extensions":["uvv","uvvv"]},"video/vnd.directv.mpeg":{"source":"iana"},"video/vnd.directv.mpeg-tts":{"source":"iana"},"video/vnd.dlna.mpeg-tts":{"source":"iana"},"video/vnd.dvb.file":{"source":"iana","extensions":["dvb"]},"video/vnd.fvt":{"source":"iana","extensions":["fvt"]},"video/vnd.hns.video":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.ttsavc":{"source":"iana"},"video/vnd.iptvforum.ttsmpeg2":{"source":"iana"},"video/vnd.motorola.video":{"source":"iana"},"video/vnd.motorola.videop":{"source":"iana"},"video/vnd.mpegurl":{"source":"iana","extensions":["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{"source":"iana","extensions":["pyv"]},"video/vnd.nokia.interleaved-multimedia":{"source":"iana"},"video/vnd.nokia.mp4vr":{"source":"iana"},"video/vnd.nokia.videovoip":{"source":"iana"},"video/vnd.objectvideo":{"source":"iana"},"video/vnd.radgamettools.bink":{"source":"iana"},"video/vnd.radgamettools.smacker":{"source":"iana"},"video/vnd.sealed.mpeg1":{"source":"iana"},"video/vnd.sealed.mpeg4":{"source":"iana"},"video/vnd.sealed.swf":{"source":"iana"},"video/vnd.sealedmedia.softseal.mov":{"source":"iana"},"video/vnd.uvvu.mp4":{"source":"iana","extensions":["uvu","uvvu"]},"video/vnd.vivo":{"source":"iana","extensions":["viv"]},"video/vnd.youtube.yt":{"source":"iana"},"video/vp8":{"source":"iana"},"video/vp9":{"source":"iana"},"video/webm":{"source":"apache","compressible":false,"extensions":["webm"]},"video/x-f4v":{"source":"apache","extensions":["f4v"]},"video/x-fli":{"source":"apache","extensions":["fli"]},"video/x-flv":{"source":"apache","compressible":false,"extensions":["flv"]},"video/x-m4v":{"source":"apache","extensions":["m4v"]},"video/x-matroska":{"source":"apache","compressible":false,"extensions":["mkv","mk3d","mks"]},"video/x-mng":{"source":"apache","extensions":["mng"]},"video/x-ms-asf":{"source":"apache","extensions":["asf","asx"]},"video/x-ms-vob":{"source":"apache","extensions":["vob"]},"video/x-ms-wm":{"source":"apache","extensions":["wm"]},"video/x-ms-wmv":{"source":"apache","compressible":false,"extensions":["wmv"]},"video/x-ms-wmx":{"source":"apache","extensions":["wmx"]},"video/x-ms-wvx":{"source":"apache","extensions":["wvx"]},"video/x-msvideo":{"source":"apache","extensions":["avi"]},"video/x-sgi-movie":{"source":"apache","extensions":["movie"]},"video/x-smv":{"source":"apache","extensions":["smv"]},"x-conference/x-cooltalk":{"source":"apache","extensions":["ice"]},"x-shader/x-fragment":{"compressible":true},"x-shader/x-vertex":{"compressible":true}}')},47707:R=>{"use strict";R.exports=JSON.parse('{"https://www.w3.org/ns/credentials/v2":{"@context":{"@protected":true,"@vocab":"https://www.w3.org/ns/credentials/issuer-dependent#","id":"@id","type":"@type","VerifiableCredential":{"@id":"https://www.w3.org/2018/credentials#VerifiableCredential","@context":{"@protected":true,"id":"@id","type":"@type","credentialSchema":{"@id":"https://www.w3.org/2018/credentials#credentialSchema","@type":"@id"},"credentialStatus":{"@id":"https://www.w3.org/2018/credentials#credentialStatus","@type":"@id"},"credentialSubject":{"@id":"https://www.w3.org/2018/credentials#credentialSubject","@type":"@id"},"description":{"@id":"https://schema.org/description"},"evidence":{"@id":"https://www.w3.org/2018/credentials#evidence","@type":"@id"},"validFrom":{"@id":"https://www.w3.org/2018/credentials#validFrom","@type":"http://www.w3.org/2001/XMLSchema#dateTime"},"validUntil":{"@id":"https://www.w3.org/2018/credentials#validUntil","@type":"http://www.w3.org/2001/XMLSchema#dateTime"},"issuer":{"@id":"https://www.w3.org/2018/credentials#issuer","@type":"@id"},"name":{"@id":"https://schema.org/name"},"proof":{"@id":"https://w3id.org/security#proof","@type":"@id","@container":"@graph"},"refreshService":{"@id":"https://www.w3.org/2018/credentials#refreshService","@type":"@id"},"termsOfUse":{"@id":"https://www.w3.org/2018/credentials#termsOfUse","@type":"@id"}}},"VerifiablePresentation":{"@id":"https://www.w3.org/2018/credentials#VerifiablePresentation","@context":{"@protected":true,"id":"@id","type":"@type","holder":{"@id":"https://www.w3.org/2018/credentials#holder","@type":"@id"},"proof":{"@id":"https://w3id.org/security#proof","@type":"@id","@container":"@graph"},"verifiableCredential":{"@id":"https://www.w3.org/2018/credentials#verifiableCredential","@type":"@id","@container":"@graph"},"termsOfUse":{"@id":"https://www.w3.org/2018/credentials#termsOfUse","@type":"@id"}}},"JsonSchema2023":{"@id":"https://w3.org/2018/credentials#JsonSchema2023","@context":{"@protected":true,"id":"@id","type":"@type"}},"VerifiableCredentialSchema2023":{"@id":"https://w3.org/2018/credentials#VerifiableCredentialSchema2023","@context":{"@protected":true,"id":"@id","type":"@type"}},"StatusList2021Credential":{"@id":"https://w3id.org/vc/status-list#StatusList2021Credential","@context":{"@protected":true,"id":"@id","type":"@type","description":"https://schema.org/description","name":"https://schema.org/name"}},"StatusList2021":{"@id":"https://w3id.org/vc/status-list#StatusList2021","@context":{"@protected":true,"id":"@id","type":"@type","statusPurpose":"https://w3id.org/vc/status-list#statusPurpose","encodedList":"https://w3id.org/vc/status-list#encodedList"}},"StatusList2021Entry":{"@id":"https://w3id.org/vc/status-list#StatusList2021Entry","@context":{"@protected":true,"id":"@id","type":"@type","statusPurpose":"https://w3id.org/vc/status-list#statusPurpose","statusListIndex":"https://w3id.org/vc/status-list#statusListIndex","statusListCredential":{"@id":"https://w3id.org/vc/status-list#statusListCredential","@type":"@id"}}},"DataIntegrityProof":{"@id":"https://w3id.org/security#DataIntegrityProof","@context":{"@protected":true,"id":"@id","type":"@type","challenge":"https://w3id.org/security#challenge","created":{"@id":"http://purl.org/dc/terms/created","@type":"http://www.w3.org/2001/XMLSchema#dateTime"},"domain":"https://w3id.org/security#domain","expires":{"@id":"https://w3id.org/security#expiration","@type":"http://www.w3.org/2001/XMLSchema#dateTime"},"nonce":"https://w3id.org/security#nonce","proofPurpose":{"@id":"https://w3id.org/security#proofPurpose","@type":"@vocab","@context":{"@protected":true,"id":"@id","type":"@type","assertionMethod":{"@id":"https://w3id.org/security#assertionMethod","@type":"@id","@container":"@set"},"authentication":{"@id":"https://w3id.org/security#authenticationMethod","@type":"@id","@container":"@set"},"capabilityInvocation":{"@id":"https://w3id.org/security#capabilityInvocationMethod","@type":"@id","@container":"@set"},"capabilityDelegation":{"@id":"https://w3id.org/security#capabilityDelegationMethod","@type":"@id","@container":"@set"},"keyAgreement":{"@id":"https://w3id.org/security#keyAgreementMethod","@type":"@id","@container":"@set"}}},"cryptosuite":"https://w3id.org/security#cryptosuite","proofValue":{"@id":"https://w3id.org/security#proofValue","@type":"https://w3id.org/security#multibase"},"verificationMethod":{"@id":"https://w3id.org/security#verificationMethod","@type":"@id"}}}}},"https://www.w3.org/2018/credentials/v1":{"@context":{"@version":1.1,"@protected":true,"id":"@id","type":"@type","VerifiableCredential":{"@id":"https://www.w3.org/2018/credentials#VerifiableCredential","@context":{"@version":1.1,"@protected":true,"id":"@id","type":"@type","cred":"https://www.w3.org/2018/credentials#","sec":"https://w3id.org/security#","xsd":"http://www.w3.org/2001/XMLSchema#","credentialSchema":{"@id":"cred:credentialSchema","@type":"@id","@context":{"@version":1.1,"@protected":true,"id":"@id","type":"@type","cred":"https://www.w3.org/2018/credentials#","JsonSchemaValidator2018":"cred:JsonSchemaValidator2018"}},"credentialStatus":{"@id":"cred:credentialStatus","@type":"@id"},"credentialSubject":{"@id":"cred:credentialSubject","@type":"@id"},"evidence":{"@id":"cred:evidence","@type":"@id"},"expirationDate":{"@id":"cred:expirationDate","@type":"xsd:dateTime"},"holder":{"@id":"cred:holder","@type":"@id"},"issued":{"@id":"cred:issued","@type":"xsd:dateTime"},"issuer":{"@id":"cred:issuer","@type":"@id"},"issuanceDate":{"@id":"cred:issuanceDate","@type":"xsd:dateTime"},"proof":{"@id":"sec:proof","@type":"@id","@container":"@graph"},"refreshService":{"@id":"cred:refreshService","@type":"@id","@context":{"@version":1.1,"@protected":true,"id":"@id","type":"@type","cred":"https://www.w3.org/2018/credentials#","ManualRefreshService2018":"cred:ManualRefreshService2018"}},"termsOfUse":{"@id":"cred:termsOfUse","@type":"@id"},"validFrom":{"@id":"cred:validFrom","@type":"xsd:dateTime"},"validUntil":{"@id":"cred:validUntil","@type":"xsd:dateTime"}}},"VerifiablePresentation":{"@id":"https://www.w3.org/2018/credentials#VerifiablePresentation","@context":{"@version":1.1,"@protected":true,"id":"@id","type":"@type","cred":"https://www.w3.org/2018/credentials#","sec":"https://w3id.org/security#","holder":{"@id":"cred:holder","@type":"@id"},"proof":{"@id":"sec:proof","@type":"@id","@container":"@graph"},"verifiableCredential":{"@id":"cred:verifiableCredential","@type":"@id","@container":"@graph"}}},"EcdsaSecp256k1Signature2019":{"@id":"https://w3id.org/security#EcdsaSecp256k1Signature2019","@context":{"@version":1.1,"@protected":true,"id":"@id","type":"@type","sec":"https://w3id.org/security#","xsd":"http://www.w3.org/2001/XMLSchema#","challenge":"sec:challenge","created":{"@id":"http://purl.org/dc/terms/created","@type":"xsd:dateTime"},"domain":"sec:domain","expires":{"@id":"sec:expiration","@type":"xsd:dateTime"},"jws":"sec:jws","nonce":"sec:nonce","proofPurpose":{"@id":"sec:proofPurpose","@type":"@vocab","@context":{"@version":1.1,"@protected":true,"id":"@id","type":"@type","sec":"https://w3id.org/security#","assertionMethod":{"@id":"sec:assertionMethod","@type":"@id","@container":"@set"},"authentication":{"@id":"sec:authenticationMethod","@type":"@id","@container":"@set"}}},"proofValue":"sec:proofValue","verificationMethod":{"@id":"sec:verificationMethod","@type":"@id"}}},"EcdsaSecp256r1Signature2019":{"@id":"https://w3id.org/security#EcdsaSecp256r1Signature2019","@context":{"@version":1.1,"@protected":true,"id":"@id","type":"@type","sec":"https://w3id.org/security#","xsd":"http://www.w3.org/2001/XMLSchema#","challenge":"sec:challenge","created":{"@id":"http://purl.org/dc/terms/created","@type":"xsd:dateTime"},"domain":"sec:domain","expires":{"@id":"sec:expiration","@type":"xsd:dateTime"},"jws":"sec:jws","nonce":"sec:nonce","proofPurpose":{"@id":"sec:proofPurpose","@type":"@vocab","@context":{"@version":1.1,"@protected":true,"id":"@id","type":"@type","sec":"https://w3id.org/security#","assertionMethod":{"@id":"sec:assertionMethod","@type":"@id","@container":"@set"},"authentication":{"@id":"sec:authenticationMethod","@type":"@id","@container":"@set"}}},"proofValue":"sec:proofValue","verificationMethod":{"@id":"sec:verificationMethod","@type":"@id"}}},"Ed25519Signature2018":{"@id":"https://w3id.org/security#Ed25519Signature2018","@context":{"@version":1.1,"@protected":true,"id":"@id","type":"@type","sec":"https://w3id.org/security#","xsd":"http://www.w3.org/2001/XMLSchema#","challenge":"sec:challenge","created":{"@id":"http://purl.org/dc/terms/created","@type":"xsd:dateTime"},"domain":"sec:domain","expires":{"@id":"sec:expiration","@type":"xsd:dateTime"},"jws":"sec:jws","nonce":"sec:nonce","proofPurpose":{"@id":"sec:proofPurpose","@type":"@vocab","@context":{"@version":1.1,"@protected":true,"id":"@id","type":"@type","sec":"https://w3id.org/security#","assertionMethod":{"@id":"sec:assertionMethod","@type":"@id","@container":"@set"},"authentication":{"@id":"sec:authenticationMethod","@type":"@id","@container":"@set"}}},"proofValue":"sec:proofValue","verificationMethod":{"@id":"sec:verificationMethod","@type":"@id"}}},"RsaSignature2018":{"@id":"https://w3id.org/security#RsaSignature2018","@context":{"@version":1.1,"@protected":true,"challenge":"sec:challenge","created":{"@id":"http://purl.org/dc/terms/created","@type":"xsd:dateTime"},"domain":"sec:domain","expires":{"@id":"sec:expiration","@type":"xsd:dateTime"},"jws":"sec:jws","nonce":"sec:nonce","proofPurpose":{"@id":"sec:proofPurpose","@type":"@vocab","@context":{"@version":1.1,"@protected":true,"id":"@id","type":"@type","sec":"https://w3id.org/security#","assertionMethod":{"@id":"sec:assertionMethod","@type":"@id","@container":"@set"},"authentication":{"@id":"sec:authenticationMethod","@type":"@id","@container":"@set"}}},"proofValue":"sec:proofValue","verificationMethod":{"@id":"sec:verificationMethod","@type":"@id"}}},"proof":{"@id":"https://w3id.org/security#proof","@type":"@id","@container":"@graph"}}},"https://w3id.org/security/data-integrity/v1":{"@context":{"id":"@id","type":"@type","@protected":true,"proof":{"@id":"https://w3id.org/security#proof","@type":"@id","@container":"@graph"},"DataIntegrityProof":{"@id":"https://w3id.org/security#DataIntegrityProof","@context":{"@protected":true,"id":"@id","type":"@type","challenge":"https://w3id.org/security#challenge","created":{"@id":"http://purl.org/dc/terms/created","@type":"http://www.w3.org/2001/XMLSchema#dateTime"},"domain":"https://w3id.org/security#domain","expires":{"@id":"https://w3id.org/security#expiration","@type":"http://www.w3.org/2001/XMLSchema#dateTime"},"nonce":"https://w3id.org/security#nonce","proofPurpose":{"@id":"https://w3id.org/security#proofPurpose","@type":"@vocab","@context":{"@protected":true,"id":"@id","type":"@type","assertionMethod":{"@id":"https://w3id.org/security#assertionMethod","@type":"@id","@container":"@set"},"authentication":{"@id":"https://w3id.org/security#authenticationMethod","@type":"@id","@container":"@set"},"capabilityInvocation":{"@id":"https://w3id.org/security#capabilityInvocationMethod","@type":"@id","@container":"@set"},"capabilityDelegation":{"@id":"https://w3id.org/security#capabilityDelegationMethod","@type":"@id","@container":"@set"},"keyAgreement":{"@id":"https://w3id.org/security#keyAgreementMethod","@type":"@id","@container":"@set"}}},"cryptosuite":"https://w3id.org/security#cryptosuite","proofValue":{"@id":"https://w3id.org/security#proofValue","@type":"https://w3id.org/security#multibase"},"verificationMethod":{"@id":"https://w3id.org/security#verificationMethod","@type":"@id"}}}}},"https://w3id.org/vc-revocation-list-2020/v1":{"@context":{"@protected":true,"RevocationList2020Credential":{"@id":"https://w3id.org/vc-revocation-list-2020#RevocationList2020Credential","@context":{"@protected":true,"id":"@id","type":"@type","description":"http://schema.org/description","name":"http://schema.org/name"}},"RevocationList2020":{"@id":"https://w3id.org/vc-revocation-list-2020#RevocationList2020","@context":{"@protected":true,"id":"@id","type":"@type","encodedList":"https://w3id.org/vc-revocation-list-2020#encodedList"}},"RevocationList2020Status":{"@id":"https://w3id.org/vc-revocation-list-2020#RevocationList2020Status","@context":{"@protected":true,"id":"@id","type":"@type","revocationListCredential":{"@id":"https://w3id.org/vc-revocation-list-2020#revocationListCredential","@type":"@id"},"revocationListIndex":"https://w3id.org/vc-revocation-list-2020#revocationListIndex"}}}},"https://w3id.org/vc/status-list/2021/v1":{"@context":{"@protected":true,"StatusList2021Credential":{"@id":"https://w3id.org/vc/status-list#StatusList2021Credential","@context":{"@protected":true,"id":"@id","type":"@type","description":"http://schema.org/description","name":"http://schema.org/name"}},"StatusList2021":{"@id":"https://w3id.org/vc/status-list#StatusList2021","@context":{"@protected":true,"id":"@id","type":"@type","statusPurpose":"https://w3id.org/vc/status-list#statusPurpose","encodedList":"https://w3id.org/vc/status-list#encodedList"}},"StatusList2021Entry":{"@id":"https://w3id.org/vc/status-list#StatusList2021Entry","@context":{"@protected":true,"id":"@id","type":"@type","statusPurpose":"https://w3id.org/vc/status-list#statusPurpose","statusListIndex":"https://w3id.org/vc/status-list#statusListIndex","statusListCredential":{"@id":"https://w3id.org/vc/status-list#statusListCredential","@type":"@id"}}}}},"https://w3id.org/traceability/v1":{"@context":{"@version":1.1,"@vocab":"https://www.w3.org/ns/credentials/issuer-dependent#","ActivityPubActorCard":{"@context":{},"@id":"https://w3id.org/traceability#ActivityPubActorCard"},"AgricultureActivity":{"@context":{"activityDate":{"@id":"https://schema.org/DateTime"},"activityType":{"@id":"https://schema.org/value"},"actor":{"@id":"https://w3id.org/traceability#Person"},"agricultureProduct":{"@id":"https://schema.org/ItemList"},"business":{"@id":"https://w3id.org/traceability#dfn-entities"},"location":{"@id":"https://www.gs1.org/voc/Place"},"observation":{"@id":"https://w3id.org/traceability#observation"}},"@id":"https://w3id.org/traceability#AgricultureActivity"},"AgricultureCanineCard":{"@context":{},"@id":"https://w3id.org/traceability#AgricultureCanineCard"},"AgricultureInspectionCommonInfo":{"@context":{"applicant":{"@id":"https://vocabulary.uncefact.org/associatedParty"},"delegateOf":{"@id":"https://vocabulary.uncefact.org/specifiedLegalOrganization"},"facility":{"@id":"https://www.gs1.org/voc/location"},"inspectionEnded":{"@id":"https://schema.org/endDate"},"inspectionStarted":{"@id":"https://schema.org/startDate"},"inspector":{"@id":"https://w3id.org/traceability#Inspector"},"regulatoryAgency":{"@id":"https://vocabulary.uncefact.org/specifiedLegalOrganization"}},"@id":"https://w3id.org/traceability#AgricultureInspectionCommonInfo"},"AgricultureInspectionGeneric":{"@context":{"commonInfo":{"@id":"https://w3id.org/traceability#AgricultureInspectionCommonInfo"},"inspectionType":{"@id":"https://www.gs1.org/voc/certificationType"},"inspectorCounted":{"@id":"https://schema.org/value"},"name":{"@id":"https://schema.org/name"},"observation":{"@id":"https://vocabulary.uncefact.org/relatedObservation"},"packageSize":{"@id":"https://vocabulary.uncefact.org/Measurement"},"productQuantity":{"@id":"https://vocabulary.uncefact.org/Measurement"},"shipment":{"@id":"https://vocabulary.uncefact.org/transportPackage"},"status":{"@id":"https://vocabulary.uncefact.org/status"}},"@id":"https://w3id.org/traceability#AgricultureInspectionGeneric"},"AgriculturePackage":{"@context":{"agricultureProduct":{"@id":"https://schema.org/ItemList"},"date":{"@id":"https://schema.org/DateTime"},"grade":{"@id":"https://w3id.org/traceability#grade"},"harvest":{"@id":"https://w3id.org/traceability#AgricultureActivity"},"labelImageHash":{"@id":"https://w3id.org/traceability#labelImageHash"},"labelImageUrl":{"@id":"https://schema.org/url"},"packageName":{"@id":"https://schema.org/name"},"responsibleParty":{"@id":"https://w3id.org/traceability#responsibleParty"},"voicePickCode":{"@id":"https://w3id.org/traceability#voicePickCode"}},"@id":"https://w3id.org/traceability#AgriculturePackage"},"AgricultureParcelDelivery":{"@context":{"agriculturePackage":{"@id":"https://schema.org/itemShipped"},"broker":{"@id":"https://schema.org/broker"},"carrier":{"@id":"https://schema.org/carrier"},"consignee":{"@id":"https://schema.org/Organization"},"deliveryAddress":{"@id":"https://schema.org/deliveryAddress"},"deliveryMethod":{"@id":"https://schema.org/hasDeliveryMethod"},"expectedArrival":{"@id":"https://schema.org/expectedArrivalFrom"},"foreignPortExport":{"@id":"https://schema.org/itinerary"},"movementPoints":{"@id":"https://schema.org/itinerary"},"originAddress":{"@id":"https://schema.org/originAddress"},"plannedRoute":{"@id":"https://schema.org/itinerary"},"portOfEntry":{"@id":"https://schema.org/itinerary"},"purchaser":{"@id":"https://schema.org/buyer"},"shipper":{"@id":"https://schema.org/seller"},"specialInstructions":{"@id":"https://schema.org/comment"},"trackingNumber":{"@id":"https://schema.org/trackingNumber"}},"@id":"https://w3id.org/traceability#AgricultureParcelDelivery"},"AgricultureProduct":{"@context":{"countryOfOrigin":{"@id":"https://vocabulary.uncefact.org/originCountry"},"gtin":{"@id":"https://www.gs1.org/voc/gtin"},"labelImageHash":{"@id":"https://w3id.org/traceability#labelImageHash"},"labelImageUrl":{"@id":"https://schema.org/url"},"name":{"@id":"https://schema.org/name"},"plantParts":{"@id":"https://schema.org/description"},"plu":{"@id":"https://w3id.org/traceability#plu"},"product":{"@id":"https://www.gs1.org/voc/Product"},"productImageHash":{"@id":"https://w3id.org/traceability#productImageHash"},"productImageUrl":{"@id":"https://schema.org/url"},"scientificName":{"@id":"https://vocabulary.uncefact.org/scientificName"},"upc":{"@id":"https://www.gs1.org/standards/barcodes/ean-upc"}},"@id":"https://w3id.org/traceability#AgricultureProduct"},"BankAccount":{"@context":{"BIC11":{"@id":"https://w3id.org/traceability#BIC11"},"accountId":{"@id":"https://w3id.org/traceability#accountId"},"address":{"@id":"https://schema.org/PostalAddress"},"familyName":{"@id":"http://schema.org/familyName"},"givenName":{"@id":"http://schema.org/givenName"},"iban":{"@id":"https://w3id.org/traceability#iban"},"routingInfo":{"@id":"https://w3id.org/traceability#routingInfo"}},"@id":"https://w3id.org/traceability#BankAccount"},"BankAccountCredential":{"@context":{},"@id":"https://w3id.org/traceability#BankAccountCredential"},"BankAccountHolderAffirmation":{"@context":{"affirmingParty":{"@id":"https://w3id.org/traceability#evidenceVerifier"},"bank":{"@id":"https://schema.org/Organization"},"bankAccountHolderAffirmationApproach":{"@id":"https://schema.org/name"}},"@id":"https://w3id.org/traceability#BankAccountHolderAffirmation"},"BillOfLading":{"@context":{"billOfLadingNumber":{"@id":"https://service.unece.org/trade/uncefact/vocabulary/uncl1153/#Bill_of_lading_number"},"bookingNumber":{"@id":"https://service.unece.org/trade/uncefact/vocabulary/uncl1153/#Consignment_identifier_carrier_assigned"},"carrier":{"@id":"https://vocabulary.uncefact.org/carrierParty"},"consignee":{"@id":"https://vocabulary.uncefact.org/consigneeParty"},"consignor":{"@id":"https://vocabulary.uncefact.org/consignorParty"},"freight":{"@id":"https://schema.org/ParcelDelivery"},"freightForwarder":{"@id":"https://vocabulary.uncefact.org/freightForwarderParty"},"hazardCode":{"@id":"https://w3id.org/traceability#hazardCode"},"nmfcFreightClass":{"@id":"https://w3id.org/traceability#nmfcFreightClass"},"notify":{"@id":"https://vocabulary.uncefact.org/notifiedParty"},"particulars":{"@id":"https://vocabulary.uncefact.org/includedConsignmentItem"},"portOfDischarge":{"@id":"https://service.unece.org/trade/uncefact/vocabulary/uncl3227/#Place_of_discharge"},"portOfLoading":{"@id":"https://service.unece.org/trade/uncefact/vocabulary/uncl3227/#Place_of_loading"},"relatedDocuments":{"@id":"https://schema.org/Purchase"},"scac":{"@id":"https://service.unece.org/trade/uncefact/vocabulary/uncl1153/#Standard_Carrier_Alpha_Code_(SCAC)_number"}},"@id":"https://w3id.org/traceability#BillOfLading"},"BillOfLadingCredential":{"@context":{},"@id":"https://w3id.org/traceability#BillOfLadingCredential"},"BusinessRegistrationVerification":{"@context":{"affirmingParty":{"@id":"https://w3id.org/traceability#affirmingParty"},"countryOfRegistration":{"@id":"https://schema.org/country"},"registrationUrl":{"@id":"https://schema.org/url"},"taxIdentificationNumber":{"@id":"https://vocabulary.uncefact.org/uncl1153#AHP"}},"@id":"https://w3id.org/traceability#BusinessRegistrationVerification"},"CBP3461EntryCredential":{"@context":{},"@id":"https://w3id.org/traceability#CBP3461EntryCredential"},"CBP7501EntrySummaryCredential":{"@context":{},"@id":"https://w3id.org/traceability#CBP7501EntrySummaryCredential"},"CBPEntry":{"@context":{"arrivalDate":{"@id":"https://vocabulary.uncefact.org/actualArrivalRelatedDateTime"},"bolNumber":{"@id":"https://service.unece.org/trade/uncefact/vocabulary/uncl1153/#Bill_of_lading_number"},"bolType":{"@id":"https://w3id.org/traceability#bolType"},"bondType":{"@id":"https://w3id.org/traceability#bondType"},"bondValue":{"@id":"https://schema.org/MonetaryAmount"},"centralizedExaminationSite":{"@id":"https://w3id.org/traceability#centralizedExaminationSite"},"conveyanceName":{"@id":"https://w3id.org/traceability#conveyanceName"},"conveyanceNameOrFreeTradeZoneID":{"@id":"https://w3id.org/traceability#conveyanceNameOrFreeTradeZoneID"},"entryNumber":{"@id":"https://vocabulary.uncefact.org/ReferenceCodeList#AQM"},"entryType":{"@id":"https://w3id.org/traceability#entryType"},"entryValue":{"@id":"https://schema.org/MonetaryAmount"},"generalOrderNumber":{"@id":"https://w3id.org/traceability#generalOrderNumber"},"headerParties":{"@id":"https://schema.org/Organization"},"importer":{"@id":"https://vocabulary.uncefact.org/importerParty"},"importerOfRecord":{"@id":"https://w3id.org/traceability#importerOfRecord"},"inBondNumber":{"@id":"https://w3id.org/traceability#inBondNumber"},"lineItems":{"@id":"https://w3id.org/traceability#lineItems"},"locationOfGoods":{"@id":"https://schema.org/Place"},"nonAMS":{"@id":"https://w3id.org/traceability#nonAMS"},"originatingWarehouseEntryNumber":{"@id":"https://w3id.org/traceability#originatingWarehouseEntryNumber"},"portOfEntry":{"@id":"https://schema.org/Place"},"portOfUnlading":{"@id":"https://schema.org/Place"},"quantity":{"@id":"https://w3id.org/traceability#quantity"},"referenceIDCode":{"@id":"https://w3id.org/traceability#referenceIDCode"},"referenceIDNumber":{"@id":"https://w3id.org/traceability#referenceIDNumber"},"scac":{"@id":"https://service.unece.org/trade/uncefact/vocabulary/uncl1153/#Standard_Carrier_Alpha_Code_(SCAC)_number"},"splitBill":{"@id":"https://w3id.org/traceability#splitBill"},"suretyCode":{"@id":"https://w3id.org/traceability#suretyCode"},"transportMode":{"@id":"https://w3id.org/traceability#transportMode"},"voyageFlightTrip":{"@id":"https://w3id.org/traceability#voyageFlightTrip"}},"@id":"https://w3id.org/traceability#CBPEntry"},"CBPEntryEntity":{"@context":{"buyer":{"@id":"https://vocabulary.uncefact.org/buyerParty"},"consignee":{"@id":"https://vocabulary.uncefact.org/consigneeParty"},"importer":{"@id":"https://vocabulary.uncefact.org/manufacturerParty"},"importerOfRecord":{"@id":"https://w3id.org/traceability#importerOfRecord"},"seller":{"@id":"https://vocabulary.uncefact.org/sellerParty"}},"@id":"https://w3id.org/traceability#CBPEntryEntity"},"CBPEntryLineItem":{"@context":{"commodity":{"@id":"https://w3id.org/traceability#Commodity"},"countryOfOrigin":{"@id":"https://vocabulary.uncefact.org/originCountry"},"freeTradeZoneFilingDate":{"@id":"https://schema.org/Date"},"freeTradeZoneStatus":{"@id":"https://w3id.org/traceability#freeTradeZoneStatus"},"itemCount":{"@id":"https://vocabulary.uncefact.org/despatchedQuantity"},"itemParty":{"@id":"https://w3id.org/traceability#itemParty"},"productDescription":{"@id":"https://schema.org/description"},"value":{"@id":"https://schema.org/MonetaryAmount"}},"@id":"https://w3id.org/traceability#CBPEntryLineItem"},"CBPEntrySummary":{"@context":{"billOfLadingNumber":{"@id":"https://service.unece.org/trade/uncefact/vocabulary/uncl1153/#Bill_of_lading_number"},"bondType":{"@id":"https://w3id.org/traceability#bondType"},"consigneeNumber":{"@id":"https://schema.org/identifier"},"countryOfOrigin":{"@id":"https://w3id.org/traceability#countryOfOrigin"},"declarationOfImporter":{"@id":"https://w3id.org/traceability#declarationOfImporter"},"descriptionOfMerchandise":{"@id":"https://w3id.org/traceability#descriptionOfMerchandise"},"duty":{"@id":"https://schema.org/MonetaryAmount"},"entryDate":{"@id":"https://schema.org/Date"},"entryNumber":{"@id":"https://vocabulary.uncefact.org/ReferenceCodeList#AQM"},"entryType":{"@id":"https://w3id.org/traceability#entryType"},"exportDate":{"@id":"https://schema.org/Date"},"exportingCountry":{"@id":"https://schema.org/addressCountry"},"immediateTransportationDate":{"@id":"https://schema.org/Date"},"immediateTransportationNumber":{"@id":"https://schema.org/identifier"},"importDate":{"@id":"https://schema.org/Date"},"importerNumber":{"@id":"https://w3id.org/traceability#importerOfRecord"},"importerOfRecord":{"@id":"https://vocabulary.uncefact.org/importerParty"},"importingCarrier":{"@id":"https://vocabulary.uncefact.org/carrierParty"},"locationOfGoods":{"@id":"https://schema.org/Place"},"manufacturerId":{"@id":"https://schema.org/identifier"},"missingDocuments":{"@id":"https://w3id.org/traceability#missingDocuments"},"other":{"@id":"https://schema.org/MonetaryAmount"},"otherFeeSummary":{"@id":"https://w3id.org/traceability#otherFeeSummary"},"portCode":{"@id":"https://schema.org/Place"},"portOfLoading":{"@id":"https://schema.org/Place"},"portOfUnlading":{"@id":"https://schema.org/Place"},"referenceNumber":{"@id":"https://w3id.org/traceability#referenceNumber"},"summaryDate":{"@id":"https://schema.org/Date"},"suretyCode":{"@id":"https://w3id.org/traceability#suretyCode"},"tax":{"@id":"https://schema.org/MonetaryAmount"},"total":{"@id":"https://schema.org/MonetaryAmount"},"totalEnteredValue":{"@id":"https://schema.org/MonetaryAmount"},"transportMode":{"@id":"https://w3id.org/traceability#transportMode"},"ultimateConsignee":{"@id":"https://vocabulary.uncefact.org/shipToParty"}},"@id":"https://w3id.org/traceability#CBPEntrySummary"},"CBPEntrySummaryLineItem":{"@context":{"adCvdNumber":{"@id":"https://w3id.org/traceability#adCvdNumber"},"adCvdRate":{"@id":"https://w3id.org/traceability#adCvdRate"},"agriculturalLicenseNumber":{"@id":"https://w3id.org/traceability#agriculturalLicenseNumber"},"categoryNumber":{"@id":"https://w3id.org/traceability#categoryNumber"},"charges":{"@id":"https://schema.org/MonetaryAmount"},"commodity":{"@id":"https://w3id.org/traceability#Commodity"},"dutyAndIRTax":{"@id":"https://w3id.org/traceability#dutyAndIRTax"},"enteredValue":{"@id":"https://schema.org/MonetaryAmount"},"grossWeight":{"@id":"https://schema.org/weight"},"htsRate":{"@id":"https://w3id.org/traceability#htsRate"},"ircRate":{"@id":"https://w3id.org/traceability#ircRate"},"manifestQuantity":{"@id":"https://w3id.org/traceability#manifestQuantity"},"netQuantity":{"@id":"https://schema.org/Quantity"},"otherFees":{"@id":"https://w3id.org/traceability#otherFees"},"relationship":{"@id":"https://schema.org/MonetaryAmount"},"visaNumber":{"@id":"https://w3id.org/traceability#visaNumber"}},"@id":"https://w3id.org/traceability#CBPEntrySummaryLineItem"},"CBPImporterOfRecord":{"@context":{"identifierType":{"@id":"https://w3id.org/traceability#CBPImporterOfRecordType"},"number":{"@id":"https://w3id.org/traceability#CBPImporterOfRecordNumber"}},"@id":"https://w3id.org/traceability#CBPImporterOfRecord"},"CTPAT":{"@context":{"ctpatAccountNumber":{"@id":"https://w3id.org/traceability#ctpatAccountNumber"},"dateOfLastValidation":{"@id":"https://schema.org/Date"},"issuingCountry":{"@id":"https://schema.org/addressCountry"},"sviNumber":{"@id":"https://w3id.org/traceability#sviNumber"},"tier":{"@id":"https://w3id.org/traceability#ctpatTier"},"tradeSector":{"@id":"https://schema.org/industry"}},"@id":"https://w3id.org/traceability#CTPAT"},"CTPATCertificate":{"@context":{},"@id":"https://w3id.org/traceability#CTPATCertificate"},"CTPATEIPApplication":{"@context":{"applicant":{"@id":"https://w3id.org/traceability#applicant"},"applicantType":{"@id":"https://w3id.org/traceability#applicantType"}},"@id":"https://w3id.org/traceability#CTPAT"},"CTPATEIPApplicationCredential":{"@context":{},"@id":"https://w3id.org/traceability#CTPATEIPApplicationCredential"},"CTPATEIPFulfillmentCredential":{"@context":{},"@id":"https://w3id.org/traceability#CTPATEIPFulfillmentCredential"},"CTPATEIPMarketplaceCredential":{"@context":{},"@id":"https://w3id.org/traceability#CTPATEIPMarketplaceCredential"},"CTPATEIPSellerCredential":{"@context":{},"@id":"https://w3id.org/traceability#CTPATEIPSellerCredential"},"CTPATMember":{"@context":{"faxNumber":{"@id":"https://schema.org/faxNumber"},"iataCarrierCode":{"@id":"https://onerecord.iata.org/cargo/Company#airlineCode"},"importerOfRecord":{"@id":"https://w3id.org/traceability#importerOfRecord"},"logo":{"@id":"https://schema.org/logo"},"name":{"@id":"https://schema.org/name"},"scac":{"@id":"https://service.unece.org/trade/uncefact/vocabulary/uncl1153/#Standard_Carrier_Alpha_Code_(SCAC)_number"},"url":{"@id":"https://schema.org/url"}},"@id":"https://schema.org/Organization"},"CargoItem":{"@context":{"cargoLineItems":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.1#/components/schemas/cargoLineItem"},"carrierBookingReference":{"@id":"https://vocabulary.uncefact.org/carrierAssignedId"},"numberOfPackages":{"@id":"https://vocabulary.uncefact.org/packageQuantity"},"packageCode":{"@id":"https://vocabulary.uncefact.org/packageTypeCode"},"volume":{"@id":"https://vocabulary.uncefact.org/grossVolumeMeasure"},"volumeUnit":{"@id":"https://schema.org/unitCode"},"weight":{"@id":"https://schema.org/weight"},"weightUnit":{"@id":"https://schema.org/unitCode"}},"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.1#/components/schemas/cargoItem"},"CargoLineItem":{"@context":{"HSCode":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.1#/components/schemas/HSCode"},"cargoLineItemID":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.1#/components/schemas/cargoLineItemID"},"descriptionOfGoods":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.1#/components/schemas/descriptionOfGoods"},"shippingMarks":{"@id":"https://vocabulary.uncefact.org/physicalShippingMarks"}},"@id":"https://w3id.org/traceability#CargoLineItem"},"CertificationOfOrigin":{"@context":{},"@id":"https://w3id.org/traceability#CertificationOfOrigin"},"ChargeDeclaration":{"@context":{"dueAgent":{"@id":"https://schema.org/price"},"dueCarrier":{"@id":"https://schema.org/price"},"tax":{"@id":"https://schema.org/price"},"total":{"@id":"https://schema.org/totalPrice"},"valuationCharge":{"@id":"https://schema.org/price"},"weightCharge":{"@id":"https://schema.org/price"}},"@id":"https://w3id.org/traceability#ChargeDeclaration"},"ChemicalProperty":{"@context":{"description":{"@id":"https://schema.org/description"},"formula":{"@id":"https://purl.obolibrary.org/obo/chebi/formula"},"identifier":{"@id":"https://schema.org/identifier"},"inchi":{"@id":"https://purl.obolibrary.org/obo/chebi/inchi"},"inchikey":{"@id":"https://purl.obolibrary.org/obo/chebi/inchikey"},"name":{"@id":"https://schema.org/name"}},"@id":"https://w3id.org/traceability#ChemicalProperty"},"CommercialInvoiceCredential":{"@context":{},"@id":"https://w3id.org/traceability#CommercialInvoiceCredential"},"CommissionEvent":{"@context":{"organization":{"@id":"https://w3id.org/traceability#Organization"},"place":{"@id":"https://schema.org/Place"},"products":{"@id":"https://schema.org/Product"}},"@id":"https://w3id.org/traceability#CommissionEvent"},"Commodity":{"@context":{"commodityCode":{"@id":"https://w3id.org/traceability#commodityCode"},"commodityCodeType":{"@id":"https://w3id.org/traceability#commodityCodeType"},"description":{"@id":"https://schema.org/description"}},"@id":"https://w3id.org/traceability#Commodity"},"ConsignmentItem":{"@context":{"commodity":{"@id":"https://w3id.org/traceability#Commodity"},"countryOfOrigin":{"@id":"https://vocabulary.uncefact.org/originCountry"},"descriptionOfPackagesAndGoods":{"@id":"https://vocabulary.uncefact.org/natureIdentificationCargo"},"grossVolume":{"@id":"https://vocabulary.uncefact.org/grossVolumeMeasure"},"grossWeight":{"@id":"https://schema.org/weight"},"manufacturer":{"@id":"https://vocabulary.uncefact.org/manufacturerParty"},"marksAndNumbers":{"@id":"https://vocabulary.uncefact.org/ShippingMarks"},"netWeight":{"@id":"https://schema.org/weight"},"packageQuantity":{"@id":"https://vocabulary.uncefact.org/packageQuantity"}},"@id":"https://vocabulary.uncefact.org/ConsignmentItem"},"ConsignmentRatingDetail":{"@context":{"chargeableWeight":{"@id":"https://schema.org/weight"},"commodityItemNumber":{"@id":"https://vocabulary.uncefact.org/discountIndicator"},"grossWeight":{"@id":"https://vocabulary.uncefact.org/grossWeightMeasure"},"grossWeightUnit":{"@id":"https://schema.org/unitCode"},"natureAndVolumeOfGoods":{"@id":"https://schema.org/description"},"numberOfPieces":{"@id":"https://vocabulary.uncefact.org/packageQuantity"},"rateCharge":{"@id":"https://schema.org/price"},"rateClass":{"@id":"https://vocabulary.uncefact.org/freightChargeTariffClassCode"},"total":{"@id":"https://schema.org/totalPrice"}},"@id":"https://w3id.org/traceability#ConsignmentRatingDetail"},"ContactPoint":{"@context":{"email":{"@id":"https://schema.org/email"},"name":{"@id":"https://schema.org/name"},"phoneNumber":{"@id":"https://schema.org/telephone"},"place":{"@id":"https://w3id.org/traceability#place"}},"@id":"https://schema.org/ContactPoint"},"Customer":{"@context":{"address":{"@id":"https://schema.org/PostalAddress"},"email":{"@id":"https://schema.org/email"},"name":{"@id":"https://schema.org/name"},"telephone":{"@id":"https://schema.org/telephone"}},"@id":"https://w3id.org/traceability#Customer"},"DCSAShippingInstruction":{"@context":{"cargoItems":{"@id":"https://vocabulary.uncefact.org/includedConsignmentItem"},"carrierBookingReference":{"@id":"https://service.unece.org/trade/uncefact/vocabulary/uncl1153/#Consignment_identifier_carrier_assigned"},"consignee":{"@id":"https://vocabulary.uncefact.org/consigneeParty"},"consigneesFreightForwarder":{"@id":"https://vocabulary.uncefact.org/freightForwarderParty"},"firstNotify":{"@id":"https://vocabulary.uncefact.org/notifiedParty"},"invoicePayableAt":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.1#/components/schemas/invoicePayableAt"},"invoicePayerConsignee":{"@id":"https://vocabulary.uncefact.org/consigneeParty"},"invoicePayerShipper":{"@id":"https://vocabulary.uncefact.org/consignorParty"},"otherNotify":{"@id":"https://vocabulary.uncefact.org/notifiedParty"},"preCarriageUnderShippersResponsibility":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.1#/components/schemas/preCarriageUnderShippersResponsibility"},"secondNotify":{"@id":"https://vocabulary.uncefact.org/notifiedParty"},"shipmentLocations":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DOCUMENTATION_DOMAIN/1.0.0#/components/schemas/shipmentLocation"},"shipper":{"@id":"https://vocabulary.uncefact.org/consignorParty"},"shippersFreightForwarder":{"@id":"https://vocabulary.uncefact.org/freightForwarderParty"},"shippingInstructionID":{"@id":"https://service.unece.org/trade/uncefact/vocabulary/uncl1153/#Transport_instruction_number"},"transportDocumentType":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.1#/components/schemas/transportDocumentType"},"utilizedTransportEquipments":{"@id":"https://vocabulary.uncefact.org/utilizedTransportEquipment"}},"@id":"https://vocabulary.uncefact.org/TransportInstructions"},"DCSAShippingInstructionCredential":{"@context":{},"@id":"https://w3id.org/traceability#DCSAShippingInstructionCredential"},"DCSATransportDocument":{"@context":{"cargoMovementTypeAtDestination":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.2#/components/schemas/cargoMovementTypeAtDestination"},"cargoMovementTypeAtOrigin":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.2#/components/schemas/cargoMovementTypeAtOrigin"},"charges":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.1#/components/schemas/charges"},"clauses":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.1#/components/schemas/clauses"},"declaredValueCurrency":{"@id":"https://schema.org/currency"},"issueDate":{"@id":"https://vocabulary.uncefact.org/issueDateTime"},"issuerCode":{"@id":"https://service.unece.org/trade/uncefact/vocabulary/uncl1153/#Standard_Carrier_Alpha_Code_(SCAC)_number"},"issuerCodeListProvider":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.2#/components/schemas/issuerCodeListProvider"},"placeOfIssue":{"@id":"https://vocabulary.uncefact.org/issueLocation"},"receiptDeliveryTypeAtDestination":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.2#/components/schemas/receiptDeliveryTypeAtDestination"},"receiptDeliveryTypeAtOrigin":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.2#/components/schemas/receiptDeliveryTypeAtOrigin"},"receivedForShipmentDate":{"@id":"https://vocabulary.uncefact.org/availabilityDueDateTime"},"serviceContractReference":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.2#/components/schemas/serviceContractReference"},"shippedOnBoardDate":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.2#/components/schemas/shippedOnBoardDate"},"shippingInstruction":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.1#/components/schemas/shippingInstruction"},"termsAndConditions":{"@id":"https://vocabulary.uncefact.org/termsAndConditionsDescription"},"transportDocumentReference":{"@id":"https://service.unece.org/trade/uncefact/vocabulary/uncl1153/#Bill_of_lading_number"},"transports":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.1#/components/schemas/transports"}},"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.1#/components/schemas/transportDocument"},"DCSATransportDocumentCredential":{"@context":{},"@id":"https://w3id.org/traceability#DCSATransportDocumentCredential"},"DeMinimisShipment":{"@context":{"buyer":{"@id":"https://vocabulary.uncefact.org/buyerParty"},"enhancedProductDescription":{"@id":"https://w3id.org/traceability#enhancedProductDescription"},"finalDeliverTo":{"@id":"https://vocabulary.uncefact.org/shipToParty"},"houseBillOfLadingNumber":{"@id":"https://service.unece.org/trade/uncefact/vocabulary/uncl1153/#House_bill_of_lading_number"},"knownCarrierCustomerFlag":{"@id":"https://w3id.org/traceability#knownCarrierCustomerFlag"},"knownMarketplaceSellerFlag":{"@id":"https://w3id.org/traceability#knownMarketplaceSellerFlag"},"listedPriceOnMarketplace":{"@id":"https://schema.org/price"},"marketplaceSellerAccountNumber":{"@id":"https://service.unece.org/trade/uncefact/vocabulary/uncl1153/#Account_number"},"masterBillOfLadingNumber":{"@id":"https://service.unece.org/trade/uncefact/vocabulary/uncl1153/#Bill_of_lading_number"},"modeOfTransportation":{"@id":"https://vocabulary.uncefact.org/mode"},"originatorCode":{"@id":"https://w3id.org/traceability#originatorCode"},"participantFilerType":{"@id":"https://w3id.org/traceability#participantFilerType"},"productPicture":{"@id":"https://schema.org/image"},"seller":{"@id":"https://vocabulary.uncefact.org/sellerParty"},"shipmentInitiator":{"@id":"https://w3id.org/traceability#shipmentInitiator"},"shipmentSecurityScan":{"@id":"https://w3id.org/traceability#shipmentSecurityScan"},"shipmentTrackingNumber":{"@id":"https://vocabulary.uncefact.org/MarkingInstructionCodeList#37"}},"@id":"https://w3id.org/traceability#DeMinimisShipment"},"DeMinimisShipmentCredential":{"@context":{},"@id":"https://w3id.org/traceability#DeMinimisExemptionCertificate"},"DeliverySchedule":{"@context":{"addressCountry":{"@id":"https://schema.org/addressCountry"},"batchNumber":{"@id":"https://vocabulary.uncefact.org/ReferenceCodeList#BT"},"commodity":{"@id":"https://w3id.org/traceability#Commodity"},"consignee":{"@id":"https://schema.org/Organization"},"consignor":{"@id":"https://schema.org/Organization"},"deliveryDate":{"@id":"https://schema.org/arrivalTime"},"injectionDate":{"@id":"https://schema.org/departureTime"},"injectionVolume":{"@id":"https://schema.org/Quantity"},"place":{"@id":"https://schema.org/Place"},"portOfArrival":{"@id":"https://schema.org/identifier"},"portOfDestination":{"@id":"https://schema.org/identifier"},"portOfEntry":{"@id":"https://schema.org/identifier"},"scheduledDate":{"@id":"https://schema.org/departureTime"},"scheduledVolume":{"@id":"https://schema.org/Quantity"},"transporter":{"@id":"https://schema.org/Organization"}},"@id":"https://w3id.org/traceability#DeliverySchedule"},"DeliveryScheduleCredential":{"@context":{},"@id":"https://w3id.org/traceability#DeliveryScheduleCredential"},"DeliveryStatement":{"@context":{"commodity":{"@id":"https://w3id.org/traceability#Commodity"},"deliveredDate":{"@id":"https://schema.org/Date"},"deliveredVolume":{"@id":"https://schema.org/MeasuredValue"},"observation":{"@id":"https://w3id.org/traceability#observation"}},"@id":"https://w3id.org/traceability#DeliveryStatement"},"DeliveryStatementCredential":{"@context":{},"@id":"https://w3id.org/traceability#DeliveryStatementCredential"},"EDDShape":{"@context":{"abundance":{"@id":"https://schema.org/description"},"approximateQuantity":{"@id":"http://rs.tdwg.org/dwc/terms/organismQuantity"},"centroidType":{"@id":"https://schema.org/polygon"},"commonName":{"@id":"http://rs.tdwg.org/dwc/terms/vernacularName"},"coordinateUncertainty":{"@id":"http://rs.tdwg.org/dwc/terms/coordinateUncertaintyInMeters"},"dateEntered":{"@id":"http://rs.tdwg.org/dwc/terms/eventDate"},"dateUncertaintyDays":{"@id":"https://schema.org/value"},"dateUpdated":{"@id":"http://rs.tdwg.org/dwc/terms/eventDate"},"density":{"@id":"http://rs.tdwg.org/dwc/terms/measurementRemarks"},"grossAreaAcres":{"@id":"http://rs.tdwg.org/dwc/terms/measurementValue"},"habitat":{"@id":"http://rs.tdwg.org/dwc/terms/habitat"},"identificationCredibility":{"@id":"http://rs.tdwg.org/dwc/terms/identificationRemarks"},"incidence":{"@id":"http://rs.tdwg.org/dwc/terms/measurementValue"},"infestedAreaAcres":{"@id":"http://rs.tdwg.org/dwc/terms/measurementValue"},"location":{"@id":"https://schema.org/location"},"managementStatus":{"@id":"https://schema.org/status"},"mapResources":{"@id":"https://w3id.org/traceability#MapResource"},"meta":{"@id":"https://w3id.org/traceability#EDDShapeMeta"},"naDatum":{"@id":"http://rs.tdwg.org/dwc/terms/geodeticDatum"},"observationDate":{"@id":"http://rs.tdwg.org/dwc/terms/eventDate"},"occurrenceStatus":{"@id":"https://schema.org/value"},"percentCover":{"@id":"http://rs.tdwg.org/dwc/terms/measurementValue"},"persistentId":{"@id":"http://rs.tdwg.org/dwc/terms/occurrenceID"},"quantity":{"@id":"http://rs.tdwg.org/dwc/terms/organismQuantity"},"quantityUnits":{"@id":"http://rs.tdwg.org/dwc/terms/organismQuantityType"},"recordBasis":{"@id":"http://rs.tdwg.org/dwc/terms/samplingProtocol"},"reporter":{"@id":"https://schema.org/name"},"reviewer":{"@id":"http://rs.tdwg.org/dwc/terms/identifiedBy"},"scientificName":{"@id":"http://rs.tdwg.org/dwc/terms/scientificName"},"severity":{"@id":"http://rs.tdwg.org/dwc/terms/measurementValue"},"siteName":{"@id":"http://rs.tdwg.org/dwc/terms/locationID"},"status":{"@id":"https://schema.org/description"},"subjectNativity":{"@id":"http://rs.tdwg.org/dwc/terms/establishmentMeans"},"surveyor":{"@id":"http://rs.tdwg.org/dwc/terms/recordedBy"},"uuid":{"@id":"http://rs.tdwg.org/dwc/terms/dateIdentified"},"verificationMethod":{"@id":"http://rs.tdwg.org/dwc/terms/identificationRemarks"},"verified":{"@id":"http://rs.tdwg.org/dwc/terms/identificationVerificationStatus"},"visitType":{"@id":"https://schema.org/description"}},"@id":"https://w3id.org/traceability#EDDShape"},"EDDShapeMeta":{"@context":{"collectionTimeMinutes":{"@id":"https://schema.org/activityDuration"},"comments":{"@id":"http://rs.tdwg.org/dwc/terms/eventRemarks"},"dataCollectionMethod":{"@id":"http://rs.tdwg.org/dwc/terms/measurementMethod"},"hostDamage":{"@id":"https://schema.org/description"},"hostName":{"@id":"http://rs.tdwg.org/dwc/terms/vernacularName"},"hostPhenology":{"@id":"http://rs.tdwg.org/dwc/terms/lifeStage"},"hostScientificName":{"@id":"http://rs.tdwg.org/dwc/terms/scientificName"},"largestOrganismSampled":{"@id":"https://schema.org/size"},"lifeStatus":{"@id":"http://rs.tdwg.org/dwc/terms/occurrenceRemarks"},"localOwnership":{"@id":"http://rs.tdwg.org/dwc/terms/locality"},"locality":{"@id":"http://rs.tdwg.org/dwc/terms/locationRemarks"},"method":{"@id":"http://rs.tdwg.org/dwc/terms/locationRemarks"},"museum":{"@id":"https://schema.org/name"},"museumRecord":{"@id":"http://rs.tdwg.org/dwc/terms/catalogNumber"},"numberCollected":{"@id":"http://rs.tdwg.org/dwc/terms/measurementRemarks"},"numberTraps":{"@id":"http://rs.tdwg.org/dwc/terms/samplingEffort"},"observationId":{"@id":"http://rs.tdwg.org/dwc/terms/identifiedBy"},"originalRecordId":{"@id":"http://rs.tdwg.org/dwc/terms/recordNumber"},"originalReportedName":{"@id":"http://rs.tdwg.org/dwc/terms/verbatimIdentification"},"phenology":{"@id":"http://rs.tdwg.org/dwc/terms/organismRemarks"},"plantsTreated":{"@id":"http://rs.tdwg.org/dwc/terms/organismQuantity"},"populationStatus":{"@id":"http://rs.tdwg.org/dwc/terms/degreeOfEstablishment"},"publicReviewerComments":{"@id":"http://rs.tdwg.org/dwc/terms/identificationRemarks"},"recordOwner":{"@id":"https://schema.org/name"},"recordSourceType":{"@id":"http://rs.tdwg.org/dwc/terms/measurementRemarks"},"reference":{"@id":"http://rs.tdwg.org/dwc/terms/associatedReferences"},"sex":{"@id":"http://rs.tdwg.org/dwc/terms/sex"},"shapeType":{"@id":"https://schema.org/description"},"smallestOrganismSampled":{"@id":"https://schema.org/size"},"substrate":{"@id":"http://rs.tdwg.org/dwc/terms/occurrenceRemarks"},"targetCount":{"@id":"http://rs.tdwg.org/dwc/terms/organismQuantity"},"targetName":{"@id":"http://rs.tdwg.org/dwc/terms/organismName"},"targetRange":{"@id":"http://rs.tdwg.org/dwc/terms/organismQuantity"},"trapType":{"@id":"http://rs.tdwg.org/dwc/terms/samplingProtocol"},"treatmentArea":{"@id":"https://schema.org/value"},"treatmentComments":{"@id":"http://rs.tdwg.org/dwc/terms/eventRemarks"},"voucher":{"@id":"http://rs.tdwg.org/dwc/terms/disposition"},"waterBodyName":{"@id":"http://rs.tdwg.org/dwc/terms/waterBody"},"waterBodyType":{"@id":"http://rs.tdwg.org/dwc/terms/occurrenceRemarks"}},"@id":"https://w3id.org/traceability#EDDShapeMeta"},"Entity":{"@context":{"address":{"@id":"https://schema.org/PostalAddress"},"email":{"@id":"https://schema.org/email"},"entityType":{"@id":"https://schema.org/additionalType"},"faxNumber":{"@id":"https://schema.org/faxNumber"},"legalName":{"@id":"https://schema.org/legalName"},"name":{"@id":"https://schema.org/name"},"phoneNumber":{"@id":"https://schema.org/telephone"},"taxId":{"@id":"https://schema.org/taxID"},"url":{"@id":"https://schema.org/url"}},"@id":"https://w3id.org/traceability#Entity"},"EntryNumber":{"@context":{},"@id":"https://w3id.org/traceability#EntryNumber"},"EntryNumberCredential":{"@context":{},"@id":"https://w3id.org/traceability#EntryNumberCredential"},"Event":{"@context":{},"@id":"https://w3id.org/traceability#EventCredential"},"ExternalResource":{"@context":{"hash":{"@id":"https://schema.org/sha256"},"uri":{"@id":"https://schema.org/contentUrl"}},"@id":"https://w3id.org/traceability#ExternalResource"},"FSMAAbstractKDE":{"@context":{"name":{"@id":"https://schema.org/propertyID"},"value":{"@id":"https://schema.org/value"}},"@id":"https://w3id.org/traceability#FSMAAbstractKDE"},"FSMACreatingCTE":{"@context":{"additionalData":{"@id":"https://w3id.org/traceability#FSMAAbstractKDE"},"dateCompleted":{"@id":"https://schema.org/endDate"},"food":{"@id":"https://w3id.org/traceability#FSMAProduct"},"location":{"@id":"https://schema.org/location"}},"@id":"https://w3id.org/traceability#FSMACreatingCTE"},"FSMACreatingCTECredential":{"@context":{},"@id":"https://w3id.org/traceability#FSMACreatingCTECredential"},"FSMAFirstReceiverData":{"@context":{"additionalData":{"@id":"https://w3id.org/traceability#FSMAAbstractKDE"},"coolingDate":{"@id":"https://schema.org/endDate"},"coolingLocation":{"@id":"https://schema.org/location"},"harvestDate":{"@id":"https://schema.org/endDate"},"originatorLocation":{"@id":"https://schema.org/location"},"packingDate":{"@id":"https://schema.org/endDate"},"packingLocation":{"@id":"https://schema.org/location"},"traceabilityLot":{"@id":"https://w3id.org/traceability#FSMATraceabilityLot"}},"@id":"https://w3id.org/traceability#FSMAFirstReceiverData"},"FSMAFirstReceiverDataCredential":{"@context":{},"@id":"https://w3id.org/traceability#FSMAFirstReceiverDataCredential"},"FSMAGrowingCTE":{"@context":{"additionalData":{"@id":"https://w3id.org/traceability#FSMAAbstractKDE"},"growingAreaCoordinates":{"@id":"https://w3id.org/traceability#GeoCoordinates"},"traceabilityLot":{"@id":"https://w3id.org/traceability#FSMATraceabilityLot"}},"@id":"https://w3id.org/traceability#FSMAGrowingCTE"},"FSMAGrowingCTECredential":{"@context":{},"@id":"https://w3id.org/traceability#FSMAGrowingCTECredential"},"FSMAProduct":{"@context":{"additionalData":{"@id":"https://w3id.org/traceability#FSMAAbstractKDE"},"quantity":{"@id":"https://schema.org/value"},"traceabilityLot":{"@id":"https://w3id.org/traceability#FSMATraceabilityLot"},"unit":{"@id":"https://schema.org/unitText"}},"@id":"https://w3id.org/traceability#FSMAProduct"},"FSMAReceivingCTE":{"@context":{"additionalData":{"@id":"https://w3id.org/traceability#FSMAAbstractKDE"},"dateReceived":{"@id":"https://schema.org/endDate"},"shipment":{"@id":"https://w3id.org/traceability#FSMAShipment"}},"@id":"https://w3id.org/traceability#FSMAReceivingCTE"},"FSMAReceivingCTECredential":{"@context":{},"@id":"https://w3id.org/traceability#FSMAReceivingCTECredential"},"FSMAShipment":{"@context":{"additionalData":{"@id":"https://w3id.org/traceability#FSMAAbstractKDE"},"from":{"@id":"https://schema.org/fromLocation"},"product":{"@id":"https://w3id.org/traceability#FSMAProduct"},"to":{"@id":"https://schema.org/toLocation"}},"@id":"https://w3id.org/traceability#FSMAShipment"},"FSMAShippingCTE":{"@context":{"additionalData":{"@id":"https://w3id.org/traceability#FSMAAbstractKDE"},"dateShipped":{"@id":"https://schema.org/startDate"},"shipment":{"@id":"https://w3id.org/traceability#FSMAShipment"}},"@id":"https://w3id.org/traceability#FSMAShippingCTE"},"FSMAShippingCTECredential":{"@context":{},"@id":"https://w3id.org/traceability#FSMAShippingCTECredential"},"FSMATraceabilityLot":{"@context":{"additionalData":{"@id":"https://w3id.org/traceability#FSMAAbstractKDE"},"lotCode":{"@id":"https://www.gs1.org/voc/hasBatchLotNumber"},"lotCodeAssignmentMethod":{"@id":"https://schema.org/description"},"lotCodeGeneratorLocation":{"@id":"https://schema.org/location"},"lotCodeGeneratorPOC":{"@id":"https://schema.org/contactPoint"},"lotType":{"@id":"https://schema.org/additionalType"}},"@id":"https://w3id.org/traceability#FSMATraceabilityLot"},"FSMATransformingCTE":{"@context":{"additionalData":{"@id":"https://w3id.org/traceability#FSMAAbstractKDE"},"dateCompleted":{"@id":"https://schema.org/endDate"},"foodProduced":{"@id":"https://w3id.org/traceability#FSMAProduct"},"foodUsed":{"@id":"https://w3id.org/traceability#FSMAProduct"},"locationTransformed":{"@id":"https://schema.org/location"}},"@id":"https://w3id.org/traceability#FSMATransformingCTE"},"FSMATransformingCTECredential":{"@context":{},"@id":"https://w3id.org/traceability#FSMATransformingCTECredential"},"FoodDefenseDeficiency":{"@context":{"dateCorrected":{"@id":"https://vocabulary.uncefact.org/occurrenceDateTime"},"description":{"@id":"https://schema.org/description"},"number":{"@id":"https://schema.org/identifier"},"proposedCorrectionDate":{"@id":"https://vocabulary.uncefact.org/occurrenceDateTime"}},"@id":"https://w3id.org/traceability#FoodDefenseDeficiency"},"FoodDefenseInspection":{"@context":{"commonInfo":{"@id":"https://w3id.org/traceability#AgricultureInspectionCommonInfo"},"deficiencies":{"@id":"https://w3id.org/traceability#FoodDefenseDeficiency"},"questions":{"@id":"https://w3id.org/traceability#FoodDefenseQuestion"}},"@id":"https://w3id.org/traceability#FoodDefenseInspection"},"FoodDefenseInspectionCredential":{"@context":{},"@id":"https://w3id.org/traceability#FoodDefenseInspectionCredential"},"FoodDefenseQuestion":{"@context":{"facility":{"@id":"https://schema.org/location"},"number":{"@id":"https://schema.org/identifier"},"rating":{"@id":"https://vocabulary.uncefact.org/assertion"},"response":{"@id":"https://vocabulary.uncefact.org/assertion"}},"@id":"https://w3id.org/traceability#FoodDefenseQuestion"},"FoodGradeInspection":{"@context":{"carrierTypeName":{"@id":"https://vocabulary.uncefact.org/utilizedTransportEquipment"},"commonInfo":{"@id":"https://w3id.org/traceability#AgricultureInspectionCommonInfo"},"doorsOpen":{"@id":"https://vocabulary.uncefact.org/DocumentCodeList#287"},"estimatedCharges":{"@id":"https://vocabulary.uncefact.org/applicableServiceCharge"},"generalRemarks":{"@id":"https://vocabulary.uncefact.org/remarks"},"loadingStatus":{"@id":"https://vocabulary.uncefact.org/DocumentCodeList#287"},"lots":{"@id":"https://w3id.org/traceability#FoodGradeInspectionLot"},"refrigerationUnitOn":{"@id":"https://vocabulary.uncefact.org/DocumentCodeList#287"},"shipment":{"@id":"https://vocabulary.uncefact.org/transportPackage"}},"@id":"https://w3id.org/traceability#FoodGradeInspection"},"FoodGradeInspectionCredential":{"@context":{},"@id":"https://w3id.org/traceability#FoodGradeInspectionCredential"},"FoodGradeInspectionDefect":{"@context":{"averageDefects":{"@id":"https://qudt.org/vocab/unit/PERCENT"},"damage":{"@id":"https://qudt.org/vocab/unit/PERCENT"},"offsizeDefect":{"@id":"https://vocabulary.uncefact.org/damageRemarks"},"seriousDamage":{"@id":"https://qudt.org/vocab/unit/PERCENT"},"verySeriousDamage":{"@id":"https://qudt.org/vocab/unit/PERCENT"}},"@id":"https://w3id.org/traceability#FoodGradeInspectionDefect"},"FoodGradeInspectionLot":{"@context":{"agricultureProduct":{"@id":"https://w3id.org/traceability#AgricultureProduct"},"brandMarkings":{"@id":"https://vocabulary.uncefact.org/brandName"},"countInspected":{"@id":"https://vocabulary.uncefact.org/remark"},"defects":{"@id":"https://w3id.org/traceability#FoodGradeInspectionDefect"},"grade":{"@id":"https://w3id.org/traceability#FoodGradeInspectionResult"},"lotIdentifier":{"@id":"https://www.gs1.org/voc/hasBatchLotNumber"},"maxTemperature":{"@id":"https://schema.org/measuredValue"},"minTemperature":{"@id":"https://schema.org/measuredValue"},"numberContainers":{"@id":"https://vocabulary.uncefact.org/packageQuantity"},"remarks":{"@id":"https://vocabulary.uncefact.org/remark"},"samples":{"@id":"https://w3id.org/traceability#FoodGradeInspectionSample"}},"@id":"https://w3id.org/traceability#FoodGradeInspectionLot"},"FoodGradeInspectionResult":{"@context":{"details":{"@id":"https://vocabulary.uncefact.org/additionalInformationNote"},"gradeInspected":{"@id":"https://vocabulary.uncefact.org/standard"},"requirementsMet":{"@id":"https://vocabulary.uncefact.org/assertion"}},"@id":"https://w3id.org/traceability#FoodGradeInspectionResult"},"FoodGradeInspectionSample":{"@context":{"sampleProperties":{"@id":"https://w3id.org/traceability#FoodGradeInspectionSampleProperty"},"sampleSizeUnits":{"@id":"https://schema.org/unitText"},"sampleSizeValue":{"@id":"https://schema.org/value"}},"@id":"https://w3id.org/traceability#FoodGradeInspectionSample"},"FoodGradeInspectionSampleProperty":{"@context":{"propertyName":{"@id":"https://schema.org/name"},"propertyValue":{"@id":"https://schema.org/value"}},"@id":"https://w3id.org/traceability#FoodGradeInspectionSampleProperty"},"ForeignChargeDeclaration":{"@context":{"foreignCharges":{"@id":"https://schema.org/price"},"foreignChargesCurrency":{"@id":"https://schema.org/currency"},"foreignCurrencyConvertionRate":{"@id":"https://schema.org/currentExchangeRate"}},"@id":"https://w3id.org/traceability#ForeignChargeDeclaration"},"FreightManifest":{"@context":{"billsOfLading":{"@id":"https://vocabulary.uncefact.org/manifestRelatedDocument"},"carrier":{"@id":"https://vocabulary.uncefact.org/carrierParty"},"carrierCode":{"@id":"https://service.unece.org/trade/uncefact/vocabulary/uncl1153/#Standard_Carrier_Alpha_Code_(SCAC)_number"},"transportMeans":{"@id":"https://vocabulary.uncefact.org/transportMeans"},"transportMeansId":{"@id":"https://schema.org/identifier"},"voyage":{"@id":"https://vocabulary.uncefact.org/TransportMovement"}},"@id":"https://vocabulary.uncefact.org/manifestRelatedDocument"},"FreightManifestCredential":{"@context":{},"@id":"https://w3id.org/traceability#FreightManifestCredential"},"FulfillmentRegistrationCredential":{"@context":{},"@id":"https://w3id.org/traceability#FulfillmentRegistrationCredential"},"GAPCorrectiveActionReport":{"@context":{"affirmingRepresentative":{"@id":"https://vocabulary.uncefact.org/associatedParty"},"correctiveAction":{"@id":"https://schema.org/potentialAction"},"nonconformityDescription":{"@id":"https://schema.org/description"},"notifiedCompanyStaff":{"@id":"https://schema.org/actionStatus"}},"@id":"https://w3id.org/traceability#GAPCorrectiveActionReport"},"GAPInspection":{"@context":{"GAPPlus":{"@id":"https://vocabulary.uncefact.org/documentTypeCode"},"additionalComments":{"@id":"https://vocabulary.uncefact.org/remarks"},"commoditiesCovered":{"@id":"https://schema.org/ItemList"},"commoditiesProduced":{"@id":"https://schema.org/ItemList"},"commonInfo":{"@id":"https://w3id.org/traceability#AgricultureInspectionCommonInfo"},"dateReviewed":{"@id":"https://www.gs1.org/voc/certificationAuditDate"},"distributeTo":{"@id":"https://vocabulary.uncefact.org/associatedParty"},"fieldOpsHarvestingScope":{"@id":"https://www.gs1.org/voc/certificationStatement"},"harvestCompany":{"@id":"https://vocabulary.uncefact.org/associatedParty"},"logoUseScope":{"@id":"https://www.gs1.org/voc/certificationStatement"},"meetsCriteria":{"@id":"https://www.gs1.org/voc/certificationStatus"},"operationDescription":{"@id":"https://schema.org/description"},"otherContractors":{"@id":"https://vocabulary.uncefact.org/associatedParty"},"personsInterviewed":{"@id":"https://vocabulary.uncefact.org/associatedParty"},"postHarvestOpsScope":{"@id":"https://www.gs1.org/voc/certificationStatement"},"requestedBy":{"@id":"https://vocabulary.uncefact.org/associatedParty"},"requirementResults":{"@id":"https://w3id.org/traceability#GAPRequirementResult"},"reviewingOfficial":{"@id":"https://vocabulary.uncefact.org/associatedParty"},"subjectToRule":{"@id":"https://vocabulary.uncefact.org/regulationConformityId"},"tomatoGreenhouseScope":{"@id":"https://www.gs1.org/voc/certificationStatement"},"tomatoPackingDistributionScope":{"@id":"https://www.gs1.org/voc/certificationStatement"},"tomatoPackinghouseScope":{"@id":"https://www.gs1.org/voc/certificationStatement"},"tomatoProdHarvestingScope":{"@id":"https://www.gs1.org/voc/certificationStatement"},"totalArea":{"@id":"https://www.gs1.org/voc/grossArea"},"usesLogo":{"@id":"https://vocabulary.uncefact.org/assertion"}},"@id":"https://w3id.org/traceability#GAPInspection"},"GAPInspectionCredential":{"@context":{},"@id":"https://w3id.org/traceability#GAPInspectionCredential"},"GAPLocationCertification":{"@context":{"gapInspection":{"@id":"https://www.gs1.org/voc/certification"},"isCertified":{"@id":"https://www.gs1.org/voc/certificationStatus"},"location":{"@id":"https://www.gs1.org/voc/certificationSubject"}},"@id":"https://w3id.org/traceability#GAPLocationCertification"},"GAPRequirementResult":{"@context":{"auditorComments":{"@id":"https://vocabulary.uncefact.org/remarks"},"correctiveActionReport":{"@id":"https://w3id.org/traceability#GAPCorrectiveActionReport"},"requirementNumber":{"@id":"https://vocabulary.uncefact.org/standard"},"resultCode":{"@id":"https://vocabulary.uncefact.org/assertionCode"}},"@id":"https://w3id.org/traceability#GAPRequirementResult"},"GS18PrefixLicenceCredential":{"@context":{},"@id":"https://w3id.org/traceability#GS18PrefixLicenceCredential"},"GS1CompanyPrefixLicenceCredential":{"@context":{},"@id":"https://w3id.org/traceability#GS1CompanyPrefixLicenceCredential"},"GS1DataCredential":{"@context":{},"@id":"https://w3id.org/traceability#GS1DataCredential"},"GS1DelegationCredential":{"@context":{},"@id":"https://w3id.org/traceability#GS1DelegationCredential"},"GS1IdentificationKeyLicenceCredential":{"@context":{},"@id":"https://w3id.org/traceability#GS1IdentificationKeyLicenceCredential"},"GS1KeyCredential":{"@context":{},"@id":"https://w3id.org/traceability#GS1KeyCredential"},"GS1PrefixLicenceCredential":{"@context":{},"@id":"https://w3id.org/traceability#GS1PrefixLicenceCredential"},"GeoCoordinates":{"@context":{"latitude":{"@id":"https://schema.org/latitude"},"longitude":{"@id":"https://schema.org/longitude"}},"@id":"https://schema.org/GeoCoordinates"},"HouseBillOfLading":{"@context":{"billOfLadingNumber":{"@id":"https://service.unece.org/trade/uncefact/vocabulary/uncl1153/#Bill_of_lading_number"},"bookingNumber":{"@id":"https://vocabulary.uncefact.org/carrierAssignedId"},"carrier":{"@id":"https://vocabulary.uncefact.org/carrierParty"},"consignee":{"@id":"https://vocabulary.uncefact.org/consigneeParty"},"declaredValue":{"@id":"https://vocabulary.uncefact.org/declaredValueForCarriageAmount"},"freightAndCharges":{"@id":"https://vocabulary.uncefact.org/applicableServiceCharge"},"includedConsignmentItems":{"@id":"https://vocabulary.uncefact.org/includedConsignmentItem"},"mainCarriageTransportMovement":{"@id":"https://vocabulary.uncefact.org/mainCarriageTransportMovement"},"notifyParty":{"@id":"https://vocabulary.uncefact.org/notifiedParty"},"onCarriageTransportMovement":{"@id":"https://vocabulary.uncefact.org/onCarriageTransportMovement"},"placeOfDelivery":{"@id":"https://schema.org/Place"},"placeOfReceipt":{"@id":"https://schema.org/Place"},"portOfDischarge":{"@id":"https://vocabulary.uncefact.org/unloadingLocation"},"portOfLoading":{"@id":"https://vocabulary.uncefact.org/transshipmentLocation"},"preCarriageTransportMovement":{"@id":"https://vocabulary.uncefact.org/preCarriageTransportMovement"},"shipper":{"@id":"https://vocabulary.uncefact.org/consignorParty"},"shippersReferences":{"@id":"https://service.unece.org/trade/uncefact/vocabulary/uncl1153/#Consignment_identifier_freight_forwarder_assigned"},"termsAndConditions":{"@id":"https://vocabulary.uncefact.org/termsAndConditionsDescription"},"totalNumberOfPackages":{"@id":"https://vocabulary.uncefact.org/packageQuantity"},"transportEquipmentQuantity":{"@id":"https://vocabulary.uncefact.org/transportEquipmentQuantity"}},"@id":"https://w3id.org/traceability#HouseBillOfLading"},"HouseBillOfLadingCredential":{"@context":{},"@id":"https://w3id.org/traceability#HouseBillOfLadingCredential"},"IATAAirWaybill":{"@context":{"accountingInformation":{"@id":"https://vocabulary.uncefact.org/typeCode"},"agentAccountNumber":{"@id":"https://schema.org/accountId"},"agentIATACode":{"@id":"https://onerecord.iata.org/cargo/Company#iataCargoAgentCode"},"airWaybillNumber":{"@id":"https://schema.org/orderNumber"},"airlineCodeNumber":{"@id":"https://onerecord.iata.org/cargo/Company#airlineCode"},"airportOfDeparture":{"@id":"https://onerecord.iata.org/cargo/Location#code"},"amountOfInsurance":{"@id":"https://schema.org/value"},"carrier":{"@id":"https://vocabulary.uncefact.org/carrierParty"},"chargeCodes":{"@id":"https://vocabulary.uncefact.org/chargeCategoryCode"},"collectChargeDeclaration":{"@id":"https://w3id.org/traceability#CollectChargeDeclaration"},"collectTotal":{"@id":"https://schema.org/totalPrice"},"conditionsOfContract":{"@id":"https://schema.org/termsOfService"},"consignee":{"@id":"https://vocabulary.uncefact.org/consigneeParty"},"consigneesAccountNumber":{"@id":"https://schema.org/accountId"},"consignmentRatingDetails":{"@id":"https://vocabulary.uncefact.org/includedConsignmentItem"},"currency":{"@id":"https://schema.org/currency"},"declaredValueForCarriage":{"@id":"https://schema.org/value"},"declaredValueForCustoms":{"@id":"https://vocabulary.uncefact.org/customsValueSpecifiedAmount"},"destinationAirport":{"@id":"https://onerecord.iata.org/cargo/Company#airlineCode"},"destinationCollectChargeDeclaration":{"@id":"https://w3id.org/traceability#DestinationCollectChargeDeclaration"},"executedAt":{"@id":"https://schema.org/Place"},"executedOn":{"@id":"https://w3id.org/traceability#executionTime"},"handlingInformation":{"@id":"https://vocabulary.uncefact.org/handlingInstructions"},"insuranceClauses":{"@id":"https://vocabulary.uncefact.org/contractualClause"},"issuingCarrierAgent":{"@id":"https://vocabulary.uncefact.org/carrierAgentParty"},"otherCharges":{"@id":"https://schema.org/price"},"otherChargesType":{"@id":"https://vocabulary.uncefact.org/chargeCategoryCode"},"prepaidChargeDeclaration":{"@id":"https://w3id.org/traceability#PrepaidChargeDeclaration"},"prepaidTotal":{"@id":"https://schema.org/totalPrice"},"requestedDate":{"@id":"https://w3id.org/traceability#requestDate"},"requestedFlight":{"@id":"https://schema.org/Flight"},"requestedRouting":{"@id":"https://schema.org/Trip"},"serialNumber":{"@id":"https://schema.org/serialNumber"},"shipper":{"@id":"https://vocabulary.uncefact.org/consignorParty"},"shippersAccountNumber":{"@id":"https://schema.org/accountId"},"shippersCertificationBox":{"@id":"https://vocabulary.uncefact.org/CertificateTypeCodeList#2"},"specialCustomsInformation":{"@id":"https://vocabulary.uncefact.org/SpecifiedDeclaration"},"totalCharge":{"@id":"https://schema.org/totalPrice"},"totalGrossWeight":{"@id":"https://vocabulary.uncefact.org/grossWeightMeasure"},"totalNumberOfPieces":{"@id":"https://vocabulary.uncefact.org/packageQuantity"},"waybillType":{"@id":"https://schema.org/DigitalDocument"},"weightValuationChargesType":{"@id":"https://vocabulary.uncefact.org/chargeCategoryCode"}},"@id":"https://w3id.org/traceability#IATAAirWaybill"},"IATAAirWaybillCredential":{"@context":{},"@id":"https://w3id.org/traceability#IATAAirWaybillCredential"},"ImporterSecurityFiling":{"@context":{"buyer":{"@id":"https://vocabulary.uncefact.org/buyerParty"},"consignee":{"@id":"https://vocabulary.uncefact.org/consigneeParty"},"consolidator":{"@id":"https://vocabulary.uncefact.org/consolidatorParty"},"containerStuffingLocation":{"@id":"https://w3id.org/traceability#containerStuffingLocation"},"filingItems":{"@id":"https://vocabulary.uncefact.org/includedConsignmentItem"},"importer":{"@id":"https://vocabulary.uncefact.org/importerParty"},"seller":{"@id":"https://vocabulary.uncefact.org/sellerParty"},"shipToParty":{"@id":"https://vocabulary.uncefact.org/shipToParty"}},"@id":"https://w3id.org/traceability#ImporterSecurityFiling"},"ImporterSecurityFilingCredential":{"@context":{},"@id":"https://w3id.org/traceability#ImporterSecurityFilingCredential"},"Inbond":{"@context":{"billOfLadingNumber":{"@id":"https://schema.org/identifier"},"carrier":{"@id":"https://vocabulary.uncefact.org/carrierParty"},"entryId":{"@id":"https://schema.org/identifier"},"expectedDeliveryDate":{"@id":"https://schema.org/DateTime"},"ftzNo":{"@id":"https://schema.org/identifier"},"inBondNumber":{"@id":"https://schema.org/identifier"},"inBondType":{"@id":"https://schema.org/identifier"},"irsNumber":{"@id":"https://schema.org/identifier"},"portOfArrival":{"@id":"https://www.gs1.org/voc/Place"},"portOfDestination":{"@id":"https://www.gs1.org/voc/Place"},"portOfEntry":{"@id":"https://www.gs1.org/voc/Place"},"product":{"@id":"https://www.gs1.org/voc/Product"},"recipient":{"@id":"https://vocabulary.uncefact.org/consigneeParty"},"shipment":{"@id":"https://schema.org/ParcelDelivery"},"totalOrderValue":{"@id":"https://schema.org/PriceSpecification"},"valuePerItem":{"@id":"https://schema.org/PriceSpecification"}},"@id":"https://w3id.org/traceability#Inbond"},"InspectionReport":{"@context":{"chemicalObservation":{"@id":"https://schema.org/ItemList"},"comment":{"@id":"https://schema.org/comment"},"inspectors":{"@id":"https://schema.org/Person"},"mechanicalObservation":{"@id":"https://schema.org/ItemList"},"place":{"@id":"https://schema.org/Place"}},"@id":"https://w3id.org/traceability#InspectionReport"},"Inspector":{"@context":{"person":{"@id":"https://schema.org/Person"},"qualification":{"@id":"https://w3id.org/traceability#qualification"}},"@id":"https://w3id.org/traceability#Inspector"},"Instructions":{"@context":{"description":{"@id":"https://schema.org/description"}},"@id":"https://vocabulary.uncefact.org/TransportInstructions"},"IntellectualPropertyRights":{"@context":{"intellectualPropertyRightsOwner":{"@id":"https://w3id.org/traceability#intellectualPropertyRightsOwner"},"intellectualPropertyRightsProduct":{"@id":"https://w3id.org/traceability#intellectualPropertyRightsProduct"},"intellectualPropertyRightsType":{"@id":"https://w3id.org/traceability#intellectualPropertyRightsType"}},"@id":"https://w3id.org/traceability#IntellectualPropertyRights"},"IntellectualPropertyRightsAffirmation":{"@context":{"affirmingParty":{"@id":"https://w3id.org/traceability#affirmingParty"},"evidenceDocumentUrl":{"@id":"https://schema.org/url"},"intellectualPropertyRightsType":{"@id":"https://w3id.org/traceability#intellectualPropertyRightsType"}},"@id":"https://w3id.org/traceability#IntellectualPropertyRightsAffirmation"},"IntellectualPropertyRightsCredential":{"@context":{},"@id":"https://w3id.org/traceability#IntellectualPropertyRightsCredential"},"IntentToImport":{"@context":{"declarationDate":{"@id":"https://schema.org/startDate"},"exporter":{"@id":"https://vocabulary.uncefact.org/exporterParty"},"importer":{"@id":"https://vocabulary.uncefact.org/importerParty"},"product":{"@id":"https://www.gs1.org/voc/Product"}},"@id":"https://w3id.org/traceability#IntentToImport"},"IntentToImportCredential":{"@context":{},"@id":"https://w3id.org/traceability#IntentToImportCredential"},"InventoryRegistrationCredential":{"@context":{},"@id":"https://w3id.org/traceability#InventoryRegistrationCredential"},"Invoice":{"@context":{"billOfLadingNumber":{"@id":"https://service.unece.org/trade/uncefact/vocabulary/uncl1153/#Bill_of_lading_number"},"buyer":{"@id":"https://vocabulary.uncefact.org/buyerParty"},"comments":{"@id":"https://schema.org/Comment"},"consignee":{"@id":"https://vocabulary.uncefact.org/consigneeParty"},"customerReferenceNumber":{"@id":"https://service.unece.org/trade/uncefact/vocabulary/uncl1153/#Customer_reference_number"},"deductions":{"@id":"https://vocabulary.uncefact.org/deductionAmount"},"destinationCountry":{"@id":"https://vocabulary.uncefact.org/destinationCountry"},"discounts":{"@id":"https://schema.org/discount"},"freightCost":{"@id":"https://schema.org/DeliveryChargeSpecification"},"identifier":{"@id":"https://schema.org/identifier"},"insuranceCost":{"@id":"https://vocabulary.uncefact.org/insuranceChargeTotalAmount"},"invoiceDate":{"@id":"https://vocabulary.uncefact.org/invoiceDateTime"},"invoiceNumber":{"@id":"https://vocabulary.uncefact.org/invoiceIssuerReference"},"itemsShipped":{"@id":"https://schema.org/itemShipped"},"letterOfCreditNumber":{"@id":"https://vocabulary.uncefact.org/letterOfCreditDocument"},"originCountry":{"@id":"https://vocabulary.uncefact.org/originCountry"},"packageQuantity":{"@id":"https://vocabulary.uncefact.org/packageQuantity"},"portOfEntry":{"@id":"https://schema.org/Place"},"purchaseDate":{"@id":"https://schema.org/paymentDueDate"},"referencesOrder":{"@id":"https://schema.org/referencesOrder"},"seller":{"@id":"https://vocabulary.uncefact.org/sellerParty"},"tax":{"@id":"https://vocabulary.uncefact.org/taxTotalAmount"},"termsOfDelivery":{"@id":"https://vocabulary.uncefact.org/specifiedDeliveryTerms"},"termsOfPayment":{"@id":"https://vocabulary.uncefact.org/specifiedPaymentTerms"},"termsOfSettlement":{"@id":"https://schema.org/currency"},"totalPaymentDue":{"@id":"https://schema.org/totalPaymentDue"},"totalWeight":{"@id":"https://schema.org/weight"}},"@id":"https://schema.org/Invoice"},"LEIaddress":{"@context":{"addressNumberWithinBuilding":{"@id":"https://schema.org/value"},"city":{"@id":"https://schema.org/addressLocality"},"country":{"@id":"https://schema.org/addressCountry"},"language":{"@id":"https://schema.org/Language"},"mailRouting":{"@id":"https://schema.org/Trip"},"postalCode":{"@id":"https://schema.org/postalCode"},"region":{"@id":"https://schema.org/addressRegion"}},"@id":"https://w3id.org/traceability#LEIaddress"},"LEIauthority":{"@context":{"otherValidationAuthorityID":{"@id":"https://schema.org/taxID"},"validationAuthorityEntityID":{"@id":"https://schema.org/leiCode"},"validationAuthorityID":{"@id":"https://schema.org/identifier"}},"@id":"https://w3id.org/traceability#LEIauthority"},"LEIentity":{"@context":{"associatedEntity":{"@id":"https://schema.org/Organization"},"entityCategory":{"@id":"https://schema.org/category"},"expirationDate":{"@id":"https://schema.org/expires"},"expirationReason":{"@id":"https://schema.org/Answer"},"headquartersAddress":{"@id":"https://schema.org/PostalAddress"},"legalAddress":{"@id":"https://w3id.org/traceability#LEIaddress"},"legalForm":{"@id":"https://schema.org/additionalType"},"legalJurisdiction":{"@id":"https://schema.org/countryOfOrigin"},"legalName":{"@id":"https://schema.org/legalName"},"legalNameLanguage":{"@id":"https://schema.org/Language"},"otherAddresses":{"@id":"https://schema.org/Place"},"registrationAuthority":{"@id":"https://w3id.org/traceability#LEIauthority"},"status":{"@id":"https://schema.org/status"},"successorEntity":{"@id":"https://schema.org/Corporation"}},"@id":"https://w3id.org/traceability#LEIentity"},"LEIevidenceDocument":{"@context":{"entity":{"@id":"https://w3id.org/traceability#LEIentity"},"lei":{"@id":"https://www.gleif.org/en/about-lei/iso-17442-the-lei-code-structure#"},"registration":{"@id":"https://w3id.org/traceability#LEIregistration"}},"@id":"https://w3id.org/traceability#LEIevidenceDocument"},"LEIregistration":{"@context":{"initialRegistrationDate":{"@id":"https://schema.org/dateIssued"},"lastUpdateDate":{"@id":"https://schema.org/dateModified"},"managingLou":{"@id":"https://www.gleif.org/en/about-lei/iso-17442-the-lei-code-structure#"},"nextRenewalDate":{"@id":"https://schema.org/validThrough"},"status":{"@id":"https://schema.org/status"},"validationAuthority":{"@id":"https://w3id.org/traceability#LEIauthority"},"validationSources":{"@id":"https://schema.org/eventStatus"}},"@id":"https://w3id.org/traceability#LEIregistration"},"LaceyActProductDeclaration":{"@context":{"articleOrComponent":{"@id":"https://vocabulary.uncefact.org/procedureCode"},"countryOfHarvest":{"@id":"https://vocabulary.uncefact.org/originCountry"},"enteredValue":{"@id":"https://vocabulary.uncefact.org/customsValueSpecifiedAmount"},"htsNumber":{"@id":"https://vocabulary.uncefact.org/applicableRegulatoryProcedure"},"percentRecycled":{"@id":"https://qudt.org/vocab/unit/PERCENT"},"plantScientificNames":{"@id":"https://w3id.org/traceability#Taxonomy"},"quantityOfPlantMaterial":{"@id":"https://vocabulary.uncefact.org/totalPackageSpecifiedQuantity"}},"@id":"https://w3id.org/traceability#LaceyActProductDeclaration"},"LinkRole":{"@context":{"linkRelationship":{"@id":"https://schema.org/linkRelationship"},"target":{"@id":"https://schema.org/target"}},"@id":"https://schema.org/LinkRole"},"MapResource":{"@context":{"external":{"@id":"https://w3id.org/traceability#ExternalResource"},"geoJson":{"@id":"https://schema.org/geo"},"resourceType":{"@id":"https://schema.org/additionalType"}},"@id":"https://w3id.org/traceability#MapResource"},"MasterBillOfLading":{"@context":{"billOfLadingNumber":{"@id":"https://service.unece.org/trade/uncefact/vocabulary/uncl1153/#Bill_of_lading_number"},"bookingNumber":{"@id":"https://vocabulary.uncefact.org/carrierAssignedId"},"carrier":{"@id":"https://vocabulary.uncefact.org/carrierParty"},"consignee":{"@id":"https://vocabulary.uncefact.org/consigneeParty"},"declaredValue":{"@id":"https://vocabulary.uncefact.org/declaredValueForCarriageAmount"},"forwardingAgent":{"@id":"https://vocabulary.uncefact.org/freightForwarderParty"},"freightAndCharges":{"@id":"https://vocabulary.uncefact.org/applicableServiceCharge"},"includedConsignmentItems":{"@id":"https://vocabulary.uncefact.org/includedConsignmentItem"},"mainCarriageTransportMovement":{"@id":"https://vocabulary.uncefact.org/mainCarriageTransportMovement"},"notifyParty":{"@id":"https://vocabulary.uncefact.org/notifiedParty"},"onCarriageTransportMovement":{"@id":"https://vocabulary.uncefact.org/onCarriageTransportMovement"},"placeOfDelivery":{"@id":"https://schema.org/Place"},"placeOfReceipt":{"@id":"https://schema.org/Place"},"portOfDischarge":{"@id":"https://vocabulary.uncefact.org/unloadingLocation"},"portOfLoading":{"@id":"https://vocabulary.uncefact.org/transshipmentLocation"},"preCarriageTransportMovement":{"@id":"https://vocabulary.uncefact.org/preCarriageTransportMovement"},"scac":{"@id":"https://service.unece.org/trade/uncefact/vocabulary/uncl1153/#Standard_Carrier_Alpha_Code_(SCAC)_number"},"shippedOnBoardDate":{"@id":"https://schema.org/Date"},"shipper":{"@id":"https://vocabulary.uncefact.org/consignorParty"},"shippersReferences":{"@id":"https://service.unece.org/trade/uncefact/vocabulary/uncl1153/#Consignment_identifier_freight_forwarder_assigned"},"termsAndConditions":{"@id":"https://vocabulary.uncefact.org/termsAndConditionsDescription"},"totalNumberOfPackages":{"@id":"https://vocabulary.uncefact.org/packageQuantity"},"transportEquipmentQuantity":{"@id":"https://vocabulary.uncefact.org/transportEquipmentQuantity"},"utilizedTransportEquipment":{"@id":"https://vocabulary.uncefact.org/utilizedTransportEquipment"}},"@id":"https://w3id.org/traceability#MasterBillOfLading"},"MasterBillOfLadingCredential":{"@context":{},"@id":"https://w3id.org/traceability#MasterBillOfLadingCredential"},"MeasuredProperty":{"@context":{},"@id":"https://w3id.org/traceability#MeasuredProperty"},"MeasuredValue":{"@context":{"unitCode":{"@id":"https://schema.org/unitCode"},"value":{"@id":"https://schema.org/value"}},"@id":"https://schema.org/QuantitativeValue"},"MechanicalProperty":{"@context":{"description":{"@id":"https://schema.org/description"},"identifier":{"@id":"https://schema.org/identifier"},"name":{"@id":"https://schema.org/name"}},"@id":"https://w3id.org/traceability#MechanicalProperty"},"MillTestReportCredential":{"@context":{},"@id":"https://w3id.org/traceability#MillTestReportCredential"},"MonetaryAmount":{"@context":{"currency":{"@id":"https://schema.org/currency"},"value":{"@id":"https://schema.org/value"}},"@id":"https://schema.org/MonetaryAmount"},"MonthlyAdvanceManifest":{"@context":{"date":{"@id":"https://schema.org/Date"}},"@id":"https://w3id.org/traceability#MonthlyAdvanceManifest"},"MonthlyAdvanceManifestCredential":{"@context":{},"@id":"https://w3id.org/traceability#MonthlyAdvanceManifestCredential"},"MonthlyDeliveryStatement":{"@context":{"itemsDelivered":{"@id":"https://w3id.org/traceability#DeliveryStatement"}},"@id":"https://w3id.org/traceability#MonthlyDeliveryStatement"},"MultiModalBillOfLading":{"@context":{"billOfLadingNumber":{"@id":"https://service.unece.org/trade/uncefact/vocabulary/uncl1153/#Bill_of_lading_number"},"bookingNumber":{"@id":"https://vocabulary.uncefact.org/carrierAssignedId"},"carrier":{"@id":"https://vocabulary.uncefact.org/carrierParty"},"consignee":{"@id":"https://vocabulary.uncefact.org/consigneeParty"},"declaredValue":{"@id":"https://vocabulary.uncefact.org/declaredValueForCarriageAmount"},"freightAndCharges":{"@id":"https://vocabulary.uncefact.org/applicableServiceCharge"},"mainCarriageTransportMovement":{"@id":"https://vocabulary.uncefact.org/mainCarriageTransportMovement"},"notifyParty":{"@id":"https://vocabulary.uncefact.org/notifiedParty"},"onCarriageTransportMovement":{"@id":"https://vocabulary.uncefact.org/onCarriageTransportMovement"},"particulars":{"@id":"https://vocabulary.uncefact.org/includedConsignmentItem"},"placeOfDelivery":{"@id":"https://schema.org/Place"},"placeOfReceipt":{"@id":"https://schema.org/Place"},"portOfDischarge":{"@id":"https://vocabulary.uncefact.org/unloadingLocation"},"portOfLoading":{"@id":"https://vocabulary.uncefact.org/transshipmentLocation"},"preCarriageTransportMovement":{"@id":"https://vocabulary.uncefact.org/preCarriageTransportMovement"},"shippedOnBoardDate":{"@id":"https://schema.org/Date"},"shipper":{"@id":"https://vocabulary.uncefact.org/consignorParty"},"shippersReferences":{"@id":"https://service.unece.org/trade/uncefact/vocabulary/uncl1153/#Consignment_identifier_freight_forwarder_assigned"},"termsAndConditions":{"@id":"https://vocabulary.uncefact.org/termsAndConditionsDescription"},"totalNumberOfPackages":{"@id":"https://vocabulary.uncefact.org/packageQuantity"},"transportEquipmentQuantity":{"@id":"https://vocabulary.uncefact.org/transportEquipmentQuantity"},"utilizedTransportEquipment":{"@id":"https://vocabulary.uncefact.org/utilizedTransportEquipment"}},"@id":"https://w3id.org/traceability#MultiModalBillOfLading"},"MultiModalBillOfLadingCredential":{"@context":{},"@id":"https://w3id.org/traceability#MultiModalBillOfLadingCredential"},"NAISMADateTime":{"@context":{"collectionDate":{"@id":"http://rs.tdwg.org/dwc/terms/eventDate"},"dateAccuracyDays":{"@id":"https://schema.org/value"}},"@id":"https://w3id.org/traceability#NAISMADateTime"},"NAISMAInfestation":{"@context":{"areaSurveyed":{"@id":"http://rs.tdwg.org/dwc/terms/measurementValue"},"incidence":{"@id":"http://rs.tdwg.org/dwc/terms/measurementValue"},"infestedArea":{"@id":"http://rs.tdwg.org/dwc/terms/measurementValue"},"organismQuantity":{"@id":"http://rs.tdwg.org/dwc/terms/organismQuantity"},"organismQuantityUnits":{"@id":"https://schema.org/unitText"},"severity":{"@id":"http://rs.tdwg.org/dwc/terms/measurementValue"},"severityUnits":{"@id":"https://schema.org/unitText"}},"@id":"https://w3id.org/traceability#NAISMAInfestation"},"NAISMAInformationSource":{"@context":{"dataSource":{"@id":"https://w3id.org/traceability#Entity"},"examiner":{"@id":"http://rs.tdwg.org/dwc/terms/recordedBy"},"reference":{"@id":"http://rs.tdwg.org/dwc/terms/associatedReferences"}},"@id":"https://w3id.org/traceability#NAISMAInformationSource"},"NAISMALocation":{"@context":{"centroidType":{"@id":"https://schema.org/polygon"},"coordinateUncertainty":{"@id":"http://rs.tdwg.org/dwc/terms/coordinateUncertaintyInMeters"},"dataType":{"@id":"https://schema.org/additionalType"},"datum":{"@id":"http://rs.tdwg.org/dwc/terms/geodeticDatum"},"description":{"@id":"https://schema.org/description"},"ecosystem":{"@id":"http://rs.tdwg.org/dwc/terms/locationRemarks"},"location":{"@id":"https://w3id.org/traceability#Place"},"sourceOfLocation":{"@id":"http://rs.tdwg.org/dwc/terms/georeferenceProtocol"},"wellKnownText":{"@id":"http://rs.tdwg.org/dwc/terms/footprintWKT"}},"@id":"https://w3id.org/traceability#NAISMALocation"},"NAISMARecordLevelIdentifiers":{"@context":{"catalogNumber":{"@id":"https://schema.org/identifier"},"pid":{"@id":"https://schema.org/identifier"},"uuid":{"@id":"https://schema.org/identifier"}},"@id":"https://w3id.org/traceability#NAISMARecordLevelIdentifiers"},"NAISMARecordStatus":{"@context":{"managementStatus":{"@id":"https://schema.org/status"},"method":{"@id":"http://rs.tdwg.org/dwc/terms/measurementMethod"},"occurrenceStatus":{"@id":"https://schema.org/status"},"populationStatus":{"@id":"http://rs.tdwg.org/dwc/terms/degreeOfEstablishment"},"recordBasis":{"@id":"http://rs.tdwg.org/dwc/terms/samplingProtocol"},"recordType":{"@id":"https://schema.org/description"},"verificationMethod":{"@id":"http://rs.tdwg.org/dwc/terms/identificationRemarks"}},"@id":"https://w3id.org/traceability#NAISMARecordStatus"},"NAISMASubject":{"@context":{"comments":{"@id":"http://rs.tdwg.org/dwc/terms/occurrenceRemarks"},"hostSpecies":{"@id":"https://w3id.org/traceability#Taxonomy"},"lifeStage":{"@id":"http://rs.tdwg.org/dwc/terms/lifeStage"},"sex":{"@id":"http://rs.tdwg.org/dwc/terms/sex"}},"@id":"https://w3id.org/traceability#NAISMASubject"},"NAISMATaxonomy":{"@context":{"commonName":{"@id":"http://rs.tdwg.org/dwc/terms/vernacularName"},"speciesName":{"@id":"https://w3id.org/traceability#Taxonomy"},"taxonomicSerialNumber":{"@id":"http://rs.tdwg.org/dwc/terms/taxonID"}},"@id":"https://w3id.org/traceability#NAISMATaxonomy"},"Observation":{"@context":{"date":{"@id":"https://schema.org/observationDate"},"measurement":{"@id":"https://w3id.org/traceability#MeasuredValue"},"property":{"@id":"https://schema.org/measuredProperty"}},"@id":"https://schema.org/Observation"},"OilAndGasDeliveryTicket":{"@context":{"batchNumber":{"@id":"https://vocabulary.uncefact.org/ReferenceCodeList#BT"},"closeDate":{"@id":"https://schema.org/Date"},"consignee":{"@id":"https://vocabulary.uncefact.org/consigneeParty"},"consignor":{"@id":"https://vocabulary.uncefact.org/consignorParty"},"createdDate":{"@id":"https://schema.org/Date"},"observation":{"@id":"https://w3id.org/traceability#observation"},"openDate":{"@id":"https://schema.org/Date"},"place":{"@id":"https://schema.org/Place"},"product":{"@id":"https://www.gs1.org/voc/Product"},"ticketControlNumber":{"@id":"https://vocabulary.uncefact.org/ReferenceCodeList#CBA"}},"@id":"https://w3id.org/traceability#OilAndGasDeliveryTicket"},"OilAndGasDeliveryTicketCredential":{"@context":{},"@id":"https://w3id.org/traceability#OilAndGasDeliveryTicketCredential"},"OilAndGasProduct":{"@context":{"UWI":{"@id":"https://schema.org/identifier"},"facility":{"@id":"https://www.gs1.org/voc/Place"},"observation":{"@id":"https://w3id.org/traceability#observation"},"product":{"@id":"https://www.gs1.org/voc/Product"},"productionDate":{"@id":"https://schema.org/DateTime"}},"@id":"https://w3id.org/traceability#OilAndGasProduct"},"OilAndGasProductCredential":{"@context":{},"@id":"https://w3id.org/traceability#OilAndGasProductCredential"},"Order":{"@context":{"orderNumber":{"@id":"https://schema.org/orderNumber"},"orderedItems":{"@id":"https://schema.org/orderedItem"}},"@id":"https://schema.org/Order"},"OrderConfirmationCredential":{"@context":{},"@id":"https://w3id.org/traceability#OrderConfirmationCredential"},"OrderItem":{"@context":{"fulfillmentCenter":{"@id":"https://vocabulary.uncefact.org/logisticsServiceProviderParty"},"marketplace":{"@id":"https://vocabulary.uncefact.org/Marketplace"},"orderedItem":{"@id":"https://schema.org/orderedItem"},"orderedQuantity":{"@id":"https://schema.org/orderQuantity"}},"@id":"https://schema.org/OrderItem"},"OrganicCertification":{"@context":{"anniversaryDate":{"@id":"https://www.gs1.org/voc/certificationEndDate"},"certifiedOperation":{"@id":"https://www.gs1.org/voc/certificationSubject"},"certifyingAgent":{"@id":"https://www.gs1.org/voc/certificationAgency"},"countryOfIssuance":{"@id":"https://www.gs1.org/voc/countryCode"},"effectiveDate":{"@id":"https://www.gs1.org/voc/certificationStartDate"},"issueDate":{"@id":"https://www.gs1.org/voc/initialCertificationDate"},"operationCategory":{"@id":"https://www.gs1.org/voc/certificationStatement"},"organicProducts":{"@id":"https://www.gs1.org/voc/certificationStatement"}},"@id":"https://w3id.org/traceability#OrganicCertification"},"OrganicCertificationCredential":{"@context":{},"@id":"https://w3id.org/traceability#OrganicCertificationCredential"},"OrganicInspection":{"@context":{"OSPSectionReviews":{"@id":"https://w3id.org/traceability#OrganicOSPSectionReview"},"announcedInspection":{"@id":"https://vocabulary.uncefact.org/information"},"applicantCertificationNumber":{"@id":"https://vocabulary.uncefact.org/identification"},"attachments":{"@id":"https://vocabulary.uncefact.org/additionalDocument"},"authorizedOperationContacts":{"@id":"https://vocabulary.uncefact.org/specifiedContactPerson"},"commonInfo":{"@id":"https://w3id.org/traceability#AgricultureInspectionCommonInfo"},"continuingCertification":{"@id":"https://vocabulary.uncefact.org/information"},"estimatedHarvestDate":{"@id":"https://www.gs1.org/voc/harvestDate"},"introductionOperationDescription":{"@id":"https://schema.org/description"},"issuesRequests":{"@id":"https://vocabulary.uncefact.org/additionalDescription"},"newApplicant":{"@id":"https://vocabulary.uncefact.org/information"},"newLocationActivity":{"@id":"https://vocabulary.uncefact.org/information"},"peoplePresent":{"@id":"https://vocabulary.uncefact.org/associatedParty"},"pesticideResidueSampling":{"@id":"https://vocabulary.uncefact.org/information"},"reinstatement":{"@id":"https://vocabulary.uncefact.org/information"},"resolutionIssuesActionItems":{"@id":"https://schema.org/description"},"samplingDetails":{"@id":"https://vocabulary.uncefact.org/content"}},"@id":"https://w3id.org/traceability#OrganicInspection"},"OrganicOSPSectionReview":{"@context":{"OSPSectionCode":{"@id":"https://vocabulary.uncefact.org/standard"},"attachments":{"@id":"https://vocabulary.uncefact.org/additionalDocument"},"resultCode":{"@id":"https://vocabulary.uncefact.org/assertionCode"},"verificationExplanations":{"@id":"https://vocabulary.uncefact.org/remarks"}},"@id":"https://w3id.org/traceability#OrganicOSPSectionReview"},"OrganicProductCertification":{"@context":{"agricultureProduct":{"@id":"https://www.gs1.org/voc/certificationSubject"},"isCertified":{"@id":"https://www.gs1.org/voc/certificationStatus"},"organicCertification":{"@id":"https://www.gs1.org/voc/certification"}},"@id":"https://w3id.org/traceability#OrganicProductCertification"},"OrganicReview":{"@context":{"additionalInformation":{"@id":"https://vocabulary.uncefact.org/content"},"certificationDecision":{"@id":"https://www.gs1.org/voc/certificationStatus"},"decisionMaker":{"@id":"https://vocabulary.uncefact.org/specifiedContactPerson"},"inspectionReport":{"@id":"https://w3id.org/traceability#OrganicInspection"},"reviewer":{"@id":"https://vocabulary.uncefact.org/specifiedContactPerson"}},"@id":"https://w3id.org/traceability#OrganicReview"},"Organization":{"@context":{"contactPoint":{"@id":"https://schema.org/ContactPoint"},"description":{"@id":"https://schema.org/description"},"email":{"@id":"https://schema.org/email"},"faxNumber":{"@id":"https://schema.org/faxNumber"},"globalLocationNumber":{"@id":"https://schema.org/globalLocationNumber"},"iataCarrierCode":{"@id":"https://onerecord.iata.org/cargo/Company#airlineCode"},"legalName":{"@id":"https://schema.org/legalName"},"leiCode":{"@id":"https://schema.org/leiCode"},"location":{"@id":"https://schema.org/location"},"logo":{"@id":"https://schema.org/logo"},"name":{"@id":"https://schema.org/name"},"phoneNumber":{"@id":"https://schema.org/telephone"},"taxId":{"@id":"https://schema.org/taxID"},"url":{"@id":"https://schema.org/url"}},"@id":"https://schema.org/Organization"},"OssfScorecard":{"@context":{},"@id":"https://w3id.org/traceability#OssfScorecard"},"PGAShipmentStatus":{"@context":{"entryLineSequence":{"@id":"https://w3id.org/traceability#entryLineSequence"},"entryNo":{"@id":"https://w3id.org/traceability#entryNo"},"recordNo":{"@id":"https://w3id.org/traceability#recordNo"},"statusCode":{"@id":"https://w3id.org/traceability#statusCode"},"statusCodeDescription":{"@id":"https://w3id.org/traceability#statusCodeDescription"},"subReasonCode":{"@id":"https://w3id.org/traceability#subReasonCode"},"subReasonCodeDescription":{"@id":"https://w3id.org/traceability#subReasonCodeDescription"},"validCodeReason":{"@id":"https://w3id.org/traceability#validCodeReason"},"validCodeReasonDescription":{"@id":"https://w3id.org/traceability#validCodeReasonDescription"}},"@id":"https://w3id.org/traceability#PGAShipmentStatus"},"PGAShipmentStatusCredential":{"@context":{},"@id":"https://w3id.org/traceability#PGAShipmentStatusCredential"},"PGAShipmentStatusList":{"@context":{"pgaShipmentStatusItems":{"@id":"https://schema.org/ItemList"}},"@id":"https://w3id.org/traceability#PGAShipmentStatusList"},"Package":{"@context":{"depth":{"@id":"https://schema.org/depth"},"grossVolume":{"@id":"https://vocabulary.uncefact.org/grossVolumeMeasure"},"grossWeight":{"@id":"https://vocabulary.uncefact.org/grossWeightMeasure"},"height":{"@id":"https://schema.org/height"},"includedTradeLineItems":{"@id":"https://vocabulary.uncefact.org/specifiedTradeLineItem"},"netWeight":{"@id":"https://vocabulary.uncefact.org/netWeightMeasure"},"packagingType":{"@id":"https://www.gs1.org/voc/packagingMaterial"},"perPackageUnitQuantity":{"@id":"https://vocabulary.uncefact.org/perPackageUnitQuantity"},"physicalShippingMarks":{"@id":"https://vocabulary.uncefact.org/physicalShippingMarks"},"width":{"@id":"https://schema.org/width"}},"@id":"https://vocabulary.uncefact.org/Package"},"PackingList":{"@context":{"buyer":{"@id":"https://vocabulary.uncefact.org/buyerParty"},"deliveryStatus":{"@id":"https://schema.org/deliveryStatus"},"estimatedTimeOfArrival":{"@id":"https://schema.org/arrivalTime"},"handlingInstructions":{"@id":"https://vocabulary.uncefact.org/handlingInstructions"},"hasDeliveryMethod":{"@id":"https://schema.org/hasDeliveryMethod"},"invoiceId":{"@id":"https://schema.org/identifier"},"orderNumber":{"@id":"https://schema.org/orderNumber"},"partOfOrder":{"@id":"https://vocabulary.uncefact.org/includedConsignmentItem"},"seller":{"@id":"https://vocabulary.uncefact.org/sellerParty"},"shipFromParty":{"@id":"https://vocabulary.uncefact.org/shipFromParty"},"shipToParty":{"@id":"https://vocabulary.uncefact.org/shipToParty"},"shipmentId":{"@id":"https://vocabulary.uncefact.org/MarkingInstructionCodeList#37"},"totalGrossVolume":{"@id":"https://vocabulary.uncefact.org/grossVolumeMeasure"},"totalGrossWeight":{"@id":"https://vocabulary.uncefact.org/grossWeightMeasure"},"totalItemQuantity":{"@id":"https://vocabulary.uncefact.org/tradeLineItemQuantity"},"totalNetWeight":{"@id":"https://vocabulary.uncefact.org/netWeightMeasure"},"totalNumberOfPackages":{"@id":"https://vocabulary.uncefact.org/packageQuantity"},"trackingNumber":{"@id":"https://schema.org/trackingNumber"}},"@id":"https://w3id.org/traceability#PackingList"},"PackingListCredential":{"@context":{},"@id":"https://w3id.org/traceability#PackingListCredential"},"ParcelDelivery":{"@context":{"consignee":{"@id":"https://schema.org/Organization"},"deliveryAddress":{"@id":"https://schema.org/deliveryAddress"},"deliveryMethod":{"@id":"https://schema.org/DeliveryMethod"},"expectedArrival":{"@id":"https://schema.org/expectedArrivalFrom"},"item":{"@id":"https://schema.org/itemShipped"},"originAddress":{"@id":"https://schema.org/originAddress"},"partOfOrder":{"@id":"https://schema.org/partOfOrder"},"specialInstructions":{"@id":"https://schema.org/comment"},"trackingNumber":{"@id":"https://schema.org/trackingNumber"}},"@id":"https://schema.org/ParcelDelivery"},"PartOfOrder":{"@context":{"grossVolume":{"@id":"https://vocabulary.uncefact.org/grossVolumeMeasure"},"grossWeight":{"@id":"https://vocabulary.uncefact.org/grossWeightMeasure"},"itemQuantity":{"@id":"https://vocabulary.uncefact.org/tradeLineItemQuantity"},"manufacturer":{"@id":"https://schema.org/Organization"},"netWeight":{"@id":"https://vocabulary.uncefact.org/netWeightMeasure"},"orderNumber":{"@id":"https://schema.org/orderNumber"},"packageQuantity":{"@id":"https://vocabulary.uncefact.org/packageQuantity"},"transportPackages":{"@id":"https://vocabulary.uncefact.org/Package"}},"@id":"https://schema.org/OrderItem"},"Person":{"@context":{"email":{"@id":"https://schema.org/email"},"firstName":{"@id":"https://schema.org/givenName"},"jobTitle":{"@id":"https://schema.org/jobTitle"},"lastName":{"@id":"https://schema.org/familyName"},"phoneNumber":{"@id":"https://schema.org/telephone"},"taxId":{"@id":"https://schema.org/taxID"},"worksFor":{"@id":"https://schema.org/worksFor"}},"@id":"https://schema.org/Person"},"PestDetermination":{"@context":{"date":{"@id":"https://dwc.tdwg.org/list/#dwc_dateIdentified"},"determination":{"@id":"https://w3id.org/traceability#Taxonomy"},"determinedBy":{"@id":"https://dwc.tdwg.org/list/#dwc_identifiedBy"},"final":{"@id":"https://dwc.tdwg.org/list/#dwc_identificationVerificationStatus"},"method":{"@id":"https://dwc.tdwg.org/list/#dwc_measurementMethod"},"notes":{"@id":"https://dwc.tdwg.org/list/#dwc_identificationRemarks"},"reportable":{"@id":"https://dwc.tdwg.org/list/#dwc_occurrenceStatus"}},"@id":"https://w3id.org/traceability#PestDetermination"},"PestSample":{"@context":{"affected":{"@id":"https://dwc.tdwg.org/list/#dwc_measurementValue"},"aliveAdults":{"@id":"http://rs.tdwg.org/dwc/terms/individualCount"},"aliveCysts":{"@id":"http://rs.tdwg.org/dwc/terms/individualCount"},"aliveEggs":{"@id":"http://rs.tdwg.org/dwc/terms/individualCount"},"aliveJuveniles":{"@id":"http://rs.tdwg.org/dwc/terms/individualCount"},"aliveLarvae":{"@id":"http://rs.tdwg.org/dwc/terms/individualCount"},"aliveNymphs":{"@id":"http://rs.tdwg.org/dwc/terms/individualCount"},"alivePupae":{"@id":"http://rs.tdwg.org/dwc/terms/individualCount"},"castSkins":{"@id":"http://rs.tdwg.org/dwc/terms/individualCount"},"deadAdults":{"@id":"http://rs.tdwg.org/dwc/terms/individualCount"},"deadCysts":{"@id":"http://rs.tdwg.org/dwc/terms/individualCount"},"deadEggs":{"@id":"http://rs.tdwg.org/dwc/terms/individualCount"},"deadJuveniles":{"@id":"http://rs.tdwg.org/dwc/terms/individualCount"},"deadLarvae":{"@id":"http://rs.tdwg.org/dwc/terms/individualCount"},"deadNymphs":{"@id":"http://rs.tdwg.org/dwc/terms/individualCount"},"deadPupae":{"@id":"http://rs.tdwg.org/dwc/terms/individualCount"},"hostName":{"@id":"https://w3id.org/traceability#Taxonomy"},"hostQuantity":{"@id":"http://rs.tdwg.org/dwc/terms/organismQuantity"},"pestDistribution":{"@id":"http://rs.tdwg.org/dwc/terms/degreeOfEstablishment"},"pestProximity":{"@id":"http://rs.tdwg.org/dwc/terms/occurrenceRemarks"},"pestType":{"@id":"http://rs.tdwg.org/dwc/terms/occurrenceRemarks"},"plantDistribution":{"@id":"http://rs.tdwg.org/dwc/terms/degreeOfEstablishment"},"plantPartsAffected":{"@id":"http://rs.tdwg.org/dwc/terms/occurrenceRemarks"},"samplingMethod":{"@id":"http://rs.tdwg.org/dwc/terms/samplingProtocol"},"trapLureType":{"@id":"http://rs.tdwg.org/dwc/terms/samplingProtocol"},"trapNumber":{"@id":"http://rs.tdwg.org/dwc/terms/samplingProtocol"}},"@id":"https://w3id.org/traceability#PestSample"},"Phytosanitary":{"@context":{"additionalDeclaration":{"@id":"https://schema.org/Comment"},"agriculturePackage":{"@id":"https://w3id.org/traceability#AgriculturePackage"},"applicant":{"@id":"https://w3c-ccg.github.io/traceability-vocab/#dfn-entities"},"certificateNumber":{"@id":"https://schema.org/identifier"},"disinfectionChemical":{"@id":"https://schema.org/activeIngredient"},"disinfectionConcentration":{"@id":"https://w3id.org/traceability#disinfectionConcentration"},"disinfectionDate":{"@id":"https://schema.org/validFrom"},"disinfectionDuration":{"@id":"https://schema.org/duration"},"disinfectionTemperature":{"@id":"https://schema.org/MeasuredValue"},"disinfectionTreatment":{"@id":"https://w3id.org/traceability#disinfectionTreatment"},"distinguishingMarks":{"@id":"https://www.gs1.org/voc/variantDescription"},"facility":{"@id":"https://www.gs1.org/voc/Place"},"inspectionDate":{"@id":"https://schema.org/DateTime"},"inspectionType":{"@id":"https://schema.org/value"},"inspector":{"@id":"https://w3id.org/traceability#Inspector"},"notes":{"@id":"https://schema.org/Comment"},"observation":{"@id":"https://schema.org/ItemList"},"plantOrg":{"@id":"https://www.gs1.org/voc/Organization"},"portOfEntry":{"@id":"https://w3id.org/traceability#portOfEntry"},"shipment":{"@id":"https://schema.org/AgricultureParcelDelivery"},"signatureDate":{"@id":"https://schema.org/DateTime"}},"@id":"https://w3id.org/traceability/Phytosanitary"},"Place":{"@context":{"address":{"@id":"https://schema.org/PostalAddress"},"geo":{"@id":"https://schema.org/GeoCoordinates"},"globalLocationNumber":{"@id":"https://schema.org/globalLocationNumber"},"iataAirportCode":{"@id":"https://onerecord.iata.org/cargo/Location#code"},"locationName":{"@id":"https://schema.org/name"},"unLocode":{"@id":"https://vocabulary.uncefact.org/Location"},"usPortCode":{"@id":"https://w3id.org/traceability#usPortCode"}},"@id":"https://schema.org/Place"},"PlantSystemsInspection":{"@context":{"additionalViolations":{"@id":"https://schema.org/description"},"commonInfo":{"@id":"https://w3id.org/traceability#AgricultureInspectionCommonInfo"},"observationsImprovements":{"@id":"https://schema.org/description"},"productsPacked":{"@id":"https://vocabulary.uncefact.org/specifiedProduct"},"questions":{"@id":"https://w3id.org/traceability#PlantSystemsQuestion"},"summaryOfDeficiencies":{"@id":"https://schema.org/description"}},"@id":"https://w3id.org/traceability#PlantSystemsInspection"},"PlantSystemsInspectionCredential":{"@context":{},"@id":"https://w3id.org/traceability#PlantSystemsInspectionCredential"},"PlantSystemsQuestion":{"@context":{"code":{"@id":"https://schema.org/identifier"},"pointsDeducted":{"@id":"https://schema.org/ratingValue"},"pointsWorth":{"@id":"https://schema.org/ratingValue"}},"@id":"https://w3id.org/traceability#PlantSystemsQuestion"},"PostalAddress":{"@context":{"addressCountry":{"@id":"https://schema.org/addressCountry"},"addressLocality":{"@id":"https://schema.org/addressLocality"},"addressRegion":{"@id":"https://schema.org/addressRegion"},"countyCode":{"@id":"https://gs1.org/voc/countyCode"},"crossStreet":{"@id":"https://gs1.org/voc/crossStreet"},"name":{"@id":"https://schema.org/name"},"postOfficeBoxNumber":{"@id":"https://schema.org/postOfficeBoxNumber"},"postalCode":{"@id":"https://schema.org/postalCode"},"streetAddress":{"@id":"https://schema.org/streetAddress"}},"@id":"https://schema.org/PostalAddress"},"PostmanCollection":{"@context":{},"@id":"https://w3id.org/traceability#PostmanCollection"},"PriceSpecification":{"@context":{"price":{"@id":"https://schema.org/price"},"priceCurrency":{"@id":"https://schema.org/priceCurrency"}},"@id":"https://schema.org/PriceSpecification"},"Product":{"@context":{"batchNumber":{"@id":"https://vocabulary.uncefact.org/ReferenceCodeList#BT"},"category":{"@id":"https://schema.org/category"},"commodity":{"@id":"https://w3id.org/traceability#Commodity"},"depth":{"@id":"https://schema.org/depth"},"description":{"@id":"https://schema.org/description"},"gtin":{"@id":"https://schema.org/gtin"},"height":{"@id":"https://schema.org/height"},"images":{"@id":"https://schema.org/image"},"manufacturer":{"@id":"https://schema.org/manufacturer"},"name":{"@id":"https://schema.org/name"},"productPrice":{"@id":"https://schema.org/priceSpecification"},"seller":{"@id":"https://vocabulary.uncefact.org/sellerParty"},"sizeOrAmount":{"@id":"https://schema.org/size"},"sku":{"@id":"https://schema.org/sku"},"weight":{"@id":"https://schema.org/weight"},"width":{"@id":"https://schema.org/width"}},"@id":"https://schema.org/Product"},"ProductRegistrationCredential":{"@context":{},"@id":"https://w3id.org/traceability#ProductRegistrationCredential"},"Purchase":{"@context":{"customer":{"@id":"https://w3id.org/traceability#Entity"},"internalCertificateNo":{"@id":"https://schema.org/identifier"},"invoice":{"@id":"https://w3id.org/traceability#Invoice"},"invoiceNo":{"@id":"https://schema.org/identifier"},"purchaseOrderNo":{"@id":"https://schema.org/identifier"}},"@id":"https://w3id.org/traceability#Purchase"},"PurchaseOrder":{"@context":{"buyer":{"@id":"https://vocabulary.uncefact.org/buyerParty"},"comments":{"@id":"https://schema.org/Comment"},"discounts":{"@id":"https://vocabulary.uncefact.org/deductionAmount"},"freightCost":{"@id":"https://schema.org/DeliveryChargeSpecification"},"insuranceCost":{"@id":"https://vocabulary.uncefact.org/insuranceChargeTotalAmount"},"itemsOrdered":{"@id":"https://vocabulary.uncefact.org/SupplyChainTradeLineItem"},"orderDate":{"@id":"https://vocabulary.uncefact.org/buyerOrderDateTime"},"purchaseOrderNo":{"@id":"https://vocabulary.uncefact.org/ReferenceCodeList#AUJ"},"seller":{"@id":"https://vocabulary.uncefact.org/sellerParty"},"shipToParty":{"@id":"https://vocabulary.uncefact.org/shipToParty"},"tax":{"@id":"https://vocabulary.uncefact.org/taxTotalAmount"},"termsOfDelivery":{"@id":"https://vocabulary.uncefact.org/specifiedDeliveryTerms"},"termsOfPayment":{"@id":"https://vocabulary.uncefact.org/specifiedPaymentTerms"},"totalOrderAmount":{"@id":"https://vocabulary.uncefact.org/grandTotalAmount"},"totalPaymentDue":{"@id":"https://schema.org/totalPaymentDue"},"totalWeight":{"@id":"https://schema.org/weight"}},"@id":"https://vocabulary.uncefact.org/DocumentCodeList#105"},"PurchaseOrderCredential":{"@context":{},"@id":"https://w3id.org/traceability#PurchaseOrderCredential"},"Qualification":{"@context":{"qualificationCategory":{"@id":"https://schema.org/credentialCategory"},"qualificationValue":{"@id":"https://schema.org/hasCredential"}},"@id":"https://schema.org/qualifications"},"QuantitativeValue":{"@context":{"unitCode":{"@id":"https://schema.org/unitCode"},"value":{"@id":"https://schema.org/value"}},"@id":"https://schema.org/QuantitativeValue"},"RawMaterial":{"@context":{"inchiKey":{"@id":"https://w3id.org/traceability#inchiKey"},"name":{"@id":"https://schema.org/name"}},"@id":"https://w3id.org/traceability#RawMaterial"},"RevocationList2020Status":{"@context":{"revocationListCredential":{"@id":"https://schema.org/LinkRole"},"revocationListIndex":{"@id":"https://schema.org/itemListElement"}},"@id":"https://w3id.org/traceability#RevocationList2020Status"},"RoutingInfo":{"@context":{"code":{"@id":"https://w3id.org/traceability#routingInfoCode"},"value":{"@id":"https://w3id.org/traceability#routingInfoValue"}},"@id":"https://w3id.org/traceability#RoutingInfo"},"SIMASteelImportLicense":{"@context":{"countryOfExportation":{"@id":"https://vocabulary.uncefact.org/exportCountry"},"countryOfOrigin":{"@id":"https://vocabulary.uncefact.org/originCountry"},"customsEntryNumber":{"@id":"https://vocabulary.uncefact.org/ReferenceCodeList#AQM"},"expectedDateOfExport":{"@id":"https://vocabulary.uncefact.org/DateTimePeriodFunctionCodeList#129"},"expectedDateOfImport":{"@id":"https://vocabulary.uncefact.org/DateTimePeriodFunctionCodeList#151"},"expectedPortOfEntry":{"@id":"https://vocabulary.uncefact.org/LocationFunctionCodeList#24"},"exporter":{"@id":"https://vocabulary.uncefact.org/exporterParty"},"importer":{"@id":"https://vocabulary.uncefact.org/importerParty"},"licenseNumber":{"@id":"https://schema.org/identifier"},"licensedCompany":{"@id":"https://schema.org/Organization"},"manufacturer":{"@id":"https://vocabulary.uncefact.org/manufacturerParty"},"productInformation":{"@id":"https://w3id.org/traceability#productInformation"}},"@id":"https://w3id.org/traceability#SIMASteelImportLicense"},"SIMASteelImportLicenseApplicationCredential":{"@context":{},"@id":"https://w3id.org/traceability#SIMASteelImportLicenseApplicationCredential"},"SIMASteelImportLicenseCredential":{"@context":{},"@id":"https://w3id.org/traceability#SIMASteelImportLicenseCredential"},"SIMASteelImportProductSpecifier":{"@context":{"countryOfMeltAndPour":{"@id":"https://w3id.org/traceability#countryOfMeltAndPour"},"customsValue":{"@id":"https://vocabulary.uncefact.org/declaredValueForCustomsAmount"},"productCategory":{"@id":"https://w3id.org/traceability#ProductCategory"}},"@id":"https://w3id.org/traceability#SIMASteelImportProductSpecifier"},"SeaCargoManifest":{"@context":{"grossTonnage":{"@id":"https://vocabulary.uncefact.org/grossWeightMeasure"},"netTonnage":{"@id":"https://vocabulary.uncefact.org/netWeightMeasure"},"plannedArrivalDateTime":{"@id":"https://schema.org/DateTime"},"plannedDepartureDateTime":{"@id":"https://schema.org/Date"},"portOfArrival":{"@id":"https://schema.org/Place"},"portOfDeparture":{"@id":"https://schema.org/Place"},"registrationCountry":{"@id":"https://vocabulary.uncefact.org/registrationCountry"},"totalNumberOfPackages":{"@id":"https://vocabulary.uncefact.org/packageQuantity"},"totalNumberOfTransportDocuments":{"@id":"https://schema.org/Number"},"transportDocumentInformation":{"@id":"https://vocabulary.uncefact.org/transportContractDocument"},"transportEquipmentQuantity":{"@id":"https://vocabulary.uncefact.org/transportEquipmentQuantity"},"vesselName":{"@id":"https://vocabulary.uncefact.org/transportMeans"},"vesselNumber":{"@id":"https://schema.org/identifier"},"voyageNumber":{"@id":"https://vocabulary.uncefact.org/TransportMovement"}},"@id":"https://w3id.org/traceability#SeaCargoManifest"},"SeaCargoManifestCredential":{"@context":{},"@id":"https://w3id.org/traceability#SeaCargoManifestCredential"},"Seal":{"@context":{"sealNumber":{"@id":"https://vocabulary.uncefact.org/identifier"},"sealSource":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.1#/components/schemas/sealSource"},"sealType":{"@id":"https://vocabulary.uncefact.org/logisticsSealTypeCode"}},"@id":"https://vocabulary.uncefact.org/Seal"},"SellerRegistrationCredential":{"@context":{},"@id":"https://w3id.org/traceability#SellerRegistrationCredential"},"ServiceCharge":{"@context":{"appliedAmount":{"@id":"https://vocabulary.uncefact.org/appliedAmount"},"calculationBasis":{"@id":"https://vocabulary.uncefact.org/calculationBasis"},"chargeCode":{"@id":"https://vocabulary.uncefact.org/chargeCategoryCode"},"chargeText":{"@id":"https://schema.org/description"},"paymentTerm":{"@id":"https://vocabulary.uncefact.org/PaymentTerms"},"rate":{"@id":"https://vocabulary.uncefact.org/unitPrice"}},"@id":"https://vocabulary.uncefact.org/ServiceCharge"},"ShippingDetails":{"@context":{"containerNumber":{"@id":"https://w3id.org/traceability#containerNumber"},"customerAddress":{"@id":"https://w3id.org/traceability#customerAddress"},"manufacturerAddress":{"@id":"https://w3id.org/traceability#manufacturerAddress"},"masterBillOfLadingNumber":{"@id":"https://vocabulary.uncefact.org/uncl1153#MB"}},"@id":"https://w3id.org/traceability#ShippingDetails"},"ShippingInstructions":{"@context":{"billOfLadingNumber":{"@id":"https://service.unece.org/trade/uncefact/vocabulary/uncl1153/#Bill_of_lading_number"},"bookingNumber":{"@id":"https://vocabulary.uncefact.org/carrierAssignedId"},"consignee":{"@id":"https://vocabulary.uncefact.org/consigneeParty"},"declaredValue":{"@id":"https://vocabulary.uncefact.org/declaredValueForCarriageAmount"},"includedConsignmentItems":{"@id":"https://vocabulary.uncefact.org/includedConsignmentItem"},"mainCarriageTransportMovement":{"@id":"https://vocabulary.uncefact.org/mainCarriageTransportMovement"},"notifyParty":{"@id":"https://vocabulary.uncefact.org/notifiedParty"},"onCarriageTransportMovement":{"@id":"https://vocabulary.uncefact.org/onCarriageTransportMovement"},"placeOfDelivery":{"@id":"https://schema.org/Place"},"placeOfReceipt":{"@id":"https://schema.org/Place"},"portOfDischarge":{"@id":"https://vocabulary.uncefact.org/unloadingLocation"},"portOfLoading":{"@id":"https://vocabulary.uncefact.org/transshipmentLocation"},"preCarriageTransportMovement":{"@id":"https://vocabulary.uncefact.org/preCarriageTransportMovement"},"shipper":{"@id":"https://vocabulary.uncefact.org/consignorParty"},"shippersReferences":{"@id":"https://service.unece.org/trade/uncefact/vocabulary/uncl1153/#Consignment_identifier_freight_forwarder_assigned"},"totalNumberOfPackages":{"@id":"https://vocabulary.uncefact.org/packageQuantity"},"transportEquipmentQuantity":{"@id":"https://vocabulary.uncefact.org/transportEquipmentQuantity"},"utilizedTransportEquipment":{"@id":"https://vocabulary.uncefact.org/utilizedTransportEquipment"}},"@id":"https://w3id.org/traceability#ShippingInstructions"},"ShippingInstructionsCredential":{"@context":{},"@id":"https://w3id.org/traceability#ShippingInstructionsCredential"},"ShippingStop":{"@context":{"arrivalDate":{"@id":"https://schema.org/expectedArrivalFrom"},"carrier":{"@id":"https://schema.org/carrier"},"from":{"@id":"https://schema.org/fromLocation"},"path":{"@id":"https://schema.org/line"},"shippingMethod":{"@id":"https://schema.org/hasDeliveryMethod"},"shippingStopAddress":{"@id":"https://schema.org/address"},"stopType":{"@id":"https://schema.org/description"},"to":{"@id":"https://schema.org/toLocation"},"vesselNumber":{"@id":"https://schema.org/identifier"}},"@id":"https://w3id.org/traceability#ShippingStop"},"SoftwareBillOfMaterials":{"@context":{},"@id":"https://w3id.org/traceability#SoftwareBillOfMaterials"},"SoftwareBillofMaterialsCredential":{"@context":{},"@id":"https://w3id.org/traceability#SoftwareBillOfMaterialsCredential"},"SteelProduct":{"@context":{"commodity":{"@id":"https://w3id.org/traceability#Commodity"},"grade":{"@id":"https://schema.org/Rating"},"heatNumber":{"@id":"https://schema.org/identifier"},"inspection":{"@id":"https://w3id.org/traceability#Inspection"},"originalCountryOfMeltAndPour":{"@id":"https://schema.org/addressCountry"},"specification":{"@id":"https://schema.org/identifier"},"weight":{"@id":"https://schema.org/weight"},"weightUnit":{"@id":"http://qudt.org/schema/qudt/Unit"}},"@id":"https://w3id.org/traceability#SteelProduct"},"Taxonomy":{"@context":{"class":{"@id":"http://rs.tdwg.org/dwc/terms/class"},"family":{"@id":"http://rs.tdwg.org/dwc/terms/family"},"genus":{"@id":"http://rs.tdwg.org/dwc/terms/genus"},"kingdom":{"@id":"http://rs.tdwg.org/dwc/terms/kingdom"},"order":{"@id":"http://rs.tdwg.org/dwc/terms/order"},"phylum":{"@id":"http://rs.tdwg.org/dwc/terms/phylum"},"species":{"@id":"http://rs.tdwg.org/dwc/terms/specificEpithet"},"subspecies":{"@id":"http://rs.tdwg.org/dwc/terms/infraspecificEpithet"},"variety":{"@id":"http://rs.tdwg.org/dwc/terms/cultivarEpithet"}},"@id":"https://w3id.org/traceability#Taxonomy"},"TemperatureReading":{"@context":{"bulbNumber":{"@id":"https://schema.org/identifier"},"tests":{"@id":"https://schema.org/value"}},"@id":"https://w3id.org/traceability#TemperatureReading"},"Template":{"@context":{"image":{"@id":"https://schema.org/image"}},"@id":"https://w3id.org/traceability#Template"},"Thing":{"@context":{},"@id":"https://schema.org/Thing"},"ThingCredential":{"@context":{},"@id":"https://w3id.org/traceability#ThingCredential"},"TraceabilityAPI":{"@context":{},"@id":"https://w3id.org/traceability#TraceabilityAPI"},"TraceablePresentation":{"@context":{"replace":{"@id":"https://w3id.org/traceability#workflow-replace","@type":"@id"},"workflow":{"@context":{"definition":{"@id":"https://w3id.org/traceability#workflow-definition","@type":"@id"},"instance":{"@id":"https://w3id.org/traceability#workflow-instance","@type":"@id"}}}},"@id":"https://w3id.org/traceability#traceable-presentation"},"TradeLineItem":{"@context":{"countryOfOrigin":{"@id":"https://vocabulary.uncefact.org/originCountry"},"description":{"@id":"https://schema.org/description"},"grossWeight":{"@id":"https://vocabulary.uncefact.org/grossWeightMeasure"},"itemCount":{"@id":"https://vocabulary.uncefact.org/despatchedQuantity"},"name":{"@id":"https://schema.org/name"},"netWeight":{"@id":"https://vocabulary.uncefact.org/netWeightMeasure"},"packageQuantity":{"@id":"https://vocabulary.uncefact.org/packageQuantity"},"priceSpecification":{"@id":"https://schema.org/priceSpecification"},"product":{"@id":"https://schema.org/Product"},"purchaseOrderNumber":{"@id":"https://schema.org/orderNumber"},"shipToParty":{"@id":"https://vocabulary.uncefact.org/shipToParty"}},"@id":"https://vocabulary.uncefact.org/SupplyChainTradeLineItem"},"TransferEvent":{"@context":{"addressCountry":{"@id":"https://schema.org/addressCountry"},"identifier":{"@id":"https://schema.org/identifier"},"organization":{"@id":"https://w3id.org/traceability#Organization"},"place":{"@id":"https://schema.org/Place"},"price":{"@id":"https://schema.org/price"},"products":{"@id":"https://schema.org/Product"}},"@id":"https://w3id.org/traceability#TransferEvent"},"TransformEvent":{"@context":{"consumedProducts":{"@id":"https://w3c-ccg.github.io/hashlink/#hl-url-params"},"newProducts":{"@id":"https://w3c-ccg.github.io/hashlink/#hl-url-params"},"organization":{"@id":"https://w3id.org/traceability#Organization"},"place":{"@id":"https://schema.org/Place"}},"@id":"https://w3id.org/traceability#TransformEvent"},"Transport":{"@context":{"carrier":{"@id":"https://schema.org/Organization"},"dischargeLocation":{"@id":"https://schema.org/Place"},"loadLocation":{"@id":"https://schema.org/Place"},"modeOfTransport":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.1#/components/schemas/modeOfTransport"},"plannedArrivalDate":{"@id":"https://schema.org/Date"},"plannedDepartureDate":{"@id":"https://schema.org/Date"},"vesselNumber":{"@id":"https://vocabulary.uncefact.org/transportMeans"},"voyageNumber":{"@id":"https://vocabulary.uncefact.org/TransportMovement"}},"@id":"https://w3id.org/traceability#Transport"},"TransportDocument":{"@context":{},"@id":"https://w3id.org/traceability#TransportDocument"},"TransportEquipment":{"@context":{"ISOEquipmentCode":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.1#/components/schemas/ISOEquipmentCode"},"equipmentReference":{"@id":"https://vocabulary.uncefact.org/identification"},"isShipperOwned":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.1#/components/schemas/isShipperOwned"},"seals":{"@id":"https://vocabulary.uncefact.org/affixedSeal"},"tareWeight":{"@id":"https://vocabulary.uncefact.org/grossWeightMeasure"},"weightUnit":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.1#/components/schemas/weightUnit"}},"@id":"https://vocabulary.uncefact.org/LogisticsTransportEquipment"},"TransportEvent":{"@context":{"deliveryMethod":{"@id":"https://schema.org/DeliveryMethod"},"organization":{"@id":"https://w3id.org/traceability#Organization"},"place":{"@id":"https://schema.org/Place"},"products":{"@id":"https://schema.org/Product"},"trackingNumber":{"@id":"https://schema.org/trackingNumber"}},"@id":"https://w3id.org/traceability#TransportEvent"},"USDAPPQ203ForeignSiteInspection":{"@context":{"certificateNumber":{"@id":"https://vocabulary.uncefact.org/identification"},"commonInfo":{"@id":"https://w3id.org/traceability#AgricultureInspectionCommonInfo"},"inspectionType":{"@id":"https://www.gs1.org/voc/certificationType"},"observations":{"@id":"https://vocabulary.uncefact.org/relatedObservation"},"shipment":{"@id":"https://vocabulary.uncefact.org/transportPackage"},"signatureDate":{"@id":"https://www.gs1.org/voc/certificationAuditDate"}},"@id":"https://w3id.org/traceability#USDAPPQ203ForeignSiteInspection"},"USDAPPQ309APestInterceptionRecord":{"@context":{"PestSample":{"@id":"http://rs.tdwg.org/dwc/terms/materialSampleID"},"forwardTo":{"@id":"https://vocabulary.uncefact.org/recipientAssignedId"},"importedAs":{"@id":"https://schema.org/description"},"inspector":{"@id":"https://vocabulary.uncefact.org/inspectionParty"},"interceptionDate":{"@id":"https://vocabulary.uncefact.org/actualOccurrenceDateTime"},"interceptionNumber":{"@id":"https://vocabulary.uncefact.org/identification"},"materialFor":{"@id":"https://vocabulary.uncefact.org/intendedUse"},"modeOfTransportation":{"@id":"https://vocabulary.uncefact.org/mode"},"narp":{"@id":"https://vocabulary.uncefact.org/statementNote"},"overtime":{"@id":"https://vocabulary.uncefact.org/information"},"pathway":{"@id":"https://vocabulary.uncefact.org/mode"},"pestDeterminations":{"@id":"https://dwc.tdwg.org/list/#dwc_identificationID"},"priority":{"@id":"https://vocabulary.uncefact.org/priorityCode"},"quarantineStatus":{"@id":"https://vocabulary.uncefact.org/conditionCode"},"remarks":{"@id":"https://vocabulary.uncefact.org/remark"},"shipment":{"@id":"https://vocabulary.uncefact.org/transportPackage"},"shippingStop":{"@id":"https://vocabulary.uncefact.org/itineraryStopEvent"},"whereIntercepted":{"@id":"https://vocabulary.uncefact.org/AttachedTransportEquipment"}},"@id":"https://w3id.org/traceability#USDAPPQ309APestInterceptionRecord"},"USDAPPQ368NoticeOfArrival":{"@context":{"ITNumber":{"@id":"https://vocabulary.uncefact.org/customsId"},"arrivalDate":{"@id":"https://vocabulary.uncefact.org/actualArrivalRelatedDateTime"},"customsEntryNumber":{"@id":"https://vocabulary.uncefact.org/customsId"},"locationGrown":{"@id":"https://vocabulary.uncefact.org/originLocation"},"permitNumber":{"@id":"https://vocabulary.uncefact.org/identification"},"ppqOfficial":{"@id":"https://vocabulary.uncefact.org/inspectionParty"},"presentLocation":{"@id":"https://vocabulary.uncefact.org/consignmentDestinationSpecifiedLocation"},"productDisposition":{"@id":"https://vocabulary.uncefact.org/dispositionDocument"},"shipment":{"@id":"https://vocabulary.uncefact.org/transportPackage"},"signatureDate":{"@id":"https://vocabulary.uncefact.org/occurrenceDateTime"}},"@id":"https://w3id.org/traceability#USDAPPQ368NoticeOfArrival"},"USDAPPQ391SpecimensForDetermination":{"@context":{"collectionDate":{"@id":"https://vocabulary.uncefact.org/actualOccurrenceDateTime"},"collectionNumber":{"@id":"https://vocabulary.uncefact.org/identification"},"collector":{"@id":"https://vocabulary.uncefact.org/inspectionParty"},"dateReceived":{"@id":"https://vocabulary.uncefact.org/acceptanceDateTime"},"finalDetermination":{"@id":"https://dwc.tdwg.org/list/#dwc_identificationID"},"identificationReason":{"@id":"https://vocabulary.uncefact.org/reasonCode"},"interceptionSite":{"@id":"https://vocabulary.uncefact.org/occurrenceLocation"},"lab":{"@id":"https://vocabulary.uncefact.org/lodgementLocation"},"labConformationNumber":{"@id":"https://vocabulary.uncefact.org/identification"},"priority":{"@id":"https://vocabulary.uncefact.org/priorityCode"},"priorityExplanation":{"@id":"https://vocabulary.uncefact.org/remarks"},"remarks":{"@id":"https://vocabulary.uncefact.org/remarks"},"sampleDisposition":{"@id":"https://dwc.tdwg.org/list/#dwc_disposition"},"signatureDate":{"@id":"https://vocabulary.uncefact.org/occurrenceDateTime"},"submissionDate":{"@id":"https://vocabulary.uncefact.org/reportSubmissionDateTime"},"submitter":{"@id":"https://vocabulary.uncefact.org/PartyRoleCodeList#TB"},"submittingAgency":{"@id":"https://vocabulary.uncefact.org/agencyId"},"tentativeDetermination":{"@id":"https://dwc.tdwg.org/list/#dwc_identificationID"}},"@id":"https://w3id.org/traceability#USDAPPQ391SpecimensForDetermination"},"USDAPPQ429FumigationRecord":{"@context":{"cubicCapacity":{"@id":"https://vocabulary.uncefact.org/actualReportedMeasurement"},"dateFumigated":{"@id":"https://vocabulary.uncefact.org/actualOccurrenceDateTime"},"dateFumigationOrdered":{"@id":"https://vocabulary.uncefact.org/actualDateTime"},"detectorTubeReadings":{"@id":"https://vocabulary.uncefact.org/relatedObservation"},"enclosure":{"@id":"https://schema.org/description"},"foodOrFeedCommodity":{"@id":"https://vocabulary.uncefact.org/functionDescription"},"fumigantAndTreatmentSchedule":{"@id":"https://vocabulary.uncefact.org/regulationName"},"fumigationContractor":{"@id":"https://vocabulary.uncefact.org/associatedParty"},"fumigationSite":{"@id":"https://vocabulary.uncefact.org/occurrenceLocation"},"fumigatorMaterials":{"@id":"https://schema.org/description"},"gasAnalyzer":{"@id":"https://schema.org/description"},"gasConcentrations":{"@id":"https://vocabulary.uncefact.org/relatedObservation"},"gasIntroductionFinish":{"@id":"https://vocabulary.uncefact.org/endDateTime"},"gasIntroductionStart":{"@id":"https://vocabulary.uncefact.org/startDateTime"},"inspector":{"@id":"https://vocabulary.uncefact.org/specifiedContactPerson"},"interceptionRecord":{"@id":"https://w3id.org/traceability#USDAPPQ309APestInterceptionRecord.yml"},"numberOfFans":{"@id":"https://vocabulary.uncefact.org/unitQuantity"},"pest":{"@id":"https://schema.org/description"},"ppqMaterials":{"@id":"https://schema.org/description"},"preparationProcedures":{"@id":"https://schema.org/description"},"remarks":{"@id":"https://vocabulary.uncefact.org/remark"},"residueSampleNumber":{"@id":"https://schema.org/description"},"residueSampleTaken":{"@id":"https://vocabulary.uncefact.org/value"},"reviewer":{"@id":"https://vocabulary.uncefact.org/specifiedContactPerson"},"section18Exemption":{"@id":"https://vocabulary.uncefact.org/value"},"shipment":{"@id":"https://vocabulary.uncefact.org/transportPackage"},"stationReporting":{"@id":"https://vocabulary.uncefact.org/relevantLocation"},"tarpaulin":{"@id":"https://vocabulary.uncefact.org/value"},"temperatureOfCommodity":{"@id":"https://vocabulary.uncefact.org/actualReportedMeasurement"},"temperatureOfSpace":{"@id":"https://vocabulary.uncefact.org/actualReportedMeasurement"},"timeFansOperated":{"@id":"https://vocabulary.uncefact.org/durationMeasure"},"totalCFMOfFans":{"@id":"https://vocabulary.uncefact.org/actualReportedMeasurement"},"totalGasIntroduced":{"@id":"https://vocabulary.uncefact.org/actualReportedMeasurement"},"weatherConditions":{"@id":"https://schema.org/description"}},"@id":"https://w3id.org/traceability#USDAPPQ429FumigationRecord"},"USDAPPQ449RTemperatureCalibration":{"@context":{"cableLengthSatisfactory":{"@id":"https://vocabulary.uncefact.org/DocumentCodeList#287"},"company":{"@id":"https://vocabulary.uncefact.org/specifiedOrganization"},"flagCode":{"@id":"https://schema.org/value"},"hullNumberDockyard":{"@id":"https://vocabulary.uncefact.org/identification"},"imoNumber":{"@id":"https://vocabulary.uncefact.org/identification"},"inspectionDate":{"@id":"https://vocabulary.uncefact.org/performanceDateTime"},"inspectionPoint":{"@id":"https://vocabulary.uncefact.org/transitLocation"},"instrument1MakeModel":{"@id":"https://vocabulary.uncefact.org/AttachedTransportEquipment"},"instrument2MakeModel":{"@id":"https://vocabulary.uncefact.org/AttachedTransportEquipment"},"locationsDiagramMatchSatisfactory":{"@id":"https://vocabulary.uncefact.org/DocumentCodeList#287"},"ownerOperator":{"@id":"https://vocabulary.uncefact.org/specifiedContactPerson"},"participatingOfficials":{"@id":"https://vocabulary.uncefact.org/specifiedContactPerson"},"ppqDutyStation":{"@id":"https://vocabulary.uncefact.org/transitCustomsOfficeSpecifiedLocation"},"reactionTimeSatisfactory":{"@id":"https://vocabulary.uncefact.org/DocumentCodeList#287"},"remarks":{"@id":"https://vocabulary.uncefact.org/remarks"},"sensorsBoxesLabelingSatisfactory":{"@id":"https://vocabulary.uncefact.org/DocumentCodeList#287"},"shipsOfficer":{"@id":"https://vocabulary.uncefact.org/specifiedContactPerson"},"signatureDate":{"@id":"https://vocabulary.uncefact.org/performanceDateTime"},"temperatureReadings":{"@id":"https://vocabulary.uncefact.org/transportTemperature"},"vesselName":{"@id":"https://vocabulary.uncefact.org/name"}},"@id":"https://w3id.org/traceability#USDAPPQ449RTemperatureCalibration"},"USDAPPQ505PlantDeclaration":{"@context":{"date":{"@id":"https://vocabulary.uncefact.org/issueDateTime"},"preparer":{"@id":"https://vocabulary.uncefact.org/declarantParty"},"productDeclarations":{"@id":"https://w3id.org/traceability#LaceyActProductDeclaration"},"shipment":{"@id":"https://vocabulary.uncefact.org/transportPackage"}},"@id":"https://w3id.org/traceability#USDAPPQ505PlantDeclaration"},"USDAPPQ519ComplianceAgreement":{"@context":{"agreement":{"@id":"https://vocabulary.uncefact.org/guarantee"},"agreementDate":{"@id":"https://vocabulary.uncefact.org/issueDateTime"},"agreementNumber":{"@id":"https://vocabulary.uncefact.org/ReferenceCodeList#AJS"},"firm":{"@id":"https://vocabulary.uncefact.org/associatedParty"},"person":{"@id":"https://vocabulary.uncefact.org/associatedParty"},"ppqCbpOfficial":{"@id":"https://vocabulary.uncefact.org/associatedParty"},"quarantinesRegulations":{"@id":"https://vocabulary.uncefact.org/applicableRegulatoryProcedure"},"regulatedArticles":{"@id":"https://www.gs1.org/voc/regulatedProductName"},"signatureDate":{"@id":"https://vocabulary.uncefact.org/issueDateTime"},"usAgencyOfficial":{"@id":"https://vocabulary.uncefact.org/associatedParty"}},"@id":"https://w3id.org/traceability#USDAPPQ519ComplianceAgreement"},"USDAPPQ587PlantImportApplication":{"@context":{"applicant":{"@id":"https://vocabulary.uncefact.org/associatedParty"},"date":{"@id":"https://vocabulary.uncefact.org/creationDateTime"},"intendedUse":{"@id":"https://vocabulary.uncefact.org/intendedUse"},"meansOfTransportation":{"@id":"https://vocabulary.uncefact.org/usedTransportMeans"},"plantProductsImported":{"@id":"https://vocabulary.uncefact.org/specifiedProduct"}},"@id":"https://w3id.org/traceability#USDAPPQ587PlantImportApplication"},"USDAPPQ587PlantImportPermit":{"@context":{"applicant":{"@id":"https://vocabulary.uncefact.org/associatedParty"},"intendedUse":{"@id":"https://vocabulary.uncefact.org/intendedUse"},"shipment":{"@id":"https://vocabulary.uncefact.org/transportPackage"},"signatureDate":{"@id":"https://vocabulary.uncefact.org/issueDateTime"}},"@id":"https://w3id.org/traceability#USDAPPQ587PlantImportPermit"},"USDASpecialtyCrops237AForm":{"@context":{"additionalRemarks":{"@id":"https://vocabulary.uncefact.org/remarks"},"anticipatedAuditDate":{"@id":"https://www.gs1.org/voc/certificationAuditDate"},"applicant":{"@id":"https://vocabulary.uncefact.org/associatedParty"},"auditProgramsRequested":{"@id":"https://www.gs1.org/voc/certificationType"},"auditee":{"@id":"https://vocabulary.uncefact.org/associatedParty"},"billingAccountNumber":{"@id":"https://schema.org/accountId"},"commoditiesCovered":{"@id":"https://www.gs1.org/voc/certificationSubject"},"locations":{"@id":"https://schema.org/location"},"requestDate":{"@id":"https://vocabulary.uncefact.org/reportSubmissionDateTime"},"totalArea":{"@id":"https://www.gs1.org/voc/grossArea"}},"@id":"https://w3id.org/traceability#USDASpecialtyCrops237AForm"},"USMCACertificationOfOrigin":{"@context":{},"@id":"https://w3id.org/traceability#USMCACertificationOfOrigin"},"USMCACertifier":{"@context":{"certifierDetails":{"@id":"https://w3id.org/traceability#certifierDetails"},"role":{"@id":"https://w3id.org/traceability#certifierRole"}},"@id":"https://w3id.org/traceability/USMCACertifier"},"USMCAProductSpecifier":{"@context":{"countryOfOrigin":{"@id":"https://w3id.org/traceability#countryOfOrigin"},"exporterDetails":{"@id":"https://w3id.org/traceability#exporterDetails"},"importerDetails":{"@id":"https://w3id.org/traceability#importerDetails"},"importerUnknown":{"@id":"https://w3id.org/traceability#importerUnknown"},"originCriterion":{"@id":"https://w3id.org/traceability#originCriterion"},"producerConfidential":{"@id":"https://w3id.org/traceability#producerConfidential"},"producerDetails":{"@id":"https://schema.org/manufacturer"},"product":{"@id":"https://schema.org/Product"}},"@id":"https://w3id.org/traceability/USMCAProductSpecifier"},"UsdaSc6":{"@context":{"applicant":{"@id":"https://w3id.org/traceability#applicant"},"carrierId":{"@id":"https://w3id.org/traceability#carrierId"},"customsEntryNumber":{"@id":"https://w3id.org/traceability#customsEntryNumber"},"dateOfEntry":{"@id":"https://w3id.org/traceability#dateOfEntry"},"facility":{"@id":"https://www.gs1.org/voc/Place"},"importerSignatureDate":{"@id":"https://w3id.org/traceability#importerSignatureDate"},"inspectionDate":{"@id":"https://schema.org/DateTime"},"inspector":{"@id":"https://w3id.org/traceability#Inspector"},"intendedUse":{"@id":"https://w3id.org/traceability#intendedUse"},"intendedUseCert":{"@id":"https://w3id.org/traceability#intendedUseCert"},"lotId":{"@id":"https://w3id.org/traceability#lotId"},"serialNumber":{"@id":"https://w3id.org/traceability#serialNumber"},"shipment":{"@id":"https://w3id.org/traceability#AgricultureParcelDelivery"},"signatureDate":{"@id":"https://w3id.org/traceability#signatureDate"},"tariffCodeNumber":{"@id":"https://w3id.org/traceability#tariffCodeNumber"}},"@id":"https://w3id.org/traceability#UsdaSc6"},"VerifiableBusinessCard":{"@context":{},"@id":"https://w3id.org/traceability#VerifiableBusinessCard"},"VerifiablePostmanCollection":{"@context":{},"@id":"https://w3id.org/traceability#VerifiablePostmanCollection"},"VerifiableScorecard":{"@context":{},"@id":"https://w3id.org/traceability#VerifiableScorecard"},"dateOfExport":{"@id":"https://vocabulary.uncefact.org/exportExitDateTime","@type":"http://www.w3.org/2001/XMLSchema#dateTime"},"description":"https://schema.org/description","id":"@id","identifier":"https://schema.org/identifier","image":{"@id":"https://schema.org/image","@type":"@id"},"items":"https://schema.org/ItemList","manufacturer":"https://vocabulary.uncefact.org/manufacturerParty","manufacturingCountry":"https://vocabulary.uncefact.org/manufactureCountry","name":"https://schema.org/name","product":"https://w3id.org/traceability#SteelProduct","rawMaterial":"https://w3id.org/traceability#rawMaterial","relatedLink":{"@id":"https://w3id.org/traceability#LinkRole"},"type":"@type"}},"https://www.w3.org/ns/did/v1":{"@context":{"@protected":true,"id":"@id","type":"@type","alsoKnownAs":{"@id":"https://www.w3.org/ns/activitystreams#alsoKnownAs","@type":"@id"},"assertionMethod":{"@id":"https://w3id.org/security#assertionMethod","@type":"@id","@container":"@set"},"authentication":{"@id":"https://w3id.org/security#authenticationMethod","@type":"@id","@container":"@set"},"capabilityDelegation":{"@id":"https://w3id.org/security#capabilityDelegationMethod","@type":"@id","@container":"@set"},"capabilityInvocation":{"@id":"https://w3id.org/security#capabilityInvocationMethod","@type":"@id","@container":"@set"},"controller":{"@id":"https://w3id.org/security#controller","@type":"@id"},"keyAgreement":{"@id":"https://w3id.org/security#keyAgreementMethod","@type":"@id","@container":"@set"},"service":{"@id":"https://www.w3.org/ns/did#service","@type":"@id","@context":{"@protected":true,"id":"@id","type":"@type","serviceEndpoint":{"@id":"https://www.w3.org/ns/did#serviceEndpoint","@type":"@id"}}},"verificationMethod":{"@id":"https://w3id.org/security#verificationMethod","@type":"@id"}}},"https://www.w3.org/ns/credentials/examples/v2":{"@context":{"@vocab":"https://www.w3.org/ns/credentials/examples#"}}}')}};var __webpack_module_cache__={};function __nccwpck_require__(R){var pe=__webpack_module_cache__[R];if(pe!==undefined){return pe.exports}var Ae=__webpack_module_cache__[R]={id:R,loaded:false,exports:{}};var he=true;try{__webpack_modules__[R].call(Ae.exports,Ae,Ae.exports,__nccwpck_require__);he=false}finally{if(he)delete __webpack_module_cache__[R]}Ae.loaded=true;return Ae.exports}__nccwpck_require__.m=__webpack_modules__;__nccwpck_require__.c=__webpack_module_cache__;(()=>{var R=typeof Symbol==="function"?Symbol("webpack queues"):"__webpack_queues__";var pe=typeof Symbol==="function"?Symbol("webpack exports"):"__webpack_exports__";var Ae=typeof Symbol==="function"?Symbol("webpack error"):"__webpack_error__";var resolveQueue=R=>{if(R&&!R.d){R.d=1;R.forEach((R=>R.r--));R.forEach((R=>R.r--?R.r++:R()))}};var wrapDeps=he=>he.map((he=>{if(he!==null&&typeof he==="object"){if(he[R])return he;if(he.then){var ge=[];ge.d=0;he.then((R=>{me[pe]=R;resolveQueue(ge)}),(R=>{me[Ae]=R;resolveQueue(ge)}));var me={};me[R]=R=>R(ge);return me}}var ye={};ye[R]=R=>{};ye[pe]=he;return ye}));__nccwpck_require__.a=(he,ge,me)=>{var ye;me&&((ye=[]).d=1);var ve=new Set;var be=he.exports;var Ee;var Ce;var we;var Ie=new Promise(((R,pe)=>{we=pe;Ce=R}));Ie[pe]=be;Ie[R]=R=>(ye&&R(ye),ve.forEach(R),Ie["catch"]((R=>{})));he.exports=Ie;ge((he=>{Ee=wrapDeps(he);var ge;var getResult=()=>Ee.map((R=>{if(R[Ae])throw R[Ae];return R[pe]}));var me=new Promise((pe=>{ge=()=>pe(getResult);ge.r=0;var fnQueue=R=>R!==ye&&!ve.has(R)&&(ve.add(R),R&&!R.d&&(ge.r++,R.push(ge)));Ee.map((pe=>pe[R](fnQueue)))}));return ge.r?me:getResult()}),(R=>(R?we(Ie[Ae]=R):Ce(be),resolveQueue(ye))));ye&&(ye.d=0)}})();(()=>{var R=Object.getPrototypeOf?R=>Object.getPrototypeOf(R):R=>R.__proto__;var pe;__nccwpck_require__.t=function(Ae,he){if(he&1)Ae=this(Ae);if(he&8)return Ae;if(typeof Ae==="object"&&Ae){if(he&4&&Ae.__esModule)return Ae;if(he&16&&typeof Ae.then==="function")return Ae}var ge=Object.create(null);__nccwpck_require__.r(ge);var me={};pe=pe||[null,R({}),R([]),R(R)];for(var ye=he&2&&Ae;typeof ye=="object"&&!~pe.indexOf(ye);ye=R(ye)){Object.getOwnPropertyNames(ye).forEach((R=>me[R]=()=>Ae[R]))}me["default"]=()=>Ae;__nccwpck_require__.d(ge,me);return ge}})();(()=>{__nccwpck_require__.d=(R,pe)=>{for(var Ae in pe){if(__nccwpck_require__.o(pe,Ae)&&!__nccwpck_require__.o(R,Ae)){Object.defineProperty(R,Ae,{enumerable:true,get:pe[Ae]})}}}})();(()=>{__nccwpck_require__.f={};__nccwpck_require__.e=R=>Promise.all(Object.keys(__nccwpck_require__.f).reduce(((pe,Ae)=>{__nccwpck_require__.f[Ae](R,pe);return pe}),[]))})();(()=>{__nccwpck_require__.u=R=>""+R+".index.js"})();(()=>{__nccwpck_require__.o=(R,pe)=>Object.prototype.hasOwnProperty.call(R,pe)})();(()=>{__nccwpck_require__.r=R=>{if(typeof Symbol!=="undefined"&&Symbol.toStringTag){Object.defineProperty(R,Symbol.toStringTag,{value:"Module"})}Object.defineProperty(R,"__esModule",{value:true})}})();(()=>{__nccwpck_require__.nmd=R=>{R.paths=[];if(!R.children)R.children=[];return R}})();if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";(()=>{var R={179:1};var installChunk=pe=>{var Ae=pe.modules,he=pe.ids,ge=pe.runtime;for(var me in Ae){if(__nccwpck_require__.o(Ae,me)){__nccwpck_require__.m[me]=Ae[me]}}if(ge)ge(__nccwpck_require__);for(var ye=0;ye{if(!R[pe]){if(true){installChunk(require("./"+__nccwpck_require__.u(pe)))}else R[pe]=1}}})();var __webpack_exports__=__nccwpck_require__(__nccwpck_require__.s=277);module.exports=__webpack_exports__})(); \ No newline at end of file diff --git a/src/api/jose/detached.ts b/src/api/jose/detached.ts index 3fc06453..b18d59be 100644 --- a/src/api/jose/detached.ts +++ b/src/api/jose/detached.ts @@ -1,5 +1,7 @@ import * as jose from 'jose' -import { detachedHeaderParams } from '../controller/utils' + + +const detachedHeaderParams = { b64: false, crit: ['b64'] } // TODO Remote KMS. const signer = async (privateKeyJwk) => { diff --git a/src/cli/cose/diagnostic/diagnose.ts b/src/cli/cose/diagnostic/diagnose.ts index da751580..2b5c4422 100644 --- a/src/cli/cose/diagnostic/diagnose.ts +++ b/src/cli/cose/diagnostic/diagnose.ts @@ -13,16 +13,15 @@ const diagnose = async (argv: RequestDiagnose) => { const { input, output } = argv const payload = fs.readFileSync(path.resolve(process.cwd(), input)) - const items = await cose.rfc.diag(payload) - const markdown = await cose.rfc.blocks(items) + // TODO: use @transmute/edn + const edn = await cose.cbor.diagnose(payload) if (output) { fs.writeFileSync( path.resolve(process.cwd(), output), - markdown + edn ) } else { - - console.info(markdown) + console.info(edn) } } diff --git a/src/cli/cose/key/index.ts b/src/cli/cose/key/index.ts deleted file mode 100644 index 2d5753b1..00000000 --- a/src/cli/cose/key/index.ts +++ /dev/null @@ -1,6 +0,0 @@ -import sign from "./sign" -import verify from "./verify" - -const key = { sign, verify } - -export default key \ No newline at end of file diff --git a/src/cli/cose/key/sign.ts b/src/cli/cose/key/sign.ts deleted file mode 100644 index 08c47a06..00000000 --- a/src/cli/cose/key/sign.ts +++ /dev/null @@ -1,54 +0,0 @@ -import fs from "fs" -import path from "path" - -import cose from "@transmute/cose" - - -interface RequestCoseSign { - detached: boolean // defaults to true - issuerKey: string // relative path to jwk - input: string // path to input file - issuerKid?: string // kid - output?: string // path to output file - content_type?: string // media type -} - -const sign = async (argv: RequestCoseSign) => { - const { issuerKey, input, output, issuerKid, content_type } = argv - const privateKeyJwk = JSON.parse( - fs.readFileSync(path.resolve(process.cwd(), issuerKey)).toString(), - ) - const payload = fs.readFileSync(path.resolve(process.cwd(), input)) - const signer = await cose.detached.signer({ privateKeyJwk }) - - // eslint-disable-next-line @typescript-eslint/no-explicit-any - const protectedHeader: any = { alg: privateKeyJwk.alg, kid: privateKeyJwk.kid, } - - // set optional protected header - if (issuerKid) { - protectedHeader.kid = issuerKid - } - if (content_type) { - protectedHeader.content_type = content_type - } - - const unprotectedHeader = new Map() - const { signature } = await signer.sign({ - protectedHeader, - unprotectedHeader, - payload - }) - - if (output) { - fs.writeFileSync( - path.resolve(process.cwd(), output), - Buffer.from(signature) - ) - } else { - console.info('Signature Header: ') - console.info(JSON.stringify(protectedHeader, null, 2)) - } - -} - -export default sign \ No newline at end of file diff --git a/src/cli/cose/key/verify.ts b/src/cli/cose/key/verify.ts deleted file mode 100644 index 78e3c873..00000000 --- a/src/cli/cose/key/verify.ts +++ /dev/null @@ -1,64 +0,0 @@ -import fs from "fs" -import path from "path" -import axios from "axios" -import cose from "@transmute/cose" - -interface RequestCoseVerify { - input: string // path to input file - signature: string // path to signature file - output?: string // path to output file - verifierKey?: string // relative path to jwk - didResolver: string -} - -const verify = async (argv: RequestCoseVerify) => { - - const { verifierKey, input, signature, output } = argv - - const payloadFromFile = fs.readFileSync(path.resolve(process.cwd(), input)) - const signatureFromFile = fs.readFileSync(path.resolve(process.cwd(), signature)) - - let publicKeyJwk; - - if (verifierKey) { - publicKeyJwk = JSON.parse( - fs.readFileSync(path.resolve(process.cwd(), verifierKey)).toString(), - ) - } else { - const kid = cose.getKid(signatureFromFile) - const response = await axios.get(argv.didResolver + '/' + kid, { - headers: { - "Content-Type": 'application/did+json' - } - }) - const didDocument = response.data.didDocument ? response.data.didDocument : response.data - const vm = didDocument.verificationMethod.find((vm) => { - return kid?.endsWith(vm.id) - }) - publicKeyJwk = vm.publicKeyJwk - } - - const verifier = await cose.detached.verifier({ publicKeyJwk }) - const verified = await verifier.verify({ - payload: payloadFromFile, - signature: signatureFromFile - }) - - const result = { verified } - - if (output) { - fs.writeFileSync( - path.resolve(process.cwd(), output), - JSON.stringify( - result, - null, - 2, - ), - ) - } else { - console.info(result) - } - -} - -export default verify \ No newline at end of file diff --git a/src/cli/cose/module.ts b/src/cli/cose/module.ts index c2628228..5fc863b3 100644 --- a/src/cli/cose/module.ts +++ b/src/cli/cose/module.ts @@ -1,11 +1,22 @@ -import key from "./key" + import diagnostic from "./diagnostic" export const command = 'cose ' export const describe = 'cose operations' +const resources = { + diagnostic +} + +export const handler = async function (argv) { + const { resource, action } = argv + if (resources[resource][action]) { + resources[resource][action](argv) + } +} + export const builder = (yargs) => { return yargs .positional('resource', { @@ -44,14 +55,3 @@ export const builder = (yargs) => { }) } -const resources = { - key, - diagnostic -} - -export const handler = async function (argv) { - const { resource, action } = argv - if (resources[resource][action]) { - resources[resource][action](argv) - } -} diff --git a/src/cli/graph/index.ts b/src/cli/graph/index.ts index 1d1fbd8a..f462947d 100644 --- a/src/cli/graph/index.ts +++ b/src/cli/graph/index.ts @@ -1,7 +1,7 @@ import fs from 'fs' import path from 'path' import jsongraph from '../../api/rdf/jsongraph' -import * as contants from '../../constants' + import cypher from '../../api/cypher' import operationSwitch from '../../action/operationSwitch' diff --git a/src/cli/scitt/certificate/create.ts b/src/cli/scitt/certificate/create.ts index 20c9bcf4..80fc1292 100644 --- a/src/cli/scitt/certificate/create.ts +++ b/src/cli/scitt/certificate/create.ts @@ -121,7 +121,8 @@ const createLeafCertificate = async (argv: RequestCertificate) => { const userKeys = await crypto.subtle.generateKey(alg, extractable, ["sign", "verify"]); const issuerPrivateKeyCose = fs.readFileSync(path.resolve(process.cwd(), argv.issuerPrivateKey)) - const issuerPrivateKey = cose.key.exportJWK(cose.cbor.decode(issuerPrivateKeyCose)) + const coseKey = cose.cbor.decode(issuerPrivateKeyCose) + const issuerPrivateKeyJwk = await cose.key.convertCoseKeyToJsonWebKey(coseKey) // eslint-disable-next-line @typescript-eslint/no-explicit-any const extensions: any = [] if (argv.subjectGuid) { @@ -144,7 +145,7 @@ const createLeafCertificate = async (argv: RequestCertificate) => { publicKey: userKeys.publicKey, // leaf public key signingKey: await crypto.subtle.importKey( "jwk", - issuerPrivateKey, + issuerPrivateKeyJwk, alg, true, ["sign"], @@ -189,7 +190,9 @@ const create = async (argv: RequestCertificate) => { if (!argv.issuerCertificate) { // root cert cert = await createRootCertificate(argv) - const subjectPrivateKey = cose.cbor.encode(cose.key.importJWK(JSON.parse(cert.subjectPrivateKey))) + const subjectPrivateKeyJwk = JSON.parse(cert.subjectPrivateKey) + const subjectPrivateKeyCose = await cose.key.convertJsonWebKeyToCoseKey(subjectPrivateKeyJwk) + const subjectPrivateKey = cose.cbor.encode(subjectPrivateKeyCose) fs.writeFileSync( path.resolve(process.cwd(), argv.subjectPrivateKey), Buffer.from(subjectPrivateKey) @@ -203,10 +206,10 @@ const create = async (argv: RequestCertificate) => { // leaf cert cert = await createLeafCertificate(argv) - const subjectPublicCoseKeyMap = cose.key.importJWK(JSON.parse(cert.subjectPublicKey)) + const subjectPublicCoseKeyMap = await cose.key.convertCoseKeyToJsonWebKey(JSON.parse(cert.subjectPublicKey)) const subjectPublicKey = cose.cbor.encode(subjectPublicCoseKeyMap) - const subjectPrivateCoseKeyMap = cose.key.importJWK(JSON.parse(cert.subjectPrivateKey)) - subjectPrivateCoseKeyMap.set(-66666, subjectPublicCoseKeyMap.get(-66666) as any) + const subjectPrivateCoseKeyMap = await cose.key.convertCoseKeyToJsonWebKey(JSON.parse(cert.subjectPrivateKey)) + const subjectPrivateKey = cose.cbor.encode(subjectPrivateCoseKeyMap) fs.writeFileSync( diff --git a/src/cli/scitt/key/diagnose.ts b/src/cli/scitt/key/diagnose.ts deleted file mode 100644 index 7bcf7c05..00000000 --- a/src/cli/scitt/key/diagnose.ts +++ /dev/null @@ -1,26 +0,0 @@ -import fs from 'fs' -import path from 'path' - -import cose from '@transmute/cose' - -type RequestCoseKeyDiagnose = { - input: string - output: string -} - -const diagnose = async (argv: RequestCoseKeyDiagnose) => { - const coseKey = fs.readFileSync(path.resolve(process.cwd(), argv.input)) - const coseKeyMap = cose.cbor.decode(coseKey) - const diag = cose.key.edn(coseKeyMap) - const final = argv.output.endsWith('.md') ? ` -~~~~ cbor-diag -${diag} -~~~~ - `.trim() : diag - fs.writeFileSync( - path.resolve(process.cwd(), argv.output), - Buffer.from(final) - ) -} - -export default diagnose diff --git a/src/cli/scitt/key/export.ts b/src/cli/scitt/key/export.ts deleted file mode 100644 index 46b2add6..00000000 --- a/src/cli/scitt/key/export.ts +++ /dev/null @@ -1,23 +0,0 @@ -import fs from 'fs' -import path from 'path' - -import cose from '@transmute/cose' - -type RequestCoseKeyGenerate = { - input: string - output: string -} - -const exportKey = async (argv: RequestCoseKeyGenerate) => { - const coseKey = fs.readFileSync(path.resolve(process.cwd(), argv.input)) - const coseKeyMap = cose.cbor.decode(coseKey) - const publicKeyMap = cose.key.utils.publicFromPrivate(coseKeyMap) - const publicKey = cose.cbor.encode(publicKeyMap) - - fs.writeFileSync( - path.resolve(process.cwd(), argv.output), - Buffer.from(publicKey) - ) -} - -export default exportKey diff --git a/src/cli/scitt/key/generate.ts b/src/cli/scitt/key/generate.ts deleted file mode 100644 index 7245c7fd..00000000 --- a/src/cli/scitt/key/generate.ts +++ /dev/null @@ -1,22 +0,0 @@ -import fs from 'fs' -import path from 'path' - -import cose from '@transmute/cose' - -type RequestCoseKeyGenerate = { - alg: string - output: string -} - -const generate = async (argv: RequestCoseKeyGenerate) => { - const cosePrivateKeyMap = await cose.key.generate(parseInt(argv.alg, 10)) - const coseKeyThumbprint = await cose.key.thumbprint.calculateCoseKeyThumbprint(cosePrivateKeyMap) - cosePrivateKeyMap.set(2, coseKeyThumbprint) - const coseKey = cose.cbor.encode(cosePrivateKeyMap) - fs.writeFileSync( - path.resolve(process.cwd(), argv.output), - Buffer.from(coseKey) - ) -} - -export default generate \ No newline at end of file diff --git a/src/cli/scitt/key/index.ts b/src/cli/scitt/key/index.ts deleted file mode 100644 index 5a6ab6bd..00000000 --- a/src/cli/scitt/key/index.ts +++ /dev/null @@ -1,7 +0,0 @@ -import generate from "./generate"; -import exportKey from "./export"; -import diagnose from "./diagnose"; - -const key = { generate, export: exportKey, diagnose } - -export default key \ No newline at end of file diff --git a/src/cli/scitt/ledger/receipt/issue.ts b/src/cli/scitt/ledger/receipt/issue.ts index 57be863d..421f6075 100644 --- a/src/cli/scitt/ledger/receipt/issue.ts +++ b/src/cli/scitt/ledger/receipt/issue.ts @@ -18,36 +18,36 @@ const issue = async (argv: RequestLedgerAppend) => { const signedStatement = fs.readFileSync(path.resolve(process.cwd(), argv.signedStatement)) const ledgerPath = path.resolve(process.cwd(), argv.ledger) const ledger = await scitt.ledgers.jsonFile(ledgerPath).create() - - const leaf = cose.binToHex(cose.merkle.leaf(signedStatement)) - const record = await ledger.append(leaf) - if (!argv.issuerKey) { - console.log('success.', record) - } else { - const issuerPrivateKey = fs.readFileSync(path.resolve(process.cwd(), argv.issuerKey)) - const issuerPrivateKeyMap = cose.cbor.decode(issuerPrivateKey) - const leaves = await ledger.allLeaves() - const receipt = await cose.scitt.receipt.issue({ - iss: argv.iss, - sub: argv.sub, - index: record.id, - leaves: leaves.map(cose.hexToBin), - secretCoseKey: issuerPrivateKeyMap - }) - if (argv.transparentStatement) { - const transparentStatement = cose.scitt.statement.addReceipt({ - statement: signedStatement, - receipt - }) - const outputPath = path.resolve(process.cwd(), argv.transparentStatement) - fs.writeFileSync(outputPath, transparentStatement) - const items = await cose.rfc.diag(transparentStatement) - console.log(await cose.rfc.blocks(items)) - } else { - const items = await cose.rfc.diag(Buffer.from(receipt)) - console.log(await cose.rfc.blocks(items)) - } - } + console.warn('needs update') + // const leaf = cose.binToHex(cose.merkle.leaf(signedStatement)) + // const record = await ledger.append(leaf) + // if (!argv.issuerKey) { + // console.log('success.', record) + // } else { + // const issuerPrivateKey = fs.readFileSync(path.resolve(process.cwd(), argv.issuerKey)) + // const issuerPrivateKeyMap = cose.cbor.decode(issuerPrivateKey) + // const leaves = await ledger.allLeaves() + // const receipt = await cose.scitt.receipt.issue({ + // iss: argv.iss, + // sub: argv.sub, + // index: record.id, + // leaves: leaves.map(cose.hexToBin), + // secretCoseKey: issuerPrivateKeyMap + // }) + // if (argv.transparentStatement) { + // const transparentStatement = cose.scitt.statement.addReceipt({ + // statement: signedStatement, + // receipt + // }) + // const outputPath = path.resolve(process.cwd(), argv.transparentStatement) + // fs.writeFileSync(outputPath, transparentStatement) + // const items = await cose.rfc.diag(transparentStatement) + // console.log(await cose.rfc.blocks(items)) + // } else { + // const items = await cose.rfc.diag(Buffer.from(receipt)) + // console.log(await cose.rfc.blocks(items)) + // } + // } } export default issue \ No newline at end of file diff --git a/src/cli/scitt/module.ts b/src/cli/scitt/module.ts index 772000c0..d9b9a402 100644 --- a/src/cli/scitt/module.ts +++ b/src/cli/scitt/module.ts @@ -1,5 +1,4 @@ -import key from './key' import statement from "./statement" import ledger from "./ledger" import transparent from "./transparent" @@ -7,7 +6,6 @@ import certificate from "./certificate" export const resources = { certificate, - key, statement, ledger, transparent, diff --git a/src/cli/scitt/statement/diagnose.ts b/src/cli/scitt/statement/diagnose.ts deleted file mode 100644 index 15538958..00000000 --- a/src/cli/scitt/statement/diagnose.ts +++ /dev/null @@ -1,22 +0,0 @@ -import fs from 'fs' -import path from 'path' - -import cose from '@transmute/cose' - -type RequestCoseKeyDiagnose = { - input: string - output: string -} - -const diagnose = async (argv: RequestCoseKeyDiagnose) => { - const someCoseMessage = fs.readFileSync(path.resolve(process.cwd(), argv.input)) - const items = await cose.rfc.diag(someCoseMessage) - const diag = cose.rfc.blocks(items) - const final = argv.output.endsWith('.md') ? diag : items.join('\n\n') - fs.writeFileSync( - path.resolve(process.cwd(), argv.output), - Buffer.from(final) - ) -} - -export default diagnose diff --git a/src/cli/scitt/statement/index.ts b/src/cli/scitt/statement/index.ts index 43ea45ae..27bec085 100644 --- a/src/cli/scitt/statement/index.ts +++ b/src/cli/scitt/statement/index.ts @@ -1,8 +1,7 @@ import issue from "./issue"; import verify from "./verify"; import verifyx5c from "./verifyx5c"; -import diagnose from "./diagnose"; -const statement = { issue, verify, verifyx5c, diagnose } +const statement = { issue, verify, verifyx5c } export default statement \ No newline at end of file diff --git a/src/cli/scitt/statement/issue.ts b/src/cli/scitt/statement/issue.ts index ead06a98..f81f4da8 100644 --- a/src/cli/scitt/statement/issue.ts +++ b/src/cli/scitt/statement/issue.ts @@ -18,18 +18,18 @@ const issue = async (argv: RequestScittStatementIssue) => { const secretCoseKey = fs.readFileSync(path.resolve(process.cwd(), argv.issuerKey)) const secretCoseKeyMap = cose.cbor.decode(secretCoseKey) const content_type = mime.getType(path.resolve(process.cwd(), argv.statement)) - const signedStatement = await cose.scitt.statement.issue({ - iss: argv.iss, - sub: argv.sub, - cty: argv.cty || content_type, - x5c: secretCoseKeyMap.get(-66666) || undefined, - payload: statement, - secretCoseKey: secretCoseKeyMap - }) - fs.writeFileSync( - path.resolve(process.cwd(), argv.signedStatement), - Buffer.from(signedStatement) - ) + console.warn('needs update') + // const signedStatement = await cose.scitt.statement.issue({ + // iss: argv.iss, + // sub: argv.sub, + // cty: argv.cty || content_type, + // payload: statement, + // secretCoseKey: secretCoseKeyMap + // }) + // fs.writeFileSync( + // path.resolve(process.cwd(), argv.signedStatement), + // Buffer.from(signedStatement) + // ) } export default issue diff --git a/src/cli/scitt/statement/verify.ts b/src/cli/scitt/statement/verify.ts index 9052bfd7..fc5b3e54 100644 --- a/src/cli/scitt/statement/verify.ts +++ b/src/cli/scitt/statement/verify.ts @@ -16,22 +16,24 @@ const verify = async (argv: RequestScittStatementVerify) => { const statement = fs.readFileSync(path.resolve(process.cwd(), argv.statement)) const signedStatement = fs.readFileSync(path.resolve(process.cwd(), argv.signedStatement)) - const verification = await cose.scitt.statement.verify({ - statement, - signedStatement, - publicCoseKey: publicCoseKeyMap - }) - - const result = JSON.stringify({ verification }, null, 2) - - if (argv.output) { - fs.writeFileSync( - path.resolve(process.cwd(), argv.signedStatement), - Buffer.from(result) - ) - } else { - console.log(result) - } + console.warn('needs update') + + // const verification = await cose.scitt.statement.verify({ + // statement, + // signedStatement, + // publicCoseKey: publicCoseKeyMap + // }) + + // const result = JSON.stringify({ verification }, null, 2) + + // if (argv.output) { + // fs.writeFileSync( + // path.resolve(process.cwd(), argv.signedStatement), + // Buffer.from(result) + // ) + // } else { + // console.log(result) + // } } diff --git a/src/cli/scitt/statement/verifyx5c.ts b/src/cli/scitt/statement/verifyx5c.ts index 625ae4e9..17b38eb2 100644 --- a/src/cli/scitt/statement/verifyx5c.ts +++ b/src/cli/scitt/statement/verifyx5c.ts @@ -17,29 +17,31 @@ const verifyx5c = async (argv: RequestScittStatementVerifyX5C) => { const statement = fs.readFileSync(path.resolve(process.cwd(), argv.statement)) const signedStatement = fs.readFileSync(path.resolve(process.cwd(), argv.signedStatement)) - const x5c = cose.scitt.statement.x5c(signedStatement) - - const discoveryTime = new Date(argv.date || new Date().toISOString()) - // check the certificate chain, produce verification keys - const jwks = await verifyX5C('ES384', x5c, discoveryTime) - - const verifiedCertificatePublicKey = cose.key.importJWK(jwks.keys[0]) - const verification = await cose.scitt.statement.verify({ - statement, - signedStatement: signedStatement, - publicCoseKey: verifiedCertificatePublicKey - }) - - const result = JSON.stringify({ verification, jwks }, null, 2) - - if (argv.output) { - fs.writeFileSync( - path.resolve(process.cwd(), argv.signedStatement), - Buffer.from(result) - ) - } else { - console.log(result) - } + console.warn('needs update') + + // const x5c = cose.scitt.statement.x5c(signedStatement) + + // const discoveryTime = new Date(argv.date || new Date().toISOString()) + // // check the certificate chain, produce verification keys + // const jwks = await verifyX5C('ES384', x5c, discoveryTime) + + // const verifiedCertificatePublicKey = cose.key.importJWK(jwks.keys[0]) + // const verification = await cose.scitt.statement.verify({ + // statement, + // signedStatement: signedStatement, + // publicCoseKey: verifiedCertificatePublicKey + // }) + + // const result = JSON.stringify({ verification, jwks }, null, 2) + + // if (argv.output) { + // fs.writeFileSync( + // path.resolve(process.cwd(), argv.signedStatement), + // Buffer.from(result) + // ) + // } else { + // console.log(result) + // } } diff --git a/src/cli/scitt/transparent/statement/verify.ts b/src/cli/scitt/transparent/statement/verify.ts index c3da8a6b..37ec4ca5 100644 --- a/src/cli/scitt/transparent/statement/verify.ts +++ b/src/cli/scitt/transparent/statement/verify.ts @@ -18,32 +18,33 @@ const verify = async (argv: RequestTransparentStatementVerify) => { const issuerKey = cose.cbor.decode(fs.readFileSync(path.resolve(process.cwd(), argv.issuerKey))) const transparencyServiceKey = cose.cbor.decode(fs.readFileSync(path.resolve(process.cwd(), argv.transparencyServiceKey))) - const verifiedIssuerSignedStatement = await cose.scitt.statement.verify({ - statement, - signedStatement: transparentStatement, - publicCoseKey: issuerKey - }) - - if (verifiedIssuerSignedStatement) { - console.log(`✅ verified: ${argv.statement}`) - } else { - console.log(`❌ verified: ${argv.statement}`) - } - - const { entry, receipts } = await cose.scitt.statement.getEntryReceipts({ transparentStatement }) - const [receipt] = receipts - - const verifiedTransparentStatementReceipt = await cose.scitt.receipt.verify({ - entry, - receipt: receipt, - publicCoseKey: transparencyServiceKey - }) - - if (verifiedTransparentStatementReceipt) { - console.log(`✅ verified: ${argv.transparentStatement}`) - } else { - console.log(`❌ verified: ${argv.transparentStatement}`) - } + console.warn('needs update') + // const verifiedIssuerSignedStatement = await cose.scitt.statement.verify({ + // statement, + // signedStatement: transparentStatement, + // publicCoseKey: issuerKey + // }) + + // if (verifiedIssuerSignedStatement) { + // console.log(`✅ verified: ${argv.statement}`) + // } else { + // console.log(`❌ verified: ${argv.statement}`) + // } + + // const { entry, receipts } = await cose.scitt.statement.getEntryReceipts({ transparentStatement }) + // const [receipt] = receipts + + // const verifiedTransparentStatementReceipt = await cose.scitt.receipt.verify({ + // entry, + // receipt: receipt, + // publicCoseKey: transparencyServiceKey + // }) + + // if (verifiedTransparentStatementReceipt) { + // console.log(`✅ verified: ${argv.transparentStatement}`) + // } else { + // console.log(`❌ verified: ${argv.transparentStatement}`) + // } }